@bysages/svelte 0.4.3 → 0.4.4

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 (44) hide show
  1. package/dist/AvatarFacade-BNErD2uE.mjs +147 -0
  2. package/dist/{banner-CXrEuEc1.mjs → BannerIcon-DpvxwWCc.mjs} +143 -57
  3. package/dist/{breadcrumb-g68_HJ2W.mjs → BreadcrumbList-BdLId9vL.mjs} +133 -59
  4. package/dist/{Collapsible-CDwjsDwH.mjs → Collapsible-t6m_LqHZ.mjs} +1 -1
  5. package/dist/{ColorPicker-BBc8-TIN.mjs → ColorPicker-tGU9q8oC.mjs} +66 -7
  6. package/dist/{float-button-DK8hviBz.mjs → FloatButtonFacade-C8nGcXe0.mjs} +100 -16
  7. package/dist/{FloatingPanel-DJG3Drow.mjs → FloatingPanel-nsymgBI7.mjs} +29 -17
  8. package/dist/{Select-D9XgciuN.mjs → Select-D4rBviRL.mjs} +1 -1
  9. package/dist/{SignaturePad-Dc5YbZoV.mjs → SignaturePad-DSVTGy9D.mjs} +2 -3
  10. package/dist/components/avatar/index.d.mts +2 -12
  11. package/dist/components/avatar/index.mjs +2 -2
  12. package/dist/components/banner/index.d.mts +2 -2
  13. package/dist/components/banner/index.mjs +17 -1
  14. package/dist/components/breadcrumb/index.d.mts +2 -2
  15. package/dist/components/breadcrumb/index.mjs +15 -1
  16. package/dist/components/collapsible/index.d.mts +1 -1
  17. package/dist/components/collapsible/index.mjs +1 -1
  18. package/dist/components/color-picker/index.d.mts +1 -1
  19. package/dist/components/color-picker/index.mjs +1 -1
  20. package/dist/components/float-button/index.d.mts +2 -2
  21. package/dist/components/float-button/index.mjs +11 -1
  22. package/dist/components/floating-panel/index.d.mts +1 -1
  23. package/dist/components/floating-panel/index.mjs +1 -1
  24. package/dist/components/media-player/index.mjs +1 -1
  25. package/dist/components/select/index.d.mts +1 -1
  26. package/dist/components/select/index.mjs +1 -1
  27. package/dist/components/signature-pad/index.d.mts +1 -1
  28. package/dist/components/signature-pad/index.mjs +1 -1
  29. package/dist/components/table/index.mjs +1 -1
  30. package/dist/generative/index.mjs +179 -386
  31. package/dist/index-C0CAf6mV.d.mts +47 -0
  32. package/dist/{index-BudqX93u.d.mts → index-CgnQmll5.d.mts} +1 -1
  33. package/dist/index-DeW7Jrci.d.mts +41 -0
  34. package/dist/{index-D8F1dVDW.d.mts → index-FRLzt_CK.d.mts} +31 -5
  35. package/dist/index-g_LJvZJ-.d.mts +44 -0
  36. package/dist/index.d.mts +6 -6
  37. package/dist/index.mjs +7 -6
  38. package/dist/{media-player-DEXKLoUX.mjs → media-player-DkAUU7NN.mjs} +1 -1
  39. package/dist/{select-CVMOvviD.mjs → select-DuSzjsoK.mjs} +1 -1
  40. package/dist/{table-HzpYIOst.mjs → table-N8W6Jcaj.mjs} +1 -1
  41. package/package.json +2 -2
  42. package/dist/Avatar-L9BP2Zwy.mjs +0 -47
  43. package/dist/index-BkK_8C_c.d.mts +0 -29
  44. package/dist/index-Cl8v2k0X.d.mts +0 -36
@@ -0,0 +1,47 @@
1
+ import { a as BreadcrumbItem$1, i as BreadcrumbLink, n as BreadcrumbFacade, o as BreadcrumbCurrent, r as BreadcrumbSeparator, s as Breadcrumb$1, t as BreadcrumbList } from "./BreadcrumbList-BdLId9vL.mjs";
2
+ import { Snippet } from "svelte";
3
+ import { HTMLAttributes } from "svelte/elements";
4
+ //#region src/components/breadcrumb/props.d.ts
5
+ interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
6
+ children?: Snippet;
7
+ }
8
+ interface BreadcrumbListProps extends HTMLAttributes<HTMLOListElement> {
9
+ children?: Snippet;
10
+ }
11
+ interface BreadcrumbItemProps extends HTMLAttributes<HTMLLIElement> {
12
+ children?: Snippet;
13
+ }
14
+ interface BreadcrumbLinkProps extends HTMLAttributes<HTMLAnchorElement> {
15
+ children?: Snippet;
16
+ }
17
+ interface BreadcrumbCurrentProps extends HTMLAttributes<HTMLSpanElement> {
18
+ children?: Snippet;
19
+ }
20
+ interface BreadcrumbSeparatorProps extends HTMLAttributes<HTMLSpanElement> {
21
+ children?: Snippet;
22
+ }
23
+ interface BreadcrumbItem {
24
+ label: string;
25
+ href?: string;
26
+ }
27
+ interface BreadcrumbFacadeProps extends HTMLAttributes<HTMLElement> {
28
+ /** The trail, in reading order; the last item is the current page. */
29
+ items: ReadonlyArray<string | BreadcrumbItem>;
30
+ /** The nav's accessible name; the locale supplies a default. */
31
+ label?: string;
32
+ }
33
+ //#endregion
34
+ //#region src/components/breadcrumb/index.d.ts
35
+ /** A trail of waymarks: Root wraps the nav, List the ordered trail, and
36
+ * each Item carries a Link — or the Current page — parted by a quiet
37
+ * Separator. Links take href and the rest through attributes. */
38
+ declare const Breadcrumb: typeof BreadcrumbFacade & {
39
+ Root: typeof Breadcrumb$1;
40
+ List: typeof BreadcrumbList;
41
+ Item: typeof BreadcrumbItem$1;
42
+ Link: typeof BreadcrumbLink;
43
+ Current: typeof BreadcrumbCurrent;
44
+ Separator: typeof BreadcrumbSeparator;
45
+ };
46
+ //#endregion
47
+ export { BreadcrumbItemProps as a, BreadcrumbProps as c, BreadcrumbItem as i, BreadcrumbSeparatorProps as l, BreadcrumbCurrentProps as n, BreadcrumbLinkProps as o, BreadcrumbFacadeProps as r, BreadcrumbListProps as s, Breadcrumb as t };
@@ -1,4 +1,4 @@
1
- import { n as SelectRoot, t as Select$2 } from "./Select-D9XgciuN.mjs";
1
+ import { n as SelectRoot, t as Select$2 } from "./Select-D4rBviRL.mjs";
2
2
  import { Select } from "@ark-ui/svelte/select";
3
3
  import { HTMLAttributes } from "svelte/elements";
4
4
  //#region src/components/select/native-props.d.ts
@@ -0,0 +1,41 @@
1
+ import { n as Avatar$2, t as AvatarFacade } from "./AvatarFacade-BNErD2uE.mjs";
2
+ import { Snippet } from "svelte";
3
+ import { Avatar } from "@ark-ui/svelte/avatar";
4
+ import { HTMLAttributes } from "svelte/elements";
5
+ //#region src/components/avatar/props.d.ts
6
+ type AvatarSize = "sm" | "md" | "lg";
7
+ interface AvatarProps {
8
+ /** Seal diameter: the small, medium, or large control rung. The
9
+ * default (medium) stands as tall as the biggest control so an avatar
10
+ * rides a row without stretching it. */
11
+ size?: AvatarSize;
12
+ /** The corner: round by default; square cuts it sharp, a stamp
13
+ * beside a round portrait. */
14
+ shape?: "circle" | "square";
15
+ children?: import("svelte").Snippet;
16
+ }
17
+ interface AvatarFacadeProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
18
+ /** The person's name; it becomes the image alt and initials. */
19
+ name?: string;
20
+ /** The portrait to load over the initials fallback. */
21
+ src?: string;
22
+ /** One rung of the control-height ladder; the Root defaults to medium. */
23
+ size?: AvatarSize;
24
+ /** The corner: round by default, square for a stamp. */
25
+ shape?: "circle" | "square";
26
+ /** Custom anatomy; omitted props let the facade render image and
27
+ * initials. */
28
+ children?: Snippet;
29
+ }
30
+ //#endregion
31
+ //#region src/components/avatar/index.d.ts
32
+ /** Avatar, dressed in the paper-and-ink system: a circular seal on
33
+ * inset paper that holds initials until the image loads over them.
34
+ * `size` picks a control-height rung for the seal — the core styles
35
+ * re-point `--bs-avatar-size` per rung, and scenes can still retune the
36
+ * variable directly. */
37
+ declare const Avatar$1: typeof AvatarFacade & Omit<typeof Avatar, "Root"> & {
38
+ Root: typeof Avatar$2;
39
+ };
40
+ //#endregion
41
+ export { AvatarSize as i, AvatarFacadeProps as n, AvatarProps as r, Avatar$1 as t };
@@ -1,3 +1,4 @@
1
+ import { i as FloatButton$1, n as FloatButtonTrigger, r as FloatButtonItem, t as FloatButtonFacade } from "./FloatButtonFacade-C8nGcXe0.mjs";
1
2
  import { Snippet } from "svelte";
2
3
  import { HTMLAttributes } from "svelte/elements";
3
4
  //#region src/components/float-button/props.d.ts
@@ -28,6 +29,31 @@ interface FloatButtonItemProps {
28
29
  onclick?: () => void;
29
30
  children?: Snippet;
30
31
  }
32
+ interface FloatButtonAction {
33
+ /** The action's accessible name and visible annotation. */
34
+ label: string;
35
+ /** A curated core icon; pencil is the fallback mark. */
36
+ icon?: string;
37
+ disabled?: boolean;
38
+ /** Fired when the item's action is chosen. */
39
+ onclick?: () => void;
40
+ }
41
+ interface FloatButtonFacadeProps extends HTMLAttributes<HTMLDivElement> {
42
+ /** Custom anatomy; providing it replaces the generated trigger/actions. */
43
+ children?: Snippet;
44
+ /** The trigger's accessible name; the locale supplies a default. */
45
+ label?: string;
46
+ /** The speed-dial actions, read from the mooring outward. */
47
+ actions?: ReadonlyArray<FloatButtonAction>;
48
+ /** Which corner the group moors at. */
49
+ placement?: FloatButtonPlacement;
50
+ /** One rung of the button ladder for the whole group. */
51
+ size?: FloatButtonSize;
52
+ /** The initial openness when `open` is not bound. */
53
+ defaultOpen?: boolean;
54
+ /** Controlled openness — bind it to own the fan from outside. */
55
+ open?: boolean;
56
+ }
31
57
  //#endregion
32
58
  //#region src/components/float-button/context.d.ts
33
59
  /** The group's openness, shared from the mooring to its parts. */
@@ -50,10 +76,10 @@ declare const FLOAT_BUTTON_KEY: unique symbol;
50
76
  //#region src/components/float-button/index.d.ts
51
77
  /** A floating action and its fanned-out alternatives — FAB and speed
52
78
  * dial in one family. Root, Trigger, Item. */
53
- declare const FloatButton: import("svelte").Component<FloatButtonProps, {}, "open"> & {
54
- Root: import("svelte").Component<FloatButtonProps, {}, "open">;
55
- Trigger: import("svelte").Component<FloatButtonTriggerProps, {}, "">;
56
- Item: import("svelte").Component<FloatButtonItemProps, {}, "">;
79
+ declare const FloatButton: typeof FloatButtonFacade & {
80
+ Root: typeof FloatButton$1;
81
+ Trigger: typeof FloatButtonTrigger;
82
+ Item: typeof FloatButtonItem;
57
83
  };
58
84
  //#endregion
59
- export { FloatButtonPlacement as a, FloatButtonItemProps as i, FLOAT_BUTTON_KEY as n, FloatButtonProps as o, FloatButtonContext as r, FloatButtonTriggerProps as s, FloatButton as t };
85
+ export { FloatButtonItemProps as a, FloatButtonSize as c, FloatButtonFacadeProps as i, FloatButtonTriggerProps as l, FLOAT_BUTTON_KEY as n, FloatButtonPlacement as o, FloatButtonContext as r, FloatButtonProps as s, FloatButton as t };
@@ -0,0 +1,44 @@
1
+ import { a as BannerClose, c as Banner$1, i as BannerDescription, n as BannerFacade, o as BannerBody, r as BannerTitle, s as BannerActions, t as BannerIcon } from "./BannerIcon-DpvxwWCc.mjs";
2
+ import { Snippet } from "svelte";
3
+ import { HTMLAttributes, HTMLButtonAttributes } from "svelte/elements";
4
+ //#region src/components/banner/props.d.ts
5
+ type BannerStatus = "ink" | "info" | "success" | "warning" | "danger";
6
+ interface BannerProps extends HTMLAttributes<HTMLElement> {
7
+ status?: BannerStatus;
8
+ children?: Snippet;
9
+ }
10
+ interface BannerPartProps extends HTMLAttributes<HTMLElement> {
11
+ children?: Snippet;
12
+ }
13
+ interface BannerCloseProps extends HTMLButtonAttributes {}
14
+ interface BannerFacadeProps extends HTMLAttributes<HTMLElement> {
15
+ /** The status pigment; ink is the neutral register. */
16
+ status?: BannerStatus;
17
+ /** The line the reader reads first. */
18
+ title?: string;
19
+ /** The supporting line. */
20
+ message?: string;
21
+ /** Renders the close and lets the facade retire itself. */
22
+ dismissible?: boolean;
23
+ /** Extra body content after the title and message. */
24
+ children?: Snippet;
25
+ /** Row of answers inside the body. */
26
+ actions?: Snippet;
27
+ }
28
+ //#endregion
29
+ //#region src/components/banner/index.d.ts
30
+ /** A page-level notice, spoken across the full measure: a wash of the
31
+ * status pigment, one heavier hairline on the leading edge, and room
32
+ * for actions and a quiet close. Ink is the neutral register; the four
33
+ * semantic pigments are fixed. */
34
+ declare const Banner: typeof BannerFacade & {
35
+ Root: typeof Banner$1;
36
+ Icon: typeof BannerIcon;
37
+ Body: typeof BannerBody;
38
+ Title: typeof BannerTitle;
39
+ Description: typeof BannerDescription;
40
+ Actions: typeof BannerActions;
41
+ Close: typeof BannerClose;
42
+ };
43
+ //#endregion
44
+ export { BannerProps as a, BannerPartProps as i, BannerCloseProps as n, BannerStatus as o, BannerFacadeProps as r, Banner as t };
package/dist/index.d.mts CHANGED
@@ -28,13 +28,13 @@ import { AngleSlider } from "./components/angle-slider/index.mjs";
28
28
  import { n as AspectRatioProps, t as AspectRatio } from "./index-DpzuwMB7.mjs";
29
29
  import { n as AutoCompleteProps, t as AutoComplete } from "./index-BIHw8Gzt.mjs";
30
30
  import { n as AvatarGroupProps, t as AvatarGroup } from "./index-DGsu3J-2.mjs";
31
- import { Avatar } from "./components/avatar/index.mjs";
31
+ import { i as AvatarSize, n as AvatarFacadeProps, r as AvatarProps, t as Avatar } from "./index-DeW7Jrci.mjs";
32
32
  import { n as BackTopProps, t as BackTop } from "./index-IR-e1YzH.mjs";
33
33
  import { n as BadgeProps, t as Badge } from "./index-DQAelfXy.mjs";
34
- import { a as BannerStatus, i as BannerProps, n as BannerCloseProps, r as BannerPartProps, t as Banner } from "./index-BkK_8C_c.mjs";
34
+ import { a as BannerProps, i as BannerPartProps, n as BannerCloseProps, o as BannerStatus, r as BannerFacadeProps, t as Banner } from "./index-g_LJvZJ-.mjs";
35
35
  import { n as BentoProps, t as Bento } from "./index-CmskeLd_.mjs";
36
36
  import { n as BlockUIProps, t as BlockUI } from "./index-ChqP3kbL.mjs";
37
- import { a as BreadcrumbListProps, i as BreadcrumbLinkProps, n as BreadcrumbCurrentProps, o as BreadcrumbProps, r as BreadcrumbItemProps, s as BreadcrumbSeparatorProps, t as Breadcrumb } from "./index-Cl8v2k0X.mjs";
37
+ import { a as BreadcrumbItemProps, c as BreadcrumbProps, i as BreadcrumbItem, l as BreadcrumbSeparatorProps, n as BreadcrumbCurrentProps, o as BreadcrumbLinkProps, r as BreadcrumbFacadeProps, s as BreadcrumbListProps, t as Breadcrumb } from "./index-C0CAf6mV.mjs";
38
38
  import { Browser } from "./components/browser/index.mjs";
39
39
  import { n as ButtonGroupProps, t as ButtonGroup } from "./index-evrdvWRI.mjs";
40
40
  import { n as ButtonProps, t as Button } from "./index-DCpx_Rui.mjs";
@@ -71,7 +71,7 @@ import { a as EmptyTitleProps, i as EmptyProps, n as EmptyDescriptionProps, r as
71
71
  import { Field } from "./components/field/index.mjs";
72
72
  import { Fieldset } from "./components/fieldset/index.mjs";
73
73
  import { FileUpload } from "./components/file-upload/index.mjs";
74
- import { a as FloatButtonPlacement, i as FloatButtonItemProps, n as FLOAT_BUTTON_KEY, o as FloatButtonProps, r as FloatButtonContext, s as FloatButtonTriggerProps, t as FloatButton } from "./index-D8F1dVDW.mjs";
74
+ import { a as FloatButtonItemProps, c as FloatButtonSize, i as FloatButtonFacadeProps, l as FloatButtonTriggerProps, n as FLOAT_BUTTON_KEY, o as FloatButtonPlacement, r as FloatButtonContext, s as FloatButtonProps, t as FloatButton } from "./index-FRLzt_CK.mjs";
75
75
  import { FloatingPanel } from "./components/floating-panel/index.mjs";
76
76
  import { FocusTrap, FocusTrapBaseProps, FocusTrapProps } from "./components/focus-trap/index.mjs";
77
77
  import { a as SvelteFormApi, c as useField, d as FormProps, f as AnyFormApi, i as FormField, l as useForm, n as Form, o as createField, r as FormApi, s as createForm, t as FieldApi, u as FormFieldProps } from "./index-DQL1l90b.mjs";
@@ -116,7 +116,7 @@ import { RatingGroup } from "./components/rating-group/index.mjs";
116
116
  import { Result } from "./components/result/index.mjs";
117
117
  import { ScrollArea } from "./components/scroll-area/index.mjs";
118
118
  import { SegmentGroup } from "./components/segment-group/index.mjs";
119
- import { i as NativeSelectProps, n as Select, r as NativeSelectOption, t as NativeSelect } from "./index-BudqX93u.mjs";
119
+ import { i as NativeSelectProps, n as Select, r as NativeSelectOption, t as NativeSelect } from "./index-CgnQmll5.mjs";
120
120
  import { n as SeparatorProps, t as Separator } from "./index-D61_Lx9o.mjs";
121
121
  import { SignaturePad } from "./components/signature-pad/index.mjs";
122
122
  import { n as SkeletonProps, t as Skeleton } from "./index-C0b8N_Aa.mjs";
@@ -153,4 +153,4 @@ import { n as UserProps, t as User } from "./index-CYtinraa.mjs";
153
153
  import { n as VirtualListProps, t as VirtualList } from "./index-BKZC0MtK.mjs";
154
154
  import { n as WatermarkProps, t as Watermark } from "./index-oF_zauHL.mjs";
155
155
  export * from "@bysages/core";
156
- export { Accordion, AiAction as Action, AiAction, type ActionProps, Affix, type AffixProps, Ai, AiActions, Attachment as AiAttachment, Attachment, Attachments as AiAttachments, Attachments, AiContent, Ai$1 as AiConversation, AiLoader, AiMessage, AiMessage as Message, type AiPartProps, AiPromptInput, AiPromptInput as PromptInput, AiReasoning, AiReasoning as Reasoning, AiResponse, AiResponse as Response, AiSource, AiSource as Source, AiSources, AiSources as Sources, AiSuggestion, AiSuggestion as Suggestion, AiTool, AiTool as Tool, Alert, type AlertPartProps, type AlertProps, type AlertStatus, AngleSlider, type AnyFormApi, AspectRatio, type AspectRatioProps, type AttachmentProps, type AttachmentStatus, type AttachmentsProps, Audio, AutoComplete, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, BackTop, type BackTopProps, Badge, type BadgeProps, Banner, type BannerCloseProps, type BannerPartProps, type BannerProps, type BannerStatus, Bento, type BentoProps, BlockUI, type BlockUIProps, Breadcrumb, type BreadcrumbCurrentProps, type BreadcrumbItemProps, type BreadcrumbLinkProps, type BreadcrumbListProps, type BreadcrumbProps, type BreadcrumbSeparatorProps, Browser, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, type CardDescriptionProps, type CardPartProps, type CardProps, type CardTitleProps, Carousel, CascadeSelect, type CascadeSelectNode, type CascadeSelectProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, Chip, type ChipProps, ClientOnly, type ClientOnlyProps, Clipboard, type ClipboardRootProps, Collapsible, type CollectionItem, type CollectionOptions, ColorPicker, type ColumnDef, Combobox, Command, type CommandEntry, type CommandProps, Comment, type CommentProps, type ConfigContext, type ConfigDensity, ConfigProvider, type ConfigProviderProps, Container, type ContainerProps, type CreateToasterReturn, DataTable, type DataTableProps, type DataUIPart, DataView, type DataViewProps, DateInput, DatePicker, DeferredContent, type DeferredContentProps, Descriptions, type DescriptionsPartProps, type DescriptionsRootProps, Dialog, type DialogOpenChangeDetails, Dock, type DockProps, DownloadTrigger, type DownloadTriggerBaseProps, type DownloadTriggerProps, type DownloadableData, Drawer, DynamicInput, type DynamicInputProps, Editable, Ellipsis, type EllipsisProps, Empty, type EmptyDescriptionProps, type EmptyPartProps, type EmptyProps, type EmptyTitleProps, FLOAT_BUTTON_KEY, Field, type FieldApi, Fieldset, type FilePathTreeNode, type FileUIPart, FileUpload, type FlatTreeNode, FlexRender, FloatButton, type FloatButtonContext, type FloatButtonItemProps, type FloatButtonPlacement, type FloatButtonProps, type FloatButtonTriggerProps, FloatingPanel, FocusTrap, type FocusTrapBaseProps, type FocusTrapProps, Form, type FormApi, FormField, type FormFieldProps, type FormProps, Format, Frame, Grid, type GridCollection, type GridCollectionOptions, type GridProps, Highlight, HoverCard, Icon, type IconProps, Image, ImageCropper, type ImageProps, ImageViewer, type ImageViewerPreviewProps, type ImageViewerProps, Input, InputGroup, type InputGroupAddonProps, type InputGroupProps, type InputProps, JsonTreeView, Kbd, type KbdProps, Layout, type LayoutContext, type LayoutProps, type LayoutRegionProps, type LayoutSiderProps, Link, type LinkProps, List, type ListActionsProps, type ListCollection, type ListContentProps, type ListItemProps, type ListLeadingProps, type ListProps, Listbox, type ListboxRootProps, Marquee, Masonry, type MasonryProps, type MediaPlayerProps, type MediaSourceOption, type MediaTextTrackOption, type MentionEntry, Mentions, type MentionsProps, MentionsVessel, type MentionsVesselProps, Menu, Menubar, type MenubarEntry, type MenubarGroup, type MenubarProps, type MessageProps, type MessageRole, Meter, type MeterPartProps, type MeterRootProps, NativeSelect, type NativeSelectOption, type NativeSelectProps, NavigationMenu, NumberInput, OrderList, type OrderListProps, type OrderOption, PageHeader, type PageHeaderPartProps, Pagination, PasswordInput, PinInput, Popconfirm, type PopconfirmProps, Popover, Presence, type PresenceProps, PresenceProvider, Progress, ProgressGroup, type ProgressGroupProps, type ProgressSegment, type PromptInputProps, QrCode, RadioGroup, RatingGroup, type ReasoningProps, type ReasoningUIPart, type ResponseProps, Result, ScrollArea, SegmentGroup, Select, Separator, type SeparatorProps, SignaturePad, Skeleton, type SkeletonProps, Slider, type SortingState, type SourceDocumentUIPart, type SourceProps, type SourceUrlUIPart, type SourcesProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonEntry, type SplitButtonProps, Splitter, Spotlight, type SpotlightProps, Stack, type StackProps, Stat, type StatDeltaProps, type StatPartProps, type StepStartUIPart, Steps, type SuggestionProps, type SvelteFormApi, Swap, Switch, Tabs, Tag, type TagProps, TagsInput, Terminal, type TerminalProps, type TextUIPart, Textarea, type TextareaProps, Timeline, type TimelineContentProps, type TimelineItemProps, type TimelineMarkerProps, type TimelineProps, Timer, Toast, Toaster, Toc, Toggle, ToggleGroup, type ToolProps, type ToolStatus, type ToolUIPart, Toolbar, type ToolbarProps, Tooltip, Tour, type TourInteractOutsideEvent, type TourPointerDownOutsideEvent, type TourStepDetails, Transfer, type TransferItem, type TransferProps, type TreeCollection, type TreeCollectionOptions, type TreeNode, TreeSelect, type TreeSelectNode, type TreeSelectProps, TreeView, type TreeViewRootProps, Typography, type TypographyPartProps, type UIMessage, type UIMessagePart, type UseAsyncListProps, type UseAsyncListReturn, type UseDownloadProps, type UseDownloadReturn, type UseListCollectionProps, type UseListCollectionReturn, type UseListSelectionProps, type UseListSelectionReturn, type UseMentionsHandlers, type UseMentionsOptions, type UsePresenceContext, type UsePresenceProps, type UsePresenceReturn, User, type UserProps, Video, VirtualList, type VirtualListProps, Watermark, type WatermarkProps, createColumnHelper, createField, createFileTreeCollection, createForm, createGridCollection, createListCollection, createToaster, createTreeCollection, formatMediaTime, splitPresenceProps, useAsyncList, useConfig, useDownload, useField, useForm, useListCollection, useListSelection, useMentions, usePresence, usePresenceContext, useTour };
156
+ export { Accordion, AiAction as Action, AiAction, type ActionProps, Affix, type AffixProps, Ai, AiActions, Attachment as AiAttachment, Attachment, Attachments as AiAttachments, Attachments, AiContent, Ai$1 as AiConversation, AiLoader, AiMessage, AiMessage as Message, type AiPartProps, AiPromptInput, AiPromptInput as PromptInput, AiReasoning, AiReasoning as Reasoning, AiResponse, AiResponse as Response, AiSource, AiSource as Source, AiSources, AiSources as Sources, AiSuggestion, AiSuggestion as Suggestion, AiTool, AiTool as Tool, Alert, type AlertPartProps, type AlertProps, type AlertStatus, AngleSlider, type AnyFormApi, AspectRatio, type AspectRatioProps, type AttachmentProps, type AttachmentStatus, type AttachmentsProps, Audio, AutoComplete, type AutoCompleteProps, Avatar, type AvatarFacadeProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, BackTop, type BackTopProps, Badge, type BadgeProps, Banner, type BannerCloseProps, type BannerFacadeProps, type BannerPartProps, type BannerProps, type BannerStatus, Bento, type BentoProps, BlockUI, type BlockUIProps, Breadcrumb, type BreadcrumbCurrentProps, type BreadcrumbFacadeProps, type BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbLinkProps, type BreadcrumbListProps, type BreadcrumbProps, type BreadcrumbSeparatorProps, Browser, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, type CardDescriptionProps, type CardPartProps, type CardProps, type CardTitleProps, Carousel, CascadeSelect, type CascadeSelectNode, type CascadeSelectProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, Chip, type ChipProps, ClientOnly, type ClientOnlyProps, Clipboard, type ClipboardRootProps, Collapsible, type CollectionItem, type CollectionOptions, ColorPicker, type ColumnDef, Combobox, Command, type CommandEntry, type CommandProps, Comment, type CommentProps, type ConfigContext, type ConfigDensity, ConfigProvider, type ConfigProviderProps, Container, type ContainerProps, type CreateToasterReturn, DataTable, type DataTableProps, type DataUIPart, DataView, type DataViewProps, DateInput, DatePicker, DeferredContent, type DeferredContentProps, Descriptions, type DescriptionsPartProps, type DescriptionsRootProps, Dialog, type DialogOpenChangeDetails, Dock, type DockProps, DownloadTrigger, type DownloadTriggerBaseProps, type DownloadTriggerProps, type DownloadableData, Drawer, DynamicInput, type DynamicInputProps, Editable, Ellipsis, type EllipsisProps, Empty, type EmptyDescriptionProps, type EmptyPartProps, type EmptyProps, type EmptyTitleProps, FLOAT_BUTTON_KEY, Field, type FieldApi, Fieldset, type FilePathTreeNode, type FileUIPart, FileUpload, type FlatTreeNode, FlexRender, FloatButton, type FloatButtonContext, type FloatButtonFacadeProps, type FloatButtonItemProps, type FloatButtonPlacement, type FloatButtonProps, type FloatButtonSize, type FloatButtonTriggerProps, FloatingPanel, FocusTrap, type FocusTrapBaseProps, type FocusTrapProps, Form, type FormApi, FormField, type FormFieldProps, type FormProps, Format, Frame, Grid, type GridCollection, type GridCollectionOptions, type GridProps, Highlight, HoverCard, Icon, type IconProps, Image, ImageCropper, type ImageProps, ImageViewer, type ImageViewerPreviewProps, type ImageViewerProps, Input, InputGroup, type InputGroupAddonProps, type InputGroupProps, type InputProps, JsonTreeView, Kbd, type KbdProps, Layout, type LayoutContext, type LayoutProps, type LayoutRegionProps, type LayoutSiderProps, Link, type LinkProps, List, type ListActionsProps, type ListCollection, type ListContentProps, type ListItemProps, type ListLeadingProps, type ListProps, Listbox, type ListboxRootProps, Marquee, Masonry, type MasonryProps, type MediaPlayerProps, type MediaSourceOption, type MediaTextTrackOption, type MentionEntry, Mentions, type MentionsProps, MentionsVessel, type MentionsVesselProps, Menu, Menubar, type MenubarEntry, type MenubarGroup, type MenubarProps, type MessageProps, type MessageRole, Meter, type MeterPartProps, type MeterRootProps, NativeSelect, type NativeSelectOption, type NativeSelectProps, NavigationMenu, NumberInput, OrderList, type OrderListProps, type OrderOption, PageHeader, type PageHeaderPartProps, Pagination, PasswordInput, PinInput, Popconfirm, type PopconfirmProps, Popover, Presence, type PresenceProps, PresenceProvider, Progress, ProgressGroup, type ProgressGroupProps, type ProgressSegment, type PromptInputProps, QrCode, RadioGroup, RatingGroup, type ReasoningProps, type ReasoningUIPart, type ResponseProps, Result, ScrollArea, SegmentGroup, Select, Separator, type SeparatorProps, SignaturePad, Skeleton, type SkeletonProps, Slider, type SortingState, type SourceDocumentUIPart, type SourceProps, type SourceUrlUIPart, type SourcesProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonEntry, type SplitButtonProps, Splitter, Spotlight, type SpotlightProps, Stack, type StackProps, Stat, type StatDeltaProps, type StatPartProps, type StepStartUIPart, Steps, type SuggestionProps, type SvelteFormApi, Swap, Switch, Tabs, Tag, type TagProps, TagsInput, Terminal, type TerminalProps, type TextUIPart, Textarea, type TextareaProps, Timeline, type TimelineContentProps, type TimelineItemProps, type TimelineMarkerProps, type TimelineProps, Timer, Toast, Toaster, Toc, Toggle, ToggleGroup, type ToolProps, type ToolStatus, type ToolUIPart, Toolbar, type ToolbarProps, Tooltip, Tour, type TourInteractOutsideEvent, type TourPointerDownOutsideEvent, type TourStepDetails, Transfer, type TransferItem, type TransferProps, type TreeCollection, type TreeCollectionOptions, type TreeNode, TreeSelect, type TreeSelectNode, type TreeSelectProps, TreeView, type TreeViewRootProps, Typography, type TypographyPartProps, type UIMessage, type UIMessagePart, type UseAsyncListProps, type UseAsyncListReturn, type UseDownloadProps, type UseDownloadReturn, type UseListCollectionProps, type UseListCollectionReturn, type UseListSelectionProps, type UseListSelectionReturn, type UseMentionsHandlers, type UseMentionsOptions, type UsePresenceContext, type UsePresenceProps, type UsePresenceReturn, User, type UserProps, Video, VirtualList, type VirtualListProps, Watermark, type WatermarkProps, createColumnHelper, createField, createFileTreeCollection, createForm, createGridCollection, createListCollection, createToaster, createTreeCollection, formatMediaTime, splitPresenceProps, useAsyncList, useConfig, useDownload, useField, useForm, useListCollection, useListSelection, useMentions, usePresence, usePresenceContext, useTour };
package/dist/index.mjs CHANGED
@@ -26,9 +26,9 @@ import { t as AvatarGroup } from "./avatar-group-BL7PyLo1.mjs";
26
26
  import { t as BackTop } from "./back-top-FpXkOE3N.mjs";
27
27
  import { t as Badge } from "./badge-N_KoQG_c.mjs";
28
28
  import { t as BlockUI } from "./block-ui-CHajwHI5.mjs";
29
- import { t as Breadcrumb } from "./breadcrumb-g68_HJ2W.mjs";
29
+ import { Breadcrumb } from "./components/breadcrumb/index.mjs";
30
30
  import { t as ButtonGroup } from "./button-group-D9mgSVlR.mjs";
31
- import { t as Banner } from "./banner-CXrEuEc1.mjs";
31
+ import { Banner } from "./components/banner/index.mjs";
32
32
  import { Calendar } from "./components/calendar/index.mjs";
33
33
  import { t as Card } from "./card-DPVT_VaK.mjs";
34
34
  import { t as CascadeSelect } from "./cascade-select-BhdGSRCa.mjs";
@@ -60,7 +60,8 @@ import { t as Ellipsis } from "./ellipsis-ChktH2CQ.mjs";
60
60
  import { t as Empty } from "./empty-CINZ_PLj.mjs";
61
61
  import { Fieldset } from "./components/fieldset/index.mjs";
62
62
  import { FileUpload } from "./components/file-upload/index.mjs";
63
- import { n as FLOAT_BUTTON_KEY, t as FloatButton } from "./float-button-DK8hviBz.mjs";
63
+ import { a as FLOAT_BUTTON_KEY } from "./FloatButtonFacade-C8nGcXe0.mjs";
64
+ import { FloatButton } from "./components/float-button/index.mjs";
64
65
  import { FloatingPanel } from "./components/floating-panel/index.mjs";
65
66
  import { FocusTrap } from "./components/focus-trap/index.mjs";
66
67
  import { Format } from "./components/format/index.mjs";
@@ -101,7 +102,7 @@ import { RadioGroup } from "./components/radio-group/index.mjs";
101
102
  import { RatingGroup } from "./components/rating-group/index.mjs";
102
103
  import { ScrollArea } from "./components/scroll-area/index.mjs";
103
104
  import { SegmentGroup } from "./components/segment-group/index.mjs";
104
- import { n as Select, t as NativeSelect } from "./select-CVMOvviD.mjs";
105
+ import { n as Select, t as NativeSelect } from "./select-DuSzjsoK.mjs";
105
106
  import { t as Separator } from "./separator-I0MEoHjO.mjs";
106
107
  import { SignaturePad } from "./components/signature-pad/index.mjs";
107
108
  import { t as Skeleton } from "./skeleton-BHn0Emeh.mjs";
@@ -115,7 +116,7 @@ import { t as Stat } from "./stat-DQ-5P4Gr.mjs";
115
116
  import { Steps } from "./components/steps/index.mjs";
116
117
  import { Swap } from "./components/swap/index.mjs";
117
118
  import { Switch } from "./components/switch/index.mjs";
118
- import { n as FlexRender, r as createColumnHelper, t as DataTable } from "./table-HzpYIOst.mjs";
119
+ import { n as FlexRender, r as createColumnHelper, t as DataTable } from "./table-N8W6Jcaj.mjs";
119
120
  import { t as Tag } from "./tag-CXAD4ox2.mjs";
120
121
  import { Tabs } from "./components/tabs/index.mjs";
121
122
  import { t as Terminal } from "./terminal-DQAU6DW7.mjs";
@@ -143,7 +144,7 @@ import { t as Dock } from "./dock-BFyqUHAo.mjs";
143
144
  import { t as Browser } from "./browser-KnMt333t.mjs";
144
145
  import { t as Bento } from "./bento-ChsvZJOE.mjs";
145
146
  import { t as Result } from "./result-BRbQTUeW.mjs";
146
- import { n as Video, t as Audio } from "./media-player-DEXKLoUX.mjs";
147
+ import { n as Video, t as Audio } from "./media-player-DkAUU7NN.mjs";
147
148
  import { t as formatMediaTime } from "./use-media-controls-BYYG0DgO.mjs";
148
149
  export * from "@bysages/core";
149
150
  export { Accordion, AiAction as Action, AiAction, Affix, Ai, AiActions, Attachment as AiAttachment, Attachment, Attachments as AiAttachments, Attachments, AiContent, Ai$1 as AiConversation, AiLoader, AiMessage, AiMessage as Message, AiPromptInput, AiPromptInput as PromptInput, AiReasoning, AiReasoning as Reasoning, AiResponse, AiResponse as Response, AiSource, AiSource as Source, AiSources, AiSources as Sources, AiSuggestion, AiSuggestion as Suggestion, AiTool, AiTool as Tool, Alert, AngleSlider, AspectRatio, Audio, AutoComplete, Avatar, AvatarGroup, BackTop, Badge, Banner, Bento, BlockUI, Breadcrumb, Browser, Button, ButtonGroup, Calendar, Card, Carousel, CascadeSelect, Checkbox, CheckboxGroup, Chip, ClientOnly, Clipboard, Collapsible, ColorPicker, Combobox, Command, Comment, ConfigProvider, Container, DataTable, DataView, DateInput, DatePicker, DeferredContent, Descriptions, Dialog, Dock, DownloadTrigger, Drawer, DynamicInput, Editable, Ellipsis, Empty, FLOAT_BUTTON_KEY, Field, Fieldset, FileUpload, FlexRender, FloatButton, FloatingPanel, FocusTrap, Form, FormField, Format, Frame, Grid, Highlight, HoverCard, Icon, Image, ImageCropper, ImageViewer, Input, InputGroup, JsonTreeView, Kbd, Layout, Link, List, Listbox, Marquee, Masonry, Mentions, MentionsVessel, Menu, Menubar, Meter, NativeSelect, NavigationMenu, NumberInput, OrderList, PageHeader, Pagination, PasswordInput, PinInput, Popconfirm, Popover, Presence, PresenceProvider, Progress, ProgressGroup, QrCode, RadioGroup, RatingGroup, Result, ScrollArea, SegmentGroup, Select, Separator, SignaturePad, Skeleton, Slider, Spinner, SplitButton, Splitter, Spotlight, Stack, Stat, Steps, Swap, Switch, Tabs, Tag, TagsInput, Terminal, Textarea, Timeline, Timer, Toast, Toaster, Toc, Toggle, ToggleGroup, Toolbar, Tooltip, Tour, Transfer, TreeSelect, TreeView, Typography, User, Video, VirtualList, Watermark, createColumnHelper, createField, createFileTreeCollection, createForm, createGridCollection, createListCollection, createToaster, createTreeCollection, formatMediaTime, splitPresenceProps, useAsyncList, useConfig, useDownload, useField, useForm, useListCollection, useListSelection, useMentions, usePresence, usePresenceContext, useTour };
@@ -1,6 +1,6 @@
1
1
  import { t as defineFamily } from "./family-CzLaku1F.mjs";
2
2
  import { t as InternalIcon } from "./InternalIcon-Dr81WIG1.mjs";
3
- import { n as Select } from "./select-CVMOvviD.mjs";
3
+ import { n as Select } from "./select-DuSzjsoK.mjs";
4
4
  import { n as useMediaControls, t as formatMediaTime } from "./use-media-controls-BYYG0DgO.mjs";
5
5
  import "svelte/internal/disclose-version";
6
6
  import * as $ from "svelte/internal/client";
@@ -1,6 +1,6 @@
1
1
  import { n as withSelfRoot, t as defineFamily } from "./family-CzLaku1F.mjs";
2
2
  import { t as InternalIcon } from "./InternalIcon-Dr81WIG1.mjs";
3
- import { n as SelectRoot, t as Select$2 } from "./Select-D9XgciuN.mjs";
3
+ import { n as SelectRoot, t as Select$2 } from "./Select-D4rBviRL.mjs";
4
4
  import "svelte/internal/disclose-version";
5
5
  import * as $ from "svelte/internal/client";
6
6
  import { injectComponentStyle } from "@bysages/core/styling";
@@ -3,7 +3,7 @@ import { n as iconHtml } from "./icon-CKL_BxrZ.mjs";
3
3
  import { t as InternalIcon } from "./InternalIcon-Dr81WIG1.mjs";
4
4
  import { n as useComponentMessages, t as formatMessage } from "./messages-DNzA55pH.mjs";
5
5
  import { Pagination } from "./components/pagination/index.mjs";
6
- import { n as Select$1 } from "./select-CVMOvviD.mjs";
6
+ import { n as Select$1 } from "./select-DuSzjsoK.mjs";
7
7
  import "svelte/internal/disclose-version";
8
8
  import * as $ from "svelte/internal/client";
9
9
  import { injectComponentStyle } from "@bysages/core/styling";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bysages/svelte",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "By Sages Elements components for Svelte — styled by the paper-and-ink design tokens",
5
5
  "keywords": [
6
6
  "accessible",
@@ -52,7 +52,7 @@
52
52
  "@tanstack/svelte-virtual": "3.13.40",
53
53
  "@zag-js/cascade-select": "1.45.0",
54
54
  "@zag-js/svelte": "1.45.0",
55
- "@bysages/core": "0.4.3"
55
+ "@bysages/core": "0.4.4"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@json-render/core": "0.21.0",
@@ -1,47 +0,0 @@
1
- import { t as useElementId } from "./id-Alz497yI.mjs";
2
- import "svelte/internal/disclose-version";
3
- import * as $ from "svelte/internal/client";
4
- import { injectComponentStyle } from "@bysages/core/styling";
5
- import { Avatar } from "@ark-ui/svelte/avatar";
6
- //#region src/components/avatar/Avatar.svelte
7
- var rest_excludes = /* @__PURE__ */ new Set([
8
- "$$slots",
9
- "$$events",
10
- "$$legacy",
11
- "size",
12
- "shape",
13
- "children"
14
- ]);
15
- function Avatar$1($$anchor, $$props) {
16
- const generatedId = $.props_id();
17
- $.push($$props, true);
18
- injectComponentStyle("avatar");
19
- let shape = $.prop($$props, "shape", 3, "circle"), rest = $.rest_props($$props, rest_excludes);
20
- const id = $.derived(() => useElementId("avatar", generatedId, $$props.id));
21
- var fragment = $.comment();
22
- var node = $.first_child(fragment);
23
- $.component(node, () => Avatar.Root, ($$anchor, ArkAvatar_Root) => {
24
- ArkAvatar_Root($$anchor, $.spread_props(() => rest, {
25
- get id() {
26
- return $.get(id);
27
- },
28
- get "data-size"() {
29
- return $$props.size;
30
- },
31
- get "data-shape"() {
32
- return shape();
33
- },
34
- children: ($$anchor, $$slotProps) => {
35
- var fragment_1 = $.comment();
36
- var node_1 = $.first_child(fragment_1);
37
- $.snippet(node_1, () => $$props.children ?? $.noop);
38
- $.append($$anchor, fragment_1);
39
- },
40
- $$slots: { default: true }
41
- }));
42
- });
43
- $.append($$anchor, fragment);
44
- $.pop();
45
- }
46
- //#endregion
47
- export { Avatar$1 as t };
@@ -1,29 +0,0 @@
1
- import { Snippet } from "svelte";
2
- import { HTMLAttributes, HTMLButtonAttributes } from "svelte/elements";
3
- //#region src/components/banner/props.d.ts
4
- type BannerStatus = "ink" | "info" | "success" | "warning" | "danger";
5
- interface BannerProps extends HTMLAttributes<HTMLElement> {
6
- status?: BannerStatus;
7
- children?: Snippet;
8
- }
9
- interface BannerPartProps extends HTMLAttributes<HTMLElement> {
10
- children?: Snippet;
11
- }
12
- interface BannerCloseProps extends HTMLButtonAttributes {}
13
- //#endregion
14
- //#region src/components/banner/index.d.ts
15
- /** A page-level notice, spoken across the full measure: a wash of the
16
- * status pigment, one heavier hairline on the leading edge, and room
17
- * for actions and a quiet close. Ink is the neutral register; the four
18
- * semantic pigments are fixed. */
19
- declare const Banner: import("svelte").Component<BannerProps, {}, ""> & {
20
- Root: import("svelte").Component<BannerProps, {}, "">;
21
- Icon: import("svelte").Component<BannerPartProps, {}, "">;
22
- Body: import("svelte").Component<BannerPartProps, {}, "">;
23
- Title: import("svelte").Component<BannerPartProps, {}, "">;
24
- Description: import("svelte").Component<BannerPartProps, {}, "">;
25
- Actions: import("svelte").Component<BannerPartProps, {}, "">;
26
- Close: import("svelte").Component<BannerCloseProps, {}, "">;
27
- };
28
- //#endregion
29
- export { BannerStatus as a, BannerProps as i, BannerCloseProps as n, BannerPartProps as r, Banner as t };
@@ -1,36 +0,0 @@
1
- import { Snippet } from "svelte";
2
- import { HTMLAttributes } from "svelte/elements";
3
- //#region src/components/breadcrumb/props.d.ts
4
- interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
5
- children?: Snippet;
6
- }
7
- interface BreadcrumbListProps extends HTMLAttributes<HTMLOListElement> {
8
- children?: Snippet;
9
- }
10
- interface BreadcrumbItemProps extends HTMLAttributes<HTMLLIElement> {
11
- children?: Snippet;
12
- }
13
- interface BreadcrumbLinkProps extends HTMLAttributes<HTMLAnchorElement> {
14
- children?: Snippet;
15
- }
16
- interface BreadcrumbCurrentProps extends HTMLAttributes<HTMLSpanElement> {
17
- children?: Snippet;
18
- }
19
- interface BreadcrumbSeparatorProps extends HTMLAttributes<HTMLSpanElement> {
20
- children?: Snippet;
21
- }
22
- //#endregion
23
- //#region src/components/breadcrumb/index.d.ts
24
- /** A trail of waymarks: Root wraps the nav, List the ordered trail, and
25
- * each Item carries a Link — or the Current page — parted by a quiet
26
- * Separator. Links take href and the rest through attributes. */
27
- declare const Breadcrumb: import("svelte").Component<BreadcrumbProps, {}, ""> & {
28
- Root: import("svelte").Component<BreadcrumbProps, {}, "">;
29
- List: import("svelte").Component<BreadcrumbListProps, {}, "">;
30
- Item: import("svelte").Component<BreadcrumbItemProps, {}, "">;
31
- Link: import("svelte").Component<BreadcrumbLinkProps, {}, "">;
32
- Current: import("svelte").Component<BreadcrumbCurrentProps, {}, "">;
33
- Separator: import("svelte").Component<BreadcrumbSeparatorProps, {}, "">;
34
- };
35
- //#endregion
36
- export { BreadcrumbListProps as a, BreadcrumbLinkProps as i, BreadcrumbCurrentProps as n, BreadcrumbProps as o, BreadcrumbItemProps as r, BreadcrumbSeparatorProps as s, Breadcrumb as t };