@emuanalytics/flow-rdf-ui 4.4.0 → 5.0.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.
- package/dist/components/icon/library.mjs +3 -3
- package/dist/components/tab/tab.styles.mjs +2 -0
- package/dist/components/tab-group/tab-group.styles.mjs +3 -2
- package/dist/components/tree/tree.component.mjs +887 -272
- package/dist/components/tree/tree.styles.mjs +126 -20
- package/dist/components/tree-item/tree-item.component.mjs +27 -289
- package/dist/custom-elements.json +1778 -1270
- package/dist/index.d.mts +464 -306
- package/dist/index.d.ts +464 -306
- package/dist/package.json.mjs +1 -1
- package/dist/vscode.html-custom-data.json +154 -142
- package/package.json +3 -3
- package/dist/components/tree-item/tree-item.styles.mjs +0 -182
- package/themes/dark-new.css +0 -723
- package/themes/dark-new.styles.js +0 -745
|
@@ -3,15 +3,15 @@ export { addIcons } from './library.default.mjs';
|
|
|
3
3
|
import systemLibrary from './library.system.mjs';
|
|
4
4
|
|
|
5
5
|
let registry;
|
|
6
|
-
|
|
6
|
+
const watchedIcons = /* @__PURE__ */ new Set();
|
|
7
7
|
function getRegistry() {
|
|
8
8
|
return registry ?? (registry = [library, systemLibrary]);
|
|
9
9
|
}
|
|
10
10
|
function watchIcon(icon) {
|
|
11
|
-
watchedIcons.
|
|
11
|
+
watchedIcons.add(icon);
|
|
12
12
|
}
|
|
13
13
|
function unwatchIcon(icon) {
|
|
14
|
-
watchedIcons
|
|
14
|
+
watchedIcons.delete(icon);
|
|
15
15
|
}
|
|
16
16
|
function getIconLibrary(name) {
|
|
17
17
|
return getRegistry().find((lib) => lib.name === name);
|
|
@@ -37,8 +37,10 @@ const styles = css`
|
|
|
37
37
|
min-width: var(--min-size);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
/* Fill the vertical tab bar's width, which the tab group stretches to the widest tab */
|
|
40
41
|
:host([placement='start']) .tab,
|
|
41
42
|
:host([placement='end']) .tab {
|
|
43
|
+
flex: 1;
|
|
42
44
|
min-height: var(--min-size);
|
|
43
45
|
}
|
|
44
46
|
|
|
@@ -299,10 +299,11 @@ const styles = css`
|
|
|
299
299
|
overflow-y: auto;
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
+
/* Vertical tabs stretch to the widest tab, so they are all the same width */
|
|
302
303
|
.tab-group--start .tab-group__tabs {
|
|
303
304
|
flex: 0 0 auto;
|
|
304
305
|
flex-direction: column;
|
|
305
|
-
align-items:
|
|
306
|
+
align-items: stretch;
|
|
306
307
|
}
|
|
307
308
|
|
|
308
309
|
.tab-group--start .tab-group__indicator {
|
|
@@ -380,7 +381,7 @@ const styles = css`
|
|
|
380
381
|
.tab-group--end .tab-group__tabs {
|
|
381
382
|
flex: 0 0 auto;
|
|
382
383
|
flex-direction: column;
|
|
383
|
-
align-items:
|
|
384
|
+
align-items: stretch;
|
|
384
385
|
}
|
|
385
386
|
|
|
386
387
|
.tab-group--end .tab-group__indicator {
|