@webitel/ui-sdk 3.1.99 → 3.1.100

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "3.1.99",
3
+ "version": "3.1.100",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -139,9 +139,12 @@ const unsubscribeTriggers = () => {
139
139
  };
140
140
 
141
141
  const { floatingStyles } = useFloating(activator, floating, {
142
- placement: props.placement,
142
+ placement: props.placement === 'auto' ? null : props.placement,
143
143
  // https://floating-ui.com/docs/middleware
144
- middleware: [shift(), flip(), offset(8)],
144
+ middleware: [
145
+ shift(), flip(), offset(8),
146
+ props.placement === 'auto' ? autoPlacement() : null,
147
+ ],
145
148
  });
146
149
 
147
150
  watch(props.visible, (value) => {