veryfront 0.1.1237 → 0.1.1239

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 (493) hide show
  1. package/esm/cli/auth/login.d.ts +24 -2
  2. package/esm/cli/auth/login.d.ts.map +1 -1
  3. package/esm/cli/auth/login.js +444 -35
  4. package/esm/cli/commands/build/error-handler.d.ts.map +1 -1
  5. package/esm/cli/commands/build/error-handler.js +41 -3
  6. package/esm/cli/commands/build/handler.d.ts.map +1 -1
  7. package/esm/cli/commands/build/handler.js +1 -1
  8. package/esm/cli/commands/dev/command.d.ts.map +1 -1
  9. package/esm/cli/commands/dev/command.js +14 -1
  10. package/esm/cli/commands/dev/inference-status.d.ts +6 -0
  11. package/esm/cli/commands/dev/inference-status.d.ts.map +1 -1
  12. package/esm/cli/commands/dev/inference-status.js +14 -2
  13. package/esm/cli/commands/generate/command.d.ts.map +1 -1
  14. package/esm/cli/commands/generate/command.js +61 -0
  15. package/esm/cli/commands/init/init-command.d.ts.map +1 -1
  16. package/esm/cli/commands/init/init-command.js +23 -31
  17. package/esm/cli/commands/install/registry.d.ts.map +1 -1
  18. package/esm/cli/commands/install/registry.js +6 -9
  19. package/esm/cli/commands/login/command-help.d.ts.map +1 -1
  20. package/esm/cli/commands/login/command-help.js +3 -1
  21. package/esm/cli/commands/pull/command.d.ts +1 -0
  22. package/esm/cli/commands/pull/command.d.ts.map +1 -1
  23. package/esm/cli/commands/pull/command.js +49 -6
  24. package/esm/cli/commands/push/command-help.d.ts.map +1 -1
  25. package/esm/cli/commands/push/command-help.js +7 -0
  26. package/esm/cli/commands/push/command.d.ts +23 -12
  27. package/esm/cli/commands/push/command.d.ts.map +1 -1
  28. package/esm/cli/commands/push/command.js +461 -44
  29. package/esm/cli/commands/push/plan.d.ts +35 -0
  30. package/esm/cli/commands/push/plan.d.ts.map +1 -0
  31. package/esm/cli/commands/push/plan.js +96 -0
  32. package/esm/cli/commands/schedule/handler.d.ts +21 -2
  33. package/esm/cli/commands/schedule/handler.d.ts.map +1 -1
  34. package/esm/cli/commands/schedule/handler.js +74 -27
  35. package/esm/cli/commands/schema/command-help.js +1 -1
  36. package/esm/cli/commands/up/command.js +1 -1
  37. package/esm/cli/commands/webhook/handler.d.ts.map +1 -1
  38. package/esm/cli/commands/webhook/handler.js +3 -1
  39. package/esm/cli/router.d.ts.map +1 -1
  40. package/esm/cli/router.js +27 -5
  41. package/esm/cli/shared/args.d.ts +15 -1
  42. package/esm/cli/shared/args.d.ts.map +1 -1
  43. package/esm/cli/shared/args.js +56 -3
  44. package/esm/cli/shared/config.d.ts +11 -2
  45. package/esm/cli/shared/config.d.ts.map +1 -1
  46. package/esm/cli/shared/config.js +72 -27
  47. package/esm/cli/shared/project-creation.js +1 -1
  48. package/esm/cli/sync/state.d.ts +20 -0
  49. package/esm/cli/sync/state.d.ts.map +1 -0
  50. package/esm/cli/sync/state.js +193 -0
  51. package/esm/deno.js +2 -2
  52. package/esm/extensions/ext-llm-anthropic/src/anthropic-request-builder.d.ts.map +1 -1
  53. package/esm/extensions/ext-llm-anthropic/src/anthropic-request-builder.js +852 -21
  54. package/esm/extensions/ext-observability-sentry/src/policy.d.ts +2 -0
  55. package/esm/extensions/ext-observability-sentry/src/policy.d.ts.map +1 -1
  56. package/esm/extensions/ext-observability-sentry/src/policy.js +214 -3
  57. package/esm/src/agent/conversation/delegation-policy.d.ts +2 -0
  58. package/esm/src/agent/conversation/delegation-policy.d.ts.map +1 -1
  59. package/esm/src/agent/conversation/delegation-policy.js +13 -3
  60. package/esm/src/agent/conversation/hosted-terminal.d.ts.map +1 -1
  61. package/esm/src/agent/conversation/hosted-terminal.js +6 -2
  62. package/esm/src/agent/conversation/run-chunk-mirror.d.ts.map +1 -1
  63. package/esm/src/agent/conversation/run-chunk-mirror.js +14 -2
  64. package/esm/src/agent/factory.d.ts.map +1 -1
  65. package/esm/src/agent/factory.js +22 -11
  66. package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts +2 -0
  67. package/esm/src/agent/hosted/chat-runtime-tool-assembly.d.ts.map +1 -1
  68. package/esm/src/agent/hosted/chat-runtime-tool-assembly.js +6 -1
  69. package/esm/src/agent/hosted/child-fork-execution-runner.d.ts +2 -1
  70. package/esm/src/agent/hosted/child-fork-execution-runner.d.ts.map +1 -1
  71. package/esm/src/agent/hosted/child-fork-execution-runner.js +6 -3
  72. package/esm/src/agent/hosted/child-fork-step-message-preparation.d.ts +12 -3
  73. package/esm/src/agent/hosted/child-fork-step-message-preparation.d.ts.map +1 -1
  74. package/esm/src/agent/hosted/child-fork-step-message-preparation.js +16 -3
  75. package/esm/src/agent/hosted/cloud-agent-chat-execution.d.ts +1 -1
  76. package/esm/src/agent/hosted/cloud-agent-chat-execution.d.ts.map +1 -1
  77. package/esm/src/agent/hosted/cloud-agent-chat-execution.js +3 -3
  78. package/esm/src/agent/hosted/cloud-agent-child-tools.d.ts +11 -0
  79. package/esm/src/agent/hosted/cloud-agent-child-tools.d.ts.map +1 -1
  80. package/esm/src/agent/hosted/cloud-agent-child-tools.js +2 -3
  81. package/esm/src/agent/hosted/cloud-agent-config.d.ts +1 -0
  82. package/esm/src/agent/hosted/cloud-agent-config.d.ts.map +1 -1
  83. package/esm/src/agent/hosted/cloud-runtime-system-messages.d.ts +16 -1
  84. package/esm/src/agent/hosted/cloud-runtime-system-messages.d.ts.map +1 -1
  85. package/esm/src/agent/hosted/cloud-runtime-system-messages.js +13 -3
  86. package/esm/src/agent/hosted/default-chat-runtime.d.ts +2 -1
  87. package/esm/src/agent/hosted/default-chat-runtime.d.ts.map +1 -1
  88. package/esm/src/agent/hosted/default-chat-runtime.js +18 -7
  89. package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts +2 -1
  90. package/esm/src/agent/hosted/default-invoke-agent-tool.d.ts.map +1 -1
  91. package/esm/src/agent/hosted/default-invoke-agent-tool.js +11 -3
  92. package/esm/src/agent/hosted/default-project-steering-refresh.d.ts +2 -1
  93. package/esm/src/agent/hosted/default-project-steering-refresh.d.ts.map +1 -1
  94. package/esm/src/agent/hosted/default-project-steering-refresh.js +4 -1
  95. package/esm/src/agent/hosted/runtime-state-resolver.d.ts +6 -4
  96. package/esm/src/agent/hosted/runtime-state-resolver.d.ts.map +1 -1
  97. package/esm/src/agent/hosted/runtime-state-resolver.js +8 -11
  98. package/esm/src/agent/index.d.ts +3 -3
  99. package/esm/src/agent/index.d.ts.map +1 -1
  100. package/esm/src/agent/project/agent-runtime.d.ts.map +1 -1
  101. package/esm/src/agent/project/agent-runtime.js +6 -3
  102. package/esm/src/agent/runtime/agent-definition.d.ts +68 -66
  103. package/esm/src/agent/runtime/agent-definition.d.ts.map +1 -1
  104. package/esm/src/agent/runtime/agent-definition.js +15 -2
  105. package/esm/src/agent/runtime/agent-invocation-contract.d.ts +2 -0
  106. package/esm/src/agent/runtime/agent-invocation-contract.d.ts.map +1 -1
  107. package/esm/src/agent/runtime/agent-markdown-adapter.js +1 -1
  108. package/esm/src/agent/runtime/agent-runtime-step.d.ts +11 -5
  109. package/esm/src/agent/runtime/agent-runtime-step.d.ts.map +1 -1
  110. package/esm/src/agent/runtime/agent-runtime-step.js +23 -6
  111. package/esm/src/agent/runtime/call-context.d.ts +42 -11
  112. package/esm/src/agent/runtime/call-context.d.ts.map +1 -1
  113. package/esm/src/agent/runtime/call-context.js +480 -42
  114. package/esm/src/agent/runtime/chat-stream-handler.d.ts +18 -0
  115. package/esm/src/agent/runtime/chat-stream-handler.d.ts.map +1 -1
  116. package/esm/src/agent/runtime/chat-stream-handler.js +38 -18
  117. package/esm/src/agent/runtime/effective-agent-system.d.ts +13 -4
  118. package/esm/src/agent/runtime/effective-agent-system.d.ts.map +1 -1
  119. package/esm/src/agent/runtime/effective-agent-system.js +29 -0
  120. package/esm/src/agent/runtime/index.d.ts +1 -0
  121. package/esm/src/agent/runtime/index.d.ts.map +1 -1
  122. package/esm/src/agent/runtime/index.js +638 -53
  123. package/esm/src/agent/runtime/load-skill-tool.d.ts +33 -3
  124. package/esm/src/agent/runtime/load-skill-tool.d.ts.map +1 -1
  125. package/esm/src/agent/runtime/load-skill-tool.js +152 -21
  126. package/esm/src/agent/runtime/model-resolution.d.ts +3 -0
  127. package/esm/src/agent/runtime/model-resolution.d.ts.map +1 -1
  128. package/esm/src/agent/runtime/model-resolution.js +14 -0
  129. package/esm/src/agent/runtime/model-transport.d.ts +1 -0
  130. package/esm/src/agent/runtime/model-transport.d.ts.map +1 -1
  131. package/esm/src/agent/runtime/model-transport.js +5 -2
  132. package/esm/src/agent/runtime/run-runtime-context.d.ts +4 -0
  133. package/esm/src/agent/runtime/run-runtime-context.d.ts.map +1 -1
  134. package/esm/src/agent/runtime/run-runtime-context.js +9 -3
  135. package/esm/src/agent/runtime/runtime-tool-config.d.ts +1 -0
  136. package/esm/src/agent/runtime/runtime-tool-config.d.ts.map +1 -1
  137. package/esm/src/agent/runtime/skill-prompt.d.ts +3 -0
  138. package/esm/src/agent/runtime/skill-prompt.d.ts.map +1 -1
  139. package/esm/src/agent/runtime/skill-prompt.js +113 -25
  140. package/esm/src/agent/runtime/streamed-assistant-message.d.ts +22 -2
  141. package/esm/src/agent/runtime/streamed-assistant-message.d.ts.map +1 -1
  142. package/esm/src/agent/runtime/streamed-assistant-message.js +26 -5
  143. package/esm/src/agent/runtime/tool-inventory.d.ts.map +1 -1
  144. package/esm/src/agent/runtime/tool-inventory.js +13 -9
  145. package/esm/src/agent/runtime/tool-result-continuation.d.ts +4 -2
  146. package/esm/src/agent/runtime/tool-result-continuation.d.ts.map +1 -1
  147. package/esm/src/agent/runtime/tool-result-continuation.js +24 -20
  148. package/esm/src/agent/schemas/agent.schema.d.ts +2 -2
  149. package/esm/src/agent/service/runtime.js +1 -1
  150. package/esm/src/agent/streaming/fork-runtime-stream.d.ts +5 -4
  151. package/esm/src/agent/streaming/fork-runtime-stream.d.ts.map +1 -1
  152. package/esm/src/agent/types.d.ts +14 -1
  153. package/esm/src/agent/types.d.ts.map +1 -1
  154. package/esm/src/chat/chat-ui-message-helpers.d.ts.map +1 -1
  155. package/esm/src/chat/chat-ui-message-helpers.js +75 -16
  156. package/esm/src/config/loader.d.ts.map +1 -1
  157. package/esm/src/config/loader.js +37 -1
  158. package/esm/src/errors/catalog/build-errors.d.ts.map +1 -1
  159. package/esm/src/errors/catalog/build-errors.js +14 -0
  160. package/esm/src/errors/error-registry/build.d.ts +2 -0
  161. package/esm/src/errors/error-registry/build.d.ts.map +1 -1
  162. package/esm/src/errors/error-registry/build.js +8 -0
  163. package/esm/src/errors/error-registry/deploy.d.ts +4 -0
  164. package/esm/src/errors/error-registry/deploy.d.ts.map +1 -1
  165. package/esm/src/errors/error-registry/deploy.js +16 -0
  166. package/esm/src/errors/error-registry.d.ts +3 -0
  167. package/esm/src/errors/error-registry.d.ts.map +1 -1
  168. package/esm/src/errors/index.d.ts +2 -1
  169. package/esm/src/errors/index.d.ts.map +1 -1
  170. package/esm/src/errors/index.js +4 -3
  171. package/esm/src/errors/tenant-classification.d.ts +25 -0
  172. package/esm/src/errors/tenant-classification.d.ts.map +1 -0
  173. package/esm/src/errors/tenant-classification.js +61 -0
  174. package/esm/src/extensions/builtin-extensions.d.ts +10 -15
  175. package/esm/src/extensions/builtin-extensions.d.ts.map +1 -1
  176. package/esm/src/extensions/builtin-extensions.js +32 -26
  177. package/esm/src/extensions/deferred-extension.d.ts +4 -4
  178. package/esm/src/extensions/deferred-extension.js +4 -4
  179. package/esm/src/extensions/index.d.ts +1 -0
  180. package/esm/src/extensions/index.d.ts.map +1 -1
  181. package/esm/src/extensions/index.js +1 -0
  182. package/esm/src/html/hydration-script-builder/hydration-runtime.generated.js +1 -1
  183. package/esm/src/integrations/_data.d.ts.map +1 -1
  184. package/esm/src/integrations/_data.js +6 -0
  185. package/esm/src/integrations/schema.d.ts +8 -0
  186. package/esm/src/integrations/schema.d.ts.map +1 -1
  187. package/esm/src/integrations/schema.js +3 -0
  188. package/esm/src/integrations/types.d.ts +2 -0
  189. package/esm/src/integrations/types.d.ts.map +1 -1
  190. package/esm/src/internal-agents/run-stream.d.ts.map +1 -1
  191. package/esm/src/internal-agents/run-stream.js +35 -20
  192. package/esm/src/internal-agents/run-system-prompt.d.ts +7 -2
  193. package/esm/src/internal-agents/run-system-prompt.d.ts.map +1 -1
  194. package/esm/src/internal-agents/run-system-prompt.js +19 -13
  195. package/esm/src/internal-agents/schema.d.ts +2 -0
  196. package/esm/src/internal-agents/schema.d.ts.map +1 -1
  197. package/esm/src/modules/react-loader/ssr-module-loader/loader.d.ts.map +1 -1
  198. package/esm/src/modules/react-loader/ssr-module-loader/loader.js +2 -18
  199. package/esm/src/modules/react-loader/ssr-module-loader/ssr-dependency-validator.d.ts +11 -0
  200. package/esm/src/modules/react-loader/ssr-module-loader/ssr-dependency-validator.d.ts.map +1 -1
  201. package/esm/src/modules/react-loader/ssr-module-loader/ssr-dependency-validator.js +53 -6
  202. package/esm/src/observability/application-error-contract.d.ts +4 -0
  203. package/esm/src/observability/application-error-contract.d.ts.map +1 -1
  204. package/esm/src/observability/application-errors.d.ts.map +1 -1
  205. package/esm/src/observability/application-errors.js +64 -3
  206. package/esm/src/platform/adapters/runtime/deno/http-server.d.ts.map +1 -1
  207. package/esm/src/platform/adapters/runtime/deno/http-server.js +2 -10
  208. package/esm/src/platform/adapters/runtime/shared/request-peer.d.ts +14 -0
  209. package/esm/src/platform/adapters/runtime/shared/request-peer.d.ts.map +1 -1
  210. package/esm/src/platform/adapters/runtime/shared/request-peer.js +82 -0
  211. package/esm/src/platform/compat/http/pinned-fetch.d.ts +1 -1
  212. package/esm/src/provider/runtime-loader/provider-http.d.ts +5 -1
  213. package/esm/src/provider/runtime-loader/provider-http.d.ts.map +1 -1
  214. package/esm/src/provider/runtime-loader/provider-http.js +55 -17
  215. package/esm/src/provider/shared/index.d.ts +1 -0
  216. package/esm/src/provider/shared/index.d.ts.map +1 -1
  217. package/esm/src/provider/shared/index.js +2 -0
  218. package/esm/src/provider/types.d.ts +1 -0
  219. package/esm/src/provider/types.d.ts.map +1 -1
  220. package/esm/src/react/components/ui/adapter/builtin/combobox.d.ts +3 -0
  221. package/esm/src/react/components/ui/adapter/builtin/combobox.d.ts.map +1 -0
  222. package/esm/src/react/components/ui/adapter/builtin/combobox.js +204 -0
  223. package/esm/src/react/components/ui/adapter/builtin/dialog.d.ts +3 -0
  224. package/esm/src/react/components/ui/adapter/builtin/dialog.d.ts.map +1 -0
  225. package/esm/src/react/components/ui/adapter/builtin/dialog.js +20 -0
  226. package/esm/src/react/components/ui/adapter/builtin/drawer.d.ts +3 -0
  227. package/esm/src/react/components/ui/adapter/builtin/drawer.d.ts.map +1 -0
  228. package/esm/src/react/components/ui/adapter/builtin/drawer.js +21 -0
  229. package/esm/src/react/components/ui/adapter/builtin/index.d.ts.map +1 -1
  230. package/esm/src/react/components/ui/adapter/builtin/index.js +10 -0
  231. package/esm/src/react/components/ui/adapter/builtin/popover.d.ts +3 -0
  232. package/esm/src/react/components/ui/adapter/builtin/popover.d.ts.map +1 -0
  233. package/esm/src/react/components/ui/adapter/builtin/popover.js +28 -0
  234. package/esm/src/react/components/ui/adapter/builtin/tabs.d.ts +3 -0
  235. package/esm/src/react/components/ui/adapter/builtin/tabs.d.ts.map +1 -0
  236. package/esm/src/react/components/ui/adapter/builtin/tabs.js +73 -0
  237. package/esm/src/react/components/ui/adapter/context.d.ts.map +1 -1
  238. package/esm/src/react/components/ui/adapter/context.js +10 -0
  239. package/esm/src/react/components/ui/adapter/contract.d.ts +212 -0
  240. package/esm/src/react/components/ui/adapter/contract.d.ts.map +1 -1
  241. package/esm/src/react/components/ui/adapter/token-scope.d.ts +24 -0
  242. package/esm/src/react/components/ui/adapter/token-scope.d.ts.map +1 -0
  243. package/esm/src/react/components/ui/adapter/token-scope.js +26 -0
  244. package/esm/src/react/components/ui/alert-dialog.d.ts +101 -0
  245. package/esm/src/react/components/ui/alert-dialog.d.ts.map +1 -0
  246. package/esm/src/react/components/ui/alert-dialog.js +181 -0
  247. package/esm/src/react/components/ui/aspect-ratio.d.ts +18 -0
  248. package/esm/src/react/components/ui/aspect-ratio.d.ts.map +1 -0
  249. package/esm/src/react/components/ui/aspect-ratio.js +13 -0
  250. package/esm/src/react/components/ui/autocomplete.d.ts +67 -0
  251. package/esm/src/react/components/ui/autocomplete.d.ts.map +1 -0
  252. package/esm/src/react/components/ui/autocomplete.js +59 -0
  253. package/esm/src/react/components/ui/breadcrumb.d.ts +86 -0
  254. package/esm/src/react/components/ui/breadcrumb.d.ts.map +1 -0
  255. package/esm/src/react/components/ui/breadcrumb.js +67 -0
  256. package/esm/src/react/components/ui/calendar.d.ts +40 -0
  257. package/esm/src/react/components/ui/calendar.d.ts.map +1 -0
  258. package/esm/src/react/components/ui/calendar.js +170 -0
  259. package/esm/src/react/components/ui/combobox.d.ts +74 -0
  260. package/esm/src/react/components/ui/combobox.d.ts.map +1 -0
  261. package/esm/src/react/components/ui/combobox.js +100 -0
  262. package/esm/src/react/components/ui/context-menu.d.ts +116 -0
  263. package/esm/src/react/components/ui/context-menu.d.ts.map +1 -0
  264. package/esm/src/react/components/ui/context-menu.js +168 -0
  265. package/esm/src/react/components/ui/date-picker.d.ts +69 -0
  266. package/esm/src/react/components/ui/date-picker.d.ts.map +1 -0
  267. package/esm/src/react/components/ui/date-picker.js +96 -0
  268. package/esm/src/react/components/ui/dialog.d.ts +41 -11
  269. package/esm/src/react/components/ui/dialog.d.ts.map +1 -1
  270. package/esm/src/react/components/ui/dialog.js +47 -28
  271. package/esm/src/react/components/ui/drawer.d.ts +31 -8
  272. package/esm/src/react/components/ui/drawer.d.ts.map +1 -1
  273. package/esm/src/react/components/ui/drawer.js +33 -22
  274. package/esm/src/react/components/ui/dropdown-menu.d.ts.map +1 -1
  275. package/esm/src/react/components/ui/dropdown-menu.js +7 -75
  276. package/esm/src/react/components/ui/field.d.ts +70 -0
  277. package/esm/src/react/components/ui/field.d.ts.map +1 -0
  278. package/esm/src/react/components/ui/field.js +161 -0
  279. package/esm/src/react/components/ui/file-type.d.ts +9 -8
  280. package/esm/src/react/components/ui/file-type.d.ts.map +1 -1
  281. package/esm/src/react/components/ui/file-type.js +8 -8
  282. package/esm/src/react/components/ui/hover-card.d.ts +82 -0
  283. package/esm/src/react/components/ui/hover-card.d.ts.map +1 -0
  284. package/esm/src/react/components/ui/hover-card.js +140 -0
  285. package/esm/src/react/components/ui/index.d.ts +23 -2
  286. package/esm/src/react/components/ui/index.d.ts.map +1 -1
  287. package/esm/src/react/components/ui/index.js +21 -0
  288. package/esm/src/react/components/ui/input-otp.d.ts +37 -0
  289. package/esm/src/react/components/ui/input-otp.d.ts.map +1 -0
  290. package/esm/src/react/components/ui/input-otp.js +42 -0
  291. package/esm/src/react/components/ui/menu-keyboard.d.ts +8 -0
  292. package/esm/src/react/components/ui/menu-keyboard.d.ts.map +1 -0
  293. package/esm/src/react/components/ui/menu-keyboard.js +76 -0
  294. package/esm/src/react/components/ui/menubar.d.ts +98 -0
  295. package/esm/src/react/components/ui/menubar.d.ts.map +1 -0
  296. package/esm/src/react/components/ui/menubar.js +173 -0
  297. package/esm/src/react/components/ui/meter.d.ts +45 -0
  298. package/esm/src/react/components/ui/meter.d.ts.map +1 -0
  299. package/esm/src/react/components/ui/meter.js +59 -0
  300. package/esm/src/react/components/ui/modal-surface.d.ts +7 -1
  301. package/esm/src/react/components/ui/modal-surface.d.ts.map +1 -1
  302. package/esm/src/react/components/ui/modal-surface.js +23 -6
  303. package/esm/src/react/components/ui/navigation-menu.d.ts +101 -0
  304. package/esm/src/react/components/ui/navigation-menu.d.ts.map +1 -0
  305. package/esm/src/react/components/ui/navigation-menu.js +195 -0
  306. package/esm/src/react/components/ui/number-field.d.ts +46 -0
  307. package/esm/src/react/components/ui/number-field.d.ts.map +1 -0
  308. package/esm/src/react/components/ui/number-field.js +121 -0
  309. package/esm/src/react/components/ui/pagination.d.ts +77 -0
  310. package/esm/src/react/components/ui/pagination.d.ts.map +1 -0
  311. package/esm/src/react/components/ui/pagination.js +62 -0
  312. package/esm/src/react/components/ui/popover.d.ts +42 -13
  313. package/esm/src/react/components/ui/popover.d.ts.map +1 -1
  314. package/esm/src/react/components/ui/popover.js +25 -12
  315. package/esm/src/react/components/ui/scroll-area.d.ts +38 -0
  316. package/esm/src/react/components/ui/scroll-area.d.ts.map +1 -0
  317. package/esm/src/react/components/ui/scroll-area.js +35 -0
  318. package/esm/src/react/components/ui/separator.d.ts +20 -0
  319. package/esm/src/react/components/ui/separator.d.ts.map +1 -0
  320. package/esm/src/react/components/ui/separator.js +13 -0
  321. package/esm/src/react/components/ui/slider.d.ts +44 -0
  322. package/esm/src/react/components/ui/slider.d.ts.map +1 -0
  323. package/esm/src/react/components/ui/slider.js +46 -0
  324. package/esm/src/react/components/ui/status.d.ts +6 -5
  325. package/esm/src/react/components/ui/status.d.ts.map +1 -1
  326. package/esm/src/react/components/ui/status.js +4 -4
  327. package/esm/src/react/components/ui/tabs.d.ts +32 -9
  328. package/esm/src/react/components/ui/tabs.d.ts.map +1 -1
  329. package/esm/src/react/components/ui/tabs.js +46 -22
  330. package/esm/src/react/components/ui/toggle.d.ts +26 -0
  331. package/esm/src/react/components/ui/toggle.d.ts.map +1 -0
  332. package/esm/src/react/components/ui/toggle.js +29 -0
  333. package/esm/src/react/components/ui/use-isomorphic-layout-effect.d.ts +2 -1
  334. package/esm/src/react/components/ui/use-isomorphic-layout-effect.d.ts.map +1 -1
  335. package/esm/src/react/components/ui/use-isomorphic-layout-effect.js +6 -3
  336. package/esm/src/rendering/chunk-optimizer/source-imports.d.ts.map +1 -1
  337. package/esm/src/rendering/chunk-optimizer/source-imports.js +4 -114
  338. package/esm/src/rendering/orchestrator/css-candidate-manifest.d.ts.map +1 -1
  339. package/esm/src/rendering/orchestrator/css-candidate-manifest.js +30 -1
  340. package/esm/src/rendering/orchestrator/module-loader/build-failure.d.ts +10 -0
  341. package/esm/src/rendering/orchestrator/module-loader/build-failure.d.ts.map +1 -1
  342. package/esm/src/rendering/orchestrator/module-loader/build-failure.js +50 -3
  343. package/esm/src/rendering/orchestrator/module-loader/dependency-resolver.d.ts +2 -0
  344. package/esm/src/rendering/orchestrator/module-loader/dependency-resolver.d.ts.map +1 -1
  345. package/esm/src/rendering/orchestrator/module-loader/dependency-resolver.js +21 -6
  346. package/esm/src/rendering/orchestrator/module-loader/index.d.ts +2 -1
  347. package/esm/src/rendering/orchestrator/module-loader/index.d.ts.map +1 -1
  348. package/esm/src/rendering/orchestrator/module-loader/index.js +190 -7
  349. package/esm/src/rendering/orchestrator/module-loader/module-persistence.d.ts +4 -0
  350. package/esm/src/rendering/orchestrator/module-loader/module-persistence.d.ts.map +1 -1
  351. package/esm/src/rendering/orchestrator/module-loader/module-persistence.js +374 -7
  352. package/esm/src/rendering/orchestrator/pipeline.d.ts.map +1 -1
  353. package/esm/src/rendering/orchestrator/pipeline.js +12 -1
  354. package/esm/src/runs/runs-client.d.ts +2 -4
  355. package/esm/src/runs/runs-client.d.ts.map +1 -1
  356. package/esm/src/runs/schemas.d.ts +18 -8
  357. package/esm/src/runs/schemas.d.ts.map +1 -1
  358. package/esm/src/runs/schemas.js +26 -0
  359. package/esm/src/runtime/model-call-context.d.ts +6 -1
  360. package/esm/src/runtime/model-call-context.d.ts.map +1 -1
  361. package/esm/src/runtime/runtime-bridge.d.ts.map +1 -1
  362. package/esm/src/runtime/runtime-bridge.js +133 -15
  363. package/esm/src/schedule/factory.d.ts +8 -2
  364. package/esm/src/schedule/factory.d.ts.map +1 -1
  365. package/esm/src/schedule/factory.js +0 -8
  366. package/esm/src/schedule/index.d.ts +10 -1
  367. package/esm/src/schedule/index.d.ts.map +1 -1
  368. package/esm/src/schedule/index.js +9 -0
  369. package/esm/src/schedule/types.d.ts +30 -11
  370. package/esm/src/schedule/types.d.ts.map +1 -1
  371. package/esm/src/schedule/validation.d.ts +17 -0
  372. package/esm/src/schedule/validation.d.ts.map +1 -1
  373. package/esm/src/schedule/validation.js +93 -5
  374. package/esm/src/security/sandbox/worker-pool.d.ts.map +1 -1
  375. package/esm/src/security/sandbox/worker-pool.js +6 -1
  376. package/esm/src/server/bootstrap.d.ts.map +1 -1
  377. package/esm/src/server/bootstrap.js +6 -0
  378. package/esm/src/server/dev-server/index.d.ts +1 -1
  379. package/esm/src/server/dev-server/index.d.ts.map +1 -1
  380. package/esm/src/server/dev-server/server.d.ts +7 -3
  381. package/esm/src/server/dev-server/server.d.ts.map +1 -1
  382. package/esm/src/server/dev-server/server.js +12 -3
  383. package/esm/src/server/dev-server/types.d.ts +7 -1
  384. package/esm/src/server/dev-server/types.d.ts.map +1 -1
  385. package/esm/src/server/dev-server.d.ts +1 -1
  386. package/esm/src/server/dev-server.d.ts.map +1 -1
  387. package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
  388. package/esm/src/server/handlers/dev/framework-candidates.generated.js +2509 -34
  389. package/esm/src/server/handlers/dev/projects/index.d.ts.map +1 -1
  390. package/esm/src/server/handlers/dev/projects/index.js +3 -0
  391. package/esm/src/server/handlers/request/agent-stream.handler.d.ts.map +1 -1
  392. package/esm/src/server/handlers/request/agent-stream.handler.js +29 -24
  393. package/esm/src/server/index.d.ts +3 -3
  394. package/esm/src/server/index.d.ts.map +1 -1
  395. package/esm/src/server/index.js +10 -5
  396. package/esm/src/server/node-handler.d.ts.map +1 -1
  397. package/esm/src/server/node-handler.js +4 -1
  398. package/esm/src/server/production-server.d.ts.map +1 -1
  399. package/esm/src/server/production-server.js +2 -1
  400. package/esm/src/server/project-env/cache.d.ts +17 -0
  401. package/esm/src/server/project-env/cache.d.ts.map +1 -1
  402. package/esm/src/server/project-env/cache.js +78 -2
  403. package/esm/src/server/project-env/fetcher.d.ts.map +1 -1
  404. package/esm/src/server/project-env/fetcher.js +24 -14
  405. package/esm/src/server/project-env/index.d.ts +1 -1
  406. package/esm/src/server/project-env/index.d.ts.map +1 -1
  407. package/esm/src/server/project-env/index.js +1 -1
  408. package/esm/src/server/project-env/internal-authorization.d.ts +7 -0
  409. package/esm/src/server/project-env/internal-authorization.d.ts.map +1 -0
  410. package/esm/src/server/project-env/internal-authorization.js +32 -0
  411. package/esm/src/server/runtime-handler/index.d.ts.map +1 -1
  412. package/esm/src/server/runtime-handler/index.js +1 -1
  413. package/esm/src/server/runtime-handler/projects-handler.d.ts +1 -1
  414. package/esm/src/server/runtime-handler/projects-handler.d.ts.map +1 -1
  415. package/esm/src/server/runtime-handler/projects-handler.js +4 -2
  416. package/esm/src/transforms/esm/http-bundler.d.ts.map +1 -1
  417. package/esm/src/transforms/esm/http-bundler.js +6 -5
  418. package/esm/src/transforms/esm/http-cache-helpers.d.ts +11 -0
  419. package/esm/src/transforms/esm/http-cache-helpers.d.ts.map +1 -1
  420. package/esm/src/transforms/esm/http-cache-helpers.js +35 -0
  421. package/esm/src/transforms/esm/http-cache.d.ts.map +1 -1
  422. package/esm/src/transforms/esm/http-cache.js +16 -10
  423. package/esm/src/transforms/esm/specifier-resolver.d.ts.map +1 -1
  424. package/esm/src/transforms/esm/specifier-resolver.js +87 -7
  425. package/esm/src/transforms/import-rewriter/strategies/alias-strategy.d.ts +2 -0
  426. package/esm/src/transforms/import-rewriter/strategies/alias-strategy.d.ts.map +1 -1
  427. package/esm/src/transforms/import-rewriter/strategies/alias-strategy.js +11 -6
  428. package/esm/src/transforms/md/compiler/md-compiler.d.ts.map +1 -1
  429. package/esm/src/transforms/md/compiler/md-compiler.js +12 -5
  430. package/esm/src/transforms/mdx/compiler/frontmatter-extractor.d.ts +2 -0
  431. package/esm/src/transforms/mdx/compiler/frontmatter-extractor.d.ts.map +1 -1
  432. package/esm/src/transforms/mdx/compiler/frontmatter-extractor.js +33 -1
  433. package/esm/src/transforms/mdx/compiler/mdx-compiler.d.ts.map +1 -1
  434. package/esm/src/transforms/mdx/compiler/mdx-compiler.js +46 -7
  435. package/esm/src/transforms/mdx/esm-module-loader/cache/index.d.ts.map +1 -1
  436. package/esm/src/transforms/mdx/esm-module-loader/cache/index.js +8 -2
  437. package/esm/src/transforms/mdx/esm-module-loader/cache-format.d.ts +1 -0
  438. package/esm/src/transforms/mdx/esm-module-loader/cache-format.d.ts.map +1 -1
  439. package/esm/src/transforms/mdx/esm-module-loader/cache-format.js +3 -0
  440. package/esm/src/transforms/mdx/esm-module-loader/loader-helpers.d.ts +4 -0
  441. package/esm/src/transforms/mdx/esm-module-loader/loader-helpers.d.ts.map +1 -1
  442. package/esm/src/transforms/mdx/esm-module-loader/loader-helpers.js +44 -8
  443. package/esm/src/transforms/mdx/esm-module-loader/missing-module.d.ts +2 -0
  444. package/esm/src/transforms/mdx/esm-module-loader/missing-module.d.ts.map +1 -1
  445. package/esm/src/transforms/mdx/esm-module-loader/missing-module.js +4 -0
  446. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fallback.d.ts.map +1 -1
  447. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fallback.js +5 -1
  448. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fetcher.d.ts +2 -0
  449. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fetcher.d.ts.map +1 -1
  450. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/http-fetcher.js +50 -11
  451. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/nested-imports.d.ts +24 -12
  452. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/nested-imports.d.ts.map +1 -1
  453. package/esm/src/transforms/mdx/esm-module-loader/module-fetcher/nested-imports.js +201 -18
  454. package/esm/src/transforms/mdx/esm-module-loader/types.d.ts +5 -0
  455. package/esm/src/transforms/mdx/esm-module-loader/types.d.ts.map +1 -1
  456. package/esm/src/transforms/mdx/esm-module-loader/utils/source-spans.d.ts +22 -2
  457. package/esm/src/transforms/mdx/esm-module-loader/utils/source-spans.d.ts.map +1 -1
  458. package/esm/src/transforms/mdx/esm-module-loader/utils/source-spans.js +2080 -129
  459. package/esm/src/transforms/mdx/esm-module-loader/utils/stub-module.d.ts +11 -1
  460. package/esm/src/transforms/mdx/esm-module-loader/utils/stub-module.d.ts.map +1 -1
  461. package/esm/src/transforms/mdx/esm-module-loader/utils/stub-module.js +32 -15
  462. package/esm/src/transforms/pipeline/stages/compile.d.ts.map +1 -1
  463. package/esm/src/transforms/pipeline/stages/compile.js +44 -0
  464. package/esm/src/transforms/shared/specifier-suffix.d.ts +25 -0
  465. package/esm/src/transforms/shared/specifier-suffix.d.ts.map +1 -0
  466. package/esm/src/transforms/shared/specifier-suffix.js +43 -0
  467. package/esm/src/trigger/index.d.ts +2 -2
  468. package/esm/src/trigger/index.d.ts.map +1 -1
  469. package/esm/src/trigger/index.js +1 -1
  470. package/esm/src/trigger/local-runner.d.ts +2 -2
  471. package/esm/src/trigger/local-runner.d.ts.map +1 -1
  472. package/esm/src/trigger/local-runner.js +11 -4
  473. package/esm/src/trigger/target.d.ts +97 -5
  474. package/esm/src/trigger/target.d.ts.map +1 -1
  475. package/esm/src/trigger/target.js +175 -5
  476. package/esm/src/utils/version-constant.d.ts +1 -1
  477. package/esm/src/utils/version-constant.js +1 -1
  478. package/esm/src/webhook/types.d.ts +21 -6
  479. package/esm/src/webhook/types.d.ts.map +1 -1
  480. package/esm/src/webhook/validation.d.ts.map +1 -1
  481. package/esm/src/webhook/validation.js +27 -39
  482. package/esm/templates/index.d.ts +1 -1
  483. package/esm/templates/index.d.ts.map +1 -1
  484. package/esm/templates/loader.d.ts +6 -6
  485. package/esm/templates/loader.d.ts.map +1 -1
  486. package/esm/templates/loader.js +34 -18
  487. package/esm/templates/manifest.generated.d.ts +3 -0
  488. package/esm/templates/manifest.generated.d.ts.map +1 -0
  489. package/esm/templates/manifest.generated.js +2 -0
  490. package/package.json +8 -8
  491. package/esm/templates/manifest.d.ts +0 -664
  492. package/esm/templates/manifest.d.ts.map +0 -1
  493. package/esm/templates/manifest.js +0 -662
@@ -0,0 +1,77 @@
1
+ /**
2
+ * Pagination: a non-interactive compound for paging navigation. Structure is
3
+ * modelled on shadcn's pagination (a landmark `<nav>` wrapping a `<ul>` of
4
+ * `<li>` links) and restyled with the veryfront theme tokens. The active page is
5
+ * a {@link PaginationLink} with `isActive` (→ `aria-current="page"`);
6
+ * {@link PaginationPrevious}/{@link PaginationNext} are labelled link variants and
7
+ * {@link PaginationEllipsis} marks a gap in the page sequence.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * <Pagination>
12
+ * <PaginationContent>
13
+ * <PaginationItem><PaginationPrevious href="?page=1" /></PaginationItem>
14
+ * <PaginationItem><PaginationLink href="?page=1">1</PaginationLink></PaginationItem>
15
+ * <PaginationItem><PaginationLink href="?page=2" isActive>2</PaginationLink></PaginationItem>
16
+ * <PaginationItem><PaginationLink href="?page=3">3</PaginationLink></PaginationItem>
17
+ * <PaginationItem><PaginationEllipsis /></PaginationItem>
18
+ * <PaginationItem><PaginationNext href="?page=3" /></PaginationItem>
19
+ * </PaginationContent>
20
+ * </Pagination>
21
+ * ```
22
+ *
23
+ * @module react/components/ui/pagination
24
+ */
25
+ import * as React from "react";
26
+ /** Props accepted by `<Pagination>`. */
27
+ export interface PaginationProps extends React.HTMLAttributes<HTMLElement> {
28
+ /** React 19: ref is a regular prop. */
29
+ ref?: React.Ref<HTMLElement>;
30
+ }
31
+ /** The paging landmark: a centered `role="navigation"` region. */
32
+ export declare function Pagination({ className, ref, ...props }: PaginationProps): React.ReactElement;
33
+ /** Props accepted by `<PaginationContent>`. */
34
+ export interface PaginationContentProps extends React.HTMLAttributes<HTMLUListElement> {
35
+ /** React 19: ref is a regular prop. */
36
+ ref?: React.Ref<HTMLUListElement>;
37
+ }
38
+ /** The list of page items: a horizontal `<ul>`. */
39
+ export declare function PaginationContent({ className, ref, ...props }: PaginationContentProps): React.ReactElement;
40
+ /** Props accepted by `<PaginationItem>`. */
41
+ export interface PaginationItemProps extends React.HTMLAttributes<HTMLLIElement> {
42
+ /** React 19: ref is a regular prop. */
43
+ ref?: React.Ref<HTMLLIElement>;
44
+ }
45
+ /** A single page slot: an `<li>` wrapping a link or ellipsis. */
46
+ export declare function PaginationItem({ className, ref, ...props }: PaginationItemProps): React.ReactElement;
47
+ /** Props accepted by `<PaginationLink>`. */
48
+ export interface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
49
+ /** Marks this link as the current page: sets `aria-current="page"` and active styling. @default false */
50
+ isActive?: boolean;
51
+ /** React 19: ref is a regular prop. */
52
+ ref?: React.Ref<HTMLAnchorElement>;
53
+ }
54
+ /** A page link: highlighted when `isActive`, otherwise hover-highlighted. */
55
+ export declare function PaginationLink({ className, isActive, ref, ...props }: PaginationLinkProps): React.ReactElement;
56
+ /** Props accepted by `<PaginationPrevious>`. */
57
+ export interface PaginationPreviousProps extends PaginationLinkProps {
58
+ /** React 19: ref is a regular prop. */
59
+ ref?: React.Ref<HTMLAnchorElement>;
60
+ }
61
+ /** A "‹ Previous" link: a labelled {@link PaginationLink} variant. */
62
+ export declare function PaginationPrevious({ className, children, ref, ...props }: PaginationPreviousProps): React.ReactElement;
63
+ /** Props accepted by `<PaginationNext>`. */
64
+ export interface PaginationNextProps extends PaginationLinkProps {
65
+ /** React 19: ref is a regular prop. */
66
+ ref?: React.Ref<HTMLAnchorElement>;
67
+ }
68
+ /** A "Next ›" link: a labelled {@link PaginationLink} variant. */
69
+ export declare function PaginationNext({ className, children, ref, ...props }: PaginationNextProps): React.ReactElement;
70
+ /** Props accepted by `<PaginationEllipsis>`. */
71
+ export interface PaginationEllipsisProps extends React.HTMLAttributes<HTMLSpanElement> {
72
+ /** React 19: ref is a regular prop. */
73
+ ref?: React.Ref<HTMLSpanElement>;
74
+ }
75
+ /** A non-interactive gap marker between page ranges. */
76
+ export declare function PaginationEllipsis({ className, ref, ...props }: PaginationEllipsisProps): React.ReactElement;
77
+ //# sourceMappingURL=pagination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../../src/src/react/components/ui/pagination.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;A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AE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAClE,KAAK,CAAC,YAAY,CAmBpB;AAED,gDAAgD;AAChD,MAAM,WAAW,uBAAwB,SAAQ,mBAAmB;IAClE,uCAAuC;IACvC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;CACpC;AAED,sEAAsE;AACtE,wBAAgB,kBAAkB,CAChC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,GAC9D,KAAK,CAAC,YAAY,CAiBpB;AAED,4CAA4C;AAC5C,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC9D,uCAAuC;IACvC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;CACpC;AAED,kEAAkE;AAClE,wBAAgB,cAAc,CAC5B,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAC1D,KAAK,CAAC,YAAY,CAiBpB;AAED,gDAAgD;AAChD,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IACpF,uCAAuC;IACvC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;CAClC;AAED,wDAAwD;AACxD,wBAAgB,kBAAkB,CAChC,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,GACpD,KAAK,CAAC,YAAY,CAgBpB"}
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Pagination: a non-interactive compound for paging navigation. Structure is
3
+ * modelled on shadcn's pagination (a landmark `<nav>` wrapping a `<ul>` of
4
+ * `<li>` links) and restyled with the veryfront theme tokens. The active page is
5
+ * a {@link PaginationLink} with `isActive` (→ `aria-current="page"`);
6
+ * {@link PaginationPrevious}/{@link PaginationNext} are labelled link variants and
7
+ * {@link PaginationEllipsis} marks a gap in the page sequence.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * <Pagination>
12
+ * <PaginationContent>
13
+ * <PaginationItem><PaginationPrevious href="?page=1" /></PaginationItem>
14
+ * <PaginationItem><PaginationLink href="?page=1">1</PaginationLink></PaginationItem>
15
+ * <PaginationItem><PaginationLink href="?page=2" isActive>2</PaginationLink></PaginationItem>
16
+ * <PaginationItem><PaginationLink href="?page=3">3</PaginationLink></PaginationItem>
17
+ * <PaginationItem><PaginationEllipsis /></PaginationItem>
18
+ * <PaginationItem><PaginationNext href="?page=3" /></PaginationItem>
19
+ * </PaginationContent>
20
+ * </Pagination>
21
+ * ```
22
+ *
23
+ * @module react/components/ui/pagination
24
+ */
25
+ import * as React from "react";
26
+ import { cx as cn } from "./cva.js";
27
+ /** The paging landmark: a centered `role="navigation"` region. */
28
+ export function Pagination({ className, ref, ...props }) {
29
+ return (React.createElement("nav", { ref: ref, role: "navigation", "aria-label": "pagination", "data-slot": "pagination", className: cn("mx-auto flex w-full justify-center", className), ...props }));
30
+ }
31
+ /** The list of page items: a horizontal `<ul>`. */
32
+ export function PaginationContent({ className, ref, ...props }) {
33
+ return (React.createElement("ul", { ref: ref, "data-slot": "pagination-content", className: cn("flex items-center gap-1", className), ...props }));
34
+ }
35
+ /** A single page slot: an `<li>` wrapping a link or ellipsis. */
36
+ export function PaginationItem({ className, ref, ...props }) {
37
+ return React.createElement("li", { ref: ref, "data-slot": "pagination-item", className: className, ...props });
38
+ }
39
+ /** A page link: highlighted when `isActive`, otherwise hover-highlighted. */
40
+ export function PaginationLink({ className, isActive = false, ref, ...props }) {
41
+ return (React.createElement("a", { ref: ref, "aria-current": isActive ? "page" : undefined, "data-slot": "pagination-link", "data-active": isActive ? "" : undefined, className: cn("inline-flex h-9 min-w-9 items-center justify-center gap-1 rounded-md px-2 text-sm font-medium", "transition-[background-color,color] duration-150 ease-in", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--background)]", isActive
42
+ ? "bg-[var(--accent)] text-[var(--accent-foreground)]"
43
+ : "text-[var(--foreground)] hover:bg-[var(--accent)] hover:text-[var(--accent-foreground)]", className), ...props }));
44
+ }
45
+ /** A "‹ Previous" link: a labelled {@link PaginationLink} variant. */
46
+ export function PaginationPrevious({ className, children, ref, ...props }) {
47
+ return (React.createElement(PaginationLink, { ref: ref, "aria-label": "Go to previous page", "data-slot": "pagination-previous", className: cn("px-2.5", className), ...props }, children ?? (React.createElement(React.Fragment, null,
48
+ React.createElement("span", { "aria-hidden": true }, "\u2039"),
49
+ React.createElement("span", null, "Previous")))));
50
+ }
51
+ /** A "Next ›" link: a labelled {@link PaginationLink} variant. */
52
+ export function PaginationNext({ className, children, ref, ...props }) {
53
+ return (React.createElement(PaginationLink, { ref: ref, "aria-label": "Go to next page", "data-slot": "pagination-next", className: cn("px-2.5", className), ...props }, children ?? (React.createElement(React.Fragment, null,
54
+ React.createElement("span", null, "Next"),
55
+ React.createElement("span", { "aria-hidden": true }, "\u203A")))));
56
+ }
57
+ /** A non-interactive gap marker between page ranges. */
58
+ export function PaginationEllipsis({ className, ref, ...props }) {
59
+ return (React.createElement("span", { ref: ref, role: "presentation", "data-slot": "pagination-ellipsis", className: cn("flex h-9 w-9 items-center justify-center text-sm text-[var(--muted-foreground)]", className), ...props },
60
+ React.createElement("span", { "aria-hidden": true }, "\u2026"),
61
+ React.createElement("span", { className: "sr-only" }, "More pages")));
62
+ }
@@ -1,39 +1,68 @@
1
1
  /**
2
- * Dependency-free anchored popover with the Studio part API used by Veryfront.
3
- * It provides stable trigger/content ARIA wiring, initial focus, trigger focus
4
- * restoration, collision-aware positioning, and outside/Escape dismissal.
2
+ * Popover - BASIC fork of @radix-ui/react-popover with the same API shape
3
+ * (Root / Trigger / Content + Title / Body / Footer / Actions section parts).
4
+ * Classes are ported 1:1 from Studio's `Popover` (tokens remapped to
5
+ * veryfront's `[var(--token)]` vocabulary). Anchored below the trigger;
6
+ * dismisses on outside-click and `Escape`. A11y work tracked in
7
+ * anchored-surface.tsx.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * import { Button, Popover, PopoverContent, PopoverTitle, PopoverTrigger } from "veryfront/ui";
12
+ *
13
+ * <Popover>
14
+ * <PopoverTrigger asChild><Button>Filters</Button></PopoverTrigger>
15
+ * <PopoverContent><PopoverTitle>Filters</PopoverTitle></PopoverContent>
16
+ * </Popover>;
17
+ * ```
5
18
  *
6
19
  * @module react/components/ui/popover
7
20
  */
8
21
  import * as React from "react";
9
- import { type AnchoredSlottedTriggerProps, type AnchoredTriggerPublicProps } from "./anchored-surface.js";
10
22
  /** Props accepted by `<Popover>`. */
11
23
  export interface PopoverProps {
24
+ /** The trigger and content parts to compose. */
12
25
  children: React.ReactNode;
26
+ /** Controlled open state (pair with `onOpenChange`). */
13
27
  open?: boolean;
28
+ /** Initial open state when uncontrolled. */
14
29
  defaultOpen?: boolean;
30
+ /** Fires when the open state changes. */
15
31
  onOpenChange?: (open: boolean) => void;
16
32
  }
17
- /** Popover root owns open state and the positioning anchor. */
33
+ /** Popover root - owns open state and the positioning anchor. */
18
34
  export declare function Popover(props: PopoverProps): React.ReactElement;
35
+ /** Props accepted by `<PopoverTrigger>`. */
36
+ export interface PopoverTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
37
+ /** Merge trigger behaviour onto the child element instead of a `<button>`. @default false */
38
+ asChild?: boolean;
39
+ /** React 19: ref is a regular prop. */
40
+ ref?: React.Ref<HTMLButtonElement>;
41
+ }
19
42
  /**
20
- * Trigger toggles the popover; the positioning anchor. `asChild` merges onto
21
- * the child element, which must forward `ref` to its DOM node.
43
+ * Literal slotted trigger contract with an element-specific `ref` - for
44
+ * `asChild` triggers whose child is not a `<button>` (e.g. an `<a>`), so the
45
+ * consumer's ref keeps its precise element type.
46
+ */
47
+ export type PopoverSlottedTriggerProps<T extends HTMLElement = HTMLElement> = Omit<PopoverTriggerProps, "ref"> & {
48
+ ref?: React.Ref<T>;
49
+ };
50
+ /**
51
+ * Trigger - toggles the popover; the positioning anchor. `asChild` merges onto
52
+ * the child element, which must forward `ref` to its DOM node. The generic
53
+ * overload lets an `asChild` trigger carry an element-specific ref (e.g. an
54
+ * `<a>`); `aria-haspopup` is supplied by the adapter's trigger.
22
55
  */
23
- export interface PopoverTriggerProps extends AnchoredTriggerPublicProps {
24
- }
25
- /** Literal slotted trigger contract with an element-specific ref. */
26
- export type PopoverSlottedTriggerProps<T extends HTMLElement = HTMLElement> = AnchoredSlottedTriggerProps<T>;
27
56
  export declare function PopoverTrigger<T extends HTMLElement = HTMLElement>(props: PopoverSlottedTriggerProps<T>): React.ReactElement;
28
57
  export declare function PopoverTrigger(props: PopoverTriggerProps): React.ReactElement;
29
58
  /** Props accepted by `<PopoverContent>`. */
30
59
  export interface PopoverContentProps extends React.HTMLAttributes<HTMLDivElement> {
31
60
  /** Horizontal alignment relative to the trigger. */
32
61
  align?: "start" | "end";
33
- /** Consumer ref for the rendered popover surface. */
62
+ /** Consumer ref for the surface node (forwarded through the adapter). */
34
63
  ref?: React.Ref<HTMLDivElement>;
35
64
  }
36
- /** Popover surface rendered below the trigger while open. */
65
+ /** Popover surface - rendered below the trigger while open. */
37
66
  export declare function PopoverContent({ children, className, align, ...props }: PopoverContentProps): React.ReactElement | null;
38
67
  /** Primary heading slot at the top of a popover (Studio: Heading level 4). */
39
68
  export declare function PopoverTitle({ className, children, ...props }: React.HTMLAttributes<HTMLHeadingElement>): React.ReactElement;
@@ -1 +1 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../src/src/react/components/ui/popover.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAEhC,MAAM,uBAAuB,CAAC;AAO/B,qCAAqC;AACrC,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,KAAK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KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,YAAY,CAY/D;AAED,0EAA0E;AAC1E,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAO3D;AAED,iEAAiE;AACjE,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CAWpF;AAED,yDAAyD;AACzD,wBAAgB,cAAc,CAAC,EAC7B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAO3D"}
@@ -1,26 +1,39 @@
1
1
  /**
2
- * Dependency-free anchored popover with the Studio part API used by Veryfront.
3
- * It provides stable trigger/content ARIA wiring, initial focus, trigger focus
4
- * restoration, collision-aware positioning, and outside/Escape dismissal.
2
+ * Popover - BASIC fork of @radix-ui/react-popover with the same API shape
3
+ * (Root / Trigger / Content + Title / Body / Footer / Actions section parts).
4
+ * Classes are ported 1:1 from Studio's `Popover` (tokens remapped to
5
+ * veryfront's `[var(--token)]` vocabulary). Anchored below the trigger;
6
+ * dismisses on outside-click and `Escape`. A11y work tracked in
7
+ * anchored-surface.tsx.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * import { Button, Popover, PopoverContent, PopoverTitle, PopoverTrigger } from "veryfront/ui";
12
+ *
13
+ * <Popover>
14
+ * <PopoverTrigger asChild><Button>Filters</Button></PopoverTrigger>
15
+ * <PopoverContent><PopoverTitle>Filters</PopoverTitle></PopoverContent>
16
+ * </Popover>;
17
+ * ```
5
18
  *
6
19
  * @module react/components/ui/popover
7
20
  */
8
21
  import * as React from "react";
9
22
  import { cx as cn } from "./cva.js";
10
- import { createAnchoredSurfaceParts, } from "./anchored-surface.js";
11
- // Per-skin context + machinery -- distinct from DropdownMenu's instance so
12
- // a DropdownMenu nested inside a Popover cannot accidentally close the Popover.
13
- const { AnchoredRoot: _Root, AnchoredTrigger: _Trigger, AnchoredContent: _Content } = createAnchoredSurfaceParts();
14
- /** Popover root — owns open state and the positioning anchor. */
23
+ import { useAdapter } from "./adapter/context.js";
24
+ /** Popover root - owns open state and the positioning anchor. */
15
25
  export function Popover(props) {
16
- return React.createElement(_Root, { ...props });
26
+ const { popover } = useAdapter();
27
+ return React.createElement(popover.Root, { ...props });
17
28
  }
18
29
  export function PopoverTrigger(props) {
19
- return React.createElement(_Trigger, { ...props, haspopup: "dialog" });
30
+ const { popover } = useAdapter();
31
+ return React.createElement(popover.Trigger, { ...props });
20
32
  }
21
- /** Popover surface rendered below the trigger while open. */
33
+ /** Popover surface - rendered below the trigger while open. */
22
34
  export function PopoverContent({ children, className, align = "end", ...props }) {
23
- return (React.createElement(_Content, { ...props, role: "dialog", align: align, initialFocus: true, className: cn("min-w-[220px]", className) }, children));
35
+ const { popover } = useAdapter();
36
+ return (React.createElement(popover.Content, { role: "dialog", align: align, initialFocus: true, className: cn("min-w-[220px]", className), ...props }, children));
24
37
  }
25
38
  /** Primary heading slot at the top of a popover (Studio: Heading level 4). */
26
39
  export function PopoverTitle({ className, children, ...props }) {
@@ -0,0 +1,38 @@
1
+ /**
2
+ * ScrollArea: a styled native-overflow scroll container. The builtin engine uses
3
+ * the platform's own scrolling (no custom scrollbar JS): a single `<div>` that
4
+ * clips and scrolls its `children`, dressed with a tasteful thin scrollbar drawn
5
+ * from the veryfront theme tokens. Pick the scroll axis with `orientation`.
6
+ *
7
+ * @example
8
+ * <ScrollArea orientation="vertical" className="h-48 w-64">
9
+ * <p>…a lot of tall content…</p>
10
+ * </ScrollArea>
11
+ *
12
+ * @module react/components/ui/scroll-area
13
+ */
14
+ import * as React from "react";
15
+ import { type VariantProps } from "./cva.js";
16
+ declare const scrollAreaVariants: (props?: ({
17
+ orientation?: "both" | "horizontal" | "vertical" | null | undefined;
18
+ } & {
19
+ class?: import("../../../utils/clsx.js").ClassValue;
20
+ className?: import("../../../utils/clsx.js").ClassValue;
21
+ }) | undefined) => string;
22
+ /** Props accepted by `<ScrollArea>`. */
23
+ export interface ScrollAreaProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof scrollAreaVariants> {
24
+ /**
25
+ * Which axis scrolls: `vertical` clips the x-axis and scrolls y, `horizontal`
26
+ * clips y and scrolls x, `both` scrolls either way.
27
+ * @default "vertical"
28
+ */
29
+ orientation?: "vertical" | "horizontal" | "both";
30
+ /** The scrollable content. */
31
+ children?: React.ReactNode;
32
+ /** React 19: ref is a regular prop. */
33
+ ref?: React.Ref<HTMLDivElement>;
34
+ }
35
+ /** A styled, native-overflow scroll container. */
36
+ export declare function ScrollArea({ orientation, className, children, ref, ...props }: ScrollAreaProps): React.ReactElement;
37
+ export { scrollAreaVariants };
38
+ //# sourceMappingURL=scroll-area.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../../../src/src/react/components/ui/scroll-area.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAGlD,QAAA,MAAM,kBAAkB;;;;;yBAqBvB,CAAC;AAEF,wCAAwC;AACxC,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACrF;;;;OAIG;IACH,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;IACjD,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,uCAAuC;IACvC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACjC;AAED,kDAAkD;AAClD,wBAAgB,UAAU,CAAC,EACzB,WAAwB,EACxB,SAAS,EACT,QAAQ,EACR,GAAG,EACH,GAAG,KAAK,EACT,EAAE,eAAe,GAAG,KAAK,CAAC,YAAY,CAWtC;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * ScrollArea: a styled native-overflow scroll container. The builtin engine uses
3
+ * the platform's own scrolling (no custom scrollbar JS): a single `<div>` that
4
+ * clips and scrolls its `children`, dressed with a tasteful thin scrollbar drawn
5
+ * from the veryfront theme tokens. Pick the scroll axis with `orientation`.
6
+ *
7
+ * @example
8
+ * <ScrollArea orientation="vertical" className="h-48 w-64">
9
+ * <p>…a lot of tall content…</p>
10
+ * </ScrollArea>
11
+ *
12
+ * @module react/components/ui/scroll-area
13
+ */
14
+ import * as React from "react";
15
+ import { cva } from "./cva.js";
16
+ import { cx as cn } from "./cva.js";
17
+ const scrollAreaVariants = cva(
18
+ // Thin, unobtrusive scrollbar drawn with theme tokens; native overflow does the work.
19
+ cn("relative rounded-md [scrollbar-width:thin] [scrollbar-color:var(--border)_transparent]", "[&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar]:h-2", "[&::-webkit-scrollbar-track]:bg-transparent", "[&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-[var(--border)]", "[&::-webkit-scrollbar-thumb:hover]:bg-[var(--muted-foreground)]"), {
20
+ variants: {
21
+ orientation: {
22
+ vertical: "overflow-y-auto overflow-x-hidden",
23
+ horizontal: "overflow-x-auto overflow-y-hidden",
24
+ both: "overflow-auto",
25
+ },
26
+ },
27
+ defaultVariants: {
28
+ orientation: "vertical",
29
+ },
30
+ });
31
+ /** A styled, native-overflow scroll container. */
32
+ export function ScrollArea({ orientation = "vertical", className, children, ref, ...props }) {
33
+ return (React.createElement("div", { ref: ref, "data-orientation": orientation, className: cn(scrollAreaVariants({ orientation }), className), ...props }, children));
34
+ }
35
+ export { scrollAreaVariants };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Separator - a thin divider rule. Pure-visual/CSS primitive (no engine needed):
3
+ * decorative by default (`role="none"`, hidden from a11y); pass `decorative={false}`
4
+ * for a semantic `role="separator"` with `aria-orientation`.
5
+ *
6
+ * @module react/components/ui/separator
7
+ */
8
+ import * as React from "react";
9
+ /** Props accepted by `<Separator>`. */
10
+ export interface SeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
11
+ /** Rule direction. @default "horizontal" */
12
+ orientation?: "horizontal" | "vertical";
13
+ /** Decorative (hidden from a11y). Set `false` for a semantic `role="separator"`. @default true */
14
+ decorative?: boolean;
15
+ /** React 19: ref is a regular prop. */
16
+ ref?: React.Ref<HTMLDivElement>;
17
+ }
18
+ /** A horizontal (default) or vertical divider rule. */
19
+ export declare function Separator({ className, orientation, decorative, ref, ...props }: SeparatorProps): React.ReactElement;
20
+ //# sourceMappingURL=separator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../../../src/src/react/components/ui/separator.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,uCAAuC;AACvC,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC1E,4CAA4C;IAC5C,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,kGAAkG;IAClG,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uCAAuC;IACvC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACjC;AAED,uDAAuD;AACvD,wBAAgB,SAAS,CAAC,EACxB,SAAS,EACT,WAA0B,EAC1B,UAAiB,EACjB,GAAG,EACH,GAAG,KAAK,EACT,EAAE,cAAc,GAAG,KAAK,CAAC,YAAY,CAerC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Separator - a thin divider rule. Pure-visual/CSS primitive (no engine needed):
3
+ * decorative by default (`role="none"`, hidden from a11y); pass `decorative={false}`
4
+ * for a semantic `role="separator"` with `aria-orientation`.
5
+ *
6
+ * @module react/components/ui/separator
7
+ */
8
+ import * as React from "react";
9
+ import { cx as cn } from "./cva.js";
10
+ /** A horizontal (default) or vertical divider rule. */
11
+ export function Separator({ className, orientation = "horizontal", decorative = true, ref, ...props }) {
12
+ return (React.createElement("div", { ref: ref, role: decorative ? "none" : "separator", "aria-orientation": decorative ? undefined : orientation, "data-orientation": orientation, className: cn("shrink-0 bg-[var(--separator)]", orientation === "horizontal" ? "h-px w-full" : "h-full w-px self-stretch", className), ...props }));
13
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Slider - pick a number from a range by dragging a thumb along a track.
3
+ *
4
+ * A single native `<input type="range">` (so keyboard, focus, and ARIA come for
5
+ * free) restyled with the veryfront theme tokens. Controlled via
6
+ * `value`/`onValueChange` or uncontrolled via `defaultValue`; `min`/`max`/`step`
7
+ * behave as on the native element. No adapter or engine required.
8
+ *
9
+ * @example Uncontrolled, 0-100
10
+ * ```tsx
11
+ * import { Slider } from "veryfront/ui";
12
+ *
13
+ * <Slider defaultValue={50} aria-label="Volume" />;
14
+ * ```
15
+ *
16
+ * @example Controlled with a step
17
+ * ```tsx
18
+ * const [temp, setTemp] = React.useState(20);
19
+ * <Slider value={temp} onValueChange={setTemp} min={16} max={30} step={0.5} />;
20
+ * ```
21
+ *
22
+ * @module react/components/ui/slider
23
+ */
24
+ import * as React from "react";
25
+ /** Props accepted by `<Slider>`. */
26
+ export interface SliderProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "defaultValue" | "onChange"> {
27
+ /** Controlled value (pair with `onValueChange`). */
28
+ value?: number;
29
+ /** Initial value when uncontrolled. */
30
+ defaultValue?: number;
31
+ /** Fires with the next value as the thumb moves. */
32
+ onValueChange?: (value: number) => void;
33
+ /** Lowest selectable value. @default 0 */
34
+ min?: number;
35
+ /** Highest selectable value. @default 100 */
36
+ max?: number;
37
+ /** Granularity the value snaps to. @default 1 */
38
+ step?: number;
39
+ /** React 19: ref is a regular prop. */
40
+ ref?: React.Ref<HTMLInputElement>;
41
+ }
42
+ /** Render a range slider. */
43
+ export declare function Slider({ value, defaultValue, onValueChange, min, max, step, className, disabled, ref, ...props }: SliderProps): React.ReactElement;
44
+ //# sourceMappingURL=slider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../../../src/src/react/components/ui/slider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,oCAAoC;AACpC,MAAM,WAAW,WAAY,SAC3B,IAAI,CACF,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAC3C,MAAM,GAAG,OAAO,GAAG,cAAc,GAAG,UAAU,CAC/C;IACD,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oDAAoD;IACpD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,0CAA0C;IAC1C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;CACnC;AAYD,6BAA6B;AAC7B,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,YAAY,EACZ,aAAa,EACb,GAAO,EACP,GAAS,EACT,IAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,EACH,GAAG,KAAK,EACT,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CAmClC"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Slider - pick a number from a range by dragging a thumb along a track.
3
+ *
4
+ * A single native `<input type="range">` (so keyboard, focus, and ARIA come for
5
+ * free) restyled with the veryfront theme tokens. Controlled via
6
+ * `value`/`onValueChange` or uncontrolled via `defaultValue`; `min`/`max`/`step`
7
+ * behave as on the native element. No adapter or engine required.
8
+ *
9
+ * @example Uncontrolled, 0-100
10
+ * ```tsx
11
+ * import { Slider } from "veryfront/ui";
12
+ *
13
+ * <Slider defaultValue={50} aria-label="Volume" />;
14
+ * ```
15
+ *
16
+ * @example Controlled with a step
17
+ * ```tsx
18
+ * const [temp, setTemp] = React.useState(20);
19
+ * <Slider value={temp} onValueChange={setTemp} min={16} max={30} step={0.5} />;
20
+ * ```
21
+ *
22
+ * @module react/components/ui/slider
23
+ */
24
+ import * as React from "react";
25
+ import { cx as cn } from "./cva.js";
26
+ // Native range thumbs must be styled per-vendor, and each Tailwind utility needs
27
+ // its own pseudo-element variant prefix (a prefix applies to one class only).
28
+ const WEBKIT_THUMB = "[&::-webkit-slider-thumb]:-mt-[5px] [&::-webkit-slider-thumb]:size-4 " +
29
+ "[&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full " +
30
+ "[&::-webkit-slider-thumb]:bg-[var(--primary)] [&::-webkit-slider-thumb]:cursor-pointer";
31
+ const MOZ_THUMB = "[&::-moz-range-thumb]:size-4 [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:border-0 " +
32
+ "[&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-[var(--primary)] " +
33
+ "[&::-moz-range-thumb]:cursor-pointer";
34
+ /** Render a range slider. */
35
+ export function Slider({ value, defaultValue, onValueChange, min = 0, max = 100, step = 1, className, disabled, ref, ...props }) {
36
+ const handleChange = (event) => {
37
+ onValueChange?.(Number(event.target.value));
38
+ };
39
+ return (React.createElement("input", { ref: ref, type: "range", min: min, max: max, step: step, value: value, defaultValue: value === undefined ? defaultValue : undefined, disabled: disabled, onChange: handleChange, "data-disabled": disabled ? "" : undefined, className: cn("w-full cursor-pointer appearance-none bg-transparent",
40
+ // WebKit track + thumb
41
+ "[&::-webkit-slider-runnable-track]:h-1.5 [&::-webkit-slider-runnable-track]:rounded-full [&::-webkit-slider-runnable-track]:bg-[var(--edge)]", WEBKIT_THUMB,
42
+ // Firefox track + thumb
43
+ "[&::-moz-range-track]:h-1.5 [&::-moz-range-track]:rounded-full [&::-moz-range-track]:bg-[var(--edge)]", MOZ_THUMB,
44
+ // Focus ring on the thumb
45
+ "focus-visible:outline-none", "[&:focus-visible::-webkit-slider-thumb]:ring-2 [&:focus-visible::-webkit-slider-thumb]:ring-[var(--edge-medium)]", "[&:focus-visible::-moz-range-thumb]:ring-2 [&:focus-visible::-moz-range-thumb]:ring-[var(--edge-medium)]", "disabled:cursor-not-allowed disabled:opacity-50", className), ...props }));
46
+ }
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Status ported 1:1 from Veryfront Studio. A coloured status dot with a
2
+ * Status - ported 1:1 from Veryfront Studio. A coloured status dot with a
3
3
  * label (optionally pulsing / responsively hidden). Semantic classes remapped
4
- * to veryfront's `[var(--token)]` vocabulary the `--status-*` dot tokens all
4
+ * to veryfront's `[var(--token)]` vocabulary - the `--status-*` dot tokens all
5
5
  * exist in `theme.ts`. Private to the chat module.
6
6
  *
7
7
  * @module react/components/ui/status
@@ -10,7 +10,7 @@ import * as React from "react";
10
10
  /** Dot colour, keyed to the `--status-*` palette. */
11
11
  export type StatusColor = "gray" | "blue" | "green" | "red" | "yellow";
12
12
  /** Props accepted by `<Status>`. */
13
- export interface StatusProps {
13
+ export interface StatusProps extends React.HTMLAttributes<HTMLDivElement> {
14
14
  label: string;
15
15
  color: StatusColor;
16
16
  /** Pulse the dot (e.g. an in-progress run). */
@@ -21,8 +21,9 @@ export interface StatusProps {
21
21
  responsive?: boolean;
22
22
  /** `'sm'` (14px, default) or `'inherit'` to inherit the parent's size. */
23
23
  size?: "sm" | "inherit";
24
- className?: string;
24
+ /** React 19: ref is a regular prop, forwarded to the root node. */
25
+ ref?: React.Ref<HTMLDivElement>;
25
26
  }
26
27
  /** Render a status dot + label. */
27
- export declare function Status({ label, color, pulse, showLabel, responsive, size, className, }: StatusProps): React.ReactElement;
28
+ export declare function Status({ label, color, pulse, showLabel, responsive, size, className, ref, ...props }: StatusProps): React.ReactElement;
28
29
  //# sourceMappingURL=status.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../../../src/src/react/components/ui/status.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,qDAAqD;AACrD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEvE,oCAAoC;AACpC,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,WAAW,CAAC;IACnB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wEAAwE;IACxE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAUD,mCAAmC;AACnC,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,KAAK,EACL,KAAK,EACL,SAAgB,EAChB,UAAU,EACV,IAAW,EACX,SAAS,GACV,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CA4BlC"}
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../../../src/src/react/components/ui/status.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,qDAAqD;AACrD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEvE,oCAAoC;AACpC,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACvE,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,WAAW,CAAC;IACnB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wEAAwE;IACxE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB,mEAAmE;IACnE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACjC;AAUD,mCAAmC;AACnC,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,KAAK,EACL,KAAK,EACL,SAAgB,EAChB,UAAU,EACV,IAAW,EACX,SAAS,EACT,GAAG,EACH,GAAG,KAAK,EACT,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CA8BlC"}
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Status ported 1:1 from Veryfront Studio. A coloured status dot with a
2
+ * Status - ported 1:1 from Veryfront Studio. A coloured status dot with a
3
3
  * label (optionally pulsing / responsively hidden). Semantic classes remapped
4
- * to veryfront's `[var(--token)]` vocabulary the `--status-*` dot tokens all
4
+ * to veryfront's `[var(--token)]` vocabulary - the `--status-*` dot tokens all
5
5
  * exist in `theme.ts`. Private to the chat module.
6
6
  *
7
7
  * @module react/components/ui/status
@@ -16,8 +16,8 @@ const dotColorMap = {
16
16
  yellow: "bg-[var(--status-warning)]",
17
17
  };
18
18
  /** Render a status dot + label. */
19
- export function Status({ label, color, pulse, showLabel = true, responsive, size = "sm", className, }) {
20
- return (React.createElement("div", { className: cn("flex items-center gap-1.5", responsive && "@container", className) },
19
+ export function Status({ label, color, pulse, showLabel = true, responsive, size = "sm", className, ref, ...props }) {
20
+ return (React.createElement("div", { ref: ref, ...props, className: cn("flex items-center gap-1.5", responsive && "@container", className) },
21
21
  React.createElement("span", { className: cn("size-2 rounded-full shrink-0", dotColorMap[color], pulse && "animate-pulse") }),
22
22
  React.createElement("span", { className: cn(size === "sm" && "text-sm", "font-normal text-[var(--foreground)] truncate", !showLabel && "sr-only", showLabel && responsive && "hidden @[5rem]:inline") }, label)));
23
23
  }