@cosmicdrift/kumiko-renderer 0.374.0 → 0.378.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (477) hide show
  1. package/README.md +2 -2
  2. package/dist/app/action-form-support.d.ts +9 -2
  3. package/dist/app/action-form-support.js +24 -2
  4. package/dist/app/client-actions.d.ts +2 -2
  5. package/dist/app/column-renderers.js +1 -1
  6. package/dist/app/config-edit-shim.js +1 -1
  7. package/dist/app/content-preview.js +1 -6
  8. package/dist/app/custom-screens.js +1 -1
  9. package/dist/app/dashboard-body.d.ts +1 -1
  10. package/dist/app/entity-list-expanded-row.d.ts +1 -1
  11. package/dist/app/form-schema.d.ts +1 -1
  12. package/dist/app/form-schema.js +2 -2
  13. package/dist/app/kumiko-screen.d.ts +1 -1
  14. package/dist/app/kumiko-screen.js +10 -7
  15. package/dist/app/list-empty-content.d.ts +1 -1
  16. package/dist/app/list-facets.d.ts +1 -1
  17. package/dist/app/nav.js +2 -2
  18. package/dist/app/query-state-banners.d.ts +1 -1
  19. package/dist/app/reference-link.d.ts +1 -1
  20. package/dist/app/row-actions.d.ts +1 -1
  21. package/dist/app/secret-mint-body.d.ts +1 -1
  22. package/dist/app/secrets-edit-body.d.ts +1 -1
  23. package/dist/app/use-record-actions.d.ts +1 -1
  24. package/dist/app/write-failed-error.d.ts +1 -1
  25. package/dist/components/availability-options-select.d.ts +1 -1
  26. package/dist/components/embedded-list-field.d.ts +1 -1
  27. package/dist/components/embedded-list-field.js +1 -1
  28. package/dist/components/file-list-field.d.ts +1 -1
  29. package/dist/components/form-derivation-patch.d.ts +8 -0
  30. package/dist/components/form-derivation-patch.js +24 -0
  31. package/dist/components/form-screen-layout.d.ts +13 -0
  32. package/dist/components/form-screen-layout.js +13 -0
  33. package/dist/components/grid-cell-for-field.d.ts +1 -1
  34. package/dist/components/multi-select-checkboxes.d.ts +1 -1
  35. package/dist/components/multi-select-checkboxes.js +1 -1
  36. package/dist/components/query-options-select.d.ts +1 -1
  37. package/dist/components/related-list-section.d.ts +1 -1
  38. package/dist/components/render-edit-logic.d.ts +1 -1
  39. package/dist/components/render-edit-types.d.ts +6 -3
  40. package/dist/components/render-edit.d.ts +1 -1
  41. package/dist/components/render-edit.js +18 -3
  42. package/dist/components/render-field.d.ts +1 -1
  43. package/dist/components/render-field.js +12 -2
  44. package/dist/components/render-list.d.ts +1 -1
  45. package/dist/components/render-list.js +20 -4
  46. package/dist/components/write-form-section.d.ts +1 -1
  47. package/dist/components/write-form-section.js +1 -1
  48. package/dist/context/dispatcher-context.d.ts +1 -1
  49. package/dist/file-ids-of.d.ts +1 -0
  50. package/dist/file-ids-of.js +7 -0
  51. package/dist/flow-diagram/icons.d.ts +3 -0
  52. package/dist/flow-diagram/icons.js +14 -0
  53. package/dist/flow-diagram/index.d.ts +2 -0
  54. package/dist/flow-diagram/index.js +1 -0
  55. package/dist/flow-diagram/render.d.ts +3 -0
  56. package/dist/flow-diagram/render.js +234 -0
  57. package/dist/flow-diagram/types.d.ts +18 -0
  58. package/dist/flow-diagram/types.js +1 -0
  59. package/dist/format-when.js +1 -1
  60. package/dist/headless/apex/css.d.ts +3 -0
  61. package/dist/headless/apex/css.js +298 -0
  62. package/dist/headless/apex/index.d.ts +236 -0
  63. package/dist/headless/apex/index.js +377 -0
  64. package/dist/headless/apex/lightbox.d.ts +4 -0
  65. package/dist/headless/apex/lightbox.js +81 -0
  66. package/dist/headless/contracts/asset.d.ts +15 -0
  67. package/dist/headless/contracts/asset.js +17 -0
  68. package/dist/headless/contracts/index.d.ts +3 -0
  69. package/dist/headless/contracts/index.js +1 -0
  70. package/dist/headless/contracts/locale.d.ts +7 -0
  71. package/dist/headless/contracts/locale.js +11 -0
  72. package/dist/headless/contracts/primitives.d.ts +93 -0
  73. package/dist/headless/contracts/primitives.js +21 -0
  74. package/dist/headless/dispatcher/index.d.ts +2 -0
  75. package/dist/headless/dispatcher/index.js +1 -0
  76. package/dist/headless/dispatcher/types.d.ts +86 -0
  77. package/dist/headless/dispatcher/types.js +34 -0
  78. package/dist/headless/form/form-controller.d.ts +2 -0
  79. package/dist/headless/form/form-controller.js +409 -0
  80. package/dist/headless/form/index.d.ts +3 -0
  81. package/dist/headless/form/index.js +2 -0
  82. package/dist/headless/form/types.d.ts +76 -0
  83. package/dist/headless/form/types.js +1 -0
  84. package/dist/headless/form/zod-bridge.d.ts +10 -0
  85. package/dist/headless/form/zod-bridge.js +103 -0
  86. package/dist/headless/format/document-values.d.ts +12 -0
  87. package/dist/headless/format/document-values.js +70 -0
  88. package/dist/headless/format/escape.d.ts +5 -0
  89. package/dist/headless/format/escape.js +75 -0
  90. package/dist/headless/format/html-template.d.ts +9 -0
  91. package/dist/headless/format/html-template.js +39 -0
  92. package/dist/headless/format/index.d.ts +12 -0
  93. package/dist/headless/format/index.js +237 -0
  94. package/dist/headless/format/money.d.ts +3 -0
  95. package/dist/headless/format/money.js +39 -0
  96. package/dist/headless/index.d.ts +14 -0
  97. package/dist/headless/index.js +9 -0
  98. package/dist/headless/locale-routing/index.d.ts +41 -0
  99. package/dist/headless/locale-routing/index.js +145 -0
  100. package/dist/headless/nav/index.d.ts +2 -0
  101. package/dist/headless/nav/index.js +1 -0
  102. package/dist/headless/nav/resolve.d.ts +2 -0
  103. package/dist/headless/nav/resolve.js +71 -0
  104. package/dist/headless/nav/types.d.ts +26 -0
  105. package/dist/headless/nav/types.js +1 -0
  106. package/dist/headless/store/create-store.d.ts +2 -0
  107. package/dist/headless/store/create-store.js +43 -0
  108. package/dist/headless/store/equality.d.ts +1 -0
  109. package/dist/headless/store/equality.js +34 -0
  110. package/dist/headless/store/index.d.ts +3 -0
  111. package/dist/headless/store/index.js +2 -0
  112. package/dist/headless/store/types.d.ts +7 -0
  113. package/dist/headless/store/types.js +10 -0
  114. package/dist/headless/view-model/edit.d.ts +21 -0
  115. package/dist/headless/view-model/edit.js +512 -0
  116. package/dist/headless/view-model/embedded-list.d.ts +27 -0
  117. package/dist/headless/view-model/embedded-list.js +63 -0
  118. package/dist/headless/view-model/index.d.ts +7 -0
  119. package/dist/headless/view-model/index.js +3 -0
  120. package/dist/headless/view-model/list-file-display.d.ts +3 -0
  121. package/dist/headless/view-model/list-file-display.js +27 -0
  122. package/dist/headless/view-model/list.d.ts +16 -0
  123. package/dist/headless/view-model/list.js +229 -0
  124. package/dist/headless/view-model/types.d.ts +382 -0
  125. package/dist/headless/view-model/types.js +1 -0
  126. package/dist/hooks/use-ai-text.d.ts +1 -1
  127. package/dist/hooks/use-form.d.ts +1 -1
  128. package/dist/hooks/use-form.js +1 -1
  129. package/dist/hooks/use-mutation.d.ts +1 -1
  130. package/dist/hooks/use-query.d.ts +1 -1
  131. package/dist/hooks/use-store.d.ts +1 -1
  132. package/dist/hooks/use-store.js +7 -7
  133. package/dist/hooks/use-stream-handler.d.ts +1 -1
  134. package/dist/i18n-defaults.js +6 -0
  135. package/dist/i18n.d.ts +1 -1
  136. package/dist/i18n.js +1 -1
  137. package/dist/index.d.ts +3 -1
  138. package/dist/index.js +5 -4
  139. package/dist/live/csrf.d.ts +2 -0
  140. package/dist/live/csrf.js +60 -0
  141. package/dist/live/dispatcher-live.d.ts +7 -0
  142. package/dist/live/dispatcher-live.js +286 -0
  143. package/dist/live/envelopes.d.ts +101 -0
  144. package/dist/live/envelopes.js +35 -0
  145. package/dist/live/error-mapping.d.ts +16 -0
  146. package/dist/live/error-mapping.js +82 -0
  147. package/dist/live/index.d.ts +7 -0
  148. package/dist/live/index.js +5 -0
  149. package/dist/live/locale.d.ts +2 -0
  150. package/dist/live/locale.js +25 -0
  151. package/dist/live/sse-stream.d.ts +14 -0
  152. package/dist/live/sse-stream.js +128 -0
  153. package/dist/primitives.d.ts +45 -36
  154. package/dist/primitives.js +1 -1
  155. package/dist/session/session-ended.d.ts +1 -1
  156. package/dist/tokens.d.ts +3 -4
  157. package/dist/tokens.js +4 -5
  158. package/dist/web/app/app-schema-boot.d.ts +19 -0
  159. package/dist/web/app/app-schema-boot.js +124 -0
  160. package/dist/web/app/browser-locale.d.ts +22 -0
  161. package/dist/web/app/browser-locale.js +78 -0
  162. package/dist/web/app/client-plugin.d.ts +106 -0
  163. package/dist/web/app/client-plugin.js +12 -0
  164. package/dist/web/app/create-app.d.ts +104 -0
  165. package/dist/web/app/create-app.js +498 -0
  166. package/dist/web/app/create-public-surface.d.ts +36 -0
  167. package/dist/web/app/create-public-surface.js +40 -0
  168. package/dist/web/app/dashboard-body.d.ts +3 -0
  169. package/dist/web/app/dashboard-body.js +865 -0
  170. package/dist/web/app/dashboard-refresh.d.ts +6 -0
  171. package/dist/web/app/dashboard-refresh.js +15 -0
  172. package/dist/web/app/document-lang-sync.d.ts +4 -0
  173. package/dist/web/app/document-lang-sync.js +27 -0
  174. package/dist/web/app/draft-storage.d.ts +11 -0
  175. package/dist/web/app/draft-storage.js +53 -0
  176. package/dist/web/app/nav-providers-context.d.ts +13 -0
  177. package/dist/web/app/nav-providers-context.js +18 -0
  178. package/dist/web/app/nav.d.ts +40 -0
  179. package/dist/web/app/nav.js +231 -0
  180. package/dist/web/app/plain-content-editor.d.ts +3 -0
  181. package/dist/web/app/plain-content-editor.js +30 -0
  182. package/dist/web/app/relative-time.d.ts +10 -0
  183. package/dist/web/app/relative-time.js +56 -0
  184. package/dist/web/app/resolvers-context.d.ts +12 -0
  185. package/dist/web/app/resolvers-context.js +10 -0
  186. package/dist/web/app/rich-content-editor.d.ts +3 -0
  187. package/dist/web/app/rich-content-editor.js +15 -0
  188. package/dist/web/app/root-error-fallback.d.ts +2 -0
  189. package/dist/web/app/root-error-fallback.js +21 -0
  190. package/dist/web/app/screen-error-fallback.d.ts +6 -0
  191. package/dist/web/app/screen-error-fallback.js +17 -0
  192. package/dist/web/app/tiptap-editor.d.ts +3 -0
  193. package/dist/web/app/tiptap-editor.js +120 -0
  194. package/dist/web/app/toast-action-notifier.d.ts +5 -0
  195. package/dist/web/app/toast-action-notifier.js +17 -0
  196. package/dist/web/components/config-cascade.d.ts +13 -0
  197. package/dist/web/components/config-cascade.js +155 -0
  198. package/dist/web/components/config-source-badge.d.ts +6 -0
  199. package/dist/web/components/config-source-badge.js +55 -0
  200. package/dist/web/default-color-scheme.d.ts +2 -0
  201. package/dist/web/default-color-scheme.js +3 -0
  202. package/dist/web/icons.d.ts +94 -0
  203. package/dist/web/icons.js +100 -0
  204. package/dist/web/index.d.ts +78 -0
  205. package/dist/web/index.js +53 -0
  206. package/dist/web/layout/app-layout.d.ts +21 -0
  207. package/dist/web/layout/app-layout.js +8 -0
  208. package/dist/web/layout/avatar.d.ts +12 -0
  209. package/dist/web/layout/avatar.js +63 -0
  210. package/dist/web/layout/default-app-shell.d.ts +41 -0
  211. package/dist/web/layout/default-app-shell.js +16 -0
  212. package/dist/web/layout/editor-panel.d.ts +10 -0
  213. package/dist/web/layout/editor-panel.js +29 -0
  214. package/dist/web/layout/fill-classes.d.ts +9 -0
  215. package/dist/web/layout/fill-classes.js +15 -0
  216. package/dist/web/layout/filter-app-schema-navs.d.ts +7 -0
  217. package/dist/web/layout/filter-app-schema-navs.js +68 -0
  218. package/dist/web/layout/header-action-group.d.ts +6 -0
  219. package/dist/web/layout/header-action-group.js +8 -0
  220. package/dist/web/layout/header-overflow-menu.d.ts +4 -0
  221. package/dist/web/layout/header-overflow-menu.js +8 -0
  222. package/dist/web/layout/language-menu-items.d.ts +8 -0
  223. package/dist/web/layout/language-menu-items.js +16 -0
  224. package/dist/web/layout/language-switcher.d.ts +25 -0
  225. package/dist/web/layout/language-switcher.js +46 -0
  226. package/dist/web/layout/nav-tree.d.ts +19 -0
  227. package/dist/web/layout/nav-tree.js +536 -0
  228. package/dist/web/layout/page-header-slot.d.ts +25 -0
  229. package/dist/web/layout/page-header-slot.js +50 -0
  230. package/dist/web/layout/profile-menu.d.ts +13 -0
  231. package/dist/web/layout/profile-menu.js +6 -0
  232. package/dist/web/layout/shell-breadcrumb.d.ts +11 -0
  233. package/dist/web/layout/shell-breadcrumb.js +34 -0
  234. package/dist/web/layout/shell-header.d.ts +12 -0
  235. package/dist/web/layout/shell-header.js +159 -0
  236. package/dist/web/layout/sidebar-brand.d.ts +15 -0
  237. package/dist/web/layout/sidebar-brand.js +9 -0
  238. package/dist/web/layout/sidebar-panel.d.ts +41 -0
  239. package/dist/web/layout/sidebar-panel.js +107 -0
  240. package/dist/web/layout/sidebar-user.d.ts +8 -0
  241. package/dist/web/layout/sidebar-user.js +17 -0
  242. package/dist/web/layout/sidebar.d.ts +17 -0
  243. package/dist/web/layout/sidebar.js +11 -0
  244. package/dist/web/layout/target-resolver-stub.d.ts +13 -0
  245. package/dist/web/layout/target-resolver-stub.js +61 -0
  246. package/dist/web/layout/target-url.d.ts +12 -0
  247. package/dist/web/layout/target-url.js +77 -0
  248. package/dist/web/layout/theme-label.d.ts +15 -0
  249. package/dist/web/layout/theme-label.js +35 -0
  250. package/dist/web/layout/theme-menu-item.d.ts +12 -0
  251. package/dist/web/layout/theme-menu-item.js +16 -0
  252. package/dist/web/layout/theme-toggle.d.ts +17 -0
  253. package/dist/web/layout/theme-toggle.js +22 -0
  254. package/dist/web/layout/topbar.d.ts +8 -0
  255. package/dist/web/layout/topbar.js +4 -0
  256. package/dist/web/layout/workspace-shell.d.ts +63 -0
  257. package/dist/web/layout/workspace-shell.js +220 -0
  258. package/dist/web/layout/workspace-switcher.d.ts +15 -0
  259. package/dist/web/layout/workspace-switcher.js +36 -0
  260. package/dist/web/lib/accept-attr.d.ts +1 -0
  261. package/dist/web/lib/accept-attr.js +6 -0
  262. package/dist/web/lib/clamp.d.ts +1 -0
  263. package/dist/web/lib/clamp.js +3 -0
  264. package/dist/web/lib/cn.d.ts +6 -0
  265. package/dist/web/lib/cn.js +9 -0
  266. package/dist/web/lib/download.d.ts +2 -0
  267. package/dist/web/lib/download.js +24 -0
  268. package/dist/web/lib/file-ref-download.d.ts +15 -0
  269. package/dist/web/lib/file-ref-download.js +62 -0
  270. package/dist/web/lib/file-upload-form-data.d.ts +7 -0
  271. package/dist/web/lib/file-upload-form-data.js +11 -0
  272. package/dist/web/lib/resize-image.d.ts +1 -0
  273. package/dist/web/lib/resize-image.js +66 -0
  274. package/dist/web/lib/upload-file-ref.d.ts +9 -0
  275. package/dist/web/lib/upload-file-ref.js +29 -0
  276. package/dist/web/primitives/action-menu.d.ts +34 -0
  277. package/dist/web/primitives/action-menu.js +30 -0
  278. package/dist/web/primitives/calendar-popover.d.ts +13 -0
  279. package/dist/web/primitives/calendar-popover.js +76 -0
  280. package/dist/web/primitives/combobox.d.ts +56 -0
  281. package/dist/web/primitives/combobox.js +127 -0
  282. package/dist/web/primitives/date-field.d.ts +18 -0
  283. package/dist/web/primitives/date-field.js +74 -0
  284. package/dist/web/primitives/date-input.d.ts +1 -0
  285. package/dist/web/primitives/date-input.js +5 -0
  286. package/dist/web/primitives/date-parse.d.ts +11 -0
  287. package/dist/web/primitives/date-parse.js +159 -0
  288. package/dist/web/primitives/dialog.d.ts +3 -0
  289. package/dist/web/primitives/dialog.js +42 -0
  290. package/dist/web/primitives/drawer.d.ts +3 -0
  291. package/dist/web/primitives/drawer.js +17 -0
  292. package/dist/web/primitives/dropdown-menu.d.ts +15 -0
  293. package/dist/web/primitives/dropdown-menu.js +56 -0
  294. package/dist/web/primitives/embedded-list-input.d.ts +9 -0
  295. package/dist/web/primitives/embedded-list-input.js +382 -0
  296. package/dist/web/primitives/file-thumbnail.d.ts +31 -0
  297. package/dist/web/primitives/file-thumbnail.js +90 -0
  298. package/dist/web/primitives/file-upload.d.ts +21 -0
  299. package/dist/web/primitives/file-upload.js +56 -0
  300. package/dist/web/primitives/file-value-list.d.ts +3 -0
  301. package/dist/web/primitives/file-value-list.js +22 -0
  302. package/dist/web/primitives/index.d.ts +34 -0
  303. package/dist/web/primitives/index.js +2023 -0
  304. package/dist/web/primitives/json-view.d.ts +7 -0
  305. package/dist/web/primitives/json-view.js +84 -0
  306. package/dist/web/primitives/layout.d.ts +27 -0
  307. package/dist/web/primitives/layout.js +30 -0
  308. package/dist/web/primitives/lightbox.d.ts +3 -0
  309. package/dist/web/primitives/lightbox.js +36 -0
  310. package/dist/web/primitives/locale-number.d.ts +2 -0
  311. package/dist/web/primitives/locale-number.js +54 -0
  312. package/dist/web/primitives/located-timestamp-input.d.ts +22 -0
  313. package/dist/web/primitives/located-timestamp-input.js +22 -0
  314. package/dist/web/primitives/metric.d.ts +5 -0
  315. package/dist/web/primitives/metric.js +18 -0
  316. package/dist/web/primitives/modal-shell.d.ts +17 -0
  317. package/dist/web/primitives/modal-shell.js +9 -0
  318. package/dist/web/primitives/modal.d.ts +3 -0
  319. package/dist/web/primitives/modal.js +13 -0
  320. package/dist/web/primitives/money-input.d.ts +18 -0
  321. package/dist/web/primitives/money-input.js +122 -0
  322. package/dist/web/primitives/narrow-pinned-footer.d.ts +12 -0
  323. package/dist/web/primitives/narrow-pinned-footer.js +153 -0
  324. package/dist/web/primitives/number-input.d.ts +18 -0
  325. package/dist/web/primitives/number-input.js +53 -0
  326. package/dist/web/primitives/option-groups.d.ts +11 -0
  327. package/dist/web/primitives/option-groups.js +27 -0
  328. package/dist/web/primitives/page-header.d.ts +3 -0
  329. package/dist/web/primitives/page-header.js +52 -0
  330. package/dist/web/primitives/promo-panel.d.ts +3 -0
  331. package/dist/web/primitives/promo-panel.js +11 -0
  332. package/dist/web/primitives/segmented-select.d.ts +21 -0
  333. package/dist/web/primitives/segmented-select.js +62 -0
  334. package/dist/web/primitives/share-actions.d.ts +4 -0
  335. package/dist/web/primitives/share-actions.js +56 -0
  336. package/dist/web/primitives/status-badge.d.ts +3 -0
  337. package/dist/web/primitives/status-badge.js +5 -0
  338. package/dist/web/primitives/sticky-action-bar.d.ts +5 -0
  339. package/dist/web/primitives/sticky-action-bar.js +15 -0
  340. package/dist/web/primitives/tabs.d.ts +3 -0
  341. package/dist/web/primitives/tabs.js +107 -0
  342. package/dist/web/primitives/timestamp-input.d.ts +27 -0
  343. package/dist/web/primitives/timestamp-input.js +87 -0
  344. package/dist/web/primitives/toast.d.ts +19 -0
  345. package/dist/web/primitives/toast.js +63 -0
  346. package/dist/web/primitives/tz-input.d.ts +11 -0
  347. package/dist/web/primitives/tz-input.js +8 -0
  348. package/dist/web/primitives/tz-options.d.ts +4 -0
  349. package/dist/web/primitives/tz-options.js +17 -0
  350. package/dist/web/primitives/use-keyboard-inset.d.ts +1 -0
  351. package/dist/web/primitives/use-keyboard-inset.js +28 -0
  352. package/dist/web/primitives/use-narrow-viewport.d.ts +4 -0
  353. package/dist/web/primitives/use-narrow-viewport.js +46 -0
  354. package/dist/web/react-css-custom-properties.d.ts +6 -0
  355. package/dist/web/react-css-custom-properties.js +1 -0
  356. package/dist/web/sse/live-events.d.ts +15 -0
  357. package/dist/web/sse/live-events.js +148 -0
  358. package/dist/web/theme-plugin.d.ts +41 -0
  359. package/dist/web/theme-plugin.js +123 -0
  360. package/dist/web/tokens.d.ts +24 -0
  361. package/dist/web/tokens.js +203 -0
  362. package/dist/web/ui/avatar.d.ts +11 -0
  363. package/dist/web/ui/avatar.js +25 -0
  364. package/dist/web/ui/badge.d.ts +9 -0
  365. package/dist/web/ui/badge.js +26 -0
  366. package/dist/web/ui/breadcrumb.d.ts +11 -0
  367. package/dist/web/ui/breadcrumb.js +29 -0
  368. package/dist/web/ui/button.d.ts +10 -0
  369. package/dist/web/ui/button.js +37 -0
  370. package/dist/web/ui/checkbox.d.ts +4 -0
  371. package/dist/web/ui/checkbox.js +11 -0
  372. package/dist/web/ui/input.d.ts +3 -0
  373. package/dist/web/ui/input.js +8 -0
  374. package/dist/web/ui/label.d.ts +4 -0
  375. package/dist/web/ui/label.js +10 -0
  376. package/dist/web/ui/resizable.d.ts +7 -0
  377. package/dist/web/ui/resizable.js +16 -0
  378. package/dist/web/ui/separator.d.ts +4 -0
  379. package/dist/web/ui/separator.js +10 -0
  380. package/dist/web/ui/sheet.d.ts +14 -0
  381. package/dist/web/ui/sheet.js +42 -0
  382. package/dist/web/ui/sidebar.d.ts +73 -0
  383. package/dist/web/ui/sidebar.js +211 -0
  384. package/dist/web/ui/skeleton.d.ts +2 -0
  385. package/dist/web/ui/skeleton.js +7 -0
  386. package/dist/web/ui/switch.d.ts +6 -0
  387. package/dist/web/ui/switch.js +10 -0
  388. package/dist/web/ui/table.d.ts +10 -0
  389. package/dist/web/ui/table.js +30 -0
  390. package/dist/web/ui/tabs.d.ts +11 -0
  391. package/dist/web/ui/tabs.js +31 -0
  392. package/dist/web/ui/textarea.d.ts +3 -0
  393. package/dist/web/ui/textarea.js +8 -0
  394. package/dist/web/ui/tooltip.d.ts +7 -0
  395. package/dist/web/ui/tooltip.js +19 -0
  396. package/dist/web/ui/use-mobile.d.ts +1 -0
  397. package/dist/web/ui/use-mobile.js +16 -0
  398. package/dist/web/version/update-checker.d.ts +9 -0
  399. package/dist/web/version/update-checker.js +88 -0
  400. package/dist/web/widgets/ai-text-field.d.ts +36 -0
  401. package/dist/web/widgets/ai-text-field.js +137 -0
  402. package/dist/web/widgets/bounded-load-cache.d.ts +1 -0
  403. package/dist/web/widgets/bounded-load-cache.js +25 -0
  404. package/dist/web/widgets/chart-window.d.ts +58 -0
  405. package/dist/web/widgets/chart-window.js +190 -0
  406. package/dist/web/widgets/charts.d.ts +208 -0
  407. package/dist/web/widgets/charts.js +685 -0
  408. package/dist/web/widgets/collapsible-section.d.ts +10 -0
  409. package/dist/web/widgets/collapsible-section.js +17 -0
  410. package/dist/web/widgets/dashboard-list.d.ts +21 -0
  411. package/dist/web/widgets/dashboard-list.js +45 -0
  412. package/dist/web/widgets/detail-list.d.ts +15 -0
  413. package/dist/web/widgets/detail-list.js +8 -0
  414. package/dist/web/widgets/drawer.d.ts +65 -0
  415. package/dist/web/widgets/drawer.js +177 -0
  416. package/dist/web/widgets/feed-list.d.ts +13 -0
  417. package/dist/web/widgets/feed-list.js +9 -0
  418. package/dist/web/widgets/floating-panel.d.ts +30 -0
  419. package/dist/web/widgets/floating-panel.js +242 -0
  420. package/dist/web/widgets/form-fields.d.ts +93 -0
  421. package/dist/web/widgets/form-fields.js +50 -0
  422. package/dist/web/widgets/index.d.ts +28 -0
  423. package/dist/web/widgets/index.js +31 -0
  424. package/dist/web/widgets/infinity-list.d.ts +46 -0
  425. package/dist/web/widgets/infinity-list.js +211 -0
  426. package/dist/web/widgets/mode-switch.d.ts +21 -0
  427. package/dist/web/widgets/mode-switch.js +25 -0
  428. package/dist/web/widgets/pdf-preview.d.ts +10 -0
  429. package/dist/web/widgets/pdf-preview.js +140 -0
  430. package/dist/web/widgets/photo-slots.d.ts +29 -0
  431. package/dist/web/widgets/photo-slots.js +52 -0
  432. package/dist/web/widgets/plan-card.d.ts +36 -0
  433. package/dist/web/widgets/plan-card.js +13 -0
  434. package/dist/web/widgets/progress-bar.d.ts +19 -0
  435. package/dist/web/widgets/progress-bar.js +24 -0
  436. package/dist/web/widgets/progress-list.d.ts +19 -0
  437. package/dist/web/widgets/progress-list.js +11 -0
  438. package/dist/web/widgets/public-shell.d.ts +22 -0
  439. package/dist/web/widgets/public-shell.js +15 -0
  440. package/dist/web/widgets/query-table.d.ts +29 -0
  441. package/dist/web/widgets/query-table.js +30 -0
  442. package/dist/web/widgets/result-panel.d.ts +69 -0
  443. package/dist/web/widgets/result-panel.js +30 -0
  444. package/dist/web/widgets/section-card.d.ts +12 -0
  445. package/dist/web/widgets/section-card.js +9 -0
  446. package/dist/web/widgets/sheet-parts.d.ts +9 -0
  447. package/dist/web/widgets/sheet-parts.js +11 -0
  448. package/dist/web/widgets/side-by-side-table.d.ts +31 -0
  449. package/dist/web/widgets/side-by-side-table.js +11 -0
  450. package/dist/web/widgets/stat.d.ts +54 -0
  451. package/dist/web/widgets/stat.js +65 -0
  452. package/dist/web/widgets/states.d.ts +23 -0
  453. package/dist/web/widgets/states.js +20 -0
  454. package/dist/web/widgets/status-badge.d.ts +15 -0
  455. package/dist/web/widgets/status-badge.js +24 -0
  456. package/dist/web/widgets/step-bar.d.ts +35 -0
  457. package/dist/web/widgets/step-bar.js +60 -0
  458. package/dist/web/widgets/upload-zone.d.ts +24 -0
  459. package/dist/web/widgets/upload-zone.js +108 -0
  460. package/dist/web/widgets/use-draft.d.ts +20 -0
  461. package/dist/web/widgets/use-draft.js +21 -0
  462. package/dist/web/widgets/use-pointer-drag.d.ts +21 -0
  463. package/dist/web/widgets/use-pointer-drag.js +53 -0
  464. package/package.json +114 -7
  465. package/src/changes.json +92 -0
  466. package/src/web/fonts/OFL.txt +93 -0
  467. package/src/web/fonts/ibm-plex-mono-latin-400.woff2 +0 -0
  468. package/src/web/fonts/ibm-plex-mono-latin-500.woff2 +0 -0
  469. package/src/web/fonts/ibm-plex-mono-latin-ext-400.woff2 +0 -0
  470. package/src/web/fonts/ibm-plex-mono-latin-ext-500.woff2 +0 -0
  471. package/src/web/fonts/ibm-plex-sans-latin-400.woff2 +0 -0
  472. package/src/web/fonts/ibm-plex-sans-latin-500.woff2 +0 -0
  473. package/src/web/fonts/ibm-plex-sans-latin-600.woff2 +0 -0
  474. package/src/web/fonts/ibm-plex-sans-latin-ext-400.woff2 +0 -0
  475. package/src/web/fonts/ibm-plex-sans-latin-ext-500.woff2 +0 -0
  476. package/src/web/fonts/ibm-plex-sans-latin-ext-600.woff2 +0 -0
  477. package/src/web/styles.css +405 -0
@@ -0,0 +1,93 @@
1
+ Copyright 2019 IBM Corp. All rights reserved. IBMPlexSans-Italic[wdth,wght].ttf: Copyright 2019 IBM Corp. All rights reserved.
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,405 @@
1
+ /* Tailwind v4 + shadcn-Token-Schema. Die Design-Tokens liegen als CSS-
2
+ Variablen in @theme (Dark-Default) und `:root:not(.dark)` (Light).
3
+ Theme-Toggle = `document.documentElement.classList.toggle("dark")` —
4
+ keine JS-State-Management-Pipeline nötig.
5
+
6
+ Token-Namen folgen der shadcn-Konvention (background/foreground/primary/
7
+ secondary/muted/accent/destructive/border/input/ring), ergänzt um
8
+ border-strong/border-row, foreground-secondary/-disabled und
9
+ status-*-surface. Farben sind warm-neutral (Papier-Grau statt reinem
10
+ Grau) und komplett als Werte hinterlegt, damit Tailwind-Klassen wie
11
+ `bg-primary` direkt funktionieren.
12
+ */
13
+
14
+ @import "tailwindcss";
15
+
16
+ /* react-day-picker v9 liefert seine Struktur-CSS separat (kein bundled
17
+ Default mehr seit v9). Ohne diesen Import bricht das Calendar-Layout
18
+ — Wochen rutschen ineinander, weil rdp den table-Reset (border-
19
+ collapse, cell-Geometrie) extern hält. Unsere classNames-Map in
20
+ `date-input.tsx` überschreibt nur Slot-Tokens, die strukturellen
21
+ Defaults bleiben rdp's eigenes Stylesheet. */
22
+ @import "react-day-picker/style.css";
23
+
24
+ /* Tailwind v4 scans from the import location by default; this CSS is
25
+ compiled from a temp dir, so it would find no source files. The first
26
+ line is self-relative (`./` = this src/web/) and MUST stay that way: the
27
+ package ships `src/web`, so it resolves in every install layout, the
28
+ workspace and a standalone consumer (node_modules). A monorepo-relative
29
+ path did not find the shell classes in a standalone build, which gave an
30
+ unstyled prod, 15KB instead of 48KB (#359).
31
+
32
+ Tailwind v4 resolves relative @source paths against the REALPATH of the
33
+ imported CSS file (fs.realpath, follows symlinks), not the path it was
34
+ imported through. Here that is `<package>/src/web` in both layouts, so:
35
+ - `../` is the renderer's own src (shared screens and components) and
36
+ `../../dist` its compiled twin;
37
+ - the sibling package bundled-features (no compiled CSS of its own) needs two variants: `../../../X` in the
38
+ workspace (unscoped dir name) and `../../../kumiko-X` in a standalone
39
+ consumer (scoped registry name under node_modules/@cosmicdrift/).
40
+ A path that doesn't exist in a given layout is simply not matched, no
41
+ error. The document designer is not scanned from here: it ships its own
42
+ `@cosmicdrift/kumiko-document-designer/web/styles.css`, which an app imports
43
+ after this file. samples is monorepo-only (in-repo sample build), a no-op elsewhere.
44
+
45
+ The published packages ship compiled dist (class names survive as string
46
+ literals in the .js), so every src line has a dist twin; src stays for
47
+ the workspace and for packages that still publish source. */
48
+ @source "./**/*.{ts,tsx}";
49
+ @source "../**/*.{ts,tsx}";
50
+ @source "../../dist/**/*.js";
51
+ @source "../../../bundled-features/src/**/*.{ts,tsx}";
52
+ @source "../../../bundled-features/dist/**/*.js";
53
+ @source "../../../kumiko-bundled-features/src/**/*.{ts,tsx}";
54
+ @source "../../../kumiko-bundled-features/dist/**/*.js";
55
+ @source "../../../../samples/**/src/**/*.{ts,tsx}";
56
+ /* In the monorepo `tsc --build` emits composite output (incl. compiled tests
57
+ and stale files of deleted components) into dist; scanning it would make the
58
+ CSS depend on whether a build ran before. Published dist has no __tests__. */
59
+ @source not "../../dist/**/__tests__/**";
60
+ @source not "../../../bundled-features/dist/**/__tests__/**";
61
+ @source not "../../../kumiko-bundled-features/dist/**/__tests__/**";
62
+
63
+ /* Dark-Mode via class-selector (nicht media). Erlaubt JS-Toggle
64
+ und überschreibt System-Preference wenn die App will. */
65
+ @custom-variant dark (&:where(.dark, .dark *));
66
+
67
+ @theme {
68
+ /* Dark-Mode (Default), warm-neutral. Card liegt über dem Seitenhintergrund,
69
+ "abgesenkt" (muted/secondary/accent) darüber, so trennen Flächenfarben
70
+ statt nur Border + Schatten. Kontrast der Text-Rollen prüft
71
+ __tests__/token-contrast.test.ts. Primary ist der Text-Ton auf Fläche;
72
+ Apps überschreiben ihn mit der eigenen Brand. */
73
+ --color-background: #121211;
74
+ --color-foreground: #ecebe7;
75
+ --color-foreground-secondary: #c2c0b9;
76
+ --color-foreground-disabled: #74726c;
77
+ --color-card: #1a1a19;
78
+ --color-card-foreground: #ecebe7;
79
+ --color-popover: #1a1a19;
80
+ --color-popover-foreground: #ecebe7;
81
+ --color-primary: #ecebe7;
82
+ --color-primary-foreground: #1a1a19;
83
+ --color-secondary: #232321;
84
+ --color-secondary-foreground: #ecebe7;
85
+ --color-muted: #232321;
86
+ --color-muted-foreground: #a3a19a;
87
+ --color-accent: #232321;
88
+ --color-accent-foreground: #ecebe7;
89
+ --color-destructive: #b8483d;
90
+ --color-destructive-foreground: #ffffff;
91
+ --color-border: #34332f;
92
+ --color-border-strong: #484641;
93
+ --color-border-row: #2a2926;
94
+ /* Rahmen von Bedienelementen (Input, Checkbox): heller als die Trennlinien,
95
+ damit das Element als Ziel erkennbar bleibt. */
96
+ --color-input: #7c7970;
97
+ --color-ring: #ecebe7;
98
+
99
+ /* Sidebar-Familie Dark. Eigene Werte (KEIN Alias auf background). */
100
+ --color-sidebar: #121211;
101
+ --color-sidebar-foreground: #ecebe7;
102
+ --color-sidebar-primary: #ecebe7;
103
+ --color-sidebar-primary-foreground: #1a1a19;
104
+ --color-sidebar-accent: #2a2926;
105
+ --color-sidebar-accent-foreground: #ecebe7;
106
+ --color-sidebar-muted: #a3a19a;
107
+ --color-sidebar-input: #1f1f1d;
108
+ --color-sidebar-border: #34332f;
109
+ --color-sidebar-ring: #ecebe7;
110
+
111
+ /* Radius — Bedienelemente nutzen rounded-md = 6px, Pillen rounded-full. Skala
112
+ wird per calc vom Basiswert abgeleitet (shadcn-Konvention). */
113
+ --radius: 0.5rem;
114
+ --radius-sm: calc(var(--radius) - 4px);
115
+ --radius-md: calc(var(--radius) - 2px);
116
+ --radius-lg: var(--radius);
117
+ --radius-xl: calc(var(--radius) + 4px);
118
+
119
+ /* Semantische Status-Farben (Widgets: StatusBadge, Charts, StatCard-Tones).
120
+ `status-X` ist die Textfarbe, `status-X-surface` die Fläche dahinter
121
+ (Kontrast >= 4.5:1, im Test geprüft). @theme generiert die Utilities
122
+ (text-status-ok, bg-status-ok-surface, …). Dark-Werte; Light-Overrides
123
+ unten. Apps überschreiben in ihrer styles.css. */
124
+ --color-status-ok: #86d39f;
125
+ --color-status-ok-surface: #173322;
126
+ --color-status-warn: #edbe6a;
127
+ --color-status-warn-surface: #3a2a10;
128
+ --color-status-bad: #f3a89f;
129
+ --color-status-bad-surface: #3b1d1a;
130
+ --color-status-critical: #ffb4aa;
131
+ --color-status-critical-surface: #4a1a16;
132
+ --color-status-neutral: #c2c0b9;
133
+ --color-status-neutral-surface: #2a2926;
134
+ --color-status-active: #7fb3c9;
135
+ --color-status-active-surface: #14303c;
136
+
137
+ /* JSON-Syntax-Highlighting (JsonView). Eigene, gedämpfte Palette statt der
138
+ Status-Ampel — ein `false` oder eine Zahl ist kein Fehler-/Warn-Signal.
139
+ Dark-Werte; Light-Overrides unten. Kontrast gegen bg-muted geprüft (>=6:1
140
+ in beiden Themes). */
141
+ --color-syntax-key: hsl(210 15% 75%);
142
+ --color-syntax-string: hsl(150 25% 60%);
143
+ --color-syntax-number: hsl(35 40% 65%);
144
+ --color-syntax-literal: hsl(270 25% 70%);
145
+
146
+ /* Offer surface (PromoPanel): a dark block in both modes, so an upsell never
147
+ reads like an info or error banner. accent = eyebrow + call to action. */
148
+ --color-promo: hsl(0 0% 12%);
149
+ --color-promo-foreground: hsl(0 0% 98%);
150
+ --color-promo-accent: hsl(0 0% 98%);
151
+ --color-promo-accent-foreground: hsl(0 0% 9%);
152
+
153
+ /* IBM Plex, ausgeliefert unter /assets/kumiko/fonts (siehe @font-face unten).
154
+ Apps überschreiben --font-sans/--font-mono (createThemePlugin). */
155
+ --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
156
+ --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
157
+ --font-heading: var(--font-sans);
158
+ }
159
+
160
+ /* Absoluter Same-Origin-Pfad mit Absicht: das CSS wird aus einem temp-dir
161
+ (dev) bzw. als gehashtes dist/assets/styles-*.css (prod) ausgeliefert, ein
162
+ relatives url() würde dort 404en. data:-URIs scheiden aus, weil Apps mit
163
+ `font-src 'self'` laufen. Dev-Server und Prod-Build liefern die Dateien
164
+ unter diesem Präfix aus (server-runtime/renderer-web-fonts.ts). */
165
+ @font-face {
166
+ font-family: "IBM Plex Sans";
167
+ font-style: normal;
168
+ font-weight: 400;
169
+ font-display: swap;
170
+ src: url("/assets/kumiko/fonts/ibm-plex-sans-latin-400.woff2") format("woff2");
171
+ unicode-range:
172
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
173
+ }
174
+
175
+ @font-face {
176
+ font-family: "IBM Plex Sans";
177
+ font-style: normal;
178
+ font-weight: 500;
179
+ font-display: swap;
180
+ src: url("/assets/kumiko/fonts/ibm-plex-sans-latin-500.woff2") format("woff2");
181
+ unicode-range:
182
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
183
+ }
184
+
185
+ @font-face {
186
+ font-family: "IBM Plex Sans";
187
+ font-style: normal;
188
+ font-weight: 600;
189
+ font-display: swap;
190
+ src: url("/assets/kumiko/fonts/ibm-plex-sans-latin-600.woff2") format("woff2");
191
+ unicode-range:
192
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
193
+ }
194
+
195
+ @font-face {
196
+ font-family: "IBM Plex Sans";
197
+ font-style: normal;
198
+ font-weight: 400;
199
+ font-display: swap;
200
+ src: url("/assets/kumiko/fonts/ibm-plex-sans-latin-ext-400.woff2") format("woff2");
201
+ unicode-range:
202
+ U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
203
+ }
204
+
205
+ @font-face {
206
+ font-family: "IBM Plex Sans";
207
+ font-style: normal;
208
+ font-weight: 500;
209
+ font-display: swap;
210
+ src: url("/assets/kumiko/fonts/ibm-plex-sans-latin-ext-500.woff2") format("woff2");
211
+ unicode-range:
212
+ U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
213
+ }
214
+
215
+ @font-face {
216
+ font-family: "IBM Plex Sans";
217
+ font-style: normal;
218
+ font-weight: 600;
219
+ font-display: swap;
220
+ src: url("/assets/kumiko/fonts/ibm-plex-sans-latin-ext-600.woff2") format("woff2");
221
+ unicode-range:
222
+ U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
223
+ }
224
+
225
+ @font-face {
226
+ font-family: "IBM Plex Mono";
227
+ font-style: normal;
228
+ font-weight: 400;
229
+ font-display: swap;
230
+ src: url("/assets/kumiko/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
231
+ unicode-range:
232
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
233
+ }
234
+
235
+ @font-face {
236
+ font-family: "IBM Plex Mono";
237
+ font-style: normal;
238
+ font-weight: 500;
239
+ font-display: swap;
240
+ src: url("/assets/kumiko/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
241
+ unicode-range:
242
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
243
+ }
244
+
245
+ @font-face {
246
+ font-family: "IBM Plex Mono";
247
+ font-style: normal;
248
+ font-weight: 400;
249
+ font-display: swap;
250
+ src: url("/assets/kumiko/fonts/ibm-plex-mono-latin-ext-400.woff2") format("woff2");
251
+ unicode-range:
252
+ U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
253
+ }
254
+
255
+ @font-face {
256
+ font-family: "IBM Plex Mono";
257
+ font-style: normal;
258
+ font-weight: 500;
259
+ font-display: swap;
260
+ src: url("/assets/kumiko/fonts/ibm-plex-mono-latin-ext-500.woff2") format("woff2");
261
+ unicode-range:
262
+ U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
263
+ }
264
+
265
+ /* Card chrome defaults (reproduce p-6 / rounded-xl / shadow-sm). In the base
266
+ layer so the theme plugin (createThemePlugin, emitted later into the same
267
+ layer) and an app's plain :root both override them; plain :root rather than
268
+ @theme so they are always emitted. */
269
+ @layer base {
270
+ :root {
271
+ /* Native controls (date input, scrollbars, select) follow the theme. */
272
+ color-scheme: dark;
273
+ --card-padding: 1.5rem;
274
+ --card-radius: var(--radius-xl);
275
+ --card-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
276
+ }
277
+ }
278
+
279
+ :root {
280
+ --kumiko-grid-row-h: 2.5rem;
281
+ --kumiko-grid-gap: 1rem;
282
+ /* 0 = no ShellHeader mounted (e.g. a Drawer used outside a shell) — a
283
+ consumer offsetting by this variable then gets today's edge-to-edge
284
+ behavior for free. */
285
+ --shell-header-height: 0px;
286
+ }
287
+
288
+ /* Mirrors ShellHeader's own h-14, kept in CSS (not a React state) so a Drawer
289
+ rendered into a portal (outside ShellHeader's DOM subtree) still resolves
290
+ the right value from this shared :root ancestor. The icon-rail rule stays
291
+ so the header height remains defined per collapse state. */
292
+ :root:has([data-kumiko-layout="shell-header"]) {
293
+ --shell-header-height: 3.5rem;
294
+ }
295
+ :root:has([data-kumiko-layout="shell-header"]):has([data-collapsible="icon"]) {
296
+ --shell-header-height: 3.5rem;
297
+ }
298
+
299
+ /* A non-modal side Drawer publishes the width it occupies (widgets/drawer.tsx); the content area
300
+ narrows by that much instead of sitting underneath. Only <main>: the drawer starts below the
301
+ header, and the pinned form footer lives inside <main>. No transition: the sheet slides by
302
+ transform, its width never animates. */
303
+ [data-slot="sidebar-inset"] > main {
304
+ padding-inline-end: var(--kumiko-drawer-inset-right, 0px);
305
+ padding-inline-start: var(--kumiko-drawer-inset-left, 0px);
306
+ }
307
+
308
+ /* Light-Mode-Overrides — aktiv wenn `<html>` KEINE `.dark` Klasse
309
+ hat. Dark ist der Default (siehe @theme oben); toggled der User
310
+ auf light, greifen diese Werte. */
311
+ @layer base {
312
+ :root:not(.dark) {
313
+ color-scheme: light;
314
+ /* Light-Mode, warm-neutral. Seite (#F3F2EE) getönt, Card reines Weiß —
315
+ die Card hebt sich von der Seite ab statt zu verschwimmen; "abgesenkt"
316
+ (muted/secondary/accent) für Tabellenkopf, Eingabefläche, Hover.
317
+ Primary ist der Text-Ton auf Fläche; Apps überschreiben ihn mit Brand. */
318
+ --color-background: #f3f2ee;
319
+ --color-foreground: #1a1c1e;
320
+ --color-foreground-secondary: #474b50;
321
+ --color-foreground-disabled: #8a8e93;
322
+ --color-card: #ffffff;
323
+ --color-card-foreground: #1a1c1e;
324
+ --color-popover: #ffffff;
325
+ --color-popover-foreground: #1a1c1e;
326
+ --color-primary: #1a1c1e;
327
+ --color-primary-foreground: #ffffff;
328
+ --color-secondary: #f6f5f1;
329
+ --color-secondary-foreground: #1a1c1e;
330
+ --color-muted: #f6f5f1;
331
+ --color-muted-foreground: #5f6368;
332
+ --color-accent: #f6f5f1;
333
+ --color-accent-foreground: #1a1c1e;
334
+ --color-destructive: #9b2c23;
335
+ --color-destructive-foreground: #ffffff;
336
+ --color-border: #e2e0d9;
337
+ --color-border-strong: #cfccc3;
338
+ --color-border-row: #eceae4;
339
+ --color-input: #908d85;
340
+ --color-ring: #1a1c1e;
341
+
342
+ /* Sidebar-Familie Light: Rail auf Seitenfarbe, aktiver Eintrag eine Stufe
343
+ dunkler. */
344
+ --color-sidebar: #f3f2ee;
345
+ --color-sidebar-foreground: #1a1c1e;
346
+ --color-sidebar-primary: #1a1c1e;
347
+ --color-sidebar-primary-foreground: #ffffff;
348
+ --color-sidebar-accent: #e9e7e1;
349
+ --color-sidebar-accent-foreground: #1a1c1e;
350
+ --color-sidebar-muted: #5f6368;
351
+ --color-sidebar-input: #ffffff;
352
+ --color-sidebar-border: #e2e0d9;
353
+ --color-sidebar-ring: #1a1c1e;
354
+
355
+ /* Status-Farben Light — Text dunkel auf heller Tönung. */
356
+ --color-status-ok: #1d5e36;
357
+ --color-status-ok-surface: #e6f2ea;
358
+ --color-status-warn: #7a4b00;
359
+ --color-status-warn-surface: #fbf0d9;
360
+ --color-status-bad: #9b2c23;
361
+ --color-status-bad-surface: #f9e5e2;
362
+ --color-status-critical: #7f1d16;
363
+ --color-status-critical-surface: #f4d3ce;
364
+ --color-status-neutral: #474b50;
365
+ --color-status-neutral-surface: #f0eee8;
366
+ --color-status-active: #205265;
367
+ --color-status-active-surface: #e1edf2;
368
+
369
+ /* JSON-Syntax-Highlighting Light — dunkler/gesättigter, Kontrast gegen
370
+ bg-muted geprüft (>=6:1). */
371
+ --color-syntax-key: hsl(210 20% 35%);
372
+ --color-syntax-string: hsl(150 30% 30%);
373
+ --color-syntax-number: hsl(30 45% 32%);
374
+ --color-syntax-literal: hsl(270 30% 40%);
375
+
376
+ --color-promo: hsl(0 0% 9%);
377
+ --color-promo-foreground: hsl(0 0% 98%);
378
+ --color-promo-accent: hsl(0 0% 98%);
379
+ --color-promo-accent-foreground: hsl(0 0% 9%);
380
+ }
381
+
382
+ * {
383
+ border-color: var(--color-border);
384
+ }
385
+
386
+ body {
387
+ background-color: var(--color-background);
388
+ color: var(--color-foreground);
389
+ /* Über den Token, nicht hardcodiert: so greifen App-Overrides und
390
+ createThemePlugin. Kein body-weites tabular-nums: es macht den Bindestrich
391
+ ziffernbreit; Zahlenspalten setzen die Utility selbst. */
392
+ font-family: var(--font-sans);
393
+ font-size: 14px;
394
+ line-height: 1.4;
395
+ margin: 0;
396
+ -webkit-font-smoothing: antialiased;
397
+ -moz-osx-font-smoothing: grayscale;
398
+ }
399
+
400
+ @media (max-width: 767px) {
401
+ body {
402
+ font-size: 15px;
403
+ }
404
+ }
405
+ }