@akcelik/strct 0.9.2 → 0.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akcelik/strct",
3
- "version": "0.9.2",
3
+ "version": "0.10.1",
4
4
  "description": "UIStruct — a standalone Angular component library with a tokenised, multi-palette theme system, built for datacenter / infrastructure management UIs.",
5
5
  "author": "Serkan Akcelik <serkan.akcelik@gmail.com>",
6
6
  "license": "MIT",
@@ -667,7 +667,7 @@ declare class StrctTree {
667
667
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctTree, "strct-tree", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "nodeMenu": { "alias": "nodeMenu"; "required": false; "isSignal": true; }; }, { "nodeActivated": "nodeActivated"; "nodeMenuSelect": "nodeMenuSelect"; }, never, ["*"], true, never>;
668
668
  }
669
669
 
670
- /** Fixed modal width presets: sm 380 · md 480 · lg 640 · xl 860 (px). */
670
+ /** Fixed modal width presets: sm 480 · md 640 · lg 860 · xl 1080 (px). */
671
671
  type StrctModalSize = 'sm' | 'md' | 'lg' | 'xl';
672
672
  /**
673
673
  * Overlay dialog with two-way `open`:
@@ -685,11 +685,16 @@ declare class StrctModal {
685
685
  readonly open: _angular_core.ModelSignal<boolean>;
686
686
  /** Dialog title. */
687
687
  readonly title: _angular_core.InputSignal<string>;
688
- /** Size variant. */
688
+ /** Size variant (fixed scale; defaults to `sm` = 480px). */
689
689
  readonly size: _angular_core.InputSignal<StrctModalSize>;
690
690
  /** Hide the footer slot. */
691
691
  readonly hideFooter: _angular_core.InputSignalWithTransform<boolean, unknown>;
692
- /** Allow closing via backdrop click / Escape. */
692
+ /**
693
+ * Allow closing via a backdrop click / the Escape key. **Off by default** —
694
+ * a modal closes only through its X button or an explicit action button, so a
695
+ * stray click outside (or Escape) never discards in-progress work. Set
696
+ * `dismissible` for lightweight, transient dialogs where quick dismissal is fine.
697
+ */
693
698
  readonly dismissible: _angular_core.InputSignalWithTransform<boolean, unknown>;
694
699
  /** Emitted when the alert is dismissed. */
695
700
  readonly closed: _angular_core.OutputEmitterRef<void>;