Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# Changelog

## Unreleased
## 0.2.0 (2026-11-12)

Tested with TagBrush.css 2.0.1, TagAction 0.2.0, and TagCheck 0.1.2. Pages load `tagbrush@2` from the CDN.

- New snippet: photo gallery, linked photos in a grid of figures that TagAction's viewer steps through (Previous, Next, arrow keys); asked for in the family evaluation, round 1.
- The dashboard's sidebar folds behind a "Sections" button on phones (TagBrush.css's sidebar menu pattern): at 360px its whole link list used to sit between the top bar and the page.
- Prices in the landing template and the pricing snippet are written `<strong>$12</strong> <small>per month</small>`, which TagBrush.css 2.0 shows as a large figure and a small muted period (1.x shows it as before).
- New snippet: repeatable rows, a form where people add rows with TagAction's `--clone` and remove any of them with `--remove` (TagAction's next release). The Add and Remove buttons are written `hidden`, so without JavaScript the first row still works.
- The confirm dialog's destructive button is red: `data-tone="error"` on the Delete button, and an outlined red opener (TagBrush.css's next release).
- MkDocs theme: search. `search: titles` (the default) finds pages and sections by title from a box above the sidebar, filtered by TagAction 0.3's search-results list; `search: pagefind` uses Pagefind for full text; `search: false` leaves it out. The README no longer lists callouts as missing: TagBrush.css 1.2 styles `!!! note` once the `admonition` extension is on.
- New snippet: repeatable rows, a form where people add rows with TagAction's `--clone` and remove any of them with `--remove` (TagAction 0.2). The Add and Remove buttons are written `hidden`, so without JavaScript the first row still works.
- The confirm dialog's destructive button is red: `data-tone="error"` on the Delete button, and an outlined red opener (TagBrush.css 2.0).
- MkDocs theme: search. `search: titles` (the default) finds pages and sections by title from a box above the sidebar, filtered by TagAction 0.2's search-results list; `search: pagefind` uses Pagefind for full text; `search: false` leaves it out. The README no longer lists callouts as missing: TagBrush.css 1.2 styles `!!! note` once the `admonition` extension is on.
- A row-actions snippet (`snippets/row-confirm.html`): a button on each table row opens that row's own confirm dialog, which posts the row's action. One dialog per row works with no page script, and the Actions column stays unsortable. The orders agent in the family evaluation worked this out on its own; now it's a pattern to copy.
- A nonprofit starter site (`starters/nonprofit/`): 13 pages for a small nonprofit, built with `tagkit build` from shared includes, with donation and volunteer forms for static hosts, sortable and filterable event and budget tables, a live gift total, dialogs, a popover, a remembered FAQ, and a GitHub Pages workflow that runs TagCheck before publishing. Copy it with `npx degit kovirlabs/tagkit/starters/nonprofit`. Tests build it and check every page with TagCheck (including contrast and phone overflow), TagAction, links, and JavaScript off.
- Tested with TagBrush.css 1.2.0.
- The table of contents in the docs template, the docs-layout snippet, and the nonprofit starter is written `<nav data-tag-toc hidden>`: TagAction 0.2 fills it and shows it, and readers without JavaScript don't get an empty menu.
- The blog post template's lead photo opens in TagAction's viewer: its link now ends in `.jpg`, since TagAction only treats links to image files as photos. A test checks every linked photo. Found by the family agent evaluation.
- The gallery (the GitHub Pages site) wears the Tag family brand: the family bar, the shared theme from kovirlabs.github.io/tagstack/brand.css, and a footer linking the family and the Jekyll and WordPress themes. The linked-photo test skips links that have text beside an image, like the family bar's.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ From code: `import { build } from '@kovirlabs/tagkit'; build('site', 'public')`.
- TagAction runs on every page without errors, and the interactive parts work (sorting, filtering, dialogs, menus, validation, tables of contents).
- With JavaScript off, every page is usable: only controls that need TagAction are hidden, and dropdown lists show.

Tested with TagBrush.css 1.2.0 and TagAction 0.1.0.
Tested with TagBrush.css 2.0.1 and TagAction 0.2.0.

## Coming next

Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TagKit: templates and snippets in plain HTML</title>
<meta name="description" content="Copy-paste page templates and snippets for TagBrush.css and TagAction.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<link rel="icon" href="https://kovirlabs.github.io/tagstack/mark.svg" type="image/svg+xml">
<link rel="stylesheet" href="https://kovirlabs.github.io/tagstack/brand.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
Expand All @@ -29,7 +29,7 @@ <h1>Templates and snippets in plain HTML</h1>
</hgroup>
</header>
<main>
<aside><nav data-tag-toc aria-label="On this page"></nav></aside>
<aside><nav data-tag-toc hidden aria-label="On this page"></nav></aside>
<article>
<h2 id="templates">Page templates</h2>
<p>Complete pages. Open one, then copy its source.</p>
Expand Down Expand Up @@ -142,7 +142,7 @@ <h3 id="docs-layout">Docs layout</h3>
&lt;nav&gt;&lt;strong&gt;shipit docs&lt;/strong&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="/docs"&gt;Guide&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="/docs/cli"&gt;CLI&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/nav&gt;
&lt;/header&gt;
&lt;main&gt;
&lt;aside&gt;&lt;nav data-tag-toc aria-label="On this page"&gt;&lt;/nav&gt;&lt;/aside&gt;
&lt;aside&gt;&lt;nav data-tag-toc hidden aria-label="On this page"&gt;&lt;/nav&gt;&lt;/aside&gt;
&lt;article&gt;
&lt;nav aria-label="Breadcrumb"&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="/docs"&gt;Docs&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a aria-current="page"&gt;Install&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/nav&gt;
&lt;h1&gt;Install shipit&lt;/h1&gt;
Expand Down
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kovirlabs/tagkit",
"version": "0.1.0",
"version": "0.2.0",
"description": "Copy-paste page templates and snippets in plain semantic HTML, build-time includes for static sites, and Pandoc and Jekyll themes. Styled by TagBrush.css, enhanced by TagAction, checked by TagCheck. No classes to learn, no framework.",
"keywords": [
"html",
Expand Down Expand Up @@ -39,10 +39,10 @@
"test": "playwright test"
},
"devDependencies": {
"@kovirlabs/tagcheck": "^0.1.1",
"@kovirlabs/tagcheck": "^0.1.2",
"@playwright/test": "1.64.1",
"tagaction": "^0.1.0",
"tagbrush": "1.2.0"
"tagaction": "^0.2.0",
"tagbrush": "2.0.1"
},
"bin": {
"tagkit": "bin/tagkit.mjs"
Expand Down
2 changes: 1 addition & 1 deletion preview/callout.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Callouts · TagKit preview</title>
<meta name="description" content="highlighted notes inside an article. A bold first word labels them; data-tone colors them.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/card-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Card grid · TagKit preview</title>
<meta name="description" content="a section of linked cards, such as blog posts, projects, or products. Each card is an &lt;article&gt;.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/confirm-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Confirm dialog · TagKit preview</title>
<meta name="description" content="a button opens a modal with no page script (commandfor/command); clicking the backdrop, Escape, or Cancel closes it. The destructive action is a red button (data-tone=&quot;error&quot;).">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/contact-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Contact form · TagKit preview</title>
<meta name="description" content="labeled fields with help text, validation messages shown under each field, a character counter, and a busy submit button.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/data-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Data table · TagKit preview</title>
<meta name="description" content="sortable columns (click a header), a filter box that hides rows as you type, and status badges. Sort values go in &lt;data value&gt; and &lt;time datetime&gt;.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions preview/docs-layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Docs layout · TagKit preview</title>
<meta name="description" content="a docs page with breadcrumbs, a generated table of contents that follows the scroll, heading anchor links, copy buttons on code, and previous/next links.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
<header>
<nav><strong>shipit docs</strong><ul><li><a href="/docs">Guide</a></li><li><a href="/docs/cli">CLI</a></li></ul></nav>
</header>
<main>
<aside><nav data-tag-toc aria-label="On this page"></nav></aside>
<aside><nav data-tag-toc hidden aria-label="On this page"></nav></aside>
<article>
<nav aria-label="Breadcrumb"><ol><li><a href="/docs">Docs</a></li><li><a aria-current="page">Install</a></li></ol></nav>
<h1>Install shipit</h1>
Expand Down
2 changes: 1 addition & 1 deletion preview/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FAQ · TagKit preview</title>
<meta name="description" content="an accordion where one answer is open at a time (the shared name), and the page remembers which.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/feature-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Feature grid · TagKit preview</title>
<meta name="description" content="three cards with an icon, a heading, and a sentence each. Add or remove &lt;article&gt;s; the grid adapts.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/footer-columns.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Footer columns · TagKit preview</title>
<meta name="description" content="a site footer with an about line, link columns, and a copyright. Replace the &lt;footer&gt; of your page.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/gallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Photo gallery · TagKit preview</title>
<meta name="description" content="linked photos in a grid of figures. TagAction opens a photo in a viewer and steps through the section's photos with Previous, Next, and the arrow keys; without JavaScript each link opens the full-size photo.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hero · TagKit preview</title>
<meta name="description" content="the page header of a landing page, with a big promise, two calls to action, and a picture beside them. Replace the &lt;header&gt; of your page.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/page-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Page header · TagKit preview</title>
<meta name="description" content="a title and subtitle with action buttons on the same row. Put it first in &lt;main&gt;.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/pricing.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pricing table · TagKit preview</title>
<meta name="description" content="three plans as cards, with a price, what's included, and a button.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/repeatable-rows.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Repeatable rows · TagKit preview</title>
<meta name="description" content="a form where people add as many rows as they need and remove any of them (TagAction's --clone and --remove). Without JavaScript the first row still works and the Add and Remove buttons stay hidden.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/row-confirm.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Row actions with a confirm dialog · TagKit preview</title>
<meta name="description" content="each table row has a button that opens its own small dialog, which posts that row's action. One dialog per row works with no page script; put them after the table. data-tagaction=&quot;off&quot; keeps the Actions column unsortable.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/search-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Search bar · TagKit preview</title>
<meta name="description" content="a search field with filters and a button in one row, sent to the server as a GET form.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/sidebar-layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sidebar layout · TagKit preview</title>
<meta name="description" content="an app page with a full-height sidebar, a top bar, and the content beside it. This is the whole &lt;body&gt;.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion preview/stat-tiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Stat tiles · TagKit preview</title>
<meta name="description" content="a row of key numbers with a change for each. A &lt;dl&gt; whose items are wrapped in &lt;div&gt;s becomes tiles.">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@1/tagbrush.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tagbrush@2/tagbrush.min.css">
<script src="https://cdn.jsdelivr.net/npm/tagaction@0/tagaction.min.js" defer></script>
</head>
<body>
Expand Down
Loading
Loading