@a3s-lab/office 0.48.0 → 0.48.1
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/README.md +10 -0
- package/dist/styles.css +33 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -309,6 +309,16 @@ and [CLI reference](./docs/latest/en/cli-reference.md).
|
|
|
309
309
|
|
|
310
310
|
## Current release
|
|
311
311
|
|
|
312
|
+
Version `0.48.1` fixes the Writer floating selection toolbar's split emphasis
|
|
313
|
+
controls without changing the document model or public command contract:
|
|
314
|
+
|
|
315
|
+
- Underline and strikethrough controls now reset browser-native button
|
|
316
|
+
appearance and use the same compact themed states as the surrounding
|
|
317
|
+
actions, including one-pixel grouping dividers and keyboard focus treatment.
|
|
318
|
+
- The fix is covered by a browser visual contract in both desktop and compact
|
|
319
|
+
viewports; formatting commands, accessibility names, and split menus remain
|
|
320
|
+
unchanged.
|
|
321
|
+
|
|
312
322
|
Version `0.48.0` adds bounded native Writer content controls without
|
|
313
323
|
introducing a second document model or a remote service:
|
|
314
324
|
|
package/dist/styles.css
CHANGED
|
@@ -7650,6 +7650,39 @@ button.work-office-collaboration-participant:hover .work-office-collaboration-lo
|
|
|
7650
7650
|
min-width: 12px;
|
|
7651
7651
|
}
|
|
7652
7652
|
|
|
7653
|
+
.work-document-selection-toolbar .work-document-underline-split-root > button, .work-document-selection-toolbar .work-document-strike-split-root > button {
|
|
7654
|
+
color: var(--a3s-muted);
|
|
7655
|
+
cursor: pointer;
|
|
7656
|
+
appearance: none;
|
|
7657
|
+
touch-action: manipulation;
|
|
7658
|
+
background: none;
|
|
7659
|
+
border: 1px solid #0000;
|
|
7660
|
+
flex: none;
|
|
7661
|
+
place-items: center;
|
|
7662
|
+
margin: 0;
|
|
7663
|
+
display: inline-grid;
|
|
7664
|
+
}
|
|
7665
|
+
|
|
7666
|
+
.work-document-selection-toolbar .work-document-underline-split-root > button:hover, .work-document-selection-toolbar .work-document-strike-split-root > button:hover {
|
|
7667
|
+
border-color: var(--a3s-line);
|
|
7668
|
+
background: var(--a3s-panel-soft);
|
|
7669
|
+
color: var(--a3s-ink);
|
|
7670
|
+
}
|
|
7671
|
+
|
|
7672
|
+
.work-document-selection-toolbar .work-document-underline-split-root > button[aria-pressed="true"], .work-document-selection-toolbar .work-document-strike-split-root > button[aria-pressed="true"] {
|
|
7673
|
+
border-color: color-mix(in srgb,
|
|
7674
|
+
var(--work-office-accent) 28%,
|
|
7675
|
+
var(--a3s-line));
|
|
7676
|
+
background: color-mix(in srgb,
|
|
7677
|
+
var(--work-office-accent) 11%,
|
|
7678
|
+
var(--a3s-panel));
|
|
7679
|
+
color: var(--work-office-accent);
|
|
7680
|
+
}
|
|
7681
|
+
|
|
7682
|
+
.work-document-selection-toolbar .work-document-underline-split-root > .work-document-underline-primary, .work-document-selection-toolbar .work-document-strike-split-root > .work-document-strike-primary, .work-document-selection-toolbar .work-document-underline-split-root > .work-document-underline-primary:hover, .work-document-selection-toolbar .work-document-strike-split-root > .work-document-strike-primary:hover, .work-document-selection-toolbar .work-document-underline-split-root > .work-document-underline-primary[aria-pressed="true"], .work-document-selection-toolbar .work-document-strike-split-root > .work-document-strike-primary[aria-pressed="true"] {
|
|
7683
|
+
border-right-color: #0000;
|
|
7684
|
+
}
|
|
7685
|
+
|
|
7653
7686
|
.work-document-selection-toolbar > .work-document-underline-control {
|
|
7654
7687
|
gap: 0;
|
|
7655
7688
|
height: 28px;
|