@infomaximum/widget-sdk 4.0.0-beta33 → 4.0.0-beta35

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1367,7 +1367,6 @@ type TContextMenu = (TContextMenuList | TContextMenuButtonGroup) & {
1367
1367
  x?: number;
1368
1368
  y?: number;
1369
1369
  };
1370
- onClose?: () => void;
1371
1370
  };
1372
1371
  type TContextMenuPositionUnit = "%" | "px";
1373
1372
  type TContextMenuList = {
@@ -1391,6 +1390,7 @@ type TContextMenuButtonActions = {
1391
1390
  };
1392
1391
  type TContextMenuButtonClose = {
1393
1392
  type: "close";
1393
+ onClick?: () => void;
1394
1394
  };
1395
1395
  type TContextMenuButtonApply = {
1396
1396
  type: "apply";
@@ -1449,7 +1449,7 @@ interface IWidgetProps<WidgetSettings extends IBaseWidgetSettings = IBaseWidgetS
1449
1449
  /** Объект для управления плейсхолдером */
1450
1450
  placeholder: IWidgetPlaceholderController;
1451
1451
  /** Объект для получения значений плейсхолдера */
1452
- placeholderValues?: IWidgetPlaceholderValues;
1452
+ placeholderValues: IWidgetPlaceholderValues;
1453
1453
  /** Контекст виджета */
1454
1454
  widgetsContext: IWidgetsContext;
1455
1455
  /** Данные о контейнере виджета */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "4.0.0-beta33",
3
+ "version": "4.0.0-beta35",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",