@melodicdev/components 2.0.2 → 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.
@@ -12650,13 +12650,16 @@ const mi = () => _`
12650
12650
  }
12651
12651
 
12652
12652
  /* ── Body rows ── */
12653
+ /* Divider rendered as an inset box-shadow (not border-bottom) so it never
12654
+ participates in layout — hover/selected/striped state changes can't
12655
+ collapse it and shift rows below by 1px. */
12653
12656
  .ml-table__row {
12654
- border-bottom: var(--ml-table-divider-width) solid var(--ml-table-divider-color);
12657
+ box-shadow: inset 0 calc(-1 * var(--ml-table-divider-width)) 0 var(--ml-table-divider-color);
12655
12658
  transition: background-color var(--ml-duration-150) var(--ml-ease-in-out);
12656
12659
  }
12657
12660
 
12658
12661
  .ml-table__row:last-child {
12659
- border-bottom: none;
12662
+ box-shadow: none;
12660
12663
  }
12661
12664
 
12662
12665
  .ml-table--hoverable .ml-table__row:hover {
@@ -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.2",
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",