@trycourier/courier-ui-inbox 2.4.5 → 2.4.7
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/__tests__/custom-element-construction.test.d.ts +1 -0
- package/dist/components/courier-inbox-header.d.ts +1 -1
- package/dist/components/courier-inbox-list.d.ts +1 -1
- package/dist/components/courier-inbox-pagination-list-item.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
package/dist/index.mjs
CHANGED
|
@@ -1982,6 +1982,9 @@ class CourierInboxPaginationListItem extends CourierBaseElement {
|
|
|
1982
1982
|
__publicField(this, "_customItem");
|
|
1983
1983
|
// Handlers
|
|
1984
1984
|
__publicField(this, "_onPaginationTrigger");
|
|
1985
|
+
if (!props) {
|
|
1986
|
+
return;
|
|
1987
|
+
}
|
|
1985
1988
|
this._theme = props.theme;
|
|
1986
1989
|
this._customItem = props.customItem;
|
|
1987
1990
|
this._onPaginationTrigger = props.onPaginationTrigger;
|
|
@@ -2120,6 +2123,9 @@ class CourierInboxList extends CourierBaseElement {
|
|
|
2120
2123
|
__publicField(this, "_listItemMenuStyles");
|
|
2121
2124
|
__publicField(this, "_errorContainer");
|
|
2122
2125
|
__publicField(this, "_emptyContainer");
|
|
2126
|
+
if (!props) {
|
|
2127
|
+
return;
|
|
2128
|
+
}
|
|
2123
2129
|
this._onRefresh = props.onRefresh;
|
|
2124
2130
|
this._onPaginationTrigger = props.onPaginationTrigger;
|
|
2125
2131
|
this._onMessageClick = props.onMessageClick;
|
|
@@ -3249,6 +3255,9 @@ class CourierInboxHeader extends CourierFactoryElement {
|
|
|
3249
3255
|
__publicField(this, "_onFeedReselected");
|
|
3250
3256
|
__publicField(this, "_onTabChange");
|
|
3251
3257
|
__publicField(this, "_onTabReselected");
|
|
3258
|
+
if (!props) {
|
|
3259
|
+
return;
|
|
3260
|
+
}
|
|
3252
3261
|
this._themeSubscription = props.themeManager.subscribe((_) => {
|
|
3253
3262
|
this.refreshTheme();
|
|
3254
3263
|
});
|
|
@@ -6025,7 +6034,7 @@ class CourierInboxDatastoreEvents {
|
|
|
6025
6034
|
}
|
|
6026
6035
|
}
|
|
6027
6036
|
Courier.shared.courierUserAgentName = "courier-ui-inbox";
|
|
6028
|
-
Courier.shared.courierUserAgentVersion = "2.4.
|
|
6037
|
+
Courier.shared.courierUserAgentVersion = "2.4.7";
|
|
6029
6038
|
export {
|
|
6030
6039
|
Courier2 as Courier,
|
|
6031
6040
|
CourierInbox,
|