Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyphen missing #54

Merged
merged 3 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,13 @@ type BodyBlock =
```ts
type LayoutWidth =
| "auto"
| "inline"
| "in-line"
| "inset-left"
| "inset-right"
| "full-bleed"
| "full-grid"
| "mid-grid"
| "full-width"
```

`LayoutWidth` defines how the component should be presented in the article page according to the column layout system.
Expand Down
8 changes: 4 additions & 4 deletions content-tree.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export declare namespace ContentTree {
type BodyBlock = Paragraph | Heading | ImageSet | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | Tweet | Video | YoutubeVideo;
type LayoutWidth = "auto" | "inline" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid";
type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width";
type Phrasing = Text | Break | Strong | Emphasis | Strikethrough | Link;
interface Node {
type: string;
Expand Down Expand Up @@ -272,7 +272,7 @@ export declare namespace ContentTree {
}
namespace full {
type BodyBlock = Paragraph | Heading | ImageSet | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | Tweet | Video | YoutubeVideo;
type LayoutWidth = "auto" | "inline" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid";
type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width";
type Phrasing = Text | Break | Strong | Emphasis | Strikethrough | Link;
interface Node {
type: string;
Expand Down Expand Up @@ -545,7 +545,7 @@ export declare namespace ContentTree {
}
namespace transit {
type BodyBlock = Paragraph | Heading | ImageSet | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | Tweet | Video | YoutubeVideo;
type LayoutWidth = "auto" | "inline" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid";
type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width";
type Phrasing = Text | Break | Strong | Emphasis | Strikethrough | Link;
interface Node {
type: string;
Expand Down Expand Up @@ -813,7 +813,7 @@ export declare namespace ContentTree {
}
namespace loose {
type BodyBlock = Paragraph | Heading | ImageSet | BigNumber | CustomCodeComponent | Layout | List | Blockquote | Pullquote | ScrollyBlock | ThematicBreak | Table | Recommended | Tweet | Video | YoutubeVideo;
type LayoutWidth = "auto" | "inline" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid";
type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width";
type Phrasing = Text | Break | Strong | Emphasis | Strikethrough | Link;
interface Node {
type: string;
Expand Down
3 changes: 2 additions & 1 deletion schemas/body-tree.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@
"auto",
"full-bleed",
"full-grid",
"inline",
"full-width",
"in-line",
"inset-left",
"inset-right",
"mid-grid"
Expand Down
3 changes: 2 additions & 1 deletion schemas/content-tree.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,8 @@
"auto",
"full-bleed",
"full-grid",
"inline",
"full-width",
"in-line",
"inset-left",
"inset-right",
"mid-grid"
Expand Down
3 changes: 2 additions & 1 deletion schemas/transit-tree.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,8 @@
"auto",
"full-bleed",
"full-grid",
"inline",
"full-width",
"in-line",
"inset-left",
"inset-right",
"mid-grid"
Expand Down