@synopackageland/ui 0.20.5 → 0.20.6

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ ## 0.20.6 (2026-11-05)
6
+
7
+ - Closed navigation drawer viewports let clicks reach the app in embedded windows and full pages; an open drawer keeps its dismissible backdrop
8
+ - Phone bars preserve short brand names when actions compete for space; action labels shrink first while menu targets stay usable
9
+ - Phone titles use the free bar width and stay centred only when they fit; short and multiword brand names remain readable without trailing actions
10
+ - Phone segment labels stay on one line with ellipsis; up to four segments share a zero flex basis, reserve count pills and keep notification dots inside the track
11
+ - Scoped preflight gives bare elements and pseudo-elements a zero-width border base inside the app, preserving explicit component borders and host styles
12
+ - Dialogs without a description explicitly opt out of `aria-describedby`; supplied descriptions remain linked to the dialog
13
+ - On a phone, a DatePicker with `editable` shows the calendar button and opens the calendar sheet; a typed text field would raise the keyboard under the sheet
14
+ - A compact RichTextEditor on a touch screen labels the keyboard's return key Send (`enterkeyhint="send"`) and sends with it, since a phone keyboard has no Ctrl+Enter; an open @ list still takes Enter to pick
15
+ - FilePicker shows a `dropzone` as the choose button on a touch screen, where nothing can be dragged onto it; its `description` stays as a line above the button
16
+
3
17
  ## 0.20.5 (2026-11-05)
4
18
 
5
19
  - In a DSM window on a touch device, a small Button, IconButton, checkbox, radio, switch or tappable Tag keeps its 44px tap box around itself. The host reset made these controls static, so the tap box covered the nearest positioned ancestor (a whole board or panel) and took every tap in it. `check:mobile` now fails when a tap box reaches past twice its control or 64px
@@ -14,6 +14,7 @@ type __VLS_Props = {
14
14
  maxSize?: number;
15
15
  directory?: boolean;
16
16
  showList?: boolean;
17
+ /** `dropzone` shows as `compact` on a touch screen, where nothing can be dragged onto it. */
17
18
  variant?: 'dropzone' | 'compact';
18
19
  /** Takes files pasted while the picker has focus, and adds a Paste button where the browser can read the clipboard (an iPhone has no keyboard to paste with). */
19
20
  paste?: boolean;
@@ -25,7 +25,7 @@ type __VLS_Props = {
25
25
  ariaLabel?: string;
26
26
  /** Additive: show a time picker under the calendar and emit a local date-time string. */
27
27
  showTime?: boolean;
28
- /** Additive: type the date directly instead of picking it. Cannot be combined with `showTime`. */
28
+ /** Additive: type the date directly instead of picking it. Cannot be combined with `showTime`. On a phone the calendar sheet is used instead. */
29
29
  editable?: boolean;
30
30
  /** Additive: an empty text field clears the value instead of reporting `required`. */
31
31
  allowBlank?: boolean;
@@ -23,6 +23,8 @@ export type ExtensionOptions = {
23
23
  mention: Omit<SuggestionOptions<MentionCandidate>, 'editor' | 'char'>;
24
24
  /** Ctrl+Enter or Cmd+Enter; returns whether it was taken. Never while an input method composes. */
25
25
  submit?: () => boolean;
26
+ /** Plain Enter, before it breaks the line; returns whether it was taken (a compact box on a touch screen sends). Never while an input method composes. */
27
+ enter?: () => boolean;
26
28
  /** Ctrl+K or Cmd+K. */
27
29
  link: () => boolean;
28
30
  escape: () => boolean;