@snaptrude/plugin-core 1.0.1 → 1.0.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/AGENTS.md +1 -0
- package/CHANGELOG.md +6 -0
- package/api-manifest.json +1641 -94
- package/dist/api/design/index.d.ts +5 -0
- package/dist/api/design/index.d.ts.map +1 -1
- package/dist/api/design/text.d.ts +400 -0
- package/dist/api/design/text.d.ts.map +1 -0
- package/dist/api/presentation/drawings.d.ts +45 -0
- package/dist/api/presentation/drawings.d.ts.map +1 -1
- package/dist/api/presentation/graphics.d.ts +4 -0
- package/dist/api/presentation/graphics.d.ts.map +1 -1
- package/dist/api/presentation/placedViews.d.ts +29 -1
- package/dist/api/presentation/placedViews.d.ts.map +1 -1
- package/dist/api/presentation/standards.d.ts +14 -0
- package/dist/api/presentation/standards.d.ts.map +1 -1
- package/dist/index.cjs +2202 -2097
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2190 -2097
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/design/index.ts +5 -0
- package/src/api/design/text.ts +394 -0
- package/src/api/presentation/graphics.ts +4 -1
- package/src/api/presentation/placedViews.ts +12 -0
- package/src/api/presentation/standards.ts +6 -0
- package/test/designText.test.mjs +72 -0
- package/test/paperPensContract.test.mjs +39 -0
package/AGENTS.md
CHANGED
|
@@ -169,6 +169,7 @@ These are in-browser integration tests that exercise the plugin API end-to-end.
|
|
|
169
169
|
| `design/query/*` | `tests/designQuery.ts` |
|
|
170
170
|
| `design/selection/*` | `tests/designSelection.ts` |
|
|
171
171
|
| `design/lock.ts` | `tests/designLock.ts` |
|
|
172
|
+
| `design/text.ts` | `tests/designText.ts` |
|
|
172
173
|
| `design/delete/*` | `tests/delete.ts` |
|
|
173
174
|
| `design/erase/*` | `tests/erase.ts` |
|
|
174
175
|
| `design/doors/*` | `tests/doors.ts` |
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @snaptrude/plugin-core
|
|
2
2
|
|
|
3
|
+
## 1.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c05661a: Add `design.text` — authored text and annotations (Text / Annotate tools): `create`, `list`, `get`, `update`, `setLeader`; texts are `ComponentHandle`s, so delete / move / rotate / copy / hide / lock use the generic design APIs. Paper Pens gains a `"Text"` annotation category (projection pen = leader weight, `annotationText.Text.textMm` size, resolved `text.annotationMm`; no per-view override), and `presentation.placedViews.updateStyles` gains the `"Text"` and `"Annotation"` categories with `textFontFamily`, `textFontStyle` and `leaderVisible`.
|
|
8
|
+
|
|
3
9
|
## 1.0.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|