+
+ >
+ );
+}
diff --git a/components/doc/timeline/apidoc.js b/components/doc/timeline/apidoc.js
new file mode 100644
index 0000000000..0cd480b644
--- /dev/null
+++ b/components/doc/timeline/apidoc.js
@@ -0,0 +1,154 @@
+import { CodeHighlight } from '../common/codehighlight';
+import { DevelopmentSection } from '../common/developmentsection';
+import { DocSectionText } from '../common/docsectiontext';
+import { DocSubSection } from '../common/docsubsection';
+import Link from 'next/link';
+
+export function ApiDoc(props) {
+ return (
+ <>
+
+
+
+
+
+
+
+
Name
+
Type
+
Default
+
Description
+
+
+
+
+
id
+
string
+
null
+
Unique identifier of the element.
+
+
+
value
+
array
+
null
+
An array of events to display.
+
+
+
align
+
string
+
left
+
Position of the timeline bar relative to the content. Valid values are "left", "right for vertical layout and "top", "bottom" for horizontal layout.
+
+
+
layout
+
string
+
vertical
+
Orientation of the timeline, valid values are "vertical" and "horizontal".
+
+
+
dataKey
+
string
+
null
+
Name of the field that uniquely identifies the a record in the data.
+
+
+
style
+
string
+
null
+
Inline style of the component.
+
+
+
className
+
string
+
null
+
Style class of the component.
+
+
+
+
+
+
+
+ Following is the list of structural style classes, for theming classes visit theming page.
+
+
+
+
+
+
Name
+
Element
+
+
+
+
+
p-timeline
+
Container element.
+
+
+
p-timeline-left
+
Container element when alignment is left.
+
+
+
p-timeline-right
+
Container element when alignment is right.
+
+
+
p-timeline-top
+
Container element when alignment is top.
+
+
+
p-timeline-bottom
+
Container element when alignment is bottom.
+
+
+
p-timeline-alternate
+
Container element when alignment is alternating.
+
+
+
p-timeline-vertical
+
Container element of a vertical timeline.
+
+
+
p-timeline-horizontal
+
Container element of a horizontal timeline.
+
+
+
p-timeline-event
+
Event element.
+
+
+
p-timeline-event-opposite
+
Opposite of an event content.
+
+
+
p-timeline-event-content
+
Event content.
+
+
+
p-timeline-event-separator
+
Separator element of an event.
+
+
+
p-timeline-event-marker
+
Marker element of an event.
+
+
+
p-timeline-event-connector
+
Connector element of an event.
+
+
+
+
+
+
+
+
Screen Reader
+
Timeline uses a semantic ordered list element to list the events. No specific role is enforced, still you may use any aria role and attributes as any valid attribute is passed to the list element.
+
+
Keyboard Support
+
Component does not include any interactive elements.
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque
+ quas!
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt
+ quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas!
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt
+ quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas!
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt
- quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas!
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt
- quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas!
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt
- quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas!
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt
- quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas!
- Timeline receives the events with the value property as a collection of arbitrary objects. In addition, content property is required to display the representation of an event. Example below is a sample events
- array that is used throughout the documentation.
-
Position of the timeline bar relative to the content. Valid values are "left", "right for vertical layout and "top", "bottom" for horizontal layout.
-
-
-
layout
-
string
-
vertical
-
Orientation of the timeline, valid values are "vertical" and "horizontal".
-
-
-
dataKey
-
string
-
null
-
Name of the field that uniquely identifies the a record in the data.
-
-
-
style
-
string
-
null
-
Inline style of the component.
-
-
-
className
-
string
-
null
-
Style class of the component.
-
-
-
-
-
-
Styling
-
- Following is the list of structural style classes, for theming classes visit theming page.
-
-
-
-
-
-
Name
-
Element
-
-
-
-
-
p-timeline
-
Container element.
-
-
-
p-timeline-left
-
Container element when alignment is left.
-
-
-
p-timeline-right
-
Container element when alignment is right.
-
-
-
p-timeline-top
-
Container element when alignment is top.
-
-
-
p-timeline-bottom
-
Container element when alignment is bottom.
-
-
-
p-timeline-alternate
-
Container element when alignment is alternating.
-
-
-
p-timeline-vertical
-
Container element of a vertical timeline.
-
-
-
p-timeline-horizontal
-
Container element of a horizontal timeline.
-
-
-
p-timeline-event
-
Event element.
-
-
-
p-timeline-event-opposite
-
Opposite of an event content.
-
-
-
p-timeline-event-content
-
Event content.
-
-
-
p-timeline-event-separator
-
Separator element of an event.
-
-
-
p-timeline-event-marker
-
Marker element of an event.
-
-
-
p-timeline-event-connector
-
Connector element of an event.
-
-
-
-
-
-
Accessibility
-
-
Screen Reader
-
Timeline uses a semantic ordered list element to list the events. No specific role is enforced, still you may use any aria role and attributes as any valid attribute is passed to the list element.
-
-
Keyboard Support
-
Component does not include any interactive elements.
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque
- quas!
-