dsh-workspace-session-filter 1.0.3 → 1.0.5
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.
- package/client.js +7 -6
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -755,10 +755,11 @@ window.__ModuleLoader__.load({
|
|
|
755
755
|
className: 'dwsf-footChip',
|
|
756
756
|
'data-active': mode === key ? 'true' : 'false',
|
|
757
757
|
'aria-pressed': mode === key ? 'true' : 'false',
|
|
758
|
+
'aria-label': count > 0 ? `${label} \u00b7 ${count}` : label,
|
|
758
759
|
onClick: () => openWith(key),
|
|
759
760
|
},
|
|
760
761
|
h('span', { className: 'dwsf-footChipLabel' }, label),
|
|
761
|
-
h('span', { className: 'dwsf-footChipCount' }, String(count))
|
|
762
|
+
count > 0 ? h('span', { className: 'dwsf-footChipCount' }, String(count)) : null
|
|
762
763
|
)
|
|
763
764
|
|
|
764
765
|
const filters = h('div', { className: 'dwsf-footChips', role: 'group', 'aria-label': t('filter.aria') },
|
|
@@ -904,14 +905,14 @@ window.__ModuleLoader__.load({
|
|
|
904
905
|
.dwsf-emptyTitle{color:var(--dsw-alias-label-tertiary);font-size:14px;font-weight:400;line-height:1.6}
|
|
905
906
|
.dwsf-emptyHint{color:var(--dsw-alias-label-caption);font-size:13px;line-height:20px}
|
|
906
907
|
[data-slot="sidebar.footer.action"]{display:flex !important;flex-wrap:wrap;width:100%;min-width:0;align-items:flex-start;column-gap:0;row-gap:0}
|
|
907
|
-
.dwsf-foot{flex:1 0 100%;display:flex;align-items:center;min-width:0;max-width:100%;margin:8px 0 2px;padding:0
|
|
908
|
-
.dwsf-footChips{display:flex;align-items:center;gap:2px;min-width:0}
|
|
909
|
-
.dwsf-footChip{flex:
|
|
908
|
+
.dwsf-foot{flex:1 0 100%;display:flex;align-items:center;min-width:0;max-width:100%;margin:8px 0 2px;padding:0 2px}
|
|
909
|
+
.dwsf-footChips{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:4px 2px;min-width:0;width:100%}
|
|
910
|
+
.dwsf-footChip{flex:0 1 auto;min-width:0;max-width:100%;height:28px;display:inline-flex;align-items:center;justify-content:center;gap:3px;padding:0 7px;border:0;border-radius:999px;background:0 0;color:var(--dsw-alias-label-tertiary);font:inherit;font-size:12px;line-height:18px;white-space:nowrap;cursor:pointer;overflow:hidden}
|
|
910
911
|
.dwsf-footChip:hover{background:var(--dsw-alias-interactive-bg-hover)}
|
|
911
912
|
.dwsf-footChip[data-active="true"]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}
|
|
912
913
|
.dwsf-footChip:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}
|
|
913
|
-
.dwsf-footChipLabel{
|
|
914
|
-
.dwsf-footChipCount{flex:none;color:var(--dsw-alias-label-caption);font-size:
|
|
914
|
+
.dwsf-footChipLabel{flex:0 0 auto;white-space:nowrap}
|
|
915
|
+
.dwsf-footChipCount{flex:none;color:var(--dsw-alias-label-caption);font-size:10px;line-height:14px;font-variant-numeric:tabular-nums}
|
|
915
916
|
.dwsf-footChip[data-active="true"] .dwsf-footChipCount{color:var(--dsw-alias-label-secondary)}
|
|
916
917
|
.dwsf-footRail{flex:0 0 auto;display:flex;justify-content:center;width:100%}
|
|
917
918
|
.dwsf-footRailButton{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:0 0;color:var(--dsw-alias-label-primary);cursor:pointer}
|