@adecore/ui 0.50.0 → 0.50.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.
@@ -21,6 +21,8 @@ export const FILE_TREE_CSS = `
21
21
  [data-item-section="content"] [data-truncate-content] { direction: ltr; }
22
22
  [data-item-section="content"] :where([data-truncate-content="overflow"], [data-truncate-marker-cell], [data-truncate-fill]) { display: none; }
23
23
  [data-item-section="git"] { margin-inline-end: var(--adecore-tree-status-space, 0px); }
24
+ /* The engine lifts the dot to the text's x-height; in a row of marks it belongs in the middle, with them. */
25
+ [data-item-section="git"] [data-icon-name="file-tree-icon-dot"] { transform: none; }
24
26
  ::highlight(${MATCH_HIGHLIGHT}) { background-color: var(--match); color: inherit; }
25
27
  [data-tree-port] { position: absolute; z-index: 4; display: flex; align-items: center; height: 25px; pointer-events: none; }
26
28
  [data-tree-port] > slot { pointer-events: auto; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adecore/ui",
3
- "version": "0.50.0",
3
+ "version": "0.50.1",
4
4
  "description": "React components, a theme, formatters and a settings dialog for desktop-grade apps on React 19, Base UI and Tailwind 4.",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "author": "Bas Milius",
@@ -22,6 +22,8 @@ export const FILE_TREE_CSS = `
22
22
  [data-item-section="content"] [data-truncate-content] { direction: ltr; }
23
23
  [data-item-section="content"] :where([data-truncate-content="overflow"], [data-truncate-marker-cell], [data-truncate-fill]) { display: none; }
24
24
  [data-item-section="git"] { margin-inline-end: var(--adecore-tree-status-space, 0px); }
25
+ /* The engine lifts the dot to the text's x-height; in a row of marks it belongs in the middle, with them. */
26
+ [data-item-section="git"] [data-icon-name="file-tree-icon-dot"] { transform: none; }
25
27
  ::highlight(${MATCH_HIGHLIGHT}) { background-color: var(--match); color: inherit; }
26
28
  [data-tree-port] { position: absolute; z-index: 4; display: flex; align-items: center; height: 25px; pointer-events: none; }
27
29
  [data-tree-port] > slot { pointer-events: auto; }