@forgeroute/ui 0.5.30 → 0.5.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgeroute/ui",
3
- "version": "0.5.30",
3
+ "version": "0.5.31",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0",
6
6
  "@angular/core": ">=22.0.0",
@@ -2749,7 +2749,7 @@ export declare class ButtonComponent {
2749
2749
  * `ghost-start`: a ghost button for list / section toggles - a full-width row with its content aligned to the start, transparent
2750
2750
  * background, hover tint and the normal focus ring. Pair it with `ariaExpanded` / `ariaPressed`; the label may contain a heading element.
2751
2751
  */
2752
- readonly variant: import("@angular/core").InputSignal<"warning" | "primary" | "secondary" | "danger" | "link" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
2752
+ readonly variant: import("@angular/core").InputSignal<"primary" | "danger" | "warning" | "link" | "secondary" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
2753
2753
  /** Renders an anchor to this route instead of a button (use with `variant="link"` for an inline text link). `['/settings']` or `'/settings'`. While `disabled` or `loading` it renders a non-clickable `<span role="link" aria-disabled>` with no href (like `href`). */
2754
2754
  readonly routerLink: import("@angular/core").InputSignal<string | readonly unknown[] | null>;
2755
2755
  /** Query params of the `routerLink` (e.g. `{ section: 'deal-defaults' }`). */
@@ -2944,7 +2944,7 @@ export declare class ModalComponent implements OnInit, OnDestroy {
2944
2944
  */
2945
2945
  readonly describedBy: import("@angular/core").InputSignal<string | null>;
2946
2946
  readonly maxWidth: import("@angular/core").InputSignal<string>;
2947
- readonly bodyOverflow: import("@angular/core").InputSignal<"auto" | "hidden" | "visible">;
2947
+ readonly bodyOverflow: import("@angular/core").InputSignal<"auto" | "visible" | "hidden">;
2948
2948
  /** `data-testid` of the dialog element itself (the host `<ui-modal>` is always in the page, the dialog only while open). None when empty. */
2949
2949
  readonly dialogTestId: import("@angular/core").InputSignal<string>;
2950
2950
  /** Hides the header X button (e.g. while a request is running). Escape and a backdrop click still close unless `closable` is false. */
@@ -3095,7 +3095,7 @@ export declare class SidePanelComponent implements OnDestroy {
3095
3095
  readonly cancelLabel: import("@angular/core").Signal<string>;
3096
3096
  /** Right-aligned primary action button label. Empty string = hidden. */
3097
3097
  readonly primaryLabel: import("@angular/core").InputSignal<string>;
3098
- readonly primaryVariant: import("@angular/core").InputSignal<"warning" | "primary" | "danger">;
3098
+ readonly primaryVariant: import("@angular/core").InputSignal<"primary" | "danger" | "warning">;
3099
3099
  readonly primaryLoading: import("@angular/core").InputSignal<boolean>;
3100
3100
  readonly primaryDisabled: import("@angular/core").InputSignal<boolean>;
3101
3101
  /** `data-testid` of the Cancel button; none when empty (default). */
@@ -3662,9 +3662,10 @@ export declare function mergeDescribedBy(own: string | null | undefined, externa
3662
3662
  /**
3663
3663
  * Initial-focus helpers shared by ui-side-panel and ui-modal (internal — not exported from the public API).
3664
3664
  *
3665
- * Order: an `[autofocus]` / `[data-autofocus]` target in the body → the first usable form control in the
3666
- * body → the dialog container itself. The header's close button is never chosen. On phones / coarse
3667
- * pointers the container is focused instead of a field so no on-screen keyboard or iOS zoom is forced.
3665
+ * Order: an explicit `[autofocus]` / `[data-autofocus]` target in the body → the dialog container itself. A form field is NEVER
3666
+ * focused on its own (user decision 2026-11-24): the panel / modal opens with the container focused, so keyboard and screen-reader
3667
+ * users are inside the dialog and nothing is edited, highlighted or validated until the user interacts. The header's close button is
3668
+ * never chosen. On phones / coarse pointers the container is always focused (no on-screen keyboard or iOS zoom).
3668
3669
  */
3669
3670
  /** `(max-width: 480px)` or `(pointer: coarse)` — SSR / old-browser safe. */
3670
3671
  export declare function isTouchViewport(doc: Document): boolean;