spell-ui 0.8.8 → 0.8.9
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/dist/components/ui-parts/UIHeader.d.ts +12 -2
- package/dist/components/ui-parts/UIHeader.en.d.ts +5 -2
- package/dist/components/ui-parts/UIParts.types.d.ts +5 -2
- package/dist/core.js +2 -2
- package/dist/core.js.map +1 -1
- package/dist/jsx.d.ts +4 -4
- package/dist/ui-parts.js +85 -58
- package/dist/ui-parts.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-parts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-parts.js","names":["_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","UIT.PosterSizes","<Dynamic\n component={this.rootTag}\n class={this.rootClass}\n part={this.partForName(\"header\")}\n href={this.linkTo}\n target={this.linkTarget}\n role={this.link && this.level ? \"heading\" : void 0}\n aria-level={this.link ? this.level : void 0}\n >\n <slot />\n </Dynamic>","this","this.link ? this.level : void 0","<slot />","_tmpl$","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","E.protoMerged","_$createComponent","_$memo","_$getOwner","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","<Show when={this.src} fallback={<slot />}>\n <img src={this.src} alt={this.tooltip ?? \"\"} title={this.tooltip} part={this.partForName(\"image\")} />\n </Show>","this","<slot />","alt={this.tooltip ?? \"\"}","title={this.tooltip}","part={this.partForName(\"image\")}","<img src={this.src} alt={this.tooltip ?? \"\"} title={this.tooltip} part={this.partForName(\"image\")} />","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","_$createComponent","_$getOwner","_$setAttribute","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","E.PartComponent","E.proto","__name","__name$1","__publicField","__decorateElement","__decoratorMetadata","__runInitializers","PosterSizes","__decoratorStart","getOwner$1","contentVocabulary","_vocabulary_dec$12","_a$12","_init$12","_UIContent","PartComponent","proto","UIContent","headerVocabulary","_tmpl$$1","_elementSetup_dec","_vocabulary_dec$11","_a$11","_init$11","_UIHeader","protoMerged","_self$","createComponent","Dynamic","\"class\"","memo","_el$","level","UIHeader","descriptionVocabulary","_vocabulary_dec$10","_a$10","_init$10","_UIDescription","UIDescription","metaVocabulary","_vocabulary_dec$9","_a$9","_init$9","_UIMeta","UIMeta","extraVocabulary","_vocabulary_dec$8","_a$8","_init$8","_UIExtra","UIExtra","actionsVocabulary","_vocabulary_dec$7","_a$7","_init$7","_UIActions","UIActions","titleVocabulary","_vocabulary_dec$6","_a$6","_init$6","_UITitle","UITitle","summaryVocabulary","_vocabulary_dec$5","_a$5","_init$5","_UISummary","UISummary","dateVocabulary","_vocabulary_dec$4","_a$4","_init$4","_UIDate","UIDate","authorVocabulary","_vocabulary_dec$3","_a$3","_init$3","_UIAuthor","UIAuthor","avatarVocabulary","_tmpl$","_tmpl$2","_vocabulary_dec$2","_a$2","_init$2","_UIAvatar","Show","_el$2","effect","_p$","setAttribute","t","a","o","UIAvatar","detailVocabulary","_vocabulary_dec$1","_a$1","_init$1","_UIDetail","UIDetail","valueVocabulary","_vocabulary_dec","_a","_init","_UIValue","UIValue"],"sources":["../src/components/ui-parts/UIContent.en.ts","../src/components/ui-parts/UIContent.ts","../src/components/ui-parts/UIHeader.en.ts","../src/components/ui-parts/UIHeader.tsx","../src/components/ui-parts/UIDescription.en.ts","../src/components/ui-parts/UIDescription.ts","../src/components/ui-parts/UIMeta.en.ts","../src/components/ui-parts/UIMeta.ts","../src/components/ui-parts/UIExtra.en.ts","../src/components/ui-parts/UIExtra.ts","../src/components/ui-parts/UIActions.en.ts","../src/components/ui-parts/UIActions.ts","../src/components/ui-parts/UITitle.en.ts","../src/components/ui-parts/UITitle.ts","../src/components/ui-parts/UISummary.en.ts","../src/components/ui-parts/UISummary.ts","../src/components/ui-parts/UIDate.en.ts","../src/components/ui-parts/UIDate.ts","../src/components/ui-parts/UIAuthor.en.ts","../src/components/ui-parts/UIAuthor.ts","../src/components/ui-parts/UIAvatar.en.ts","../src/components/ui-parts/UIAvatar.tsx","../src/components/ui-parts/UIDetail.en.ts","../src/components/ui-parts/UIDetail.ts","../src/components/ui-parts/UIValue.en.ts","../src/components/ui-parts/UIValue.ts","../src/components/ui-parts/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-content>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-content>` => `class=\"content\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `contentVocabulary`\n * The names of `<ui-content>`, a content block: `<div class=\"content\">`.\n ****************/\nexport const contentVocabulary = {\n tag: \"ui-content\",\n icon: \"align left\",\n topics: [\"content parts\", \"containers\", \"cards\"],\n aka: [\"body\", \"content area\", \"card body\"],\n noun: \"content\",\n ui: false,\n description: \"The main content block of a card, item, event, comment, modal, message, list item, step ...\",\n attributes: [\n {\n name: \"image\",\n group: \"content\",\n kind: \"keyOnly\",\n description: \"In a modal: an image beside the description (a flex row).\"\n },\n { name: \"scrolling\", group: \"layout\", kind: \"keyOnly\", description: \"In a modal: a capped height that scrolls.\" },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"textAlign\",\n values: \"alignments\",\n replaces: [\"text-align\"],\n description:\n \"Aligns its text `left`, `center`, `right` or `justified` (a card's `center aligned content`). Its old name was `text-align`.\"\n },\n {\n name: \"vertical-align\",\n group: \"layout\",\n kind: \"verticalAlign\",\n values: \"verticalAlignments\",\n description: \"In an item or a list: `top`, `middle` or `bottom` against the image or icon beside it.\"\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"Content, usually other parts.\" }],\n parts: [{ name: \"content\", description: \"The content box.\" }],\n states: [\n { name: \"in-card\", description: \"Owned by a card.\" },\n { name: \"in-item\", description: \"Owned by an item.\" },\n { name: \"in-feed\", description: \"Owned by a feed.\" },\n { name: \"in-comment\", description: \"Owned by a comment.\" },\n { name: \"in-modal\", description: \"Owned by a modal.\" },\n { name: \"in-flyout\", description: \"Owned by a flyout.\" },\n { name: \"in-message\", description: \"Owned by a message.\" },\n { name: \"in-list\", description: \"Owned by a list.\" },\n { name: \"in-step\", description: \"Owned by a step.\" },\n { name: \"in-accordion\", description: \"Owned by an accordion.\" },\n { name: \"in-popup\", description: \"Owned by a popup.\" },\n { name: \"in-toast\", description: \"Owned by a toast.\" },\n { name: \"in-search\", description: \"Owned by a search.\" },\n { name: \"in-header\", description: \"Owned by a header.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { contentVocabulary } from \"./UIContent.en\"\n\n/****************\n * ### `UIContent`\n * The component behind `<ui-content>`: an owner's main block of content,\n * `<div class=\"[image] [scrolling] [text-align] [vertical-align] content\">`.\n *\n * - `image` and `scrolling` are a modal's layouts; `text-align` and `vertical-align` are Fomantic's\n * `center aligned content` (in a card, an item, a list).\n * - No `floated` since epic `ui-gaps` P8: a `<ui-stack>` places content left and right.\n * - `scrolling`: the root is a keyboard stop (`tabindex=0`), as every scrollable region must be.\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UIContent extends E.PartComponent<typeof contentVocabulary> {\n @E.proto static vocabulary = contentVocabulary\n\n protected get rootTabIndex(): number | undefined {\n return this.scrolling ? 0 : undefined\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIContent extends E.AttributeValues<typeof contentVocabulary> {}\n","/**\n * The English vocabulary of `<ui-header>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-header>` => `class=\"header\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `<ui-header>` owns parts too: a nested `<ui-header>` is its sub header, a `<ui-content>` its text column.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport * as UIT from \"spell/ui/components/components.types\"\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `headerVocabulary`\n * The names of `<ui-header>`, a header: standalone, `<div class=\"ui ... header\">` (`<h1>` ... `<h6>` with `level`);\n * owned, `<div class=\"header\">`.\n ****************/\nexport const headerVocabulary = {\n tag: \"ui-header\",\n icon: \"heading\",\n topics: [\"content parts\", \"typography\", \"text\", \"basic\", \"elements\"],\n aka: [\"heading\", \"title\", \"h1\", \"headline\"],\n skeleton: \"medium line\",\n noun: \"header\",\n plural: \"headers\",\n description: \"A header provides a short summary of content.\",\n attributes: [\n {\n name: \"level\",\n group: \"appearance\",\n kind: \"enum\",\n values: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\"],\n description: \"Page header: renders `<h1>` ... `<h6>`, sized by level unless `size` is set.\"\n },\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n values: UIT.PosterSizes,\n description:\n \"Content header size relative to the surrounding text, `mini` ... `massive`; `medium` is the default. \" +\n \"`poster` is bigger still, for a page's title: it grows with the window, from 2.4 to 4 times the text.\"\n },\n { name: \"color\", group: \"appearance\", kind: \"color\", description: \"Hue of the text (and of a `dividing` rule).\" },\n {\n name: \"sub\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"A sub heading: small, uppercase. Inside a header, its sub header.\"\n },\n {\n name: \"icon\",\n group: \"content\",\n kind: \"keyOnly\",\n description: \"Icon header: a large slotted icon centred above the text.\"\n },\n { name: \"dividing\", group: \"appearance\", kind: \"keyOnly\", description: \"A rule below it.\" },\n { name: \"block\", group: \"layout\", kind: \"keyOnly\", description: \"In a tinted box.\" },\n {\n name: \"attach\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"both\", \"top\", \"bottom\"],\n classes: { both: \"attached\", top: \"top attached\", bottom: \"bottom attached\" },\n replaces: [{ from: \"attached\", value: \"both\" }],\n description:\n \"Joined to a segment below (`top`) or above (`bottom`); `both` sits between two. Its old name was `attached`.\"\n },\n {\n name: \"seamless\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"With `attached`: no line where it meets the segment.\"\n },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"textAlign\",\n values: \"alignments\",\n replaces: [\"text-align\"],\n description: \"Aligns its text `left`, `center`, `right` or `justified`. Its old name was `text-align`.\"\n },\n {\n name: \"padding\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"none\"],\n classes: { none: \"fitted\" },\n replaces: [{ from: \"fitted\", value: \"none\" }],\n description: \"`none`: no padding. Its old name was `fitted`.\"\n },\n { name: \"disabled\", group: \"states\", kind: \"keyOnly\", description: \"Dimmed.\" },\n {\n name: \"inverted\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"For dark backgrounds: the dark scheme, for it and its parts.\"\n },\n {\n name: \"link\",\n group: \"link\",\n kind: \"string\",\n replaces: [\"href\"],\n description: \"Renders a link (`<a>`) styled as a header. Its old name was `href`.\"\n }\n ],\n events: [],\n slots: [\n {\n name: \"\",\n description: \"Text, a slotted `<ui-icon>` / `<img>`, a `<ui-content>` and a nested `<ui-header>` (sub header).\"\n }\n ],\n parts: [{ name: \"header\", description: \"The header box (`<div>`, `<h1>` ... `<h6>`, or `<a>`).\" }],\n states: [\n { name: \"in-card\", description: \"Owned by a card.\" },\n { name: \"in-item\", description: \"Owned by an item.\" },\n { name: \"in-modal\", description: \"Owned by a modal.\" },\n { name: \"in-flyout\", description: \"Owned by a flyout.\" },\n { name: \"in-message\", description: \"Owned by a message.\" },\n { name: \"in-list\", description: \"Owned by a list.\" },\n { name: \"in-popup\", description: \"Owned by a popup.\" },\n { name: \"in-toast\", description: \"Owned by a toast.\" },\n { name: \"in-header\", description: \"Owned by a header.\" },\n { name: \"in-menu\", description: \"Owned by a menu: an item's sub header (a vertical menu's `.item > .header`).\" }\n ],\n texts: [],\n ownsParts: [\"header\", \"content\"]\n} as const satisfies E.ComponentVocabulary\n","import { Dynamic, type JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { headerVocabulary } from \"./UIHeader.en\"\n\n/****************\n * ### `UIHeader`\n * The component behind `<ui-header>`: a header, which is two things in one.\n *\n * - STANDALONE: Fomantic's `ui header`, in the class grammar (`ui large red dividing header`):\n * - on a `<div>`;\n * - on `<h1>` ... `<h6>` with `level` (a page header, sized by its level unless `size` is set);\n * - on `<a>` with `link`.\n * - OWNED (in a card, a modal ... or another header, whose sub header it then is):\n * a bare `.header`, never `ui`, as Fomantic's `.ui.card > .content > .header`.\n * - `level` makes a real heading. A linked heading is `<a role=\"heading\" aria-level>`,\n * since the link carries the class grammar.\n * - It is an OWNER too (`ownsParts: header, content`): a `<ui-header>` or `<ui-content>` inside it belongs to it.\n ****************/\nexport class UIHeader extends E.PartComponent<typeof headerVocabulary> {\n @E.proto static vocabulary = headerVocabulary\n @E.protoMerged static elementSetup = {\n // `disabled`: only a look\n disabled: \"its own\"\n } satisfies Partial<E.ElementSetup>\n\n render(): JSX.Element {\n return (\n <Dynamic\n component={this.rootTag}\n class={this.rootClass}\n part={this.partForName(\"header\")}\n href={this.linkTo}\n target={this.linkTarget}\n role={this.link && this.level ? \"heading\" : undefined}\n aria-level={this.link ? this.level : undefined}\n >\n <slot />\n </Dynamic>\n )\n }\n\n /** `<a>` for `link`, `<hN>` for `level`, else `<div>`. */\n protected get rootTag(): string {\n if (this.link) return \"a\"\n const level = this.level ? (Number(this.level) as UIT.HeaderLevel) : undefined\n return level ? `h${level}` : \"div\"\n }\n\n /** Standalone: the class grammar; owned: the bare noun. */\n get rootClass(): string {\n return this.context.ownerNoun ? this.vocabulary.noun : super.rootClass\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIHeader extends E.AttributeValues<typeof headerVocabulary> {}\n","/**\n * The English vocabulary of `<ui-description>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-description>` => `class=\"description\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `descriptionVocabulary`\n * The names of `<ui-description>`, descriptive text: `<div class=\"description\">`.\n ****************/\nexport const descriptionVocabulary = {\n tag: \"ui-description\",\n icon: \"align left\",\n topics: [\"content parts\", \"text\"],\n aka: [\"body text\", \"summary text\", \"details\"],\n noun: \"description\",\n ui: false,\n description: \"A description of the content: card / item / modal / list / step / search text, a comment's text.\",\n attributes: [],\n events: [],\n slots: [{ name: \"\", description: \"Text.\" }],\n parts: [{ name: \"description\", description: \"The description box.\" }],\n states: [\n { name: \"in-card\", description: \"Owned by a card.\" },\n { name: \"in-item\", description: \"Owned by an item.\" },\n { name: \"in-comment\", description: \"Owned by a comment.\" },\n { name: \"in-modal\", description: \"Owned by a modal.\" },\n { name: \"in-flyout\", description: \"Owned by a flyout.\" },\n { name: \"in-list\", description: \"Owned by a list.\" },\n { name: \"in-step\", description: \"Owned by a step.\" },\n { name: \"in-search\", description: \"Owned by a search.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { descriptionVocabulary } from \"./UIDescription.en\"\n\n/****************\n * ### `UIDescription`\n * The component behind `<ui-description>`: descriptive text, `<div class=\"description\">`.\n *\n * - A card's, item's, modal's, list's, step's or search result's text; a comment's text.\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UIDescription extends E.PartComponent<typeof descriptionVocabulary> {\n @E.proto static vocabulary = descriptionVocabulary\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIDescription extends E.AttributeValues<typeof descriptionVocabulary> {}\n","/**\n * The English vocabulary of `<ui-meta>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-meta>` => `class=\"meta\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `metaVocabulary`\n * The names of `<ui-meta>`, metadata: `<div class=\"meta\">`.\n ****************/\nexport const metaVocabulary = {\n tag: \"ui-meta\",\n icon: \"info\",\n topics: [\"content parts\", \"text\"],\n aka: [\"metadata\", \"subtitle\", \"byline\", \"caption\"],\n noun: \"meta\",\n ui: false,\n description: \"Metadata about the content, e.g. a date or a category; a comment's `metadata`.\",\n attributes: [],\n events: [],\n slots: [{ name: \"\", description: \"Short items, spaced apart (`<span>`s, links).\" }],\n parts: [{ name: \"meta\", description: \"The meta box.\" }],\n states: [\n { name: \"in-card\", description: \"Owned by a card.\" },\n { name: \"in-item\", description: \"Owned by an item.\" },\n { name: \"in-feed\", description: \"Owned by a feed.\" },\n { name: \"in-comment\", description: \"Owned by a comment.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { metaVocabulary } from \"./UIMeta.en\"\n\n/****************\n * ### `UIMeta`\n * The component behind `<ui-meta>`: metadata, `<div class=\"meta\">`, such as a date or a category.\n *\n * - Fomantic's comment `.metadata`.\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UIMeta extends E.PartComponent<typeof metaVocabulary> {\n @E.proto static vocabulary = metaVocabulary\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIMeta extends E.AttributeValues<typeof metaVocabulary> {}\n","/**\n * The English vocabulary of `<ui-extra>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-extra>` => `class=\"extra\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `extraVocabulary`\n * The names of `<ui-extra>`, extra content: `<div class=\"extra\">`.\n ****************/\nexport const extraVocabulary = {\n tag: \"ui-extra\",\n icon: \"ellipsis horizontal\",\n topics: [\"content parts\", \"cards\"],\n aka: [\"footer\", \"card footer\", \"extra content\"],\n noun: \"extra\",\n ui: false,\n description: \"Extra content, set apart from the main content, e.g. a card's footer.\",\n attributes: [{ name: \"text\", group: \"name\", kind: \"keyOnly\", description: \"In a feed: a block of extra text.\" }],\n events: [],\n slots: [{ name: \"\", description: \"Content.\" }],\n parts: [{ name: \"extra\", description: \"The extra box.\" }],\n states: [\n { name: \"in-card\", description: \"Owned by a card.\" },\n { name: \"in-item\", description: \"Owned by an item.\" },\n { name: \"in-feed\", description: \"Owned by a feed.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { extraVocabulary } from \"./UIExtra.en\"\n\n/****************\n * ### `UIExtra`\n * The component behind `<ui-extra>`: extra content, `<div class=\"[text] extra\">`,\n * set apart from the main content, such as a card's footer.\n *\n * - `text`: a feed event's extra text.\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UIExtra extends E.PartComponent<typeof extraVocabulary> {\n @E.proto static vocabulary = extraVocabulary\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIExtra extends E.AttributeValues<typeof extraVocabulary> {}\n","/**\n * The English vocabulary of `<ui-actions>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-actions>` => `class=\"actions\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `actionsVocabulary`\n * The names of `<ui-actions>`, actions: `<div class=\"actions\">`.\n ****************/\nexport const actionsVocabulary = {\n tag: \"ui-actions\",\n icon: \"hand point up outline\",\n topics: [\"content parts\", \"buttons\", \"dialogs\"],\n aka: [\"footer buttons\", \"button bar\", \"dialog actions\"],\n noun: \"actions\",\n ui: false,\n description: \"Actions a person can take: a modal's or toast's buttons, a comment's reply links.\",\n attributes: [],\n events: [],\n slots: [{ name: \"\", description: \"Buttons or links.\" }],\n parts: [{ name: \"actions\", description: \"The actions box.\" }],\n states: [\n { name: \"in-comment\", description: \"Owned by a comment.\" },\n { name: \"in-modal\", description: \"Owned by a modal.\" },\n { name: \"in-flyout\", description: \"Owned by a flyout.\" },\n { name: \"in-toast\", description: \"Owned by a toast.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { actionsVocabulary } from \"./UIActions.en\"\n\n/****************\n * ### `UIActions`\n * The component behind `<ui-actions>`: a row of actions, `<div class=\"actions\">`,\n * such as a modal's or a toast's buttons, or a comment's reply links.\n *\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UIActions extends E.PartComponent<typeof actionsVocabulary> {\n @E.proto static vocabulary = actionsVocabulary\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIActions extends E.AttributeValues<typeof actionsVocabulary> {}\n","/**\n * The English vocabulary of `<ui-title>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-title>` => `class=\"title\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `titleVocabulary`\n * The names of `<ui-title>`, a title: `<div class=\"title\">` (`<a>` with `link`).\n ****************/\nexport const titleVocabulary = {\n tag: \"ui-title\",\n icon: \"heading\",\n topics: [\"content parts\", \"typography\", \"containers\"],\n aka: [\"accordion title\", \"summary\", \"toggle header\"],\n noun: \"title\",\n ui: false,\n description: \"A title: a step's, an accordion panel's, a search result's.\",\n attributes: [\n {\n name: \"link\",\n group: \"link\",\n kind: \"string\",\n replaces: [\"href\"],\n description: \"Renders a link (`<a>`). Its old name was `href`.\"\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"Text.\" }],\n parts: [{ name: \"title\", description: \"The title box.\" }],\n states: [\n { name: \"in-step\", description: \"Owned by a step.\" },\n { name: \"in-accordion\", description: \"Owned by an accordion.\" },\n { name: \"in-search\", description: \"Owned by a search.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { titleVocabulary } from \"./UITitle.en\"\n\n/****************\n * ### `UITitle`\n * The component behind `<ui-title>`: a title, `<div class=\"title\">`, or `<a class=\"title\">` with `link`.\n *\n * - A step's, an accordion panel's or a search result's title.\n ****************/\nexport class UITitle extends E.PartComponent<typeof titleVocabulary> {\n @E.proto static vocabulary = titleVocabulary\n\n protected get rootTag(): string {\n return this.link ? \"a\" : \"div\"\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UITitle extends E.AttributeValues<typeof titleVocabulary> {}\n","/**\n * The English vocabulary of `<ui-summary>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-summary>` => `class=\"summary\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `summaryVocabulary`\n * The names of `<ui-summary>`, a summary: `<div class=\"summary\">`.\n ****************/\nexport const summaryVocabulary = {\n tag: \"ui-summary\",\n icon: \"align justify\",\n topics: [\"content parts\", \"social\"],\n aka: [\"event summary\", \"headline\"],\n noun: \"summary\",\n ui: false,\n description: \"A feed event's summary line, e.g. who did what, with an inline date.\",\n attributes: [],\n events: [],\n slots: [{ name: \"\", description: \"Text, `<ui-author>`, `<ui-date>`.\" }],\n parts: [{ name: \"summary\", description: \"The summary box.\" }],\n states: [{ name: \"in-feed\", description: \"Owned by a feed.\" }],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { summaryVocabulary } from \"./UISummary.en\"\n\n/****************\n * ### `UISummary`\n * The component behind `<ui-summary>`: a summary, `<div class=\"summary\">`,\n * such as a feed event's summary line.\n *\n * - A `<ui-date>` inside it goes inline (`UIParts.css` sets `--_ui-part: summary` on its root).\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UISummary extends E.PartComponent<typeof summaryVocabulary> {\n @E.proto static vocabulary = summaryVocabulary\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UISummary extends E.AttributeValues<typeof summaryVocabulary> {}\n","/**\n * The English vocabulary of `<ui-date>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-date>` => `class=\"date\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `dateVocabulary`\n * The names of `<ui-date>`, a date: `<time class=\"date\">`.\n ****************/\nexport const dateVocabulary = {\n tag: \"ui-date\",\n icon: \"calendar outline\",\n topics: [\"content parts\", \"date & time\", \"social\"],\n aka: [\"timestamp\", \"time ago\", \"posted at\"],\n noun: \"date\",\n ui: false,\n description: \"When something happened; inline and small inside a summary.\",\n attributes: [\n {\n name: \"datetime\",\n group: \"appearance\",\n kind: \"string\",\n property: \"dateTime\",\n description: \"Machine-readable date, as `<time datetime>`.\"\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"The human-readable date.\" }],\n parts: [{ name: \"date\", description: \"The `<time>`.\" }],\n states: [{ name: \"in-feed\", description: \"Owned by a feed.\" }],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { dateVocabulary } from \"./UIDate.en\"\n\n/****************\n * ### `UIDate`\n * The component behind `<ui-date>`: a date, `<time class=\"date\" datetime>`,\n * so the machine-readable value travels with the text.\n *\n * - Inside a feed summary it goes inline and small: `UIParts.css` style-queries the summary's `--_ui-part`.\n ****************/\nexport class UIDate extends E.PartComponent<typeof dateVocabulary> {\n @E.proto static vocabulary = dateVocabulary\n\n protected get rootTag(): string {\n return \"time\"\n }\n\n protected get rootDatetime(): string | undefined {\n return this.datetime\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIDate extends E.AttributeValues<typeof dateVocabulary> {}\n","/**\n * The English vocabulary of `<ui-author>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-author>` => `class=\"author\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `authorVocabulary`\n * The names of `<ui-author>`, an author: `<span class=\"author\">` (`<a>` with `link`).\n ****************/\nexport const authorVocabulary = {\n tag: \"ui-author\",\n icon: \"user\",\n topics: [\"content parts\", \"social\"],\n aka: [\"user name\", \"byline\", \"poster\"],\n noun: \"author\",\n ui: false,\n description: \"Who wrote a comment or did a feed event (Fomantic's feed `user`).\",\n attributes: [\n {\n name: \"link\",\n group: \"link\",\n kind: \"string\",\n replaces: [\"href\"],\n description: \"Renders a link (`<a>`), e.g. to a profile. Its old name was `href`.\"\n },\n { name: \"target\", group: \"link\", kind: \"string\", description: \"Link target, with `link`.\" }\n ],\n events: [],\n slots: [{ name: \"\", description: \"The name.\" }],\n parts: [{ name: \"author\", description: \"The author box.\" }],\n states: [\n { name: \"in-comment\", description: \"Owned by a comment.\" },\n { name: \"in-feed\", description: \"Owned by a feed.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { authorVocabulary } from \"./UIAuthor.en\"\n\n/****************\n * ### `UIAuthor`\n * The component behind `<ui-author>`: who wrote something, `<span class=\"author\">`,\n * or `<a class=\"author\">` with `link` (a link to their profile).\n *\n * - Fomantic's comment `.author`, and its feed `.user`.\n ****************/\nexport class UIAuthor extends E.PartComponent<typeof authorVocabulary> {\n @E.proto static vocabulary = authorVocabulary\n\n protected get rootTag(): string {\n return this.link ? \"a\" : \"span\"\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIAuthor extends E.AttributeValues<typeof authorVocabulary> {}\n","/**\n * The English vocabulary of `<ui-avatar>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-avatar>` => `class=\"avatar\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `avatarVocabulary`\n * The names of `<ui-avatar>`, an avatar: `<span class=\"avatar\"><img alt=\"\"></span>`.\n ****************/\nexport const avatarVocabulary = {\n tag: \"ui-avatar\",\n icon: \"user circle\",\n topics: [\"content parts\", \"images\", \"social\"],\n aka: [\"profile picture\", \"user image\", \"userpic\"],\n noun: \"avatar\",\n ui: false,\n description: \"A small picture of a person: a comment's or a card's.\",\n attributes: [\n { name: \"src\", group: \"link\", kind: \"string\", description: \"Image URL; renders the `<img>` (or slot one).\" },\n {\n name: \"tooltip\",\n group: \"content\",\n kind: \"string\",\n replaces: [\"alt\"],\n description:\n \"Who it is: the picture's tooltip and its alternative text for screen readers. \" +\n \"Default none (decorative: the name is nearly always beside it). Its old name was `alt`.\"\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"An `<img>`, instead of `src`.\" }],\n parts: [\n { name: \"avatar\", description: \"The avatar box.\" },\n { name: \"image\", description: \"The `<img>` rendered from `src`.\" }\n ],\n states: [\n { name: \"in-card\", description: \"Owned by a card.\" },\n { name: \"in-item\", description: \"Owned by an item.\" },\n { name: \"in-comment\", description: \"Owned by a comment.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { Show } from \"solid-js\"\nimport type { JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { avatarVocabulary } from \"./UIAvatar.en\"\n\n/****************\n * ### `UIAvatar`\n * The component behind `<ui-avatar>`: a small picture of a person,\n * `<span class=\"avatar\"><img part=\"image\" alt=\"\"></span>` from `src`, else the default slot (a slotted `<img>`).\n *\n * - `tooltip` is the picture's tooltip and its `alt`, by default `\"\"`: the person's name is almost always right next to it.\n ****************/\nexport class UIAvatar extends E.PartComponent<typeof avatarVocabulary> {\n @E.proto static vocabulary = avatarVocabulary\n\n protected get rootTag(): string {\n return \"span\"\n }\n\n protected content(): JSX.Element {\n return (\n <Show when={this.src} fallback={<slot />}>\n <img src={this.src} alt={this.tooltip ?? \"\"} title={this.tooltip} part={this.partForName(\"image\")} />\n </Show>\n )\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIAvatar extends E.AttributeValues<typeof avatarVocabulary> {}\n","/**\n * The English vocabulary of `<ui-detail>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-detail>` => `class=\"detail\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `detailVocabulary`\n * The names of `<ui-detail>`, a detail: `<span class=\"detail\">` (`<a>` with `link`).\n ****************/\nexport const detailVocabulary = {\n tag: \"ui-detail\",\n icon: \"info circle\",\n topics: [\"content parts\", \"text\"],\n aka: [\"secondary text\", \"note\"],\n noun: \"detail\",\n ui: false,\n description: \"A label's dimmer second value, e.g. a count.\",\n attributes: [\n {\n name: \"link\",\n group: \"link\",\n kind: \"string\",\n replaces: [\"href\"],\n description: 'Renders a link (`<a class=\"detail\" href>`). Its old name was `href`.'\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"Text, an icon.\" }],\n parts: [{ name: \"detail\", description: \"The detail box.\" }],\n states: [{ name: \"in-label\", description: \"Owned by a label.\" }],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { detailVocabulary } from \"./UIDetail.en\"\n\n/****************\n * ### `UIDetail`\n * The component behind `<ui-detail>`: a label's dimmer second value, `<span class=\"detail\">`,\n * owned by `<ui-label>` (`:state(in-label)`).\n *\n * - On an image label it's a tab: `UILabel.css` sets `--_ui-label-layout: image`, which `UIParts.css` style-queries.\n * - With `link`: `<a class=\"detail\" href>`, a link detail (`UILabel.css` styles `a.detail`).\n ****************/\nexport class UIDetail extends E.PartComponent<typeof detailVocabulary> {\n @E.proto static vocabulary = detailVocabulary\n\n protected get rootTag(): string {\n return this.link ? \"a\" : \"span\"\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIDetail extends E.AttributeValues<typeof detailVocabulary> {}\n","/**\n * The English vocabulary of `<ui-value>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-value>` => `class=\"value\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `valueVocabulary`\n * The names of `<ui-value>`, a value: `<div class=\"value\">`.\n ****************/\nexport const valueVocabulary = {\n tag: \"ui-value\",\n icon: \"hashtag\",\n topics: [\"content parts\", \"data display\"],\n aka: [\"statistic value\", \"number\", \"metric value\"],\n noun: \"value\",\n ui: false,\n description: \"A statistic's value; a search result's price.\",\n attributes: [\n { name: \"text\", group: \"name\", kind: \"keyOnly\", description: \"In a statistic: a word value, smaller and bold.\" }\n ],\n events: [],\n slots: [{ name: \"\", description: \"The value: a number, a word, an icon or image.\" }],\n parts: [{ name: \"value\", description: \"The value box.\" }],\n states: [\n { name: \"in-statistic\", description: \"Owned by a statistic.\" },\n { name: \"in-search\", description: \"Owned by a search.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { valueVocabulary } from \"./UIValue.en\"\n\n/****************\n * ### `UIValue`\n * The component behind `<ui-value>`: a value, `<div class=\"[text] value\">`,\n * such as a statistic's number or a search result's price.\n *\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UIValue extends E.PartComponent<typeof valueVocabulary> {\n @E.proto static vocabulary = valueVocabulary\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIValue extends E.AttributeValues<typeof valueVocabulary> {}\n","/**\n * The generic content parts family: defines the 13 part tags (`<ui-content>`, `<ui-header>`, `<ui-meta>` ...)\n * and exports their components.\n * - SIDE EFFECT: importing it defines the tags.\n * - Also the library's `spell/ui/ui-parts` entry (its size is in `notes/report.md`).\n */\n\nimport { UIContent } from \"./UIContent\"\nimport { UIHeader } from \"./UIHeader\"\nimport { UIDescription } from \"./UIDescription\"\nimport { UIMeta } from \"./UIMeta\"\nimport { UIExtra } from \"./UIExtra\"\nimport { UIActions } from \"./UIActions\"\nimport { UITitle } from \"./UITitle\"\nimport { UISummary } from \"./UISummary\"\nimport { UIDate } from \"./UIDate\"\nimport { UIAuthor } from \"./UIAuthor\"\nimport { UIAvatar } from \"./UIAvatar\"\nimport { UIDetail } from \"./UIDetail\"\nimport { UIValue } from \"./UIValue\"\n\nUIContent.define()\nUIHeader.define()\nUIDescription.define()\nUIMeta.define()\nUIExtra.define()\nUIActions.define()\nUITitle.define()\nUISummary.define()\nUIDate.define()\nUIAuthor.define()\nUIAvatar.define()\nUIDetail.define()\nUIValue.define()\n\nexport {\n UIActions,\n UIAuthor,\n UIAvatar,\n UIContent,\n UIDate,\n UIDescription,\n UIDetail,\n UIExtra,\n UIHeader,\n UIMeta,\n UISummary,\n UITitle,\n UIValue\n}\n"],"mappings":";;;;;AA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AAc;CACjD,MAAM;CACN,IAAI;CACJ,aAAa;CACb,YAAY,CACV;EAAE,MAAM;EAAQ,OAAO;EAAQ,MAAM;EAAW,aAAa;CAAmD,CAClH;CACA,QAAQ,CAAC;CACT,OAAO,CAAC;EAAE,MAAM;EAAI,aAAa;CAAkD,CAAC;CACpF,OAAO,CAAC;EAAE,MAAM;EAAS,aAAa;CAAiB,CAAC;CACxD,QAAQ,CACN;EAAE,MAAM;EAAgB,aAAa;CAAwB,GAC7D;EAAE,MAAM;EAAa,aAAa;CAAqB,CACzD;CACA,OAAO,CAAC;AACV,GCpCAC,IAAAC,GAAAC,GAUaC,IAAN,MAAM,kBAAgB,IAAA7G,GAC3B,KAAA,CAACC,CAAE,GADwB0G,EAAA,CAAwC,CAErE;AAFO,IAAAlG,EAAAkG,CAAA,GACItG,EAAAuG,GAAA,IAAO,cAAhBF,IADWG,CAAA,GAANvG,EAAAsG,GAAMC,CAAA,GAAwD3G,EAAA2G,GAAA,SAAA,GAC1DzG,EADEyG,GACK,cAAatG,EAApBqG,GAAA,GADEC,GACkBJ,EAAA,CAAA,GAApBlG,EAAAqG,GAAA,IADEC,CAAA;AAAN,IAAMC,KAAND;ACWP3F,GAAU,OAAO,GACjBgB,GAAS,OAAO,GAChBM,GAAc,OAAO,GACrBM,GAAO,OAAO,GACdM,GAAQ,OAAO,GACfM,EAAU,OAAO,GACjBM,GAAQ,OAAO,GACfM,GAAU,OAAO,GACjBM,GAAO,OAAO,GACdM,GAAS,OAAO,GAChBgB,GAAS,OAAO,GAChBM,GAAS,OAAO,GAChBM,GAAQ,OAAO"}
|
|
1
|
+
{"version":3,"file":"ui-parts.js","names":["_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","UIT.PosterSizes","<Dynamic\n component={this.rootTag}\n class={this.rootClass}\n part={this.partForName(\"header\")}\n href={this.linkTo}\n target={this.linkTarget}\n role={this.link && this.level ? \"heading\" : void 0}\n aria-level={this.link ? this.level : void 0}\n >\n <Show when={this.icon}>\n <span class={UIT.ICON_CLASS} part={this.partForName(\"icon\")}>\n {this.iconGlyph.svg}\n </span>\n </Show>\n <slot />\n </Dynamic>","this","this.link ? this.level : void 0","<Show when={this.icon}>\n <span class={UIT.ICON_CLASS} part={this.partForName(\"icon\")}>\n {this.iconGlyph.svg}\n </span>\n </Show>","part={this.partForName(\"icon\")}","<span class={UIT.ICON_CLASS} part={this.partForName(\"icon\")}>\n {this.iconGlyph.svg}\n </span>","_tmpl$","_tmpl$2","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","E.protoMerged","E.IconGlyph","_$createComponent","_$memo","_$readShallow","UIT.ICON_CLASS","_$setAttribute","_$getOwner","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","<Show when={this.src} fallback={<slot />}>\n <img src={this.src} alt={this.tooltip ?? \"\"} title={this.tooltip} part={this.partForName(\"image\")} />\n </Show>","this","<slot />","alt={this.tooltip ?? \"\"}","title={this.tooltip}","part={this.partForName(\"image\")}","<img src={this.src} alt={this.tooltip ?? \"\"} title={this.tooltip} part={this.partForName(\"image\")} />","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","_$createComponent","_$getOwner","_$setAttribute","__name","_vocabulary_dec","_a","_init","E.PartComponent","E.proto","__name","E.PartComponent","E.proto","__name","__name$1","__publicField","__decorateElement","__decoratorMetadata","__runInitializers","ICON_CLASS","PosterSizes","__decoratorStart","getOwner$1","contentVocabulary","_vocabulary_dec$12","_a$12","_init$12","_UIContent","PartComponent","proto","UIContent","headerVocabulary","_tmpl$$1","_tmpl$2$1","_elementSetup_dec","_vocabulary_dec$11","_a$11","_init$11","_UIHeader","protoMerged","IconGlyph","_self$","createComponent","Dynamic","\"class\"","memo","Show","_el$","insert","effect","readShallow","className","_p$","t","setAttribute","_el$2","level","UIHeader","descriptionVocabulary","_vocabulary_dec$10","_a$10","_init$10","_UIDescription","UIDescription","metaVocabulary","_vocabulary_dec$9","_a$9","_init$9","_UIMeta","UIMeta","extraVocabulary","_vocabulary_dec$8","_a$8","_init$8","_UIExtra","UIExtra","actionsVocabulary","_vocabulary_dec$7","_a$7","_init$7","_UIActions","UIActions","titleVocabulary","_vocabulary_dec$6","_a$6","_init$6","_UITitle","UITitle","summaryVocabulary","_vocabulary_dec$5","_a$5","_init$5","_UISummary","UISummary","dateVocabulary","_vocabulary_dec$4","_a$4","_init$4","_UIDate","UIDate","authorVocabulary","_vocabulary_dec$3","_a$3","_init$3","_UIAuthor","UIAuthor","avatarVocabulary","_tmpl$","_tmpl$2","_vocabulary_dec$2","_a$2","_init$2","_UIAvatar","a","o","UIAvatar","detailVocabulary","_vocabulary_dec$1","_a$1","_init$1","_UIDetail","UIDetail","valueVocabulary","_vocabulary_dec","_a","_init","_UIValue","UIValue"],"sources":["../src/components/ui-parts/UIContent.en.ts","../src/components/ui-parts/UIContent.ts","../src/components/ui-parts/UIHeader.en.ts","../src/components/ui-parts/UIHeader.tsx","../src/components/ui-parts/UIDescription.en.ts","../src/components/ui-parts/UIDescription.ts","../src/components/ui-parts/UIMeta.en.ts","../src/components/ui-parts/UIMeta.ts","../src/components/ui-parts/UIExtra.en.ts","../src/components/ui-parts/UIExtra.ts","../src/components/ui-parts/UIActions.en.ts","../src/components/ui-parts/UIActions.ts","../src/components/ui-parts/UITitle.en.ts","../src/components/ui-parts/UITitle.ts","../src/components/ui-parts/UISummary.en.ts","../src/components/ui-parts/UISummary.ts","../src/components/ui-parts/UIDate.en.ts","../src/components/ui-parts/UIDate.ts","../src/components/ui-parts/UIAuthor.en.ts","../src/components/ui-parts/UIAuthor.ts","../src/components/ui-parts/UIAvatar.en.ts","../src/components/ui-parts/UIAvatar.tsx","../src/components/ui-parts/UIDetail.en.ts","../src/components/ui-parts/UIDetail.ts","../src/components/ui-parts/UIValue.en.ts","../src/components/ui-parts/UIValue.ts","../src/components/ui-parts/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-content>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-content>` => `class=\"content\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `contentVocabulary`\n * The names of `<ui-content>`, a content block: `<div class=\"content\">`.\n ****************/\nexport const contentVocabulary = {\n tag: \"ui-content\",\n icon: \"align left\",\n topics: [\"content parts\", \"containers\", \"cards\"],\n aka: [\"body\", \"content area\", \"card body\"],\n noun: \"content\",\n ui: false,\n description: \"The main content block of a card, item, event, comment, modal, message, list item, step ...\",\n attributes: [\n {\n name: \"image\",\n group: \"content\",\n kind: \"keyOnly\",\n description: \"In a modal: an image beside the description (a flex row).\"\n },\n { name: \"scrolling\", group: \"layout\", kind: \"keyOnly\", description: \"In a modal: a capped height that scrolls.\" },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"textAlign\",\n values: \"alignments\",\n replaces: [\"text-align\"],\n description:\n \"Aligns its text `left`, `center`, `right` or `justified` (a card's `center aligned content`). Its old name was `text-align`.\"\n },\n {\n name: \"vertical-align\",\n group: \"layout\",\n kind: \"verticalAlign\",\n values: \"verticalAlignments\",\n description: \"In an item or a list: `top`, `middle` or `bottom` against the image or icon beside it.\"\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"Content, usually other parts.\" }],\n parts: [{ name: \"content\", description: \"The content box.\" }],\n states: [\n { name: \"in-card\", description: \"Owned by a card.\" },\n { name: \"in-item\", description: \"Owned by an item.\" },\n { name: \"in-feed\", description: \"Owned by a feed.\" },\n { name: \"in-comment\", description: \"Owned by a comment.\" },\n { name: \"in-modal\", description: \"Owned by a modal.\" },\n { name: \"in-flyout\", description: \"Owned by a flyout.\" },\n { name: \"in-message\", description: \"Owned by a message.\" },\n { name: \"in-list\", description: \"Owned by a list.\" },\n { name: \"in-step\", description: \"Owned by a step.\" },\n { name: \"in-accordion\", description: \"Owned by an accordion.\" },\n { name: \"in-popup\", description: \"Owned by a popup.\" },\n { name: \"in-toast\", description: \"Owned by a toast.\" },\n { name: \"in-search\", description: \"Owned by a search.\" },\n { name: \"in-header\", description: \"Owned by a header.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { contentVocabulary } from \"./UIContent.en\"\n\n/****************\n * ### `UIContent`\n * The component behind `<ui-content>`: an owner's main block of content,\n * `<div class=\"[image] [scrolling] [text-align] [vertical-align] content\">`.\n *\n * - `image` and `scrolling` are a modal's layouts; `text-align` and `vertical-align` are Fomantic's\n * `center aligned content` (in a card, an item, a list).\n * - No `floated` since epic `ui-gaps` P8: a `<ui-stack>` places content left and right.\n * - `scrolling`: the root is a keyboard stop (`tabindex=0`), as every scrollable region must be.\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UIContent extends E.PartComponent<typeof contentVocabulary> {\n @E.proto static vocabulary = contentVocabulary\n\n protected get rootTabIndex(): number | undefined {\n return this.scrolling ? 0 : undefined\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIContent extends E.AttributeValues<typeof contentVocabulary> {}\n","/**\n * The English vocabulary of `<ui-header>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-header>` => `class=\"header\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `<ui-header>` owns parts too: a nested `<ui-header>` is its sub header, a `<ui-content>` its text column.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport * as UIT from \"spell/ui/components/components.types\"\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `headerVocabulary`\n * The names of `<ui-header>`, a header: standalone, `<div class=\"ui ... header\">` (`<h1>` ... `<h6>` with `level`);\n * owned, `<div class=\"header\">`.\n ****************/\nexport const headerVocabulary = {\n tag: \"ui-header\",\n icon: \"heading\",\n topics: [\"content parts\", \"typography\", \"text\", \"basic\", \"elements\"],\n aka: [\"heading\", \"title\", \"h1\", \"headline\"],\n skeleton: \"medium line\",\n noun: \"header\",\n plural: \"headers\",\n description: \"A header provides a short summary of content.\",\n attributes: [\n {\n name: \"level\",\n group: \"appearance\",\n kind: \"enum\",\n values: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\"],\n description: \"Page header: renders `<h1>` ... `<h6>`, sized by level unless `size` is set.\"\n },\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n values: UIT.PosterSizes,\n description:\n \"Content header size relative to the surrounding text, `mini` ... `massive`; `medium` is the default. \" +\n \"`poster` is bigger still, for a page's title: it grows with the window, from 2.4 to 4 times the text.\"\n },\n { name: \"color\", group: \"appearance\", kind: \"color\", description: \"Hue of the text (and of a `dividing` rule).\" },\n {\n name: \"sub\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"A sub heading: small, uppercase. Inside a header, its sub header.\"\n },\n {\n name: \"icon\",\n group: \"content\",\n kind: \"icon\",\n description:\n \"Its icon, by name, drawn before the text. \" +\n \"Bare, it's an icon header: a large slotted icon centred above the text.\"\n },\n { name: \"dividing\", group: \"appearance\", kind: \"keyOnly\", description: \"A rule below it.\" },\n { name: \"block\", group: \"layout\", kind: \"keyOnly\", description: \"In a tinted box.\" },\n {\n name: \"attach\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"both\", \"top\", \"bottom\"],\n classes: { both: \"attached\", top: \"top attached\", bottom: \"bottom attached\" },\n replaces: [{ from: \"attached\", value: \"both\" }],\n description:\n \"Joined to a segment below (`top`) or above (`bottom`); `both` sits between two. Its old name was `attached`.\"\n },\n {\n name: \"seamless\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"With `attached`: no line where it meets the segment.\"\n },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"textAlign\",\n values: \"alignments\",\n replaces: [\"text-align\"],\n description: \"Aligns its text `left`, `center`, `right` or `justified`. Its old name was `text-align`.\"\n },\n {\n name: \"padding\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"none\"],\n classes: { none: \"fitted\" },\n replaces: [{ from: \"fitted\", value: \"none\" }],\n description: \"`none`: no padding. Its old name was `fitted`.\"\n },\n { name: \"disabled\", group: \"states\", kind: \"keyOnly\", description: \"Dimmed.\" },\n {\n name: \"inverted\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"For dark backgrounds: the dark scheme, for it and its parts.\"\n },\n {\n name: \"link\",\n group: \"link\",\n kind: \"string\",\n replaces: [\"href\"],\n description: \"Renders a link (`<a>`) styled as a header. Its old name was `href`.\"\n }\n ],\n events: [],\n slots: [\n {\n name: \"\",\n description: \"Text, a slotted `<ui-icon>` / `<img>`, a `<ui-content>` and a nested `<ui-header>` (sub header).\"\n }\n ],\n parts: [\n { name: \"header\", description: \"The header box (`<div>`, `<h1>` ... `<h6>`, or `<a>`).\" },\n { name: \"icon\", description: \"The box of the `icon` attribute's glyph.\" }\n ],\n states: [\n { name: \"in-card\", description: \"Owned by a card.\" },\n { name: \"in-item\", description: \"Owned by an item.\" },\n { name: \"in-modal\", description: \"Owned by a modal.\" },\n { name: \"in-flyout\", description: \"Owned by a flyout.\" },\n { name: \"in-message\", description: \"Owned by a message.\" },\n { name: \"in-list\", description: \"Owned by a list.\" },\n { name: \"in-popup\", description: \"Owned by a popup.\" },\n { name: \"in-toast\", description: \"Owned by a toast.\" },\n { name: \"in-header\", description: \"Owned by a header.\" },\n { name: \"in-menu\", description: \"Owned by a menu: an item's sub header (a vertical menu's `.item > .header`).\" }\n ],\n texts: [],\n ownsParts: [\"header\", \"content\"]\n} as const satisfies E.ComponentVocabulary\n","import { Show } from \"solid-js\"\nimport { Dynamic, type JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { headerVocabulary } from \"./UIHeader.en\"\n\n/****************\n * ### `UIHeader`\n * The component behind `<ui-header>`: a header, which is two things in one.\n *\n * - STANDALONE: Fomantic's `ui header`, in the class grammar (`ui large red dividing header`):\n * - on a `<div>`;\n * - on `<h1>` ... `<h6>` with `level` (a page header, sized by its level unless `size` is set);\n * - on `<a>` with `link`.\n * - OWNED (in a card, a modal ... or another header, whose sub header it then is):\n * a bare `.header`, never `ui`, as Fomantic's `.ui.card > .content > .header`.\n * - `level` makes a real heading. A linked heading is `<a role=\"heading\" aria-level>`,\n * since the link carries the class grammar.\n * - It is an OWNER too (`ownsParts: header, content`): a `<ui-header>` or `<ui-content>` inside it belongs to it.\n * - `icon` is two things, by whether it names one:\n * - `icon=\"gear\"`: that glyph, drawn before the text\n * - bare: the `icon` class, Fomantic's icon header, its slotted icon large and centred above the text\n ****************/\nexport class UIHeader extends E.PartComponent<typeof headerVocabulary> {\n @E.proto static vocabulary = headerVocabulary\n @E.protoMerged static elementSetup = {\n // `disabled`: only a look\n disabled: \"its own\"\n } satisfies Partial<E.ElementSetup>\n\n /** The glyph of a named `icon`; bare `icon` is a layout, and has none. */\n readonly iconGlyph = new E.IconGlyph({ owner: this, name: () => this.icon })\n\n render(): JSX.Element {\n return (\n <Dynamic\n component={this.rootTag}\n class={this.rootClass}\n part={this.partForName(\"header\")}\n href={this.linkTo}\n target={this.linkTarget}\n role={this.link && this.level ? \"heading\" : undefined}\n aria-level={this.link ? this.level : undefined}\n >\n <Show when={this.icon}>\n <span class={UIT.ICON_CLASS} part={this.partForName(\"icon\")}>\n {this.iconGlyph.svg}\n </span>\n </Show>\n <slot />\n </Dynamic>\n )\n }\n\n /** `<a>` for `link`, `<hN>` for `level`, else `<div>`. */\n protected get rootTag(): string {\n if (this.link) return \"a\"\n const level = this.level ? (Number(this.level) as UIT.HeaderLevel) : undefined\n return level ? `h${level}` : \"div\"\n }\n\n /** Bare `icon`: an icon header. */\n protected get extraClass(): string | undefined {\n return this.icon === \"\" ? UIT.ICON_CLASS : undefined\n }\n\n /** Standalone: the class grammar; owned: the bare noun. */\n get rootClass(): string {\n return this.context.ownerNoun ? this.vocabulary.noun : super.rootClass\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIHeader extends E.AttributeValues<typeof headerVocabulary> {}\n","/**\n * The English vocabulary of `<ui-description>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-description>` => `class=\"description\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `descriptionVocabulary`\n * The names of `<ui-description>`, descriptive text: `<div class=\"description\">`.\n ****************/\nexport const descriptionVocabulary = {\n tag: \"ui-description\",\n icon: \"align left\",\n topics: [\"content parts\", \"text\"],\n aka: [\"body text\", \"summary text\", \"details\"],\n noun: \"description\",\n ui: false,\n description: \"A description of the content: card / item / modal / list / step / search text, a comment's text.\",\n attributes: [],\n events: [],\n slots: [{ name: \"\", description: \"Text.\" }],\n parts: [{ name: \"description\", description: \"The description box.\" }],\n states: [\n { name: \"in-card\", description: \"Owned by a card.\" },\n { name: \"in-item\", description: \"Owned by an item.\" },\n { name: \"in-comment\", description: \"Owned by a comment.\" },\n { name: \"in-modal\", description: \"Owned by a modal.\" },\n { name: \"in-flyout\", description: \"Owned by a flyout.\" },\n { name: \"in-list\", description: \"Owned by a list.\" },\n { name: \"in-step\", description: \"Owned by a step.\" },\n { name: \"in-search\", description: \"Owned by a search.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { descriptionVocabulary } from \"./UIDescription.en\"\n\n/****************\n * ### `UIDescription`\n * The component behind `<ui-description>`: descriptive text, `<div class=\"description\">`.\n *\n * - A card's, item's, modal's, list's, step's or search result's text; a comment's text.\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UIDescription extends E.PartComponent<typeof descriptionVocabulary> {\n @E.proto static vocabulary = descriptionVocabulary\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIDescription extends E.AttributeValues<typeof descriptionVocabulary> {}\n","/**\n * The English vocabulary of `<ui-meta>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-meta>` => `class=\"meta\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `metaVocabulary`\n * The names of `<ui-meta>`, metadata: `<div class=\"meta\">`.\n ****************/\nexport const metaVocabulary = {\n tag: \"ui-meta\",\n icon: \"info\",\n topics: [\"content parts\", \"text\"],\n aka: [\"metadata\", \"subtitle\", \"byline\", \"caption\"],\n noun: \"meta\",\n ui: false,\n description: \"Metadata about the content, e.g. a date or a category; a comment's `metadata`.\",\n attributes: [],\n events: [],\n slots: [{ name: \"\", description: \"Short items, spaced apart (`<span>`s, links).\" }],\n parts: [{ name: \"meta\", description: \"The meta box.\" }],\n states: [\n { name: \"in-card\", description: \"Owned by a card.\" },\n { name: \"in-item\", description: \"Owned by an item.\" },\n { name: \"in-feed\", description: \"Owned by a feed.\" },\n { name: \"in-comment\", description: \"Owned by a comment.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { metaVocabulary } from \"./UIMeta.en\"\n\n/****************\n * ### `UIMeta`\n * The component behind `<ui-meta>`: metadata, `<div class=\"meta\">`, such as a date or a category.\n *\n * - Fomantic's comment `.metadata`.\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UIMeta extends E.PartComponent<typeof metaVocabulary> {\n @E.proto static vocabulary = metaVocabulary\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIMeta extends E.AttributeValues<typeof metaVocabulary> {}\n","/**\n * The English vocabulary of `<ui-extra>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-extra>` => `class=\"extra\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `extraVocabulary`\n * The names of `<ui-extra>`, extra content: `<div class=\"extra\">`.\n ****************/\nexport const extraVocabulary = {\n tag: \"ui-extra\",\n icon: \"ellipsis horizontal\",\n topics: [\"content parts\", \"cards\"],\n aka: [\"footer\", \"card footer\", \"extra content\"],\n noun: \"extra\",\n ui: false,\n description: \"Extra content, set apart from the main content, e.g. a card's footer.\",\n attributes: [{ name: \"text\", group: \"name\", kind: \"keyOnly\", description: \"In a feed: a block of extra text.\" }],\n events: [],\n slots: [{ name: \"\", description: \"Content.\" }],\n parts: [{ name: \"extra\", description: \"The extra box.\" }],\n states: [\n { name: \"in-card\", description: \"Owned by a card.\" },\n { name: \"in-item\", description: \"Owned by an item.\" },\n { name: \"in-feed\", description: \"Owned by a feed.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { extraVocabulary } from \"./UIExtra.en\"\n\n/****************\n * ### `UIExtra`\n * The component behind `<ui-extra>`: extra content, `<div class=\"[text] extra\">`,\n * set apart from the main content, such as a card's footer.\n *\n * - `text`: a feed event's extra text.\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UIExtra extends E.PartComponent<typeof extraVocabulary> {\n @E.proto static vocabulary = extraVocabulary\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIExtra extends E.AttributeValues<typeof extraVocabulary> {}\n","/**\n * The English vocabulary of `<ui-actions>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-actions>` => `class=\"actions\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `actionsVocabulary`\n * The names of `<ui-actions>`, actions: `<div class=\"actions\">`.\n ****************/\nexport const actionsVocabulary = {\n tag: \"ui-actions\",\n icon: \"hand point up outline\",\n topics: [\"content parts\", \"buttons\", \"dialogs\"],\n aka: [\"footer buttons\", \"button bar\", \"dialog actions\"],\n noun: \"actions\",\n ui: false,\n description: \"Actions a person can take: a modal's or toast's buttons, a comment's reply links.\",\n attributes: [],\n events: [],\n slots: [{ name: \"\", description: \"Buttons or links.\" }],\n parts: [{ name: \"actions\", description: \"The actions box.\" }],\n states: [\n { name: \"in-comment\", description: \"Owned by a comment.\" },\n { name: \"in-modal\", description: \"Owned by a modal.\" },\n { name: \"in-flyout\", description: \"Owned by a flyout.\" },\n { name: \"in-toast\", description: \"Owned by a toast.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { actionsVocabulary } from \"./UIActions.en\"\n\n/****************\n * ### `UIActions`\n * The component behind `<ui-actions>`: a row of actions, `<div class=\"actions\">`,\n * such as a modal's or a toast's buttons, or a comment's reply links.\n *\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UIActions extends E.PartComponent<typeof actionsVocabulary> {\n @E.proto static vocabulary = actionsVocabulary\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIActions extends E.AttributeValues<typeof actionsVocabulary> {}\n","/**\n * The English vocabulary of `<ui-title>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-title>` => `class=\"title\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `titleVocabulary`\n * The names of `<ui-title>`, a title: `<div class=\"title\">` (`<a>` with `link`).\n ****************/\nexport const titleVocabulary = {\n tag: \"ui-title\",\n icon: \"heading\",\n topics: [\"content parts\", \"typography\", \"containers\"],\n aka: [\"accordion title\", \"summary\", \"toggle header\"],\n noun: \"title\",\n ui: false,\n description: \"A title: a step's, an accordion panel's, a search result's.\",\n attributes: [\n {\n name: \"link\",\n group: \"link\",\n kind: \"string\",\n replaces: [\"href\"],\n description: \"Renders a link (`<a>`). Its old name was `href`.\"\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"Text.\" }],\n parts: [{ name: \"title\", description: \"The title box.\" }],\n states: [\n { name: \"in-step\", description: \"Owned by a step.\" },\n { name: \"in-accordion\", description: \"Owned by an accordion.\" },\n { name: \"in-search\", description: \"Owned by a search.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { titleVocabulary } from \"./UITitle.en\"\n\n/****************\n * ### `UITitle`\n * The component behind `<ui-title>`: a title, `<div class=\"title\">`, or `<a class=\"title\">` with `link`.\n *\n * - A step's, an accordion panel's or a search result's title.\n ****************/\nexport class UITitle extends E.PartComponent<typeof titleVocabulary> {\n @E.proto static vocabulary = titleVocabulary\n\n protected get rootTag(): string {\n return this.link ? \"a\" : \"div\"\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UITitle extends E.AttributeValues<typeof titleVocabulary> {}\n","/**\n * The English vocabulary of `<ui-summary>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-summary>` => `class=\"summary\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `summaryVocabulary`\n * The names of `<ui-summary>`, a summary: `<div class=\"summary\">`.\n ****************/\nexport const summaryVocabulary = {\n tag: \"ui-summary\",\n icon: \"align justify\",\n topics: [\"content parts\", \"social\"],\n aka: [\"event summary\", \"headline\"],\n noun: \"summary\",\n ui: false,\n description: \"A feed event's summary line, e.g. who did what, with an inline date.\",\n attributes: [],\n events: [],\n slots: [{ name: \"\", description: \"Text, `<ui-author>`, `<ui-date>`.\" }],\n parts: [{ name: \"summary\", description: \"The summary box.\" }],\n states: [{ name: \"in-feed\", description: \"Owned by a feed.\" }],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { summaryVocabulary } from \"./UISummary.en\"\n\n/****************\n * ### `UISummary`\n * The component behind `<ui-summary>`: a summary, `<div class=\"summary\">`,\n * such as a feed event's summary line.\n *\n * - A `<ui-date>` inside it goes inline (`UIParts.css` sets `--_ui-part: summary` on its root).\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UISummary extends E.PartComponent<typeof summaryVocabulary> {\n @E.proto static vocabulary = summaryVocabulary\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UISummary extends E.AttributeValues<typeof summaryVocabulary> {}\n","/**\n * The English vocabulary of `<ui-date>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-date>` => `class=\"date\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `dateVocabulary`\n * The names of `<ui-date>`, a date: `<time class=\"date\">`.\n ****************/\nexport const dateVocabulary = {\n tag: \"ui-date\",\n icon: \"calendar outline\",\n topics: [\"content parts\", \"date & time\", \"social\"],\n aka: [\"timestamp\", \"time ago\", \"posted at\"],\n noun: \"date\",\n ui: false,\n description: \"When something happened; inline and small inside a summary.\",\n attributes: [\n {\n name: \"datetime\",\n group: \"appearance\",\n kind: \"string\",\n property: \"dateTime\",\n description: \"Machine-readable date, as `<time datetime>`.\"\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"The human-readable date.\" }],\n parts: [{ name: \"date\", description: \"The `<time>`.\" }],\n states: [{ name: \"in-feed\", description: \"Owned by a feed.\" }],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { dateVocabulary } from \"./UIDate.en\"\n\n/****************\n * ### `UIDate`\n * The component behind `<ui-date>`: a date, `<time class=\"date\" datetime>`,\n * so the machine-readable value travels with the text.\n *\n * - Inside a feed summary it goes inline and small: `UIParts.css` style-queries the summary's `--_ui-part`.\n ****************/\nexport class UIDate extends E.PartComponent<typeof dateVocabulary> {\n @E.proto static vocabulary = dateVocabulary\n\n protected get rootTag(): string {\n return \"time\"\n }\n\n protected get rootDatetime(): string | undefined {\n return this.datetime\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIDate extends E.AttributeValues<typeof dateVocabulary> {}\n","/**\n * The English vocabulary of `<ui-author>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-author>` => `class=\"author\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `authorVocabulary`\n * The names of `<ui-author>`, an author: `<span class=\"author\">` (`<a>` with `link`).\n ****************/\nexport const authorVocabulary = {\n tag: \"ui-author\",\n icon: \"user\",\n topics: [\"content parts\", \"social\"],\n aka: [\"user name\", \"byline\", \"poster\"],\n noun: \"author\",\n ui: false,\n description: \"Who wrote a comment or did a feed event (Fomantic's feed `user`).\",\n attributes: [\n {\n name: \"link\",\n group: \"link\",\n kind: \"string\",\n replaces: [\"href\"],\n description: \"Renders a link (`<a>`), e.g. to a profile. Its old name was `href`.\"\n },\n { name: \"target\", group: \"link\", kind: \"string\", description: \"Link target, with `link`.\" }\n ],\n events: [],\n slots: [{ name: \"\", description: \"The name.\" }],\n parts: [{ name: \"author\", description: \"The author box.\" }],\n states: [\n { name: \"in-comment\", description: \"Owned by a comment.\" },\n { name: \"in-feed\", description: \"Owned by a feed.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { authorVocabulary } from \"./UIAuthor.en\"\n\n/****************\n * ### `UIAuthor`\n * The component behind `<ui-author>`: who wrote something, `<span class=\"author\">`,\n * or `<a class=\"author\">` with `link` (a link to their profile).\n *\n * - Fomantic's comment `.author`, and its feed `.user`.\n ****************/\nexport class UIAuthor extends E.PartComponent<typeof authorVocabulary> {\n @E.proto static vocabulary = authorVocabulary\n\n protected get rootTag(): string {\n return this.link ? \"a\" : \"span\"\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIAuthor extends E.AttributeValues<typeof authorVocabulary> {}\n","/**\n * The English vocabulary of `<ui-avatar>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-avatar>` => `class=\"avatar\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `avatarVocabulary`\n * The names of `<ui-avatar>`, an avatar: `<span class=\"avatar\"><img alt=\"\"></span>`.\n ****************/\nexport const avatarVocabulary = {\n tag: \"ui-avatar\",\n icon: \"user circle\",\n topics: [\"content parts\", \"images\", \"social\"],\n aka: [\"profile picture\", \"user image\", \"userpic\"],\n noun: \"avatar\",\n ui: false,\n description: \"A small picture of a person: a comment's or a card's.\",\n attributes: [\n { name: \"src\", group: \"link\", kind: \"string\", description: \"Image URL; renders the `<img>` (or slot one).\" },\n {\n name: \"tooltip\",\n group: \"content\",\n kind: \"string\",\n replaces: [\"alt\"],\n description:\n \"Who it is: the picture's tooltip and its alternative text for screen readers. \" +\n \"Default none (decorative: the name is nearly always beside it). Its old name was `alt`.\"\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"An `<img>`, instead of `src`.\" }],\n parts: [\n { name: \"avatar\", description: \"The avatar box.\" },\n { name: \"image\", description: \"The `<img>` rendered from `src`.\" }\n ],\n states: [\n { name: \"in-card\", description: \"Owned by a card.\" },\n { name: \"in-item\", description: \"Owned by an item.\" },\n { name: \"in-comment\", description: \"Owned by a comment.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { Show } from \"solid-js\"\nimport type { JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { avatarVocabulary } from \"./UIAvatar.en\"\n\n/****************\n * ### `UIAvatar`\n * The component behind `<ui-avatar>`: a small picture of a person,\n * `<span class=\"avatar\"><img part=\"image\" alt=\"\"></span>` from `src`, else the default slot (a slotted `<img>`).\n *\n * - `tooltip` is the picture's tooltip and its `alt`, by default `\"\"`: the person's name is almost always right next to it.\n ****************/\nexport class UIAvatar extends E.PartComponent<typeof avatarVocabulary> {\n @E.proto static vocabulary = avatarVocabulary\n\n protected get rootTag(): string {\n return \"span\"\n }\n\n protected content(): JSX.Element {\n return (\n <Show when={this.src} fallback={<slot />}>\n <img src={this.src} alt={this.tooltip ?? \"\"} title={this.tooltip} part={this.partForName(\"image\")} />\n </Show>\n )\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIAvatar extends E.AttributeValues<typeof avatarVocabulary> {}\n","/**\n * The English vocabulary of `<ui-detail>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-detail>` => `class=\"detail\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `detailVocabulary`\n * The names of `<ui-detail>`, a detail: `<span class=\"detail\">` (`<a>` with `link`).\n ****************/\nexport const detailVocabulary = {\n tag: \"ui-detail\",\n icon: \"info circle\",\n topics: [\"content parts\", \"text\"],\n aka: [\"secondary text\", \"note\"],\n noun: \"detail\",\n ui: false,\n description: \"A label's dimmer second value, e.g. a count.\",\n attributes: [\n {\n name: \"link\",\n group: \"link\",\n kind: \"string\",\n replaces: [\"href\"],\n description: 'Renders a link (`<a class=\"detail\" href>`). Its old name was `href`.'\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"Text, an icon.\" }],\n parts: [{ name: \"detail\", description: \"The detail box.\" }],\n states: [{ name: \"in-label\", description: \"Owned by a label.\" }],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { detailVocabulary } from \"./UIDetail.en\"\n\n/****************\n * ### `UIDetail`\n * The component behind `<ui-detail>`: a label's dimmer second value, `<span class=\"detail\">`,\n * owned by `<ui-label>` (`:state(in-label)`).\n *\n * - On an image label it's a tab: `UILabel.css` sets `--_ui-label-layout: image`, which `UIParts.css` style-queries.\n * - With `link`: `<a class=\"detail\" href>`, a link detail (`UILabel.css` styles `a.detail`).\n ****************/\nexport class UIDetail extends E.PartComponent<typeof detailVocabulary> {\n @E.proto static vocabulary = detailVocabulary\n\n protected get rootTag(): string {\n return this.link ? \"a\" : \"span\"\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIDetail extends E.AttributeValues<typeof detailVocabulary> {}\n","/**\n * The English vocabulary of `<ui-value>`, one of the 13 generic content parts: every name the tag uses.\n * - The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The noun IS the part word, and the class its root carries: `<ui-value>` => `class=\"value\"`.\n * Parts have no `ui` class (`ui: false`), except a STANDALONE `<ui-header>`, which is Fomantic's `ui header`.\n * - Owners declare the parts they own (`ownsParts` in THEIR vocabularies).\n * `OwnerContext` finds a part's nearest owner, and the part sets `:state(in-<owner>)`;\n * its `states` list the owners Fomantic styles it in.\n * - `UIParts.css` styles every part; its header lists the tokens owners must set.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `valueVocabulary`\n * The names of `<ui-value>`, a value: `<div class=\"value\">`.\n ****************/\nexport const valueVocabulary = {\n tag: \"ui-value\",\n icon: \"hashtag\",\n topics: [\"content parts\", \"data display\"],\n aka: [\"statistic value\", \"number\", \"metric value\"],\n noun: \"value\",\n ui: false,\n description: \"A statistic's value; a search result's price.\",\n attributes: [\n { name: \"text\", group: \"name\", kind: \"keyOnly\", description: \"In a statistic: a word value, smaller and bold.\" }\n ],\n events: [],\n slots: [{ name: \"\", description: \"The value: a number, a word, an icon or image.\" }],\n parts: [{ name: \"value\", description: \"The value box.\" }],\n states: [\n { name: \"in-statistic\", description: \"Owned by a statistic.\" },\n { name: \"in-search\", description: \"Owned by a search.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { E } from \"spell/ui/core\"\nimport { valueVocabulary } from \"./UIValue.en\"\n\n/****************\n * ### `UIValue`\n * The component behind `<ui-value>`: a value, `<div class=\"[text] value\">`,\n * such as a statistic's number or a search result's price.\n *\n * - Finding its owner, the markup and the sheet all come from `PartComponent`.\n ****************/\nexport class UIValue extends E.PartComponent<typeof valueVocabulary> {\n @E.proto static vocabulary = valueVocabulary\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIValue extends E.AttributeValues<typeof valueVocabulary> {}\n","/**\n * The generic content parts family: defines the 13 part tags (`<ui-content>`, `<ui-header>`, `<ui-meta>` ...)\n * and exports their components.\n * - SIDE EFFECT: importing it defines the tags.\n * - Also the library's `spell/ui/ui-parts` entry (its size is in `notes/report.md`).\n */\n\nimport { UIContent } from \"./UIContent\"\nimport { UIHeader } from \"./UIHeader\"\nimport { UIDescription } from \"./UIDescription\"\nimport { UIMeta } from \"./UIMeta\"\nimport { UIExtra } from \"./UIExtra\"\nimport { UIActions } from \"./UIActions\"\nimport { UITitle } from \"./UITitle\"\nimport { UISummary } from \"./UISummary\"\nimport { UIDate } from \"./UIDate\"\nimport { UIAuthor } from \"./UIAuthor\"\nimport { UIAvatar } from \"./UIAvatar\"\nimport { UIDetail } from \"./UIDetail\"\nimport { UIValue } from \"./UIValue\"\n\nUIContent.define()\nUIHeader.define()\nUIDescription.define()\nUIMeta.define()\nUIExtra.define()\nUIActions.define()\nUITitle.define()\nUISummary.define()\nUIDate.define()\nUIAuthor.define()\nUIAvatar.define()\nUIDetail.define()\nUIValue.define()\n\nexport {\n UIActions,\n UIAuthor,\n UIAvatar,\n UIContent,\n UIDate,\n UIDescription,\n UIDetail,\n UIExtra,\n UIHeader,\n UIMeta,\n UISummary,\n UITitle,\n UIValue\n}\n"],"mappings":";;;;;AAiBA,IAAa+G,KAAoB;CAC/B,KAAK;CACL,MAAM;CACN,QAAQ;EAAC;EAAiB;EAAc;CAAO;CAC/C,KAAK;EAAC;EAAQ;EAAgB;CAAW;CACzC,MAAM;CACN,IAAI;CACJ,aAAa;CACb,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GAAE,MAAM;GAAa,OAAO;GAAU,MAAM;GAAW,aAAa;EAA6C;EACjH;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;GACR,UAAU,CAAC,YAAY;GACvB,aACE;EACJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aAAa;EACf;CACF;CACA,QAAQ,CAAC;CACT,OAAO,CAAC;EAAE,MAAM;EAAI,aAAa;CAAgC,CAAC;CAClE,OAAO,CAAC;EAAE,MAAM;EAAW,aAAa;CAAmB,CAAC;CAC5D,QAAQ;EACN;GAAE,MAAM;GAAW,aAAa;EAAmB;EACnD;GAAE,MAAM;GAAW,aAAa;EAAoB;EACpD;GAAE,MAAM;GAAW,aAAa;EAAmB;EACnD;GAAE,MAAM;GAAc,aAAa;EAAsB;EACzD;GAAE,MAAM;GAAY,aAAa;EAAoB;EACrD;GAAE,MAAM;GAAa,aAAa;EAAqB;EACvD;GAAE,MAAM;GAAc,aAAa;EAAsB;EACzD;GAAE,MAAM;GAAW,aAAa;EAAmB;EACnD;GAAE,MAAM;GAAW,aAAa;EAAmB;EACnD;GAAE,MAAM;GAAgB,aAAa;EAAyB;EAC9D;GAAE,MAAM;GAAY,aAAa;EAAoB;EACrD;GAAE,MAAM;GAAY,aAAa;EAAoB;EACrD;GAAE,MAAM;GAAa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;CAAqB,CACzD;CACA,OAAO,CAAC;AACV,GCpCAC,IAAAC,GAAAC,GAUaC,IAAN,MAAM,kBAAgB,IAAAnH,GAC3B,KAAA,CAACC,CAAE,GADwBgH,EAAA,CAAwC,CAErE;AAFO,IAAAvG,EAAAuG,CAAA,GACI5G,EAAA6G,GAAA,IAAO,cAAhBF,IADWG,CAAA,GAAN7G,EAAA4G,GAAMC,CAAA,GAAwDjH,EAAAiH,GAAA,SAAA,GAC1D/G,EADE+G,GACK,cAAa5G,EAApB2G,GAAA,GADEC,GACkBJ,EAAA,CAAA,GAApBxG,EAAA2G,GAAA,IADEC,CAAA;AAAN,IAAMC,KAAND;ACWPhG,EAAU,OAAO,GACjB2B,GAAS,OAAO,GAChBM,GAAc,OAAO,GACrBM,GAAO,OAAO,GACdM,EAAQ,OAAO,GACfM,GAAU,OAAO,GACjBM,EAAQ,OAAO,GACfM,GAAU,OAAO,GACjBM,GAAO,OAAO,GACdM,GAAS,OAAO,GAChBU,GAAS,OAAO,GAChBM,GAAS,OAAO,GAChBM,GAAQ,OAAO"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spell-ui",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.9",
|
|
4
4
|
"description": "Beautiful, themeable, accessible components that load themselves on demand, for use in plain HTML or any framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/spell-app/spell",
|