@gravity-ui/page-constructor 2.8.0 → 2.8.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,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.8.2](https://github.com/gravity-ui/page-constructor/compare/v2.8.1...v2.8.2) (2023-04-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* allow everyone to publish release and remove execess maintainers ([#301](https://github.com/gravity-ui/page-constructor/issues/301)) ([2bfe490](https://github.com/gravity-ui/page-constructor/commit/2bfe490f643707427383be104ffe699fd6db4e27))
|
|
9
|
+
|
|
10
|
+
## [2.8.1](https://github.com/gravity-ui/page-constructor/compare/v2.8.0...v2.8.1) (2023-04-11)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* incorrect slider style order ([#297](https://github.com/gravity-ui/page-constructor/issues/297)) ([ba3b36a](https://github.com/gravity-ui/page-constructor/commit/ba3b36af199325cdba22f26c5b34d943456ae3fc))
|
|
16
|
+
|
|
3
17
|
## [2.8.0](https://github.com/gravity-ui/page-constructor/compare/v2.7.0...v2.8.0) (2023-04-11)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
|
@@ -323,3 +323,20 @@ When you receive the approval of your pull-request from the code owners and pass
|
|
|
323
323
|
3. Wait until robot creates a PR with a new version of the package and information about your changes in CHANGELOG.md. You can see the process on [the Actions tab](https://github.com/gravity-ui/page-constructor/actions).
|
|
324
324
|
4. Check your changes in CHANGELOG.md and approve robot's PR.
|
|
325
325
|
5. Squash and merge PR. You can see release process on [the Actions tab](https://github.com/gravity-ui/page-constructor/actions).
|
|
326
|
+
|
|
327
|
+
### Beta-major versions release
|
|
328
|
+
|
|
329
|
+
If you want to release a new major version, you will probably need for a beta versions before a stable one, please do the following:
|
|
330
|
+
|
|
331
|
+
1. Create or update the branch `beta`.
|
|
332
|
+
2. Add there your changes.
|
|
333
|
+
3. When you ready for a new beta version, release it manually with an empty commit (or you can add this commit message with footer to the last commit):
|
|
334
|
+
|
|
335
|
+
```bash
|
|
336
|
+
git commit -m 'fix: last commit
|
|
337
|
+
|
|
338
|
+
Release-As: 3.0.0-beta.0' --allow-empty
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
4. Release please robot will create a new PR to the branch `beta` with updated CHANGELOG.md and bump version of the package
|
|
342
|
+
5. You can repeat it as many as you want. When you ready to release the latest major version without beta tag, you have to create PR from branch `beta` to branch `main`. Notice that it is normal that your package version will be with beta tag. Robot knows that and change it properly. `3.0.0-beta.0` will become `3.0.0`
|
|
@@ -18,6 +18,8 @@ const models_1 = require("../../models");
|
|
|
18
18
|
const utils_1 = require("../../utils");
|
|
19
19
|
const Arrow_1 = tslib_1.__importDefault(require("./Arrow/Arrow"));
|
|
20
20
|
const utils_2 = require("./utils");
|
|
21
|
+
// Cause Slider.css should override slick.css
|
|
22
|
+
// eslint-disable-next-line import/order
|
|
21
23
|
const b = (0, utils_1.block)('SliderBlock');
|
|
22
24
|
const slick = (0, utils_1.block)('slick-origin');
|
|
23
25
|
const DOT_WIDTH = 8;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Settings } from 'react-slick';
|
|
2
2
|
import { ClassNameProps, Refable, SliderProps as SliderParams, WithChildren } from '../../models';
|
|
3
|
-
import './Slider.css';
|
|
4
3
|
import './slick.css';
|
|
4
|
+
import './Slider.css';
|
|
5
5
|
export interface SliderProps extends Omit<SliderParams, 'children'>, Refable<HTMLDivElement>, ClassNameProps, Pick<Settings, 'lazyLoad'> {
|
|
6
6
|
type?: string;
|
|
7
7
|
anchorId?: string;
|
|
@@ -14,8 +14,10 @@ import { SliderType, } from '../../models';
|
|
|
14
14
|
import { block } from '../../utils';
|
|
15
15
|
import Arrow from './Arrow/Arrow';
|
|
16
16
|
import { getSliderResponsiveParams, getSlidesCountByBreakpoint, getSlidesToShowCount, getSlidesToShowWithDefaults, } from './utils';
|
|
17
|
-
import './Slider.css';
|
|
18
17
|
import './slick.css';
|
|
18
|
+
// Cause Slider.css should override slick.css
|
|
19
|
+
// eslint-disable-next-line import/order
|
|
20
|
+
import './Slider.css';
|
|
19
21
|
const b = block('SliderBlock');
|
|
20
22
|
const slick = block('slick-origin');
|
|
21
23
|
const DOT_WIDTH = 8;
|