@melodicdev/components 2.0.1 → 2.0.3

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 +1 @@
1
- {"version":3,"file":"table.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/data-display/table/table.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,iDAiTvB,CAAC"}
1
+ {"version":3,"file":"table.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/data-display/table/table.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,iDAoTvB,CAAC"}
@@ -177,13 +177,16 @@ export const tableStyles = () => css `
177
177
  }
178
178
 
179
179
  /* ── Body rows ── */
180
+ /* Divider rendered as an inset box-shadow (not border-bottom) so it never
181
+ participates in layout — hover/selected/striped state changes can't
182
+ collapse it and shift rows below by 1px. */
180
183
  .ml-table__row {
181
- border-bottom: var(--ml-table-divider-width) solid var(--ml-table-divider-color);
184
+ box-shadow: inset 0 calc(-1 * var(--ml-table-divider-width)) 0 var(--ml-table-divider-color);
182
185
  transition: background-color var(--ml-duration-150) var(--ml-ease-in-out);
183
186
  }
184
187
 
185
188
  .ml-table__row:last-child {
186
- border-bottom: none;
189
+ box-shadow: none;
187
190
  }
188
191
 
189
192
  .ml-table--hoverable .ml-table__row:hover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melodicdev/components",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Themeable UI component library built on the Melodic Framework",
5
5
  "license": "MIT",
6
6
  "author": "Melodic Development",