@gjermundgaraba/pixel-paper 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 +50 -2
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/announcer/announcer.d.ts +35 -0
- package/dist/announcer/announcer.js +121 -0
- package/dist/announcer/index.d.ts +5 -0
- package/dist/announcer/index.js +11 -0
- package/dist/attributes/attributes.d.ts +4 -0
- package/dist/banner/banner.d.ts +20 -0
- package/dist/banner/banner.js +18 -0
- package/dist/banner/index.d.ts +5 -0
- package/dist/banner/index.js +6 -0
- package/dist/bench/bench.d.ts +16 -0
- package/dist/bench/bench.js +12 -0
- package/dist/bench/index.d.ts +5 -0
- package/dist/bench/index.js +6 -0
- package/dist/board/board.d.ts +1151 -0
- package/dist/board/board.js +449 -0
- package/dist/board/index.d.ts +6 -0
- package/dist/board/index.js +21 -0
- package/dist/button/button.d.ts +54 -0
- package/dist/button/button.js +50 -0
- package/dist/button/index.d.ts +5 -0
- package/dist/button/index.js +9 -0
- package/dist/card/card.d.ts +66 -0
- package/dist/card/card.js +70 -0
- package/dist/card/index.d.ts +5 -0
- package/dist/card/index.js +10 -0
- package/dist/chip/chip.d.ts +27 -0
- package/dist/chip/chip.js +34 -0
- package/dist/chip/index.d.ts +5 -0
- package/dist/chip/index.js +9 -0
- package/dist/choice/choice.d.ts +16 -0
- package/dist/choice/choice.js +17 -0
- package/dist/choice/index.d.ts +5 -0
- package/dist/choice/index.js +6 -0
- package/dist/code-editor/code-editor.d.ts +15 -0
- package/dist/code-editor/code-editor.js +22 -0
- package/dist/code-editor/index.d.ts +5 -0
- package/dist/code-editor/index.js +6 -0
- package/dist/code-surface/code-surface.d.ts +12 -0
- package/dist/code-surface/code-surface.js +12 -0
- package/dist/code-surface/index.d.ts +5 -0
- package/dist/code-surface/index.js +6 -0
- package/dist/command-palette/command-palette.d.ts +579 -0
- package/dist/command-palette/command-palette.js +600 -0
- package/dist/command-palette/index.d.ts +9 -0
- package/dist/command-palette/index.js +32 -0
- package/dist/command-palette/keys.d.ts +13 -0
- package/dist/command-palette/keys.js +71 -0
- package/dist/command-palette/match.d.ts +43 -0
- package/dist/command-palette/match.js +45 -0
- package/dist/command-palette/message.d.ts +94 -0
- package/dist/command-palette/message.js +46 -0
- package/dist/confirm-dialog/confirm-dialog.d.ts +287 -0
- package/dist/confirm-dialog/confirm-dialog.js +115 -0
- package/dist/confirm-dialog/index.d.ts +5 -0
- package/dist/confirm-dialog/index.js +17 -0
- package/dist/copy-button/copy-button.d.ts +99 -0
- package/dist/copy-button/copy-button.js +96 -0
- package/dist/copy-button/index.d.ts +5 -0
- package/dist/copy-button/index.js +13 -0
- package/dist/crumbs/crumbs.d.ts +15 -0
- package/dist/crumbs/crumbs.js +11 -0
- package/dist/crumbs/index.d.ts +5 -0
- package/dist/crumbs/index.js +6 -0
- package/dist/deck/deck.d.ts +9 -0
- package/dist/deck/deck.js +9 -0
- package/dist/deck/index.d.ts +5 -0
- package/dist/deck/index.js +6 -0
- package/dist/dialog/dialog.d.ts +278 -0
- package/dist/dialog/dialog.js +145 -0
- package/dist/dialog/fold.d.ts +58 -0
- package/dist/dialog/fold.js +63 -0
- package/dist/dialog/index.d.ts +6 -0
- package/dist/dialog/index.js +21 -0
- package/dist/disclosure/disclosure.d.ts +24 -0
- package/dist/disclosure/disclosure.js +25 -0
- package/dist/disclosure/index.d.ts +5 -0
- package/dist/disclosure/index.js +6 -0
- package/dist/dom/html-element.js +8 -0
- package/dist/drag/drag.d.ts +15 -0
- package/dist/drag/drag.js +123 -0
- package/dist/drop-zone/drop-zone.d.ts +119 -0
- package/dist/drop-zone/drop-zone.js +64 -0
- package/dist/drop-zone/index.d.ts +5 -0
- package/dist/drop-zone/index.js +14 -0
- package/dist/empty-state/empty-state.d.ts +18 -0
- package/dist/empty-state/empty-state.js +16 -0
- package/dist/empty-state/index.d.ts +5 -0
- package/dist/empty-state/index.js +6 -0
- package/dist/error-summary/error-summary.d.ts +34 -0
- package/dist/error-summary/error-summary.js +33 -0
- package/dist/error-summary/index.d.ts +5 -0
- package/dist/error-summary/index.js +6 -0
- package/dist/field/field.d.ts +35 -0
- package/dist/field/field.js +34 -0
- package/dist/field/index.d.ts +5 -0
- package/dist/field/index.js +6 -0
- package/dist/field-grid/field-grid.d.ts +8 -0
- package/dist/field-grid/field-grid.js +8 -0
- package/dist/field-grid/index.d.ts +5 -0
- package/dist/field-grid/index.js +6 -0
- package/dist/fields/fields.js +9 -0
- package/dist/fieldset/fieldset.d.ts +13 -0
- package/dist/fieldset/fieldset.js +13 -0
- package/dist/fieldset/index.d.ts +5 -0
- package/dist/fieldset/index.js +6 -0
- package/dist/filter-chip/filter-chip.d.ts +21 -0
- package/dist/filter-chip/filter-chip.js +28 -0
- package/dist/filter-chip/index.d.ts +5 -0
- package/dist/filter-chip/index.js +6 -0
- package/dist/filter-strip/filter-strip.d.ts +12 -0
- package/dist/filter-strip/filter-strip.js +13 -0
- package/dist/filter-strip/index.d.ts +5 -0
- package/dist/filter-strip/index.js +6 -0
- package/dist/flash-word/flash-word.d.ts +31 -0
- package/dist/flash-word/flash-word.js +31 -0
- package/dist/flash-word/index.d.ts +5 -0
- package/dist/flash-word/index.js +9 -0
- package/dist/focus/focus.d.ts +15 -0
- package/dist/focus/focus.js +17 -0
- package/dist/focus/index.d.ts +5 -0
- package/dist/focus/index.js +9 -0
- package/dist/format/format.js +52 -0
- package/dist/format/index.d.ts +5 -0
- package/dist/format/index.js +6 -0
- package/dist/glyph/glyph.d.ts +9 -0
- package/dist/glyph/glyph.js +25 -0
- package/dist/glyph/glyphs.d.ts +381 -0
- package/dist/glyph/glyphs.js +2603 -0
- package/dist/glyph/index.d.ts +5 -0
- package/dist/glyph/index.js +6 -0
- package/dist/group/group.d.ts +8 -0
- package/dist/group/group.js +9 -0
- package/dist/group/index.d.ts +5 -0
- package/dist/group/index.js +6 -0
- package/dist/history/history.d.ts +34 -0
- package/dist/history/history.js +15 -0
- package/dist/history/index.d.ts +5 -0
- package/dist/history/index.js +6 -0
- package/dist/icon-button/icon-button.d.ts +23 -0
- package/dist/icon-button/icon-button.js +23 -0
- package/dist/icon-button/index.d.ts +5 -0
- package/dist/icon-button/index.js +6 -0
- package/dist/identity/identity.d.ts +15 -0
- package/dist/identity/identity.js +15 -0
- package/dist/identity/index.d.ts +5 -0
- package/dist/identity/index.js +6 -0
- package/dist/index.d.ts +85 -0
- package/dist/index.js +85 -0
- package/dist/inline-input/index.d.ts +5 -0
- package/dist/inline-input/index.js +20 -0
- package/dist/inline-input/inline-input.d.ts +196 -0
- package/dist/inline-input/inline-input.js +212 -0
- package/dist/key-help/index.d.ts +5 -0
- package/dist/key-help/index.js +18 -0
- package/dist/key-help/key-help.d.ts +255 -0
- package/dist/key-help/key-help.js +137 -0
- package/dist/key-hint/index.d.ts +6 -0
- package/dist/key-hint/index.js +12 -0
- package/dist/key-hint/key-hint.d.ts +13 -0
- package/dist/key-hint/key-hint.js +7 -0
- package/dist/key-hint/key-label.d.ts +18 -0
- package/dist/key-hint/key-label.js +77 -0
- package/dist/keymap/keymap.d.ts +11 -0
- package/dist/keymap/keymap.js +9 -0
- package/dist/keys/keys.js +4 -0
- package/dist/line-diff/diff.d.ts +2 -0
- package/dist/line-diff/diff.js +73 -0
- package/dist/line-diff/index.d.ts +6 -0
- package/dist/line-diff/index.js +10 -0
- package/dist/line-diff/line-diff.d.ts +21 -0
- package/dist/line-diff/line-diff.js +75 -0
- package/dist/line-diff/patch.d.ts +15 -0
- package/dist/line-diff/patch.js +120 -0
- package/dist/link-button/index.d.ts +5 -0
- package/dist/link-button/index.js +6 -0
- package/dist/link-button/link-button.d.ts +11 -0
- package/dist/link-button/link-button.js +10 -0
- package/dist/link-state/index.d.ts +5 -0
- package/dist/link-state/index.js +6 -0
- package/dist/link-state/link-state.d.ts +15 -0
- package/dist/link-state/link-state.js +17 -0
- package/dist/live-region/index.d.ts +5 -0
- package/dist/live-region/index.js +9 -0
- package/dist/live-region/live-region.d.ts +39 -0
- package/dist/live-region/live-region.js +33 -0
- package/dist/loading/index.d.ts +5 -0
- package/dist/loading/index.js +6 -0
- package/dist/loading/loading.d.ts +19 -0
- package/dist/loading/loading.js +16 -0
- package/dist/locale/locale.d.ts +3 -0
- package/dist/locale/locale.js +5 -0
- package/dist/mark/index.d.ts +5 -0
- package/dist/mark/index.js +6 -0
- package/dist/mark/mark.d.ts +15 -0
- package/dist/mark/mark.js +30 -0
- package/dist/menu/index.d.ts +7 -0
- package/dist/menu/index.js +25 -0
- package/dist/menu/item.d.ts +236 -0
- package/dist/menu/item.js +19 -0
- package/dist/menu/menu.d.ts +206 -0
- package/dist/menu/menu.js +208 -0
- package/dist/menu/slip.js +163 -0
- package/dist/meter/index.d.ts +5 -0
- package/dist/meter/index.js +6 -0
- package/dist/meter/meter.d.ts +38 -0
- package/dist/meter/meter.js +69 -0
- package/dist/monogram/monogram.js +33 -0
- package/dist/nav-strip/index.d.ts +5 -0
- package/dist/nav-strip/index.js +6 -0
- package/dist/nav-strip/nav-strip.d.ts +19 -0
- package/dist/nav-strip/nav-strip.js +21 -0
- package/dist/notice/index.d.ts +5 -0
- package/dist/notice/index.js +6 -0
- package/dist/notice/notice.d.ts +23 -0
- package/dist/notice/notice.js +35 -0
- package/dist/outcome/index.d.ts +5 -0
- package/dist/outcome/index.js +6 -0
- package/dist/outcome/outcome.d.ts +19 -0
- package/dist/outcome/outcome.js +14 -0
- package/dist/page-head/index.d.ts +5 -0
- package/dist/page-head/index.js +6 -0
- package/dist/page-head/page-head.d.ts +13 -0
- package/dist/page-head/page-head.js +10 -0
- package/dist/panel/index.d.ts +5 -0
- package/dist/panel/index.js +6 -0
- package/dist/panel/panel.d.ts +35 -0
- package/dist/panel/panel.js +25 -0
- package/dist/password-field/index.d.ts +5 -0
- package/dist/password-field/index.js +6 -0
- package/dist/password-field/password-field.d.ts +33 -0
- package/dist/password-field/password-field.js +39 -0
- package/dist/places/index.d.ts +5 -0
- package/dist/places/index.js +6 -0
- package/dist/places/places.d.ts +32 -0
- package/dist/places/places.js +22 -0
- package/dist/props-list/index.d.ts +5 -0
- package/dist/props-list/index.js +6 -0
- package/dist/props-list/props-list.d.ts +18 -0
- package/dist/props-list/props-list.js +12 -0
- package/dist/prose/index.d.ts +5 -0
- package/dist/prose/index.js +6 -0
- package/dist/prose/prose.d.ts +14 -0
- package/dist/prose/prose.js +6 -0
- package/dist/query-chip/index.d.ts +5 -0
- package/dist/query-chip/index.js +6 -0
- package/dist/query-chip/query-chip.d.ts +18 -0
- package/dist/query-chip/query-chip.js +17 -0
- package/dist/radio-choices/index.d.ts +5 -0
- package/dist/radio-choices/index.js +12 -0
- package/dist/radio-choices/radio-choices.d.ts +105 -0
- package/dist/radio-choices/radio-choices.js +56 -0
- package/dist/rail/index.d.ts +5 -0
- package/dist/rail/index.js +22 -0
- package/dist/rail/rail.d.ts +403 -0
- package/dist/rail/rail.js +355 -0
- package/dist/reel/index.d.ts +6 -0
- package/dist/reel/index.js +26 -0
- package/dist/reel/layout.d.ts +58 -0
- package/dist/reel/layout.js +378 -0
- package/dist/reel/reel.d.ts +1070 -0
- package/dist/reel/reel.js +1019 -0
- package/dist/remote/index.d.ts +5 -0
- package/dist/remote/index.js +6 -0
- package/dist/remote/remote.d.ts +28 -0
- package/dist/remote/remote.js +41 -0
- package/dist/rows/index.d.ts +5 -0
- package/dist/rows/index.js +12 -0
- package/dist/rows/rows.d.ts +116 -0
- package/dist/rows/rows.js +67 -0
- package/dist/scheme/index.d.ts +6 -0
- package/dist/scheme/index.js +10 -0
- package/dist/scheme/scheme-switch.d.ts +98 -0
- package/dist/scheme/scheme-switch.js +118 -0
- package/dist/scheme/scheme.d.ts +5 -0
- package/dist/scheme/scheme.js +16 -0
- package/dist/scheme/script.d.ts +8 -0
- package/dist/scheme/script.js +10 -0
- package/dist/secret/index.d.ts +5 -0
- package/dist/secret/index.js +6 -0
- package/dist/secret/secret.d.ts +13 -0
- package/dist/secret/secret.js +9 -0
- package/dist/segmented/index.d.ts +5 -0
- package/dist/segmented/index.js +6 -0
- package/dist/segmented/segmented.d.ts +17 -0
- package/dist/segmented/segmented.js +17 -0
- package/dist/select-field/index.d.ts +5 -0
- package/dist/select-field/index.js +6 -0
- package/dist/select-field/select-field.d.ts +38 -0
- package/dist/select-field/select-field.js +29 -0
- package/dist/sheet/index.d.ts +5 -0
- package/dist/sheet/index.js +6 -0
- package/dist/sheet/sheet.d.ts +16 -0
- package/dist/sheet/sheet.js +15 -0
- package/dist/skip-link/index.d.ts +5 -0
- package/dist/skip-link/index.js +9 -0
- package/dist/skip-link/skip-link.d.ts +23 -0
- package/dist/skip-link/skip-link.js +36 -0
- package/dist/slot/slot.js +8 -0
- package/dist/sortable/index.d.ts +5 -0
- package/dist/sortable/index.js +16 -0
- package/dist/sortable/sortable.d.ts +1125 -0
- package/dist/sortable/sortable.js +431 -0
- package/dist/stack/index.d.ts +5 -0
- package/dist/stack/index.js +6 -0
- package/dist/stack/stack.d.ts +15 -0
- package/dist/stack/stack.js +12 -0
- package/dist/stage/index.d.ts +5 -0
- package/dist/stage/index.js +6 -0
- package/dist/stage/stage.d.ts +14 -0
- package/dist/stage/stage.js +11 -0
- package/dist/stat/index.d.ts +5 -0
- package/dist/stat/index.js +6 -0
- package/dist/stat/stat.d.ts +18 -0
- package/dist/stat/stat.js +13 -0
- package/dist/status-bar/index.d.ts +6 -0
- package/dist/status-bar/index.js +11 -0
- package/dist/status-bar/status-bar.d.ts +28 -0
- package/dist/status-bar/status-bar.js +19 -0
- package/dist/subscription/prefix-keys.js +12 -0
- package/dist/table/index.d.ts +5 -0
- package/dist/table/index.js +6 -0
- package/dist/table/table.d.ts +26 -0
- package/dist/table/table.js +18 -0
- package/dist/tabs/index.d.ts +5 -0
- package/dist/tabs/index.js +14 -0
- package/dist/tabs/tabs.d.ts +125 -0
- package/dist/tabs/tabs.js +57 -0
- package/dist/tag/index.d.ts +5 -0
- package/dist/tag/index.js +6 -0
- package/dist/tag/tag.d.ts +16 -0
- package/dist/tag/tag.js +25 -0
- package/dist/text-button/index.d.ts +5 -0
- package/dist/text-button/index.js +6 -0
- package/dist/text-button/text-button.d.ts +8 -0
- package/dist/text-button/text-button.js +12 -0
- package/dist/textarea-field/index.d.ts +5 -0
- package/dist/textarea-field/index.js +6 -0
- package/dist/textarea-field/textarea-field.d.ts +28 -0
- package/dist/textarea-field/textarea-field.js +30 -0
- package/dist/time/index.d.ts +5 -0
- package/dist/time/index.js +9 -0
- package/dist/time/time.d.ts +38 -0
- package/dist/time/time.js +63 -0
- package/dist/tips/index.d.ts +5 -0
- package/dist/tips/index.js +14 -0
- package/dist/tips/tips.d.ts +339 -0
- package/dist/tips/tips.js +308 -0
- package/dist/toast/index.d.ts +5 -0
- package/dist/toast/index.js +17 -0
- package/dist/toast/stack.d.ts +7 -0
- package/dist/toast/stack.js +23 -0
- package/dist/toast/toast.d.ts +559 -0
- package/dist/toast/toast.js +269 -0
- package/dist/toc/index.d.ts +5 -0
- package/dist/toc/index.js +9 -0
- package/dist/toc/toc.d.ts +42 -0
- package/dist/toc/toc.js +35 -0
- package/dist/top-bar/bar-height.d.ts +26 -0
- package/dist/top-bar/bar-height.js +43 -0
- package/dist/top-bar/index.d.ts +6 -0
- package/dist/top-bar/index.js +12 -0
- package/dist/top-bar/top-bar.d.ts +19 -0
- package/dist/top-bar/top-bar.js +18 -0
- package/dist/wall/index.d.ts +5 -0
- package/dist/wall/index.js +9 -0
- package/dist/wall/wall.d.ts +16 -0
- package/dist/wall/wall.js +15 -0
- package/dist/window/index.d.ts +5 -0
- package/dist/window/index.js +6 -0
- package/dist/window/window.d.ts +28 -0
- package/dist/window/window.js +29 -0
- package/dist/wordmark/index.d.ts +5 -0
- package/dist/wordmark/index.js +6 -0
- package/dist/wordmark/wordmark.d.ts +10 -0
- package/dist/wordmark/wordmark.js +10 -0
- package/dist/wrap/index.d.ts +5 -0
- package/dist/wrap/index.js +6 -0
- package/dist/wrap/wrap.d.ts +12 -0
- package/dist/wrap/wrap.js +9 -0
- package/fonts/DepartureMono-Regular.woff2 +0 -0
- package/fonts/LICENSE.txt +2 -0
- package/package.json +57 -3
- package/src/pixel-paper.css +4611 -0
- package/src/tokens.css +151 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { view } from "./glyph.js";
|
|
4
|
+
// src/glyph/index.ts
|
|
5
|
+
var glyph_exports = /* @__PURE__ */ __exportAll({ view: () => __foldkitBrandViewResult((view), "@gjermundgaraba/pixel-paper/glyph/index.js#view") });
|
|
6
|
+
export { glyph_exports, view };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Html, HtmlBuilder } from "foldkit/html";
|
|
2
|
+
/** Configuration for rendering a group with `view`. */
|
|
3
|
+
export type ViewConfig = Readonly<{
|
|
4
|
+
body: ReadonlyArray<Html | string>;
|
|
5
|
+
}>;
|
|
6
|
+
/** One line of components at the small gap, centred on each other, that never wraps: a name and its chip, a
|
|
7
|
+
* pair of buttons. When the line might not fit, use a Wrap. */
|
|
8
|
+
export declare const view: <Message>(config: ViewConfig, h: HtmlBuilder<Message>) => Html;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
+
// src/group/group.ts
|
|
3
|
+
/** One line of components at the small gap, centred on each other, that never wraps: a name and its chip, a
|
|
4
|
+
* pair of buttons. When the line might not fit, use a Wrap. */
|
|
5
|
+
const view = (config, h) => {
|
|
6
|
+
const { body } = config;
|
|
7
|
+
return __foldkitBrandViewResult((h.div([h.Class("group gap-s")], body)), "@gjermundgaraba/pixel-paper/group/group.js#view");
|
|
8
|
+
};
|
|
9
|
+
export { view };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { view } from "./group.js";
|
|
4
|
+
// src/group/index.ts
|
|
5
|
+
var group_exports = /* @__PURE__ */ __exportAll({ view: () => __foldkitBrandViewResult((view), "@gjermundgaraba/pixel-paper/group/index.js#view") });
|
|
6
|
+
export { group_exports, view };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { Html, HtmlBuilder } from "foldkit/html";
|
|
3
|
+
/** How the columns sit. `Versions`: a narrow who column, for a version log. `Checks`: a wider
|
|
4
|
+
* one, for a log of readings. */
|
|
5
|
+
export declare const Variant: Schema.Literals<readonly ["Versions", "Checks"]>;
|
|
6
|
+
export type Variant = typeof Variant.Type;
|
|
7
|
+
/** One entry in the log. */
|
|
8
|
+
export type Entry = Readonly<{
|
|
9
|
+
/** Stable across renders and pages: the entry's own id. */
|
|
10
|
+
id: string;
|
|
11
|
+
/** The first column, in the pixel face: a version, a Time. */
|
|
12
|
+
at: ReadonlyArray<Html | string>;
|
|
13
|
+
/** Who or what: an author, a meter, a client. */
|
|
14
|
+
who?: ReadonlyArray<Html | string>;
|
|
15
|
+
what: ReadonlyArray<Html | string>;
|
|
16
|
+
/** The version in force prints inverted. */
|
|
17
|
+
isCurrent?: boolean;
|
|
18
|
+
/** Controls at the end of the entry: restore, view. */
|
|
19
|
+
actions?: ReadonlyArray<Html | string>;
|
|
20
|
+
}>;
|
|
21
|
+
/** Configuration for rendering a history with `view`. */
|
|
22
|
+
export type ViewConfig = Readonly<{
|
|
23
|
+
/** Newest first. Page an endless log with a control under the list (`"older activity"`)
|
|
24
|
+
* that asks the caller for the next page, and an EmptyState once nothing is left. */
|
|
25
|
+
entries: readonly Entry[];
|
|
26
|
+
variant?: Variant;
|
|
27
|
+
/** Each entry in full on two lines: when and who, then what, wrapping as long as it runs.
|
|
28
|
+
* For an activity log whose words matter more than a tidy column. */
|
|
29
|
+
isWrapped?: boolean;
|
|
30
|
+
/** Names the list for screen readers: `"Workspace activity, newest first"`. */
|
|
31
|
+
label?: string;
|
|
32
|
+
}>;
|
|
33
|
+
/** A ruled log, in an ordered list: when, who, what, and the controls for each entry. */
|
|
34
|
+
export declare const view: <Message>(config: ViewConfig, h: HtmlBuilder<Message>) => Html;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
+
import { Array, Schema } from "effect";
|
|
3
|
+
Schema.Literals(["Versions", "Checks"]);
|
|
4
|
+
const entryView = (h) => __foldkitBrandViewResult(((entry) => __foldkitBrandViewResult((h.keyed("li")(entry.id, entry.isCurrent === true ? [h.AriaCurrent("true"), h.Class("current")] : [], [
|
|
5
|
+
h.span([h.Class("v tnum")], entry.at),
|
|
6
|
+
...entry.who === void 0 ? [] : [h.span([h.Class("who")], entry.who)],
|
|
7
|
+
h.span([h.Class("what")], entry.what),
|
|
8
|
+
...entry.actions ?? []
|
|
9
|
+
])), "@gjermundgaraba/pixel-paper/history/history.js#anonymous")), "@gjermundgaraba/pixel-paper/history/history.js#entryView");
|
|
10
|
+
/** A ruled log, in an ordered list: when, who, what, and the controls for each entry. */
|
|
11
|
+
const view = (config, h) => {
|
|
12
|
+
const { entries, variant = "Versions", isWrapped = false, label } = config;
|
|
13
|
+
return __foldkitBrandViewResult((h.ol([...label === void 0 ? [] : [h.AriaLabel(label)], h.Class(`history-list${variant === "Checks" ? " checks" : ""}${isWrapped ? " wrapped" : ""}`)], Array.map(entries, entryView(h)))), "@gjermundgaraba/pixel-paper/history/history.js#view");
|
|
14
|
+
};
|
|
15
|
+
export { view };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { view } from "./history.js";
|
|
4
|
+
// src/history/index.ts
|
|
5
|
+
var history_exports = /* @__PURE__ */ __exportAll({ view: () => __foldkitBrandViewResult((view), "@gjermundgaraba/pixel-paper/history/index.js#view") });
|
|
6
|
+
export { history_exports, view };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Attributes } from "../attributes/attributes.js";
|
|
2
|
+
import { GlyphName } from "../glyph/glyphs.js";
|
|
3
|
+
import { KeyHintConfig } from "../button/button.js";
|
|
4
|
+
import { Html, HtmlBuilder } from "foldkit/html";
|
|
5
|
+
/** Configuration for rendering an icon button with `view`. */
|
|
6
|
+
export type ViewConfig<Message> = Readonly<{
|
|
7
|
+
glyph: GlyphName;
|
|
8
|
+
/** The button has no visible text: the label is its name and its tip. */
|
|
9
|
+
label: string;
|
|
10
|
+
onClick?: Message;
|
|
11
|
+
/** Muted until hovered: row tools and copy buttons. */
|
|
12
|
+
isQuiet?: boolean;
|
|
13
|
+
/** Unavailable but focusable (`aria-disabled`), as in `@foldkit/ui`. */
|
|
14
|
+
isDisabled?: boolean;
|
|
15
|
+
/** The key that does the same, printed in the tip after the label (`data-tip-key`): the
|
|
16
|
+
* button has no words to print it beside. */
|
|
17
|
+
keyHint?: KeyHintConfig;
|
|
18
|
+
/** Further attributes for the `<button>`, never a class. */
|
|
19
|
+
attributes?: Attributes<Message>;
|
|
20
|
+
}>;
|
|
21
|
+
/** A bare glyph button, 24px square. Its label is its accessible name and its tip, and its
|
|
22
|
+
* key, where it has one, prints in the tip after the label. */
|
|
23
|
+
export declare const view: <Message>(config: ViewConfig<Message>, h: HtmlBuilder<Message>) => Html;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
+
import { view as view$1 } from "../glyph/glyph.js";
|
|
3
|
+
import { keyLabel } from "../key-hint/key-label.js";
|
|
4
|
+
import { Button } from "@foldkit/ui";
|
|
5
|
+
// src/icon-button/icon-button.ts
|
|
6
|
+
/** A bare glyph button, 24px square. Its label is its accessible name and its tip, and its
|
|
7
|
+
* key, where it has one, prints in the tip after the label. */
|
|
8
|
+
const view = (config, h) => {
|
|
9
|
+
const { glyph, label, onClick, isQuiet = false, isDisabled = false, keyHint, attributes = [] } = config;
|
|
10
|
+
return __foldkitBrandViewResult((Button.view({
|
|
11
|
+
...onClick !== void 0 && { onClick },
|
|
12
|
+
isDisabled,
|
|
13
|
+
toView: (groups) => __foldkitBrandViewResult((h.button([
|
|
14
|
+
...attributes,
|
|
15
|
+
...groups.button,
|
|
16
|
+
h.AriaLabel(label),
|
|
17
|
+
h.DataAttribute("tip", label),
|
|
18
|
+
...keyHint === void 0 ? [] : [h.DataAttribute("tip-key", keyLabel(keyHint.keys, keyHint.platform))],
|
|
19
|
+
h.Class(isQuiet ? "iconbtn quiet" : "iconbtn")
|
|
20
|
+
], [view$1({ name: glyph }, h)])), "@gjermundgaraba/pixel-paper/icon-button/icon-button.js#toView")
|
|
21
|
+
}, h)), "@gjermundgaraba/pixel-paper/icon-button/icon-button.js#view");
|
|
22
|
+
};
|
|
23
|
+
export { view };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { view } from "./icon-button.js";
|
|
4
|
+
// src/icon-button/index.ts
|
|
5
|
+
var icon_button_exports = /* @__PURE__ */ __exportAll({ view: () => __foldkitBrandViewResult((view), "@gjermundgaraba/pixel-paper/icon-button/index.js#view") });
|
|
6
|
+
export { icon_button_exports, view };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Html, HtmlBuilder } from "foldkit/html";
|
|
2
|
+
/** Configuration for rendering an identity with `view`. */
|
|
3
|
+
export type ViewConfig = Readonly<{
|
|
4
|
+
/** Whose: a person, a client, a provider, a source. */
|
|
5
|
+
label: string;
|
|
6
|
+
/** The monogram's mark drawn in cells, in place of its letters (see Monogram). */
|
|
7
|
+
drawing?: string;
|
|
8
|
+
/** A line under the name: an id, a kind, a scope. */
|
|
9
|
+
meta?: ReadonlyArray<Html | string>;
|
|
10
|
+
/** Beside a name set large, as a card's subject. */
|
|
11
|
+
isLarge?: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
/** Who or what something is: its monogram beside its name in the sans, and a meta line.
|
|
14
|
+
* Screen readers hear the name once: the monogram beside it is hidden from them. */
|
|
15
|
+
export declare const view: <Message>(config: ViewConfig, h: HtmlBuilder<Message>) => Html;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
+
import { slotView } from "../slot/slot.js";
|
|
3
|
+
import { view as view$1 } from "../monogram/monogram.js";
|
|
4
|
+
// src/identity/identity.ts
|
|
5
|
+
/** Who or what something is: its monogram beside its name in the sans, and a meta line.
|
|
6
|
+
* Screen readers hear the name once: the monogram beside it is hidden from them. */
|
|
7
|
+
const view = (config, h) => {
|
|
8
|
+
const { label, drawing, meta = [], isLarge = false } = config;
|
|
9
|
+
return __foldkitBrandViewResult((h.div([h.Class(isLarge ? "identity large" : "identity")], [view$1({
|
|
10
|
+
label,
|
|
11
|
+
...drawing !== void 0 && { drawing },
|
|
12
|
+
isLarge
|
|
13
|
+
}, h), h.span([h.Class("identity-text")], [h.strong([], [label]), ...slotView("span", "meta", meta, h)])])), "@gjermundgaraba/pixel-paper/identity/identity.js#view");
|
|
14
|
+
};
|
|
15
|
+
export { view };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { view } from "./identity.js";
|
|
4
|
+
// src/identity/index.ts
|
|
5
|
+
var identity_exports = /* @__PURE__ */ __exportAll({ view: () => __foldkitBrandViewResult((view), "@gjermundgaraba/pixel-paper/identity/index.js#view") });
|
|
6
|
+
export { identity_exports, view };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { index_d_exports } from "./announcer/index.js";
|
|
2
|
+
import { index_d_exports as index_d_exports$1 } from "./banner/index.js";
|
|
3
|
+
import { index_d_exports as index_d_exports$2 } from "./bench/index.js";
|
|
4
|
+
import { index_d_exports as index_d_exports$3 } from "./board/index.js";
|
|
5
|
+
import { index_d_exports as index_d_exports$4 } from "./button/index.js";
|
|
6
|
+
import { index_d_exports as index_d_exports$5 } from "./card/index.js";
|
|
7
|
+
import { index_d_exports as index_d_exports$6 } from "./chip/index.js";
|
|
8
|
+
import { index_d_exports as index_d_exports$7 } from "./choice/index.js";
|
|
9
|
+
import { index_d_exports as index_d_exports$8 } from "./code-editor/index.js";
|
|
10
|
+
import { index_d_exports as index_d_exports$9 } from "./code-surface/index.js";
|
|
11
|
+
import { index_d_exports as index_d_exports$10 } from "./command-palette/index.js";
|
|
12
|
+
import { index_d_exports as index_d_exports$11 } from "./confirm-dialog/index.js";
|
|
13
|
+
import { index_d_exports as index_d_exports$12 } from "./copy-button/index.js";
|
|
14
|
+
import { index_d_exports as index_d_exports$13 } from "./crumbs/index.js";
|
|
15
|
+
import { index_d_exports as index_d_exports$14 } from "./deck/index.js";
|
|
16
|
+
import { index_d_exports as index_d_exports$15 } from "./dialog/index.js";
|
|
17
|
+
import { index_d_exports as index_d_exports$16 } from "./disclosure/index.js";
|
|
18
|
+
import { index_d_exports as index_d_exports$17 } from "./drop-zone/index.js";
|
|
19
|
+
import { index_d_exports as index_d_exports$18 } from "./empty-state/index.js";
|
|
20
|
+
import { index_d_exports as index_d_exports$19 } from "./error-summary/index.js";
|
|
21
|
+
import { index_d_exports as index_d_exports$20 } from "./field/index.js";
|
|
22
|
+
import { index_d_exports as index_d_exports$21 } from "./field-grid/index.js";
|
|
23
|
+
import { index_d_exports as index_d_exports$22 } from "./fieldset/index.js";
|
|
24
|
+
import { index_d_exports as index_d_exports$23 } from "./filter-chip/index.js";
|
|
25
|
+
import { index_d_exports as index_d_exports$24 } from "./filter-strip/index.js";
|
|
26
|
+
import { index_d_exports as index_d_exports$25 } from "./flash-word/index.js";
|
|
27
|
+
import { index_d_exports as index_d_exports$26 } from "./focus/index.js";
|
|
28
|
+
import { index_d_exports as index_d_exports$27 } from "./format/index.js";
|
|
29
|
+
import { index_d_exports as index_d_exports$28 } from "./glyph/index.js";
|
|
30
|
+
import { index_d_exports as index_d_exports$29 } from "./group/index.js";
|
|
31
|
+
import { index_d_exports as index_d_exports$30 } from "./history/index.js";
|
|
32
|
+
import { index_d_exports as index_d_exports$31 } from "./icon-button/index.js";
|
|
33
|
+
import { index_d_exports as index_d_exports$32 } from "./identity/index.js";
|
|
34
|
+
import { index_d_exports as index_d_exports$33 } from "./inline-input/index.js";
|
|
35
|
+
import { index_d_exports as index_d_exports$34 } from "./key-help/index.js";
|
|
36
|
+
import { index_d_exports as index_d_exports$35 } from "./key-hint/index.js";
|
|
37
|
+
import { index_d_exports as index_d_exports$36 } from "./line-diff/index.js";
|
|
38
|
+
import { index_d_exports as index_d_exports$37 } from "./link-button/index.js";
|
|
39
|
+
import { index_d_exports as index_d_exports$38 } from "./link-state/index.js";
|
|
40
|
+
import { index_d_exports as index_d_exports$39 } from "./live-region/index.js";
|
|
41
|
+
import { index_d_exports as index_d_exports$40 } from "./loading/index.js";
|
|
42
|
+
import { index_d_exports as index_d_exports$41 } from "./mark/index.js";
|
|
43
|
+
import { index_d_exports as index_d_exports$42 } from "./menu/index.js";
|
|
44
|
+
import { index_d_exports as index_d_exports$43 } from "./meter/index.js";
|
|
45
|
+
import { index_d_exports as index_d_exports$44 } from "./nav-strip/index.js";
|
|
46
|
+
import { index_d_exports as index_d_exports$45 } from "./notice/index.js";
|
|
47
|
+
import { index_d_exports as index_d_exports$46 } from "./outcome/index.js";
|
|
48
|
+
import { index_d_exports as index_d_exports$47 } from "./page-head/index.js";
|
|
49
|
+
import { index_d_exports as index_d_exports$48 } from "./panel/index.js";
|
|
50
|
+
import { index_d_exports as index_d_exports$49 } from "./password-field/index.js";
|
|
51
|
+
import { index_d_exports as index_d_exports$50 } from "./places/index.js";
|
|
52
|
+
import { index_d_exports as index_d_exports$51 } from "./props-list/index.js";
|
|
53
|
+
import { index_d_exports as index_d_exports$52 } from "./prose/index.js";
|
|
54
|
+
import { index_d_exports as index_d_exports$53 } from "./query-chip/index.js";
|
|
55
|
+
import { index_d_exports as index_d_exports$54 } from "./radio-choices/index.js";
|
|
56
|
+
import { index_d_exports as index_d_exports$55 } from "./rail/index.js";
|
|
57
|
+
import { index_d_exports as index_d_exports$56 } from "./reel/index.js";
|
|
58
|
+
import { index_d_exports as index_d_exports$57 } from "./remote/index.js";
|
|
59
|
+
import { index_d_exports as index_d_exports$58 } from "./rows/index.js";
|
|
60
|
+
import { index_d_exports as index_d_exports$59 } from "./scheme/index.js";
|
|
61
|
+
import { index_d_exports as index_d_exports$60 } from "./secret/index.js";
|
|
62
|
+
import { index_d_exports as index_d_exports$61 } from "./segmented/index.js";
|
|
63
|
+
import { index_d_exports as index_d_exports$62 } from "./select-field/index.js";
|
|
64
|
+
import { index_d_exports as index_d_exports$63 } from "./sheet/index.js";
|
|
65
|
+
import { index_d_exports as index_d_exports$64 } from "./skip-link/index.js";
|
|
66
|
+
import { index_d_exports as index_d_exports$65 } from "./sortable/index.js";
|
|
67
|
+
import { index_d_exports as index_d_exports$66 } from "./stack/index.js";
|
|
68
|
+
import { index_d_exports as index_d_exports$67 } from "./stage/index.js";
|
|
69
|
+
import { index_d_exports as index_d_exports$68 } from "./stat/index.js";
|
|
70
|
+
import { index_d_exports as index_d_exports$69 } from "./status-bar/index.js";
|
|
71
|
+
import { index_d_exports as index_d_exports$70 } from "./table/index.js";
|
|
72
|
+
import { index_d_exports as index_d_exports$71 } from "./tabs/index.js";
|
|
73
|
+
import { index_d_exports as index_d_exports$72 } from "./tag/index.js";
|
|
74
|
+
import { index_d_exports as index_d_exports$74 } from "./textarea-field/index.js";
|
|
75
|
+
import { index_d_exports as index_d_exports$73 } from "./text-button/index.js";
|
|
76
|
+
import { index_d_exports as index_d_exports$75 } from "./time/index.js";
|
|
77
|
+
import { index_d_exports as index_d_exports$76 } from "./tips/index.js";
|
|
78
|
+
import { index_d_exports as index_d_exports$77 } from "./toast/index.js";
|
|
79
|
+
import { index_d_exports as index_d_exports$78 } from "./toc/index.js";
|
|
80
|
+
import { index_d_exports as index_d_exports$79 } from "./top-bar/index.js";
|
|
81
|
+
import { index_d_exports as index_d_exports$80 } from "./wall/index.js";
|
|
82
|
+
import { index_d_exports as index_d_exports$81 } from "./window/index.js";
|
|
83
|
+
import { index_d_exports as index_d_exports$82 } from "./wordmark/index.js";
|
|
84
|
+
import { index_d_exports as index_d_exports$83 } from "./wrap/index.js";
|
|
85
|
+
export { index_d_exports as Announcer, index_d_exports$1 as Banner, index_d_exports$2 as Bench, index_d_exports$3 as Board, index_d_exports$4 as Button, index_d_exports$5 as Card, index_d_exports$6 as Chip, index_d_exports$7 as Choice, index_d_exports$8 as CodeEditor, index_d_exports$9 as CodeSurface, index_d_exports$10 as CommandPalette, index_d_exports$11 as ConfirmDialog, index_d_exports$12 as CopyButton, index_d_exports$13 as Crumbs, index_d_exports$14 as Deck, index_d_exports$15 as Dialog, index_d_exports$16 as Disclosure, index_d_exports$17 as DropZone, index_d_exports$18 as EmptyState, index_d_exports$19 as ErrorSummary, index_d_exports$20 as Field, index_d_exports$21 as FieldGrid, index_d_exports$22 as Fieldset, index_d_exports$23 as FilterChip, index_d_exports$24 as FilterStrip, index_d_exports$25 as FlashWord, index_d_exports$26 as Focus, index_d_exports$27 as Format, index_d_exports$28 as Glyph, index_d_exports$29 as Group, index_d_exports$30 as History, index_d_exports$31 as IconButton, index_d_exports$32 as Identity, index_d_exports$33 as InlineInput, index_d_exports$34 as KeyHelp, index_d_exports$35 as KeyHint, index_d_exports$36 as LineDiff, index_d_exports$37 as LinkButton, index_d_exports$38 as LinkState, index_d_exports$39 as LiveRegion, index_d_exports$40 as Loading, index_d_exports$41 as Mark, index_d_exports$42 as Menu, index_d_exports$43 as Meter, index_d_exports$44 as NavStrip, index_d_exports$45 as Notice, index_d_exports$46 as Outcome, index_d_exports$47 as PageHead, index_d_exports$48 as Panel, index_d_exports$49 as PasswordField, index_d_exports$50 as Places, index_d_exports$51 as PropsList, index_d_exports$52 as Prose, index_d_exports$53 as QueryChip, index_d_exports$54 as RadioChoices, index_d_exports$55 as Rail, index_d_exports$56 as Reel, index_d_exports$57 as Remote, index_d_exports$58 as Rows, index_d_exports$59 as Scheme, index_d_exports$60 as Secret, index_d_exports$61 as Segmented, index_d_exports$62 as SelectField, index_d_exports$63 as Sheet, index_d_exports$64 as SkipLink, index_d_exports$65 as Sortable, index_d_exports$66 as Stack, index_d_exports$67 as Stage, index_d_exports$68 as Stat, index_d_exports$69 as StatusBar, index_d_exports$70 as Table, index_d_exports$71 as Tabs, index_d_exports$72 as Tag, index_d_exports$73 as TextButton, index_d_exports$74 as TextareaField, index_d_exports$75 as Time, index_d_exports$76 as Tips, index_d_exports$77 as Toast, index_d_exports$78 as Toc, index_d_exports$79 as TopBar, index_d_exports$80 as Wall, index_d_exports$81 as Window, index_d_exports$82 as Wordmark, index_d_exports$83 as Wrap };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { announcer_exports } from "./announcer/index.js";
|
|
2
|
+
import { banner_exports } from "./banner/index.js";
|
|
3
|
+
import { bench_exports } from "./bench/index.js";
|
|
4
|
+
import { board_exports } from "./board/index.js";
|
|
5
|
+
import { button_exports } from "./button/index.js";
|
|
6
|
+
import { card_exports } from "./card/index.js";
|
|
7
|
+
import { chip_exports } from "./chip/index.js";
|
|
8
|
+
import { choice_exports } from "./choice/index.js";
|
|
9
|
+
import { code_editor_exports } from "./code-editor/index.js";
|
|
10
|
+
import { code_surface_exports } from "./code-surface/index.js";
|
|
11
|
+
import { command_palette_exports } from "./command-palette/index.js";
|
|
12
|
+
import { confirm_dialog_exports } from "./confirm-dialog/index.js";
|
|
13
|
+
import { copy_button_exports } from "./copy-button/index.js";
|
|
14
|
+
import { crumbs_exports } from "./crumbs/index.js";
|
|
15
|
+
import { deck_exports } from "./deck/index.js";
|
|
16
|
+
import { dialog_exports } from "./dialog/index.js";
|
|
17
|
+
import { disclosure_exports } from "./disclosure/index.js";
|
|
18
|
+
import { drop_zone_exports } from "./drop-zone/index.js";
|
|
19
|
+
import { empty_state_exports } from "./empty-state/index.js";
|
|
20
|
+
import { error_summary_exports } from "./error-summary/index.js";
|
|
21
|
+
import { field_exports } from "./field/index.js";
|
|
22
|
+
import { field_grid_exports } from "./field-grid/index.js";
|
|
23
|
+
import { fieldset_exports } from "./fieldset/index.js";
|
|
24
|
+
import { filter_chip_exports } from "./filter-chip/index.js";
|
|
25
|
+
import { filter_strip_exports } from "./filter-strip/index.js";
|
|
26
|
+
import { flash_word_exports } from "./flash-word/index.js";
|
|
27
|
+
import { focus_exports } from "./focus/index.js";
|
|
28
|
+
import { format_exports } from "./format/index.js";
|
|
29
|
+
import { glyph_exports } from "./glyph/index.js";
|
|
30
|
+
import { group_exports } from "./group/index.js";
|
|
31
|
+
import { history_exports } from "./history/index.js";
|
|
32
|
+
import { icon_button_exports } from "./icon-button/index.js";
|
|
33
|
+
import { identity_exports } from "./identity/index.js";
|
|
34
|
+
import { inline_input_exports } from "./inline-input/index.js";
|
|
35
|
+
import { key_help_exports } from "./key-help/index.js";
|
|
36
|
+
import { key_hint_exports } from "./key-hint/index.js";
|
|
37
|
+
import { line_diff_exports } from "./line-diff/index.js";
|
|
38
|
+
import { link_button_exports } from "./link-button/index.js";
|
|
39
|
+
import { link_state_exports } from "./link-state/index.js";
|
|
40
|
+
import { live_region_exports } from "./live-region/index.js";
|
|
41
|
+
import { loading_exports } from "./loading/index.js";
|
|
42
|
+
import { mark_exports } from "./mark/index.js";
|
|
43
|
+
import { menu_exports } from "./menu/index.js";
|
|
44
|
+
import { meter_exports } from "./meter/index.js";
|
|
45
|
+
import { nav_strip_exports } from "./nav-strip/index.js";
|
|
46
|
+
import { notice_exports } from "./notice/index.js";
|
|
47
|
+
import { outcome_exports } from "./outcome/index.js";
|
|
48
|
+
import { page_head_exports } from "./page-head/index.js";
|
|
49
|
+
import { panel_exports } from "./panel/index.js";
|
|
50
|
+
import { password_field_exports } from "./password-field/index.js";
|
|
51
|
+
import { places_exports } from "./places/index.js";
|
|
52
|
+
import { props_list_exports } from "./props-list/index.js";
|
|
53
|
+
import { prose_exports } from "./prose/index.js";
|
|
54
|
+
import { query_chip_exports } from "./query-chip/index.js";
|
|
55
|
+
import { radio_choices_exports } from "./radio-choices/index.js";
|
|
56
|
+
import { rail_exports } from "./rail/index.js";
|
|
57
|
+
import { reel_exports } from "./reel/index.js";
|
|
58
|
+
import { remote_exports } from "./remote/index.js";
|
|
59
|
+
import { rows_exports } from "./rows/index.js";
|
|
60
|
+
import { scheme_exports } from "./scheme/index.js";
|
|
61
|
+
import { secret_exports } from "./secret/index.js";
|
|
62
|
+
import { segmented_exports } from "./segmented/index.js";
|
|
63
|
+
import { select_field_exports } from "./select-field/index.js";
|
|
64
|
+
import { sheet_exports } from "./sheet/index.js";
|
|
65
|
+
import { skip_link_exports } from "./skip-link/index.js";
|
|
66
|
+
import { sortable_exports } from "./sortable/index.js";
|
|
67
|
+
import { stack_exports } from "./stack/index.js";
|
|
68
|
+
import { stage_exports } from "./stage/index.js";
|
|
69
|
+
import { stat_exports } from "./stat/index.js";
|
|
70
|
+
import { status_bar_exports } from "./status-bar/index.js";
|
|
71
|
+
import { table_exports } from "./table/index.js";
|
|
72
|
+
import { tabs_exports } from "./tabs/index.js";
|
|
73
|
+
import { tag_exports } from "./tag/index.js";
|
|
74
|
+
import { textarea_field_exports } from "./textarea-field/index.js";
|
|
75
|
+
import { text_button_exports } from "./text-button/index.js";
|
|
76
|
+
import { time_exports } from "./time/index.js";
|
|
77
|
+
import { tips_exports } from "./tips/index.js";
|
|
78
|
+
import { toast_exports } from "./toast/index.js";
|
|
79
|
+
import { toc_exports } from "./toc/index.js";
|
|
80
|
+
import { top_bar_exports } from "./top-bar/index.js";
|
|
81
|
+
import { wall_exports } from "./wall/index.js";
|
|
82
|
+
import { window_exports } from "./window/index.js";
|
|
83
|
+
import { wordmark_exports } from "./wordmark/index.js";
|
|
84
|
+
import { wrap_exports } from "./wrap/index.js";
|
|
85
|
+
export { announcer_exports as Announcer, banner_exports as Banner, bench_exports as Bench, board_exports as Board, button_exports as Button, card_exports as Card, chip_exports as Chip, choice_exports as Choice, code_editor_exports as CodeEditor, code_surface_exports as CodeSurface, command_palette_exports as CommandPalette, confirm_dialog_exports as ConfirmDialog, copy_button_exports as CopyButton, crumbs_exports as Crumbs, deck_exports as Deck, dialog_exports as Dialog, disclosure_exports as Disclosure, drop_zone_exports as DropZone, empty_state_exports as EmptyState, error_summary_exports as ErrorSummary, field_exports as Field, field_grid_exports as FieldGrid, fieldset_exports as Fieldset, filter_chip_exports as FilterChip, filter_strip_exports as FilterStrip, flash_word_exports as FlashWord, focus_exports as Focus, format_exports as Format, glyph_exports as Glyph, group_exports as Group, history_exports as History, icon_button_exports as IconButton, identity_exports as Identity, inline_input_exports as InlineInput, key_help_exports as KeyHelp, key_hint_exports as KeyHint, line_diff_exports as LineDiff, link_button_exports as LinkButton, link_state_exports as LinkState, live_region_exports as LiveRegion, loading_exports as Loading, mark_exports as Mark, menu_exports as Menu, meter_exports as Meter, nav_strip_exports as NavStrip, notice_exports as Notice, outcome_exports as Outcome, page_head_exports as PageHead, panel_exports as Panel, password_field_exports as PasswordField, places_exports as Places, props_list_exports as PropsList, prose_exports as Prose, query_chip_exports as QueryChip, radio_choices_exports as RadioChoices, rail_exports as Rail, reel_exports as Reel, remote_exports as Remote, rows_exports as Rows, scheme_exports as Scheme, secret_exports as Secret, segmented_exports as Segmented, select_field_exports as SelectField, sheet_exports as Sheet, skip_link_exports as SkipLink, sortable_exports as Sortable, stack_exports as Stack, stage_exports as Stage, stat_exports as Stat, status_bar_exports as StatusBar, table_exports as Table, tabs_exports as Tabs, tag_exports as Tag, text_button_exports as TextButton, textarea_field_exports as TextareaField, time_exports as Time, tips_exports as Tips, toast_exports as Toast, toc_exports as Toc, top_bar_exports as TopBar, wall_exports as Wall, window_exports as Window, wordmark_exports as Wordmark, wrap_exports as Wrap };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BindFieldKeys, FocusField, InitConfig, Message, Model, OutMessage, ViewInputs, errorView, failed, init, isSaving, maybeError, succeeded, update, view } from "./inline-input.js";
|
|
2
|
+
declare namespace index_d_exports {
|
|
3
|
+
export { BindFieldKeys, FocusField, InitConfig, Message, Model, OutMessage, ViewInputs, errorView, failed, init, isSaving, maybeError, succeeded, update, view };
|
|
4
|
+
}
|
|
5
|
+
export { BindFieldKeys, FocusField, type InitConfig, Message, Model, OutMessage, type ViewInputs, errorView, failed, index_d_exports, init, isSaving, maybeError, succeeded, update, view };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { BindFieldKeys, FocusField, Message, Model, OutMessage, errorView, failed, init, isSaving, maybeError, succeeded, update, view } from "./inline-input.js";
|
|
4
|
+
// src/inline-input/index.ts
|
|
5
|
+
var inline_input_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
+
BindFieldKeys: () => __foldkitBrandViewResult((BindFieldKeys), "@gjermundgaraba/pixel-paper/inline-input/index.js#BindFieldKeys"),
|
|
7
|
+
FocusField: () => __foldkitBrandViewResult((FocusField), "@gjermundgaraba/pixel-paper/inline-input/index.js#FocusField"),
|
|
8
|
+
Message: () => __foldkitBrandViewResult((Message), "@gjermundgaraba/pixel-paper/inline-input/index.js#Message"),
|
|
9
|
+
Model: () => __foldkitBrandViewResult((Model), "@gjermundgaraba/pixel-paper/inline-input/index.js#Model"),
|
|
10
|
+
OutMessage: () => __foldkitBrandViewResult((OutMessage), "@gjermundgaraba/pixel-paper/inline-input/index.js#OutMessage"),
|
|
11
|
+
errorView: () => __foldkitBrandViewResult((errorView), "@gjermundgaraba/pixel-paper/inline-input/index.js#errorView"),
|
|
12
|
+
failed: () => __foldkitBrandViewResult((failed), "@gjermundgaraba/pixel-paper/inline-input/index.js#failed"),
|
|
13
|
+
init: () => __foldkitBrandViewResult((init), "@gjermundgaraba/pixel-paper/inline-input/index.js#init"),
|
|
14
|
+
isSaving: () => __foldkitBrandViewResult((isSaving), "@gjermundgaraba/pixel-paper/inline-input/index.js#isSaving"),
|
|
15
|
+
maybeError: () => __foldkitBrandViewResult((maybeError), "@gjermundgaraba/pixel-paper/inline-input/index.js#maybeError"),
|
|
16
|
+
succeeded: () => __foldkitBrandViewResult((succeeded), "@gjermundgaraba/pixel-paper/inline-input/index.js#succeeded"),
|
|
17
|
+
update: () => __foldkitBrandViewResult((update), "@gjermundgaraba/pixel-paper/inline-input/index.js#update"),
|
|
18
|
+
view: () => __foldkitBrandViewResult((view), "@gjermundgaraba/pixel-paper/inline-input/index.js#view")
|
|
19
|
+
});
|
|
20
|
+
export { BindFieldKeys, FocusField, Message, Model, OutMessage, errorView, failed, init, inline_input_exports, isSaving, maybeError, succeeded, update, view };
|