@threadlabs/looma 0.53.15 → 0.53.16
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/components/ui-button/ui-button.html +3 -2
- package/components/ui-editor/ui-editor.html +2 -1
- package/dist/index.js +1 -1
- package/docs/catalog.json +1 -1
- package/editor/components.css +3 -2
- package/editor/file-deletions.d.ts +2 -0
- package/editor/index.js +27 -5
- package/editor/node-views/file-attachment.d.ts +1 -1
- package/package.json +1 -1
- package/styles/ui-button.css +3 -2
|
@@ -350,11 +350,12 @@
|
|
|
350
350
|
box-shadow: none;
|
|
351
351
|
background-image: none;
|
|
352
352
|
}
|
|
353
|
-
:host[
|
|
353
|
+
:host([size="lg"])[data-appearance="card"] {
|
|
354
354
|
min-block-size: max(var(--ui-control-min-block-size), var(--ui-control-size-lg));
|
|
355
355
|
}
|
|
356
|
-
:host[
|
|
356
|
+
:host([size="sm"])[data-appearance="card"] {
|
|
357
357
|
min-block-size: var(--ui-control-size-sm);
|
|
358
|
+
align-items: center !important;
|
|
358
359
|
gap: var(--ui-space-2) !important;
|
|
359
360
|
}
|
|
360
361
|
:host([fit])[data-appearance="card"] {
|
|
@@ -102,7 +102,8 @@
|
|
|
102
102
|
></returns>Confirm permanent deletion. Return false or null to keep the file and block.</request>
|
|
103
103
|
<request name="file-delete" type="object"><prop name="file" type="unknown" required></prop><returns type="object({ deleted: boolean })"></returns>Delete the
|
|
104
104
|
retained original after confirmation. The editor removes its block optimistically; rejection restores it. File presentation uses attachment:href reference
|
|
105
|
-
entries so undo can restore a disabled deleted-file block
|
|
105
|
+
entries so undo can restore a disabled deleted-file block. Editable references remain removable through ordinary document changes after their original is
|
|
106
|
+
deleted; that removal does not call this request.</request>
|
|
106
107
|
<request name="image-delivery" returns="unknown"
|
|
107
108
|
>The host's synchronous source and rendition policy, resolved before the editor mounts. This transient policy is never persisted.</request>
|
|
108
109
|
</defs>
|