@oicl/openbridge-webcomponents-full-bundle 2.0.0-next.146 → 2.0.0-next.147
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 +45 -16
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +1 -1
- package/dist/building-blocks/readout-block/readout-block.d.ts +1 -1
- package/dist/building-blocks/readout-block/readout-block.js.map +1 -1
- package/dist/components/textbox/textbox.d.ts +1 -1
- package/dist/components/textbox/textbox.js.map +1 -1
- package/dist/components/top-bar/top-bar.css.js +44 -15
- package/dist/components/top-bar/top-bar.css.js.map +1 -1
- package/dist/components/top-bar/top-bar.js +1 -1
- package/dist/components/top-bar/top-bar.js.map +1 -1
- package/dist/navigation-instruments/readout/readout.d.ts +1 -1
- package/dist/navigation-instruments/readout/readout.js.map +1 -1
- package/dist/navigation-instruments/readout-list-item/readout-list-item.d.ts +1 -1
- package/dist/navigation-instruments/readout-list-item/readout-list-item.js.map +1 -1
- package/package.json +1 -1
- package/script/agent-docs/emitters.ts +3 -2
- package/src/building-blocks/readout-block/readout-block.stories.ts +1 -1
- package/src/building-blocks/readout-block/readout-block.ts +1 -1
- package/src/components/textbox/textbox.stories.ts +1 -1
- package/src/components/textbox/textbox.ts +1 -1
- package/src/components/top-bar/top-bar.css +44 -18
- package/src/components/top-bar/top-bar.ts +1 -1
- package/src/navigation-instruments/readout/readout.stories.ts +1 -1
- package/src/navigation-instruments/readout/readout.ts +1 -1
- package/src/navigation-instruments/readout-list-item/readout-list-item.stories.ts +1 -1
- package/src/navigation-instruments/readout-list-item/readout-list-item.ts +1 -1
- package/vitest.browser.config.ts +3 -0
|
@@ -121649,27 +121649,28 @@ const compentStyle$l = i$7`* {
|
|
|
121649
121649
|
height: var(--app-components-topbar-touch-target-tall);
|
|
121650
121650
|
}
|
|
121651
121651
|
|
|
121652
|
+
.wrapper.inactive {
|
|
121653
|
+
padding-left: calc(
|
|
121654
|
+
var(--app-components-topbar-margin-global) +
|
|
121655
|
+
var(--app-components-topbar-padding-left-small)
|
|
121656
|
+
); /* no menu button: inset the title instead */
|
|
121657
|
+
}
|
|
121658
|
+
|
|
121659
|
+
/* ---- One flex line ----
|
|
121660
|
+
Flattened because a squeeze must reach the texts, not a group: a shrinkable
|
|
121661
|
+
left group collapses under an unshrinkable alert and covers the menu button. */
|
|
121662
|
+
|
|
121652
121663
|
.group {
|
|
121653
|
-
display:
|
|
121654
|
-
align-items: center;
|
|
121664
|
+
display: contents;
|
|
121655
121665
|
}
|
|
121656
121666
|
|
|
121657
|
-
.group.right {
|
|
121658
|
-
justify-content: flex-end;
|
|
121659
|
-
flex-grow: 1;
|
|
121660
|
-
}
|
|
121661
|
-
|
|
121662
121667
|
.settings .group.left > * {
|
|
121663
121668
|
margin-right: 0;
|
|
121664
121669
|
margin-left: 0;
|
|
121665
121670
|
}
|
|
121666
121671
|
|
|
121667
121672
|
.group.left .title {
|
|
121668
|
-
|
|
121669
|
-
}
|
|
121670
|
-
|
|
121671
|
-
.inactive .group.left {
|
|
121672
|
-
padding-left: var(--app-components-topbar-padding-left-small);
|
|
121673
|
+
padding-right: var(--app-components-topbar-label-spacing);
|
|
121673
121674
|
}
|
|
121674
121675
|
|
|
121675
121676
|
.group.left .menu-button {
|
|
@@ -121690,16 +121691,40 @@ const compentStyle$l = i$7`* {
|
|
|
121690
121691
|
color: var(--element-neutral-color);
|
|
121691
121692
|
}
|
|
121692
121693
|
|
|
121694
|
+
/* Controls never shrink: a squeeze reaches the texts, then overflows the end */
|
|
121695
|
+
|
|
121696
|
+
.menu-button,
|
|
121697
|
+
.app-icon,
|
|
121698
|
+
.left-more-button,
|
|
121699
|
+
.dimming-button,
|
|
121700
|
+
.user-button,
|
|
121701
|
+
.apps-button,
|
|
121702
|
+
::slotted([slot="command-button"]),
|
|
121703
|
+
::slotted([slot="clock"]) {
|
|
121704
|
+
flex-shrink: 0;
|
|
121705
|
+
}
|
|
121706
|
+
|
|
121693
121707
|
.alert-container {
|
|
121694
121708
|
display: flex;
|
|
121695
|
-
flex
|
|
121709
|
+
flex: 1 1 0; /* zero basis: fills what the texts leave, holds its min-content in a squeeze */
|
|
121696
121710
|
gap: var(--app-components-topbar-label-spacing);
|
|
121697
121711
|
align-items: center;
|
|
121698
121712
|
justify-content: right;
|
|
121699
121713
|
}
|
|
121700
121714
|
|
|
121701
|
-
|
|
121715
|
+
/* ---- Text gives way first ---- */
|
|
121716
|
+
|
|
121717
|
+
.title,
|
|
121718
|
+
.page-name {
|
|
121719
|
+
overflow: hidden;
|
|
121702
121720
|
color: var(--element-active-color, #1a1a1a);
|
|
121721
|
+
}
|
|
121722
|
+
|
|
121723
|
+
.title {
|
|
121724
|
+
flex-shrink: 3; /* the app title gives way before the page name */
|
|
121725
|
+
min-width: 2em; /* room for "A…": narrower boxes paint a clipped glyph instead */
|
|
121726
|
+
white-space: nowrap;
|
|
121727
|
+
text-overflow: ellipsis;
|
|
121703
121728
|
font-family: var(--global-typography-font-family);
|
|
121704
121729
|
font-weight: var(--global-typography-ui-body-font-weight);
|
|
121705
121730
|
font-size: var(--global-typography-ui-body-font-size);
|
|
@@ -121711,7 +121736,11 @@ const compentStyle$l = i$7`* {
|
|
|
121711
121736
|
}
|
|
121712
121737
|
|
|
121713
121738
|
.page-name {
|
|
121714
|
-
|
|
121739
|
+
min-width: 0; /* shrink below the longest word instead of pushing buttons out */
|
|
121740
|
+
display: -webkit-box; /* two lines, then an ellipsis */
|
|
121741
|
+
-webkit-box-orient: vertical;
|
|
121742
|
+
-webkit-line-clamp: 2;
|
|
121743
|
+
line-clamp: 2;
|
|
121715
121744
|
font-family: var(--global-typography-font-family);
|
|
121716
121745
|
font-weight: var(--global-typography-ui-body-active-font-weight);
|
|
121717
121746
|
font-size: var(--global-typography-ui-body-active-font-size);
|
|
@@ -122105,7 +122134,7 @@ let ObcTopBar = class extends i$4 {
|
|
|
122105
122134
|
|
|
122106
122135
|
@media (max-width: ${this.appTitleBreakpointPx}px) {
|
|
122107
122136
|
.title {
|
|
122108
|
-
display: none;
|
|
122137
|
+
display: none !important; /* the stylesheet's display wins over this inline rule otherwise */
|
|
122109
122138
|
}
|
|
122110
122139
|
}
|
|
122111
122140
|
|