@luz-ds/ai 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +11 -7
  2. package/dist/skills/luz/SKILL.md +14 -10
  3. package/dist/skills/luz/assets/agents/luz-agent-seogeo.md +10 -1
  4. package/dist/skills/luz/assets/examples/landing-service/app.js +51 -0
  5. package/dist/skills/luz/assets/examples/landing-service/index.html.tpl +83 -0
  6. package/dist/skills/luz/assets/facts.json +5 -5
  7. package/dist/skills/luz/assets/skills/luz-meta/SKILL.md +2 -2
  8. package/dist/skills/luz/assets/skills/luz-meta/references/head.md +32 -1
  9. package/dist/skills/luz/assets/skills/luz-money/SKILL.md +69 -0
  10. package/dist/skills/luz/assets/skills/luz-money/references/license-change.md +21 -0
  11. package/dist/skills/luz/assets/skills/luz-money/references/models-commercial.md +192 -0
  12. package/dist/skills/luz/assets/skills/luz-money/references/models-open-source.md +170 -0
  13. package/dist/skills/luz/assets/skills/luz-money/references/platforms.md +103 -0
  14. package/dist/skills/luz/assets/skills/luz-money/references/report.md +82 -0
  15. package/dist/skills/luz/assets/templates/app.html.tpl +31 -28
  16. package/dist/skills/luz/assets/templates/blog.html.tpl +19 -19
  17. package/dist/skills/luz/assets/templates/docs.html.tpl +18 -18
  18. package/dist/skills/luz/assets/templates/landing.html.tpl +19 -19
  19. package/dist/skills/luz/references/components/accordion.md +16 -0
  20. package/dist/skills/luz/references/components/alert.md +13 -0
  21. package/dist/skills/luz/references/components/app-bar.md +34 -0
  22. package/dist/skills/luz/references/components/badge.md +7 -0
  23. package/dist/skills/luz/references/components/bar-list.md +18 -0
  24. package/dist/skills/luz/references/components/breadcrumb.md +13 -0
  25. package/dist/skills/luz/references/components/button-link.md +7 -0
  26. package/dist/skills/luz/references/components/button.md +7 -0
  27. package/dist/skills/luz/references/components/card.md +10 -0
  28. package/dist/skills/luz/references/components/checkbox.md +10 -0
  29. package/dist/skills/luz/references/components/code-block.md +9 -0
  30. package/dist/skills/luz/references/components/copy.md +8 -0
  31. package/dist/skills/luz/references/components/dashboard.md +27 -0
  32. package/dist/skills/luz/references/components/date.md +11 -0
  33. package/dist/skills/luz/references/components/dropdown.md +17 -0
  34. package/dist/skills/luz/references/components/email.md +11 -0
  35. package/dist/skills/luz/references/components/faq.md +38 -0
  36. package/dist/skills/luz/references/components/fieldset.md +17 -0
  37. package/dist/skills/luz/references/components/figure.md +12 -0
  38. package/dist/skills/luz/references/components/hero.md +24 -0
  39. package/dist/skills/luz/references/components/meter.md +8 -0
  40. package/dist/skills/luz/references/components/modal.md +26 -0
  41. package/dist/skills/luz/references/components/navbar.md +23 -0
  42. package/dist/skills/luz/references/components/number.md +11 -0
  43. package/dist/skills/luz/references/components/objects-actions.md +20 -0
  44. package/dist/skills/luz/references/components/objects-grid.md +15 -0
  45. package/dist/skills/luz/references/components/objects-list.md +10 -0
  46. package/dist/skills/luz/references/components/objects-media.md +12 -0
  47. package/dist/skills/luz/references/components/objects-page.md +18 -0
  48. package/dist/skills/luz/references/components/objects-shell.md +15 -0
  49. package/dist/skills/luz/references/components/page-header.md +12 -0
  50. package/dist/skills/luz/references/components/pagination.md +15 -0
  51. package/dist/skills/luz/references/components/progress.md +8 -0
  52. package/dist/skills/luz/references/components/prose.md +19 -0
  53. package/dist/skills/luz/references/components/radio.md +13 -0
  54. package/dist/skills/luz/references/components/range.md +10 -0
  55. package/dist/skills/luz/references/components/section.md +26 -0
  56. package/dist/skills/luz/references/components/select.md +14 -0
  57. package/dist/skills/luz/references/components/sidebar.md +23 -0
  58. package/dist/skills/luz/references/components/site-footer.md +17 -0
  59. package/dist/skills/luz/references/components/site-header.md +26 -0
  60. package/dist/skills/luz/references/components/skip-link.md +11 -0
  61. package/dist/skills/luz/references/components/stat.md +17 -0
  62. package/dist/skills/luz/references/components/switch.md +11 -0
  63. package/dist/skills/luz/references/components/table-sort.md +23 -0
  64. package/dist/skills/luz/references/components/table.md +17 -0
  65. package/dist/skills/luz/references/components/tabs.md +12 -0
  66. package/dist/skills/luz/references/components/tag.md +7 -0
  67. package/dist/skills/luz/references/components/text.md +11 -0
  68. package/dist/skills/luz/references/components/textarea.md +11 -0
  69. package/dist/skills/luz/references/components/toast.md +15 -0
  70. package/dist/skills/luz/references/components/tool.md +38 -0
  71. package/dist/skills/luz/references/components.md +101 -0
  72. package/dist/skills/luz/references/design.md +204 -0
  73. package/dist/skills/luz/references/done.md +45 -0
  74. package/dist/skills/luz/references/kinds/app.md +8 -1
  75. package/dist/skills/luz/references/kinds/landing.md +2 -2
  76. package/dist/skills/luz/references/magic.md +84 -0
  77. package/dist/skills/luz/references/reviewers.md +12 -2
  78. package/dist/skills/luz/references/skills.md +2 -0
  79. package/dist/skills/luz/scripts/luz.mjs +489 -8
  80. package/package.json +1 -1
@@ -0,0 +1,26 @@
1
+ # modal
2
+
3
+ A question that must be answered before going on. Rarely the right choice.
4
+
5
+ ```html
6
+ <button class="luz-btn luz-btn--primary" type="button" commandfor="rename" command="show-modal">Rename project</button>
7
+
8
+ <dialog class="luz-modal" id="rename" aria-labelledby="rename-title">
9
+ <div class="luz-modal__header">
10
+ <button class="luz-modal__close" type="button" commandfor="rename" command="close" aria-label="Close dialog">×</button>
11
+ <h2 class="luz-modal__title" id="rename-title">Rename project</h2>
12
+ </div>
13
+ <form method="dialog">
14
+ <div class="luz-modal__body">
15
+ <div class="luz-field">
16
+ <label class="luz-field__label" for="rename-name">New name</label>
17
+ <input class="luz-input" id="rename-name" type="text" autofocus>
18
+ </div>
19
+ </div>
20
+ <div class="luz-modal__footer">
21
+ <button class="luz-btn luz-btn--ghost" type="button" commandfor="rename" command="close">Cancel</button>
22
+ <button class="luz-btn luz-btn--primary" value="rename">Rename project</button>
23
+ </div>
24
+ </form>
25
+ </dialog>
26
+ ```
@@ -0,0 +1,23 @@
1
+ # navbar
2
+
3
+ The links of the header, folded behind a button on a phone.
4
+
5
+ Needs `components/navbar.css` and `components/sidebar.css` of catalog.
6
+
7
+ ```html
8
+ <header class="o-sticky">
9
+ <div class="o-container o-container--inline o-row">
10
+ <button class="luz-nav-toggle" type="button" popovertarget="site-nav" aria-label="Menu">
11
+ <svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6h16M4 12h16M4 18h16"/></g></svg>
12
+ </button>
13
+ <a href="/">Acme</a>
14
+ <nav class="luz-navbar" id="site-nav" aria-label="Main" popover>
15
+ <ul class="luz-navbar__list">
16
+ <li><a class="luz-navbar__link" href="/products/" aria-current="page">Products</a></li>
17
+ <li><a class="luz-navbar__link" href="/pricing/">Pricing</a></li>
18
+ <li><a class="luz-navbar__link" href="/support/">Support</a></li>
19
+ </ul>
20
+ </nav>
21
+ </div>
22
+ </header>
23
+ ```
@@ -0,0 +1,11 @@
1
+ # number
2
+
3
+ A number, with its unit in the label.
4
+
5
+ ```html
6
+ <div class="luz-field">
7
+ <label class="luz-field__label" for="number">Quantity</label>
8
+ <input class="luz-input" id="number" type="number" min="1" max="10" step="1" value="1" aria-describedby="number-hint">
9
+ <div class="luz-field__helper" id="number-hint">From 1 to 10.</div>
10
+ </div>
11
+ ```
@@ -0,0 +1,20 @@
1
+ # objects-actions
2
+
3
+ Two columns that stack on a phone, and a row of two or three actions.
4
+
5
+ ```html
6
+ <section class="o-grid o-grid--split">
7
+ <div class="o-stack">
8
+ <h1>…</h1>
9
+ <div class="o-actions">
10
+ <a class="luz-btn luz-btn--primary" href="/register/">Register now</a>
11
+ <a class="luz-btn luz-btn--outline" href="/programme/">See the programme</a>
12
+ </div>
13
+ </div>
14
+ <div class="luz-image">…</div>
15
+ </section>
16
+
17
+ <!-- two columns only when each gets 24 rem -->
18
+ <section class="o-grid o-grid--split hero">…</section>
19
+ <style>.hero { --luz-grid-min: 24rem; }</style>
20
+ ```
@@ -0,0 +1,15 @@
1
+ # objects-grid
2
+
3
+ As many equal columns as fit, none narrower than 16rem.
4
+
5
+ ```html
6
+ <!-- as many columns as fit, each at least 16 rem -->
7
+ <div class="o-grid o-grid--auto">…cards…</div>
8
+
9
+ <!-- at least 12 rem: set the property in your own CSS -->
10
+ <div class="o-grid o-grid--auto gallery">…</div>
11
+ <style>.gallery { --luz-grid-min: 12rem; }</style>
12
+
13
+ <!-- three columns above 768 px, one below -->
14
+ <div class="o-grid o-grid--3">…</div>
15
+ ```
@@ -0,0 +1,10 @@
1
+ # objects-list
2
+
3
+ A list of cards laid out as a grid.
4
+
5
+ ```html
6
+ <ul class="o-grid o-grid--auto">
7
+ <li class="luz-card">…</li>
8
+ <li class="luz-card">…</li>
9
+ </ul>
10
+ ```
@@ -0,0 +1,12 @@
1
+ # objects-media
2
+
3
+ An icon or a picture next to its text.
4
+
5
+ ```html
6
+ <div class="o-media">
7
+ <span class="luz-avatar luz-avatar--md" aria-hidden="true">AB</span>
8
+ <div class="o-media__body">
9
+ <p>Ana Belén</p>
10
+ </div>
11
+ </div>
12
+ ```
@@ -0,0 +1,18 @@
1
+ # objects-page
2
+
3
+ A page: the header, the main content in a centred column, the footer.
4
+
5
+ ```html
6
+ <body>
7
+ <a class="luz-skip-link" href="#main-content">Skip to main content</a>
8
+ <div class="o-page">
9
+ <header class="o-sticky">
10
+ <div class="o-container o-container--inline o-row">…</div>
11
+ </header>
12
+ <main id="main-content" class="o-container o-stack" tabindex="-1">…</main>
13
+ <footer>
14
+ <div class="o-container o-container--inline o-row">…</div>
15
+ </footer>
16
+ </div>
17
+ </body>
18
+ ```
@@ -0,0 +1,15 @@
1
+ # objects-shell
2
+
3
+ An app: a sidebar and the main area. Only with four destinations or more.
4
+
5
+ Needs `components/sidebar.css` of catalog.
6
+
7
+ ```html
8
+ <body class="o-shell">
9
+ <nav class="luz-sidebar" aria-label="Main">…</nav>
10
+ <main class="o-main" id="main-content">
11
+ <div class="o-container">…</div>
12
+ </main>
13
+ <footer>…</footer>
14
+ </body>
15
+ ```
@@ -0,0 +1,12 @@
1
+ # page-header
2
+
3
+ The title and the lead of an inner page.
4
+
5
+ Needs `components/page-header.css` of catalog.
6
+
7
+ ```html
8
+ <div class="luz-page-header">
9
+ <h1 class="luz-page-header__title">About the Review</h1>
10
+ <p class="luz-page-header__lead">An independent paper for Vejer and the coast, paid for by its readers.</p>
11
+ </div>
12
+ ```
@@ -0,0 +1,15 @@
1
+ # pagination
2
+
3
+ The pages of a long list.
4
+
5
+ ```html
6
+ <nav aria-label="Pagination">
7
+ <ul class="luz-pagination">
8
+ <li><a class="luz-pagination__link" href="/blog/?page=1" rel="prev">Previous</a></li>
9
+ <li><a class="luz-pagination__link" href="/blog/?page=1" aria-label="Page 1">1</a></li>
10
+ <li><a class="luz-pagination__link" href="/blog/?page=2" aria-label="Page 2" aria-current="page">2</a></li>
11
+ <li><a class="luz-pagination__link" href="/blog/?page=3" aria-label="Page 3">3</a></li>
12
+ <li><a class="luz-pagination__link" href="/blog/?page=3" rel="next">Next</a></li>
13
+ </ul>
14
+ </nav>
15
+ ```
@@ -0,0 +1,8 @@
1
+ # progress
2
+
3
+ How far a task has gone.
4
+
5
+ ```html
6
+ <label for="upload">Uploading report.pdf</label>
7
+ <progress class="luz-progress" id="upload" value="25" max="100">25%</progress>
8
+ ```
@@ -0,0 +1,19 @@
1
+ # prose
2
+
3
+ Running text written elsewhere (Markdown, a CMS).
4
+
5
+ ```html
6
+ <div class="luz-prose">
7
+ <!-- What the editor or the Markdown writes, as it is -->
8
+ <p>Since March 2016, a group of volunteers has read the tide gauge…</p>
9
+ <h2 id="method">How the readings were taken</h2>
10
+ <p>…</p>
11
+ <ul class="wp-block-list">
12
+ <li>…</li>
13
+ </ul>
14
+ <figure>
15
+ <img src="gauge.jpg" width="1200" height="800" alt="The tide gauge in the port, a post marked in centimetres">
16
+ <figcaption>The gauge at low tide.</figcaption>
17
+ </figure>
18
+ </div>
19
+ ```
@@ -0,0 +1,13 @@
1
+ # radio
2
+
3
+ One option of two to five, all visible.
4
+
5
+ ```html
6
+ <fieldset class="luz-fieldset">
7
+ <legend>Plan</legend>
8
+ <div class="luz-check-group">
9
+ <div class="luz-check-item"><input type="radio" name="plan" id="plan-free" checked><label for="plan-free">Free</label></div>
10
+ <div class="luz-check-item"><input type="radio" name="plan" id="plan-team"><label for="plan-team">Team</label></div>
11
+ </div>
12
+ </fieldset>
13
+ ```
@@ -0,0 +1,10 @@
1
+ # range
2
+
3
+ A value on a scale, with its output.
4
+
5
+ ```html
6
+ <div class="luz-field">
7
+ <label class="luz-field__label" for="volume">Volume <output class="luz-output" id="volume-out" for="volume">50</output></label>
8
+ <input class="luz-input" id="volume" type="range" min="0" max="100" value="50">
9
+ </div>
10
+ ```
@@ -0,0 +1,26 @@
1
+ # section
2
+
3
+ A section of a landing page with its title.
4
+
5
+ Needs `components/glow.css` and `components/main.css` and `components/section.css` of catalog.
6
+
7
+ ```html
8
+ <body class="o-page luz-glow">
9
+ <a class="luz-skip-link" href="#main-content">Skip to content</a>
10
+ <!-- the header -->
11
+ <main id="main-content" class="o-container o-stack luz-main" tabindex="-1">
12
+ <!-- the hero -->
13
+ <section class="o-stack luz-section" aria-labelledby="programme-title">
14
+ <h2 id="programme-title">Programme</h2>
15
+ <p>Twelve talks and six workshops over two days.</p>
16
+ </section>
17
+ <section class="o-stack luz-section luz-band" aria-labelledby="last-seats-title">
18
+ <h2 id="last-seats-title">Registration closes on 30 April</h2>
19
+ <div class="o-actions">
20
+ <a class="luz-btn luz-btn--primary" href="#register">Register now</a>
21
+ </div>
22
+ </section>
23
+ </main>
24
+ <!-- the footer -->
25
+ </body>
26
+ ```
@@ -0,0 +1,14 @@
1
+ # select
2
+
3
+ One option of a list longer than five.
4
+
5
+ ```html
6
+ <div class="luz-field">
7
+ <label class="luz-field__label" for="country">Country</label>
8
+ <select class="luz-select" id="country" name="country">
9
+ <option value="">Select a country</option>
10
+ <option value="de">Germany</option>
11
+ <option value="es">Spain</option>
12
+ </select>
13
+ </div>
14
+ ```
@@ -0,0 +1,23 @@
1
+ # sidebar
2
+
3
+ The navigation of an app with four views or more.
4
+
5
+ Needs `components/sidebar.css` of catalog.
6
+
7
+ ```html
8
+ <header>
9
+ <button class="luz-nav-toggle" type="button" popovertarget="site-nav" aria-label="Menu">
10
+ <span class="luz-nav-toggle__bar"></span>
11
+ <span class="luz-nav-toggle__bar"></span>
12
+ <span class="luz-nav-toggle__bar"></span>
13
+ </button>
14
+ </header>
15
+
16
+ <nav class="luz-sidebar" id="site-nav" popover aria-label="Main">
17
+ <div class="luz-sidebar__section">
18
+ <div class="luz-sidebar__section-label">Account</div>
19
+ <a class="luz-sidebar__link is-active" href="/profile/" aria-current="page">Profile</a>
20
+ <a class="luz-sidebar__link" href="/billing/">Billing</a>
21
+ </div>
22
+ </nav>
23
+ ```
@@ -0,0 +1,17 @@
1
+ # site-footer
2
+
3
+ The footer of a site.
4
+
5
+ Needs `components/site-footer.css` of catalog.
6
+
7
+ ```html
8
+ <footer class="luz-site-footer">
9
+ <div class="o-container o-container--inline o-row">
10
+ <p>Acme Inc. · MIT licence</p>
11
+ <nav class="o-actions" aria-label="Links">
12
+ <a class="luz-btn luz-btn--ghost luz-btn--sm" href="/status/">Service status</a>
13
+ <a class="luz-btn luz-btn--ghost luz-btn--sm" href="/accessibility/">Accessibility statement</a>
14
+ </nav>
15
+ </div>
16
+ </footer>
17
+ ```
@@ -0,0 +1,26 @@
1
+ # site-header
2
+
3
+ The header of a site: the name and its links.
4
+
5
+ Needs `components/navbar.css` and `components/sidebar.css` and `components/site-header.css` of catalog.
6
+
7
+ ```html
8
+ <header class="luz-site-header o-sticky">
9
+ <div class="o-container o-container--inline o-row">
10
+ <button class="luz-nav-toggle" type="button" popovertarget="site-nav" aria-label="Menu">
11
+ <svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6h16M4 12h16M4 18h16"/></g></svg>
12
+ </button>
13
+ <a class="luz-site-header__brand" href="/">Acme Summit</a>
14
+ <nav class="luz-navbar" id="site-nav" aria-label="Main" popover>
15
+ <ul class="luz-navbar__list">
16
+ <li><a class="luz-navbar__link" href="/programme/" aria-current="page">Programme</a></li>
17
+ <li><a class="luz-navbar__link" href="/speakers/">Speakers</a></li>
18
+ <li><a class="luz-navbar__link" href="/tickets/">Tickets</a></li>
19
+ </ul>
20
+ </nav>
21
+ <div class="o-row luz-site-header__actions">
22
+ <a class="luz-btn luz-btn--ghost" href="/account/">Log in</a>
23
+ </div>
24
+ </div>
25
+ </header>
26
+ ```
@@ -0,0 +1,11 @@
1
+ # skip-link
2
+
3
+ The first link of every page, to the main content.
4
+
5
+ ```html
6
+ <body>
7
+ <a class="luz-skip-link" href="#main-content">Skip to main content</a>
8
+ <header class="o-sticky">…</header>
9
+ <main id="main-content" tabindex="-1">…</main>
10
+ </body>
11
+ ```
@@ -0,0 +1,17 @@
1
+ # stat
2
+
3
+ A figure and what it counts.
4
+
5
+ Needs `components/section.css` and `components/stat.css` of catalog.
6
+
7
+ ```html
8
+ <ul class="o-grid o-grid--3">
9
+ <li>
10
+ <div class="luz-stat">
11
+ <p class="luz-stat__value">4,000+</p>
12
+ <p class="luz-stat__label">teams on the platform</p>
13
+ </div>
14
+ </li>
15
+ <!-- one li for each stat; a card is a li.luz-card -->
16
+ </ul>
17
+ ```
@@ -0,0 +1,11 @@
1
+ # switch
2
+
3
+ A setting that takes effect at once.
4
+
5
+ ```html
6
+ <label class="luz-toggle">
7
+ <input class="luz-toggle__input" type="checkbox" role="switch">
8
+ <span class="luz-toggle__track" aria-hidden="true"><span class="luz-toggle__thumb"></span></span>
9
+ <span class="luz-toggle__label">Weekly digest</span>
10
+ </label>
11
+ ```
@@ -0,0 +1,23 @@
1
+ # table-sort
2
+
3
+ A table the reader sorts by a column.
4
+
5
+ ```html
6
+ <table class="luz-table" id="routes">
7
+ <caption>Parcels per route</caption>
8
+ <thead>
9
+ <tr>
10
+ <!-- With a link: it sorts on the server without JavaScript -->
11
+ <th scope="col" data-luz-sort><a href="?sort=route#routes">Route</a></th>
12
+ <!-- Plain text: the script makes it a button -->
13
+ <th scope="col" class="luz-table__numeric" data-luz-sort>Parcels</th>
14
+ </tr>
15
+ </thead>
16
+ <tbody>
17
+ <tr>
18
+ <td data-label="Route">Sevilla to Madrid</td>
19
+ <td class="luz-table__numeric" data-label="Parcels" data-sort-value="1204">1,204</td>
20
+ </tr>
21
+ </tbody>
22
+ </table>
23
+ ```
@@ -0,0 +1,17 @@
1
+ # table
2
+
3
+ Rows and columns of data, with a horizontal scroll inside its wrapper.
4
+
5
+ ```html
6
+ <div class="luz-table-wrap" role="region" aria-label="Invoices" tabindex="0">
7
+ <table class="luz-table">
8
+ <caption>Invoices</caption>
9
+ <thead>
10
+ <tr><th scope="col">Number</th><th scope="col">Date</th><th scope="col">Amount (€)</th></tr>
11
+ </thead>
12
+ <tbody>
13
+ <tr><td data-label="Number">INV-0042</td><td data-label="Date">1 Oct 2026</td><td data-label="Amount (€)">120.00</td></tr>
14
+ </tbody>
15
+ </table>
16
+ </div>
17
+ ```
@@ -0,0 +1,12 @@
1
+ # tabs
2
+
3
+ Two to five views of the same thing, one at a time.
4
+
5
+ ```html
6
+ <nav class="luz-tabs" aria-label="Project">
7
+ <a class="luz-tab" href="#project-summary">Summary</a>
8
+ <a class="luz-tab" href="#project-settings">Settings</a>
9
+ </nav>
10
+ <div class="luz-tabpanel" id="project-summary">…</div>
11
+ <div class="luz-tabpanel" id="project-settings">…</div>
12
+ ```
@@ -0,0 +1,7 @@
1
+ # tag
2
+
3
+ A short label of a category.
4
+
5
+ ```html
6
+ <span class="luz-tag luz-tag--green luz-tag--dot">Running</span>
7
+ ```
@@ -0,0 +1,11 @@
1
+ # text
2
+
3
+ A text field: label, control, help text and error.
4
+
5
+ ```html
6
+ <div class="luz-field">
7
+ <label class="luz-field__label" for="name">Project name</label>
8
+ <input class="luz-input" id="name" type="text" aria-describedby="name-hint">
9
+ <div class="luz-field__helper" id="name-hint">Shown on the dashboard.</div>
10
+ </div>
11
+ ```
@@ -0,0 +1,11 @@
1
+ # textarea
2
+
3
+ A text of several lines.
4
+
5
+ ```html
6
+ <div class="luz-field">
7
+ <label class="luz-field__label" for="textarea">Message</label>
8
+ <textarea class="luz-input luz-input--textarea" id="textarea" rows="4" maxlength="500" aria-describedby="textarea-hint"></textarea>
9
+ <div class="luz-field__helper" id="textarea-hint">Up to 500 characters.</div>
10
+ </div>
11
+ ```
@@ -0,0 +1,15 @@
1
+ # toast
2
+
3
+ A short message after an action, that goes away.
4
+
5
+ ```html
6
+ <div role="status">
7
+ <div class="luz-toast">
8
+ <div class="luz-toast__content">
9
+ <div class="luz-toast__kind">Saved</div>
10
+ <div class="luz-toast__msg">Draft saved.</div>
11
+ </div>
12
+ <button class="luz-toast__close" type="button" aria-label="Dismiss notification">×</button>
13
+ </div>
14
+ </div>
15
+ ```
@@ -0,0 +1,38 @@
1
+ # tool
2
+
3
+ A page that is a tool: the settings and the result, side by side when both fit.
4
+
5
+ Needs `components/tool.css` of catalog.
6
+
7
+ ```html
8
+ <div class="luz-tool">
9
+ <form class="luz-tool__settings o-stack" aria-labelledby="settings-title">
10
+ <h2 id="settings-title">Settings</h2>
11
+ <div class="o-grid o-grid--split">
12
+ <div class="luz-field">
13
+ <label class="luz-field__label" for="country">Country</label>
14
+ <select class="luz-select" id="country">…</select>
15
+ </div>
16
+ <div class="luz-field">
17
+ <label class="luz-field__label" for="rows">Rows</label>
18
+ <input class="luz-input" id="rows" type="number" value="20" min="1" max="1000">
19
+ </div>
20
+ </div>
21
+ <details>
22
+ <summary>More options</summary>
23
+ <fieldset class="luz-fieldset">…</fieldset>
24
+ </details>
25
+ </form>
26
+ <section class="luz-tool__result o-stack" aria-labelledby="result-title">
27
+ <div class="o-row">
28
+ <h2 id="result-title">Result</h2>
29
+ <button class="luz-btn luz-btn--primary" type="button">Download CSV</button>
30
+ <button class="luz-btn luz-btn--ghost" type="button">Copy</button>
31
+ </div>
32
+ <p role="status">20 rows for Spain</p>
33
+ <div class="luz-table-wrap" role="region" aria-label="Rows made" tabindex="0">
34
+ <table class="luz-table">…</table>
35
+ </div>
36
+ </section>
37
+ </div>
38
+ ```