@usableapp/cardds 0.7.178 → 0.7.179

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 (51) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/css/actions.css +11 -8
  3. package/css/base.css +13 -2
  4. package/css/card.css +39 -7
  5. package/css/layover.css +25 -16
  6. package/css/lists.css +58 -4
  7. package/css/media.css +33 -0
  8. package/css/parts.css +16 -1
  9. package/css/tokens.css +4 -1
  10. package/dist/actions/Btn.d.ts +6 -2
  11. package/dist/actions/Btn.js +5 -2
  12. package/dist/cardds.css +199 -39
  13. package/dist/cards/CardParts.d.ts +12 -5
  14. package/dist/cards/CardParts.js +8 -7
  15. package/dist/cards/FeedPost.d.ts +31 -0
  16. package/dist/cards/FeedPost.js +14 -0
  17. package/dist/catalog.json +1 -1
  18. package/dist/index.d.ts +4 -0
  19. package/dist/index.js +4 -0
  20. package/dist/layover/Popup.d.ts +2 -2
  21. package/dist/layover/Popup.js +1 -1
  22. package/dist/lists/Bubble.d.ts +25 -6
  23. package/dist/lists/Bubble.js +17 -8
  24. package/dist/lists/Row.d.ts +11 -2
  25. package/dist/lists/Row.js +4 -3
  26. package/dist/media/Mosaic.d.ts +4 -3
  27. package/dist/media/Mosaic.js +8 -4
  28. package/dist/media/Thumb.d.ts +14 -0
  29. package/dist/media/Thumb.js +12 -0
  30. package/dist/parts/Foot.d.ts +7 -2
  31. package/dist/parts/Foot.js +4 -3
  32. package/dist/scaffold/Centre.d.ts +1 -1
  33. package/dist/scaffold/Centre.js +1 -1
  34. package/dist/scaffold/Panes.d.ts +1 -0
  35. package/dist/scaffold/Panes.js +1 -0
  36. package/dist/sheets/Modal.d.ts +1 -1
  37. package/dist/sheets/Modal.js +1 -1
  38. package/dist/templates/Splash.d.ts +1 -1
  39. package/dist/templates/Splash.js +1 -1
  40. package/dist/type/Phrase.d.ts +9 -0
  41. package/dist/type/Phrase.js +11 -0
  42. package/dist/type/Strong.d.ts +7 -0
  43. package/dist/type/Strong.js +9 -0
  44. package/dist/type/Text.d.ts +5 -1
  45. package/dist/type/Text.js +7 -3
  46. package/dist/type/icons.d.ts +1 -1
  47. package/dist/type/icons.js +2 -2
  48. package/docs/reference.md +84 -6
  49. package/icons.svg +1 -0
  50. package/lint/rules.mjs +2 -2
  51. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- export const ICON_NAMES = ["arrow-down", "arrow-left", "arrow-right", "arrow-up", "arrow-up-right", "bell", "briefcase", "calendar-days", "car", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle-alert", "circle-help", "clock", "droplet", "ellipsis", "file-text", "gift", "handshake", "heart", "hourglass", "house", "id-card", "image", "keyboard", "layout-grid", "lightbulb", "loader-circle", "log-out", "luggage", "man", "map", "map-pin", "megaphone", "menu", "message-circle", "mic", "music", "package", "pause", "pencil", "percent", "phone-call", "plane", "play", "plus", "reply", "search", "share", "shopping-bag", "siren", "sliders", "stamp", "star", "store", "sun", "thermometer", "ticket", "trash", "truck", "upload", "user", "users", "wallet", "woman", "x"];
2
- export const ICONS = { "arrow-down": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M12 5v14\"/><path d=\"m19 12-7 7-7-7\"/>" }, "arrow-left": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m12 19-7-7 7-7\" /><path d=\"M19 12H5\" />" }, "arrow-right": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M5 12h14\"/><path d=\"m12 5 7 7-7 7\"/>" }, "arrow-up": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m5 12 7-7 7 7\"/><path d=\"M12 19V5\"/>" }, "arrow-up-right": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M7 7h10v10\" /><path d=\"M7 17 17 7\" />" }, "bell": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M10.268 21a2 2 0 0 0 3.464 0\" /><path d=\"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326\" />" }, "briefcase": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16\" /><rect width=\"20\" height=\"14\" x=\"2\" y=\"6\" rx=\"2\" />" }, "calendar-days": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M8 2v4\" /><path d=\"M16 2v4\" /><rect width=\"18\" height=\"18\" x=\"3\" y=\"4\" rx=\"2\" /><path d=\"M3 10h18\" /><path d=\"M8 14h.01\" /><path d=\"M12 14h.01\" /><path d=\"M16 14h.01\" /><path d=\"M8 18h.01\" /><path d=\"M12 18h.01\" /><path d=\"M16 18h.01\" />" }, "car": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2\"/><circle cx=\"7\" cy=\"17\" r=\"2\"/><path d=\"M9 17h6\"/><circle cx=\"17\" cy=\"17\" r=\"2\"/>" }, "check": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M20 6 9 17l-5-5\"/>" }, "chevron-down": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m6 9 6 6 6-6\" />" }, "chevron-left": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m15 18-6-6 6-6\"/>" }, "chevron-right": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m9 18 6-6-6-6\"/>" }, "chevron-up": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m18 15-6-6-6 6\"/>" }, "circle-alert": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"12\" cy=\"12\" r=\"10\" /><line x1=\"12\" x2=\"12\" y1=\"8\" y2=\"12\" /><line x1=\"12\" x2=\"12.01\" y1=\"16\" y2=\"16\" />" }, "circle-help": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3\"/><path d=\"M12 17h.01\"/>" }, "clock": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M12 6v6l4 2\" /><circle cx=\"12\" cy=\"12\" r=\"10\" />" }, "droplet": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z\"/>" }, "ellipsis": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"12\" cy=\"12\" r=\"1\"/><circle cx=\"19\" cy=\"12\" r=\"1\"/><circle cx=\"5\" cy=\"12\" r=\"1\"/>" }, "file-text": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\"/><path d=\"M14 2v4a2 2 0 0 0 2 2h4\"/><path d=\"M10 9H8\"/><path d=\"M16 13H8\"/><path d=\"M16 17H8\"/>" }, "gift": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<rect x=\"3\" y=\"8\" width=\"18\" height=\"4\" rx=\"1\"/><path d=\"M12 8v13\"/><path d=\"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7\"/><path d=\"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5\"/>" }, "handshake": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m11 17 2 2a1 1 0 1 0 3-3\"/><path d=\"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4\"/><path d=\"m21 3 1 11h-2\"/><path d=\"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3\"/><path d=\"M3 4h8\"/>" }, "heart": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z\" />" }, "hourglass": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M5 22h14\"/><path d=\"M5 2h14\"/><path d=\"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22\"/><path d=\"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2\"/>" }, "house": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8\"/><path d=\"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"/>" }, "id-card": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M16 10h2\"/><path d=\"M16 14h2\"/><path d=\"M6.17 15a3 3 0 0 1 5.66 0\"/><circle cx=\"9\" cy=\"11\" r=\"2\"/><rect x=\"2\" y=\"5\" width=\"20\" height=\"14\" rx=\"2\"/>" }, "image": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" ry=\"2\"/><circle cx=\"9\" cy=\"9\" r=\"2\"/><path d=\"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\"/>" }, "keyboard": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<rect width=\"20\" height=\"16\" x=\"2\" y=\"4\" rx=\"2\"/><path d=\"M6 8h.01\"/><path d=\"M10 8h.01\"/><path d=\"M14 8h.01\"/><path d=\"M18 8h.01\"/><path d=\"M8 12h.01\"/><path d=\"M12 12h.01\"/><path d=\"M16 12h.01\"/><path d=\"M7 16h10\"/>" }, "layout-grid": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<rect width=\"7\" height=\"7\" x=\"3\" y=\"3\" rx=\"1\"/><rect width=\"7\" height=\"7\" x=\"14\" y=\"3\" rx=\"1\"/><rect width=\"7\" height=\"7\" x=\"14\" y=\"14\" rx=\"1\"/><rect width=\"7\" height=\"7\" x=\"3\" y=\"14\" rx=\"1\"/>" }, "lightbulb": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1.3.5 2.6 1.5 3.5.7.7 1.3 1.5 1.5 2.5\"/><path d=\"M9 18h6\"/><path d=\"M10 22h4\"/>" }, "loader-circle": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M21 12a9 9 0 1 1-6.219-8.56\" />" }, "log-out": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\"/><polyline points=\"16 17 21 12 16 7\"/><line x1=\"21\" x2=\"9\" y1=\"12\" y2=\"12\"/>" }, "luggage": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M6 20a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2\" /><path d=\"M8 18V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v14\" /><path d=\"M10 20h4\" /><circle cx=\"16\" cy=\"20\" r=\"2\" /><circle cx=\"8\" cy=\"20\" r=\"2\" />" }, "man": { "attrs": { "viewBox": "0 0 24 24", "fill": "currentColor", "stroke": "currentColor", "strokeWidth": "1", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"12\" cy=\"4\" r=\"2\"/><path d=\"M8.5 8.5h7v7h-1V22h-1.5v-6.5h-2V22H9.5v-6.5h-1z\"/>" }, "map": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z\" /><path d=\"M15 5.764v15\" /><path d=\"M9 3.236v15\" />" }, "map-pin": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\" /><circle cx=\"12\" cy=\"10\" r=\"3\" />" }, "megaphone": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m3 11 18-5v12L3 14v-3z\"/><path d=\"M11.6 16.8a3 3 0 1 1-5.8-1.6\"/>" }, "menu": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M4 12h16\" /><path d=\"M4 18h16\" /><path d=\"M4 6h16\" />" }, "message-circle": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M7.9 20A9 9 0 1 0 4 16.1L2 22Z\"/>" }, "mic": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z\"/><path d=\"M19 10v2a7 7 0 0 1-14 0v-2\"/><line x1=\"12\" x2=\"12\" y1=\"19\" y2=\"22\"/>" }, "music": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M9 18V5l12-2v13\"/><circle cx=\"6\" cy=\"18\" r=\"3\"/><circle cx=\"18\" cy=\"16\" r=\"3\"/>" }, "package": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m7.5 4.27 9 5.15\"/><path d=\"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z\"/><path d=\"m3.3 7 8.7 5 8.7-5\"/><path d=\"M12 22V12\"/>" }, "pause": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<rect x=\"14\" y=\"4\" width=\"4\" height=\"16\" rx=\"1\"/><rect x=\"6\" y=\"4\" width=\"4\" height=\"16\" rx=\"1\"/>" }, "pencil": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\"/><path d=\"m15 5 4 4\"/>" }, "percent": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<line x1=\"19\" x2=\"5\" y1=\"5\" y2=\"19\" /><circle cx=\"6.5\" cy=\"6.5\" r=\"2.5\" /><circle cx=\"17.5\" cy=\"17.5\" r=\"2.5\" />" }, "phone-call": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M13 2a9 9 0 0 1 9 9\" /><path d=\"M13 6a5 5 0 0 1 5 5\" /><path d=\"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384\" />" }, "plane": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z\" />" }, "play": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<polygon points=\"6 3 20 12 6 21 6 3\"/>" }, "plus": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M5 12h14\" /><path d=\"M12 5v14\" />" }, "reply": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M20 18v-2a4 4 0 0 0-4-4H4\"/><path d=\"m9 17-5-5 5-5\"/>" }, "search": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"11\" cy=\"11\" r=\"8\"/><path d=\"m21 21-4.3-4.3\"/>" }, "share": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8\"/><polyline points=\"16 6 12 2 8 6\"/><line x1=\"12\" x2=\"12\" y1=\"2\" y2=\"15\"/>" }, "shopping-bag": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M16 10a4 4 0 0 1-8 0\" /><path d=\"M3.103 6.034h17.794\" /><path d=\"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z\" />" }, "siren": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M5 18v-6a7 7 0 1 1 14 0v6\" /><path d=\"M3 21a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z\" /><path d=\"M22 12h1\" /><path d=\"m19.778 4.222-.707.707\" /><path d=\"M1 12h1\" /><path d=\"M12 1v1\" /><path d=\"m4.222 4.222.707.707\" /><path d=\"M12 12v6\" />" }, "sliders": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<line x1=\"21\" x2=\"14\" y1=\"4\" y2=\"4\"/><line x1=\"10\" x2=\"3\" y1=\"4\" y2=\"4\"/><line x1=\"21\" x2=\"12\" y1=\"12\" y2=\"12\"/><line x1=\"8\" x2=\"3\" y1=\"12\" y2=\"12\"/><line x1=\"21\" x2=\"16\" y1=\"20\" y2=\"20\"/><line x1=\"12\" x2=\"3\" y1=\"20\" y2=\"20\"/><line x1=\"14\" x2=\"14\" y1=\"2\" y2=\"6\"/><line x1=\"8\" x2=\"8\" y1=\"10\" y2=\"14\"/><line x1=\"16\" x2=\"16\" y1=\"18\" y2=\"22\"/>" }, "stamp": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M7.586 2.586A2 2 0 0 0 6.172 2H6a2 2 0 0 0-2 2v1.171a2 2 0 0 0 .586 1.414a2 2 0 0 1 0 2.828A2 2 0 0 0 4 10.827v2.344a2 2 0 0 0 .586 1.414a2 2 0 0 1 0 2.828A2 2 0 0 0 4 18.827V20a2 2 0 0 0 2 2h.172a2 2 0 0 0 1.414-.586a2 2 0 0 1 2.828 0a2 2 0 0 0 1.414.586h.344a2 2 0 0 0 1.414-.586a2 2 0 0 1 2.828 0a2 2 0 0 0 1.414.586H18a2 2 0 0 0 2-2v-1.171a2 2 0 0 0-.586-1.414a2 2 0 0 1 0-2.828A2 2 0 0 0 20 13.173v-2.344a2 2 0 0 0-.586-1.414a2 2 0 0 1 0-2.828A2 2 0 0 0 20 5.173V4a2 2 0 0 0-2-2h-.172a2 2 0 0 0-1.414.586a2 2 0 0 1-2.828 0A2 2 0 0 0 12.172 2h-.344a2 2 0 0 0-1.414.586a2 2 0 0 1-2.828 0z\"/><path d=\"M10 10a2 2 0 1 0 4 0a2 2 0 0 0-4 0m-1 5c0-1.105.672-2 1.5-2h3c.828 0 1.5.895 1.5 2\"/>" }, "star": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<polygon points=\"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2\"/>" }, "store": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7\" /><path d=\"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8\" /><path d=\"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4\" /><path d=\"M2 7h20\" /><path d=\"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7\" />" }, "sun": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"12\" cy=\"12\" r=\"4\"/><path d=\"M12 2v2\"/><path d=\"M12 20v2\"/><path d=\"m4.93 4.93 1.41 1.41\"/><path d=\"m17.66 17.66 1.41 1.41\"/><path d=\"M2 12h2\"/><path d=\"M20 12h2\"/><path d=\"m6.34 17.66-1.41 1.41\"/><path d=\"m19.07 4.93-1.41 1.41\"/>" }, "thermometer": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z\"/>" }, "ticket": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z\" /><path d=\"M13 5v2\" /><path d=\"M13 17v2\" /><path d=\"M13 11v2\" />" }, "trash": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M3 6h18\"/><path d=\"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\"/><path d=\"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\"/><line x1=\"10\" x2=\"10\" y1=\"11\" y2=\"17\"/><line x1=\"14\" x2=\"14\" y1=\"11\" y2=\"17\"/>" }, "truck": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2\"/><path d=\"M15 18H9\"/><path d=\"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14\"/><circle cx=\"17\" cy=\"18\" r=\"2\"/><circle cx=\"7\" cy=\"18\" r=\"2\"/>" }, "upload": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/><polyline points=\"17 8 12 3 7 8\"/><line x1=\"12\" x2=\"12\" y1=\"3\" y2=\"15\"/>" }, "user": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\"/><circle cx=\"12\" cy=\"7\" r=\"4\"/>" }, "users": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\"/><circle cx=\"9\" cy=\"7\" r=\"4\"/><path d=\"M22 21v-2a4 4 0 0 0-3-3.87\"/><path d=\"M16 3.13a4 4 0 0 1 0 7.75\"/>" }, "wallet": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1\"/><path d=\"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4\"/>" }, "woman": { "attrs": { "viewBox": "0 0 24 24", "fill": "currentColor", "stroke": "currentColor", "strokeWidth": "1", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"12\" cy=\"4\" r=\"2\"/><path d=\"M10 8.5h4l3.25 8.5H14.5v5H13v-5h-2v5H9.5v-5H6.75z\"/>" }, "x": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M18 6 6 18\" /><path d=\"m6 6 12 12\" />" } };
1
+ export const ICON_NAMES = ["arrow-down", "arrow-left", "arrow-right", "arrow-up", "arrow-up-right", "bell", "briefcase", "calendar-days", "car", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle-alert", "circle-help", "clock", "droplet", "ellipsis", "file-text", "flag", "gift", "handshake", "heart", "hourglass", "house", "id-card", "image", "keyboard", "layout-grid", "lightbulb", "loader-circle", "log-out", "luggage", "man", "map", "map-pin", "megaphone", "menu", "message-circle", "mic", "music", "package", "pause", "pencil", "percent", "phone-call", "plane", "play", "plus", "reply", "search", "share", "shopping-bag", "siren", "sliders", "stamp", "star", "store", "sun", "thermometer", "ticket", "trash", "truck", "upload", "user", "users", "wallet", "woman", "x"];
2
+ export const ICONS = { "arrow-down": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M12 5v14\"/><path d=\"m19 12-7 7-7-7\"/>" }, "arrow-left": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m12 19-7-7 7-7\" /><path d=\"M19 12H5\" />" }, "arrow-right": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M5 12h14\"/><path d=\"m12 5 7 7-7 7\"/>" }, "arrow-up": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m5 12 7-7 7 7\"/><path d=\"M12 19V5\"/>" }, "arrow-up-right": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M7 7h10v10\" /><path d=\"M7 17 17 7\" />" }, "bell": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M10.268 21a2 2 0 0 0 3.464 0\" /><path d=\"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326\" />" }, "briefcase": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16\" /><rect width=\"20\" height=\"14\" x=\"2\" y=\"6\" rx=\"2\" />" }, "calendar-days": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M8 2v4\" /><path d=\"M16 2v4\" /><rect width=\"18\" height=\"18\" x=\"3\" y=\"4\" rx=\"2\" /><path d=\"M3 10h18\" /><path d=\"M8 14h.01\" /><path d=\"M12 14h.01\" /><path d=\"M16 14h.01\" /><path d=\"M8 18h.01\" /><path d=\"M12 18h.01\" /><path d=\"M16 18h.01\" />" }, "car": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2\"/><circle cx=\"7\" cy=\"17\" r=\"2\"/><path d=\"M9 17h6\"/><circle cx=\"17\" cy=\"17\" r=\"2\"/>" }, "check": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M20 6 9 17l-5-5\"/>" }, "chevron-down": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m6 9 6 6 6-6\" />" }, "chevron-left": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m15 18-6-6 6-6\"/>" }, "chevron-right": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m9 18 6-6-6-6\"/>" }, "chevron-up": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m18 15-6-6-6 6\"/>" }, "circle-alert": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"12\" cy=\"12\" r=\"10\" /><line x1=\"12\" x2=\"12\" y1=\"8\" y2=\"12\" /><line x1=\"12\" x2=\"12.01\" y1=\"16\" y2=\"16\" />" }, "circle-help": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3\"/><path d=\"M12 17h.01\"/>" }, "clock": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M12 6v6l4 2\" /><circle cx=\"12\" cy=\"12\" r=\"10\" />" }, "droplet": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z\"/>" }, "ellipsis": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"12\" cy=\"12\" r=\"1\"/><circle cx=\"19\" cy=\"12\" r=\"1\"/><circle cx=\"5\" cy=\"12\" r=\"1\"/>" }, "file-text": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\"/><path d=\"M14 2v4a2 2 0 0 0 2 2h4\"/><path d=\"M10 9H8\"/><path d=\"M16 13H8\"/><path d=\"M16 17H8\"/>" }, "flag": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z\"/><line x1=\"4\" x2=\"4\" y1=\"22\" y2=\"15\"/>" }, "gift": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<rect x=\"3\" y=\"8\" width=\"18\" height=\"4\" rx=\"1\"/><path d=\"M12 8v13\"/><path d=\"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7\"/><path d=\"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5\"/>" }, "handshake": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m11 17 2 2a1 1 0 1 0 3-3\"/><path d=\"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4\"/><path d=\"m21 3 1 11h-2\"/><path d=\"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3\"/><path d=\"M3 4h8\"/>" }, "heart": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z\" />" }, "hourglass": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M5 22h14\"/><path d=\"M5 2h14\"/><path d=\"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22\"/><path d=\"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2\"/>" }, "house": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8\"/><path d=\"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"/>" }, "id-card": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M16 10h2\"/><path d=\"M16 14h2\"/><path d=\"M6.17 15a3 3 0 0 1 5.66 0\"/><circle cx=\"9\" cy=\"11\" r=\"2\"/><rect x=\"2\" y=\"5\" width=\"20\" height=\"14\" rx=\"2\"/>" }, "image": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" ry=\"2\"/><circle cx=\"9\" cy=\"9\" r=\"2\"/><path d=\"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\"/>" }, "keyboard": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<rect width=\"20\" height=\"16\" x=\"2\" y=\"4\" rx=\"2\"/><path d=\"M6 8h.01\"/><path d=\"M10 8h.01\"/><path d=\"M14 8h.01\"/><path d=\"M18 8h.01\"/><path d=\"M8 12h.01\"/><path d=\"M12 12h.01\"/><path d=\"M16 12h.01\"/><path d=\"M7 16h10\"/>" }, "layout-grid": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<rect width=\"7\" height=\"7\" x=\"3\" y=\"3\" rx=\"1\"/><rect width=\"7\" height=\"7\" x=\"14\" y=\"3\" rx=\"1\"/><rect width=\"7\" height=\"7\" x=\"14\" y=\"14\" rx=\"1\"/><rect width=\"7\" height=\"7\" x=\"3\" y=\"14\" rx=\"1\"/>" }, "lightbulb": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1.3.5 2.6 1.5 3.5.7.7 1.3 1.5 1.5 2.5\"/><path d=\"M9 18h6\"/><path d=\"M10 22h4\"/>" }, "loader-circle": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M21 12a9 9 0 1 1-6.219-8.56\" />" }, "log-out": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\"/><polyline points=\"16 17 21 12 16 7\"/><line x1=\"21\" x2=\"9\" y1=\"12\" y2=\"12\"/>" }, "luggage": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M6 20a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2\" /><path d=\"M8 18V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v14\" /><path d=\"M10 20h4\" /><circle cx=\"16\" cy=\"20\" r=\"2\" /><circle cx=\"8\" cy=\"20\" r=\"2\" />" }, "man": { "attrs": { "viewBox": "0 0 24 24", "fill": "currentColor", "stroke": "currentColor", "strokeWidth": "1", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"12\" cy=\"4\" r=\"2\"/><path d=\"M8.5 8.5h7v7h-1V22h-1.5v-6.5h-2V22H9.5v-6.5h-1z\"/>" }, "map": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z\" /><path d=\"M15 5.764v15\" /><path d=\"M9 3.236v15\" />" }, "map-pin": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\" /><circle cx=\"12\" cy=\"10\" r=\"3\" />" }, "megaphone": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m3 11 18-5v12L3 14v-3z\"/><path d=\"M11.6 16.8a3 3 0 1 1-5.8-1.6\"/>" }, "menu": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M4 12h16\" /><path d=\"M4 18h16\" /><path d=\"M4 6h16\" />" }, "message-circle": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M7.9 20A9 9 0 1 0 4 16.1L2 22Z\"/>" }, "mic": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z\"/><path d=\"M19 10v2a7 7 0 0 1-14 0v-2\"/><line x1=\"12\" x2=\"12\" y1=\"19\" y2=\"22\"/>" }, "music": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M9 18V5l12-2v13\"/><circle cx=\"6\" cy=\"18\" r=\"3\"/><circle cx=\"18\" cy=\"16\" r=\"3\"/>" }, "package": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m7.5 4.27 9 5.15\"/><path d=\"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z\"/><path d=\"m3.3 7 8.7 5 8.7-5\"/><path d=\"M12 22V12\"/>" }, "pause": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<rect x=\"14\" y=\"4\" width=\"4\" height=\"16\" rx=\"1\"/><rect x=\"6\" y=\"4\" width=\"4\" height=\"16\" rx=\"1\"/>" }, "pencil": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\"/><path d=\"m15 5 4 4\"/>" }, "percent": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<line x1=\"19\" x2=\"5\" y1=\"5\" y2=\"19\" /><circle cx=\"6.5\" cy=\"6.5\" r=\"2.5\" /><circle cx=\"17.5\" cy=\"17.5\" r=\"2.5\" />" }, "phone-call": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M13 2a9 9 0 0 1 9 9\" /><path d=\"M13 6a5 5 0 0 1 5 5\" /><path d=\"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384\" />" }, "plane": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z\" />" }, "play": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<polygon points=\"6 3 20 12 6 21 6 3\"/>" }, "plus": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M5 12h14\" /><path d=\"M12 5v14\" />" }, "reply": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M20 18v-2a4 4 0 0 0-4-4H4\"/><path d=\"m9 17-5-5 5-5\"/>" }, "search": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"11\" cy=\"11\" r=\"8\"/><path d=\"m21 21-4.3-4.3\"/>" }, "share": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8\"/><polyline points=\"16 6 12 2 8 6\"/><line x1=\"12\" x2=\"12\" y1=\"2\" y2=\"15\"/>" }, "shopping-bag": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M16 10a4 4 0 0 1-8 0\" /><path d=\"M3.103 6.034h17.794\" /><path d=\"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z\" />" }, "siren": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M5 18v-6a7 7 0 1 1 14 0v6\" /><path d=\"M3 21a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z\" /><path d=\"M22 12h1\" /><path d=\"m19.778 4.222-.707.707\" /><path d=\"M1 12h1\" /><path d=\"M12 1v1\" /><path d=\"m4.222 4.222.707.707\" /><path d=\"M12 12v6\" />" }, "sliders": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<line x1=\"21\" x2=\"14\" y1=\"4\" y2=\"4\"/><line x1=\"10\" x2=\"3\" y1=\"4\" y2=\"4\"/><line x1=\"21\" x2=\"12\" y1=\"12\" y2=\"12\"/><line x1=\"8\" x2=\"3\" y1=\"12\" y2=\"12\"/><line x1=\"21\" x2=\"16\" y1=\"20\" y2=\"20\"/><line x1=\"12\" x2=\"3\" y1=\"20\" y2=\"20\"/><line x1=\"14\" x2=\"14\" y1=\"2\" y2=\"6\"/><line x1=\"8\" x2=\"8\" y1=\"10\" y2=\"14\"/><line x1=\"16\" x2=\"16\" y1=\"18\" y2=\"22\"/>" }, "stamp": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M7.586 2.586A2 2 0 0 0 6.172 2H6a2 2 0 0 0-2 2v1.171a2 2 0 0 0 .586 1.414a2 2 0 0 1 0 2.828A2 2 0 0 0 4 10.827v2.344a2 2 0 0 0 .586 1.414a2 2 0 0 1 0 2.828A2 2 0 0 0 4 18.827V20a2 2 0 0 0 2 2h.172a2 2 0 0 0 1.414-.586a2 2 0 0 1 2.828 0a2 2 0 0 0 1.414.586h.344a2 2 0 0 0 1.414-.586a2 2 0 0 1 2.828 0a2 2 0 0 0 1.414.586H18a2 2 0 0 0 2-2v-1.171a2 2 0 0 0-.586-1.414a2 2 0 0 1 0-2.828A2 2 0 0 0 20 13.173v-2.344a2 2 0 0 0-.586-1.414a2 2 0 0 1 0-2.828A2 2 0 0 0 20 5.173V4a2 2 0 0 0-2-2h-.172a2 2 0 0 0-1.414.586a2 2 0 0 1-2.828 0A2 2 0 0 0 12.172 2h-.344a2 2 0 0 0-1.414.586a2 2 0 0 1-2.828 0z\"/><path d=\"M10 10a2 2 0 1 0 4 0a2 2 0 0 0-4 0m-1 5c0-1.105.672-2 1.5-2h3c.828 0 1.5.895 1.5 2\"/>" }, "star": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<polygon points=\"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2\"/>" }, "store": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7\" /><path d=\"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8\" /><path d=\"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4\" /><path d=\"M2 7h20\" /><path d=\"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7\" />" }, "sun": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"12\" cy=\"12\" r=\"4\"/><path d=\"M12 2v2\"/><path d=\"M12 20v2\"/><path d=\"m4.93 4.93 1.41 1.41\"/><path d=\"m17.66 17.66 1.41 1.41\"/><path d=\"M2 12h2\"/><path d=\"M20 12h2\"/><path d=\"m6.34 17.66-1.41 1.41\"/><path d=\"m19.07 4.93-1.41 1.41\"/>" }, "thermometer": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z\"/>" }, "ticket": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z\" /><path d=\"M13 5v2\" /><path d=\"M13 17v2\" /><path d=\"M13 11v2\" />" }, "trash": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M3 6h18\"/><path d=\"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\"/><path d=\"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\"/><line x1=\"10\" x2=\"10\" y1=\"11\" y2=\"17\"/><line x1=\"14\" x2=\"14\" y1=\"11\" y2=\"17\"/>" }, "truck": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2\"/><path d=\"M15 18H9\"/><path d=\"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14\"/><circle cx=\"17\" cy=\"18\" r=\"2\"/><circle cx=\"7\" cy=\"18\" r=\"2\"/>" }, "upload": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/><polyline points=\"17 8 12 3 7 8\"/><line x1=\"12\" x2=\"12\" y1=\"3\" y2=\"15\"/>" }, "user": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\"/><circle cx=\"12\" cy=\"7\" r=\"4\"/>" }, "users": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\"/><circle cx=\"9\" cy=\"7\" r=\"4\"/><path d=\"M22 21v-2a4 4 0 0 0-3-3.87\"/><path d=\"M16 3.13a4 4 0 0 1 0 7.75\"/>" }, "wallet": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1\"/><path d=\"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4\"/>" }, "woman": { "attrs": { "viewBox": "0 0 24 24", "fill": "currentColor", "stroke": "currentColor", "strokeWidth": "1", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<circle cx=\"12\" cy=\"4\" r=\"2\"/><path d=\"M10 8.5h4l3.25 8.5H14.5v5H13v-5h-2v5H9.5v-5H6.75z\"/>" }, "x": { "attrs": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "body": "<path d=\"M18 6 6 18\" /><path d=\"m6 6 12 12\" />" } };
package/docs/reference.md CHANGED
@@ -271,9 +271,15 @@ In a `NoteRow` the words are one flowing line, so the old value follows the new
271
271
 
272
272
  (cardds#219) A list read and then left — the notifications under a bell — is four pieces, each opt-in; a screen written before them is unchanged.
273
273
 
274
- - **`Popup`** is a panel hung under the button that opens it: a head (`title`, a second line `meta`, ONE `Btn` as `action` at the right) and the list as its children. It is a native popover like `Menu popover`: any button with `popoverTarget={id}` opens it (the popup knows no button), a tap outside or Esc closes it. It is never wider than the screen less `--popup-margin` (default `--sp-3`) each side, and at most `--popup-w` (default 384) wide; too tall for the room under the button (at most `--popup-max-h`, default 576), the list scrolls inside it and the head stays at the top, opaque, so a row's fill passes under it. A button at the screen's right: with `end` the popup's right edge is the button's and it grows leftwards (the bar's own inset is its right margin; `--popup-margin` keeps the left one); without `end` it starts at the button's left edge and grows rightwards. Where the browser cannot anchor to the button (iOS before 26) it hangs under the top bar. The paper is the card-1 ground (`--popup-bg`, `--popup-border`, `--popup-radius`, `--popup-shadow`); head knobs `--popup-pad-x`, `--popup-pad-y`, `--popup-head-gap`. The unread count on the button is the app's: `<Btn shape="round" icon="bell" label="Notifications" count={n} popoverTarget="inbox" />`. Story `Popup · UnderABell`.
275
- - **`Rows joined`**: the rows touch (no `--rows-gap`), each is a band edge to edge of the list with its own padding (`--rows-joined-pad-x` 16, `--rows-joined-pad-y` 12) and a border under it, the last too (`--rows-joined-border`, default the hairline), so a row with a fill reads as a band joined to the next. The between-rows hairline is not drawn. For a holder with no padding of its own (a `Popup`); in a `Card` the rows would stand inside its padding. `Rows` without `joined` is unchanged.
274
+ - **`Popup`** is a panel hung under the button that opens it: a head (`title`, a second line `meta`, ONE `Btn` as `action` at the right) and the list as its children. It is a native popover like `Menu popover`: any button with `popoverTarget={id}` opens it (the popup knows no button), a tap outside or Esc closes it. It stands narrower than the cards under it, so their edges show on both sides: `--sp-2` in from the card's edge on the button's side and `--sp-6` in on the far side (a card stands `--screen-pad` in from the screen; 375 wide: a popup at x 40–351 over cards at 16–359). `--popup-margin`, when a project sets it, replaces both distances with one value (measured from the button's edge on its side and from the screen's edge on the far side when anchored; from the screen's edges when hung under the top bar), and still sets the margin under the popup. It is at most `--popup-w` (default 384) wide; too tall for the room under the button (at most `--popup-max-h`, default 576), the list scrolls inside it and the head stays at the top, opaque, so a row's fill passes under it. A button at the screen's right: with `end` the popup's right edge is `--sp-2` in from the button's and it grows leftwards (its left side is `--sp-6` in from the cards); without `end` its left edge is `--sp-2` in from the button's and it grows rightwards (its right side `--sp-6` in). Where the browser cannot anchor to the button (iOS before 26) it hangs under the top bar. The paper is the card-1 ground (`--popup-bg`, `--popup-border`, `--popup-radius`, `--popup-shadow`); head knobs `--popup-pad-x`, `--popup-pad-y`, `--popup-head-gap`. The unread count on the button is the app's: `<Btn shape="round" icon="bell" label="Notifications" count={n} popoverTarget="inbox" />`. Story `Popup · UnderABell`.
275
+ - **`Rows joined`**: the rows touch (no `--rows-gap`), each is a band edge to edge of the list with its own padding (`--rows-joined-pad-x` 16, `--rows-joined-pad-y` 12) and a border under it, the last too (`--rows-joined-border-w` default `--px`, a thin line, and `--rows-joined-border` default `--hairline-soft`, 10% of the ink: faint, cardds#229), so a row with a fill reads as a band joined to the next. The between-rows hairline is not drawn. For a holder with no padding of its own (a `Popup`); in a `Card` the rows would stand inside its padding. `Rows` without `joined` is unchanged.
276
276
  - **`Row unread`**: a row never opened has a very light grey fill over the whole row, the token `--unread-bg` (4% of the row's ink over whatever ground it stands on, so it is a light grey on paper and a light lift on a dark ground; knob `--row-unread-bg`). A screen reader hears "unread" (`unreadLabel` for another word). Drop `unread` once it is read; the fill is only the state, the app owns it.
277
+ - **`Row todo`** (cardds#223): a checklist item still to do and open to press. Where a `done` row has its tick, a `todo` row has an empty dashed circle of the same size and place, and its title and second line are faded (`--row-todo-ink`, default 40% of the card's ink; the ring is the same ink, knob `--row-todo-ring`): faded and dashed read as "not done yet", and the whole row is the target — a link or a button (`href`, or `as="a"` with the app's `onClick`) that takes the member where the thing is done. The circle is drawn, never a control, and the app's words name the row; the size is `--row-done-size`, as the tick's. `todo` is ignored on a `done` row. A `done` row keeps its muted title by default; `fullInk` keeps the card's ink beside the tick (the finished lines stand out against the faded ones). Stories `Row · Todo`, `Row · Controlled`.
278
+ - **A notification that is one line of words** (cardds#229, Lh 2026-11-18): `<Row leadLines={3} leadText="caption" unread><AvatarStack><Stamp bare … /></AvatarStack><Text level="caption" lines={3} corner="5 min" grow><Strong>Auntie Sri</Strong> • thank you for…</Text></Row>`. Three pieces, each opt-in:
279
+ - `Row leadLines` (1 to 3, with `leadText` `body` (default) or `caption`, the level of the words beside it): the lead stands as tall as that many lines of the text's line height (`--lh-*` × `--fs-*`, so it follows the text size). A `Stamp` in an `AvatarStack` is that tall at its 4:5 shape; a `Lead` is a square as wide as that stamp, in the middle of the height. A row with its lead 3 lines tall and fewer words is as tall as the stamp.
280
+ - `Strong`: some words heavy inside running text (`--strong-weight`, default `--fw-bold`, clearly heavier than every level's own, caption's medium included); the size, ink and line stay the text's. Works inside `Text lines`.
281
+ - `Text corner`: one short word (a time) at the top end of the words, muted (`--text-corner-ink`) and at the text's size, `--text-corner-gap` from them; the first line runs round it, the next lines are the full width. With `lines` the cut counts only the lines shown, and the corner never makes the row taller than its visible lines. Not with `expand`. A row that holds the time as an `End` instead takes a whole column from the words.
282
+ Stories `Row · Notifications`, `Row · LeadLines`, `Strong · InACaption`, `Strong · InCutWords`, `Text · CornerWord`, `Text · CornerOneLine`.
277
283
  - **`Lead tone`**: the box takes a FILL, one of six colours — `blue`, `green`, `amber`, `red`, `pink`, `violet` (`--tone-blue` … `--tone-violet`) — with no outline, and its icon is the ondark ink on it (white). It tells kinds of thing apart (the bank, a reminder, points); the names are colours, never a meaning: the app picks which kind wears which, and a person's lead is still a stamp or an avatar. Each colour holds the icon at 4.5:1 or more in every palette cardds ships ([Ink follows its ground](#ink-follows-its-ground)): the lowest is blue on clay, 4.74; green 5.84, amber 5.16, red 4.98, pink 5.23, violet 6.56 on clay, the dimmest ink. Colour is in `palette.css` and every coloured mode has them (a project's own `data-palette` too); the wireframe keeps six greys. A project whose ondark ink is dimmer retunes the tone `inkGrounds()` names (`--tone-<name>`), in its theme. Knobs `--lead-bg`, `--lead-ink`. Story `Lead · Tones`.
278
284
 
279
285
  ```tsx
@@ -399,7 +405,7 @@ of `Screen`:
399
405
  `<Sheet state="full" states="full" handle={false}>` · `<Head variant="sheet" title={name} />` (its close asks the sheet for `away`) ·
400
406
  `Body` (the `Thread`, or a `StickyThread lapped`) · `<Foot><MessageBar…/></Foot>`. The `MessageBar` is the foot's one child
401
407
  and takes its line and its padding; it stands on the sheet's bottom edge above the keyboard, and the body stops above it
402
- however tall it grows. The sheet's `topRow` is its pinned row under the head (the request the chat is about), as the
408
+ however tall it grows (`<Foot layer>` gives its strip a ground of its own: see Foot, below). The sheet's `topRow` is its pinned row under the head (the request the chat is about), as the
403
409
  Screen's. In the sticky look the sheet's last child is a `StickyAnswer` in place of the Foot. Opening at, and following,
404
410
  the last words is the app's (`scrollIntoView({ block: 'end' })` on the thread). Stories: `Bubble/ChatSheet`, `StickyScreens/ChatSheet`.
405
411
  - **A Thread follows its end, names no one twice** (Lh 2026-10-29). While the reader is at the last words, the `Thread` keeps
@@ -408,8 +414,28 @@ of `Screen`:
408
414
  and slides back down; at the end it is gone (`jumpLabel` names it, `false` drops it). The thread ends with room
409
415
  (`--thread-end-size`, default `--sp-4`) above the bar, so the last bubble's `meta` is never under it. A `Bubble`'s `author` leads
410
416
  its meta line only where the Thread's `authors` says: `none` (default — a 1-to-1 chat, the head names the person), `change` (a
411
- group: where the sender changes), `every`. A `Bubble`'s `day` (the date, with the time alone in `meta`) shows only where it
417
+ group: where the sender changes), `every` (a list of comments from several people: each names its writer). A `Bubble`'s `day` (the date, with the time alone in `meta`) shows only where it
412
418
  changes from the bubble before (`days="change"`, the default; `every` on each). `showAuthor` / `showDay` override one bubble. Stories `Bubble · JumpToLatest`, `Bubble · Group`.
419
+ - **A Thread in a feed has room of its own** (Lh 2026-11-17, cardds#214). A `Thread` that is a direct child of a `CardList`, between its cards,
420
+ is no chat: it has no bar under it, and a bubble is no card, so it crowds the card beside it. Its room over it and under it is the same,
421
+ `--thread-room-size` (default `--sp-4`), on top of the list's gap (`--card-list-gap`); `--thread-end-size` is the chat's and not read there.
422
+ Pass `jumpLabel={false}` (a feed has no last words to jump to). Story `Bubble · InFeed`.
423
+ - **Who said it stands above the message** (Lh 2026-11-17, cardds#214). `Bubble metaAbove` puts the caption line over the message instead of
424
+ under it, for a list of comments from several people, who read who is speaking before the words: `lead` (the picture: an `AvatarStack` with a
425
+ `Stamp bare`, an `Avatar`, at its own size) · `author` in bold (`--bubble-author-font`, `--bubble-author-ink`) · `day` · `meta`
426
+ (the time, small, after a "·"), on ONE line that never wraps (the name is cut with "…", the lead and the time keep their size). The bubble stands under the line from
427
+ its start edge, as wide as its words up to `--bubble-max-w` (the line is in that cap too), `--sp-2` below it (`--bubble-meta-above-gap`): never led in
428
+ beside the picture, which left a few words a line. The line is first in the markup, so it is heard before the words. `lead` and `author` show where the
429
+ Thread's `authors` says (`every` in a comment list); where they do not (the same writer twice, `change`), the line is the time alone. Mine (`side="right"`):
430
+ the line at the right over the bubble, usually the time alone. Without `metaAbove` the caption stays under the message and `lead` is not drawn.
431
+ `action` is ONE round `Btn` beside the message, centred on its height: after theirs, before mine (a delete, a reply), `--bubble-action-gap` (`--sp-2`) from it, inside
432
+ the same cap. It is not for a `Bubble` with `href` or `onClick` (a button in a link): there it is ignored with a warning, and a pressed message with its button
433
+ stands in a `Row` (story `Bubble · FeedReply`). Stories `Bubble · Comments`, `Bubble · InFeed`.
434
+ - **The message it answers** (Lh 2026-11-18, cardds#227). `Bubble quote` puts one line at the top INSIDE the bubble, over the words: the message this one
435
+ answers (`Noi: Could I have a cutting?`), cut at one line with "…", a rule at its start like the `quote` of a `MessageBar`, small (`caption`) and fainter than the
436
+ words. It is the muted ink of the bubble's ground, so it holds on a theirs and a mine bubble alike (`--bubble-quote-ink`, `--bubble-quote-rule-ink`). The app
437
+ passes the words only; the rule is drawn. It is part of the bubble: `onClick`, `href` and `highlighted` take the line with the words (a tap on it is a tap on
438
+ the bubble). The reply flow beside it is the app's: the `Bubble highlighted` the member is answering and `MessageBar quote` under the thread. Story `Bubble · Quote`.
413
439
  - **A pressed message, and the one looked at** (Lh 2026-10-28). A `Bubble` with `href` is a link (an `<a>`, `target`/`rel`
414
440
  beside it), with `onClick` a pressed one (`role="button"`, Enter and Space); both dim under the finger (the PRESS list's DIM)
415
441
  and take the focus ring. `highlighted` rings the message the member is looking at — the one a reply points at, the one a
@@ -546,6 +572,10 @@ whose markup has rules, because the sheet's box is the step itself:
546
572
  bigger through `--count-in-size`. A screen reader hears each number (`aria-live`). Not `Countdown`, which is a small link that waits.
547
573
  - **A `Modal` mounted with `open={false}` draws nothing and never calls `onClosed`** (it was never shown), the same in production and
548
574
  under React StrictMode. It appears when `open` turns `true`; each close after that plays the leave and calls `onClosed` once.
575
+ - **Where a `Modal` stands** (Lh 2026-11-18, cardds#231): its own 40% point is on the stage's 40% line (`--screen-centre`), as a `Card centre` (*Anatomy*, "Where the
576
+ centre is"), at rest, while it drops in and while its drawer comes out (the box grows about that point). It is capped so the 40% above the line clears the top bar's
577
+ line and the 60% below stays out of the bar's room (`--bar-reserve`); a taller `Body` scrolls and the `ModalAsk` keeps its height. A `Modal` with no `Body` (the confirm) and one with
578
+ no `ModalAsk` (details) stand on the same line. Story `Modal · TallUnderTopBar`.
549
579
  - **cardds names its own controls, in the page's language** (Lh 2026-09-29): a handle, a back button, a Pin's cells… read
550
580
  their name from `src/words.ts` by `<html lang>` (en, th ship; `setWords(lang, {…})` adds one). An app passes no label that
551
581
  only repeats these words; a prop still wins.
@@ -554,7 +584,7 @@ whose markup has rules, because the sheet's box is the step itself:
554
584
 
555
585
  One card at the human centre — the introduction screens, and any screen with
556
586
  one thing to read and one move. The heading above, the bar below, the card
557
- between at 40% down the screen (see *Anatomy*, "Where the centre is"):
587
+ between: its own 40% point on the line 40% down the screen (see *Anatomy*, "Where the centre is"):
558
588
 
559
589
  ```html
560
590
  <div class="screen screen--fill">
@@ -697,6 +727,20 @@ between at 40% down the screen (see *Anatomy*, "Where the centre is"):
697
727
  with `form labelled` its `label` is SHOWN as words at its left, the two
698
728
  centred as one line (Lh 2026-10-10). The narrowing from three on is the knob `--foot-crowd-pad-x` (default
699
729
  `--sp-2`): a theme that wants one pill shape for worded and icon-only Btns sets it to the Btn's own side padding.
730
+ - **A post's moves are a `BtnGroup` frame** (Lh 2026-11-18, cardds#213, design B). One frame, equal shares, a rule between them; each
731
+ a round `Btn` of an icon and its NUMBER as a word beside it (`<Btn shape="round" icon="heart" label="Like, 5">5</Btn>`, none at 0 — not
732
+ `count`, the badge on the corner), no other words, the whole share the tap. In one frame: switches that stay on (`select="many"` +
733
+ `value` / `onChange`: the liked share filled), plain commands (no `value`: comments) and a move DONE ALREADY (`Btn aria-disabled`: the
734
+ share faded, `--off`; no give, no dim; `onClick` never called and the group's `value` never switched by a press; still focused and read —
735
+ `disabled` would take it out). A move done (passed on) STAYS in `value` and has `aria-disabled`: its share is the pressed fill, faded
736
+ (Lh 2026-11-18) — an app does it this way. The report flag at the post's head is the stock `flag` icon. The spoken name is each `label`
737
+ (say the number in it). The same row under a post in the feed and on the post's own page. Stories `BtnGroup · PostRow`, `PostRowControlled`.
738
+ - **A sheet's foot on a ground of its own** (`Foot layer`, Lh 2026-11-17, cardds#214). In a `Sheet` the foot's strip — the room the body stops above —
739
+ is the sheet's own colour, so the comments scrolling behind a `MessageBar` and the bar read as one. `<Foot layer>` gives that strip a ground of its own,
740
+ edge to edge, with a rule over it: the sheet's colour a little darker (`--foot-layer-bg`, default 8% of the dark ink over the sheet's own colour — opaque,
741
+ and darker on a dark sheet too) and `--foot-layer-rule-ink` (default `--hairline`) for the rule. The strip is not bigger: the foot, its
742
+ padding and the body's stop are the same, so nothing is covered. What stands on it keeps its look (a `MessageBar`'s box is still the paper). Off by
743
+ default, a sheet's foot is as before; on a `Card` the prop draws nothing (a card's own is `paper="bands"`). Story `Bubble · Comments`.
700
744
  - **Wrap buttons** (`Foot wrap`, `BtnRow wrap`, Lh 2026-10-28): each `Btn` as wide as its words, with its own side
701
745
  padding (never narrowed), from the start, wrapping to a new line when they do not fit. `end` stands them at the
702
746
  foot's (the row's) end: `<Foot wrap end><Btn>Reply</Btn><Btn>Open the chat</Btn></Foot>` (stories `Foot · Wrap`, `BtnRow · Wrap`).
@@ -781,6 +825,20 @@ between at 40% down the screen (see *Anatomy*, "Where the centre is"):
781
825
  `art` (0.7.165) swaps the drawn cat for the app's own picture (its Lottie
782
826
  player, an image): drawn centred `--feed-end-art-w` wide (default 30% of the feed's width), hidden from a screen reader;
783
827
  cardds plays nothing. Story `CardFeed · EndArt`.
828
+ - **A feed of thin cards** (`CardList thin`, Lh 2026-11-17, cardds#213 — "ก การ์ดบาง"). A `CardList` with `thin` makes EVERY `Card` in it
829
+ thinner, posts and plain cards alike: its padding `--sp-4`, its corner `--r-base`, the gap between its parts `--sp-5` (the cards stay
830
+ `--card-list-gap`, `--sp-3`, apart). It sets the card's rest values for the list's cards alone (`--card-pad-rest`, `--card-gap-rest`,
831
+ `--r-card`), so a card's variants and parts follow; a card outside the list and a `Thread` between its cards do not change. Knobs
832
+ `--card-list-thin-pad` · `--card-list-thin-gap` · `--card-list-thin-radius`. Story `FeedPost · Feed`.
833
+ - **`FeedPost`** (cardds#213): ONE post in a feed, a card of its own — `lead` (an `Avatar`, or a `Stamp bare` in an `AvatarStack`, at a led
834
+ `Head`'s size) · `author` (bold, the label's size) · `time` (` · 40 min` after it on the same line, small and muted) · `via` (the line
835
+ under them: who passed it on, who mentioned the member; none when it came straight) · `end` (the `Head`'s end: a round `Btn size="sm"`, the
836
+ report flag; the member's own post has none) · children (the words: a `Text expand` or `lines`, or a voice row) · `media` (a picture FULL
837
+ WIDTH, the media's corner, at its own shape up to the tallest the post allows — knob `--feed-post-media-ratio`, width / height, default
838
+ `4 / 3`; a taller one is cut in its middle; on a post's own sheet an app sets `4 / 5`) · `actions` (the moves, a `BtnGroup` frame, below).
839
+ The head's lines stand `--sp-1` apart, the post's parts `--sp-5` (knob `--feed-post-gap`). `onPress` + `pressLabel` press it whole
840
+ (`Card onPress`: its buttons keep their own press). It stands in a `CardList thin` with the feed's other cards, never in a card
841
+ (`card-in-card`). Stories `FeedPost · Feed`, `Words`, `Photo`, `TallPhoto`, `PassedOn`.
784
842
  - **A card pressed whole with controls inside** (timebank, 2026-10-29): `Card
785
843
  onPress` + `pressLabel`. A touch anywhere on the card off a control calls
786
844
  `onPress`; a link, a button, a `LinkBlock` or any control inside keeps its
@@ -946,7 +1004,17 @@ between at 40% down the screen (see *Anatomy*, "Where the centre is"):
946
1004
  read sits at the middle of the four fifths above it: **the human centre is
947
1005
  40% down the screen, not 50%** (`--screen-centre`, Lh 2026-09-10). A screen
948
1006
  with one card and nothing else to read puts it there (`.card--centre`, the
949
- introduction screens); a splash puts its mark there.
1007
+ introduction screens); a splash puts its mark there. **A box stands on that
1008
+ line by ITS OWN 40% point, not its middle** (Lh 2026-11-18: "find the centre of
1009
+ the screen at 40%, then the centre of the card at 40% too, put the two together"):
1010
+ the point 40% down the box lands on the point 40% down the screen, so the box's
1011
+ middle is a tenth of its height under the line and always over the screen's own middle. One token says it,
1012
+ `--centre-at` (0.4): `--screen-centre` is that share of the screen, `--centre-lift`
1013
+ the box's translate, and the same rule serves the four places that centre a box —
1014
+ `.card--centre`, `.screen__centre`, the splash's group and the `Modal` (never a
1015
+ `top: 50%` with `translate: -50%`). A growing box (the `Modal`'s drawer coming out) grows
1016
+ about its 40% point, which stays on the line. The cap is the room above the
1017
+ line / 0.4, or the room below it (the bar's reserve) / 0.6, whichever is less.
950
1018
 
951
1019
  Live: every screen in the gallery (`npm run dev`).
952
1020
 
@@ -1105,6 +1173,16 @@ stamps.
1105
1173
  Green (`--signal-ok`) unless `tone` names another signal; `--mark-bg` / `--mark-ink` retune it. It is information, never
1106
1174
  a control, and never a chip or a line of its own.
1107
1175
 
1176
+ **`Phrase`** keeps a few words on ONE line inside running text (cardds#224): the line breaks before it or after it, never inside it. Thai has no spaces between words, so a line is cut wherever it runs out: a `Chip` in the middle of a sentence and the word after it comes out split (`…ของเพื่อนบ้านทุก` / `คน`). Wrap the words that belong together: `<Text level="body">จะขึ้นในหน้า <Chip sm>ฮัลโหลๆ</Chip> <Phrase>ของเพื่อนบ้านทุกคน</Phrase></Text>`. It is inline and works in any `Text` level, in a `ModalAsk` `caption` and beside a `Chip`; a phrase longer than the room it has breaks inside itself, never out of its box. Keep it to a few words: a long sentence is not a phrase. Story `Modal · PhraseAfterChip`.
1177
+
1178
+ **`Thumb` and `ThumbGrid`** (cardds#232): a small square photo that is a button, and the grid it stands in. `<ThumbGrid><Thumb src={url} label="Photo 1, tap to remove" onClick={ask} />…</ThumbGrid>`: the squares
1179
+ show only the photo (`object-fit: cover`, corner `--r-control`, no words over or under it; without `src` a `Placeholder`'s crossed box), the whole square is the button with the app's `label` and `onClick`, it
1180
+ gives under the finger like a tile. The grid is five to a row (`--thumb-grid-cols`), as wide as the box it stands in, each square a fifth of that width less the gaps (`--thumb-grid-gap`, `--sp-2`): ten photos are two full rows,
1181
+ and in a `Modal` on a 375px phone each square is above `--tap-sm`. What a press does (ask before removing, open the photo) is the app's: a `Modal` of its own. Not `Mosaic` (a fixed arrangement of the photos in a card, not pressable) and not `Lead` (a box for an icon or a letter).
1182
+ Stories `Thumb · Default`, `ThreeInAModal`, `TenInAModal`.
1183
+
1184
+ **Photos on a post** (cardds#226): three pieces. `Mosaic` takes 2 to 10 photos: two stand side by side, equally tall; three are one big photo left and two small right; from four up it shows the first three the same way and darkens the small lower one with `+n`, n the photos not shown (the scrim twice, so the number holds 4.5:1 over any photo; knobs `--mosaic-more-bg`, `--mosaic-more-ink`, `--mosaic-more-font`; the children after the third are not drawn). The mosaic's one accessible name is its `label`. `CardMedia full` is the rounded full-width picture OUTSIDE a card, in a `Page` of a full screen: edge to edge of its holder, corner `--r-media`, the picture's own ratio, a taller picture cut at its middle past `--card-media-max-ratio` (height ÷ width, default `1.25`, 4:5). `Panes` is also the photo slide show of a full screen: in a `Page`, one `Pane` per photo (a `CardMedia full`), up to 10; the dots stand on one line at 375px. Opening a photo to zoom is not in cardds. Stories `Mosaic · Two` · `Three` · `Seven`, `CardMedia · FullInAPage`, `Panes · PhotoSlides`.
1185
+
1108
1186
  ## Postcards
1109
1187
 
1110
1188
  A postcard is the one piece of mail with no envelope: the written side is the card, and the corner (a stamp, the postmark
package/icons.svg CHANGED
@@ -60,6 +60,7 @@
60
60
  <symbol id="lightbulb" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1.3.5 2.6 1.5 3.5.7.7 1.3 1.5 1.5 2.5"/><path d="M9 18h6"/><path d="M10 22h4"/></symbol>
61
61
  <symbol id="music" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18V5l12-2v13"/><circle cx="6" cy="18" r="3"/><circle cx="18" cy="16" r="3"/></symbol>
62
62
  <symbol id="file-text" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M10 9H8"/><path d="M16 13H8"/><path d="M16 17H8"/></symbol>
63
+ <symbol id="flag" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z"/><line x1="4" x2="4" y1="22" y2="15"/></symbol>
63
64
  <symbol id="hourglass" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 22h14"/><path d="M5 2h14"/><path d="M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22"/><path d="M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2"/></symbol>
64
65
  <symbol id="thermometer" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z"/></symbol>
65
66
  <symbol id="droplet" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z"/></symbol>
package/lint/rules.mjs CHANGED
@@ -235,12 +235,12 @@ export function checkSource(source, file, { classes = carddsClasses() } = {}) {
235
235
  add('row-label-button', 'warn', m.index, '<Row as="label"> holding a button and no htmlFor: a label presses the first control inside it, so a touch on the row\'s words presses that button, not its Check. Give the Check an id and the row htmlFor={id}.');
236
236
  }
237
237
 
238
- // 9 · a card never wraps a card (Lh 2026-10-17): a CardList, a CardFeed and a row card stand on the base or in a sheet's body, each card its own boundary.
238
+ // 9 · a card never wraps a card (Lh 2026-10-17): a CardList, a CardFeed, a FeedPost and a row card stand on the base or in a sheet's body, each card its own boundary.
239
239
  // `Card sm` inside a card is left alone: its own doc still names that place (not ruled yet)
240
240
  for (const m of text.matchAll(/<Card\b(?![\w.])/g)) {
241
241
  const el = elementAt(text, m.index);
242
242
  const inner = el.slice(tagAt(text, m.index).length);
243
- for (const c of inner.matchAll(/<(Card|CardList|CardFeed|FeedCard)\b(?![\w.])/g)) {
243
+ for (const c of inner.matchAll(/<(Card|CardList|CardFeed|FeedCard|FeedPost)\b(?![\w.])/g)) {
244
244
  if (c[1] === 'Card' && /\ssm\b(?!\s*=\s*\{\s*false)/.test(tagAt(inner, c.index))) continue;
245
245
  add('card-in-card', 'error', m.index + tagAt(text, m.index).length + c.index, `<${c[1]}> inside a <Card>: a card never wraps a card — stand the ${c[1] === 'Card' ? 'card' : c[1]} on the base or in a sheet's body, without a card round it. Rows inside a card are <Rows>/<Row>, which draw no boundary.`);
246
246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usableapp/cardds",
3
- "version": "0.7.178",
3
+ "version": "0.7.179",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "description": "card-first mobile design system, React-first: the components in src/ are thin wrappers over the CSS contract (css/*.css stays the only truth); gallery/ shows every story live (npm run dev).",