@gravity-ui/page-constructor 8.11.0 → 8.13.0-beta.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.
@@ -12,7 +12,6 @@ declare const EffectCards: SwiperModule;
12
12
  declare const HashNavigation: SwiperModule;
13
13
  declare const History: SwiperModule;
14
14
  declare const Keyboard: SwiperModule;
15
- declare const Lazy: SwiperModule;
16
15
  declare const Mousewheel: SwiperModule;
17
16
  declare const Navigation: SwiperModule;
18
17
  declare const Pagination: SwiperModule;
@@ -38,7 +37,6 @@ export {
38
37
  HashNavigation,
39
38
  History,
40
39
  Keyboard,
41
- Lazy,
42
40
  Mousewheel,
43
41
  Navigation,
44
42
  Pagination,
@@ -56,10 +56,10 @@ unpredictable css rules order in build */
56
56
  text-align: left;
57
57
  }
58
58
  .pc-content_size_s .pc-content__text {
59
- margin-top: 8px;
59
+ margin-top: var(--pc-content-text-margin-top, 8px);
60
60
  }
61
61
  .pc-content_size_s .pc-content__text_without-title {
62
- margin-top: 0;
62
+ margin-top: var(--pc-content-text-margin-top, 0);
63
63
  }
64
64
  .pc-content_size_s .pc-content__list,
65
65
  .pc-content_size_s .pc-content__links,
@@ -67,17 +67,17 @@ unpredictable css rules order in build */
67
67
  margin-top: 16px;
68
68
  }
69
69
  .pc-content_size_s .pc-content__buttons {
70
- margin-top: 20px;
70
+ margin-top: var(--pc-content-buttons-margin-top, 20px);
71
71
  }
72
72
  .pc-content_size_s .pc-content__notice .yfm {
73
73
  font-size: var(--g-text-body-1-font-size);
74
74
  line-height: var(--g-text-body-1-line-height);
75
75
  }
76
76
  .pc-content_size_m .pc-content__text {
77
- margin-top: 12px;
77
+ margin-top: var(--pc-content-text-margin-top, 12px);
78
78
  }
79
79
  .pc-content_size_m .pc-content__text_without-title {
80
- margin-top: 0;
80
+ margin-top: var(--pc-content-text-margin-top, 0);
81
81
  }
82
82
  .pc-content_size_m .pc-content__text .yfm,
83
83
  .pc-content_size_m .pc-content__notice .yfm {
@@ -98,13 +98,13 @@ unpredictable css rules order in build */
98
98
  margin-top: 20px;
99
99
  }
100
100
  .pc-content_size_m .pc-content__buttons {
101
- margin-top: 24px;
101
+ margin-top: var(--pc-content-buttons-margin-top, 24px);
102
102
  }
103
103
  .pc-content_size_l .pc-content__text {
104
- margin-top: 12px;
104
+ margin-top: var(--pc-content-text-margin-top, 12px);
105
105
  }
106
106
  .pc-content_size_l .pc-content__text_without-title {
107
- margin-top: 0;
107
+ margin-top: var(--pc-content-text-margin-top, 0);
108
108
  }
109
109
  .pc-content_size_l .pc-content__text .yfm,
110
110
  .pc-content_size_l .pc-content__notice .yfm {
@@ -125,13 +125,13 @@ unpredictable css rules order in build */
125
125
  margin-top: 20px;
126
126
  }
127
127
  .pc-content_size_l .pc-content__buttons {
128
- margin-top: 24px;
128
+ margin-top: var(--pc-content-buttons-margin-top, 24px);
129
129
  }
130
130
  .pc-content_size_xl .pc-content__text {
131
- margin-top: 16px;
131
+ margin-top: var(--pc-content-text-margin-top, 16px);
132
132
  }
133
133
  .pc-content_size_xl .pc-content__text_without-title {
134
- margin-top: 0;
134
+ margin-top: var(--pc-content-text-margin-top, 0);
135
135
  }
136
136
  .pc-content_size_xl .pc-content__text .yfm,
137
137
  .pc-content_size_xl .pc-content__notice .yfm {
@@ -152,7 +152,7 @@ unpredictable css rules order in build */
152
152
  margin-top: 20px;
153
153
  }
154
154
  .pc-content_size_xl .pc-content__buttons {
155
- margin-top: 32px;
155
+ margin-top: var(--pc-content-buttons-margin-top, 32px);
156
156
  }
157
157
  .pc-content_theme_dark.pc-content_theme_dark {
158
158
  --g-color-line-focus: var(--pc-color-line-focus-dark);
@@ -56,10 +56,10 @@ unpredictable css rules order in build */
56
56
  text-align: left;
57
57
  }
58
58
  .pc-content_size_s .pc-content__text {
59
- margin-top: 8px;
59
+ margin-top: var(--pc-content-text-margin-top, 8px);
60
60
  }
61
61
  .pc-content_size_s .pc-content__text_without-title {
62
- margin-top: 0;
62
+ margin-top: var(--pc-content-text-margin-top, 0);
63
63
  }
64
64
  .pc-content_size_s .pc-content__list,
65
65
  .pc-content_size_s .pc-content__links,
@@ -67,17 +67,17 @@ unpredictable css rules order in build */
67
67
  margin-top: 16px;
68
68
  }
69
69
  .pc-content_size_s .pc-content__buttons {
70
- margin-top: 20px;
70
+ margin-top: var(--pc-content-buttons-margin-top, 20px);
71
71
  }
72
72
  .pc-content_size_s .pc-content__notice .yfm {
73
73
  font-size: var(--g-text-body-1-font-size);
74
74
  line-height: var(--g-text-body-1-line-height);
75
75
  }
76
76
  .pc-content_size_m .pc-content__text {
77
- margin-top: 12px;
77
+ margin-top: var(--pc-content-text-margin-top, 12px);
78
78
  }
79
79
  .pc-content_size_m .pc-content__text_without-title {
80
- margin-top: 0;
80
+ margin-top: var(--pc-content-text-margin-top, 0);
81
81
  }
82
82
  .pc-content_size_m .pc-content__text .yfm,
83
83
  .pc-content_size_m .pc-content__notice .yfm {
@@ -98,13 +98,13 @@ unpredictable css rules order in build */
98
98
  margin-top: 20px;
99
99
  }
100
100
  .pc-content_size_m .pc-content__buttons {
101
- margin-top: 24px;
101
+ margin-top: var(--pc-content-buttons-margin-top, 24px);
102
102
  }
103
103
  .pc-content_size_l .pc-content__text {
104
- margin-top: 12px;
104
+ margin-top: var(--pc-content-text-margin-top, 12px);
105
105
  }
106
106
  .pc-content_size_l .pc-content__text_without-title {
107
- margin-top: 0;
107
+ margin-top: var(--pc-content-text-margin-top, 0);
108
108
  }
109
109
  .pc-content_size_l .pc-content__text .yfm,
110
110
  .pc-content_size_l .pc-content__notice .yfm {
@@ -125,13 +125,13 @@ unpredictable css rules order in build */
125
125
  margin-top: 20px;
126
126
  }
127
127
  .pc-content_size_l .pc-content__buttons {
128
- margin-top: 24px;
128
+ margin-top: var(--pc-content-buttons-margin-top, 24px);
129
129
  }
130
130
  .pc-content_size_xl .pc-content__text {
131
- margin-top: 16px;
131
+ margin-top: var(--pc-content-text-margin-top, 16px);
132
132
  }
133
133
  .pc-content_size_xl .pc-content__text_without-title {
134
- margin-top: 0;
134
+ margin-top: var(--pc-content-text-margin-top, 0);
135
135
  }
136
136
  .pc-content_size_xl .pc-content__text .yfm,
137
137
  .pc-content_size_xl .pc-content__notice .yfm {
@@ -152,7 +152,7 @@ unpredictable css rules order in build */
152
152
  margin-top: 20px;
153
153
  }
154
154
  .pc-content_size_xl .pc-content__buttons {
155
- margin-top: 32px;
155
+ margin-top: var(--pc-content-buttons-margin-top, 32px);
156
156
  }
157
157
  .pc-content_theme_dark.pc-content_theme_dark {
158
158
  --g-color-line-focus: var(--pc-color-line-focus-dark);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "8.11.0",
3
+ "version": "8.13.0-beta.1",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -118,7 +118,7 @@
118
118
  "react-waypoint": "^10.1.0",
119
119
  "sanitize-html": "2.12.1",
120
120
  "snakecase-keys": "^5.1.0",
121
- "swiper": "^10.2.0",
121
+ "swiper": "^12.2.0",
122
122
  "typograf": "^7.4.1",
123
123
  "utility-types": "^3.10.0",
124
124
  "uuid": "^9.0.0"
@@ -200,6 +200,7 @@
200
200
  "npm-run-all": "^4.1.5",
201
201
  "postcss": "^8.4.16",
202
202
  "postcss-loader": "^4.3.0",
203
+ "postcss-nesting": "^12.1.5",
203
204
  "postcss-preset-env": "^9.0.0",
204
205
  "postcss-scss": "^4.0.4",
205
206
  "prettier": "^3.4.2",
package/widget/index.js CHANGED
@@ -1 +1 @@
1
- export default "(self.webpackChunk_gravity_ui_page_constructor=self.webpackChunk_gravity_ui_page_constructor||[]).push([[6007],{56007:function(_,t,e){_.exports=function(_){\"use strict\";function t(_){return _&&\"object\"==typeof _&&\"default\"in _?_:{default:_}}var e=t(_),Y={name:\"zh\",weekdays:\"星期日_星期一_星期二_星期三_星期四_星期五_星期六\".split(\"_\"),weekdaysShort:\"周日_周一_周二_周三_周四_周五_周六\".split(\"_\"),weekdaysMin:\"日_一_二_三_四_五_六\".split(\"_\"),months:\"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月\".split(\"_\"),monthsShort:\"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月\".split(\"_\"),ordinal:function(_,t){return\"W\"===t?_+\"周\":_+\"日\"},weekStart:1,yearStart:4,formats:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY/MM/DD\",LL:\"YYYY年M月D日\",LLL:\"YYYY年M月D日Ah点mm分\",LLLL:\"YYYY年M月D日ddddAh点mm分\",l:\"YYYY/M/D\",ll:\"YYYY年M月D日\",lll:\"YYYY年M月D日 HH:mm\",llll:\"YYYY年M月D日dddd HH:mm\"},relativeTime:{future:\"%s后\",past:\"%s前\",s:\"几秒\",m:\"1 分钟\",mm:\"%d 分钟\",h:\"1 小时\",hh:\"%d 小时\",d:\"1 天\",dd:\"%d 天\",M:\"1 个月\",MM:\"%d 个月\",y:\"1 年\",yy:\"%d 年\"},meridiem:function(_,t){var e=100*_+t;return e<600?\"凌晨\":e<900?\"早上\":e<1100?\"上午\":e<1300?\"中午\":e<1800?\"下午\":\"晚上\"}};return e.default.locale(Y,null,!0),Y}(e(74353))}}]);";
1
+ export default "(self.webpackChunk_gravity_ui_page_constructor=self.webpackChunk_gravity_ui_page_constructor||[]).push([[1349],{31349:function(_,t,Y){_.exports=function(_){\"use strict\";function t(_){return _&&\"object\"==typeof _&&\"default\"in _?_:{default:_}}var Y=t(_),e={name:\"zh-tw\",weekdays:\"星期日_星期一_星期二_星期三_星期四_星期五_星期六\".split(\"_\"),weekdaysShort:\"週日_週一_週二_週三_週四_週五_週六\".split(\"_\"),weekdaysMin:\"日_一_二_三_四_五_六\".split(\"_\"),months:\"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月\".split(\"_\"),monthsShort:\"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月\".split(\"_\"),ordinal:function(_,t){return\"W\"===t?_+\"週\":_+\"日\"},formats:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY/MM/DD\",LL:\"YYYY年M月D日\",LLL:\"YYYY年M月D日 HH:mm\",LLLL:\"YYYY年M月D日dddd HH:mm\",l:\"YYYY/M/D\",ll:\"YYYY年M月D日\",lll:\"YYYY年M月D日 HH:mm\",llll:\"YYYY年M月D日dddd HH:mm\"},relativeTime:{future:\"%s內\",past:\"%s前\",s:\"幾秒\",m:\"1 分鐘\",mm:\"%d 分鐘\",h:\"1 小時\",hh:\"%d 小時\",d:\"1 天\",dd:\"%d 天\",M:\"1 個月\",MM:\"%d 個月\",y:\"1 年\",yy:\"%d 年\"},meridiem:function(_,t){var Y=100*_+t;return Y<600?\"凌晨\":Y<900?\"早上\":Y<1100?\"上午\":Y<1300?\"中午\":Y<1800?\"下午\":\"晚上\"}};return Y.default.locale(e,null,!0),e}(Y(74353))}}]);";