@gravity-ui/blog-constructor 1.1.0-alpha.0 → 1.1.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,231 +1,38 @@
1
- # Change log
1
+ # Changelog
2
2
 
3
- ## 0.20.1
3
+ ## [1.1.2](https://github.com/gravity-ui/blog-constructor/compare/v1.1.1...v1.1.2) (2023-03-28)
4
4
 
5
- - Rewrite storybook on ts
6
5
 
7
- ## 0.20.0
6
+ ### Bug Fixes
8
7
 
9
- - Install @gravity-ui linters
8
+ * add info about release ([#19](https://github.com/gravity-ui/blog-constructor/issues/19)) ([8a5824f](https://github.com/gravity-ui/blog-constructor/commit/8a5824f24c4ad85f0f122111f8f5c1e7c36becc5))
10
9
 
11
- ## 0.19.0
10
+ ## [1.1.1](https://github.com/gravity-ui/blog-constructor/compare/v1.1.0...v1.1.1) (2023-03-28)
12
11
 
13
- ### Breaking changes
14
12
 
15
- - Refactor and rename types
16
- - Update react to 18.2.0
17
- - Update TS to 4.9.3
13
+ ### Bug Fixes
18
14
 
19
- ## 0.18.1
15
+ * add info about ci in readme ([#17](https://github.com/gravity-ui/blog-constructor/issues/17)) ([b6cffaa](https://github.com/gravity-ui/blog-constructor/commit/b6cffaa1c255c53cd00d06d4fbe0330e117f42a0))
20
16
 
21
- - Delete useless utils and small refactor
17
+ ## 1.1.0 (2023-03-28)
22
18
 
23
- ## 0.18.0
19
+ ### Features
24
20
 
25
- ### Breaking changes
21
+ - add workflows, update @types/react, small refactors, update Select ([#2](https://github.com/gravity-ui/blog-constructor/issues/2)) ([326247a](https://github.com/gravity-ui/blog-constructor/commit/326247abe9411b50c82ed2cfa516ac6cd341bfa7))
22
+ - Brush up stories, add content for CTA, Layout, Feed blocks. ([#4](https://github.com/gravity-ui/blog-constructor/issues/4)) ([0b73537](https://github.com/gravity-ui/blog-constructor/commit/0b73537b3bae35eca10610963369f3f5d8f9ecbd))
23
+ - export author type ([9e5ee34](https://github.com/gravity-ui/blog-constructor/commit/9e5ee34c6b4d1b3288cda1258160e22073f9ad9d))
24
+ - fix button savedOnly color ([#9](https://github.com/gravity-ui/blog-constructor/issues/9)) ([ef3b1ca](https://github.com/gravity-ui/blog-constructor/commit/ef3b1ca9048f1218817ec5c9c6a5b3e05492f062))
25
+ - init tests ([#1](https://github.com/gravity-ui/blog-constructor/issues/1)) ([f8df32f](https://github.com/gravity-ui/blog-constructor/commit/f8df32f3eccb97abc7bfef222aca1ea56421619b))
26
+ - **navigation:** pass the PageConstructor's navigation prop ([cb875ff](https://github.com/gravity-ui/blog-constructor/commit/cb875ff708832f5dd9e121d67cfccb387ae2499f))
27
+ - uninstall doctools/components ([#14](https://github.com/gravity-ui/blog-constructor/issues/14)) ([16dc64c](https://github.com/gravity-ui/blog-constructor/commit/16dc64c3002b614831880dbe5b250c5637031c7d))
28
+ - update license ([#3](https://github.com/gravity-ui/blog-constructor/issues/3)) ([aa4ee5b](https://github.com/gravity-ui/blog-constructor/commit/aa4ee5bdd01a7db5f6c6c457836658761eee1099))
29
+ - update readme ([#15](https://github.com/gravity-ui/blog-constructor/issues/15)) ([3dbdf78](https://github.com/gravity-ui/blog-constructor/commit/3dbdf78b35f93024bebbcf64a6f06fb01509ae3e))
26
30
 
27
- - Refactor naming
31
+ ### Bug Fixes
28
32
 
29
- ## 0.17.1
33
+ - **general:** better deps ([8c22384](https://github.com/gravity-ui/blog-constructor/commit/8c223848e47faf8b9beee6700afce317359ee226))
34
+ - search input width ([051c145](https://github.com/gravity-ui/blog-constructor/commit/051c14502110306964c4ec9a2bea47cea9364db5))
30
35
 
31
- - @gravity-ui/uikit 3.10.1 (fix share tooltip)
36
+ ## 1.0.0
32
37
 
33
- ## 0.17.0
34
-
35
- - @gravity-ui/uikit 3.9.0
36
-
37
- ## 0.16.1
38
-
39
- - Fix for treating page number on fetch
40
-
41
- ## 0.16.0
42
-
43
- - Show "-" in filters selector switchers when only one broken filter provided in a query
44
-
45
- ## 0.15.1
46
-
47
- - Do not show pointer cursor on save button title hover when the button is not clickable
48
-
49
- ## 0.15.0
50
-
51
- - Prevent save button to be clickable when user is not logged in
52
-
53
- ## 0.14.0
54
-
55
- - Refactor metaProps in BlogPostPage
56
-
57
- ## 0.13.0
58
-
59
- - Remove temporal flag of icon selection
60
-
61
- ## 0.12.4
62
-
63
- - Prevent collapse of a custom switcher on a blog feed
64
-
65
- ## 0.12.2
66
-
67
- - Update types for getBlogPosts handler
68
-
69
- ## 0.12.1
70
-
71
- - Render post card title via dangerouslySetInnerHTML
72
-
73
- ## 0.12.0
74
-
75
- - Update page change logic when interactions with blog search panel
76
-
77
- ## 0.11.1
78
-
79
- - **BlogYFM**: add `yfm_no-list-reset` class
80
-
81
- ## 0.11.0
82
-
83
- - Refactor styles (kebab, prefix, variables)
84
-
85
- ## 0.10.2
86
-
87
- - Add teamcity publish
88
-
89
- ## 0.10.1
90
-
91
- - BlogPostTag types became Partial, BlogPostTagExtended is deleted
92
-
93
- ## 0.10.0
94
-
95
- - add props for show support buttons in paginator
96
-
97
- ## 0.9.2
98
-
99
- - added yfm headers weight style
100
-
101
- ## 0.9.1
102
-
103
- - add specificity for search input styles
104
-
105
- ## 0.9.0
106
-
107
- - add customization for sharing options in blog posts
108
-
109
- ## 0.8.0
110
-
111
- - add BlogPage with gravity-ui requirements
112
-
113
- ## 0.7.1
114
-
115
- - Add info about publish in readme
116
-
117
- ## 0.7.0
118
-
119
- - Change packages @yandex-cloud => @gravity-ui
120
- - Remove i18n from peer dependencies
121
-
122
- ## 0.6.30
123
-
124
- - add BlogPage
125
-
126
- ## 0.5.10
127
-
128
- - fix yfm styles for table
129
-
130
- ## 0.5.9
131
-
132
- - fix yfm styles
133
-
134
- ## 0.5.8
135
-
136
- - delete selection of blog structure
137
-
138
- ## 0.5.7
139
-
140
- - color variables updates
141
-
142
- ## 0.5.6
143
-
144
- - change transformPostTags() routine
145
-
146
- ## 0.5.5
147
-
148
- - add page-constructor in peer-dependencies
149
-
150
- ## 0.5.3
151
-
152
- - fix yfm styles: add css variables to be able to redefine styles in projects
153
-
154
- ## 0.5.2
155
-
156
- - condition for likes in cards
157
-
158
- ## 0.5.1
159
-
160
- - refactor LocaleContext
161
- - refactor RouterContext
162
- - now likes is not required props
163
-
164
- ## 0.4.3
165
-
166
- - Back previously patch
167
-
168
- ## 0.4.2
169
-
170
- - Fix meta
171
-
172
- ## 0.4.1
173
-
174
- - Fix share button
175
- - now region props is not required in TransformPageContentPropsType
176
-
177
- ## 0.4.0
178
-
179
- - Add likes state update conditions
180
-
181
- ## 0.3.1
182
-
183
- - Add metaData render condition
184
-
185
- ## 0.3.0
186
-
187
- - Update props metaData
188
-
189
- ## 0.2.3
190
-
191
- - Update types and namings
192
-
193
- ## 0.2.2
194
-
195
- - Update styles
196
-
197
- ## 0.2.1
198
-
199
- - Add default color for avatars (grey)
200
-
201
- ## 0.2.0
202
-
203
- - Custom hook for likes
204
-
205
- - Change props for BlogPostPage
206
- - delete:
207
- - data
208
- - add:
209
- - likes
210
- - content
211
- - post
212
-
213
- ## 0.1.0
214
-
215
- - Refactor business-logic BlogSuggets
216
-
217
- ## 0.0.4
218
-
219
- - Delete extra requirements
220
-
221
- ## 0.0.3
222
-
223
- - Refactor BlogContextProvider
224
-
225
- ## 0.0.2
226
-
227
- - Meta fixes
228
-
229
- ## 0.0.1
230
-
231
- - Create first version including Blog Post Page
38
+ Create public access for blog-constructor library for creating blog format web pages.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @gravity-ui/blog-constructor · [![npm package](https://img.shields.io/npm/v/@gravity-ui/blog-constructor)](https://www.npmjs.com/package/@gravity-ui/blog-constructor)
1
+ # @gravity-ui/blog-constructor · [![npm package](https://img.shields.io/npm/v/@gravity-ui/blog-constructor)](https://www.npmjs.com/package/@gravity-ui/blog-constructor) [![CI](https://img.shields.io/github/actions/workflow/status/gravity-ui/blog-constructor/ci.yml?branch=main&label=CI)](https://github.com/gravity-ui/blog-constructor/actions/workflows/ci.yml?query=branch:main) [![CI](https://img.shields.io/github/actions/workflow/status/gravity-ui/blog-constructor/release.yml?branch=main&label=Release)](https://github.com/gravity-ui/blog-constructor/actions/workflows/release.yml?query=branch:main) [![storybook](https://img.shields.io/badge/Storybook-deployed-ff4685)](https://preview.yandexcloud.dev/blog-constructor/)
2
2
 
3
3
  ## Install
4
4
 
@@ -10,6 +10,8 @@ npm install @gravity-ui/blog-constructor
10
10
 
11
11
  `Blog-constructor` is a library based on the [Page-constructor](https://github.com/gravity-ui/page-constructor) library for creating blog format web pages. Blog-constructor uses the [`custom`](https://github.com/gravity-ui/page-constructor#custom-blocks) prop from page-constructor to add the components needed for the blog.
12
12
 
13
+ ### Documentation - [storybook](https://preview.yandexcloud.dev/blog-constructor/)
14
+
13
15
  ### Getting started
14
16
 
15
17
  The blog-constructor has both client components and server components for import. The blog pages is imported as a React component. To make sure it runs properly, wrap it in `BlogConstructorProvider`:
@@ -18,7 +20,7 @@ The blog-constructor has both client components and server components for import
18
20
  import {BlogPage, BlogConstructorProvider} from '@gravity-ui/blog-constructor';
19
21
 
20
22
  // Main blog page
21
- <BlogConstructorProvider>
23
+ <BlogConstructorProvider {...providerProps}>
22
24
  <BlogPage
23
25
  content={content}
24
26
  posts={posts}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/blog-constructor",
3
- "version": "1.1.0-alpha.0",
3
+ "version": "1.1.2",
4
4
  "description": "Gravity UI Blog Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -16,6 +16,6 @@
16
16
  }
17
17
 
18
18
  .docs-story {
19
- // без этого в docs пропадают объекты с z-index меньше 0
19
+ // without this in docs objects with z-index < 0 dissapear
20
20
  z-index: 0 !important;
21
21
  }