@tideworthy/tidysites-platform 0.10.5 → 0.10.7
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 +3 -3
- package/package.json +1 -1
- package/src/editor/TidyEditor.astro +9 -1
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.10.
|
|
3
|
+
## 0.10.7
|
|
4
4
|
|
|
5
5
|
- Editor: Publish live, Restore and Remove section confirm in a dialog of the editor's own, never the browser's box. The bar's note reads "A private copy to see working changes on the website, not publicly accessible."
|
|
6
6
|
|
|
7
|
-
## 0.10.5
|
|
7
|
+
## 0.10.5, 0.10.6
|
|
8
8
|
|
|
9
|
-
- Editor
|
|
9
|
+
- Editor bar: interim notes.
|
|
10
10
|
|
|
11
11
|
## 0.10.4
|
|
12
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tideworthy/tidysites-platform",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.7",
|
|
4
4
|
"description": "The Tidysites platform integration for EmDash sites: bootstrap, sessions, maintenance, health, and publish hooks under /_tidy/*.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -55,7 +55,7 @@ const htmlClass = !signedIn ? (signInUrl ? "tidy-has-bar tidy-idle" : "") : !act
|
|
|
55
55
|
{(signedIn || signInUrl) && (
|
|
56
56
|
<>
|
|
57
57
|
<div class="tidy-bar" id="tidy-bar" role="region" aria-label="Site editing">
|
|
58
|
-
<span class="tidy-bar-label"><span class="tidy-bar-dot" aria-hidden="true"></span>{label} website<span class="tidy-bar-note">
|
|
58
|
+
<span class="tidy-bar-label"><span class="tidy-bar-dot" aria-hidden="true"></span>{label} website<span class="tidy-bar-note">A private copy to see working changes on the website, not publicly accessible.</span></span>
|
|
59
59
|
<div class="tidy-bar-actions" id="tidy-bar-actions">
|
|
60
60
|
{!signedIn && <a class="tidy-btn tidy-btn-primary" href={signInUrl!}>Sign in to edit</a>}
|
|
61
61
|
{signedIn && !active && <a class="tidy-btn tidy-btn-primary" href={toggle(true)}>Edit</a>}
|
|
@@ -135,6 +135,14 @@ const htmlClass = !signedIn ? (signInUrl ? "tidy-has-bar tidy-idle" : "") : !act
|
|
|
135
135
|
.tidy-add-item:hover { border-color: #2b7fd1; background: rgba(43,127,209,.06); }
|
|
136
136
|
.tidy-add-item span { color: #4a5851; font-size: 13px; }
|
|
137
137
|
.tidy-viewer { position: fixed; inset: 0; z-index: 2147483002; display: flex; flex-direction: column; background: #fff; }
|
|
138
|
+
.tidy-dialog-backdrop { position: fixed; inset: 0; z-index: 2147483003; display: grid; place-items: center; background: rgba(23,33,28,.45); padding: 16px; }
|
|
139
|
+
.tidy-dialog { width: min(440px, 100%); background: #fff; color: #17211c; border-radius: 12px; padding: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.3); font: 14px/1.45 system-ui, sans-serif; }
|
|
140
|
+
.tidy-dialog h2 { margin: 0 0 6px; font-size: 17px; }
|
|
141
|
+
.tidy-dialog p { margin: 0 0 18px; color: #4a5851; }
|
|
142
|
+
.tidy-dialog-actions { display: flex; gap: 8px; justify-content: flex-end; }
|
|
143
|
+
.tidy-dialog .tidy-btn { color: #17211c; border-color: #c9d2cc; background: #fff; padding: 7px 14px; }
|
|
144
|
+
.tidy-dialog .tidy-btn-primary { background: #2b7fd1; border-color: #2b7fd1; color: #fff; }
|
|
145
|
+
.tidy-dialog .tidy-btn-danger { background: #b3261e; border-color: #b3261e; color: #fff; }
|
|
138
146
|
.tidy-viewer[hidden] { display: none; }
|
|
139
147
|
.tidy-viewer-bar { display: flex; align-items: center; gap: 8px; padding: 0 16px; height: 44px; background: #17211c; color: #fff; font: 500 13px/1 system-ui, sans-serif; }
|
|
140
148
|
.tidy-viewer-label { flex: 1; opacity: .85; }
|
package/src/version.ts
CHANGED