@bysages/react 0.4.0 → 0.4.2

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 (154) hide show
  1. package/dist/{ai-response-B4DX7nmJ.mjs → ai-response-nhDOlELQ.mjs} +1 -1
  2. package/dist/components/accordion/index.mjs +1 -1
  3. package/dist/components/affix/index.mjs +2 -2
  4. package/dist/components/ai/index.d.mts +1 -1
  5. package/dist/components/ai/index.mjs +2 -2
  6. package/dist/components/ai-action/index.mjs +1 -1
  7. package/dist/components/ai-attachments/index.mjs +1 -1
  8. package/dist/components/ai-message/index.mjs +1 -1
  9. package/dist/components/ai-prompt-input/index.mjs +4 -13
  10. package/dist/components/ai-reasoning/index.mjs +1 -1
  11. package/dist/components/ai-response/index.mjs +1 -1
  12. package/dist/components/ai-source/index.mjs +1 -1
  13. package/dist/components/ai-suggestion/index.mjs +1 -1
  14. package/dist/components/ai-tool/index.mjs +1 -1
  15. package/dist/components/alert/index.mjs +1 -1
  16. package/dist/components/angle-slider/index.mjs +1 -1
  17. package/dist/components/aspect-ratio/index.mjs +1 -1
  18. package/dist/components/autocomplete/index.mjs +9 -2
  19. package/dist/components/avatar/index.mjs +1 -1
  20. package/dist/components/avatar-group/index.mjs +1 -1
  21. package/dist/components/back-top/index.mjs +1 -1
  22. package/dist/components/badge/index.mjs +1 -1
  23. package/dist/components/banner/index.mjs +1 -1
  24. package/dist/components/bento/index.mjs +1 -1
  25. package/dist/components/block-ui/index.mjs +1 -1
  26. package/dist/components/breadcrumb/index.mjs +1 -1
  27. package/dist/components/browser/index.mjs +1 -1
  28. package/dist/components/button/index.mjs +1 -1
  29. package/dist/components/button-group/index.mjs +1 -1
  30. package/dist/components/calendar/index.d.mts +18 -7
  31. package/dist/components/calendar/index.mjs +79 -43
  32. package/dist/components/card/index.mjs +1 -1
  33. package/dist/components/carousel/index.mjs +1 -1
  34. package/dist/components/cascade-select/index.mjs +2 -2
  35. package/dist/components/checkbox/index.mjs +1 -1
  36. package/dist/components/checkbox-group/index.mjs +1 -1
  37. package/dist/components/chip/index.d.mts +1 -1
  38. package/dist/components/chip/index.mjs +1 -1
  39. package/dist/components/clipboard/index.mjs +1 -1
  40. package/dist/components/collapsible/index.mjs +1 -1
  41. package/dist/components/color-picker/index.mjs +1 -1
  42. package/dist/components/combobox/index.mjs +1 -1
  43. package/dist/components/command/index.mjs +1 -1
  44. package/dist/components/comment/index.mjs +1 -1
  45. package/dist/components/container/index.mjs +1 -1
  46. package/dist/components/data-view/index.mjs +1 -1
  47. package/dist/components/date-input/index.mjs +1 -1
  48. package/dist/components/date-picker/index.mjs +1 -1
  49. package/dist/components/deferred-content/index.mjs +1 -1
  50. package/dist/components/descriptions/index.mjs +1 -1
  51. package/dist/components/dialog/index.mjs +1 -1
  52. package/dist/components/dock/index.mjs +1 -1
  53. package/dist/components/drawer/index.mjs +1 -1
  54. package/dist/components/dynamic-input/index.mjs +2 -2
  55. package/dist/components/editable/index.mjs +1 -1
  56. package/dist/components/ellipsis/index.mjs +1 -1
  57. package/dist/components/empty/index.mjs +1 -1
  58. package/dist/components/field/index.mjs +1 -1
  59. package/dist/components/fieldset/index.mjs +1 -1
  60. package/dist/components/file-upload/index.mjs +1 -1
  61. package/dist/components/float-button/index.mjs +1 -1
  62. package/dist/components/floating-panel/index.mjs +1 -1
  63. package/dist/components/form/index.d.mts +48 -2
  64. package/dist/components/form/index.mjs +1 -1
  65. package/dist/components/grid/index.mjs +1 -1
  66. package/dist/components/highlight/index.mjs +1 -1
  67. package/dist/components/hover-card/index.mjs +1 -1
  68. package/dist/components/icon/index.mjs +1 -1
  69. package/dist/components/image/index.mjs +1 -1
  70. package/dist/components/image-cropper/index.mjs +1 -1
  71. package/dist/components/image-viewer/index.mjs +1 -1
  72. package/dist/components/input/index.mjs +1 -1
  73. package/dist/components/input-group/index.mjs +1 -1
  74. package/dist/components/json-tree-view/index.mjs +1 -1
  75. package/dist/components/kbd/index.mjs +1 -1
  76. package/dist/components/layout/index.mjs +1 -1
  77. package/dist/components/link/index.mjs +1 -1
  78. package/dist/components/list/index.mjs +1 -1
  79. package/dist/components/listbox/index.mjs +1 -1
  80. package/dist/components/marquee/index.mjs +1 -1
  81. package/dist/components/masonry/index.mjs +1 -1
  82. package/dist/components/media-player/index.mjs +1 -1
  83. package/dist/components/mentions/index.mjs +1 -1
  84. package/dist/components/menu/index.mjs +1 -1
  85. package/dist/components/menubar/index.mjs +1 -1
  86. package/dist/components/meter/index.mjs +1 -1
  87. package/dist/components/navigation-menu/index.mjs +1 -1
  88. package/dist/components/number-input/index.mjs +1 -1
  89. package/dist/components/order-list/index.mjs +1 -1
  90. package/dist/components/page-header/index.mjs +1 -1
  91. package/dist/components/pagination/index.d.mts +2 -0
  92. package/dist/components/pagination/index.mjs +31 -6
  93. package/dist/components/password-input/index.mjs +1 -1
  94. package/dist/components/pin-input/index.mjs +1 -1
  95. package/dist/components/popconfirm/index.mjs +1 -1
  96. package/dist/components/popover/index.mjs +1 -1
  97. package/dist/components/progress/index.d.mts +2 -2
  98. package/dist/components/progress/index.mjs +21 -5
  99. package/dist/components/progress-group/index.mjs +1 -1
  100. package/dist/components/qr-code/index.mjs +1 -1
  101. package/dist/components/radio-group/index.mjs +1 -1
  102. package/dist/components/rating-group/index.mjs +1 -1
  103. package/dist/components/result/index.mjs +1 -1
  104. package/dist/components/scroll-area/index.mjs +1 -1
  105. package/dist/components/segment-group/index.mjs +1 -1
  106. package/dist/components/select/index.mjs +1 -1
  107. package/dist/components/separator/index.mjs +1 -1
  108. package/dist/components/signature-pad/index.mjs +1 -1
  109. package/dist/components/skeleton/index.mjs +1 -1
  110. package/dist/components/slider/index.mjs +1 -1
  111. package/dist/components/spinner/index.mjs +1 -1
  112. package/dist/components/split-button/index.mjs +1 -1
  113. package/dist/components/splitter/index.mjs +1 -1
  114. package/dist/components/spotlight/index.mjs +1 -1
  115. package/dist/components/stack/index.mjs +1 -1
  116. package/dist/components/stat/index.mjs +1 -1
  117. package/dist/components/steps/index.d.mts +5 -1
  118. package/dist/components/steps/index.mjs +7 -5
  119. package/dist/components/swap/index.mjs +1 -1
  120. package/dist/components/switch/index.mjs +1 -1
  121. package/dist/components/table/index.d.mts +2 -0
  122. package/dist/components/table/index.mjs +14 -5
  123. package/dist/components/tabs/index.mjs +1 -1
  124. package/dist/components/tag/index.d.mts +33 -0
  125. package/dist/components/tag/index.mjs +69 -0
  126. package/dist/components/tags-input/index.mjs +1 -1
  127. package/dist/components/terminal/index.mjs +1 -1
  128. package/dist/components/textarea/index.mjs +1 -1
  129. package/dist/components/timeline/index.mjs +1 -1
  130. package/dist/components/timer/index.mjs +1 -1
  131. package/dist/components/toast/index.mjs +1 -1
  132. package/dist/components/toc/index.mjs +1 -1
  133. package/dist/components/toggle/index.mjs +1 -1
  134. package/dist/components/toggle-group/index.mjs +1 -1
  135. package/dist/components/toolbar/index.mjs +1 -1
  136. package/dist/components/tooltip/index.mjs +1 -1
  137. package/dist/components/tour/index.mjs +1 -1
  138. package/dist/components/transfer/index.mjs +2 -2
  139. package/dist/components/tree-select/index.mjs +2 -2
  140. package/dist/components/tree-view/index.mjs +1 -1
  141. package/dist/components/typography/index.mjs +1 -1
  142. package/dist/components/user/index.mjs +1 -1
  143. package/dist/components/virtual-list/index.mjs +1 -1
  144. package/dist/components/watermark/index.mjs +1 -1
  145. package/dist/{image-viewer-Cf6thHax.mjs → image-viewer-B-hKFkEw.mjs} +1 -1
  146. package/dist/{index-DdNKngUQ.d.mts → index-B4twHAQC.d.mts} +138 -89
  147. package/dist/index.d.mts +4 -3
  148. package/dist/index.mjs +8 -7
  149. package/dist/{input-C21Zzuy6.mjs → input-BDpQ0e6G.mjs} +1 -1
  150. package/dist/{media-player-gQrnxU52.mjs → media-player-DjVvo1_7.mjs} +2 -2
  151. package/dist/{mentions-BuWibdci.mjs → mentions-BwnyvdXz.mjs} +1 -1
  152. package/dist/{select-ozUFq0zd.mjs → select-i9UZsQCU.mjs} +1 -1
  153. package/package.json +9 -81
  154. package/dist/index-PsgGWW3m.d.mts +0 -1819
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Combobox as Combobox$1, createListCollection } from "@ark-ui/react/combobox";
6
6
  //#region src/components/combobox/index.tsx
@@ -1,7 +1,7 @@
1
1
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
2
2
  import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
3
3
  import { Dialog as Dialog$1 } from "../dialog/index.mjs";
4
- import { injectComponentStyle } from "@bysages/core";
4
+ import { injectComponentStyle } from "@bysages/core/styling";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { useEffect, useState } from "react";
7
7
  import { Portal } from "@ark-ui/react/portal";
@@ -1,5 +1,5 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/comment/index.tsx
5
5
  function CommentImpl({ author, datetime, avatar, actions, children, ...rest }) {
@@ -1,5 +1,5 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/components/container/index.tsx
5
5
  function ContainerImpl({ size = "readable", padding = true, ...rest }) {
@@ -1,7 +1,7 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
2
  import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
3
3
  import { Pagination } from "../pagination/index.mjs";
4
- import { injectComponentStyle } from "@bysages/core";
4
+ import { injectComponentStyle } from "@bysages/core/styling";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { useState } from "react";
7
7
  //#region src/components/data-view/index.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { DateInput as DateInput$1 } from "@ark-ui/react/date-input";
5
5
  //#region src/components/date-input/index.tsx
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
5
  import { DatePicker as DatePicker$1 } from "@ark-ui/react/date-picker";
6
6
  //#region src/components/date-picker/index.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { useEffect, useRef, useState } from "react";
5
5
  //#region src/components/deferred-content/index.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/descriptions/index.tsx
5
5
  function DescriptionsRoot({ layout = "horizontal", bordered = false, column = 1, items, children, ...rest }) {
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Dialog as Dialog$1 } from "@ark-ui/react/dialog";
6
6
  //#region src/components/dialog/index.tsx
@@ -1,4 +1,4 @@
1
- import { injectComponentStyle } from "@bysages/core";
1
+ import { injectComponentStyle } from "@bysages/core/styling";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  //#region src/components/dock/index.tsx
4
4
  const ITEM = "[data-scope=\"dock\"][data-part=\"item\"]";
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Drawer as Drawer$1 } from "@ark-ui/react/drawer";
6
6
  //#region src/components/drawer/index.tsx
@@ -2,8 +2,8 @@ import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
3
3
  import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
4
4
  import { Button } from "../button/index.mjs";
5
- import { t as Input } from "../../input-C21Zzuy6.mjs";
6
- import { injectComponentStyle } from "@bysages/core";
5
+ import { t as Input } from "../../input-BDpQ0e6G.mjs";
6
+ import { injectComponentStyle } from "@bysages/core/styling";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/dynamic-input/index.tsx
9
9
  /**
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Editable as Editable$1 } from "@ark-ui/react/editable";
6
6
  //#region src/components/editable/index.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/components/ellipsis/index.tsx
5
5
  function EllipsisImpl({ lines = 1, ...rest }) {
@@ -1,4 +1,4 @@
1
- import { injectComponentStyle } from "@bysages/core";
1
+ import { injectComponentStyle } from "@bysages/core/styling";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  //#region src/components/empty/index.tsx
4
4
  /** An empty state: the page holds its breath. Root centers the column,
@@ -1,5 +1,5 @@
1
1
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { Field as Field$1 } from "@ark-ui/react/field";
5
5
  //#region src/components/field/index.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { Fieldset as Fieldset$1 } from "@ark-ui/react/fieldset";
5
5
  //#region src/components/fieldset/index.tsx
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { FileUpload as FileUpload$1 } from "@ark-ui/react/file-upload";
6
6
  //#region src/components/file-upload/index.tsx
@@ -1,6 +1,6 @@
1
1
  import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
2
2
  import { Button } from "../button/index.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { createContext, useContext, useState } from "react";
6
6
  //#region src/components/float-button/index.tsx
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { FloatingPanel as FloatingPanel$1 } from "@ark-ui/react/floating-panel";
6
6
  //#region src/components/floating-panel/index.tsx
@@ -1,2 +1,48 @@
1
- import { a as useField, c as FieldApi, i as FormProps, n as FormField, o as useForm, r as FormFieldProps, s as FormApi, t as Form } from "../../index-PsgGWW3m.mjs";
2
- export { type FieldApi, Form, type FormApi, FormField, FormFieldProps, FormProps, useField, useForm };
1
+ import { ComponentType, HTMLAttributes, ReactNode } from "react";
2
+ import { FieldApi, FormApi, useField, useForm } from "@tanstack/react-form";
3
+ //#region src/components/form/index.d.ts
4
+ /** The seam this family passes the engine through — the members the
5
+ * components drive, with the engine's field-name generics opened to
6
+ * `any`. The engine ships no "any form" alias: its loosest, `FormLikeAPI`,
7
+ * still pins names to `string`, which a concrete form's literal names
8
+ * cannot satisfy. */
9
+ interface AnyFormApi {
10
+ handleSubmit(): Promise<unknown>;
11
+ setFieldMeta(field: any, updater: (prev: any) => any): void;
12
+ Field: ComponentType<any>;
13
+ }
14
+ /** The form element itself: native submit interception handing the event
15
+ * to the engine, one grid, one spacing voice. */
16
+ export interface FormProps extends HTMLAttributes<HTMLFormElement> {
17
+ form: AnyFormApi;
18
+ }
19
+ declare function FormImpl({ form, children, ...rest }: FormProps): import("react").JSX.Element;
20
+ export declare const Form: typeof FormImpl & {
21
+ Root: typeof FormImpl;
22
+ };
23
+ /**
24
+ * The named slot in the grid: label, control, hint — and the engine's
25
+ * errors for this name, shown through the same parts the standalone
26
+ * Field family styles. The children may be a render receiving the live
27
+ * TanStack field (value, handleChange, handleBlur, full state), so every
28
+ * capability the engine has is right there where the control is wired.
29
+ * Without a Form above it degrades to a plain labelled field.
30
+ */
31
+ export interface FormFieldProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
32
+ form?: AnyFormApi;
33
+ name: string;
34
+ /** The engine's validator slots for this name (onChange, onBlur, ...). */
35
+ validators?: any;
36
+ label?: string;
37
+ hint?: string;
38
+ required?: boolean;
39
+ invalid?: boolean;
40
+ disabled?: boolean;
41
+ children?: ReactNode | ((field: any) => ReactNode);
42
+ }
43
+ declare function FormFieldImpl({ form: formProp, name, label, hint, required, invalid, disabled, children, ...rest }: FormFieldProps): import("react").JSX.Element;
44
+ export declare const FormField: typeof FormFieldImpl & {
45
+ Root: typeof FormFieldImpl;
46
+ };
47
+ //#endregion
48
+ export { type FieldApi, type FormApi, useField, useForm };
@@ -1,5 +1,5 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { createContext, useContext } from "react";
5
5
  import { Field } from "@ark-ui/react/field";
@@ -1,5 +1,5 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/components/grid/index.tsx
5
5
  /** The same named steps of the space ramp the stack uses — one
@@ -1,5 +1,5 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { Highlight as Highlight$1 } from "@ark-ui/react/highlight";
5
5
  //#region src/components/highlight/index.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { HoverCard as HoverCard$1 } from "@ark-ui/react/hover-card";
5
5
  //#region src/components/hover-card/index.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { getIcon } from "@bysages/core/icons";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region src/components/icon/index.tsx
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { useEffect, useRef, useState } from "react";
6
6
  //#region src/components/image/index.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { ImageCropper as ImageCropper$1 } from "@ark-ui/react/image-cropper";
5
5
  //#region src/components/image-cropper/index.tsx
@@ -1,4 +1,4 @@
1
1
  import "../button-group/index.mjs";
2
2
  import "../dialog/index.mjs";
3
- import { t as ImageViewer } from "../../image-viewer-Cf6thHax.mjs";
3
+ import { t as ImageViewer } from "../../image-viewer-B-hKFkEw.mjs";
4
4
  export { ImageViewer };
@@ -1,2 +1,2 @@
1
- import { t as Input } from "../../input-C21Zzuy6.mjs";
1
+ import { t as Input } from "../../input-BDpQ0e6G.mjs";
2
2
  export { Input };
@@ -1,4 +1,4 @@
1
- import { injectComponentStyle } from "@bysages/core";
1
+ import { injectComponentStyle } from "@bysages/core/styling";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  //#region src/components/input-group/index.tsx
4
4
  function part(name) {
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { JsonTreeView as JsonTreeView$1 } from "@ark-ui/react/json-tree-view";
6
6
  //#region src/components/json-tree-view/index.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/components/kbd/index.tsx
5
5
  function KbdImpl({ children, ...rest }) {
@@ -1,5 +1,5 @@
1
1
  import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { createContext, useContext, useEffect, useMemo, useRef, useState } from "react";
5
5
  import { Splitter } from "@ark-ui/react/splitter";
@@ -1,5 +1,5 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/components/link/index.tsx
5
5
  /** A link is ink in the accent's voice: quiet at rest, deepening under
@@ -1,4 +1,4 @@
1
- import { injectComponentStyle } from "@bysages/core";
1
+ import { injectComponentStyle } from "@bysages/core/styling";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  //#region src/components/list/index.tsx
4
4
  /** A ledger of rows: Root is the list, Item one row, Leading the mark
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Listbox as Listbox$1, createListCollection } from "@ark-ui/react/listbox";
6
6
  //#region src/components/listbox/index.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { Marquee as Marquee$1 } from "@ark-ui/react/marquee";
5
5
  //#region src/components/marquee/index.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/components/masonry/index.tsx
5
5
  /** The same named steps of the space ramp the stack uses — one
@@ -1,2 +1,2 @@
1
- import { n as Video, r as formatMediaTime, t as Audio } from "../../media-player-gQrnxU52.mjs";
1
+ import { n as Video, r as formatMediaTime, t as Audio } from "../../media-player-DjVvo1_7.mjs";
2
2
  export { Audio, Video, formatMediaTime };
@@ -1,2 +1,2 @@
1
- import { n as MentionsVessel, r as useMentions, t as Mentions } from "../../mentions-BuWibdci.mjs";
1
+ import { n as MentionsVessel, r as useMentions, t as Mentions } from "../../mentions-BwnyvdXz.mjs";
2
2
  export { Mentions, MentionsVessel, useMentions };
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { createContext, useContext } from "react";
6
6
  import { Menu as Menu$1 } from "@ark-ui/react/menu";
@@ -1,6 +1,6 @@
1
1
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
2
2
  import { Menu as Menu$1 } from "../menu/index.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Portal } from "@ark-ui/react/portal";
6
6
  import { Menu } from "@ark-ui/react/menu";
@@ -1,4 +1,4 @@
1
- import { injectComponentStyle } from "@bysages/core";
1
+ import { injectComponentStyle } from "@bysages/core/styling";
2
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
3
  //#region src/components/meter/index.tsx
4
4
  function part(name, tag) {
@@ -1,5 +1,5 @@
1
1
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { NavigationMenu as NavigationMenu$1 } from "@ark-ui/react/navigation-menu";
5
5
  //#region src/components/navigation-menu/index.tsx
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { NumberInput as NumberInput$1 } from "@ark-ui/react/number-input";
6
6
  //#region src/components/number-input/index.tsx
@@ -1,7 +1,7 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as withSelfRoot } from "../../family-DE_GQeeM.mjs";
3
3
  import { n as useComponentMessages } from "../../messages-1jJWtaYU.mjs";
4
- import { injectComponentStyle } from "@bysages/core";
4
+ import { injectComponentStyle } from "@bysages/core/styling";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { useRef, useState } from "react";
7
7
  //#region src/components/order-list/index.tsx
@@ -1,4 +1,4 @@
1
- import { injectComponentStyle } from "@bysages/core";
1
+ import { injectComponentStyle } from "@bysages/core/styling";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  //#region src/components/page-header/index.tsx
4
4
  /** The page's face: an eyebrow whisper, a serif title, one line of
@@ -21,6 +21,8 @@ type PaginationFacadeProps = {
21
21
  siblingCount?: number;
22
22
  label?: string;
23
23
  size?: "sm" | "md" | "lg";
24
+ /** full is the page-seal ladder; simple keeps prev, the count, next. */
25
+ variant?: "default" | "simple";
24
26
  className?: string;
25
27
  style?: CSSProperties;
26
28
  onValueChange?: (page: number) => void;
@@ -1,7 +1,7 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
4
- import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Pagination as Pagination$1 } from "@ark-ui/react/pagination";
6
6
  //#region src/components/pagination/index.tsx
7
7
  function PaginationRoot(props) {
@@ -19,8 +19,8 @@ const PaginationNextTrigger = Pagination$1.NextTrigger;
19
19
  /** The complete pagination bar behind one page: count and page size become
20
20
  * the visible ladder, with edge semantics left to anatomy. */
21
21
  function PaginationFacade(props) {
22
- const { value, defaultValue, count = 0, pageSize, defaultPageSize, siblingCount = 1, label, size = "md", className, style, onValueChange } = props;
23
- return /* @__PURE__ */ jsxs(PaginationRoot, {
22
+ const { value, defaultValue, count = 0, pageSize, defaultPageSize, siblingCount = 1, label, size = "md", variant = "default", className, style, onValueChange } = props;
23
+ return /* @__PURE__ */ jsx(PaginationRoot, {
24
24
  size,
25
25
  "aria-label": label,
26
26
  count,
@@ -29,10 +29,35 @@ function PaginationFacade(props) {
29
29
  ...pageSize === void 0 ? {} : { pageSize },
30
30
  ...defaultPageSize === void 0 ? {} : { defaultPageSize },
31
31
  siblingCount,
32
+ "data-variant": variant === "simple" ? variant : void 0,
32
33
  className,
33
34
  style,
34
35
  onPageChange: (event) => onValueChange?.(event.page),
35
- children: [
36
+ children: variant === "simple" ? /* @__PURE__ */ jsxs(Fragment, { children: [
37
+ /* @__PURE__ */ jsx(PaginationPrevTrigger, {
38
+ "aria-label": "Previous page",
39
+ children: iconNode("chevron-left", {
40
+ width: 14,
41
+ height: 14
42
+ })
43
+ }),
44
+ /* @__PURE__ */ jsx(Pagination$1.Context, { children: (pagination) => /* @__PURE__ */ jsxs("span", {
45
+ "data-scope": "pagination",
46
+ "data-part": "status",
47
+ children: [
48
+ pagination.page,
49
+ " / ",
50
+ pagination.totalPages
51
+ ]
52
+ }) }),
53
+ /* @__PURE__ */ jsx(PaginationNextTrigger, {
54
+ "aria-label": "Next page",
55
+ children: iconNode("chevron-right", {
56
+ width: 14,
57
+ height: 14
58
+ })
59
+ })
60
+ ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
36
61
  /* @__PURE__ */ jsx(PaginationPrevTrigger, {
37
62
  "aria-label": "Previous page",
38
63
  children: iconNode("chevron-left", {
@@ -55,7 +80,7 @@ function PaginationFacade(props) {
55
80
  height: 14
56
81
  })
57
82
  })
58
- ]
83
+ ] })
59
84
  });
60
85
  }
61
86
  const Pagination = Object.assign(PaginationFacade, {
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { PasswordInput as PasswordInput$1 } from "@ark-ui/react/password-input";
6
6
  //#region src/components/password-input/index.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
2
- import { injectComponentStyle } from "@bysages/core";
2
+ import { injectComponentStyle } from "@bysages/core/styling";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { PinInput as PinInput$1 } from "@ark-ui/react/pin-input";
5
5
  //#region src/components/pin-input/index.tsx
@@ -1,7 +1,7 @@
1
1
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
2
2
  import { Button } from "../button/index.mjs";
3
3
  import { Popover as Popover$1 } from "../popover/index.mjs";
4
- import { injectComponentStyle } from "@bysages/core";
4
+ import { injectComponentStyle } from "@bysages/core/styling";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Popover } from "@ark-ui/react/popover";
7
7
  import { Portal } from "@ark-ui/react/portal";
@@ -1,6 +1,6 @@
1
1
  import { t as iconNode } from "../../icon-BALgGtNK.mjs";
2
2
  import { t as useElementId } from "../../id-C37UYLwJ.mjs";
3
- import { injectComponentStyle } from "@bysages/core";
3
+ import { injectComponentStyle } from "@bysages/core/styling";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { isValidElement } from "react";
6
6
  import { Popover as Popover$1 } from "@ark-ui/react/popover";
@@ -16,14 +16,14 @@ type ProgressFacadeProps = {
16
16
  min?: number;
17
17
  max?: number;
18
18
  label?: string;
19
- variant?: "linear" | "circle";
19
+ variant?: "linear" | "circle" | "dashboard";
20
20
  size?: "sm" | "md" | "lg";
21
21
  className?: string;
22
22
  style?: CSSProperties;
23
23
  onValueChange?: (value: number | null) => void;
24
24
  };
25
25
  /** The complete progress behind one value: a labelled linear groove by
26
- * default, with a circular variant for compact status. */
26
+ * default, with circular and dashboard dials for compact status. */
27
27
  declare function ProgressFacade(props: ProgressFacadeProps): import("react").JSX.Element;
28
28
  export declare const Progress: typeof ProgressFacade & Omit<typeof Progress$1, "Root"> & {
29
29
  Root: typeof ProgressRoot;