@gravity-ui/page-constructor 2.3.1 → 2.3.2

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,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.3.2](https://github.com/gravity-ui/page-constructor/compare/v2.3.1...v2.3.2) (2023-04-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * export an analytics contexts ([#283](https://github.com/gravity-ui/page-constructor/issues/283)) ([96e4840](https://github.com/gravity-ui/page-constructor/commit/96e48407c89f590c48d88a4b2e3d06acfe9e72bc))
9
+ * set footnotes is deprecated ([#271](https://github.com/gravity-ui/page-constructor/issues/271)) ([7ea88f2](https://github.com/gravity-ui/page-constructor/commit/7ea88f2d9fbd31440857209b46d90735515ce805))
10
+
3
11
  ## [2.3.1](https://github.com/gravity-ui/page-constructor/compare/v2.3.0...v2.3.1) (2023-04-03)
4
12
 
5
13
 
@@ -1,3 +1,8 @@
1
+ /**
2
+ * @deprecated use Content block instead
3
+ *
4
+ * @return - JSX
5
+ */
1
6
  export declare const ConstructorFootnotes: ({ items }: {
2
7
  items: string[];
3
8
  }) => JSX.Element;
@@ -6,6 +6,11 @@ const react_1 = tslib_1.__importDefault(require("react"));
6
6
  const components_1 = require("../../../../components");
7
7
  const utils_1 = require("../../../../utils");
8
8
  const b = (0, utils_1.block)('constructor-footnotes');
9
+ /**
10
+ * @deprecated use Content block instead
11
+ *
12
+ * @return - JSX
13
+ */
9
14
  const ConstructorFootnotes = ({ items }) => (react_1.default.createElement("ol", { className: b() }, items.map((footnote, index) => (react_1.default.createElement("li", { className: b('item'), key: index },
10
15
  react_1.default.createElement(components_1.YFMWrapper, { content: footnote, modifiers: {
11
16
  constructor: true,
@@ -1,4 +1,5 @@
1
1
  export * from './context/theme';
2
+ export * from './context/analyticsContext';
2
3
  export * from './containers/PageConstructor';
3
4
  export * from './grid';
4
5
  export * from './blocks';
@@ -4,6 +4,7 @@ exports.BREAKPOINTS = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  //storybook
6
6
  tslib_1.__exportStar(require("./context/theme"), exports);
7
+ tslib_1.__exportStar(require("./context/analyticsContext"), exports);
7
8
  tslib_1.__exportStar(require("./containers/PageConstructor"), exports);
8
9
  tslib_1.__exportStar(require("./grid"), exports);
9
10
  tslib_1.__exportStar(require("./blocks"), exports);
@@ -1,4 +1,9 @@
1
1
  import './ConstructorFootnotes.css';
2
+ /**
3
+ * @deprecated use Content block instead
4
+ *
5
+ * @return - JSX
6
+ */
2
7
  export declare const ConstructorFootnotes: ({ items }: {
3
8
  items: string[];
4
9
  }) => JSX.Element;
@@ -3,6 +3,11 @@ import { YFMWrapper } from '../../../../components';
3
3
  import { block } from '../../../../utils';
4
4
  import './ConstructorFootnotes.css';
5
5
  const b = block('constructor-footnotes');
6
+ /**
7
+ * @deprecated use Content block instead
8
+ *
9
+ * @return - JSX
10
+ */
6
11
  export const ConstructorFootnotes = ({ items }) => (React.createElement("ol", { className: b() }, items.map((footnote, index) => (React.createElement("li", { className: b('item'), key: index },
7
12
  React.createElement(YFMWrapper, { content: footnote, modifiers: {
8
13
  constructor: true,
@@ -1,4 +1,5 @@
1
1
  export * from './context/theme';
2
+ export * from './context/analyticsContext';
2
3
  export * from './containers/PageConstructor';
3
4
  export * from './grid';
4
5
  export * from './blocks';
@@ -1,5 +1,6 @@
1
1
  //storybook
2
2
  export * from './context/theme';
3
+ export * from './context/analyticsContext';
3
4
  export * from './containers/PageConstructor';
4
5
  export * from './grid';
5
6
  export * from './blocks';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {