@streamscloud/kit 0.93.1 → 0.93.2
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.
|
@@ -35,7 +35,7 @@ const changeItemPosition = (target, positionChange) => {
|
|
|
35
35
|
<div class="actions">
|
|
36
36
|
{#each visibleActions as action (action)}
|
|
37
37
|
<PopoverItem on={{ click: () => action.action(item) }}>
|
|
38
|
-
<IconText icon={action.icon} size="
|
|
38
|
+
<IconText icon={action.icon} size="sm">
|
|
39
39
|
{action.title}
|
|
40
40
|
</IconText>
|
|
41
41
|
</PopoverItem>
|
|
@@ -308,6 +308,7 @@ const handleActionsClosed = () => {
|
|
|
308
308
|
--_tree-node--padding-inline: var(--sc-kit--tree-node--padding-inline, 0.5rem);
|
|
309
309
|
--_tree-node--padding-block: var(--sc-kit--tree-node--padding-block, 0.375rem);
|
|
310
310
|
--_tree-node--indent: var(--sc-kit--tree-node--indent, 1rem);
|
|
311
|
+
--_tree-node--trailing-size: 1.5rem;
|
|
311
312
|
position: relative;
|
|
312
313
|
width: 100%;
|
|
313
314
|
color: var(--sc-kit--color--text--primary);
|
|
@@ -432,6 +433,8 @@ const handleActionsClosed = () => {
|
|
|
432
433
|
}
|
|
433
434
|
.tree-node__count {
|
|
434
435
|
flex-shrink: 0;
|
|
436
|
+
padding-inline-end: calc((var(--_tree-node--trailing-size) - 1ch) / 2);
|
|
437
|
+
font-variant-numeric: tabular-nums;
|
|
435
438
|
font-size: var(--sc-kit--font-size--xs);
|
|
436
439
|
color: var(--sc-kit--color--accent);
|
|
437
440
|
}
|
|
@@ -447,8 +450,8 @@ const handleActionsClosed = () => {
|
|
|
447
450
|
display: inline-flex;
|
|
448
451
|
align-items: center;
|
|
449
452
|
justify-content: center;
|
|
450
|
-
width:
|
|
451
|
-
height:
|
|
453
|
+
width: var(--_tree-node--trailing-size);
|
|
454
|
+
height: var(--_tree-node--trailing-size);
|
|
452
455
|
border-radius: var(--sc-kit--radius--sm);
|
|
453
456
|
color: var(--sc-kit--color--text--secondary);
|
|
454
457
|
}
|