@revikornmann/muka-ui 0.21.0 → 0.22.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.
@@ -63,12 +63,10 @@
63
63
  */
64
64
  width: fit-content;
65
65
  /*
66
- * Stops short of the far edge at every width: the fixed cap once the
67
- * conversation column reaches its own cap, the ratio below that, where the
68
- * column runs full-bleed. Without that gap a long `own` bubble spans the
69
- * column and reads no differently from a `peer` one.
66
+ * Ceiling from design (Figma 5355:44091). Below it, wrapping text fills the
67
+ * row; above it the fixed cap leaves room for own/peer alignment.
70
68
  */
71
- max-width: min(var(--chatbubble-max-width), var(--chatbubble-max-width-ratio));
69
+ max-width: var(--chatbubble-max-width);
72
70
  position: relative;
73
71
  display: flex;
74
72
  flex-direction: column;
@@ -75,6 +75,11 @@
75
75
  transition: background-color 0.15s ease;
76
76
  }
77
77
 
78
+ /* Last body row: no bottom border (matches Table; avoids a double line at the table edge). */
79
+ .muka-data-table__body .muka-data-table__row:last-child {
80
+ border-bottom: none;
81
+ }
82
+
78
83
  .muka-data-table__row:not(.muka-data-table__row--empty):not(.muka-data-table__row--selected):hover {
79
84
  background-color: var(--datatable-row-hover-background);
80
85
  }
@@ -63,12 +63,10 @@
63
63
  */
64
64
  width: fit-content;
65
65
  /*
66
- * Stops short of the far edge at every width: the fixed cap once the
67
- * conversation column reaches its own cap, the ratio below that, where the
68
- * column runs full-bleed. Without that gap a long `own` bubble spans the
69
- * column and reads no differently from a `peer` one.
66
+ * Ceiling from design (Figma 5355:44091). Below it, wrapping text fills the
67
+ * row; above it the fixed cap leaves room for own/peer alignment.
70
68
  */
71
- max-width: min(var(--chatbubble-max-width), var(--chatbubble-max-width-ratio));
69
+ max-width: var(--chatbubble-max-width);
72
70
  position: relative;
73
71
  display: flex;
74
72
  flex-direction: column;
@@ -75,6 +75,11 @@
75
75
  transition: background-color 0.15s ease;
76
76
  }
77
77
 
78
+ /* Last body row: no bottom border (matches Table; avoids a double line at the table edge). */
79
+ .muka-data-table__body .muka-data-table__row:last-child {
80
+ border-bottom: none;
81
+ }
82
+
78
83
  .muka-data-table__row:not(.muka-data-table__row--empty):not(.muka-data-table__row--selected):hover {
79
84
  background-color: var(--datatable-row-hover-background);
80
85
  }
@@ -63,12 +63,10 @@
63
63
  */
64
64
  width: fit-content;
65
65
  /*
66
- * Stops short of the far edge at every width: the fixed cap once the
67
- * conversation column reaches its own cap, the ratio below that, where the
68
- * column runs full-bleed. Without that gap a long `own` bubble spans the
69
- * column and reads no differently from a `peer` one.
66
+ * Ceiling from design (Figma 5355:44091). Below it, wrapping text fills the
67
+ * row; above it the fixed cap leaves room for own/peer alignment.
70
68
  */
71
- max-width: min(var(--chatbubble-max-width), var(--chatbubble-max-width-ratio));
69
+ max-width: var(--chatbubble-max-width);
72
70
  position: relative;
73
71
  display: flex;
74
72
  flex-direction: column;
@@ -75,6 +75,11 @@
75
75
  transition: background-color 0.15s ease;
76
76
  }
77
77
 
78
+ /* Last body row: no bottom border (matches Table; avoids a double line at the table edge). */
79
+ .muka-data-table__body .muka-data-table__row:last-child {
80
+ border-bottom: none;
81
+ }
82
+
78
83
  .muka-data-table__row:not(.muka-data-table__row--empty):not(.muka-data-table__row--selected):hover {
79
84
  background-color: var(--datatable-row-hover-background);
80
85
  }