Skip to content

Commit

Permalink
Remove unactual info (#115)
Browse files Browse the repository at this point in the history
* fix: remove unactual info
  • Loading branch information
gorgeousvlad authored Jan 18, 2023
1 parent 8ff3117 commit b60435a
Show file tree
Hide file tree
Showing 8 changed files with 7,667 additions and 15,581 deletions.
2 changes: 0 additions & 2 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import type {StorybookConfig} from '@storybook/core-common';
const {join} = require('path');

const config = {
Expand All @@ -22,7 +21,6 @@ const config = {
},
},
},

webpackFinal: (storybookBaseConfig: any) => {
storybookBaseConfig.module.rules.push({
test: /\.md$/,
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ In the `Content`, if the `text` block has no `title`, the `margin-top` property
### Breaking changes

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

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

Expand Down
23,226 changes: 7,660 additions & 15,566 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@doc-tools/transform": "^2.12.0",
"@doc-tools/transform": "2.12.0",
"@gravity-ui/eslint-config": "^1.0.2",
"@gravity-ui/prettier-config": "^1.0.1",
"@gravity-ui/stylelint-config": "^1.0.0",
Expand Down
10 changes: 2 additions & 8 deletions src/blocks/Slider/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ const slick = block('slick-origin');
const DOT_WIDTH = 8;
const DOT_GAP = 16;

export interface SlickSliderFull extends SlickSlider {
innerSlider?: {
list: HTMLElement;
};
}

export interface SliderProps
extends Omit<SliderParams, 'children'>,
Refable<HTMLDivElement>,
Expand Down Expand Up @@ -103,7 +97,7 @@ export const SliderBlock = (props: WithChildren<SliderProps>) => {

const [currentIndex, setCurrentIndex] = useState<number>(0);
const [childStyles, setChildStyles] = useState<Object>({});
const [slider, setSlider] = useState<SlickSliderFull>();
const [slider, setSlider] = useState<SlickSlider>();
const autoplayTimeId = useRef<Timeout>();
const {hasFocus, unsetFocus} = useFocus(slider?.innerSlider?.list);

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

const settings = {
ref: (slickSlider: SlickSliderFull) => setSlider(slickSlider),
ref: (slickSlider: SlickSlider) => setSlider(slickSlider),
className: slick(null, className),
arrows,
variableWidth,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Button/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

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

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

**Margins:**

Expand Down
2 changes: 1 addition & 1 deletion src/components/Media/DataLens/DataLens.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$block: '.#{$ns}media-component-data-lens';

#{$block} {
// TODO https://st.yandex-team.ru/CLOUDFRONT-9932
// TODO: remove temporary wrapper
&__wrap {
height: 400px;
overflow: hidden;
Expand Down
2 changes: 1 addition & 1 deletion src/sub-blocks/HubspotForm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

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

`hubspotEvents: string[]` — An array of Yandex Metrica hubspot events
`hubspotEvents: string[]` — An array of hubspot events

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

Expand Down

0 comments on commit b60435a

Please sign in to comment.