@oicl/openbridge-webcomponents 2.2.0-next.1 → 2.2.0-next.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.
- package/bundle/openbridge-webcomponents.bundle.js +27 -11
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +42 -8
- package/dist/components/top-bar/top-bar.css.js +2 -2
- package/dist/components/top-bar/top-bar.css.js.map +1 -1
- package/dist/components/top-bar/top-bar.d.ts +23 -8
- package/dist/components/top-bar/top-bar.d.ts.map +1 -1
- package/dist/components/top-bar/top-bar.js +25 -9
- package/dist/components/top-bar/top-bar.js.map +1 -1
- package/package.json +1 -1
|
@@ -113957,7 +113957,7 @@ var top_bar_default = i$7`* {
|
|
|
113957
113957
|
/* Controls never shrink: a squeeze reaches the texts, then overflows the end */
|
|
113958
113958
|
.menu-button,
|
|
113959
113959
|
.app-icon,
|
|
113960
|
-
.
|
|
113960
|
+
.more-button,
|
|
113961
113961
|
.dimming-button,
|
|
113962
113962
|
.user-button,
|
|
113963
113963
|
.apps-button,
|
|
@@ -114013,7 +114013,7 @@ var top_bar_default = i$7`* {
|
|
|
114013
114013
|
"ss04" on;
|
|
114014
114014
|
}
|
|
114015
114015
|
|
|
114016
|
-
.
|
|
114016
|
+
.more-button {
|
|
114017
114017
|
display: none;
|
|
114018
114018
|
}
|
|
114019
114019
|
|
|
@@ -114186,7 +114186,7 @@ var ObcTopBar = class ObcTopBar extends i$4 {
|
|
|
114186
114186
|
this.menuButtonActivated = false;
|
|
114187
114187
|
this.dimmingButtonActivated = false;
|
|
114188
114188
|
this.appsButtonActivated = false;
|
|
114189
|
-
this.
|
|
114189
|
+
this.moreButtonActivated = false;
|
|
114190
114190
|
this.userButtonActivated = false;
|
|
114191
114191
|
this.userButtonDisabled = false;
|
|
114192
114192
|
this.tall = false;
|
|
@@ -114224,9 +114224,24 @@ var ObcTopBar = class ObcTopBar extends i$4 {
|
|
|
114224
114224
|
*/
|
|
114225
114225
|
this.dispatchEvent(new CustomEvent("apps-button-clicked"));
|
|
114226
114226
|
}
|
|
114227
|
-
|
|
114227
|
+
/**
|
|
114228
|
+
* Copies the deprecated `leftMoreButtonActivated` into
|
|
114229
|
+
* `moreButtonActivated`. A plain field rather than a getter/setter alias:
|
|
114230
|
+
* the Vue wrapper writes every prop back on its second render, and a getter
|
|
114231
|
+
* would then write `false` over the new property.
|
|
114232
|
+
*/
|
|
114233
|
+
willUpdate(changed) {
|
|
114234
|
+
super.willUpdate(changed);
|
|
114235
|
+
if (changed.has("leftMoreButtonActivated") && this.leftMoreButtonActivated !== void 0) this.moreButtonActivated = this.leftMoreButtonActivated;
|
|
114236
|
+
}
|
|
114237
|
+
moreButtonClicked() {
|
|
114238
|
+
/**
|
|
114239
|
+
* Fired when the more button is clicked.
|
|
114240
|
+
* @event more-button-clicked
|
|
114241
|
+
*/
|
|
114242
|
+
this.dispatchEvent(new CustomEvent("more-button-clicked"));
|
|
114228
114243
|
/**
|
|
114229
|
-
*
|
|
114244
|
+
* Deprecated alias of `more-button-clicked`; removed in 4.0.0.
|
|
114230
114245
|
* @event left-more-button-clicked
|
|
114231
114246
|
*/
|
|
114232
114247
|
this.dispatchEvent(new CustomEvent("left-more-button-clicked"));
|
|
@@ -114342,8 +114357,8 @@ var ObcTopBar = class ObcTopBar extends i$4 {
|
|
|
114342
114357
|
}
|
|
114343
114358
|
return b`
|
|
114344
114359
|
<style>
|
|
114345
|
-
@media (max-width: ${Math.max(this.appButtonBreakpointPx, this.dimmingButtonBreakpointPx)}px) {
|
|
114346
|
-
.
|
|
114360
|
+
@media (max-width: ${Math.max(this.appButtonBreakpointPx, this.dimmingButtonBreakpointPx, this.userButtonBreakpointPx, this.appIconBreakpointPx)}px) {
|
|
114361
|
+
.more-button {
|
|
114347
114362
|
display: revert !important;
|
|
114348
114363
|
}
|
|
114349
114364
|
|
|
@@ -114429,12 +114444,12 @@ var ObcTopBar = class ObcTopBar extends i$4 {
|
|
|
114429
114444
|
</obc-icon-button>` : null}
|
|
114430
114445
|
${this.showClock ? b`<slot name="clock"></slot>` : null}
|
|
114431
114446
|
${!this.inactive ? b`<obc-icon-button
|
|
114432
|
-
class="
|
|
114433
|
-
part="left-more-button"
|
|
114447
|
+
class="more-button"
|
|
114448
|
+
part="more-button left-more-button"
|
|
114434
114449
|
variant="flat"
|
|
114435
114450
|
aria-label=${msg("More")}
|
|
114436
|
-
@click=${this.
|
|
114437
|
-
?activated=${this.
|
|
114451
|
+
@click=${this.moreButtonClicked}
|
|
114452
|
+
?activated=${this.moreButtonActivated}
|
|
114438
114453
|
>
|
|
114439
114454
|
<obi-more-vertical-google></obi-more-vertical-google>
|
|
114440
114455
|
</obc-icon-button>` : null}
|
|
@@ -114452,6 +114467,7 @@ __decorate([n$4({ type: String })], ObcTopBar.prototype, "menuButtonIcon", void
|
|
|
114452
114467
|
__decorate([n$4({ type: Boolean })], ObcTopBar.prototype, "menuButtonActivated", void 0);
|
|
114453
114468
|
__decorate([n$4({ type: Boolean })], ObcTopBar.prototype, "dimmingButtonActivated", void 0);
|
|
114454
114469
|
__decorate([n$4({ type: Boolean })], ObcTopBar.prototype, "appsButtonActivated", void 0);
|
|
114470
|
+
__decorate([n$4({ type: Boolean })], ObcTopBar.prototype, "moreButtonActivated", void 0);
|
|
114455
114471
|
__decorate([n$4({ type: Boolean })], ObcTopBar.prototype, "leftMoreButtonActivated", void 0);
|
|
114456
114472
|
__decorate([n$4({ type: Boolean })], ObcTopBar.prototype, "userButtonActivated", void 0);
|
|
114457
114473
|
__decorate([n$4({ type: Boolean })], ObcTopBar.prototype, "userButtonDisabled", void 0);
|