@@ -13,10 +13,10 @@ The Timeline.Item component is used to display items on a vertical timeline, con
1313 < StyledOcticon icon= {FlameIcon} / >
1414 < / Timeline .Badge >
1515 < Timeline .Body >
16- < Link href= " #" sx= {{fontWeight: ' bold' , color: " fg.default" , mr: 1 }} muted>
16+ < Link href= " #" sx= {{fontWeight: ' bold' , color: ' fg.default' , mr: 1 }} muted>
1717 Monalisa
1818 < / Link>
19- created one < Link href= " #" sx= {{fontWeight: ' bold' , color: " fg.default" , mr: 1 }} muted>
19+ created one < Link href= " #" sx= {{fontWeight: ' bold' , color: ' fg.default' , mr: 1 }} muted>
2020 hot potato
2121 < / Link>
2222 < Link href= " #" color= " fg.muted" muted>
@@ -50,20 +50,20 @@ of the child `StyledOcticon` if necessary.
5050``` jsx live
5151< Timeline>
5252 < Timeline .Item >
53- < Timeline .Badge sx= {{bg: " danger.emphasis" }}>
54- < StyledOcticon icon= {FlameIcon} sx= {{color: " fg.onEmphasis" }} / >
53+ < Timeline .Badge sx= {{bg: ' danger.emphasis' }}>
54+ < StyledOcticon icon= {FlameIcon} sx= {{color: ' fg.onEmphasis' }} / >
5555 < / Timeline .Badge >
5656 < Timeline .Body > Background used when closed events occur< / Timeline .Body >
5757 < / Timeline .Item >
5858 < Timeline .Item >
59- < Timeline .Badge sx= {{bg: " danger.emphasis" }}>
59+ < Timeline .Badge sx= {{bg: ' danger.emphasis' }}>
6060 < StyledOcticon icon= {FlameIcon} color= " fg.onEmphasis" / >
6161 < / Timeline .Badge >
6262 < Timeline .Body > Background when opened or passed events occur< / Timeline .Body >
6363 < / Timeline .Item >
6464 < Timeline .Item >
65- < Timeline .Badge sx= {{bg: " danger.emphasis" }}>
66- < StyledOcticon icon= {FlameIcon} sx= {{color: " fg.onEmphasis" }} / >
65+ < Timeline .Badge sx= {{bg: ' danger.emphasis' }}>
66+ < StyledOcticon icon= {FlameIcon} sx= {{color: ' fg.onEmphasis' }} / >
6767 < / Timeline .Badge >
6868 < Timeline .Body > Background used when pull requests are merged< / Timeline .Body >
6969 < / Timeline .Item >
@@ -98,41 +98,51 @@ To create a visual break in the timeline, use Timeline.Break. This adds a horizo
9898``` jsx live
9999< Timeline>
100100 < Timeline .Item >
101- < Timeline .Badge sx= {{bg: " danger.emphasis" }}>
101+ < Timeline .Badge sx= {{bg: ' danger.emphasis' }}>
102102 < StyledOcticon icon= {FlameIcon} color= " fg.onEmphasis" / >
103103 < / Timeline .Badge >
104104 < Timeline .Body > Background used when closed events occur< / Timeline .Body >
105105 < / Timeline .Item >
106106 < Timeline .Break / >
107107 < Timeline .Item >
108- < Timeline .Badge sx= {{bg: " success.emphasis" }}>
109- < StyledOcticon icon= {FlameIcon} sx= {{color: " fg.onEmphasis" }} / >
108+ < Timeline .Badge sx= {{bg: ' success.emphasis' }}>
109+ < StyledOcticon icon= {FlameIcon} sx= {{color: ' fg.onEmphasis' }} / >
110110 < / Timeline .Badge >
111111 < Timeline .Body > Background when opened or passed events occur< / Timeline .Body >
112112 < / Timeline .Item >
113113< / Timeline>
114114```
115115
116- ## System props
116+ ## Component props
117117
118- < Note variant = " warning " >
118+ ### Timeline
119119
120- System props are deprecated in all components except [ Box] ( /Box ) . Please use the [ ` sx ` prop] ( /overriding-styles ) instead.
120+ | Name | Type | Default | Description |
121+ | :---------- | :---------------- | :-----: | :-------------------------------------------------------------------------------- |
122+ | clipSidebar | Boolean | | Hides the sidebar above the first Timeline.Item and below the last Timeline.Item. |
123+ | sx | SystemStyleObject | {} | Style to be applied to the component |
121124
122- </ Note >
125+ ### Timeline.Item
123126
124- Timeline and Timeline.Item components get ` COMMON ` system props. Read our [ System Props] ( /system-props ) doc page for a full list of available props.
127+ | Name | Type | Default | Description |
128+ | :-------- | :---------------- | :-----: | :-------------------------------------------------------------------- |
129+ | condensed | Boolean | | Reduces vertical padding and removes background from an item's badge. |
130+ | sx | SystemStyleObject | {} | Style to be applied to the component |
125131
126- ## Component props
132+ ### Timeline.Badge
127133
128- ### Timeline
134+ | Name | Type | Default | Description |
135+ | :--- | :---------------- | :-----: | :----------------------------------- |
136+ | sx | SystemStyleObject | {} | Style to be applied to the component |
129137
130- | Prop name | Type | Description |
131- | :---------- | :------ | :-------------------------------------------------------------------------------- |
132- | clipSidebar | Boolean | Hides the sidebar above the first Timeline.Item and below the last Timeline.Item. |
138+ ### Timeline.Body
133139
134- ### Timeline.Item
140+ | Name | Type | Default | Description |
141+ | :--- | :---------------- | :-----: | :----------------------------------- |
142+ | sx | SystemStyleObject | {} | Style to be applied to the component |
143+
144+ ### Timeline.Break
135145
136- | Prop name | Type | Description |
137- | :-------- | :------ | : --------------------------------- ----------------------------------- |
138- | condensed | Boolean | Reduces vertical padding and removes background from an item's badge. |
146+ | Name | Type | Default | Description |
147+ | :--- | :---------------- | : -----: | : ----------------------------------- |
148+ | sx | SystemStyleObject | {} | Style to be applied to the component |
0 commit comments