@gravity-ui/page-constructor 8.5.0 → 8.6.0

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.
@@ -107,7 +107,15 @@ unpredictable css rules order in build */
107
107
  .yfm_constructor.yfm_constructor_size_s p {
108
108
  margin-bottom: 8px;
109
109
  }
110
- .yfm_constructor.yfm_constructor_theme_dark p {
110
+ .yfm_constructor.yfm_constructor_theme_dark h1,
111
+ .yfm_constructor.yfm_constructor_theme_dark h2,
112
+ .yfm_constructor.yfm_constructor_theme_dark h3,
113
+ .yfm_constructor.yfm_constructor_theme_dark h4,
114
+ .yfm_constructor.yfm_constructor_theme_dark h5,
115
+ .yfm_constructor.yfm_constructor_theme_dark h6,
116
+ .yfm_constructor.yfm_constructor_theme_dark span,
117
+ .yfm_constructor.yfm_constructor_theme_dark p,
118
+ .yfm_constructor.yfm_constructor_theme_dark li {
111
119
  color: var(--g-color-text-light-primary);
112
120
  }
113
121
 
@@ -107,7 +107,15 @@ unpredictable css rules order in build */
107
107
  .yfm_constructor.yfm_constructor_size_s p {
108
108
  margin-bottom: 8px;
109
109
  }
110
- .yfm_constructor.yfm_constructor_theme_dark p {
110
+ .yfm_constructor.yfm_constructor_theme_dark h1,
111
+ .yfm_constructor.yfm_constructor_theme_dark h2,
112
+ .yfm_constructor.yfm_constructor_theme_dark h3,
113
+ .yfm_constructor.yfm_constructor_theme_dark h4,
114
+ .yfm_constructor.yfm_constructor_theme_dark h5,
115
+ .yfm_constructor.yfm_constructor_theme_dark h6,
116
+ .yfm_constructor.yfm_constructor_theme_dark span,
117
+ .yfm_constructor.yfm_constructor_theme_dark p,
118
+ .yfm_constructor.yfm_constructor_theme_dark li {
111
119
  color: var(--g-color-text-light-primary);
112
120
  }
113
121
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "8.5.0",
3
+ "version": "8.6.0",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -93,7 +93,8 @@
93
93
  "playwright:docker": "./scripts/playwright-docker.sh 'npm run playwright'",
94
94
  "playwright:docker:update": "./scripts/playwright-docker.sh 'npm run playwright:update'",
95
95
  "playwright:docker:clear-cache": "./scripts/playwright-docker.sh clear-cache",
96
- "playwright:install": "playwright install --with-deps"
96
+ "playwright:install": "playwright install --with-deps",
97
+ "build:playground": "echo wip"
97
98
  },
98
99
  "dependencies": {
99
100
  "@bem-react/classname": "^1.6.0",
package/styles/styles.css CHANGED
@@ -49,7 +49,15 @@ unpredictable css rules order in build */
49
49
  .yfm_constructor.yfm_constructor_size_s p {
50
50
  margin-bottom: 8px;
51
51
  }
52
- .yfm_constructor.yfm_constructor_theme_dark p {
52
+ .yfm_constructor.yfm_constructor_theme_dark h1,
53
+ .yfm_constructor.yfm_constructor_theme_dark h2,
54
+ .yfm_constructor.yfm_constructor_theme_dark h3,
55
+ .yfm_constructor.yfm_constructor_theme_dark h4,
56
+ .yfm_constructor.yfm_constructor_theme_dark h5,
57
+ .yfm_constructor.yfm_constructor_theme_dark h6,
58
+ .yfm_constructor.yfm_constructor_theme_dark span,
59
+ .yfm_constructor.yfm_constructor_theme_dark p,
60
+ .yfm_constructor.yfm_constructor_theme_dark li {
53
61
  color: var(--g-color-text-light-primary);
54
62
  }
55
63
 
package/styles/yfm.scss CHANGED
@@ -62,7 +62,15 @@
62
62
  }
63
63
 
64
64
  &_theme_dark {
65
- p {
65
+ h1,
66
+ h2,
67
+ h3,
68
+ h4,
69
+ h5,
70
+ h6,
71
+ span,
72
+ p,
73
+ li {
66
74
  color: var(--g-color-text-light-primary);
67
75
  }
68
76
  }
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([[122],{87741:function(_,t,e){_.exports=function(_){\"use strict\";function t(_){return _&&\"object\"==typeof _&&\"default\"in _?_:{default:_}}var e=t(_),s={name:\"zh-hk\",months:\"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月\".split(\"_\"),monthsShort:\"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月\".split(\"_\"),weekdays:\"星期日_星期一_星期二_星期三_星期四_星期五_星期六\".split(\"_\"),weekdaysShort:\"週日_週一_週二_週三_週四_週五_週六\".split(\"_\"),weekdaysMin:\"日_一_二_三_四_五_六\".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\"},relativeTime:{future:\"%s內\",past:\"%s前\",s:\"幾秒\",m:\"一分鐘\",mm:\"%d 分鐘\",h:\"一小時\",hh:\"%d 小時\",d:\"一天\",dd:\"%d 天\",M:\"一個月\",MM:\"%d 個月\",y:\"一年\",yy:\"%d 年\"}};return e.default.locale(s,null,!0),s}(e(74353))}}]);";