-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: updates * docs: updates Co-authored-by: reme3d2y <[email protected]>
- Loading branch information
Showing
79 changed files
with
325 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React, { FC, ReactNode } from 'react'; | ||
|
||
import styles from './index.module.css'; | ||
|
||
type Props = { | ||
content: ReactNode; | ||
}; | ||
|
||
export const Changelog: FC<Props> = ({ content }) => { | ||
return <div className={styles.changelog}>{content}</div>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown */ | ||
|
||
@import '../../../packages/vars/src/index.css'; | ||
|
||
.changelog { | ||
& h1:global(.sbdocs):first-child { | ||
display: none; | ||
|
||
& + p { | ||
display: none; | ||
} | ||
} | ||
|
||
& h1:global(.sbdocs) { | ||
@mixin headline_medium; | ||
|
||
margin: var(--gap-2xl) 0 var(--gap-m); | ||
color: var(--color-light-text-primary); | ||
border-bottom: 1px solid var(--color-light-border-secondary); | ||
|
||
& a { | ||
@mixin headline_medium; | ||
|
||
border: none; | ||
} | ||
} | ||
|
||
& h2:global(.sbdocs) { | ||
@mixin headline_xsmall; | ||
|
||
border: 0; | ||
box-shadow: none; | ||
padding: 0; | ||
margin: 0; | ||
margin-bottom: var(--gap-s); | ||
padding-bottom: var(--gap-xs); | ||
border-bottom: 1px solid var(--color-light-border-secondary); | ||
|
||
&:after { | ||
display: none; | ||
} | ||
|
||
& a { | ||
@mixin headline_xsmall; | ||
|
||
border: none; | ||
} | ||
|
||
& + p { | ||
margin-bottom: var(--gap-xl); | ||
} | ||
} | ||
|
||
& h3:global(.sbdocs) { | ||
margin-top: var(--gap-m); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './changelog'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ | |
transition: box-shadow 0.2s ease; | ||
|
||
&:focus { | ||
@mixin focus-outline; | ||
outline: 0; | ||
box-shadow: none; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { Description } from '@storybook/addon-docs/blocks'; | ||
import changelog from '../CHANGELOG.md'; | ||
|
||
<Meta title='Гайдлайны/Changelog' /> | ||
|
||
<Description>{changelog.replace(/^# \[/gm, '## [')}</Description> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.