@interopio/widget 1.1.0-next.0 → 1.1.1

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/changelog.md CHANGED
@@ -1,3 +1,10 @@
1
+ 1.1.1
2
+ fix: scrolling problem in SandBox demo env
3
+ 1.1.0
4
+ fix: widget typings
5
+ feat: introduce displayInWorkspace optional prop in widget config
6
+ fix: add check not to show widget if it's in a platform within a frame
7
+ fix: fix issue when channels were not displayed when switching from a default to a compact widget mode
1
8
  1.0.3
2
9
  chore: unified repo bump
3
10
  1.0.2
@@ -1239,8 +1239,9 @@ const ChannelSelectorWrapper = ({ mode }) => {
1239
1239
  };
1240
1240
  handleBtnBackgroundChange();
1241
1241
  }, [channelsInfo]);
1242
- return (React.createElement(L, { onClick: getChannels },
1243
- mode === "default" ? (React.createElement(L.ButtonIcon, { className: "io-btn-icon", icon: "link", iconSize: "16", size: "32", variant: "circle" })) : (React.createElement(L.Button, { icon: "link", text: "Select Channel", iconRight: false })),
1242
+ return (React.createElement(L, { onClick: getChannels, variant: "outline" },
1243
+ mode === "default" ? (React.createElement(L.ButtonIcon, { className: "io-btn-icon", icon: "link", iconSize: "16", size: "32", variant: "circle" })) : (React.createElement(L.Item, { append: React.createElement(y, { variant: "chevron-right", size: "10" }) },
1244
+ React.createElement(L.Button, { variant: "link", icon: "link", text: "Select Channel", iconRight: false }))),
1244
1245
  React.createElement(L.Content, null,
1245
1246
  React.createElement(ChannelSelector, { className: "io-list-channels", variant: type, channels: channelsInfo, onChannelSelect: type === "single" ? handleSingleChannelSelect : handleDirectionalChannelSelect, variantToggle: variantToggle, onVariantChange: onTypeChange }))));
1246
1247
  };
@@ -1262,7 +1263,7 @@ const ModeDropdown = ({ mode, modeClickHandler }) => {
1262
1263
  };
1263
1264
 
1264
1265
  const Settings = ({ position, positionClickHandler, mode, modeClickHandler }) => {
1265
- return (React.createElement(L, { align: "up" },
1266
+ return (React.createElement(L, { align: "up", variant: "outline" },
1266
1267
  React.createElement(L.ButtonIcon, { className: "io-btn-icon", icon: "cog", iconSize: "16", size: "32", variant: "circle" }),
1267
1268
  React.createElement(L.Content, null,
1268
1269
  React.createElement(PositionDropdown, { position: position, positionClickHandler: positionClickHandler }),
@@ -1277,8 +1278,8 @@ const DefaultWidget = ({ showBringBackToWspBtn, handleBringBackToWspClick, showC
1277
1278
  };
1278
1279
 
1279
1280
  const CompactWidget = ({ position, positionClickHandler, mode, modeClickHandler, handleBringBackToWspClick, showBringBackToWspBtn, showChannelSelectorBtn, }) => {
1280
- return (React.createElement(L, null,
1281
- React.createElement(L.ButtonIcon, { className: "io-btn-icon", iconSize: "16", size: "32", variant: "circle" }),
1281
+ return (React.createElement(L, { variant: "outline" },
1282
+ React.createElement(L.ButtonIcon, { icon: "logo", className: "io-btn-icon", iconSize: "16", size: "32", variant: "circle" }),
1282
1283
  React.createElement(L.Content, null,
1283
1284
  React.createElement(L.ItemSection, null, "App"),
1284
1285
  React.createElement(L.List, null,