@nxgt/material 2.6.1 → 2.6.2
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.
- package/CHANGELOG.md +1759 -0
- package/README.md +24 -2
- package/docs/getting-started.md +3 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -35,6 +35,7 @@ drag-and-drop, i18n, and `Icon`. Tailwind CSS v4 + Base UI.
|
|
|
35
35
|
- [Guides](#guides)
|
|
36
36
|
- [Components](#components)
|
|
37
37
|
- [Traps](#traps)
|
|
38
|
+
- [Using with Claude Code](#using-with-claude-code)
|
|
38
39
|
- [Documentation](#documentation)
|
|
39
40
|
- [Development](#development)
|
|
40
41
|
- [License](#license)
|
|
@@ -72,8 +73,8 @@ and [maps](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/maps.md) gu
|
|
|
72
73
|
|
|
73
74
|
The tarball is the built `dist/`, plus the Tailwind source stylesheet
|
|
74
75
|
(`lib/styles.css` and the component stylesheets it imports,
|
|
75
|
-
`lib/components/**/*.css`), `lib/map/map.css` and
|
|
76
|
-
`postinstall` build.
|
|
76
|
+
`lib/components/**/*.css`), `lib/map/map.css`, `docs/` and, from the release
|
|
77
|
+
after 2.6.1, `CHANGELOG.md`. There is no `postinstall` build.
|
|
77
78
|
|
|
78
79
|
## Setup
|
|
79
80
|
|
|
@@ -521,6 +522,27 @@ The ones that cost the most time. Every error message, with its fix, is in
|
|
|
521
522
|
| `(0 , t.createContext) is not a function` in `next build`, for a route handler that imports `/print` | `export default withNxgtPrint(config)` from `@nxgt/material/next`, or `serverExternalPackages: ['@nxgt/material']` by hand ([troubleshooting](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/troubleshooting.md#typeerror-0--tcreatecontext-is-not-a-function-in-a-nextjs-route-handler)) |
|
|
522
523
|
| Next.js `output: 'standalone'`: the PDF route answers `500`, `Cannot find module '…/pdfkit/js/standard-fonts/Helvetica.cjs'` | `withNxgtPrint(config)` from `@nxgt/material/next`, or pdfkit's `.cjs` fonts in `outputFileTracingIncludes` by hand ([printing](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/guides/printing.md#nextjs-serverexternalpackages-and-output-standalone)) |
|
|
523
524
|
|
|
525
|
+
## Using with Claude Code
|
|
526
|
+
|
|
527
|
+
The `nxgt-material` plugin teaches Claude Code to build a React app with this
|
|
528
|
+
package. Add the marketplace once, then install the plugin in the app's
|
|
529
|
+
repository:
|
|
530
|
+
|
|
531
|
+
```
|
|
532
|
+
/plugin marketplace add softistx/nxgt-material
|
|
533
|
+
/plugin install nxgt-material@nxgt-material
|
|
534
|
+
```
|
|
535
|
+
|
|
536
|
+
The marketplace lives in the `softistx/nxgt-material` GitHub repository,
|
|
537
|
+
which is private: adding it needs a GitHub account with access to it.
|
|
538
|
+
|
|
539
|
+
| Part | What it does |
|
|
540
|
+
| --- | --- |
|
|
541
|
+
| skill `use-nxgt-material` | picks the component by need, and wires imports, `styles.css` and the tokens, forms, i18n, tests by role and SSR from these docs, read in `node_modules/@nxgt/material/docs/` |
|
|
542
|
+
| agent `screen-builder` | builds a page or a form from the catalogue, with tests by role and name and an accessibility check |
|
|
543
|
+
| agent `upgrade-assistant` | upgrades between two versions: reads the release notes in between, applies the migrations that match, runs the app's typecheck and tests |
|
|
544
|
+
| hook (after Write / Edit) | names the component and its docs page when a file hand-rolls one (a native date input, a home-made dialog or tabs, a paged `<table>`, a file input with a preview). Advisory only; `NXGT_MATERIAL_ADVISOR_DISABLE=1` turns it off |
|
|
545
|
+
|
|
524
546
|
## Documentation
|
|
525
547
|
|
|
526
548
|
- [docs/README.md](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/README.md) — every page, and when to read it
|
package/docs/getting-started.md
CHANGED
|
@@ -31,8 +31,9 @@ does not import that entry never has them in its tree.
|
|
|
31
31
|
| `@nxgt/material/map` | `bun add leaflet react-leaflet @react-leaflet/core @adamscybot/react-leaflet-component-marker react-geolocated` ([maps](guides/maps.md)) |
|
|
32
32
|
|
|
33
33
|
The tarball contains the built `dist/`, `lib/styles.css`, the component
|
|
34
|
-
stylesheets it imports (`lib/components/**/*.css`), `lib/map/map.css
|
|
35
|
-
these docs. There is no
|
|
34
|
+
stylesheets it imports (`lib/components/**/*.css`), `lib/map/map.css`,
|
|
35
|
+
these docs and `CHANGELOG.md` (from the release after 2.6.1). There is no
|
|
36
|
+
`postinstall` build step.
|
|
36
37
|
|
|
37
38
|
## Styles
|
|
38
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nxgt/material",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"email": "stevegires@gmail.com"
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"lib/components/**/*.css",
|
|
15
15
|
"docs",
|
|
16
16
|
"README.md",
|
|
17
|
+
"CHANGELOG.md",
|
|
17
18
|
"package.json"
|
|
18
19
|
],
|
|
19
20
|
"exports": {
|
|
@@ -113,7 +114,7 @@
|
|
|
113
114
|
"docs:previews": "vitest run --project previews"
|
|
114
115
|
},
|
|
115
116
|
"dependencies": {
|
|
116
|
-
"@nxgt/material-core": "^0.3.
|
|
117
|
+
"@nxgt/material-core": "^0.3.2",
|
|
117
118
|
"@base-ui/react": "^1.6.0",
|
|
118
119
|
"@dnd-kit/core": "^6.3.1",
|
|
119
120
|
"@dnd-kit/sortable": "^10.0.0",
|