Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(Separator): extend description for color prop (#3904)
* docs(Separator): extend description for color prop * docs(Separator): add typescript template to generate token type * Update packages/orbit-components/src/Separator/README.md Co-authored-by: Daniel Sil <daniel.sil@kiwi.com> * chore(docs): prettify md and mdx files Automatically changed via github action --------- Co-authored-by: Daniel Sil <daniel.sil@kiwi.com> Co-authored-by: mainframev <mainframev@users.noreply.github.com>
- Loading branch information
1 parent
8dc2873
commit f8c9ee1
Showing
6 changed files
with
128 additions
and
15 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
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
15 changes: 15 additions & 0 deletions
15
packages/orbit-components/src/Separator/TYPESCRIPT_TEMPLATE.template
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,15 @@ | ||
// Type definitions for @kiwicom/orbit-components | ||
// Project: http://github.com/kiwicom/orbit | ||
import type * as Common from "../common/types"; | ||
|
||
export type Indent = "none" | "small" | "medium" | "large" | "XLarge" | "XXLarge"; | ||
export type Align = "left" | "center" | "right"; | ||
|
||
export type PaletteTokens =%TOKENS% | ||
|
||
export interface Props extends Common.SpaceAfter { | ||
indent?: Indent; | ||
type?: "solid" | "dashed" | "dotted" | "double" | "none"; | ||
color?: PaletteTokens; | ||
align?: Align; | ||
} |
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