@birdycom/omniaui 0.12.6 → 0.14.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 (59) hide show
  1. package/bin/lib/copy-js.mjs +5 -1
  2. package/dist/components.css +1194 -45
  3. package/dist/components.min.css +1 -1
  4. package/dist/contact-form.d.ts +5 -0
  5. package/dist/contact-form.js +138 -0
  6. package/dist/fly.d.ts +4 -0
  7. package/dist/fly.js +80 -0
  8. package/dist/form-extras.d.ts +3 -1
  9. package/dist/form-extras.js +21 -3
  10. package/dist/oc-theme.css +3 -1
  11. package/dist/particles.d.ts +14 -0
  12. package/dist/particles.js +133 -0
  13. package/dist/parts/app-accordion-accent.css +18 -1
  14. package/dist/parts/app-callout.css +20 -0
  15. package/dist/parts/app-group.css +36 -0
  16. package/dist/parts/app-result.css +39 -0
  17. package/dist/parts/data-graph.css +132 -0
  18. package/dist/parts/data-meter-row.css +56 -3
  19. package/dist/parts/data-reading.css +26 -0
  20. package/dist/parts/forms-form.css +76 -0
  21. package/dist/parts/forms-language-select.css +18 -0
  22. package/dist/parts/media-lightbox.css +4 -0
  23. package/dist/parts/nav-menu-static.css +50 -0
  24. package/dist/parts/site-backgrounds.css +68 -0
  25. package/dist/parts/site-base.css +33 -0
  26. package/dist/parts/site-brand-mark.css +56 -0
  27. package/dist/parts/site-cards.css +184 -0
  28. package/dist/parts/site-fly.css +40 -0
  29. package/dist/parts/site-layout.css +69 -0
  30. package/dist/parts/site-neon.css +33 -0
  31. package/dist/parts/site-panel.css +29 -0
  32. package/dist/parts/site-prose.css +12 -0
  33. package/dist/parts/utility-hover.css +44 -0
  34. package/dist/showcase.css +83 -19
  35. package/manifest.json +136 -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/brand-mark.html +41 -0
  40. package/snippets/callout.html +17 -0
  41. package/snippets/feature-card.html +52 -0
  42. package/snippets/fly-in.html +30 -0
  43. package/snippets/graph.html +41 -0
  44. package/snippets/group.html +34 -0
  45. package/snippets/hover-effects.html +19 -0
  46. package/snippets/icon-list.html +28 -0
  47. package/snippets/language-select.html +11 -0
  48. package/snippets/lazy.html +7 -7
  49. package/snippets/menu-static.html +36 -0
  50. package/snippets/meter-row.html +22 -0
  51. package/snippets/name-card.html +4 -4
  52. package/snippets/neon.html +18 -0
  53. package/snippets/page-sections.html +50 -0
  54. package/snippets/panel.html +18 -0
  55. package/snippets/particle-field.html +14 -0
  56. package/snippets/reading.html +25 -0
  57. package/snippets/result.html +31 -0
  58. package/snippets/ribbon.html +8 -8
  59. package/snippets/shot-grid.html +27 -0
package/manifest.json CHANGED
@@ -1271,6 +1271,142 @@
1271
1271
  "requires": [
1272
1272
  "@birdycom/omniaui"
1273
1273
  ]
1274
+ },
1275
+ {
1276
+ "name": "panel",
1277
+ "file": "snippets/panel.html",
1278
+ "description": "A framed panel on the page for a form, a call to action or a feature: card background, strong border, large radius and an optional soft glow in a corner",
1279
+ "requires": [
1280
+ "@birdycom/omniaui"
1281
+ ]
1282
+ },
1283
+ {
1284
+ "name": "result",
1285
+ "file": "snippets/result.html",
1286
+ "description": "The outcome of an action in the place where the form was: an icon tile, a title, a short text and a button such as Send another message",
1287
+ "requires": [
1288
+ "@birdycom/omniaui"
1289
+ ]
1290
+ },
1291
+ {
1292
+ "name": "brand-mark",
1293
+ "file": "snippets/brand-mark.html",
1294
+ "description": "A logo from an icon and text: the mark with a glow in the brand color, a word mark with one part in the brand gradient and a small tagline",
1295
+ "requires": [
1296
+ "@birdycom/omniaui"
1297
+ ]
1298
+ },
1299
+ {
1300
+ "name": "page-sections",
1301
+ "file": "snippets/page-sections.html",
1302
+ "description": "Building blocks for the pages of a company site: the header of an inner page, a section head, a row of buttons, a group title with a count, a full-width band and a meta line",
1303
+ "requires": [
1304
+ "@birdycom/omniaui"
1305
+ ]
1306
+ },
1307
+ {
1308
+ "name": "feature-card",
1309
+ "file": "snippets/feature-card.html",
1310
+ "description": "Cards for services and features (icon tile, title, text) and cards that are links, in a grid whose column width you set",
1311
+ "requires": [
1312
+ "@birdycom/omniaui"
1313
+ ]
1314
+ },
1315
+ {
1316
+ "name": "icon-list",
1317
+ "file": "snippets/icon-list.html",
1318
+ "description": "Lists for a company site: rows with an icon in a frame, points with an icon tile, a title and a text, and a list with markers in the accent color",
1319
+ "requires": [
1320
+ "@birdycom/omniaui"
1321
+ ]
1322
+ },
1323
+ {
1324
+ "name": "shot-grid",
1325
+ "file": "snippets/shot-grid.html",
1326
+ "description": "A grid of screenshots with a caption that open in the lightbox, and a browser frame with a glow in the accent color and a product mark on it",
1327
+ "requires": [
1328
+ "@birdycom/omniaui"
1329
+ ]
1330
+ },
1331
+ {
1332
+ "name": "fly-in",
1333
+ "file": "snippets/fly-in.html",
1334
+ "description": "Cards that fly in from the middle of their row when they scroll into view, with a hover lift that keeps working, and a New badge in a product card",
1335
+ "requires": [
1336
+ "@birdycom/omniaui"
1337
+ ]
1338
+ },
1339
+ {
1340
+ "name": "hover-effects",
1341
+ "file": "snippets/hover-effects.html",
1342
+ "description": "Choose how a card reacts to the mouse: lift, grow, glow or stay still, with one smooth curve for all of them",
1343
+ "requires": [
1344
+ "@birdycom/omniaui"
1345
+ ]
1346
+ },
1347
+ {
1348
+ "name": "reading",
1349
+ "file": "snippets/reading.html",
1350
+ "description": "A small measured value next to another value, such as a temperature, with a cool, warm or hot level",
1351
+ "requires": [
1352
+ "@birdycom/omniaui"
1353
+ ]
1354
+ },
1355
+ {
1356
+ "name": "callout",
1357
+ "file": "snippets/callout.html",
1358
+ "description": "A small card with a text on the left and one action on the right; the action moves under the text when the card is narrow",
1359
+ "requires": [
1360
+ "@birdycom/omniaui"
1361
+ ]
1362
+ },
1363
+ {
1364
+ "name": "menu-static",
1365
+ "file": "snippets/menu-static.html",
1366
+ "description": "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",
1367
+ "requires": [
1368
+ "@birdycom/omniaui"
1369
+ ]
1370
+ },
1371
+ {
1372
+ "name": "group",
1373
+ "file": "snippets/group.html",
1374
+ "description": "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",
1375
+ "requires": [
1376
+ "@birdycom/omniaui"
1377
+ ]
1378
+ },
1379
+ {
1380
+ "name": "neon",
1381
+ "file": "snippets/neon.html",
1382
+ "description": "A border that glows from one accent color to the other, and a button with a neon gradient",
1383
+ "requires": [
1384
+ "@birdycom/omniaui"
1385
+ ]
1386
+ },
1387
+ {
1388
+ "name": "backgrounds",
1389
+ "file": "snippets/backgrounds.html",
1390
+ "description": "Decorative layers behind a page or a section: a line grid, a soft glowing orb and fine scan lines",
1391
+ "requires": [
1392
+ "@birdycom/omniaui"
1393
+ ]
1394
+ },
1395
+ {
1396
+ "name": "particle-field",
1397
+ "file": "snippets/particle-field.html",
1398
+ "description": "A background canvas with slowly drifting points and thin lines between points that are close together",
1399
+ "requires": [
1400
+ "@birdycom/omniaui"
1401
+ ]
1402
+ },
1403
+ {
1404
+ "name": "graph",
1405
+ "file": "snippets/graph.html",
1406
+ "description": "The look of a small network graph in SVG: a center with linked nodes, colored by level, moving edges and a pulse",
1407
+ "requires": [
1408
+ "@birdycom/omniaui"
1409
+ ]
1274
1410
  }
1275
1411
  ]
1276
1412
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@birdycom/omniaui",
3
- "version": "0.12.6",
3
+ "version": "0.14.0",
4
4
  "description": "OmniaUI components: CSS-first UI built on native HTML (dialog, popover, details) with light-dark() theming — no JavaScript required. Includes the omniaui CLI (add/list).",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -33,6 +33,9 @@
33
33
  "./barcode.js": "./dist/barcode.js",
34
34
  "./form-extras.js": "./dist/form-extras.js",
35
35
  "./lazy.js": "./dist/lazy.js",
36
+ "./contact-form.js": "./dist/contact-form.js",
37
+ "./fly.js": "./dist/fly.js",
38
+ "./particles.js": "./dist/particles.js",
36
39
  "./manifest.json": "./manifest.json",
37
40
  "./package.json": "./package.json"
38
41
  },
@@ -60,7 +63,7 @@
60
63
  "omniaui": "./bin/omniaui.mjs"
61
64
  },
62
65
  "peerDependencies": {
63
- "@birdycom/omniacss": "^0.12.6"
66
+ "@birdycom/omniacss": "^0.14.0"
64
67
  },
65
68
  "peerDependenciesMeta": {
66
69
  "@birdycom/omniacss": {
@@ -22,3 +22,25 @@
22
22
  <div class="oc-accordion-content">Pick a start date with the customer.</div>
23
23
  </details>
24
24
  </div>
25
+ <div class="oc-accordion oc-accordion--accent" style="inline-size:min(100%,32rem)">
26
+ <details class="oc-accordion-item" data-status="error" open>
27
+ <summary class="oc-accordion-trigger"><span class="oc-accordion-accent-dot"></span>Password found in a leak<span class="oc-accordion-accent-meta">2 sources</span></summary>
28
+ <div class="oc-accordion-content">Change the password on every site where you used it.</div>
29
+ </details>
30
+ <details class="oc-accordion-item" data-status="warn">
31
+ <summary class="oc-accordion-trigger"><span class="oc-accordion-accent-dot"></span>Email address public<span class="oc-accordion-accent-meta">1 source</span></summary>
32
+ <div class="oc-accordion-content">Found on a public profile page.</div>
33
+ </details>
34
+ <details class="oc-accordion-item" data-status="ok">
35
+ <summary class="oc-accordion-trigger"><span class="oc-accordion-accent-dot"></span>Phone number<span class="oc-accordion-accent-meta">not found</span></summary>
36
+ <div class="oc-accordion-content">Nothing found.</div>
37
+ </details>
38
+ <details class="oc-accordion-item" data-status="pending">
39
+ <summary class="oc-accordion-trigger"><span class="oc-accordion-accent-dot"></span>Data brokers<span class="oc-accordion-accent-meta">checking…</span></summary>
40
+ <div class="oc-accordion-content">Still running.</div>
41
+ </details>
42
+ <details class="oc-accordion-item" data-status="skip">
43
+ <summary class="oc-accordion-trigger"><span class="oc-accordion-accent-dot"></span>Dark web<span class="oc-accordion-accent-meta">not checked</span></summary>
44
+ <div class="oc-accordion-content">Needs a paid plan.</div>
45
+ </details>
46
+ </div>
@@ -0,0 +1,18 @@
1
+ <!-- OmniaUI component: backgrounds - Decorative layers behind a page or a section: a line grid, a soft glowing orb and fine scan lines. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/backgrounds.html | Map: grid, orbs and scan lines.
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ .oc-bg-grid: Thin lines (4% primary) in a 60px grid, behind the content of a positioned parent.
5
+ .oc-bg-grid--fixed / --fade: Fixed to the viewport (40px); lines that fade out towards the edges.
6
+ --oc-bg-grid-size / --oc-bg-grid-line: Size and color of the grid.
7
+ .oc-orb: A soft round glow in --oc-accent-from; place it with inset-*. Another color: .oc-accent--violet …
8
+ .oc-orb--sm / --drift: A smaller orb (18rem); a slow drift.
9
+ --oc-orb-size / --oc-orb-strength / --oc-orb-blur: Size, strength (0.15) and blur (50px) of the orb.
10
+ .oc-scanlines: Fine horizontal lines over the whole page (fixed, on top, ignores the pointer). --local: inside a positioned parent.
11
+ -->
12
+ <div style="position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;min-block-size:16rem;inline-size:100%;border-radius:var(--oc-radius)">
13
+ <div class="oc-bg-grid oc-bg-grid--fade" aria-hidden="true"></div>
14
+ <div class="oc-orb oc-orb--drift" aria-hidden="true" style="inset-block-start:-6rem;inset-inline-start:-4rem;--oc-orb-strength:0.3"></div>
15
+ <div class="oc-orb oc-orb--sm oc-accent--violet" aria-hidden="true" style="inset-block-end:-3rem;inset-inline-end:2rem;--oc-orb-strength:0.3"></div>
16
+ <div class="oc-scanlines oc-scanlines--local" aria-hidden="true"></div>
17
+ <p style="margin:0;font-size:1.5rem;font-weight:700">Your content</p>
18
+ </div>
@@ -0,0 +1,41 @@
1
+ <!-- OmniaUI component: brand-mark - A logo from an icon and text: the mark with a glow in the brand color, a word mark with one part in the brand gradient and a small tagline. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/brand-mark.html | Map: in the header -> sizes.
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ .oc-brand-mark: The logo: a link or a span with the icon and the text side by side.
5
+ .oc-brand-mark__icon: The mark (svg or img), 2.25rem, with a drop shadow in brand 1.
6
+ .oc-brand-mark__text: Word mark and tagline stacked.
7
+ .oc-brand-mark__word: The name: --oc-font-display, 800, tight letter spacing.
8
+ .oc-brand-mark__accent: The part of the name in the gradient brand 1 → brand 2.
9
+ .oc-brand-mark__tagline: Mono, uppercase, wide letter spacing, muted.
10
+ .oc-brand-mark--sm / --lg: Smaller (footer) or larger (hero, ecosystem map). The sizes are tokens: --oc-brand-mark-icon, --oc-brand-mark-word, --oc-brand-mark-tagline.
11
+ -->
12
+ <a class="oc-brand-mark" href="#home" aria-label="Company 1, home">
13
+ <svg class="oc-brand-mark__icon" viewBox="0 0 40 40" aria-hidden="true"><defs><linearGradient id="oc-brand-grad" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="var(--oc-brand-1)"/><stop offset="1" stop-color="var(--oc-brand-2)"/></linearGradient></defs><rect width="40" height="40" rx="10" fill="url(#oc-brand-grad)"/><path d="M12 27V13h9a5 5 0 0 1 0 10h-5v4z" fill="var(--oc-background)"/></svg>
14
+ <span class="oc-brand-mark__text">
15
+ <span class="oc-brand-mark__word">Company<span class="oc-brand-mark__accent">1</span></span>
16
+ <span class="oc-brand-mark__tagline">Software &amp; IT</span>
17
+ </span>
18
+ </a>
19
+ <div style="display:flex;flex-wrap:wrap;align-items:center;gap:2.5rem">
20
+ <a class="oc-brand-mark oc-brand-mark--sm" href="#home" aria-label="Company 1, home">
21
+ <svg class="oc-brand-mark__icon" viewBox="0 0 40 40" aria-hidden="true"><defs><linearGradient id="oc-brand-grad-sm" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="var(--oc-brand-1)"/><stop offset="1" stop-color="var(--oc-brand-2)"/></linearGradient></defs><rect width="40" height="40" rx="10" fill="url(#oc-brand-grad-sm)"/><path d="M12 27V13h9a5 5 0 0 1 0 10h-5v4z" fill="var(--oc-background)"/></svg>
22
+ <span class="oc-brand-mark__text">
23
+ <span class="oc-brand-mark__word">Company<span class="oc-brand-mark__accent">1</span></span>
24
+ <span class="oc-brand-mark__tagline">Software &amp; IT</span>
25
+ </span>
26
+ </a>
27
+ <a class="oc-brand-mark" href="#home" aria-label="Company 1, home">
28
+ <svg class="oc-brand-mark__icon" viewBox="0 0 40 40" aria-hidden="true"><defs><linearGradient id="oc-brand-grad-md" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="var(--oc-brand-1)"/><stop offset="1" stop-color="var(--oc-brand-2)"/></linearGradient></defs><rect width="40" height="40" rx="10" fill="url(#oc-brand-grad-md)"/><path d="M12 27V13h9a5 5 0 0 1 0 10h-5v4z" fill="var(--oc-background)"/></svg>
29
+ <span class="oc-brand-mark__text">
30
+ <span class="oc-brand-mark__word">Company<span class="oc-brand-mark__accent">1</span></span>
31
+ <span class="oc-brand-mark__tagline">Software &amp; IT</span>
32
+ </span>
33
+ </a>
34
+ <a class="oc-brand-mark oc-brand-mark--lg" href="#home" aria-label="Company 1, home">
35
+ <svg class="oc-brand-mark__icon" viewBox="0 0 40 40" aria-hidden="true"><defs><linearGradient id="oc-brand-grad-lg" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="var(--oc-brand-1)"/><stop offset="1" stop-color="var(--oc-brand-2)"/></linearGradient></defs><rect width="40" height="40" rx="10" fill="url(#oc-brand-grad-lg)"/><path d="M12 27V13h9a5 5 0 0 1 0 10h-5v4z" fill="var(--oc-background)"/></svg>
36
+ <span class="oc-brand-mark__text">
37
+ <span class="oc-brand-mark__word">Company<span class="oc-brand-mark__accent">1</span></span>
38
+ <span class="oc-brand-mark__tagline">Software &amp; IT</span>
39
+ </span>
40
+ </a>
41
+ </div>
@@ -0,0 +1,17 @@
1
+ <!-- OmniaUI component: callout - A small card with a text on the left and one action on the right; the action moves under the text when the card is narrow. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/callout.html | Map: text and a button.
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ .oc-callout: The card: flex row, wraps, card colors and the padding of a small card (11px 13px).
5
+ .oc-callout__text: The text; a <strong> is the title on its own line, the rest is muted.
6
+ .oc-callout__action: One or more buttons; never shrinks. Under the text below about 300px.
7
+ -->
8
+ <div style="display:grid;gap:1rem;inline-size:100%">
9
+ <div class="oc-callout" style="max-inline-size:26rem">
10
+ <div class="oc-callout__text"><strong>Like the app?</strong><span>A small gift keeps it free for everyone.</span></div>
11
+ <div class="oc-callout__action"><button type="button" class="oc-btn oc-btn--sm">Support</button></div>
12
+ </div>
13
+ <div class="oc-callout" style="max-inline-size:17rem">
14
+ <div class="oc-callout__text"><strong>Update 2.4 is ready</strong><span>Restart to install it.</span></div>
15
+ <div class="oc-callout__action"><button type="button" class="oc-btn oc-btn--sm oc-btn--outline">Later</button><button type="button" class="oc-btn oc-btn--sm">Restart</button></div>
16
+ </div>
17
+ </div>
@@ -0,0 +1,52 @@
1
+ <!-- OmniaUI component: feature-card - Cards for services and features (icon tile, title, text) and cards that are links, in a grid whose column width you set. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/feature-card.html | Map: services -> link cards -> brand chips.
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ .oc-feature-card: Card: tile, title, text; surface background, the border turns strong on hover.
5
+ .oc-feature-card__title / __text: Title (display font, 1.2rem) and muted text.
6
+ .oc-link-card: A card that is an <a>: __title, __text, __more (arrow moves on hover); the border takes the accent color on hover (.oc-accent--violet …).
7
+ .oc-card-grid: Auto-fill grid; --oc-card-min is the minimum column width (17rem), --oc-card-gap the gap.
8
+ .oc-card-grid--wide: Wide cards (projects): from 32rem, three in a row from 1280px.
9
+ .oc-tag-list--neutral / --lg: Chips without the accent color / larger chips in the display font (a strip of brand names).
10
+ -->
11
+ <div class="oc-card-grid" style="--oc-card-min: 15.5rem; inline-size:100%">
12
+ <article class="oc-feature-card">
13
+ <span class="oc-icon-tile oc-icon-tile--sm" aria-hidden="true"><iconify-icon icon="mdi:application-outline"></iconify-icon></span>
14
+ <h3 class="oc-feature-card__title">Business apps</h3>
15
+ <p class="oc-feature-card__text">Software built around how your company works.</p>
16
+ </article>
17
+ <article class="oc-feature-card">
18
+ <span class="oc-icon-tile oc-icon-tile--sm" aria-hidden="true"><iconify-icon icon="mdi:web"></iconify-icon></span>
19
+ <h3 class="oc-feature-card__title">Websites</h3>
20
+ <p class="oc-feature-card__text">Fast sites you can edit yourself.</p>
21
+ </article>
22
+ <article class="oc-feature-card">
23
+ <span class="oc-icon-tile oc-icon-tile--sm" aria-hidden="true"><iconify-icon icon="mdi:laptop"></iconify-icon></span>
24
+ <h3 class="oc-feature-card__title">Hardware</h3>
25
+ <p class="oc-feature-card__text">Computers, screens and networks, installed on site.</p>
26
+ </article>
27
+ <article class="oc-feature-card">
28
+ <span class="oc-icon-tile oc-icon-tile--sm" aria-hidden="true"><iconify-icon icon="mdi:headset"></iconify-icon></span>
29
+ <h3 class="oc-feature-card__title">Support</h3>
30
+ <p class="oc-feature-card__text">One point of contact for every question.</p>
31
+ </article>
32
+ </div>
33
+ <div class="oc-card-grid" style="--oc-card-min: 16rem; inline-size:100%">
34
+ <a class="oc-link-card oc-accent--violet" href="#agent-1">
35
+ <span class="oc-icon-tile oc-icon-tile--sm oc-accent--violet" aria-hidden="true"><iconify-icon icon="mdi:robot-outline"></iconify-icon></span>
36
+ <span class="oc-link-card__title">Agent 1</span>
37
+ <span class="oc-link-card__text">Answers questions about your own documents.</span>
38
+ <span class="oc-link-card__more">Read more</span>
39
+ </a>
40
+ <a class="oc-link-card oc-accent--violet" href="#agent-2">
41
+ <span class="oc-icon-tile oc-icon-tile--sm oc-accent--violet" aria-hidden="true"><iconify-icon icon="mdi:file-search-outline"></iconify-icon></span>
42
+ <span class="oc-link-card__title">Agent 2</span>
43
+ <span class="oc-link-card__text">Reads incoming invoices and fills in the booking.</span>
44
+ <span class="oc-link-card__more">Read more</span>
45
+ </a>
46
+ </div>
47
+ <div style="display:grid;gap:1rem">
48
+ <ul class="oc-tag-list oc-tag-list--neutral oc-tag-list--lg" aria-label="Brands we work with">
49
+ <li>Brand 1</li><li>Brand 2</li><li>Brand 3</li><li>Brand 4</li><li>Brand 5</li>
50
+ </ul>
51
+ <p class="oc-note" style="margin:0">Other brands on request.</p>
52
+ </div>
@@ -0,0 +1,30 @@
1
+ <!-- OmniaUI component: fly-in - Cards that fly in from the middle of their row when they scroll into view, with a hover lift that keeps working, and a New badge in a product card. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/fly-in.html | Map: product cards.
3
+ Behaviour: fly.js (npx omniaui copy-js fly); works without it.
4
+ Class API (modifiers are extra classes / attributes on the same element):
5
+ .oc-reveal--fly: A card that flies in. Hidden only while html.oc-fly-ready is set (by fly.js) and the card is not yet .is-visible.
6
+ --oc-fly-x: Start offset from the middle of the row; fly.js sets it per card.
7
+ .is-visible: Added by fly.js when the card comes into view; the card flies to its place.
8
+ .oc-product-card__badge: A small New label after the name of a product card (with .oc-pill).
9
+ initFly(scope): Exported from @birdycom/omniaui/fly.js; returns a function that stops watching.
10
+ -->
11
+ <div class="oc-card-grid" style="inline-size:100%">
12
+ <a class="oc-product-card oc-reveal--fly oc-accent--blue" href="#product-1">
13
+ <h3 class="oc-product-card__name">Product 1</h3>
14
+ <p class="oc-product-card__tagline">Plan every shift</p>
15
+ <p class="oc-product-card__summary">Schedules and leave in one view.</p>
16
+ <span class="oc-product-card__more">Read more</span>
17
+ </a>
18
+ <a class="oc-product-card oc-reveal--fly oc-accent--green" href="#product-2">
19
+ <h3 class="oc-product-card__name">Product 2 <span class="oc-product-card__badge oc-pill oc-pill--accent">New</span></h3>
20
+ <p class="oc-product-card__tagline">Quotes in minutes</p>
21
+ <p class="oc-product-card__summary">From quote to invoice without typing twice.</p>
22
+ <span class="oc-product-card__more">Read more</span>
23
+ </a>
24
+ <a class="oc-product-card oc-reveal--fly oc-accent--violet" href="#product-3">
25
+ <h3 class="oc-product-card__name">Product 3</h3>
26
+ <p class="oc-product-card__tagline">Your shop online</p>
27
+ <p class="oc-product-card__summary">Products, stock and orders in one place.</p>
28
+ <span class="oc-product-card__more">Read more</span>
29
+ </a>
30
+ </div>
@@ -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>
@@ -0,0 +1,19 @@
1
+ <!-- OmniaUI component: hover-effects - Choose how a card reacts to the mouse: lift, grow, glow or stay still, with one smooth curve for all of them. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/hover-effects.html | Map: four effects -> your own distance and speed.
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ .oc-hover-lift: Moves up (--oc-hover-lift, 6px) with a soft shadow. The product card does this by default.
5
+ .oc-hover-grow: Grows a little in place (--oc-hover-scale, 1.02).
6
+ .oc-hover-glow: Stays in place, with a ring and glow in the accent color (--oc-accent-from, e.g. with .oc-accent--violet).
7
+ .oc-hover-none: No movement; also turns off the default lift of a product or price card.
8
+ --oc-hover-duration / --oc-hover-ease: Speed (0.45s) and curve (cubic-bezier(0.22, 1, 0.36, 1), a soft ease-out) of every effect.
9
+ -->
10
+ <div class="oc-card-grid" style="inline-size:100%">
11
+ <article class="oc-feature-card oc-hover-lift"><span class="oc-icon-tile oc-icon-tile--sm oc-accent--blue" aria-hidden="true"><iconify-icon icon="mdi:arrow-up-bold-outline"></iconify-icon></span><h3 class="oc-feature-card__title">Lift</h3><p class="oc-feature-card__text">Moves up 6px with a soft shadow. <code>.oc-hover-lift</code></p></article>
12
+ <article class="oc-feature-card oc-hover-grow"><span class="oc-icon-tile oc-icon-tile--sm oc-accent--green" aria-hidden="true"><iconify-icon icon="mdi:arrow-expand"></iconify-icon></span><h3 class="oc-feature-card__title">Grow</h3><p class="oc-feature-card__text">Grows a little in place. <code>.oc-hover-grow</code></p></article>
13
+ <article class="oc-feature-card oc-hover-glow oc-accent--violet"><span class="oc-icon-tile oc-icon-tile--sm oc-accent--violet" aria-hidden="true"><iconify-icon icon="mdi:white-balance-sunny"></iconify-icon></span><h3 class="oc-feature-card__title">Glow</h3><p class="oc-feature-card__text">Stays in place, glows in the accent color. <code>.oc-hover-glow</code></p></article>
14
+ <article class="oc-feature-card oc-hover-none"><span class="oc-icon-tile oc-icon-tile--sm oc-accent--cyan" aria-hidden="true"><iconify-icon icon="mdi:pause-circle-outline"></iconify-icon></span><h3 class="oc-feature-card__title">None</h3><p class="oc-feature-card__text">No movement. <code>.oc-hover-none</code></p></article>
15
+ </div>
16
+ <div class="oc-card-grid" style="inline-size:100%; --oc-hover-lift: 10px; --oc-hover-duration: 0.7s">
17
+ <article class="oc-feature-card oc-hover-lift"><span class="oc-icon-tile oc-icon-tile--sm oc-accent--blue" aria-hidden="true"><iconify-icon icon="mdi:tune-variant"></iconify-icon></span><h3 class="oc-feature-card__title">Slow and high</h3><p class="oc-feature-card__text"><code>--oc-hover-lift: 10px</code> and <code>--oc-hover-duration: 0.7s</code> on the grid.</p></article>
18
+ <article class="oc-feature-card oc-hover-lift"><span class="oc-icon-tile oc-icon-tile--sm oc-accent--green" aria-hidden="true"><iconify-icon icon="mdi:view-grid-outline"></iconify-icon></span><h3 class="oc-feature-card__title">Same grid</h3><p class="oc-feature-card__text">Every card in the grid follows the tokens.</p></article>
19
+ </div>
@@ -0,0 +1,28 @@
1
+ <!-- OmniaUI component: icon-list - Lists for a company site: rows with an icon in a frame, points with an icon tile, a title and a text, and a list with markers in the accent color. Needs @birdycom/omniaui CSS.
2
+ File: packages/ui/snippets/icon-list.html | Map: icon rows -> points -> accent list, badges and tagline.
3
+ Class API (modifiers are extra classes / attributes on the same element):
4
+ .oc-icon-list: Rows with an icon (svg, iconify-icon) in the primary color, each in a frame.
5
+ .oc-icon-list--points: Points: an icon tile next to .oc-icon-list__title and .oc-icon-list__text, no frames.
6
+ .oc-list--accent: Disc list in muted text with markers in --oc-accent-from.
7
+ .oc-note: Small muted note under a block (0.85rem).
8
+ .oc-badge-row: Row of badges or pills above a title.
9
+ .oc-tagline--accent: Tagline in the accent color, lighter in dark mode.
10
+ -->
11
+ <ul class="oc-icon-list" style="inline-size:min(100%, 26rem)">
12
+ <li><iconify-icon icon="mdi:shield-lock-outline" aria-hidden="true"></iconify-icon>Internal tools behind a login</li>
13
+ <li><iconify-icon icon="mdi:database-sync-outline" aria-hidden="true"></iconify-icon>Links between existing systems</li>
14
+ <li><iconify-icon icon="mdi:file-document-outline" aria-hidden="true"></iconify-icon>Reports and exports</li>
15
+ </ul>
16
+ <ul class="oc-icon-list oc-icon-list--points" style="inline-size:min(100%, 30rem)">
17
+ <li><span class="oc-icon-tile oc-icon-tile--sm oc-accent--violet" aria-hidden="true"><iconify-icon icon="mdi:server-security"></iconify-icon></span><span class="oc-icon-list__title">Runs on your own server</span><span class="oc-icon-list__text">Your data does not leave the building.</span></li>
18
+ <li><span class="oc-icon-tile oc-icon-tile--sm oc-accent--violet" aria-hidden="true"><iconify-icon icon="mdi:account-key-outline"></iconify-icon></span><span class="oc-icon-list__title">Only for your team</span><span class="oc-icon-list__text">Sign in with the accounts you already have.</span></li>
19
+ </ul>
20
+ <div class="oc-accent--green" style="inline-size:min(100%, 34rem)">
21
+ <div class="oc-badge-row"><span class="oc-pill">Web app</span><span class="oc-pill">Since 2020</span></div>
22
+ <p class="oc-tagline--accent">Plan every shift in one view</p>
23
+ <ul class="oc-list--accent">
24
+ <li>Drag a shift to another day.</li>
25
+ <li>Everyone sees their own schedule on the phone.</li>
26
+ </ul>
27
+ <p class="oc-note">The demo resets every hour.</p>
28
+ </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>
@@ -21,17 +21,17 @@
21
21
  <table class="oc-table" style="inline-size:100%">
22
22
  <thead><tr><th>Product</th><th>Category</th><th data-numeric>Price</th></tr></thead>
23
23
  <tbody>
24
- <tr><td><div style="display:flex;align-items:center;gap:0.75rem"><figure class="oc-lazy oc-lazy--thumb"><img src="/img/shop/product-1-front.svg" alt="" loading="lazy" decoding="async" width="40" height="40"></figure><span><strong>Product 1</strong><br><small class="text-muted">PRD-0001</small></span></div></td><td>Lighting</td><td data-numeric>€ 179,00</td></tr>
25
- <tr><td><div style="display:flex;align-items:center;gap:0.75rem"><figure class="oc-lazy oc-lazy--thumb"><img src="/img/shop/product-2.svg" alt="" loading="lazy" decoding="async" width="40" height="40"></figure><span><strong>Product 2</strong><br><small class="text-muted">PRD-0002</small></span></div></td><td>Furniture</td><td data-numeric>€ 265,00</td></tr>
26
- <tr><td><div style="display:flex;align-items:center;gap:0.75rem"><figure class="oc-lazy oc-lazy--thumb"><img src="/img/shop/product-3.svg" alt="" loading="lazy" decoding="async" width="40" height="40"></figure><span><strong>Product 3</strong><br><small class="text-muted">PRD-0003</small></span></div></td><td>Furniture</td><td data-numeric>€ 589,00</td></tr>
27
- <tr><td><div style="display:flex;align-items:center;gap:0.75rem"><figure class="oc-lazy oc-lazy--thumb"><img src="/img/shop/product-4.svg" alt="" loading="lazy" decoding="async" width="40" height="40"></figure><span><strong>Product 4</strong><br><small class="text-muted">PRD-0004</small></span></div></td><td>Garden</td><td data-numeric>€ 22,40</td></tr>
28
- <tr><td><div style="display:flex;align-items:center;gap:0.75rem"><figure class="oc-lazy oc-lazy--thumb"><img src="/img/shop/product-5.svg" alt="" loading="lazy" decoding="async" width="40" height="40"></figure><span><strong>Product 5</strong><br><small class="text-muted">PRD-0005</small></span></div></td><td>Electronics</td><td data-numeric>€ 129,00</td></tr>
29
- <tr><td><div style="display:flex;align-items:center;gap:0.75rem"><figure class="oc-lazy oc-lazy--thumb"><img src="/img/shop/product-6.svg" alt="" loading="lazy" decoding="async" width="40" height="40"></figure><span><strong>Product 6</strong><br><small class="text-muted">PRD-0006</small></span></div></td><td>Kitchen</td><td data-numeric>€ 11,95</td></tr>
24
+ <tr><td><div style="display:flex;align-items:center;gap:0.75rem"><figure class="oc-lazy oc-lazy--thumb"><img src="/img/shop/product-1-front.svg" alt="" loading="lazy" decoding="async" width="40" height="40"></figure><span><strong>Product 1</strong><br><small class="oc-text-muted">PRD-0001</small></span></div></td><td>Lighting</td><td data-numeric>€ 179,00</td></tr>
25
+ <tr><td><div style="display:flex;align-items:center;gap:0.75rem"><figure class="oc-lazy oc-lazy--thumb"><img src="/img/shop/product-2.svg" alt="" loading="lazy" decoding="async" width="40" height="40"></figure><span><strong>Product 2</strong><br><small class="oc-text-muted">PRD-0002</small></span></div></td><td>Furniture</td><td data-numeric>€ 265,00</td></tr>
26
+ <tr><td><div style="display:flex;align-items:center;gap:0.75rem"><figure class="oc-lazy oc-lazy--thumb"><img src="/img/shop/product-3.svg" alt="" loading="lazy" decoding="async" width="40" height="40"></figure><span><strong>Product 3</strong><br><small class="oc-text-muted">PRD-0003</small></span></div></td><td>Furniture</td><td data-numeric>€ 589,00</td></tr>
27
+ <tr><td><div style="display:flex;align-items:center;gap:0.75rem"><figure class="oc-lazy oc-lazy--thumb"><img src="/img/shop/product-4.svg" alt="" loading="lazy" decoding="async" width="40" height="40"></figure><span><strong>Product 4</strong><br><small class="oc-text-muted">PRD-0004</small></span></div></td><td>Garden</td><td data-numeric>€ 22,40</td></tr>
28
+ <tr><td><div style="display:flex;align-items:center;gap:0.75rem"><figure class="oc-lazy oc-lazy--thumb"><img src="/img/shop/product-5.svg" alt="" loading="lazy" decoding="async" width="40" height="40"></figure><span><strong>Product 5</strong><br><small class="oc-text-muted">PRD-0005</small></span></div></td><td>Electronics</td><td data-numeric>€ 129,00</td></tr>
29
+ <tr><td><div style="display:flex;align-items:center;gap:0.75rem"><figure class="oc-lazy oc-lazy--thumb"><img src="/img/shop/product-6.svg" alt="" loading="lazy" decoding="async" width="40" height="40"></figure><span><strong>Product 6</strong><br><small class="oc-text-muted">PRD-0006</small></span></div></td><td>Kitchen</td><td data-numeric>€ 11,95</td></tr>
30
30
  <tr class="oc-lazy-row" aria-hidden="true"><td><div style="display:flex;align-items:center;gap:0.75rem"><span class="oc-lazy oc-lazy--thumb"></span><span class="oc-lazy-bar" style="--oc-lazy-bar: 8rem"></span></div></td><td><span class="oc-lazy-bar" style="--oc-lazy-bar: 5rem"></span></td><td><span class="oc-lazy-bar" style="--oc-lazy-bar: 4rem;margin-inline-start:auto"></span></td></tr>
31
31
  <tr class="oc-lazy-row" aria-hidden="true"><td><div style="display:flex;align-items:center;gap:0.75rem"><span class="oc-lazy oc-lazy--thumb"></span><span class="oc-lazy-bar" style="--oc-lazy-bar: 8rem"></span></div></td><td><span class="oc-lazy-bar" style="--oc-lazy-bar: 5rem"></span></td><td><span class="oc-lazy-bar" style="--oc-lazy-bar: 4rem;margin-inline-start:auto"></span></td></tr>
32
32
  <tr class="oc-lazy-row" aria-hidden="true"><td><div style="display:flex;align-items:center;gap:0.75rem"><span class="oc-lazy oc-lazy--thumb"></span><span class="oc-lazy-bar" style="--oc-lazy-bar: 8rem"></span></div></td><td><span class="oc-lazy-bar" style="--oc-lazy-bar: 5rem"></span></td><td><span class="oc-lazy-bar" style="--oc-lazy-bar: 4rem;margin-inline-start:auto"></span></td></tr>
33
33
  </tbody>
34
- <caption class="text-muted" style="caption-side:bottom;padding-block-start:0.5rem;font-size:0.8125rem" role="status">Loading 20 more products…</caption>
34
+ <caption class="oc-text-muted" style="caption-side:bottom;padding-block-start:0.5rem;font-size:0.8125rem" role="status">Loading 20 more products…</caption>
35
35
  </table>
36
36
  <div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,13rem),1fr));gap:1rem;inline-size:100%">
37
37
  <figure class="oc-lazy" role="img" aria-label="Loading"></figure>
@@ -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>