@aceshooting/lyra-ui 31.1.1 → 31.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/components/data/tree/tree-data-expansion.js +1 -0
- package/dist/components/data/tree/tree-item.class.d.ts +10 -4
- package/dist/components/data/tree/tree-item.class.js +5 -2
- package/dist/components/data/tree/tree-item.styles.js +1 -1
- package/dist/components/data/tree/tree-owner-controller.js +1 -1
- package/dist/components/data/tree/tree-pointer-reorder.js +1 -0
- package/dist/components/data/tree/tree-types.d.ts +5 -1
- package/dist/components/data/tree/tree.class.d.ts +27 -9
- package/dist/components/data/tree/tree.class.js +5 -3
- package/dist/components/data/tree/tree.styles.js +1 -1
- package/dist/components/forms/select/select.class.js +1 -1
- package/dist/events.d.ts +10 -1
- package/dist/framework-types.d.ts +1 -1
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/sizes.styles.js +1 -1
- package/dist/lyra.d.ts +1 -1
- package/llms/components/lr-tree-item.md +1 -1
- package/llms/components/lr-tree.md +59 -7
- package/llms/peers.md +1 -1
- package/llms/shared/ai-and-peers.md +10 -1
- package/llms/shared.md +10 -1
- package/locales.json +1 -1
- package/package.json +3 -3
package/llms/shared.md
CHANGED
|
@@ -3245,7 +3245,16 @@ import { createDocxSession } from '@aceshooting/lyra-docs/docx';
|
|
|
3245
3245
|
|
|
3246
3246
|
`lr-docx-editor` provides command search (Ctrl/Command+K), bounded find excerpts and
|
|
3247
3247
|
replace-and-advance, Outline, Checks and Review panels, table formatting and local raster
|
|
3248
|
-
image tools.
|
|
3248
|
+
image tools. Set `document-tools-placement="first-row"` to put document tools after insertion.
|
|
3249
|
+
With `toolbar-placement="layout"`, a parent grid can place `::part(toolbar-area)` across the
|
|
3250
|
+
page and `::part(workspace)` between sidebars. The toolbar follows its own width, and
|
|
3251
|
+
`zoom="fit"` follows the document column. Set `--lr-docx-editor-tool-border` to style toolbar
|
|
3252
|
+
icon borders. `toolbar-layout="auto"` fits the toolbar groups to their contents; `density="compact"`
|
|
3253
|
+
shrinks tools without changing dialog fields. `file-actions` selects toolbar file buttons, and
|
|
3254
|
+
cancelable `lr-new-request`/`lr-open-request` events let the host supply a template or file chooser.
|
|
3255
|
+
[Page-wide toolbar example](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-docs/README.md#page-wide-toolbar-layout).
|
|
3256
|
+
|
|
3257
|
+
`createDocxSession({ mount })` supports a host-owned toolbar; it requires a
|
|
3249
3258
|
connected empty light-DOM mount. Both routes expose `can()`/`execute()`, `find()`/
|
|
3250
3259
|
`selectMatch()`/`replaceMatch()`, `outline()`/`selectOutlineItem()`, `inspectDocument()`/
|
|
3251
3260
|
`selectDiagnostic()`, and `review()`/`selectReviewItem()`. Await `execute()` before inspecting its
|