@neovici/cosmoz-omnitable 13.4.0 → 13.5.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.
@@ -536,13 +536,15 @@ export default css`
536
536
  .itemRow-minis {
537
537
  display: flex;
538
538
  justify-content: space-between;
539
- margin: 0 8px 8px 8px;
539
+ margin: 14px 12px 12px 12px;
540
+ color: var(--cosmoz-omnitable-mini-color, #000);
540
541
  }
541
542
 
542
543
  :host([mini]) .itemRow {
543
- border-radius: 8px;
544
+ border-radius: 12px;
544
545
  border: 1px solid var(--cosmoz-omnitable-border-color, #e1e2e5);
545
546
  margin: 4px 8px;
547
+ padding-top: 2px;
546
548
  }
547
549
  :host([mini]) .itemRow:not([selected]) {
548
550
  background: var(--cosmoz-omnitable-mini-item-background, #fdfdfd);
package/lib/use-list.js CHANGED
@@ -27,7 +27,10 @@ const renderMinis = (item) => (columns) =>
27
27
  <div class="itemRow-minis" part="item-minis">
28
28
  ${columns.map(
29
29
  (column) =>
30
- html`<div class="itemRow-mini" part="item-mini">
30
+ html`<div
31
+ class="itemRow-mini"
32
+ part="item-mini item-mini-${column.name}"
33
+ >
31
34
  ${(column.renderMini ?? column.renderCell)(column, { item })}
32
35
  </div>`,
33
36
  )}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-omnitable",
3
- "version": "13.4.0",
3
+ "version": "13.5.0",
4
4
  "description": "[![Build Status](https://travis-ci.org/Neovici/cosmoz-omnitable.svg?branch=master)](https://travis-ci.org/Neovici/cosmoz-omnitable)",
5
5
  "keywords": [
6
6
  "web-components"