@slotform/react-ui 0.0.0-stage → 0.1.1

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 (280) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +44 -2
  3. package/dist/density.d.ts +4 -0
  4. package/dist/density.d.ts.map +1 -0
  5. package/dist/density.js +8 -0
  6. package/dist/density.js.map +1 -0
  7. package/dist/index.d.ts +400 -0
  8. package/dist/index.d.ts.map +1 -0
  9. package/dist/index.js +388 -0
  10. package/dist/index.js.map +1 -0
  11. package/dist/node/canvas.d.ts +3 -0
  12. package/dist/node/canvas.d.ts.map +1 -0
  13. package/dist/node/canvas.js +13 -0
  14. package/dist/node/canvas.js.map +1 -0
  15. package/dist/node/codegen.d.ts +6 -0
  16. package/dist/node/codegen.d.ts.map +1 -0
  17. package/dist/node/codegen.js +70 -0
  18. package/dist/node/codegen.js.map +1 -0
  19. package/dist/node/css-escape.d.ts +8 -0
  20. package/dist/node/css-escape.d.ts.map +1 -0
  21. package/dist/node/css-escape.js +12 -0
  22. package/dist/node/css-escape.js.map +1 -0
  23. package/dist/node/fonts.d.ts +6 -0
  24. package/dist/node/fonts.d.ts.map +1 -0
  25. package/dist/node/fonts.js +219 -0
  26. package/dist/node/fonts.js.map +1 -0
  27. package/dist/node/lint.d.ts +3 -0
  28. package/dist/node/lint.d.ts.map +1 -0
  29. package/dist/node/lint.js +23 -0
  30. package/dist/node/lint.js.map +1 -0
  31. package/dist/node/mode.d.ts +9 -0
  32. package/dist/node/mode.d.ts.map +1 -0
  33. package/dist/node/mode.js +38 -0
  34. package/dist/node/mode.js.map +1 -0
  35. package/dist/node/theme.d.ts +13 -0
  36. package/dist/node/theme.d.ts.map +1 -0
  37. package/dist/node/theme.js +160 -0
  38. package/dist/node/theme.js.map +1 -0
  39. package/dist/types.d.ts +250 -0
  40. package/dist/types.d.ts.map +1 -0
  41. package/dist/types.js +80 -0
  42. package/dist/types.js.map +1 -0
  43. package/guide/acts.md +61 -0
  44. package/guide/audio.md +77 -0
  45. package/guide/blocks.md +82 -0
  46. package/guide/canvas-choosing.md +34 -0
  47. package/guide/canvas-editing.md +36 -0
  48. package/guide/canvas-layout.md +46 -0
  49. package/guide/canvas-opening.md +47 -0
  50. package/guide/canvas-overview.md +24 -0
  51. package/guide/canvas-states.md +37 -0
  52. package/guide/canvas-view.md +46 -0
  53. package/guide/canvas.md +94 -0
  54. package/guide/containers.md +60 -0
  55. package/guide/content.md +40 -0
  56. package/guide/controls.md +89 -0
  57. package/guide/density.md +48 -0
  58. package/guide/dock.md +42 -0
  59. package/guide/drag.md +38 -0
  60. package/guide/figures.md +25 -0
  61. package/guide/forms.md +82 -0
  62. package/guide/pane-bar.md +11 -0
  63. package/guide/pane.md +50 -0
  64. package/guide/reference.md +74 -0
  65. package/guide/rules.md +109 -0
  66. package/guide/section.md +29 -0
  67. package/guide/shell.md +26 -0
  68. package/guide/shots.md +37 -0
  69. package/guide/sidebar.md +30 -0
  70. package/guide/table.md +119 -0
  71. package/lint/no-arbitrary-value.grit +9 -0
  72. package/lint/no-class-on-component.grit +12 -0
  73. package/lint/no-density.grit +8 -0
  74. package/lint/no-host-look.grit +38 -0
  75. package/lint/no-img.grit +10 -0
  76. package/lint/no-navigate-act.grit +22 -0
  77. package/lint/no-raw-style.grit +8 -0
  78. package/package.json +150 -3
  79. package/src/density.ts +9 -0
  80. package/src/index.ts +503 -0
  81. package/src/node/canvas.ts +14 -0
  82. package/src/node/codegen.ts +100 -0
  83. package/src/node/css-escape.ts +27 -0
  84. package/src/node/fonts.ts +260 -0
  85. package/src/node/lint.ts +25 -0
  86. package/src/node/mode.ts +64 -0
  87. package/src/node/theme.ts +232 -0
  88. package/src/types.ts +120 -0
  89. package/src/ui/atoms/avatar/base.tsx +42 -0
  90. package/src/ui/atoms/button/glyph.tsx +244 -0
  91. package/src/ui/atoms/button/link.tsx +81 -0
  92. package/src/ui/atoms/button/look.ts +32 -0
  93. package/src/ui/atoms/button/reason.tsx +69 -0
  94. package/src/ui/atoms/chip/base.tsx +85 -0
  95. package/src/ui/atoms/count/base.tsx +27 -0
  96. package/src/ui/atoms/icon/index.tsx +51 -0
  97. package/src/ui/atoms/message/waiting.tsx +19 -0
  98. package/src/ui/atoms/prose/painted.tsx +35 -0
  99. package/src/ui/atoms/row/badges.tsx +226 -0
  100. package/src/ui/atoms/row/leading.tsx +166 -0
  101. package/src/ui/atoms/row/lock.tsx +17 -0
  102. package/src/ui/atoms/row/marks.tsx +79 -0
  103. package/src/ui/atoms/section/card.tsx +27 -0
  104. package/src/ui/atoms/spinner/index.tsx +42 -0
  105. package/src/ui/atoms/status/base.tsx +51 -0
  106. package/src/ui/atoms/status/change.tsx +29 -0
  107. package/src/ui/atoms/status/dot.tsx +45 -0
  108. package/src/ui/atoms/switch/checkbox.tsx +121 -0
  109. package/src/ui/atoms/turn.tsx +28 -0
  110. package/src/ui/components/action-bar/base.tsx +276 -0
  111. package/src/ui/components/action-bar/index.tsx +20 -0
  112. package/src/ui/components/avatar/index.tsx +21 -0
  113. package/src/ui/components/banner/index.tsx +207 -0
  114. package/src/ui/components/banner/pending.tsx +109 -0
  115. package/src/ui/components/bar-chart/index.tsx +701 -0
  116. package/src/ui/components/button/base.tsx +214 -0
  117. package/src/ui/components/button/face.tsx +84 -0
  118. package/src/ui/components/button/index.tsx +206 -0
  119. package/src/ui/components/canvas/connection.tsx +26 -0
  120. package/src/ui/components/canvas/edges.tsx +116 -0
  121. package/src/ui/components/canvas/elk.ts +260 -0
  122. package/src/ui/components/canvas/floor.ts +173 -0
  123. package/src/ui/components/canvas/geometry.ts +772 -0
  124. package/src/ui/components/canvas/ground.tsx +97 -0
  125. package/src/ui/components/canvas/group.tsx +156 -0
  126. package/src/ui/components/canvas/hit.ts +40 -0
  127. package/src/ui/components/canvas/index.tsx +497 -0
  128. package/src/ui/components/canvas/label.tsx +53 -0
  129. package/src/ui/components/canvas/layout.ts +543 -0
  130. package/src/ui/components/canvas/lift.ts +272 -0
  131. package/src/ui/components/canvas/look.ts +129 -0
  132. package/src/ui/components/canvas/node.tsx +689 -0
  133. package/src/ui/components/canvas/open.ts +243 -0
  134. package/src/ui/components/canvas/opening.ts +240 -0
  135. package/src/ui/components/canvas/view.ts +621 -0
  136. package/src/ui/components/canvas/viewport.ts +417 -0
  137. package/src/ui/components/canvas/zoom.tsx +113 -0
  138. package/src/ui/components/card/index.tsx +20 -0
  139. package/src/ui/components/chip/index.tsx +24 -0
  140. package/src/ui/components/code/frame.ts +2 -0
  141. package/src/ui/components/code/index.tsx +234 -0
  142. package/src/ui/components/columns/index.tsx +51 -0
  143. package/src/ui/components/count/index.tsx +17 -0
  144. package/src/ui/components/diff/index.tsx +249 -0
  145. package/src/ui/components/diff/word.tsx +104 -0
  146. package/src/ui/components/dock/index.tsx +262 -0
  147. package/src/ui/components/file-row/index.tsx +213 -0
  148. package/src/ui/components/form/base.tsx +280 -0
  149. package/src/ui/components/form/derive.tsx +269 -0
  150. package/src/ui/components/form/index.tsx +49 -0
  151. package/src/ui/components/form/saved.tsx +39 -0
  152. package/src/ui/components/form-field/index.tsx +658 -0
  153. package/src/ui/components/gallery/index.tsx +83 -0
  154. package/src/ui/components/gate/index.tsx +183 -0
  155. package/src/ui/components/image/base.tsx +245 -0
  156. package/src/ui/components/image/index.tsx +58 -0
  157. package/src/ui/components/input/base.tsx +246 -0
  158. package/src/ui/components/input/code.tsx +108 -0
  159. package/src/ui/components/input/drop.ts +37 -0
  160. package/src/ui/components/input/file.tsx +154 -0
  161. package/src/ui/components/input/index.tsx +132 -0
  162. package/src/ui/components/input/prose.tsx +107 -0
  163. package/src/ui/components/input/refusal.tsx +30 -0
  164. package/src/ui/components/item-header/base.tsx +410 -0
  165. package/src/ui/components/menu/base.tsx +319 -0
  166. package/src/ui/components/message/attachments.tsx +101 -0
  167. package/src/ui/components/message/base.tsx +266 -0
  168. package/src/ui/components/message-input/index.tsx +377 -0
  169. package/src/ui/components/missing/base.tsx +45 -0
  170. package/src/ui/components/pane/head.tsx +399 -0
  171. package/src/ui/components/pane/index.tsx +325 -0
  172. package/src/ui/components/picker/base.tsx +1551 -0
  173. package/src/ui/components/picker/index.tsx +224 -0
  174. package/src/ui/components/picker/list.tsx +423 -0
  175. package/src/ui/components/picker/segments.tsx +183 -0
  176. package/src/ui/components/prose/index.tsx +259 -0
  177. package/src/ui/components/qr-code/index.tsx +65 -0
  178. package/src/ui/components/row/acts.tsx +126 -0
  179. package/src/ui/components/row/fact.tsx +54 -0
  180. package/src/ui/components/row/index.tsx +1370 -0
  181. package/src/ui/components/row/progress.tsx +38 -0
  182. package/src/ui/components/row/status.tsx +54 -0
  183. package/src/ui/components/row/title.ts +7 -0
  184. package/src/ui/components/rules/index.tsx +290 -0
  185. package/src/ui/components/section/band.tsx +39 -0
  186. package/src/ui/components/section/head.tsx +267 -0
  187. package/src/ui/components/section/index.tsx +409 -0
  188. package/src/ui/components/section/rows.tsx +356 -0
  189. package/src/ui/components/sheet/base.tsx +272 -0
  190. package/src/ui/components/sheet/confirm.tsx +79 -0
  191. package/src/ui/components/sheet/docked.tsx +218 -0
  192. package/src/ui/components/sheet/form.tsx +76 -0
  193. package/src/ui/components/sheet/head.tsx +120 -0
  194. package/src/ui/components/sheet/index.tsx +45 -0
  195. package/src/ui/components/sheet/layer.tsx +168 -0
  196. package/src/ui/components/sheet/outlet.tsx +58 -0
  197. package/src/ui/components/sheet/task.tsx +41 -0
  198. package/src/ui/components/shell/cut.tsx +116 -0
  199. package/src/ui/components/shell/drag.tsx +45 -0
  200. package/src/ui/components/shell/host.tsx +71 -0
  201. package/src/ui/components/shell/index.tsx +737 -0
  202. package/src/ui/components/shell/panes.tsx +76 -0
  203. package/src/ui/components/shell/preview.ts +230 -0
  204. package/src/ui/components/shell/rail.tsx +163 -0
  205. package/src/ui/components/shell/row.ts +11 -0
  206. package/src/ui/components/shell/switcher.tsx +143 -0
  207. package/src/ui/components/shell/tree.tsx +252 -0
  208. package/src/ui/components/slider/base.tsx +139 -0
  209. package/src/ui/components/slider/index.tsx +57 -0
  210. package/src/ui/components/stages/index.tsx +198 -0
  211. package/src/ui/components/stats/count-links.tsx +47 -0
  212. package/src/ui/components/stats/index.tsx +203 -0
  213. package/src/ui/components/stats/meter.tsx +213 -0
  214. package/src/ui/components/stats/parts.ts +10 -0
  215. package/src/ui/components/step-count/index.tsx +45 -0
  216. package/src/ui/components/switch/base.tsx +86 -0
  217. package/src/ui/components/switch/index.tsx +38 -0
  218. package/src/ui/components/table/columns.tsx +131 -0
  219. package/src/ui/components/table/index.tsx +2215 -0
  220. package/src/ui/components/text/index.tsx +37 -0
  221. package/src/ui/components/thread/index.tsx +503 -0
  222. package/src/ui/components/thread/latest.tsx +59 -0
  223. package/src/ui/components/toast/index.tsx +113 -0
  224. package/src/ui/components/toast/layer.tsx +26 -0
  225. package/src/ui/components/toolbar/filters.tsx +161 -0
  226. package/src/ui/components/toolbar/index.tsx +125 -0
  227. package/src/ui/components/waveform/index.tsx +205 -0
  228. package/src/ui/globals.css +427 -0
  229. package/src/ui/lib/act.ts +60 -0
  230. package/src/ui/lib/age.ts +49 -0
  231. package/src/ui/lib/bound.ts +16 -0
  232. package/src/ui/lib/canvas-layout.ts +11 -0
  233. package/src/ui/lib/caret.ts +9 -0
  234. package/src/ui/lib/chip-lines.ts +3 -0
  235. package/src/ui/lib/closed.ts +8 -0
  236. package/src/ui/lib/code.tsx +184 -0
  237. package/src/ui/lib/columns.ts +39 -0
  238. package/src/ui/lib/commit.ts +24 -0
  239. package/src/ui/lib/container.ts +112 -0
  240. package/src/ui/lib/copy.ts +29 -0
  241. package/src/ui/lib/drag.ts +575 -0
  242. package/src/ui/lib/empty.tsx +85 -0
  243. package/src/ui/lib/field.ts +39 -0
  244. package/src/ui/lib/focus.ts +175 -0
  245. package/src/ui/lib/folds.ts +67 -0
  246. package/src/ui/lib/follow.ts +220 -0
  247. package/src/ui/lib/form.ts +19 -0
  248. package/src/ui/lib/guards.ts +38 -0
  249. package/src/ui/lib/heading.ts +14 -0
  250. package/src/ui/lib/ink.ts +26 -0
  251. package/src/ui/lib/lang.ts +7 -0
  252. package/src/ui/lib/leave.ts +14 -0
  253. package/src/ui/lib/lockup.tsx +145 -0
  254. package/src/ui/lib/measure.ts +22 -0
  255. package/src/ui/lib/media.ts +63 -0
  256. package/src/ui/lib/modality.ts +69 -0
  257. package/src/ui/lib/moment.ts +13 -0
  258. package/src/ui/lib/more.tsx +76 -0
  259. package/src/ui/lib/navigate.ts +210 -0
  260. package/src/ui/lib/noop.ts +3 -0
  261. package/src/ui/lib/not-found.tsx +40 -0
  262. package/src/ui/lib/paint.tsx +55 -0
  263. package/src/ui/lib/parts-line.tsx +54 -0
  264. package/src/ui/lib/picked.ts +18 -0
  265. package/src/ui/lib/player-store.ts +38 -0
  266. package/src/ui/lib/player.ts +139 -0
  267. package/src/ui/lib/portal.ts +12 -0
  268. package/src/ui/lib/read.tsx +269 -0
  269. package/src/ui/lib/region.tsx +49 -0
  270. package/src/ui/lib/reorder.ts +154 -0
  271. package/src/ui/lib/rest.ts +16 -0
  272. package/src/ui/lib/saved.ts +29 -0
  273. package/src/ui/lib/scramble.tsx +147 -0
  274. package/src/ui/lib/scrolls.ts +70 -0
  275. package/src/ui/lib/style.ts +6 -0
  276. package/src/ui/lib/swap.tsx +107 -0
  277. package/src/ui/lib/toast.ts +39 -0
  278. package/src/ui/lib/walk-classes.ts +16 -0
  279. package/src/ui/lib/window.tsx +376 -0
  280. package/src/ui/worker.d.ts +4 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 fcalell
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,45 @@
1
- # Temporary Holding Version
1
+ # @slotform/react-ui
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The web half of the Slotform design system: the CLI plugin that renders `@slotform/ui-core`'s
4
+ contract into `.slotform/app.css` on Tailwind v4, loads the fonts, sets the mode before first paint,
5
+ and mounts the words.
6
+
7
+ How it is built: [docs/architecture/plugins/react-ui.md](../../docs/architecture/plugins/react-ui.md).
8
+
9
+ ## Install
10
+
11
+ ```bash
12
+ slotform add react-ui
13
+ ```
14
+
15
+ Peer dependencies: `react` and `react-dom` `^19.2.0`. The config needs `vite()` and `react()`
16
+ beside it. `tailwindcss` and `@tailwindcss/vite` are optional peers that `reactUi()` writes into the
17
+ app ([From npm](../../docs/architecture/consumer-project.md#from-npm)).
18
+
19
+ ```ts
20
+ // slotform.config.ts
21
+ import { defineConfig } from "@slotform/cli";
22
+ import { react } from "@slotform/react";
23
+ import { reactUi } from "@slotform/react-ui";
24
+ import { vite } from "@slotform/vite";
25
+
26
+ export default defineConfig({
27
+ app: { name: "my-app", domain: "example.com" },
28
+ plugins: [vite(), react(), reactUi()],
29
+ });
30
+ ```
31
+
32
+ ## Guide
33
+
34
+ How to build on the plugin lives in `guide/`, indexed into a consumer's `.slotform/guide.md`:
35
+ [`rules.md`](./guide/rules.md), what every web `.tsx` follows;
36
+ [`reference.md`](./guide/reference.md), the components' subpaths, the options and the modes;
37
+ [`density.md`](./guide/density.md), density and the page container; a page per component or group of
38
+ components, what each takes (starting from [`shell.md`](./guide/shell.md) and [`pane.md`](./guide/pane.md));
39
+ [`canvas.md`](./guide/canvas.md) and its pages, a graph of nodes and edges; and
40
+ [`audio.md`](./guide/audio.md), the player. The full list, with when to open each page, is the plugin's
41
+ `guide` in `src/index.ts`. The screen recipe and the design standard are ui-core's pages.
42
+
43
+ ## License
44
+
45
+ MIT
@@ -0,0 +1,4 @@
1
+ export declare const DESKTOP_MEDIA: string;
2
+ export declare const TOUCH_MEDIA: string;
3
+ export declare const ROOM_SCOPE = "[data-density=\"room\"]";
4
+ //# sourceMappingURL=density.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"density.d.ts","sourceRoot":"","sources":["../src/density.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,QAA6D,CAAC;AACxF,eAAO,MAAM,WAAW,QAA2B,CAAC;AAIpD,eAAO,MAAM,UAAU,4BAA0B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { BREAKPOINT_PX } from "@slotform/ui-core/tokens";
2
+ // The density rule, one query for the layer, `touch:` and `useTouch`: docs/architecture/plugins/react-ui.md, "Density".
3
+ export const DESKTOP_MEDIA = `(pointer: fine) and (width >= ${BREAKPOINT_PX.tablet}px)`;
4
+ export const TOUCH_MEDIA = `not (${DESKTOP_MEDIA})`;
5
+ // The room set draws under the attribute, on the root as a pin or on the
6
+ // `Panes` that declares its `distance`: no query detects the viewing distance.
7
+ export const ROOM_SCOPE = '[data-density="room"]';
8
+ //# sourceMappingURL=density.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"density.js","sourceRoot":"","sources":["../src/density.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,wHAAwH;AACxH,MAAM,CAAC,MAAM,aAAa,GAAG,iCAAiC,aAAa,CAAC,MAAM,KAAK,CAAC;AACxF,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,aAAa,GAAG,CAAC;AAEpD,yEAAyE;AACzE,+EAA+E;AAC/E,MAAM,CAAC,MAAM,UAAU,GAAG,uBAAuB,CAAC"}
@@ -0,0 +1,400 @@
1
+ export declare const reactUi: import("@slotform/cli").PluginFactory<"react-ui", {
2
+ fonts?: {
3
+ family: string;
4
+ specifier: string;
5
+ weight: string;
6
+ style: "italic" | "normal";
7
+ fallback: {
8
+ family: string;
9
+ ascentOverride: string;
10
+ descentOverride: string;
11
+ lineGapOverride: string;
12
+ sizeAdjust: string;
13
+ };
14
+ }[] | undefined;
15
+ theme?: {
16
+ hue?: {
17
+ accent?: number | undefined;
18
+ cast?: number | undefined;
19
+ } | undefined;
20
+ radius?: number | undefined;
21
+ size?: number | undefined;
22
+ fonts?: {
23
+ sans?: string | undefined;
24
+ mono?: string | undefined;
25
+ } | undefined;
26
+ defaultMode?: "dark" | "light" | undefined;
27
+ loading?: {
28
+ text?: "pulse" | "scramble" | undefined;
29
+ figure?: "pulse" | "scramble" | undefined;
30
+ id?: "pulse" | "scramble" | undefined;
31
+ } | undefined;
32
+ } | undefined;
33
+ words?: {
34
+ actFailed: string;
35
+ actions: string;
36
+ active: string;
37
+ add: string;
38
+ added: string;
39
+ arrange: string;
40
+ attach: string;
41
+ attention: string;
42
+ audioFiles: string;
43
+ back: string;
44
+ badFormat: string;
45
+ badLine: string;
46
+ breadcrumb: string;
47
+ cancel: string;
48
+ changed: string;
49
+ checkField: string;
50
+ checking: string;
51
+ choose: string;
52
+ chooseAll: string;
53
+ chooseFile: string;
54
+ chooseNone: string;
55
+ chosenNounOf: string;
56
+ chosenOf: string;
57
+ clearFilters: string;
58
+ close: string;
59
+ code: string;
60
+ collapse: string;
61
+ columns: string;
62
+ continue: string;
63
+ copied: string;
64
+ copy: string;
65
+ copyFailed: string;
66
+ countOver: string;
67
+ denied: string;
68
+ details: string;
69
+ discard: string;
70
+ discardEdit: string;
71
+ dismiss: string;
72
+ dockSidebar: string;
73
+ done: string;
74
+ download: string;
75
+ downloadFailed: string;
76
+ dragged: {
77
+ one: string;
78
+ other: string;
79
+ };
80
+ earlierLines: {
81
+ one: string;
82
+ other: string;
83
+ };
84
+ edit: string;
85
+ editUnsaved: string;
86
+ expand: string;
87
+ failed: string;
88
+ fewestCharacters: string;
89
+ files: string;
90
+ filters: string;
91
+ fit: string;
92
+ foldSidebar: string;
93
+ giveField: string;
94
+ idle: string;
95
+ imageFiles: string;
96
+ keepEditing: string;
97
+ latest: string;
98
+ leastNumber: string;
99
+ lessThan: string;
100
+ linesUnshown: string;
101
+ locked: string;
102
+ message: string;
103
+ missing: string;
104
+ missingNoun: string;
105
+ more: string;
106
+ moreFailed: string;
107
+ morePlaces: string;
108
+ moreThan: string;
109
+ mostCharacters: string;
110
+ mostNumber: string;
111
+ moveDown: string;
112
+ moveFirst: string;
113
+ moveLast: string;
114
+ moveUp: string;
115
+ mute: string;
116
+ next: string;
117
+ noMatches: string;
118
+ noOptions: string;
119
+ none: string;
120
+ notFound: string;
121
+ notifications: string;
122
+ nowhere: string;
123
+ off: string;
124
+ open: string;
125
+ optional: string;
126
+ pause: string;
127
+ photos: string;
128
+ pickFailed: string;
129
+ pickField: string;
130
+ pickValue: string;
131
+ places: string;
132
+ play: string;
133
+ playFailed: string;
134
+ player: string;
135
+ previous: string;
136
+ readEmpty: string;
137
+ readFailed: string;
138
+ readPaused: string;
139
+ readStale: string;
140
+ recommended: string;
141
+ remove: string;
142
+ removeSecret: string;
143
+ removed: string;
144
+ replace: string;
145
+ replyStopped: string;
146
+ required: string;
147
+ reset: string;
148
+ retry: string;
149
+ running: string;
150
+ save: string;
151
+ savedEndsIn: string;
152
+ search: string;
153
+ seek: string;
154
+ send: string;
155
+ showMore: string;
156
+ sort: string;
157
+ stale: string;
158
+ stepOf: string;
159
+ stop: string;
160
+ tabs: string;
161
+ textFiles: string;
162
+ typeValue: string;
163
+ unchanged: string;
164
+ unmute: string;
165
+ unshownLines: {
166
+ one: string;
167
+ other: string;
168
+ };
169
+ update: string;
170
+ updateFromStore: string;
171
+ updateRequired: string;
172
+ videoFiles: string;
173
+ volume: string;
174
+ waiting: string;
175
+ wholeNumber: string;
176
+ wrongType: string;
177
+ zoomIn: string;
178
+ zoomOut: string;
179
+ } | undefined;
180
+ }, {
181
+ readonly appCssImports: import("@slotform/cli").Slot<(string | {
182
+ url: string;
183
+ layer?: string | undefined;
184
+ supports?: string | undefined;
185
+ source?: "none" | undefined;
186
+ })[]>;
187
+ readonly appCssSources: import("@slotform/cli").Slot<string[]>;
188
+ readonly appCssBlocks: import("@slotform/cli").Slot<({
189
+ kind: "theme";
190
+ declarations: Record<string, string>;
191
+ } | {
192
+ kind: "utility";
193
+ name: string;
194
+ declarations: Record<string, string>;
195
+ } | {
196
+ kind: "variant";
197
+ name: string;
198
+ content: string;
199
+ })[]>;
200
+ readonly appCssLayers: import("@slotform/cli").Slot<{
201
+ name: string;
202
+ content: string;
203
+ }[]>;
204
+ readonly fonts: import("@slotform/cli").Slot<{
205
+ family: string;
206
+ specifier: string;
207
+ weight: string;
208
+ style: "italic" | "normal";
209
+ fallback: {
210
+ family: string;
211
+ ascentOverride: string;
212
+ descentOverride: string;
213
+ lineGapOverride: string;
214
+ sizeAdjust: string;
215
+ };
216
+ }[]>;
217
+ readonly resolvedTheme: import("@slotform/cli").Slot<import("@slotform/ui-core/derive").ResolvedTheme>;
218
+ readonly appCssSource: import("@slotform/cli").Slot<string | null>;
219
+ }, Record<string, never>, {
220
+ fonts?: {
221
+ family: string;
222
+ specifier: string;
223
+ weight: string;
224
+ style: "italic" | "normal";
225
+ fallback: {
226
+ family: string;
227
+ ascentOverride: string;
228
+ descentOverride: string;
229
+ lineGapOverride: string;
230
+ sizeAdjust: string;
231
+ };
232
+ }[] | undefined;
233
+ theme?: {
234
+ hue?: {
235
+ accent?: number | undefined;
236
+ cast?: number | undefined;
237
+ } | undefined;
238
+ radius?: number | undefined;
239
+ size?: number | undefined;
240
+ fonts?: {
241
+ sans?: string | undefined;
242
+ mono?: string | undefined;
243
+ } | undefined;
244
+ defaultMode?: "dark" | "light" | undefined;
245
+ loading?: {
246
+ text?: "pulse" | "scramble" | undefined;
247
+ figure?: "pulse" | "scramble" | undefined;
248
+ id?: "pulse" | "scramble" | undefined;
249
+ } | undefined;
250
+ } | undefined;
251
+ words?: {
252
+ actFailed: string;
253
+ actions: string;
254
+ active: string;
255
+ add: string;
256
+ added: string;
257
+ arrange: string;
258
+ attach: string;
259
+ attention: string;
260
+ audioFiles: string;
261
+ back: string;
262
+ badFormat: string;
263
+ badLine: string;
264
+ breadcrumb: string;
265
+ cancel: string;
266
+ changed: string;
267
+ checkField: string;
268
+ checking: string;
269
+ choose: string;
270
+ chooseAll: string;
271
+ chooseFile: string;
272
+ chooseNone: string;
273
+ chosenNounOf: string;
274
+ chosenOf: string;
275
+ clearFilters: string;
276
+ close: string;
277
+ code: string;
278
+ collapse: string;
279
+ columns: string;
280
+ continue: string;
281
+ copied: string;
282
+ copy: string;
283
+ copyFailed: string;
284
+ countOver: string;
285
+ denied: string;
286
+ details: string;
287
+ discard: string;
288
+ discardEdit: string;
289
+ dismiss: string;
290
+ dockSidebar: string;
291
+ done: string;
292
+ download: string;
293
+ downloadFailed: string;
294
+ dragged: {
295
+ one: string;
296
+ other: string;
297
+ };
298
+ earlierLines: {
299
+ one: string;
300
+ other: string;
301
+ };
302
+ edit: string;
303
+ editUnsaved: string;
304
+ expand: string;
305
+ failed: string;
306
+ fewestCharacters: string;
307
+ files: string;
308
+ filters: string;
309
+ fit: string;
310
+ foldSidebar: string;
311
+ giveField: string;
312
+ idle: string;
313
+ imageFiles: string;
314
+ keepEditing: string;
315
+ latest: string;
316
+ leastNumber: string;
317
+ lessThan: string;
318
+ linesUnshown: string;
319
+ locked: string;
320
+ message: string;
321
+ missing: string;
322
+ missingNoun: string;
323
+ more: string;
324
+ moreFailed: string;
325
+ morePlaces: string;
326
+ moreThan: string;
327
+ mostCharacters: string;
328
+ mostNumber: string;
329
+ moveDown: string;
330
+ moveFirst: string;
331
+ moveLast: string;
332
+ moveUp: string;
333
+ mute: string;
334
+ next: string;
335
+ noMatches: string;
336
+ noOptions: string;
337
+ none: string;
338
+ notFound: string;
339
+ notifications: string;
340
+ nowhere: string;
341
+ off: string;
342
+ open: string;
343
+ optional: string;
344
+ pause: string;
345
+ photos: string;
346
+ pickFailed: string;
347
+ pickField: string;
348
+ pickValue: string;
349
+ places: string;
350
+ play: string;
351
+ playFailed: string;
352
+ player: string;
353
+ previous: string;
354
+ readEmpty: string;
355
+ readFailed: string;
356
+ readPaused: string;
357
+ readStale: string;
358
+ recommended: string;
359
+ remove: string;
360
+ removeSecret: string;
361
+ removed: string;
362
+ replace: string;
363
+ replyStopped: string;
364
+ required: string;
365
+ reset: string;
366
+ retry: string;
367
+ running: string;
368
+ save: string;
369
+ savedEndsIn: string;
370
+ search: string;
371
+ seek: string;
372
+ send: string;
373
+ showMore: string;
374
+ sort: string;
375
+ stale: string;
376
+ stepOf: string;
377
+ stop: string;
378
+ tabs: string;
379
+ textFiles: string;
380
+ typeValue: string;
381
+ unchanged: string;
382
+ unmute: string;
383
+ unshownLines: {
384
+ one: string;
385
+ other: string;
386
+ };
387
+ update: string;
388
+ updateFromStore: string;
389
+ updateRequired: string;
390
+ videoFiles: string;
391
+ volume: string;
392
+ waiting: string;
393
+ wholeNumber: string;
394
+ wrongType: string;
395
+ zoomIn: string;
396
+ zoomOut: string;
397
+ } | undefined;
398
+ }>;
399
+ export type { FontEntry, ReactUiOptions, Theme, Words, } from "./types.ts";
400
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAkHA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6XlB,CAAC;AAEH,YAAY,EACX,SAAS,EACT,cAAc,EACd,KAAK,EACL,KAAK,GACL,MAAM,YAAY,CAAC"}