makersclaw 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/package.json +1 -1
  2. package/r/annotate.json +3 -3
  3. package/r/approval-request.json +2 -2
  4. package/r/audio-player.json +2 -2
  5. package/r/auth-form.json +2 -2
  6. package/r/board.json +2 -2
  7. package/r/calendar-view.json +3 -3
  8. package/r/cart.json +2 -2
  9. package/r/chart.json +2 -2
  10. package/r/chat.json +2 -2
  11. package/r/code-editor.json +2 -2
  12. package/r/comment-box.json +3 -3
  13. package/r/contact-section.json +2 -2
  14. package/r/csv-import.json +3 -3
  15. package/r/data-table.json +2 -2
  16. package/r/diagram.json +2 -2
  17. package/r/doc-editor.json +2 -2
  18. package/r/doc-page.json +3 -3
  19. package/r/email-render.json +2 -2
  20. package/r/faq.json +2 -2
  21. package/r/file-upload.json +2 -2
  22. package/r/flow-canvas.json +2 -2
  23. package/r/footer.json +2 -2
  24. package/r/gantt.json +3 -3
  25. package/r/job-panel.json +2 -2
  26. package/r/json-editor.json +3 -3
  27. package/r/map.json +2 -2
  28. package/r/menubar.json +2 -2
  29. package/r/mind-map.json +3 -3
  30. package/r/navigation-menu.json +2 -2
  31. package/r/order-detail.json +2 -2
  32. package/r/org-chart.json +3 -3
  33. package/r/page-builder.json +2 -2
  34. package/r/payment-methods.json +2 -2
  35. package/r/pdf-document.json +2 -2
  36. package/r/pdf-viewer.json +2 -2
  37. package/r/product-detail.json +2 -2
  38. package/r/product-grid.json +3 -3
  39. package/r/record-form.json +2 -2
  40. package/r/record-notes.json +4 -4
  41. package/r/registry.json +121 -121
  42. package/r/search-dialog.json +2 -2
  43. package/r/settings-list.json +2 -2
  44. package/r/setup-checklist.json +2 -2
  45. package/r/share-dialog.json +2 -2
  46. package/r/sidebar.json +2 -2
  47. package/r/signature-pad.json +2 -2
  48. package/r/sketch-canvas.json +2 -2
  49. package/r/spreadsheet.json +2 -2
  50. package/r/stat-cards.json +3 -3
  51. package/r/task-list.json +3 -3
  52. package/r/task-model.json +2 -2
  53. package/r/testimonials.json +2 -2
  54. package/r/transaction-list.json +2 -2
  55. package/r/whiteboard.json +3 -3
  56. package/src/cli.mjs +19 -6
  57. package/src/registry.mjs +38 -4
  58. package/src/shadcn.mjs +6 -1
@@ -5,7 +5,7 @@
5
5
  "title": "OrderDetail",
6
6
  "description": "One placed order on a page: its number, status and date, the items, the delivery address and contact, a timeline from placed to delivered (Steps), and the totals, with Track order and Invoice actions. Loading, error and not-found states built in.",
7
7
  "registryDependencies": [
8
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/core.json"
8
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/core.json"
9
9
  ],
10
10
  "dependencies": [],
11
11
  "files": [
@@ -47,7 +47,7 @@
47
47
  "docs": "Installed to components/makersclaw/blocks/order-detail. Import: import { OrderDetail } from \"@/components/makersclaw/blocks/order-detail\". Props and an example: components/makersclaw/blocks/order-detail/README.md. Makersclaw builds whole apps from these blocks: https://makersclaw.com",
48
48
  "meta": {
49
49
  "makersclaw": {
50
- "version": "0.3.0",
50
+ "version": "0.3.1",
51
51
  "useWhen": "A buyer or an operator opens one order: \"where is my order\", an order confirmation page, a support view of a purchase. Not for a list of orders (data-table) or for a basket before paying (cart)."
52
52
  }
53
53
  }
package/r/org-chart.json CHANGED
@@ -5,8 +5,8 @@
5
5
  "title": "OrgChart",
6
6
  "description": "An org chart on flow-canvas: people laid out top down from a flat list (each names a manager), managers centred over their teams, a team with no managers in it as a compact column, every line drawn for you. Teams fold past the first levels behind a chip that says how many are hidden; search finds a person, unfolds the way to them, centres them and lights their chain of managers; a card opens a details sheet (reports to, direct reports, team size). Colour strips and a legend by department. Optional: drag a card onto another to change someone's manager (async { ok }, optimistic, with Undo). Keyboard throughout.",
7
7
  "registryDependencies": [
8
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/core.json",
9
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/flow-canvas.json"
8
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/core.json",
9
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/flow-canvas.json"
10
10
  ],
11
11
  "dependencies": [],
12
12
  "files": [
@@ -59,7 +59,7 @@
59
59
  "docs": "Installed to components/makersclaw/blocks/org-chart. Import: import { OrgChart, buildOrg, layoutOrg, chainOf, orgToText, groupHues } from \"@/components/makersclaw/blocks/org-chart\". Props and an example: components/makersclaw/blocks/org-chart/README.md. Makersclaw builds whole apps from these blocks: https://makersclaw.com",
60
60
  "meta": {
61
61
  "makersclaw": {
62
- "version": "0.3.0",
62
+ "version": "0.3.1",
63
63
  "useWhen": "A screen that shows who reports to whom: a team or company directory's chart, an account's buying committee as a hierarchy, a reporting line to check before a reorg. Not for a free-form map of people and notes (account-map, flow-canvas), a plain list of people (data-table), or a tree of ideas (mind-map)."
64
64
  }
65
65
  }
@@ -5,7 +5,7 @@
5
5
  "title": "PageBuilder",
6
6
  "description": "A visual page editor (GrapesJS core) in the workspace theme: our own clean panels instead of GrapesJS's chrome — an Add panel of section and basic blocks (click or drag), a Layers tree, a Design panel limited to theme-token choices (colours, type, spacing, width, corners, borders), a device toggle (desktop, tablet, phone), undo/redo, preview, and a friendly empty state with starter templates. Pages style with CSS variables, so a saved page repaints with the theme. Saves out as { html, css, project }; PageView shows a saved page in an app.",
7
7
  "registryDependencies": [
8
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/core.json"
8
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/core.json"
9
9
  ],
10
10
  "dependencies": [
11
11
  "grapesjs@0.22.16",
@@ -98,7 +98,7 @@
98
98
  "docs": "Installed to components/makersclaw/blocks/page-builder. Import: import { PageBuilder, usePageBuilder, readPage, DEVICES, PageView, standaloneDocument, BlockThumb, PageThumb, THUMB_NAMES, BASE_CSS, SECTION_BLOCKS, BASIC_BLOCKS, STARTER_TEMPLATES, STYLE_GROUPS, COLOR_TOKENS, groupsFor, currentOption, patchFor, tokenCss, fontFaceCss, fontLinks, PAGE_BASE_CSS, emptyPage, isPageEmpty, cleanHtml, cleanCss, normalizeBlock, templatePage, pageDocument, projectSections } from \"@/components/makersclaw/blocks/page-builder\". Props and an example: components/makersclaw/blocks/page-builder/README.md. Makersclaw builds whole apps from these blocks: https://makersclaw.com",
99
99
  "meta": {
100
100
  "makersclaw": {
101
- "version": "0.3.0",
101
+ "version": "0.3.1",
102
102
  "useWhen": "A screen where someone builds or edits a web page visually: a landing page, a waitlist or launch page, a simple site section, an announcement page. landing-builder is built on it (section templates, publishing). Not for rich text in a document (doc-editor), an email body (newsletter-builder), a form of fields (record-form) or a freeform drawing (sketch-canvas)."
103
103
  }
104
104
  }
@@ -5,7 +5,7 @@
5
5
  "title": "PaymentMethods",
6
6
  "description": "A customer's SAVED payment methods as cards: brand, last four digits, expiry (expired and expiring soon flagged) and a Default badge; Make default, Remove behind a Confirm, and Add, which hands off to the payment provider (Paddle). Never a card-number field. Empty, loading and error states built in.",
7
7
  "registryDependencies": [
8
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/core.json"
8
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/core.json"
9
9
  ],
10
10
  "dependencies": [],
11
11
  "files": [
@@ -44,7 +44,7 @@
44
44
  "docs": "Installed to components/makersclaw/blocks/payment-methods. Import: import { PaymentMethods } from \"@/components/makersclaw/blocks/payment-methods\". Props and an example: components/makersclaw/blocks/payment-methods/README.md. Makersclaw builds whole apps from these blocks: https://makersclaw.com",
45
45
  "meta": {
46
46
  "makersclaw": {
47
- "version": "0.3.0",
47
+ "version": "0.3.1",
48
48
  "useWhen": "A billing or account page where a customer manages the cards and wallets on file. Not for taking a payment (cart's checkout step hands off to Paddle) or for a list of charges (transaction-list)."
49
49
  }
50
50
  }
@@ -5,7 +5,7 @@
5
5
  "title": "PdfDocument",
6
6
  "description": "Make PDFs in the workspace theme (@react-pdf/renderer): a small set of document primitives (headings, text, label/value fields, tables with repeating headers, totals, callouts, badges, rows and columns) and a clean ready-made quote / estimate / invoice layout, rendered in the browser to a Blob with renderPdf(doc). The theme's colours are read from the page when the PDF is made (a PDF cannot read CSS variables): white paper, near-black ink and the theme's primary as the one accent. Also a live-preview hook (usePdf), a Download PDF button, and the quote sums and money formatting as plain functions.",
7
7
  "registryDependencies": [
8
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/core.json"
8
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/core.json"
9
9
  ],
10
10
  "dependencies": [
11
11
  "@react-pdf/renderer@4.9.0"
@@ -72,7 +72,7 @@
72
72
  "docs": "Installed to components/makersclaw/blocks/pdf-document. Import: import { renderPdf, usePdf, PdfDownloadButton, downloadBlob, registerPdfFont, PdfDocument, PdfStack, PdfRow, PdfCol, PdfText, PdfHeading, PdfLabel, PdfField, PdfDivider, PdfCallout, PdfBadge, PdfTable, PdfTotals, PdfLines, PdfView, PdfRawText, PdfImage, PdfLink, PdfThemeProvider, usePdfTheme, PDF_TYPE, QuoteDocument, quoteTotals, lineAmount, round2, formatMoney, formatQuantity, formatPdfDate, resolvePdfTheme, buildPdfTheme, DEFAULT_PDF_THEME } from \"@/components/makersclaw/blocks/pdf-document\". Props and an example: components/makersclaw/blocks/pdf-document/README.md. Makersclaw builds whole apps from these blocks: https://makersclaw.com",
73
73
  "meta": {
74
74
  "makersclaw": {
75
- "version": "0.3.0",
75
+ "version": "0.3.1",
76
76
  "useWhen": "A screen produces a document someone downloads, prints, emails or signs: a quote, an invoice, an estimate, a receipt, a statement, a certificate, a one-page report. The quote-builder and proposal blocks print through it. Not for showing an existing PDF on screen (pdf-viewer) or for a web page people read in the app (doc-page)."
77
77
  }
78
78
  }
package/r/pdf-viewer.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "title": "PdfViewer",
6
6
  "description": "A PDF on screen, in the workspace theme (react-pdf + pdf.js): pages in one smooth scrolling column (only the pages near the window are drawn, so long files stay fast), a thumbnail rail, a page box, zoom by steps, fit width, fit page and Ctrl/⌘ + wheel or pinch, find in the text with every match marked, and highlights with notes: select text, choose Highlight or Add note, and it saves through onHighlight; notes are edited in a side list, colours are theme tokens, delete has Undo. Opens a URL, a Blob or bytes; password-protected files ask for the password; a narrow viewer turns its rails into sheets. The pdf.js worker ships with the app (no public/ file, no CDN).",
7
7
  "registryDependencies": [
8
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/core.json"
8
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/core.json"
9
9
  ],
10
10
  "dependencies": [
11
11
  "react-pdf@11.0.0",
@@ -81,7 +81,7 @@
81
81
  "docs": "Installed to components/makersclaw/blocks/pdf-viewer. Import: import { PdfViewer, usePdfViewer, HIGHLIGHT_TONES, findMatches, toPageRects, mergeRects, sortHighlights, highlightAt, fitScale, ZOOM_STEPS } from \"@/components/makersclaw/blocks/pdf-viewer\". Props and an example: components/makersclaw/blocks/pdf-viewer/README.md. Makersclaw builds whole apps from these blocks: https://makersclaw.com",
82
82
  "meta": {
83
83
  "makersclaw": {
84
- "version": "0.3.0",
84
+ "version": "0.3.1",
85
85
  "useWhen": "A screen shows an existing PDF: a contract or proposal to review, a signed agreement, an uploaded invoice or statement, a report, a generated quote before it is sent; or people mark up a PDF and leave notes on passages. Pair it with pdf-document to preview a PDF you make. Not for making PDFs (pdf-document), for rich text people edit (doc-editor), or for marking up a screenshot (annotate)."
86
86
  }
87
87
  }
@@ -5,7 +5,7 @@
5
5
  "title": "Product detail",
6
6
  "description": "One product on its own page: pictures (thumbnails, a side rail, a carousel, a tall stack, or one scene with the buy box floating over it), brand, name, price with the old price struck through, star rating and review count, options (sizes as a segmented row, colours as swatches, long lists as a select, plans as cards with their own price), a quantity control, add to cart through an async callback that may fail, buy now, save to favourites, perks, and details in an accordion or tabs. Loading, error, not-found and sold-out states.",
7
7
  "registryDependencies": [
8
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/core.json"
8
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/core.json"
9
9
  ],
10
10
  "dependencies": [],
11
11
  "files": [
@@ -69,7 +69,7 @@
69
69
  "docs": "Installed to components/makersclaw/blocks/product-detail. Import: import { ProductDetail, ProductMedia, OptionPicker, QuantityControl, Price, formatPrice, cartLine } from \"@/components/makersclaw/blocks/product-detail\". Props and an example: components/makersclaw/blocks/product-detail/README.md. Makersclaw builds whole apps from these blocks: https://makersclaw.com",
70
70
  "meta": {
71
71
  "makersclaw": {
72
- "version": "0.3.0",
72
+ "version": "0.3.1",
73
73
  "useWhen": "Selling one thing a customer looks at before buying: a product page, a template or digital download with plans, a merch item, a booking add-on. Not for many products at once (product-grid), the cart itself (cart), or a plan comparison table."
74
74
  }
75
75
  }
@@ -5,8 +5,8 @@
5
5
  "title": "Product grid",
6
6
  "description": "Products as cards in a grid: picture, badge, favourite heart, brand, name, star rating, price with the old one struck through, and a quick add to cart through an async callback that may fail (\"Choose options\" when the product has sizes or colours). Facet filters as selects that also match a product's option values, a sort, a live count, a lead tile that takes a double cell (a picture or a muted looping video), and a promo card for collection tiles. Loading, error, empty and no-matches states; two columns on a phone.",
7
7
  "registryDependencies": [
8
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/core.json",
9
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/product-detail.json"
8
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/core.json",
9
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/product-detail.json"
10
10
  ],
11
11
  "dependencies": [],
12
12
  "files": [
@@ -58,7 +58,7 @@
58
58
  "docs": "Installed to components/makersclaw/blocks/product-grid. Import: import { ProductGrid, ProductCard, PromoTile, productMatches } from \"@/components/makersclaw/blocks/product-grid\". Props and an example: components/makersclaw/blocks/product-grid/README.md. Makersclaw builds whole apps from these blocks: https://makersclaw.com",
59
59
  "meta": {
60
60
  "makersclaw": {
61
- "version": "0.3.0",
61
+ "version": "0.3.1",
62
62
  "useWhen": "A shop's catalogue, a collection page, related products under a product page, a row of promotions ('New', 'Sale'). Not for records to scan and act on in columns (data-table), one product's page (product-detail), or the cart (cart)."
63
63
  }
64
64
  }
@@ -5,7 +5,7 @@
5
5
  "title": "RecordForm",
6
6
  "description": "Edit or create one record from a list of fields given as data (type, label, required, options, help, validation), grouped into titled sections — text, email, number, password, select, combobox, tags, radio, choice cards with prices, checkboxes, switch, date, time, rating, a photo and a row of images. It checks as you type, saves through an async onSave that answers { ok } or per-field errors shown under each field, and sits in a card, on a page (sections split title-left) or in a dialog.",
7
7
  "registryDependencies": [
8
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/core.json"
8
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/core.json"
9
9
  ],
10
10
  "dependencies": [],
11
11
  "files": [
@@ -60,7 +60,7 @@
60
60
  "docs": "Installed to components/makersclaw/blocks/record-form. Import: import { RecordForm } from \"@/components/makersclaw/blocks/record-form\". Props and an example: components/makersclaw/blocks/record-form/README.md. Makersclaw builds whole apps from these blocks: https://makersclaw.com",
61
61
  "meta": {
62
62
  "makersclaw": {
63
- "version": "0.3.0",
63
+ "version": "0.3.1",
64
64
  "useWhen": "A screen edits one record's fields: a profile, a product, a team member, account details, a sign-up or application form, a settings page of fields with one Save. Not for a list of records (data-table), for toggles that each save on their own (settings-list), or for sign-in (auth-form)."
65
65
  }
66
66
  }
@@ -5,9 +5,9 @@
5
5
  "title": "RecordNotes",
6
6
  "description": "Dated rich-text notes on one record (a deal, a contact, a company), to sit beside record-form: a composer with @mentions and Cmd/Ctrl+Enter adds a note; the notes follow newest first (or oldest), grouped by day, each with author avatar, name and relative time; your own notes edit in place and delete after a confirm. Every save is an async callback answering { ok }; a failure keeps the words and says why where it happened.",
7
7
  "registryDependencies": [
8
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/core.json",
9
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/comment-box.json",
10
- "https://cdn.jsdelivr.net/npm/makersclaw@0.3.0/r/doc-editor.json"
8
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/core.json",
9
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/comment-box.json",
10
+ "https://cdn.jsdelivr.net/npm/makersclaw@0.3.1/r/doc-editor.json"
11
11
  ],
12
12
  "dependencies": [],
13
13
  "files": [
@@ -48,7 +48,7 @@
48
48
  "docs": "Installed to components/makersclaw/blocks/record-notes. Import: import { RecordNotes } from \"@/components/makersclaw/blocks/record-notes\". Props and an example: components/makersclaw/blocks/record-notes/README.md. Makersclaw builds whole apps from these blocks: https://makersclaw.com",
49
49
  "meta": {
50
50
  "makersclaw": {
51
- "version": "0.3.0",
51
+ "version": "0.3.1",
52
52
  "useWhen": "A record page keeps a running log of notes: call notes on a deal, context on a contact, a history on a customer or a candidate. Not a discussion thread without edit and delete (comment-box), not one long document per record (doc-editor or doc-page), not an automatic activity feed."
53
53
  }
54
54
  }