@ds-mo/ui 13.8.0 → 13.10.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.
Files changed (78) hide show
  1. package/dist/.package-ready.json +1 -1
  2. package/dist/agent-patterns.json +1 -1
  3. package/dist/agent.json +1 -1
  4. package/dist/components/ds-card-overview.js +1 -1
  5. package/dist/components/ds-card-overview.js.map +1 -1
  6. package/dist/components/index.js +1 -1
  7. package/dist/components/index.js.map +1 -1
  8. package/dist/docs/components.json +3 -3
  9. package/dist/mcp-data/registry/agent-activity.json +1 -1
  10. package/dist/mcp-data/registry/agent-response.json +1 -1
  11. package/dist/mcp-data/registry/agent-source-list.json +1 -1
  12. package/dist/mcp-data/registry/agent-tool-call.json +1 -1
  13. package/dist/mcp-data/registry/attachment-list.json +1 -1
  14. package/dist/mcp-data/registry/avatar.json +1 -1
  15. package/dist/mcp-data/registry/badge.json +1 -1
  16. package/dist/mcp-data/registry/banner.json +1 -1
  17. package/dist/mcp-data/registry/bar-nav.json +1 -1
  18. package/dist/mcp-data/registry/bar-title.json +1 -1
  19. package/dist/mcp-data/registry/bar-workflow.json +1 -1
  20. package/dist/mcp-data/registry/breadcrumb.json +1 -1
  21. package/dist/mcp-data/registry/button-filled.json +1 -1
  22. package/dist/mcp-data/registry/button-unfilled.json +1 -1
  23. package/dist/mcp-data/registry/card-chart.json +1 -1
  24. package/dist/mcp-data/registry/card-overview.json +6 -6
  25. package/dist/mcp-data/registry/card-setting.json +1 -1
  26. package/dist/mcp-data/registry/chart-legend.json +1 -1
  27. package/dist/mcp-data/registry/chart.json +1 -1
  28. package/dist/mcp-data/registry/checkbox.json +1 -1
  29. package/dist/mcp-data/registry/chip.json +1 -1
  30. package/dist/mcp-data/registry/code-block.json +1 -1
  31. package/dist/mcp-data/registry/conversation-list-item.json +1 -1
  32. package/dist/mcp-data/registry/conversation-list-section.json +1 -1
  33. package/dist/mcp-data/registry/conversation-list.json +1 -1
  34. package/dist/mcp-data/registry/divider.json +1 -1
  35. package/dist/mcp-data/registry/empty-state.json +1 -1
  36. package/dist/mcp-data/registry/field.json +1 -1
  37. package/dist/mcp-data/registry/icon.json +1 -1
  38. package/dist/mcp-data/registry/input.json +1 -1
  39. package/dist/mcp-data/registry/loader.json +1 -1
  40. package/dist/mcp-data/registry/markdown.json +1 -1
  41. package/dist/mcp-data/registry/menu.json +1 -1
  42. package/dist/mcp-data/registry/message-actions.json +1 -1
  43. package/dist/mcp-data/registry/message-bubble.json +1 -1
  44. package/dist/mcp-data/registry/message-composer.json +1 -1
  45. package/dist/mcp-data/registry/message-scroller.json +1 -1
  46. package/dist/mcp-data/registry/message.json +1 -1
  47. package/dist/mcp-data/registry/mobile-bar-nav.json +1 -1
  48. package/dist/mcp-data/registry/mobile-header.json +1 -1
  49. package/dist/mcp-data/registry/mobile-section-switcher.json +1 -1
  50. package/dist/mcp-data/registry/mobile-sheet-nav.json +1 -1
  51. package/dist/mcp-data/registry/modal.json +1 -1
  52. package/dist/mcp-data/registry/panel-nav.json +1 -1
  53. package/dist/mcp-data/registry/panel-sub-nav.json +1 -1
  54. package/dist/mcp-data/registry/panel-tool-header.json +1 -1
  55. package/dist/mcp-data/registry/panel-tool-search.json +1 -1
  56. package/dist/mcp-data/registry/panel-tools.json +1 -1
  57. package/dist/mcp-data/registry/radio.json +1 -1
  58. package/dist/mcp-data/registry/registry.json +1 -1
  59. package/dist/mcp-data/registry/scroll-overlay.json +1 -1
  60. package/dist/mcp-data/registry/select.json +1 -1
  61. package/dist/mcp-data/registry/shell-app.json +1 -1
  62. package/dist/mcp-data/registry/shell-page.json +1 -1
  63. package/dist/mcp-data/registry/shell-tools.json +1 -1
  64. package/dist/mcp-data/registry/skeleton.json +1 -1
  65. package/dist/mcp-data/registry/slider.json +1 -1
  66. package/dist/mcp-data/registry/swatch-picker.json +1 -1
  67. package/dist/mcp-data/registry/switch.json +1 -1
  68. package/dist/mcp-data/registry/tab-group.json +1 -1
  69. package/dist/mcp-data/registry/tag.json +1 -1
  70. package/dist/mcp-data/registry/text.json +1 -1
  71. package/dist/mcp-data/registry/toast.json +1 -1
  72. package/dist/mcp-data/registry/tooltip-chart.json +1 -1
  73. package/dist/mcp-data/registry/tooltip.json +1 -1
  74. package/dist/mcp-data/registry/typing-indicator.json +1 -1
  75. package/dist/types/components/CardOverview/CardOverview.d.ts +2 -0
  76. package/dist/types/components/CardOverview/card-overview-controller.d.ts +15 -4
  77. package/dist/types/components.d.ts +2 -2
  78. package/package.json +5 -4
@@ -299,7 +299,7 @@
299
299
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: currentArea.",
300
300
  "peerDependencies": {
301
301
  "required": [
302
- "@ds-mo/tokens ^5.1.2",
302
+ "@ds-mo/tokens ^6.0.0",
303
303
  "@ds-mo/icons ^6.4.0"
304
304
  ],
305
305
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -280,7 +280,7 @@
280
280
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: sections, subsections.",
281
281
  "peerDependencies": {
282
282
  "required": [
283
- "@ds-mo/tokens ^5.1.2",
283
+ "@ds-mo/tokens ^6.0.0",
284
284
  "@ds-mo/icons ^6.4.0"
285
285
  ],
286
286
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -153,7 +153,7 @@
153
153
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: sections.",
154
154
  "peerDependencies": {
155
155
  "required": [
156
- "@ds-mo/tokens ^5.1.2",
156
+ "@ds-mo/tokens ^6.0.0",
157
157
  "@ds-mo/icons ^6.4.0"
158
158
  ],
159
159
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -284,7 +284,7 @@
284
284
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: dashboardGroups, settingsGroups.",
285
285
  "peerDependencies": {
286
286
  "required": [
287
- "@ds-mo/tokens ^5.1.2",
287
+ "@ds-mo/tokens ^6.0.0",
288
288
  "@ds-mo/icons ^6.4.0"
289
289
  ],
290
290
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -270,7 +270,7 @@
270
270
  },
271
271
  "peerDependencies": {
272
272
  "required": [
273
- "@ds-mo/tokens ^5.1.2",
273
+ "@ds-mo/tokens ^6.0.0",
274
274
  "@ds-mo/icons ^6.4.0"
275
275
  ],
276
276
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -597,7 +597,7 @@
597
597
  },
598
598
  "peerDependencies": {
599
599
  "required": [
600
- "@ds-mo/tokens ^5.1.2",
600
+ "@ds-mo/tokens ^6.0.0",
601
601
  "@ds-mo/icons ^6.4.0"
602
602
  ],
603
603
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -215,7 +215,7 @@
215
215
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: items.",
216
216
  "peerDependencies": {
217
217
  "required": [
218
- "@ds-mo/tokens ^5.1.2",
218
+ "@ds-mo/tokens ^6.0.0",
219
219
  "@ds-mo/icons ^6.4.0"
220
220
  ],
221
221
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -312,7 +312,7 @@
312
312
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: actions.",
313
313
  "peerDependencies": {
314
314
  "required": [
315
- "@ds-mo/tokens ^5.1.2",
315
+ "@ds-mo/tokens ^6.0.0",
316
316
  "@ds-mo/icons ^6.4.0"
317
317
  ],
318
318
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -354,7 +354,7 @@
354
354
  },
355
355
  "peerDependencies": {
356
356
  "required": [
357
- "@ds-mo/tokens ^5.1.2",
357
+ "@ds-mo/tokens ^6.0.0",
358
358
  "@ds-mo/icons ^6.4.0"
359
359
  ],
360
360
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -439,7 +439,7 @@
439
439
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: headers, items.",
440
440
  "peerDependencies": {
441
441
  "required": [
442
- "@ds-mo/tokens ^5.1.2",
442
+ "@ds-mo/tokens ^6.0.0",
443
443
  "@ds-mo/icons ^6.4.0"
444
444
  ],
445
445
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -345,7 +345,7 @@
345
345
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: options.",
346
346
  "peerDependencies": {
347
347
  "required": [
348
- "@ds-mo/tokens ^5.1.2",
348
+ "@ds-mo/tokens ^6.0.0",
349
349
  "@ds-mo/icons ^6.4.0"
350
350
  ],
351
351
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -12,7 +12,7 @@
12
12
  "themeSetup": "Set data-theme=\"dark\" on <html> for dark mode. Light is default.",
13
13
  "peerDependencies": {
14
14
  "required": [
15
- "@ds-mo/tokens ^5.1.2",
15
+ "@ds-mo/tokens ^6.0.0",
16
16
  "@ds-mo/icons ^6.4.0"
17
17
  ],
18
18
  "optional": [],
@@ -156,7 +156,7 @@
156
156
  },
157
157
  "peerDependencies": {
158
158
  "required": [
159
- "@ds-mo/tokens ^5.1.2",
159
+ "@ds-mo/tokens ^6.0.0",
160
160
  "@ds-mo/icons ^6.4.0"
161
161
  ],
162
162
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -741,7 +741,7 @@
741
741
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: options, sections.",
742
742
  "peerDependencies": {
743
743
  "required": [
744
- "@ds-mo/tokens ^5.1.2",
744
+ "@ds-mo/tokens ^6.0.0",
745
745
  "@ds-mo/icons ^6.4.0"
746
746
  ],
747
747
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -560,7 +560,7 @@
560
560
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: navigation, pageChrome, tools.",
561
561
  "peerDependencies": {
562
562
  "required": [
563
- "@ds-mo/tokens ^5.1.2",
563
+ "@ds-mo/tokens ^6.0.0",
564
564
  "@ds-mo/icons ^6.4.0"
565
565
  ],
566
566
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -204,7 +204,7 @@
204
204
  },
205
205
  "peerDependencies": {
206
206
  "required": [
207
- "@ds-mo/tokens ^5.1.2",
207
+ "@ds-mo/tokens ^6.0.0",
208
208
  "@ds-mo/icons ^6.4.0"
209
209
  ],
210
210
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -390,7 +390,7 @@
390
390
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: headers, items.",
391
391
  "peerDependencies": {
392
392
  "required": [
393
- "@ds-mo/tokens ^5.1.2",
393
+ "@ds-mo/tokens ^6.0.0",
394
394
  "@ds-mo/icons ^6.4.0"
395
395
  ],
396
396
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -255,7 +255,7 @@
255
255
  },
256
256
  "peerDependencies": {
257
257
  "required": [
258
- "@ds-mo/tokens ^5.1.2",
258
+ "@ds-mo/tokens ^6.0.0",
259
259
  "@ds-mo/icons ^6.4.0"
260
260
  ],
261
261
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -629,7 +629,7 @@
629
629
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: formatOptions, valueTexts.",
630
630
  "peerDependencies": {
631
631
  "required": [
632
- "@ds-mo/tokens ^5.1.2",
632
+ "@ds-mo/tokens ^6.0.0",
633
633
  "@ds-mo/icons ^6.4.0"
634
634
  ],
635
635
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -199,7 +199,7 @@
199
199
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: options, sections.",
200
200
  "peerDependencies": {
201
201
  "required": [
202
- "@ds-mo/tokens ^5.1.2",
202
+ "@ds-mo/tokens ^6.0.0",
203
203
  "@ds-mo/icons ^6.4.0"
204
204
  ],
205
205
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -334,7 +334,7 @@
334
334
  },
335
335
  "peerDependencies": {
336
336
  "required": [
337
- "@ds-mo/tokens ^5.1.2",
337
+ "@ds-mo/tokens ^6.0.0",
338
338
  "@ds-mo/icons ^6.4.0"
339
339
  ],
340
340
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -218,7 +218,7 @@
218
218
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: tabs.",
219
219
  "peerDependencies": {
220
220
  "required": [
221
- "@ds-mo/tokens ^5.1.2",
221
+ "@ds-mo/tokens ^6.0.0",
222
222
  "@ds-mo/icons ^6.4.0"
223
223
  ],
224
224
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -321,7 +321,7 @@
321
321
  },
322
322
  "peerDependencies": {
323
323
  "required": [
324
- "@ds-mo/tokens ^5.1.2",
324
+ "@ds-mo/tokens ^6.0.0",
325
325
  "@ds-mo/icons ^6.4.0"
326
326
  ],
327
327
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -334,7 +334,7 @@
334
334
  },
335
335
  "peerDependencies": {
336
336
  "required": [
337
- "@ds-mo/tokens ^5.1.2",
337
+ "@ds-mo/tokens ^6.0.0",
338
338
  "@ds-mo/icons ^6.4.0"
339
339
  ],
340
340
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -307,7 +307,7 @@
307
307
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: manager, swipeDirections.",
308
308
  "peerDependencies": {
309
309
  "required": [
310
- "@ds-mo/tokens ^5.1.2",
310
+ "@ds-mo/tokens ^6.0.0",
311
311
  "@ds-mo/icons ^6.4.0"
312
312
  ],
313
313
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -224,7 +224,7 @@
224
224
  "complexPropertyNote": "Assign these non-primitive values as JavaScript properties: items.",
225
225
  "peerDependencies": {
226
226
  "required": [
227
- "@ds-mo/tokens ^5.1.2",
227
+ "@ds-mo/tokens ^6.0.0",
228
228
  "@ds-mo/icons ^6.4.0"
229
229
  ],
230
230
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -277,7 +277,7 @@
277
277
  },
278
278
  "peerDependencies": {
279
279
  "required": [
280
- "@ds-mo/tokens ^5.1.2",
280
+ "@ds-mo/tokens ^6.0.0",
281
281
  "@ds-mo/icons ^6.4.0"
282
282
  ],
283
283
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -98,7 +98,7 @@
98
98
  },
99
99
  "peerDependencies": {
100
100
  "required": [
101
- "@ds-mo/tokens ^5.1.2",
101
+ "@ds-mo/tokens ^6.0.0",
102
102
  "@ds-mo/icons ^6.4.0"
103
103
  ],
104
104
  "frameworks": "Custom Elements; React 18/19 wrappers; Angular 19-22 standalone adapters."
@@ -40,6 +40,8 @@ export declare class CardOverview {
40
40
  private gridColumns;
41
41
  private layoutEl?;
42
42
  private layoutResizeObserver;
43
+ /** The node the observer is bound to, which a later render can replace. */
44
+ private observedLayoutEl?;
43
45
  componentDidLoad(): void;
44
46
  componentDidRender(): void;
45
47
  disconnectedCallback(): void;
@@ -6,15 +6,26 @@ export interface CardOverviewCollapseGeometry {
6
6
  visibleHeight: number;
7
7
  }
8
8
  /**
9
- * Choose the densest column count that fits without leaving an incomplete row
10
- * for even cell totals. Odd totals retain the densest fitting layout and may
11
- * therefore leave an orphan in the final row.
9
+ * Choose the column count for the metric grid.
10
+ *
11
+ * Cells that all fit across one row stay on one row: a full row is already
12
+ * balanced, so there is nothing to distribute.
13
+ *
14
+ * Once the width forces a wrap, prefer equal rows — the widest column count
15
+ * that divides the total exactly. Eight cells therefore step 8 → 4+4 → 2+2+2+2
16
+ * as the width narrows, never trading an equal split for a shorter grid.
17
+ *
18
+ * Totals with no equal split available fall back to the fewest rows that fit,
19
+ * spread as evenly as possible, which leaves one short final row: five cells at
20
+ * a four-cell width are 3+2, seven are 4+3.
21
+ *
22
+ * Width is the only ceiling. There is deliberately no column cap: a wide card
23
+ * showing six cells that each clear `minCellWidth` renders all six across.
12
24
  */
13
25
  export declare function resolveOverviewGridColumns(options: {
14
26
  cellCount: number;
15
27
  availableWidth: number;
16
28
  minCellWidth: number;
17
- maxColumns?: number;
18
29
  }): number;
19
30
  export declare function resolveCardOverviewCollapseGeometry(options: {
20
31
  variant: CardOverviewVariant;
@@ -724,7 +724,7 @@ export namespace Components {
724
724
  "layout": CardOverviewLayout;
725
725
  /**
726
726
  * Width a metric cell may shrink to before the grid drops a column. The grid uses this threshold while choosing an evenly distributed column count.
727
- * @default 'var(--dimension-menu-width-xs)'
727
+ * @default '200px'
728
728
  */
729
729
  "metricMinWidth": string;
730
730
  /**
@@ -4539,7 +4539,7 @@ declare namespace LocalJSX {
4539
4539
  "layout"?: CardOverviewLayout;
4540
4540
  /**
4541
4541
  * Width a metric cell may shrink to before the grid drops a column. The grid uses this threshold while choosing an evenly distributed column count.
4542
- * @default 'var(--dimension-menu-width-xs)'
4542
+ * @default '200px'
4543
4543
  */
4544
4544
  "metricMinWidth"?: string;
4545
4545
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ds-mo/ui",
3
- "version": "13.8.0",
3
+ "version": "13.10.0",
4
4
  "description": "CompoMo — composable web components styled with TokoMo design tokens",
5
5
  "keywords": [
6
6
  "web-components",
@@ -108,7 +108,7 @@
108
108
  "@angular/core": ">=19 <23",
109
109
  "@angular/forms": ">=19 <23",
110
110
  "@ds-mo/icons": "^6.4.0",
111
- "@ds-mo/tokens": "^5.1.2",
111
+ "@ds-mo/tokens": "^6.0.0",
112
112
  "react": "^18 || ^19",
113
113
  "react-dom": "^18 || ^19",
114
114
  "rxjs": "^7.8.0"
@@ -137,7 +137,7 @@
137
137
  "@angular/forms": "^22.0.7",
138
138
  "@axe-core/playwright": "^4.12.1",
139
139
  "@ds-mo/icons": "^6.4.0",
140
- "@ds-mo/tokens": "^5.1.2",
140
+ "@ds-mo/tokens": "^6.0.0",
141
141
  "@eslint/js": "^10.0.1",
142
142
  "@modelcontextprotocol/client": "^2.0.0",
143
143
  "@modelcontextprotocol/server": "^2.0.0",
@@ -192,5 +192,6 @@
192
192
  "mdast-util-from-markdown": "^2.0.3",
193
193
  "mdast-util-gfm": "^3.1.0",
194
194
  "micromark-extension-gfm": "^3.0.0"
195
- }
195
+ },
196
+ "packageManager": "npm@11.12.1"
196
197
  }