@oicl/openbridge-webcomponents 2.2.0-next.4 → 2.2.0-next.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/bundle/openbridge-webcomponents.bundle.js +6 -0
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +5 -1
- package/dist/components/top-bar/top-bar.css.js +5 -0
- package/dist/components/top-bar/top-bar.css.js.map +1 -1
- package/dist/components/top-bar/top-bar.d.ts +5 -1
- package/dist/components/top-bar/top-bar.d.ts.map +1 -1
- package/dist/components/top-bar/top-bar.js +1 -0
- package/dist/components/top-bar/top-bar.js.map +1 -1
- package/package.json +1 -1
|
@@ -114015,11 +114015,16 @@ var top_bar_default = i$7`* {
|
|
|
114015
114015
|
.dimming-button,
|
|
114016
114016
|
.user-button,
|
|
114017
114017
|
.apps-button,
|
|
114018
|
+
::slotted([slot="asset-picker"]),
|
|
114018
114019
|
::slotted([slot="command-button"]),
|
|
114019
114020
|
::slotted([slot="clock"]) {
|
|
114020
114021
|
flex-shrink: 0;
|
|
114021
114022
|
}
|
|
114022
114023
|
|
|
114024
|
+
::slotted([slot="asset-picker"]) {
|
|
114025
|
+
margin: 0 var(--app-components-topbar-label-spacing); /* Figma pads the picker 8 px each side; a dropdown button brings no gutter of its own */
|
|
114026
|
+
}
|
|
114027
|
+
|
|
114023
114028
|
.alert-container {
|
|
114024
114029
|
display: flex;
|
|
114025
114030
|
flex: 1 1 0; /* zero basis: fills what the texts leave, holds its min-content in a squeeze */
|
|
@@ -114407,6 +114412,7 @@ var ObcTopBar = class ObcTopBar extends i$4 {
|
|
|
114407
114412
|
if (this.showAppIcon) leftGroup.push(b`<div class="app-icon"><slot name="app-icon"></slot></div>`);
|
|
114408
114413
|
leftGroup.push(b`<div class="title">${this.appTitle}</div>`);
|
|
114409
114414
|
leftGroup.push(b`<div class="page-name">${this.pageName}</div>`);
|
|
114415
|
+
leftGroup.push(b`<slot name="asset-picker"></slot>`);
|
|
114410
114416
|
leftGroup.push(b`<slot name="command-button"></slot>`);
|
|
114411
114417
|
}
|
|
114412
114418
|
return b`
|