@slotform/react-ui 0.0.0-stage → 0.1.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.
- package/LICENSE +21 -0
- package/README.md +44 -2
- package/dist/density.d.ts +4 -0
- package/dist/density.d.ts.map +1 -0
- package/dist/density.js +8 -0
- package/dist/density.js.map +1 -0
- package/dist/index.d.ts +400 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +388 -0
- package/dist/index.js.map +1 -0
- package/dist/node/canvas.d.ts +3 -0
- package/dist/node/canvas.d.ts.map +1 -0
- package/dist/node/canvas.js +13 -0
- package/dist/node/canvas.js.map +1 -0
- package/dist/node/codegen.d.ts +6 -0
- package/dist/node/codegen.d.ts.map +1 -0
- package/dist/node/codegen.js +70 -0
- package/dist/node/codegen.js.map +1 -0
- package/dist/node/css-escape.d.ts +8 -0
- package/dist/node/css-escape.d.ts.map +1 -0
- package/dist/node/css-escape.js +12 -0
- package/dist/node/css-escape.js.map +1 -0
- package/dist/node/fonts.d.ts +6 -0
- package/dist/node/fonts.d.ts.map +1 -0
- package/dist/node/fonts.js +219 -0
- package/dist/node/fonts.js.map +1 -0
- package/dist/node/lint.d.ts +3 -0
- package/dist/node/lint.d.ts.map +1 -0
- package/dist/node/lint.js +23 -0
- package/dist/node/lint.js.map +1 -0
- package/dist/node/mode.d.ts +9 -0
- package/dist/node/mode.d.ts.map +1 -0
- package/dist/node/mode.js +38 -0
- package/dist/node/mode.js.map +1 -0
- package/dist/node/theme.d.ts +13 -0
- package/dist/node/theme.d.ts.map +1 -0
- package/dist/node/theme.js +160 -0
- package/dist/node/theme.js.map +1 -0
- package/dist/types.d.ts +250 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +80 -0
- package/dist/types.js.map +1 -0
- package/guide/acts.md +61 -0
- package/guide/audio.md +77 -0
- package/guide/blocks.md +82 -0
- package/guide/canvas-choosing.md +34 -0
- package/guide/canvas-editing.md +36 -0
- package/guide/canvas-layout.md +46 -0
- package/guide/canvas-opening.md +47 -0
- package/guide/canvas-overview.md +24 -0
- package/guide/canvas-states.md +37 -0
- package/guide/canvas-view.md +46 -0
- package/guide/canvas.md +94 -0
- package/guide/containers.md +60 -0
- package/guide/content.md +40 -0
- package/guide/controls.md +89 -0
- package/guide/density.md +48 -0
- package/guide/dock.md +42 -0
- package/guide/drag.md +38 -0
- package/guide/figures.md +25 -0
- package/guide/forms.md +82 -0
- package/guide/pane-bar.md +11 -0
- package/guide/pane.md +50 -0
- package/guide/reference.md +74 -0
- package/guide/rules.md +109 -0
- package/guide/section.md +29 -0
- package/guide/shell.md +26 -0
- package/guide/shots.md +37 -0
- package/guide/sidebar.md +30 -0
- package/guide/table.md +119 -0
- package/lint/no-arbitrary-value.grit +9 -0
- package/lint/no-class-on-component.grit +12 -0
- package/lint/no-density.grit +8 -0
- package/lint/no-host-look.grit +38 -0
- package/lint/no-img.grit +10 -0
- package/lint/no-navigate-act.grit +22 -0
- package/lint/no-raw-style.grit +8 -0
- package/package.json +150 -3
- package/src/density.ts +9 -0
- package/src/index.ts +503 -0
- package/src/node/canvas.ts +14 -0
- package/src/node/codegen.ts +100 -0
- package/src/node/css-escape.ts +27 -0
- package/src/node/fonts.ts +260 -0
- package/src/node/lint.ts +25 -0
- package/src/node/mode.ts +64 -0
- package/src/node/theme.ts +232 -0
- package/src/types.ts +120 -0
- package/src/ui/atoms/avatar/base.tsx +42 -0
- package/src/ui/atoms/button/glyph.tsx +244 -0
- package/src/ui/atoms/button/link.tsx +81 -0
- package/src/ui/atoms/button/look.ts +32 -0
- package/src/ui/atoms/button/reason.tsx +69 -0
- package/src/ui/atoms/chip/base.tsx +85 -0
- package/src/ui/atoms/count/base.tsx +27 -0
- package/src/ui/atoms/icon/index.tsx +51 -0
- package/src/ui/atoms/message/waiting.tsx +19 -0
- package/src/ui/atoms/prose/painted.tsx +35 -0
- package/src/ui/atoms/row/badges.tsx +226 -0
- package/src/ui/atoms/row/leading.tsx +166 -0
- package/src/ui/atoms/row/lock.tsx +17 -0
- package/src/ui/atoms/row/marks.tsx +79 -0
- package/src/ui/atoms/section/card.tsx +27 -0
- package/src/ui/atoms/spinner/index.tsx +42 -0
- package/src/ui/atoms/status/base.tsx +51 -0
- package/src/ui/atoms/status/change.tsx +29 -0
- package/src/ui/atoms/status/dot.tsx +45 -0
- package/src/ui/atoms/switch/checkbox.tsx +121 -0
- package/src/ui/atoms/turn.tsx +28 -0
- package/src/ui/components/action-bar/base.tsx +276 -0
- package/src/ui/components/action-bar/index.tsx +20 -0
- package/src/ui/components/avatar/index.tsx +21 -0
- package/src/ui/components/banner/index.tsx +207 -0
- package/src/ui/components/banner/pending.tsx +109 -0
- package/src/ui/components/bar-chart/index.tsx +701 -0
- package/src/ui/components/button/base.tsx +214 -0
- package/src/ui/components/button/face.tsx +84 -0
- package/src/ui/components/button/index.tsx +206 -0
- package/src/ui/components/canvas/connection.tsx +26 -0
- package/src/ui/components/canvas/edges.tsx +116 -0
- package/src/ui/components/canvas/elk.ts +260 -0
- package/src/ui/components/canvas/floor.ts +173 -0
- package/src/ui/components/canvas/geometry.ts +772 -0
- package/src/ui/components/canvas/ground.tsx +97 -0
- package/src/ui/components/canvas/group.tsx +156 -0
- package/src/ui/components/canvas/hit.ts +40 -0
- package/src/ui/components/canvas/index.tsx +497 -0
- package/src/ui/components/canvas/label.tsx +53 -0
- package/src/ui/components/canvas/layout.ts +543 -0
- package/src/ui/components/canvas/lift.ts +272 -0
- package/src/ui/components/canvas/look.ts +129 -0
- package/src/ui/components/canvas/node.tsx +689 -0
- package/src/ui/components/canvas/open.ts +243 -0
- package/src/ui/components/canvas/opening.ts +240 -0
- package/src/ui/components/canvas/view.ts +621 -0
- package/src/ui/components/canvas/viewport.ts +417 -0
- package/src/ui/components/canvas/zoom.tsx +113 -0
- package/src/ui/components/card/index.tsx +20 -0
- package/src/ui/components/chip/index.tsx +24 -0
- package/src/ui/components/code/frame.ts +2 -0
- package/src/ui/components/code/index.tsx +234 -0
- package/src/ui/components/columns/index.tsx +51 -0
- package/src/ui/components/count/index.tsx +17 -0
- package/src/ui/components/diff/index.tsx +249 -0
- package/src/ui/components/diff/word.tsx +104 -0
- package/src/ui/components/dock/index.tsx +262 -0
- package/src/ui/components/file-row/index.tsx +213 -0
- package/src/ui/components/form/base.tsx +280 -0
- package/src/ui/components/form/derive.tsx +269 -0
- package/src/ui/components/form/index.tsx +49 -0
- package/src/ui/components/form/saved.tsx +39 -0
- package/src/ui/components/form-field/index.tsx +658 -0
- package/src/ui/components/gallery/index.tsx +83 -0
- package/src/ui/components/gate/index.tsx +183 -0
- package/src/ui/components/image/base.tsx +245 -0
- package/src/ui/components/image/index.tsx +58 -0
- package/src/ui/components/input/base.tsx +246 -0
- package/src/ui/components/input/code.tsx +108 -0
- package/src/ui/components/input/drop.ts +37 -0
- package/src/ui/components/input/file.tsx +154 -0
- package/src/ui/components/input/index.tsx +132 -0
- package/src/ui/components/input/prose.tsx +107 -0
- package/src/ui/components/input/refusal.tsx +30 -0
- package/src/ui/components/item-header/base.tsx +410 -0
- package/src/ui/components/menu/base.tsx +319 -0
- package/src/ui/components/message/attachments.tsx +101 -0
- package/src/ui/components/message/base.tsx +266 -0
- package/src/ui/components/message-input/index.tsx +377 -0
- package/src/ui/components/missing/base.tsx +45 -0
- package/src/ui/components/pane/head.tsx +399 -0
- package/src/ui/components/pane/index.tsx +325 -0
- package/src/ui/components/picker/base.tsx +1551 -0
- package/src/ui/components/picker/index.tsx +224 -0
- package/src/ui/components/picker/list.tsx +423 -0
- package/src/ui/components/picker/segments.tsx +183 -0
- package/src/ui/components/prose/index.tsx +259 -0
- package/src/ui/components/qr-code/index.tsx +65 -0
- package/src/ui/components/row/acts.tsx +126 -0
- package/src/ui/components/row/fact.tsx +54 -0
- package/src/ui/components/row/index.tsx +1370 -0
- package/src/ui/components/row/progress.tsx +38 -0
- package/src/ui/components/row/status.tsx +54 -0
- package/src/ui/components/row/title.ts +7 -0
- package/src/ui/components/rules/index.tsx +290 -0
- package/src/ui/components/section/band.tsx +39 -0
- package/src/ui/components/section/head.tsx +267 -0
- package/src/ui/components/section/index.tsx +409 -0
- package/src/ui/components/section/rows.tsx +356 -0
- package/src/ui/components/sheet/base.tsx +272 -0
- package/src/ui/components/sheet/confirm.tsx +79 -0
- package/src/ui/components/sheet/docked.tsx +218 -0
- package/src/ui/components/sheet/form.tsx +76 -0
- package/src/ui/components/sheet/head.tsx +120 -0
- package/src/ui/components/sheet/index.tsx +45 -0
- package/src/ui/components/sheet/layer.tsx +168 -0
- package/src/ui/components/sheet/outlet.tsx +58 -0
- package/src/ui/components/sheet/task.tsx +41 -0
- package/src/ui/components/shell/cut.tsx +116 -0
- package/src/ui/components/shell/drag.tsx +45 -0
- package/src/ui/components/shell/host.tsx +71 -0
- package/src/ui/components/shell/index.tsx +737 -0
- package/src/ui/components/shell/panes.tsx +76 -0
- package/src/ui/components/shell/preview.ts +230 -0
- package/src/ui/components/shell/rail.tsx +163 -0
- package/src/ui/components/shell/row.ts +11 -0
- package/src/ui/components/shell/switcher.tsx +143 -0
- package/src/ui/components/shell/tree.tsx +252 -0
- package/src/ui/components/slider/base.tsx +139 -0
- package/src/ui/components/slider/index.tsx +57 -0
- package/src/ui/components/stages/index.tsx +198 -0
- package/src/ui/components/stats/count-links.tsx +47 -0
- package/src/ui/components/stats/index.tsx +203 -0
- package/src/ui/components/stats/meter.tsx +213 -0
- package/src/ui/components/stats/parts.ts +10 -0
- package/src/ui/components/step-count/index.tsx +45 -0
- package/src/ui/components/switch/base.tsx +86 -0
- package/src/ui/components/switch/index.tsx +38 -0
- package/src/ui/components/table/columns.tsx +131 -0
- package/src/ui/components/table/index.tsx +2215 -0
- package/src/ui/components/text/index.tsx +37 -0
- package/src/ui/components/thread/index.tsx +503 -0
- package/src/ui/components/thread/latest.tsx +59 -0
- package/src/ui/components/toast/index.tsx +113 -0
- package/src/ui/components/toast/layer.tsx +26 -0
- package/src/ui/components/toolbar/filters.tsx +161 -0
- package/src/ui/components/toolbar/index.tsx +125 -0
- package/src/ui/components/waveform/index.tsx +205 -0
- package/src/ui/globals.css +427 -0
- package/src/ui/lib/act.ts +60 -0
- package/src/ui/lib/age.ts +49 -0
- package/src/ui/lib/bound.ts +16 -0
- package/src/ui/lib/canvas-layout.ts +11 -0
- package/src/ui/lib/caret.ts +9 -0
- package/src/ui/lib/chip-lines.ts +3 -0
- package/src/ui/lib/closed.ts +8 -0
- package/src/ui/lib/code.tsx +184 -0
- package/src/ui/lib/columns.ts +39 -0
- package/src/ui/lib/commit.ts +24 -0
- package/src/ui/lib/container.ts +112 -0
- package/src/ui/lib/copy.ts +29 -0
- package/src/ui/lib/drag.ts +575 -0
- package/src/ui/lib/empty.tsx +85 -0
- package/src/ui/lib/field.ts +39 -0
- package/src/ui/lib/focus.ts +175 -0
- package/src/ui/lib/folds.ts +67 -0
- package/src/ui/lib/follow.ts +220 -0
- package/src/ui/lib/form.ts +19 -0
- package/src/ui/lib/guards.ts +38 -0
- package/src/ui/lib/heading.ts +14 -0
- package/src/ui/lib/ink.ts +26 -0
- package/src/ui/lib/lang.ts +7 -0
- package/src/ui/lib/leave.ts +14 -0
- package/src/ui/lib/lockup.tsx +145 -0
- package/src/ui/lib/measure.ts +22 -0
- package/src/ui/lib/media.ts +63 -0
- package/src/ui/lib/modality.ts +69 -0
- package/src/ui/lib/moment.ts +13 -0
- package/src/ui/lib/more.tsx +76 -0
- package/src/ui/lib/navigate.ts +210 -0
- package/src/ui/lib/noop.ts +3 -0
- package/src/ui/lib/not-found.tsx +40 -0
- package/src/ui/lib/paint.tsx +55 -0
- package/src/ui/lib/parts-line.tsx +54 -0
- package/src/ui/lib/picked.ts +18 -0
- package/src/ui/lib/player-store.ts +38 -0
- package/src/ui/lib/player.ts +139 -0
- package/src/ui/lib/portal.ts +12 -0
- package/src/ui/lib/read.tsx +269 -0
- package/src/ui/lib/region.tsx +49 -0
- package/src/ui/lib/reorder.ts +154 -0
- package/src/ui/lib/rest.ts +16 -0
- package/src/ui/lib/saved.ts +29 -0
- package/src/ui/lib/scramble.tsx +147 -0
- package/src/ui/lib/scrolls.ts +70 -0
- package/src/ui/lib/style.ts +6 -0
- package/src/ui/lib/swap.tsx +107 -0
- package/src/ui/lib/toast.ts +39 -0
- package/src/ui/lib/walk-classes.ts +16 -0
- package/src/ui/lib/window.tsx +376 -0
- 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
|
-
#
|
|
1
|
+
# @slotform/react-ui
|
|
2
2
|
|
|
3
|
-
|
|
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 @@
|
|
|
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"}
|
package/dist/density.js
ADDED
|
@@ -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"}
|
package/dist/index.d.ts
ADDED
|
@@ -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"}
|