@mp-consulting/homebridge-daikin-cloud 1.8.0 → 1.8.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.
@@ -1,4 +1,4 @@
1
- /* @mp-consulting/homebridge-ui-kit v1.2.0 */
1
+ /* @mp-consulting/homebridge-ui-kit v1.2.1 */
2
2
 
3
3
  /* ── Design tokens ──────────────────────────────────────────────────────────
4
4
  CSS custom properties used throughout the design system.
@@ -302,6 +302,13 @@
302
302
 
303
303
  .mp-ai-panel {
304
304
  display: block;
305
+ /* Full width of its slot, and safe as a flex/grid item: it never forces its
306
+ parent wider, and long words or URLs wrap instead of overflowing. */
307
+ box-sizing: border-box;
308
+ width: 100%;
309
+ max-width: 100%;
310
+ min-width: 0;
311
+ overflow-wrap: break-word;
305
312
  padding: 1rem 1.125rem;
306
313
  border-radius: var(--mp-radius, 0.5rem);
307
314
  color: var(--mp-ai-fg);
@@ -323,15 +330,31 @@
323
330
 
324
331
  .mp-ai-panel-header {
325
332
  display: flex;
333
+ flex-wrap: wrap;
326
334
  align-items: center;
327
- gap: 0.5rem;
335
+ gap: 0.375rem 0.5rem;
328
336
  margin-bottom: 0.625rem;
329
337
  }
330
338
 
339
+ .mp-ai-panel-header > .mp-ai-badge {
340
+ flex: none;
341
+ }
342
+
343
+ /* The title sits next to the badge when there is room for at least ~12rem of
344
+ it; otherwise it wraps onto its own full-width line below the badge, so it
345
+ is never squeezed into a narrow column. */
331
346
  .mp-ai-panel-title {
347
+ flex: 1 1 12rem;
348
+ min-width: 0;
332
349
  margin: 0;
333
350
  font-size: 0.875rem;
334
351
  font-weight: 600;
352
+ line-height: 1.35;
353
+ overflow-wrap: anywhere;
354
+ }
355
+
356
+ .mp-ai-panel-body {
357
+ min-width: 0;
335
358
  }
336
359
 
337
360
  .mp-ai-panel-note {
@@ -1,4 +1,4 @@
1
- /* @mp-consulting/homebridge-ui-kit v1.2.0 */
1
+ /* @mp-consulting/homebridge-ui-kit v1.2.1 */
2
2
 
3
3
  /* ── Design tokens ──────────────────────────────────────────────────────────
4
4
  CSS custom properties used throughout the design system.
@@ -558,6 +558,13 @@
558
558
 
559
559
  .mp-ai-panel {
560
560
  display: block;
561
+ /* Full width of its slot, and safe as a flex/grid item: it never forces its
562
+ parent wider, and long words or URLs wrap instead of overflowing. */
563
+ box-sizing: border-box;
564
+ width: 100%;
565
+ max-width: 100%;
566
+ min-width: 0;
567
+ overflow-wrap: break-word;
561
568
  padding: 1rem 1.125rem;
562
569
  border-radius: var(--mp-radius, 0.5rem);
563
570
  color: var(--mp-ai-fg);
@@ -579,15 +586,31 @@
579
586
 
580
587
  .mp-ai-panel-header {
581
588
  display: flex;
589
+ flex-wrap: wrap;
582
590
  align-items: center;
583
- gap: 0.5rem;
591
+ gap: 0.375rem 0.5rem;
584
592
  margin-bottom: 0.625rem;
585
593
  }
586
594
 
595
+ .mp-ai-panel-header > .mp-ai-badge {
596
+ flex: none;
597
+ }
598
+
599
+ /* The title sits next to the badge when there is room for at least ~12rem of
600
+ it; otherwise it wraps onto its own full-width line below the badge, so it
601
+ is never squeezed into a narrow column. */
587
602
  .mp-ai-panel-title {
603
+ flex: 1 1 12rem;
604
+ min-width: 0;
588
605
  margin: 0;
589
606
  font-size: 0.875rem;
590
607
  font-weight: 600;
608
+ line-height: 1.35;
609
+ overflow-wrap: anywhere;
610
+ }
611
+
612
+ .mp-ai-panel-body {
613
+ min-width: 0;
591
614
  }
592
615
 
593
616
  .mp-ai-panel-note {
@@ -1,4 +1,4 @@
1
- /* @mp-consulting/homebridge-ui-kit v1.2.0
1
+ /* @mp-consulting/homebridge-ui-kit v1.2.1
2
2
  Brand design system for Homebridge plugins
3
3
  https://github.com/mp-consulting/homebridge-ui-kit */
4
4
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "displayName": "Daikin Cloud",
3
3
  "platformname": "daikincloud",
4
4
  "name": "@mp-consulting/homebridge-daikin-cloud",
5
- "version": "1.8.0",
5
+ "version": "1.8.1",
6
6
  "description": "Integrate with the Daikin Cloud to control your Daikin air conditioning via the cloud",
7
7
  "license": "(Apache-2.0 AND MIT)",
8
8
  "repository": {
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@eslint/js": "^10.0.1",
48
- "@mp-consulting/homebridge-ui-kit": "^1.2.0",
48
+ "@mp-consulting/homebridge-ui-kit": "^1.2.1",
49
49
  "@types/node": "^26.5.0",
50
50
  "@types/ws": "^8.18.1",
51
51
  "@vitest/coverage-v8": "^5.0.0",