Skip to content

Commit b60435a

Browse files
authored
Remove unactual info (#115)
* fix: remove unactual info
1 parent 8ff3117 commit b60435a

File tree

8 files changed

+7667
-15581
lines changed

8 files changed

+7667
-15581
lines changed

.storybook/main.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// import type {StorybookConfig} from '@storybook/core-common';
21
const {join} = require('path');
32

43
const config = {
@@ -22,7 +21,6 @@ const config = {
2221
},
2322
},
2423
},
25-
2624
webpackFinal: (storybookBaseConfig: any) => {
2725
storybookBaseConfig.module.rules.push({
2826
test: /\.md$/,

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ In the `Content`, if the `text` block has no `title`, the `margin-top` property
542542
### Breaking changes
543543

544544
- `PageConstructorProvider` is now a separate component. For the `PageConstructor` to run properly, wrap it in this provider.
545-
For details, see the [readme](https://github.yandex-team.ru/data-ui/page-constructor/blob/master/README.md#начало-работы) file.
545+
For details, see the [readme](https://github.com/gravity-ui/page-constructor#getting-started) file.
546546

547547
- Deleted the `system` theme (the `light` theme is used instead by default).
548548

package-lock.json

Lines changed: 7660 additions & 15566 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"devDependencies": {
6767
"@commitlint/cli": "^17.1.2",
6868
"@commitlint/config-conventional": "^17.1.0",
69-
"@doc-tools/transform": "^2.12.0",
69+
"@doc-tools/transform": "2.12.0",
7070
"@gravity-ui/eslint-config": "^1.0.2",
7171
"@gravity-ui/prettier-config": "^1.0.1",
7272
"@gravity-ui/stylelint-config": "^1.0.0",

src/blocks/Slider/Slider.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ const slick = block('slick-origin');
3838
const DOT_WIDTH = 8;
3939
const DOT_GAP = 16;
4040

41-
export interface SlickSliderFull extends SlickSlider {
42-
innerSlider?: {
43-
list: HTMLElement;
44-
};
45-
}
46-
4741
export interface SliderProps
4842
extends Omit<SliderParams, 'children'>,
4943
Refable<HTMLDivElement>,
@@ -103,7 +97,7 @@ export const SliderBlock = (props: WithChildren<SliderProps>) => {
10397

10498
const [currentIndex, setCurrentIndex] = useState<number>(0);
10599
const [childStyles, setChildStyles] = useState<Object>({});
106-
const [slider, setSlider] = useState<SlickSliderFull>();
100+
const [slider, setSlider] = useState<SlickSlider>();
107101
const autoplayTimeId = useRef<Timeout>();
108102
const {hasFocus, unsetFocus} = useFocus(slider?.innerSlider?.list);
109103

@@ -278,7 +272,7 @@ export const SliderBlock = (props: WithChildren<SliderProps>) => {
278272
const variableWidth = isServer && isMobile;
279273

280274
const settings = {
281-
ref: (slickSlider: SlickSliderFull) => setSlider(slickSlider),
275+
ref: (slickSlider: SlickSlider) => setSlider(slickSlider),
282276
className: slick(null, className),
283277
arrows,
284278
variableWidth,

src/components/Button/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
`metrikaGoals: string | string[]` — Yandex Metrica goal properties.
2020

21-
You can see the appearance of different buttons [here](https://cloud-guide.yandex-team.ru/?path=/story/lego--button).
21+
You can see the appearance of different buttons [here](https://preview.gravity-ui.com/uikit/?path=/story/components-button--playground).
2222

2323
**Margins:**
2424

src/components/Media/DataLens/DataLens.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$block: '.#{$ns}media-component-data-lens';
55

66
#{$block} {
7-
// TODO https://st.yandex-team.ru/CLOUDFRONT-9932
7+
// TODO: remove temporary wrapper
88
&__wrap {
99
height: 400px;
1010
overflow: hidden;

src/sub-blocks/HubspotForm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
`pixelEvents: PixelEvent[]` — Goals for Facebook pixel
2020

21-
`hubspotEvents: string[]` — An array of Yandex Metrica hubspot events
21+
`hubspotEvents: string[]` — An array of hubspot events
2222

2323
[Form global events:](https://legacydocs.hubspot.com/global-form-events)
2424

0 commit comments

Comments
 (0)