@ai-matrx/records 0.99.16 → 0.99.17
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 +6 -0
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.cjs.map +1 -1
- package/dist/forms/index.js +1 -1
- package/dist/forms/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records
|
|
2
2
|
|
|
3
|
+
## 0.99.17
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/records/v0.99.16..npm/records/v0.99.17 -- apps/shared/records`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
3
9
|
## 0.99.16
|
|
4
10
|
### Unreleased
|
|
5
11
|
|
package/dist/forms/index.cjs
CHANGED
|
@@ -218,7 +218,7 @@ function formEmbedSnippet(kind, formUrl, options) {
|
|
|
218
218
|
const esc = (v) => v.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<");
|
|
219
219
|
if (kind === "inline") {
|
|
220
220
|
const height = options?.height && options.height > 0 ? Math.round(options.height) : 640;
|
|
221
|
-
return `<iframe src="${esc(src)}"
|
|
221
|
+
return `<iframe src="${esc(src)}" aria-label="${esc(label)}" style="width:100%;height:${height}px;border:0" loading="lazy" allow="clipboard-write"></iframe>`;
|
|
222
222
|
}
|
|
223
223
|
const script = `${url.origin}/embed/form.js`;
|
|
224
224
|
return `<button type="button" data-matrx-form="${esc(src)}" data-matrx-form-mode="${kind}">${esc(label)}</button>
|