Official
ui
The look of the app's components: buttons, list rows, cards, settings, callouts, and the blocks and tables of replies. Edit a component here and the whole app draws with it.
The app opens the listing; nothing installs until an agent in your Plugins workspace has read the files and you enable the plugin. In a terminal: dvg install divergence/ui@0.1.2
Permissions in 0.1.2
Files
components.ts1.3 KB
// Every component of the set, by the name an instance gives as its type
// (`<button>`, `<tableCell>`). A component added here is a new tag every
// plugin may use; one taken out keeps the look the app ships with.
import { badge } from "./components/badge.tsx";
import { block, blockBody, blockHeader } from "./components/block.tsx";
import { bubble } from "./components/bubble.tsx";
import { button } from "./components/button.tsx";
import { callout } from "./components/callout.tsx";
import { card } from "./components/card.tsx";
import { divider } from "./components/divider.tsx";
import { empty } from "./components/empty.tsx";
import { item } from "./components/item.tsx";
import { panel } from "./components/panel.tsx";
import { progress } from "./components/progress.tsx";
import { reply } from "./components/reply.tsx";
import { setting } from "./components/setting.tsx";
import { spacer } from "./components/spacer.tsx";
import { table, tableCell, tableRow } from "./components/table.tsx";
import type { Definition } from "./define.ts";
export const components: Readonly<Record<string, Definition>> = {
badge,
block,
blockBody,
blockHeader,
bubble,
button,
callout,
card,
divider,
empty,
item,
panel,
progress,
reply,
setting,
spacer,
table,
tableCell,
tableRow,
};
No comments yet.