@birdycom/omniaui 0.13.0 → 0.14.1

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 (55) hide show
  1. package/bin/lib/copy-js.mjs +5 -1
  2. package/dist/components.css +975 -20
  3. package/dist/components.min.css +1 -1
  4. package/dist/docs-ui.css +12 -1
  5. package/dist/form-extras.d.ts +3 -1
  6. package/dist/form-extras.js +21 -3
  7. package/dist/language-select.d.ts +7 -0
  8. package/dist/language-select.js +48 -0
  9. package/dist/oc-theme.css +1 -1
  10. package/dist/particles.d.ts +14 -0
  11. package/dist/particles.js +133 -0
  12. package/dist/parts/app-accordion-accent.css +18 -1
  13. package/dist/parts/app-callout.css +20 -0
  14. package/dist/parts/app-group.css +36 -0
  15. package/dist/parts/app-page-header.css +1 -1
  16. package/dist/parts/app-status-dot.css +19 -4
  17. package/dist/parts/app-version-banner.css +18 -1
  18. package/dist/parts/data-dl-glossary.css +11 -0
  19. package/dist/parts/data-graph.css +132 -0
  20. package/dist/parts/data-meter-row.css +63 -3
  21. package/dist/parts/data-reading.css +26 -0
  22. package/dist/parts/data-step-list.css +42 -0
  23. package/dist/parts/forms-language-select.css +80 -0
  24. package/dist/parts/nav-menu-static.css +50 -0
  25. package/dist/parts/site-backgrounds.css +68 -0
  26. package/dist/parts/site-cards.css +2 -1
  27. package/dist/parts/site-doc-layout.css +39 -0
  28. package/dist/parts/site-layout.css +15 -1
  29. package/dist/parts/site-neon.css +47 -0
  30. package/dist/parts/site-prose.css +4 -1
  31. package/dist/parts/site-tint-card.css +223 -0
  32. package/dist/showcase.css +22 -5
  33. package/dist/toc.d.ts +9 -0
  34. package/dist/toc.js +96 -0
  35. package/manifest.json +88 -0
  36. package/package.json +5 -2
  37. package/snippets/accordion-accent.html +22 -0
  38. package/snippets/backgrounds.html +18 -0
  39. package/snippets/callout.html +17 -0
  40. package/snippets/definition-list.html +1 -0
  41. package/snippets/doc-layout.html +39 -0
  42. package/snippets/graph.html +41 -0
  43. package/snippets/group.html +34 -0
  44. package/snippets/language-select.html +11 -0
  45. package/snippets/menu-static.html +36 -0
  46. package/snippets/meter-row.html +23 -0
  47. package/snippets/neon.html +18 -0
  48. package/snippets/page-sections.html +1 -1
  49. package/snippets/particle-field.html +14 -0
  50. package/snippets/progress.html +1 -1
  51. package/snippets/reading.html +25 -0
  52. package/snippets/status-dot.html +1 -0
  53. package/snippets/step-list.html +28 -0
  54. package/snippets/tint-card.html +66 -0
  55. package/snippets/toc.html +1 -1
@@ -0,0 +1,41 @@
1
+ <!-- OmniaUI component: graph - The look of a small network graph in SVG: a center with linked nodes, colored by level, moving edges and a pulse. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/graph.html | Map: drawn by hand -> one node lit.
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ .oc-graph / .oc-graph__svg: The frame (accent color --oc-graph-accent) and the SVG, which scales with its width.
5
+ .oc-graph__edge: A dashed line in the accent color that flows outwards.
6
+ .oc-graph__node[data-level]: A node group: low, medium, high or critical sets --oc-graph-color.
7
+ .oc-graph__halo / __dot / __mark / __label: Soft ring, dot, sign inside and the name under it.
8
+ .oc-graph__node--center + .oc-graph__pulse: The center in the accent color with a ring that grows and fades.
9
+ .is-focused / .is-active: On the graph and one node (and its edge): that node lights up, the rest dims.
10
+ .oc-graph__tip (+ -level, -title, -meta): Tooltip for the node under the pointer; data-level colors its first line.
11
+ -->
12
+ <div class="oc-graph" style="inline-size:min(100%,26rem)">
13
+ <svg class="oc-graph__svg" viewBox="-170 -170 340 340" role="img" aria-label="Customer 1 and 5 sources">
14
+ <line class="oc-graph__edge" x1="0" y1="0" x2="0" y2="-120"/>
15
+ <line class="oc-graph__edge" x1="0" y1="0" x2="114.1" y2="-37.1"/>
16
+ <line class="oc-graph__edge" x1="0" y1="0" x2="70.5" y2="97.1"/>
17
+ <line class="oc-graph__edge" x1="0" y1="0" x2="-70.5" y2="97.1"/>
18
+ <line class="oc-graph__edge" x1="0" y1="0" x2="-114.1" y2="-37.1"/>
19
+ <g class="oc-graph__node oc-graph__node--center"><circle class="oc-graph__pulse" r="21"/><circle class="oc-graph__halo" r="30"/><circle class="oc-graph__dot" r="21"/><text class="oc-graph__mark">◉</text><text class="oc-graph__label" y="35">Customer 1</text></g>
20
+ <g class="oc-graph__node" data-level="critical" transform="translate(0 -120)"><circle class="oc-graph__halo" r="21"/><circle class="oc-graph__dot" r="14"/><text class="oc-graph__mark">!</text><text class="oc-graph__label" y="27">Forum 1</text></g>
21
+ <g class="oc-graph__node" data-level="high" transform="translate(114.1 -37.1)"><circle class="oc-graph__halo" r="21"/><circle class="oc-graph__dot" r="14"/><text class="oc-graph__mark">▲</text><text class="oc-graph__label" y="27">Shop 2</text></g>
22
+ <g class="oc-graph__node" data-level="medium" transform="translate(70.5 97.1)"><circle class="oc-graph__halo" r="21"/><circle class="oc-graph__dot" r="14"/><text class="oc-graph__mark">●</text><text class="oc-graph__label" y="27">People finder 1</text></g>
23
+ <g class="oc-graph__node" data-level="low" transform="translate(-70.5 97.1)"><circle class="oc-graph__halo" r="21"/><circle class="oc-graph__dot" r="14"/><text class="oc-graph__mark">○</text><text class="oc-graph__label" y="27">Register 1</text></g>
24
+ <g class="oc-graph__node" data-level="low" transform="translate(-114.1 -37.1)"><circle class="oc-graph__halo" r="21"/><circle class="oc-graph__dot" r="14"/><text class="oc-graph__mark">○</text><text class="oc-graph__label" y="27">Image search 1</text></g>
25
+ </svg>
26
+ </div>
27
+ <div class="oc-graph is-focused" style="inline-size:min(100%,26rem)">
28
+ <svg class="oc-graph__svg" viewBox="-170 -170 340 340" role="img" aria-label="Customer 1 and 5 sources">
29
+ <line class="oc-graph__edge" x1="0" y1="0" x2="0" y2="-120"/>
30
+ <line class="oc-graph__edge is-active" x1="0" y1="0" x2="114.1" y2="-37.1"/>
31
+ <line class="oc-graph__edge" x1="0" y1="0" x2="70.5" y2="97.1"/>
32
+ <line class="oc-graph__edge" x1="0" y1="0" x2="-70.5" y2="97.1"/>
33
+ <line class="oc-graph__edge" x1="0" y1="0" x2="-114.1" y2="-37.1"/>
34
+ <g class="oc-graph__node oc-graph__node--center"><circle class="oc-graph__pulse" r="21"/><circle class="oc-graph__halo" r="30"/><circle class="oc-graph__dot" r="21"/><text class="oc-graph__mark">◉</text><text class="oc-graph__label" y="35">Customer 1</text></g>
35
+ <g class="oc-graph__node" data-level="critical" transform="translate(0 -120)"><circle class="oc-graph__halo" r="21"/><circle class="oc-graph__dot" r="14"/><text class="oc-graph__mark">!</text><text class="oc-graph__label" y="27">Forum 1</text></g>
36
+ <g class="oc-graph__node is-active" data-level="high" transform="translate(114.1 -37.1)"><circle class="oc-graph__halo" r="21"/><circle class="oc-graph__dot" r="14"/><text class="oc-graph__mark">▲</text><text class="oc-graph__label" y="27">Shop 2</text></g>
37
+ <g class="oc-graph__node" data-level="medium" transform="translate(70.5 97.1)"><circle class="oc-graph__halo" r="21"/><circle class="oc-graph__dot" r="14"/><text class="oc-graph__mark">●</text><text class="oc-graph__label" y="27">People finder 1</text></g>
38
+ <g class="oc-graph__node" data-level="low" transform="translate(-70.5 97.1)"><circle class="oc-graph__halo" r="21"/><circle class="oc-graph__dot" r="14"/><text class="oc-graph__mark">○</text><text class="oc-graph__label" y="27">Register 1</text></g>
39
+ <g class="oc-graph__node" data-level="low" transform="translate(-114.1 -37.1)"><circle class="oc-graph__halo" r="21"/><circle class="oc-graph__dot" r="14"/><text class="oc-graph__mark">○</text><text class="oc-graph__label" y="27">Image search 1</text></g>
40
+ </svg>
41
+ </div>
@@ -0,0 +1,34 @@
1
+ <!-- OmniaUI component: group - One section inside a panel or widget, with a title, a colored status on the right and a muted line, and a hairline between groups. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/group.html | Map: groups in a panel.
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ .oc-group: One section: padding 14px 0 6px; a hairline above every group that follows another.
5
+ .oc-group__head: Title and status on one line.
6
+ .oc-group__title: The title (an h2 or h3); cut with an ellipsis when it is too long.
7
+ .oc-group__aside[data-tone]: Status on the right; data-tone="busy|ok|warn|error" colors it.
8
+ .oc-group__meta: Muted line under the title.
9
+ --oc-group-line: Color of the hairline (glass hairline or border by default).
10
+ -->
11
+ <div class="oc-card" style="padding:0 1rem 0.5rem;inline-size:min(100%,26rem)">
12
+ <section class="oc-group">
13
+ <header class="oc-group__head"><h2 class="oc-group__title">Service 1</h2><span class="oc-group__aside" data-tone="busy">2 busy</span></header>
14
+ <p class="oc-group__meta">Plan Team · resets Monday</p>
15
+ <div class="oc-meter-list oc-meter-list--dense">
16
+ <div class="oc-meter-row" style="--oc-meter: 46%"><span class="oc-meter-row__label">Session</span><span class="oc-meter-row__value"><strong>46%</strong> · 23k / 50k</span><span class="oc-meter-row__bar" role="meter" aria-label="Session" aria-valuemin="0" aria-valuemax="100" aria-valuenow="46"></span></div>
17
+ <div class="oc-meter-row" data-level="warn" style="--oc-meter: 78%"><span class="oc-meter-row__label">Week</span><span class="oc-meter-row__value"><strong>78%</strong> · 1.6M / 2M</span><span class="oc-meter-row__bar" role="meter" aria-label="Week" aria-valuemin="0" aria-valuemax="100" aria-valuenow="78"></span></div>
18
+ </div>
19
+ </section>
20
+ <section class="oc-group">
21
+ <header class="oc-group__head"><h2 class="oc-group__title">Service 2</h2><span class="oc-group__aside">idle</span></header>
22
+ <p class="oc-group__meta">Plan Free</p>
23
+ <div class="oc-meter-list oc-meter-list--dense">
24
+ <div class="oc-meter-row" style="--oc-meter: 12%"><span class="oc-meter-row__label">Day</span><span class="oc-meter-row__value"><strong>12%</strong> · 6 / 50 requests</span><span class="oc-meter-row__bar" role="meter" aria-label="Day" aria-valuemin="0" aria-valuemax="100" aria-valuenow="12"></span></div>
25
+ </div>
26
+ </section>
27
+ <section class="oc-group">
28
+ <header class="oc-group__head"><h2 class="oc-group__title">Service 3</h2><span class="oc-group__aside" data-tone="error">limit reached</span></header>
29
+ <p class="oc-group__meta">Plan Free · resets in 3 h</p>
30
+ <div class="oc-meter-list oc-meter-list--dense">
31
+ <div class="oc-meter-row" data-level="critical" style="--oc-meter: 100%"><span class="oc-meter-row__label">Day</span><span class="oc-meter-row__value"><strong>100%</strong> · 50 / 50 requests</span><span class="oc-meter-row__bar" role="meter" aria-label="Day" aria-valuemin="0" aria-valuemax="100" aria-valuenow="100"></span></div>
32
+ </div>
33
+ </section>
34
+ </div>
@@ -24,3 +24,14 @@
24
24
  <option value="GBP">GBP</option>
25
25
  </select>
26
26
  </label>
27
+ <div style="display:flex;justify-content:space-between;align-items:center;inline-size:min(100%,20rem);padding:0.25rem 0.25rem 0.25rem 0.75rem;border:1px solid var(--oc-border);border-radius:var(--oc-radius)">
28
+ <strong>App 1</strong>
29
+ <label class="oc-language-select oc-language-select--ghost oc-language-select--code" data-code="NL">
30
+ <select class="oc-language-select-control" aria-label="Language">
31
+ <option value="en">English</option>
32
+ <option value="nl" selected>Nederlands</option>
33
+ <option value="fr">Français</option>
34
+ <option value="de">Deutsch</option>
35
+ </select>
36
+ </label>
37
+ </div>
@@ -0,0 +1,36 @@
1
+ <!-- OmniaUI component: menu-static - The dropdown menu as a surface of its own, with a check column and hints, for a tray menu or a menu inside a panel. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/menu-static.html | Map: tray menu -> flat, in a glass window.
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ .oc-dropdown-menu--static: No popover or position: the menu is shown and fills its container.
5
+ .oc-dropdown-menu--flat: No border, radius, shadow or background: the window around it is the frame.
6
+ .oc-dropdown-check: A 20px check column at the start of an item; shows ✓ when the item has aria-checked="true".
7
+ .oc-dropdown-hint: Muted text on the right (a shortcut, a time).
8
+ .oc-dropdown-label: Group title; small capitals in a static menu.
9
+ .oc-dropdown-item--destructive: Red item (Quit, Delete).
10
+ -->
11
+ <div class="oc-dropdown-menu oc-dropdown-menu--static" role="menu" aria-label="App 1" style="max-inline-size:17rem">
12
+ <div class="oc-dropdown-label">View</div>
13
+ <button type="button" class="oc-dropdown-item" role="menuitemcheckbox" aria-checked="true"><span class="oc-dropdown-check" aria-hidden="true"></span>Always on top<span class="oc-dropdown-hint">Ctrl+T</span></button>
14
+ <button type="button" class="oc-dropdown-item" role="menuitemcheckbox" aria-checked="false"><span class="oc-dropdown-check" aria-hidden="true"></span>Compact mode</button>
15
+ <button type="button" class="oc-dropdown-item" role="menuitemcheckbox" aria-checked="true"><span class="oc-dropdown-check" aria-hidden="true"></span>Start with Windows</button>
16
+ <div class="oc-dropdown-separator"></div>
17
+ <div class="oc-dropdown-label">Refresh</div>
18
+ <button type="button" class="oc-dropdown-item" role="menuitemcheckbox" aria-checked="false"><span class="oc-dropdown-check" aria-hidden="true"></span>Every minute</button>
19
+ <button type="button" class="oc-dropdown-item" role="menuitemcheckbox" aria-checked="true"><span class="oc-dropdown-check" aria-hidden="true"></span>Every 5 minutes<span class="oc-dropdown-hint">now</span></button>
20
+ <div class="oc-dropdown-separator"></div>
21
+ <button type="button" class="oc-dropdown-item oc-dropdown-item--destructive">Quit<span class="oc-dropdown-hint">Ctrl+Q</span></button>
22
+ </div>
23
+ <div class="oc-glass" style="padding:4px;inline-size:min(100%,17rem)">
24
+ <div class="oc-dropdown-menu oc-dropdown-menu--static oc-dropdown-menu--flat" role="menu" aria-label="App 1">
25
+ <div class="oc-dropdown-label">View</div>
26
+ <button type="button" class="oc-dropdown-item" role="menuitemcheckbox" aria-checked="true"><span class="oc-dropdown-check" aria-hidden="true"></span>Always on top<span class="oc-dropdown-hint">Ctrl+T</span></button>
27
+ <button type="button" class="oc-dropdown-item" role="menuitemcheckbox" aria-checked="false"><span class="oc-dropdown-check" aria-hidden="true"></span>Compact mode</button>
28
+ <button type="button" class="oc-dropdown-item" role="menuitemcheckbox" aria-checked="true"><span class="oc-dropdown-check" aria-hidden="true"></span>Start with Windows</button>
29
+ <div class="oc-dropdown-separator"></div>
30
+ <div class="oc-dropdown-label">Refresh</div>
31
+ <button type="button" class="oc-dropdown-item" role="menuitemcheckbox" aria-checked="false"><span class="oc-dropdown-check" aria-hidden="true"></span>Every minute</button>
32
+ <button type="button" class="oc-dropdown-item" role="menuitemcheckbox" aria-checked="true"><span class="oc-dropdown-check" aria-hidden="true"></span>Every 5 minutes<span class="oc-dropdown-hint">now</span></button>
33
+ <div class="oc-dropdown-separator"></div>
34
+ <button type="button" class="oc-dropdown-item oc-dropdown-item--destructive">Quit<span class="oc-dropdown-hint">Ctrl+Q</span></button>
35
+ </div>
36
+ </div>
@@ -6,6 +6,10 @@
6
6
  data-level="warn" / "critical": Orange / red bar (and a red value at critical). Without it the bar is green.
7
7
  .oc-meter-row__bar[role=meter]: The bar; give it aria-valuenow and a label for screen readers.
8
8
  .oc-meter-list (--compact): A stack of rows; --compact for a small widget.
9
+ .oc-meter-list--dense: Tighter rows with a 5px bar and a 0.8rem label, for a tray window (no width transition).
10
+ .oc-meter-list--live: No width transition, for values that change every few seconds.
11
+ .oc-meter-row__sub: Muted second line under the bar; .oc-meter-row__subbar: its thin bar (--oc-meter, data-level).
12
+ .oc-meter-row__fill: Optional fill element inside a bar or sub-bar; patch its inline inline-size in place.
9
13
  -->
10
14
  <div class="oc-meter-list" style="inline-size:min(100%,28rem)">
11
15
  <div class="oc-meter-row" style="--oc-meter: 62%">
@@ -27,3 +31,22 @@
27
31
  <span class="oc-meter-row__reset"><iconify-icon icon="mdi:timer-sand" aria-hidden="true"></iconify-icon>Upgrade or clean up to keep syncing</span>
28
32
  </div>
29
33
  </div>
34
+ <div class="oc-meter-list oc-meter-list--dense" style="inline-size:min(100%,24rem)">
35
+ <div class="oc-meter-row" style="--oc-meter: 34%">
36
+ <span class="oc-meter-row__label">CPU</span>
37
+ <span class="oc-meter-row__value"><strong>34%</strong><span class="oc-reading">52 °C</span></span>
38
+ <span class="oc-meter-row__bar" role="meter" aria-label="CPU" aria-valuemin="0" aria-valuemax="100" aria-valuenow="34"></span>
39
+ </div>
40
+ <div class="oc-meter-row" data-level="warn" style="--oc-meter: 81%">
41
+ <span class="oc-meter-row__label">GPU</span>
42
+ <span class="oc-meter-row__value"><strong>81%</strong><span class="oc-reading oc-reading--warm">74 °C</span></span>
43
+ <span class="oc-meter-row__bar" role="meter" aria-label="GPU" aria-valuemin="0" aria-valuemax="100" aria-valuenow="81"></span>
44
+ <span class="oc-meter-row__sub">VRAM 2.7 / 8.0 GB<span class="oc-meter-row__subbar" style="--oc-meter: 34%"></span></span>
45
+ </div>
46
+ <div class="oc-meter-row" style="--oc-meter: 58%">
47
+ <span class="oc-meter-row__label">Memory</span>
48
+ <span class="oc-meter-row__value"><strong>58%</strong> · 18.6 / 32 GB</span>
49
+ <span class="oc-meter-row__bar" role="meter" aria-label="Memory" aria-valuemin="0" aria-valuemax="100" aria-valuenow="58"><span class="oc-meter-row__fill" style="inline-size: 58%"></span></span>
50
+ <span class="oc-meter-row__sub">Swap 1.2 / 4 GB<span class="oc-meter-row__subbar"><span class="oc-meter-row__fill" style="inline-size: 30%"></span></span></span>
51
+ </div>
52
+ </div>
@@ -0,0 +1,18 @@
1
+ <!-- OmniaUI component: neon - A border that glows from one accent color to the other, and a button with a neon gradient. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/neon.html | Map: glowing form -> other colors.
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ .oc-glow-border: Border and glow move from --oc-accent-from to --oc-accent-to and back (3s); works on any element with a border, glass included.
5
+ --oc-glow-border-duration: Length of one round (3s).
6
+ .oc-btn--neon: Gradient from one accent to the other with a glow, bold with a little letter spacing; muted when disabled.
7
+ --oc-btn-neon-ink: Text color on the gradient (white in light mode, near black in dark mode).
8
+ -->
9
+ <form class="oc-card oc-glow-border" style="display:grid;gap:0.75rem;padding:1.25rem;inline-size:min(100%,24rem)" onsubmit="return false">
10
+ <label class="oc-field"><span class="oc-field-label">Email address</span><input class="oc-input" type="email" placeholder="info@company1.example"></label>
11
+ <button type="submit" class="oc-btn oc-btn--neon">START SCAN</button>
12
+ </form>
13
+ <div style="display:flex;flex-wrap:wrap;gap:1rem;align-items:center">
14
+ <button type="button" class="oc-btn oc-btn--neon oc-accent--green">Green</button>
15
+ <button type="button" class="oc-btn oc-btn--neon oc-accent--orange">Orange</button>
16
+ <button type="button" class="oc-btn oc-btn--neon" disabled>Disabled</button>
17
+ <div class="oc-card oc-glow-border oc-accent--violet" style="padding:1rem 1.25rem">Violet border</div>
18
+ </div>
@@ -3,7 +3,7 @@
3
3
  Class API (modifiers are extra classes / attributes on the same element):
4
4
  .oc-section-pad--page: Header of an inner page: padding clamp(4rem, 10vw, 7rem) on top, clamp(2rem, 5vw, 3rem) below.
5
5
  .oc-display--page: Larger display title for that header: clamp(2.5rem, 6.5vw, 4.75rem).
6
- .oc-section-head: Head of a section (eyebrow, title, lead): max 46rem, 3rem below. --center centers it.
6
+ .oc-section-head: Head of a section (eyebrow, title, lead): max 46rem, 3rem below. --center centers it; --split: title left, lead right (one column below 56rem).
7
7
  .oc-section-more: Row under a section (a <em>see all</em> link): 2.5rem above.
8
8
  .oc-actions: Row of buttons that wraps: gap .75rem, 2rem above. --center, --end, --tight (1rem above).
9
9
  .oc-group-title: Title of a group of cards; .oc-group-title__count is the number in a pill.
@@ -0,0 +1,14 @@
1
+ <!-- OmniaUI component: particle-field - A background canvas with slowly drifting points and thin lines between points that are close together. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/particle-field.html | Map: behind a hero.
3
+ Behaviour: particles.js (npx omniaui copy-js particles); works without it.
4
+ Class API (modifiers are extra classes / attributes on the same element):
5
+ canvas.oc-particles: Fixed behind the page (z-index -1). color = points and lines, border-color = a second point color.
6
+ .oc-particles--local: Fills a positioned parent instead of the viewport.
7
+ data-count / data-speed / data-link: Number of points (110), drift speed (0.35) and the line distance in px (115).
8
+ initParticles(canvas, options): From @birdycom/omniaui/particles.js; returns a stop function.
9
+ -->
10
+ <div style="position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;align-content:center;gap:0.5rem;min-block-size:18rem;inline-size:100%;border-radius:var(--oc-radius);background:var(--oc-card)">
11
+ <canvas class="oc-particles oc-particles--local" data-count="70" aria-hidden="true"></canvas>
12
+ <p style="margin:0;font-size:1.6rem;font-weight:800">See what is out there</p>
13
+ <p style="margin:0;color:var(--oc-muted-foreground)">Points and lines in the accent colors.</p>
14
+ </div>
@@ -1,4 +1,4 @@
1
- <!-- OmniaUI component: progress — Progress bar. Needs @birdycom/omniaui CSS. -->
1
+ <!-- OmniaUI component: progress — Progress bar. Needs @birdycom/omniaui CSS. .oc-progress--live: no width transition (a value every few seconds). -->
2
2
  <div class="oc-progress" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100">
3
3
  <div class="oc-progress-bar" style="width: 60%"></div>
4
4
  </div>
@@ -0,0 +1,25 @@
1
+ <!-- OmniaUI component: reading - A small measured value next to another value, such as a temperature, with a cool, warm or hot level. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/reading.html | Map: three levels -> in a meter row.
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ .oc-reading: The pill: small, bold, tabular numbers, muted by default.
5
+ .oc-reading--cool / --warm / --hot: Muted, warning or destructive color.
6
+ --oc-reading-color: Any other color token.
7
+ .oc-meter-row__value .oc-reading: Inside the value of a meter row it gets a little room on its left.
8
+ -->
9
+ <div style="display:flex;flex-wrap:wrap;gap:0.75rem;align-items:center">
10
+ <span class="oc-reading">41 °C</span>
11
+ <span class="oc-reading oc-reading--warm">72 °C</span>
12
+ <span class="oc-reading oc-reading--hot">88 °C</span>
13
+ </div>
14
+ <div class="oc-meter-list" style="inline-size:min(100%,26rem)">
15
+ <div class="oc-meter-row" style="--oc-meter: 38%">
16
+ <span class="oc-meter-row__label">CPU</span>
17
+ <span class="oc-meter-row__value"><strong>38%</strong><span class="oc-reading">57 °C</span></span>
18
+ <span class="oc-meter-row__bar" role="meter" aria-label="CPU" aria-valuemin="0" aria-valuemax="100" aria-valuenow="38"></span>
19
+ </div>
20
+ <div class="oc-meter-row" data-level="warn" style="--oc-meter: 84%">
21
+ <span class="oc-meter-row__label">GPU</span>
22
+ <span class="oc-meter-row__value"><strong>84%</strong><span class="oc-reading oc-reading--hot">86 °C</span></span>
23
+ <span class="oc-meter-row__bar" role="meter" aria-label="GPU" aria-valuemin="0" aria-valuemax="100" aria-valuenow="84"></span>
24
+ </div>
25
+ </div>
@@ -4,6 +4,7 @@
4
4
  .oc-status-dot: 8 px dot with a soft ring in the tone color
5
5
  Tones: --working (primary, pulses), --waiting (warning), --done (success), --error (destructive), --idle (muted); none = muted
6
6
  Sizes: --sm, --lg
7
+ --still: working without the pulse; --oc-status-dot-pulses: 3 = pulse three times, then a steady dot (default infinite)
7
8
  .oc-status: dot + one line of text that cuts off with …; .oc-status__text, .oc-status__meta (right, tabular numbers)
8
9
  Token: --oc-status-dot-color (any color)
9
10
  The dot is decoration (aria-hidden): the text says the state. A dot without text needs role="img" and an aria-label.
@@ -0,0 +1,28 @@
1
+ <!-- OmniaUI component: step-list - Compact numbered list of steps inside a card or a disclosure; the number takes the color of the severity card around it. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/step-list.html | Map: plain list -> inside a high severity card (numbers in its color).
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ ol.oc-step-list: One column, gap 0.6rem, 0.875rem text; every li is a row with its number (CSS counter) on the left.
5
+ --oc-step-list-color: Color of the numbers; default the severity card color (--oc-severity-color), else primary.
6
+ .oc-step-list--sm: Tighter rows, 0.8125rem text.
7
+ style="counter-reset: oc-step-list 3": Start at another number (the first step is 4).
8
+ -->
9
+ <div style="display:grid;gap:1rem;inline-size:min(100%,30rem)">
10
+ <ol class="oc-step-list">
11
+ <li>Sign in to the account of Service 1.</li>
12
+ <li>Open <strong>Settings</strong> and choose <strong>Privacy</strong>.</li>
13
+ <li>Click <a href="#remove">Delete my data</a> and confirm the e-mail you receive.</li>
14
+ </ol>
15
+ <details class="oc-severity-card oc-severity-card--high" open>
16
+ <summary class="oc-severity-card-head">
17
+ <span class="oc-severity-card-main"><span class="oc-severity-card-title">Address found at Company 1</span></span>
18
+ <span class="oc-severity-card-level">High</span>
19
+ </summary>
20
+ <div class="oc-severity-card-body">
21
+ <ol class="oc-step-list oc-step-list--sm">
22
+ <li>Go to the removal page of Company 1.</li>
23
+ <li>Fill in the e-mail address info@company1.example.</li>
24
+ <li>Send the request; it takes up to 30 days.</li>
25
+ </ol>
26
+ </div>
27
+ </details>
28
+ </div>
@@ -0,0 +1,66 @@
1
+ <!-- OmniaUI component: tint-card - Link cards tinted in one color, with a large outline webicon in the corner that drifts and tilts on hover, and an arrow chip that flies out and back in. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/tint-card.html | Map: split section head -> grid of five tint cards (one per tone).
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ .oc-tint-card: The card (an <a>, or a <div> with a title link): tint background (--oc-tint, 9% / 15% on hover), lift 4px, shadow in the tint.
5
+ .oc-tint-card__head: Row with the title and the arrow chip.
6
+ .oc-tint-card__title: Title (display font); 1.25rem when the card is 16rem or wider.
7
+ .oc-tint-card__text: Short text, muted, max 26ch.
8
+ .oc-tint-card__meta: Line at the bottom in the tint (12 modules, New).
9
+ .oc-tint-card__go: Round arrow chip; fills with the tint on hover, the arrow flies out and back in.
10
+ .oc-tint-card__art: Large outline webicon half outside the bottom corner; drifts slowly, tilts and grows on hover.
11
+ .oc-tint-card__link: Title link for a card that is a <div>: it covers the whole card.
12
+ .oc-tint-card--success|warning|destructive|info|muted: Tones; or set --oc-tint (and --oc-tint-foreground) yourself.
13
+ .oc-tint-card--lg: Larger card for a row of two or three.
14
+ .oc-section-head--split: Section head with the title on the left and the lead on the right (one column below 56rem).
15
+ -->
16
+ <section style="inline-size:100%">
17
+ <div class="oc-section-head oc-section-head--split">
18
+ <div>
19
+ <p class="oc-eyebrow">Services</p>
20
+ <h2 class="oc-display oc-display--md">Everything your team needs, in one place</h2>
21
+ </div>
22
+ <p class="oc-lead">Five services that work together: from the warehouse to the report. Start with one, add the others when you grow.</p>
23
+ </div>
24
+ <div class="oc-card-grid oc-card-grid--fit" style="--oc-card-min:12.5rem;--oc-card-gap:1rem">
25
+ <a class="oc-tint-card oc-tint-card--warning" href="#warehouse">
26
+ <iconify-icon class="oc-tint-card__art" icon="mdi-light:factory" aria-hidden="true"></iconify-icon>
27
+ <div class="oc-tint-card__head">
28
+ <h3 class="oc-tint-card__title">Warehouse</h3>
29
+ <span class="oc-tint-card__go" aria-hidden="true"><iconify-icon icon="material-symbols:arrow-outward-rounded"></iconify-icon></span>
30
+ </div>
31
+ <p class="oc-tint-card__text">Stock, locations and picking lists that stay up to date</p>
32
+ </a>
33
+ <a class="oc-tint-card oc-tint-card--destructive" href="#delivery">
34
+ <iconify-icon class="oc-tint-card__art" icon="mdi-light:truck" aria-hidden="true"></iconify-icon>
35
+ <div class="oc-tint-card__head">
36
+ <h3 class="oc-tint-card__title">Delivery</h3>
37
+ <span class="oc-tint-card__go" aria-hidden="true"><iconify-icon icon="material-symbols:arrow-outward-rounded"></iconify-icon></span>
38
+ </div>
39
+ <p class="oc-tint-card__text">Routes, time slots and proof of delivery on the phone</p>
40
+ </a>
41
+ <a class="oc-tint-card oc-tint-card--success" href="#reports">
42
+ <iconify-icon class="oc-tint-card__art" icon="mdi-light:chart-line" aria-hidden="true"></iconify-icon>
43
+ <div class="oc-tint-card__head">
44
+ <h3 class="oc-tint-card__title">Reports</h3>
45
+ <span class="oc-tint-card__go" aria-hidden="true"><iconify-icon icon="material-symbols:arrow-outward-rounded"></iconify-icon></span>
46
+ </div>
47
+ <p class="oc-tint-card__text">Figures per week, per customer and per product</p>
48
+ </a>
49
+ <a class="oc-tint-card oc-tint-card--info" href="#security">
50
+ <iconify-icon class="oc-tint-card__art" icon="mdi-light:shield" aria-hidden="true"></iconify-icon>
51
+ <div class="oc-tint-card__head">
52
+ <h3 class="oc-tint-card__title">Security</h3>
53
+ <span class="oc-tint-card__go" aria-hidden="true"><iconify-icon icon="material-symbols:arrow-outward-rounded"></iconify-icon></span>
54
+ </div>
55
+ <p class="oc-tint-card__text">Roles, two-step login and a log of every change</p>
56
+ </a>
57
+ <a class="oc-tint-card oc-tint-card--muted" href="#more">
58
+ <iconify-icon class="oc-tint-card__art" icon="mdi-light:sitemap" aria-hidden="true"></iconify-icon>
59
+ <div class="oc-tint-card__head">
60
+ <h3 class="oc-tint-card__title">More services</h3>
61
+ <span class="oc-tint-card__go" aria-hidden="true"><iconify-icon icon="material-symbols:arrow-outward-rounded"></iconify-icon></span>
62
+ </div>
63
+ <p class="oc-tint-card__text">Links to your own tools and custom work</p>
64
+ </a>
65
+ </div>
66
+ </section>
package/snippets/toc.html CHANGED
@@ -1,5 +1,5 @@
1
1
  <!-- OmniaUI component: toc - "On this page" list of heading links. Needs @birdycom/omniaui CSS.
2
- Class API: .oc-toc (root nav, sticky) · .oc-toc-title · .oc-toc-list (ul) · .oc-toc-link (a; aria-current / .is-active = current heading) · .oc-toc-item--sub (li, sub heading)
2
+ Class API: .oc-toc (root nav, sticky from 64rem at --oc-sticky-offset) · .oc-toc-group-label (label between two lists) · .oc-toc-title · .oc-toc-list (ul) · .oc-toc-link (a; aria-current / .is-active = current heading) · .oc-toc-item--sub (li, sub heading)
3
3
  -->
4
4
  <nav class="oc-toc" aria-label="On this page">
5
5
  <p class="oc-toc-title">On this page</p>