@gravity-ui/page-constructor 2.8.0 → 2.8.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.8.1](https://github.com/gravity-ui/page-constructor/compare/v2.8.0...v2.8.1) (2023-04-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * incorrect slider style order ([#297](https://github.com/gravity-ui/page-constructor/issues/297)) ([ba3b36a](https://github.com/gravity-ui/page-constructor/commit/ba3b36af199325cdba22f26c5b34d943456ae3fc))
9
+
3
10
  ## [2.8.0](https://github.com/gravity-ui/page-constructor/compare/v2.7.0...v2.8.0) (2023-04-11)
4
11
 
5
12
 
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {