@cocoar/vue-ui 1.13.0 → 1.14.0

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/vue-ui",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "description": "Cocoar Design System — a touch-first Vue 3 component library with 30+ accessible, themeable components",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -48,7 +48,7 @@
48
48
  "lint": "eslint src/"
49
49
  },
50
50
  "dependencies": {
51
- "@cocoar/vue-localization": "1.13.0",
51
+ "@cocoar/vue-localization": "1.14.0",
52
52
  "@fontsource/cascadia-code": "^5.2.3",
53
53
  "@fontsource/inter": "^5.2.8",
54
54
  "@fontsource/poppins": "^5.2.7",
@@ -15,8 +15,18 @@
15
15
  --coar-sidebar-min-width: 12rem;
16
16
  --coar-sidebar-max-width: 20rem;
17
17
 
18
- /* Collapsed (icon-only) width */
19
- --coar-sidebar-collapsed-width: 4rem;
18
+ /* Collapsed (icon-only) dimensions are size-aware by default — the component
19
+ resolves them from the `size` prop ('s' | 'm' | 'l'). Set
20
+ `--coar-sidebar-collapsed-width` / `--coar-sidebar-collapsed-height`
21
+ explicitly here (or on a wrapper) to override the auto-sizing. */
22
+
23
+ /* Horizontal-orientation dimensions (used when side="top" | "bottom") */
24
+ --coar-sidebar-height: auto;
25
+ --coar-sidebar-min-height: auto;
26
+ --coar-sidebar-max-height: none;
27
+
28
+ /* Optional override for item margins in horizontal layouts (default: 0 horizontal). */
29
+ --coar-sidebar-item-margin-horizontal: 0 2px;
20
30
 
21
31
  /* ========================================
22
32
  Visual Styling