-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(assets): add assets needed for testing to repository explicitly
generated files are added to the repository as a safety-check when changing something, if the output changes it should be accepted as part of the commit this way
- Loading branch information
Showing
34 changed files
with
33,933 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* eslint-disable */ | ||
/** | ||
* This file was automatically generated by json-schema-to-typescript. | ||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, | ||
* and run `yarn run schema` to regenerate this file. | ||
*/ | ||
|
||
export interface ButtonProps { | ||
label: string; | ||
href: string; | ||
icon?: "chevron-right" | "close" | "none"; | ||
variant: "solid" | "clear" | "outline"; | ||
} |
40 changes: 40 additions & 0 deletions
40
assets/schema/components/button/button.schema.dereffed.json
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,40 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://schema.uniform.dev/button.schema.json", | ||
"title": "Button", | ||
"type": "object", | ||
"required": [ | ||
"href", | ||
"label", | ||
"variant" | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"label": { | ||
"type": "string", | ||
"default": "Lorem ipsum" | ||
}, | ||
"href": { | ||
"type": "string", | ||
"default": "#" | ||
}, | ||
"icon": { | ||
"type": "string", | ||
"enum": [ | ||
"chevron-right", | ||
"close", | ||
"none" | ||
], | ||
"default": "chevron-right" | ||
}, | ||
"variant": { | ||
"type": "string", | ||
"enum": [ | ||
"solid", | ||
"clear", | ||
"outline" | ||
], | ||
"default": "solid" | ||
} | ||
} | ||
} |
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,28 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://schema.uniform.dev/button.schema.json", | ||
"title": "Button", | ||
"type": "object", | ||
"properties": { | ||
"label": { | ||
"type": "string", | ||
"default": "Lorem ipsum" | ||
}, | ||
"href": { | ||
"type": "string", | ||
"default": "#" | ||
}, | ||
"icon": { | ||
"type": "string", | ||
"enum": ["chevron-right", "close", "none"], | ||
"default": "chevron-right" | ||
}, | ||
"variant": { | ||
"type": "string", | ||
"enum": ["solid", "clear", "outline"], | ||
"default": "solid" | ||
} | ||
}, | ||
"required": ["href", "label", "variant"], | ||
"additionalProperties": false | ||
} |
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,28 @@ | ||
/* eslint-disable */ | ||
/** | ||
* This file was automatically generated by json-schema-to-typescript. | ||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, | ||
* and run `yarn run schema` to regenerate this file. | ||
*/ | ||
|
||
/** | ||
* Select an image to display inside the content box, at the top | ||
*/ | ||
export type ImageSource = string; | ||
/** | ||
* Topic for the content box. Displayed before the text, in bold | ||
*/ | ||
export type Topic = string; | ||
/** | ||
* Text for the content box | ||
*/ | ||
export type TextContent = string; | ||
|
||
/** | ||
* Component to display content in a condensed, boxed form | ||
*/ | ||
export interface ContentBoxProps { | ||
image?: ImageSource; | ||
topic?: Topic; | ||
text?: TextContent; | ||
} |
30 changes: 30 additions & 0 deletions
30
assets/schema/components/content-box/content-box.schema.dereffed.json
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,30 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://schema.uniform.dev/content-box.schema.json", | ||
"title": "Content Box", | ||
"description": "Component to display content in a condensed, boxed form", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"image": { | ||
"title": "Image source", | ||
"type": "string", | ||
"format": "image", | ||
"default": "https://picsum.photos/seed/kdscontentbox/500/300", | ||
"description": "Select an image to display inside the content box, at the top" | ||
}, | ||
"topic": { | ||
"title": "Topic", | ||
"type": "string", | ||
"default": "Lorem Ipsum", | ||
"description": "Topic for the content box. Displayed before the text, in bold" | ||
}, | ||
"text": { | ||
"title": "Text content", | ||
"type": "string", | ||
"default": "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ispum dolor distinctio minima unde voluptatum aut. Lorem ipsum dolor sit amet.", | ||
"description": "Text for the content box", | ||
"format": "markdown" | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
assets/schema/components/content-box/content-box.schema.json
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,30 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://schema.uniform.dev/content-box.schema.json", | ||
"title": "Content Box", | ||
"description": "Component to display content in a condensed, boxed form", | ||
"type": "object", | ||
"properties": { | ||
"image": { | ||
"title": "Image source", | ||
"type": "string", | ||
"format": "image", | ||
"default": "https://picsum.photos/seed/kdscontentbox/500/300", | ||
"description": "Select an image to display inside the content box, at the top" | ||
}, | ||
"topic": { | ||
"title": "Topic", | ||
"type": "string", | ||
"default": "Lorem Ipsum", | ||
"description": "Topic for the content box. Displayed before the text, in bold" | ||
}, | ||
"text": { | ||
"title": "Text content", | ||
"type": "string", | ||
"default": "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ispum dolor distinctio minima unde voluptatum aut. Lorem ipsum dolor sit amet.", | ||
"description": "Text for the content box", | ||
"format": "markdown" | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
Oops, something went wrong.