Skip to content

Commit

Permalink
fix: update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aeksandla committed Oct 3, 2023
1 parent 9b8afe7 commit a2ab7f2
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions src/blocks/ExtendedFeatures/__stories__/ExtendedFeatures.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import * as ExtendedFeaturesStories from './ExtendedFeatures.stories.tsx';
- `title?: string` — Item's title
- `text?: string` — Item's text (with YFM support)
- `additionalInfo?: string` — Gray text (with YFM support)
- `links?: Link[]` — An array with link objects (see [Content blocks](?path=/docs/documentation-types))
- `buttons?: Button[]` — An array with button objects (see [Content blocks](?path=/docs/documentation-types))
- `links?: Link[]` — An array with link objects (see [Content blocks](?path=/docs/documentation-types--docs))
- `buttons?: Button[]` — An array with button objects (see [Content blocks](?path=/docs/documentation-types--docs))
- `label?: New | Preview` — Label

`colSizes?: Object` — Sizes of a single card in columns for different screen sizes, the value ranges from 1 to 12 columns. If 12 columns, a single card takes up the entire width of the screen.
Expand Down
6 changes: 3 additions & 3 deletions src/blocks/Map/__stories__/Map.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import * as MapStories from './Map.stories.tsx';

`description: string` — Description.

[`button: Button` — Button](?path=/docs/documentation-types#button)
[`button: Button` — Button](?path=/docs/documentation-types--docs#button)

[`map: Map` — Map description](?path=/story/components-map--y-map&viewMode=docs)

Expand All @@ -28,7 +28,7 @@ import * as MapStories from './Map.stories.tsx';

`additionalInfo?: string` — Gray text (with YFM support)

[`links?: Link[]` — An array with link objects](?path=/docs/documentation-types#link)
[`links?: Link[]` — An array with link objects](?path=/docs/documentation-types--docs#link)

[`buttons?: Button[]` — An array with button objects](?path=/docs/documentation-types#button)
[`buttons?: Button[]` — An array with button objects](?path=/docs/documentation-types--docs#button)
</StoryTemplate>
8 changes: 4 additions & 4 deletions src/blocks/Media/__stories__/Media.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import * as MediaStories from './Media.stories.tsx';

`description: string` — Description.

[`button: Button` — Button](?path=/docs/documentation-types#button)
[`button: Button` — Button](?path=/docs/documentation-types--docs#button)

[`media: Media` — Media description](?path=/docs/documentation-types)
[`media: Media` — Media description](?path=/docs/documentation-types--docs)

`direction: 'media-content' | 'content-media'` — Relative position of media and content.

Expand All @@ -25,8 +25,8 @@ import * as MediaStories from './Media.stories.tsx';

`additionalInfo?: string` — Gray text (with YFM support)

[`links?: Link[]` — An array with link objects](?path=/docs/documentation-types#link)
[`links?: Link[]` — An array with link objects](?path=/docs/documentation-types--docs#link)

[`buttons?: Button[]` — An array with button objects](?path=/docs/documentation-types#button)
[`buttons?: Button[]` — An array with button objects](?path=/docs/documentation-types--docs#button)

</StoryTemplate>
4 changes: 2 additions & 2 deletions src/blocks/Questions/__stories__/Questions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import * as QuestionsStories from './Questions.stories.tsx';

`additionalInfo?: string` — Gray text (with YFM support)

`links?: Link[]` — An array with link objects (see [Content-blocks](?path=/docs/documentation-types))
`links?: Link[]` — An array with link objects (see [Content-blocks](?path=/docs/documentation-types--docs))

`buttons?: Button[]` — An array with button objects (see [Content-blocks](?path=/docs/documentation-types))
`buttons?: Button[]` — An array with button objects (see [Content-blocks](?path=/docs/documentation-types--docs))

`items: QuestionItem[]`

Expand Down
4 changes: 2 additions & 2 deletions src/blocks/Tabs/__stories__/Tabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import * as TabsStories from './Tabs.stories.tsx';
- `title?: string` — Item's title
- `text?: string` — Item's text (with YFM support)
- `additionalInfo?: string` — Gray text (with YFM support)
- `links?: Link[]` — An array with link objects (see [Content blocks](?path=/docs/documentation-types))
- `buttons?: Button[]` — An array with button objects (see [Content blocks](?path=/docs/documentation-types))
- `links?: Link[]` — An array with link objects (see [Content blocks](?path=/docs/documentation-types--docs))
- `buttons?: Button[]` — An array with button objects (see [Content blocks](?path=/docs/documentation-types--docs))
- `image?: string | ImageObjectProps` — Image.
- [`media: Media` — Media description](?path=/docs/documentation-types#media--imagevideodatalensyoutube)
- `caption?: string` — Image caption.
Expand Down
4 changes: 2 additions & 2 deletions src/containers/PageConstructor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PageConstructor container
- `color: string` - background color
- `animated: true | false` - background animation on load and on scroll
- `parallax?: true | false` — enable/disable the parallax effect
- `video?: Video` - [Video](?path=/docs/documentation-types#Video)
- `image?: Image` - [ImageObjectProps](?path=/docs/documentation-types#ImageObjectProps)
- `video?: Video` - [Video](?path=/docs/documentation-types--docs#Video)
- `image?: Image` - [ImageObjectProps](?path=/docs/documentation-types--docs#ImageObjectProps)
- `fullWidthMedia?: true | false` - Media width: Picture or Video to the entire screen width or as per column size.
- `height?: number` - height of media
4 changes: 2 additions & 2 deletions src/sub-blocks/BackgroundCard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

`additionalInfo?: string` — Gray text (with YFM support)

`links?: Link[]` — An array with link objects (see [Content blocks](?path=/docs/documentation-types))
`links?: Link[]` — An array with link objects (see [Content blocks](?path=/docs/documentation-types--docs))

`buttons?: Button[]` — An array with button objects (see [Content blocks](?path=/docs/documentation-types))
`buttons?: Button[]` — An array with button objects (see [Content blocks](?path=/docs/documentation-types--docs))
4 changes: 2 additions & 2 deletions src/sub-blocks/BasicCard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

`additionalInfo?: string` — Gray text (with YFM support)

`links?: Link[]` — An array with link objects (see [Content blocks](?path=/docs/documentation-types))
`links?: Link[]` — An array with link objects (see [Content blocks](?path=/docs/documentation-types--docs))

`buttons?: Button[]` — An array with button objects (see [Content blocks](?path=/docs/documentation-types))
`buttons?: Button[]` — An array with button objects (see [Content blocks](?path=/docs/documentation-types--docs))

`border: 'shadow' | 'line' | 'none'` — Card border properties (defaults to `'shadow'`).
6 changes: 3 additions & 3 deletions src/sub-blocks/Content/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[`title?: Title | string` - title](?path=/docs/documentation-types#title-block-title)
[`title?: Title | string` - title](?path=/docs/documentation-types--docs#title-block-title)

`text?: string` — Text (with YFM support)

`additionalInfo?: string` — Gray text (with YFM support)

[`links?: Link[]` — An array with link objects](?path=/docs/documentation-types#link)
[`links?: Link[]` — An array with link objects](?path=/docs/documentation-types--docs#link)

[`buttons?: Button[]` — An array with button objects](?path=/docs/documentation-types#button)
[`buttons?: Button[]` — An array with button objects](?path=/docs/documentation-types--docs#button)

`centered?: false | true` - Aligns all content to the center ('false' by default)

Expand Down

0 comments on commit a2ab7f2

Please sign in to comment.