@cocoar/ui 0.2.0 → 0.2.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": "@cocoar/ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Complete Cocoar Design System - all UI components, overlays, and menus in one package",
5
5
  "author": "Cocoar",
6
6
  "license": "Apache-2.0",
@@ -57,7 +57,7 @@
57
57
  "rxjs": "^7.8.0"
58
58
  },
59
59
  "dependencies": {
60
- "@cocoar/localization": "0.2.0",
60
+ "@cocoar/localization": "0.2.1",
61
61
  "tslib": "^2.3.0"
62
62
  },
63
63
  "sideEffects": false,
@@ -59,11 +59,24 @@ interface PositionSpec {
59
59
  shift?: boolean;
60
60
  }
61
61
  interface SizeSpec {
62
- mode: 'content' | 'content-clamped' | 'fixed';
63
- minWidth?: number | 'anchor';
64
- minHeight?: number | 'anchor';
65
- maxWidth?: number | 'viewport';
66
- maxHeight?: number | 'viewport';
62
+ /**
63
+ * Optional overflow behavior for the overlay host.
64
+ *
65
+ * When omitted, the overlay runtime may apply a safe default when size constraints are present.
66
+ */
67
+ overflow?: 'visible' | 'hidden' | 'auto' | 'scroll' | 'clip' | (string & {});
68
+ /** Fixed width. Numbers are treated as px; strings are used as-is. */
69
+ width?: number | 'anchor' | 'viewport' | (string & {});
70
+ /** Fixed height. Numbers are treated as px; strings are used as-is. */
71
+ height?: number | 'anchor' | 'viewport' | (string & {});
72
+ /** Minimum width. Numbers are treated as px; strings are used as-is (e.g. '90%', '24rem'). */
73
+ minWidth?: number | 'anchor' | (string & {});
74
+ /** Minimum height. Numbers are treated as px; strings are used as-is (e.g. '50vh'). */
75
+ minHeight?: number | 'anchor' | (string & {});
76
+ /** Maximum width. Numbers are treated as px; strings are used as-is (e.g. '90%', '60vw'). */
77
+ maxWidth?: number | 'viewport' | (string & {});
78
+ /** Maximum height. Numbers are treated as px; strings are used as-is (e.g. '100vh'). */
79
+ maxHeight?: number | 'viewport' | (string & {});
67
80
  }
68
81
  type BackdropSpec = {
69
82
  kind: 'none';