@placeholderco/placeholder-ui 3.3.5 → 3.3.6

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.
@@ -328,16 +328,29 @@
328
328
  padding-left: 0.25rem;
329
329
  }
330
330
 
331
+ /* One indent step per level. The default (chevron width + row gap) puts each
332
+ guide line directly under the parent folder's chevron. */
331
333
  .ft-indent {
332
- display: inline-flex;
334
+ --ft-indent-step: var(--filetree-indent, 1.25rem);
335
+ display: flex;
333
336
  flex-shrink: 0;
337
+ align-self: stretch;
338
+ /* Extend through the row's vertical padding so guides join up between rows */
339
+ margin-block: -0.375rem;
334
340
  }
335
341
 
336
342
  .ft-indent-line {
337
- display: inline-block;
338
- height: 100%;
343
+ position: relative;
344
+ width: var(--ft-indent-step);
345
+ }
346
+
347
+ .ft-indent-line::before {
348
+ content: '';
349
+ position: absolute;
350
+ inset-block: 0;
351
+ /* Centre of the ancestor's chevron: row gap + half the chevron width */
352
+ left: 0.75rem;
339
353
  border-left: 1px solid var(--border-color);
340
- margin-right: 2px;
341
354
  }
342
355
 
343
356
  .ft-chevron {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@placeholderco/placeholder-ui",
3
- "version": "3.3.5",
3
+ "version": "3.3.6",
4
4
  "description": "A modern, customizable Svelte 5 UI component library with comprehensive theming support. Re-brand it with a single config object.",
5
5
  "license": "MIT",
6
6
  "author": "Placeholderco",