@adea-ai/app-framework 0.39.2 → 0.39.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.39.
|
|
1
|
+
{"version":"0.39.3","commit":"40dae0c01efd4e361693b913d2e525b9e84b40e9"}
|
package/package.json
CHANGED
|
@@ -283,7 +283,7 @@ function AppearanceHost(props: { popover?: AppearanceControlProps }) {
|
|
|
283
283
|
// no-op open→close from writing even if the action were invoked through
|
|
284
284
|
// another path. The sheet keeps Save available instead: with nothing to
|
|
285
285
|
// write, saving is dismissing, so the sheet never shows disabled-state
|
|
286
|
-
// copy
|
|
286
|
+
// copy, it reverts the (unchanged) draft and closes.
|
|
287
287
|
if (accentStatus()) return
|
|
288
288
|
if (!editor.dirty()) {
|
|
289
289
|
revertDraft()
|
|
@@ -365,8 +365,8 @@ function AppearanceHost(props: { popover?: AppearanceControlProps }) {
|
|
|
365
365
|
// line and disables Save while it is set. The embedded settings section
|
|
366
366
|
// keeps that disabled-with-reason treatment: its action row sits at the
|
|
367
367
|
// bottom of a long scrolling form, where "Save" being unavailable needs
|
|
368
|
-
// its one-line why. The sheet renders Save always available instead
|
|
369
|
-
// with no edits, saving is dismissing (save above)
|
|
368
|
+
// its one-line why. The sheet renders Save always available instead,
|
|
369
|
+
// with no edits, saving is dismissing (save above), so the sheet never
|
|
370
370
|
// opens showing "No changes to save yet." over its action row.
|
|
371
371
|
get saveDisabledReason() {
|
|
372
372
|
if (props.popover) return undefined
|