@microsoft/teams-js 2.0.0-beta.3-dev.50 → 2.0.0-beta.3-dev.51

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.
@@ -115,6 +115,21 @@ export namespace menus {
115
115
  */
116
116
  contentDescription?: string;
117
117
  }
118
+ /**
119
+ * Defines how a menu item should appear in the NavBar.
120
+ */
121
+ enum DisplayMode {
122
+ /**
123
+ * Only place this item in the NavBar if there's room for it.
124
+ * If there's no room, item is shown in the overflow menu.
125
+ */
126
+ ifRoom = 0,
127
+ /**
128
+ * Never place this item in the NavBar.
129
+ * The item would always be shown in NavBar's overflow menu.
130
+ */
131
+ overflowOnly = 1
132
+ }
118
133
  /**
119
134
  * @hidden
120
135
  * Represents information about menu item for Action Menu and Navigation Bar Menu.
@@ -160,6 +175,12 @@ export namespace menus {
160
175
  * Whether the menu item is selected or not
161
176
  */
162
177
  selected: boolean;
178
+ /**
179
+ * The Display Mode of the menu item.
180
+ * Default Behaviour would be DisplayMode.ifRoom if null.
181
+ * Refer {@link DisplayMode}
182
+ */
183
+ displayMode?: DisplayMode;
163
184
  }
164
185
  /**
165
186
  * @hidden
@@ -1120,7 +1120,7 @@ __webpack_require__.d(__webpack_exports__, {
1120
1120
  });
1121
1121
 
1122
1122
  ;// CONCATENATED MODULE: ./src/internal/constants.ts
1123
- var version = "2.0.0-beta.3-dev.50";
1123
+ var version = "2.0.0-beta.3-dev.51";
1124
1124
  /**
1125
1125
  * @hidden
1126
1126
  * The client version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
@@ -1944,6 +1944,22 @@ var logs;
1944
1944
  */
1945
1945
  var menus;
1946
1946
  (function (menus) {
1947
+ /**
1948
+ * Defines how a menu item should appear in the NavBar.
1949
+ */
1950
+ var DisplayMode;
1951
+ (function (DisplayMode) {
1952
+ /**
1953
+ * Only place this item in the NavBar if there's room for it.
1954
+ * If there's no room, item is shown in the overflow menu.
1955
+ */
1956
+ DisplayMode[DisplayMode["ifRoom"] = 0] = "ifRoom";
1957
+ /**
1958
+ * Never place this item in the NavBar.
1959
+ * The item would always be shown in NavBar's overflow menu.
1960
+ */
1961
+ DisplayMode[DisplayMode["overflowOnly"] = 1] = "overflowOnly";
1962
+ })(DisplayMode = menus.DisplayMode || (menus.DisplayMode = {}));
1947
1963
  /**
1948
1964
  * @hidden
1949
1965
  * Represents information about menu item for Action Menu and Navigation Bar Menu.