diff --git a/docs/components/timeline.md b/docs/components/timeline.md index 6516756..9560561 100644 --- a/docs/components/timeline.md +++ b/docs/components/timeline.md @@ -1,15 +1,137 @@ # Vue Timeline Component - Flowbite -```vue - - -``` +## Default timeline usage + +```vue + + + +``` +## Timeline with icons + + + +```vue + + + +``` diff --git a/docs/components/timeline/examples/TimelineExample.vue b/docs/components/timeline/examples/TimelineExample.vue index 2661e72..652bdf4 100644 --- a/docs/components/timeline/examples/TimelineExample.vue +++ b/docs/components/timeline/examples/TimelineExample.vue @@ -1,8 +1,57 @@ diff --git a/docs/components/timeline/examples/TimelineWithIconsExample.vue b/docs/components/timeline/examples/TimelineWithIconsExample.vue new file mode 100644 index 0000000..a3e47f5 --- /dev/null +++ b/docs/components/timeline/examples/TimelineWithIconsExample.vue @@ -0,0 +1,60 @@ + + diff --git a/src/components/Timeline/Timeline.vue b/src/components/Timeline/Timeline.vue index 6f25935..b030d3f 100644 --- a/src/components/Timeline/Timeline.vue +++ b/src/components/Timeline/Timeline.vue @@ -1,35 +1,10 @@ diff --git a/src/components/Timeline/TimelineTime.vue b/src/components/Timeline/TimelineTime.vue new file mode 100644 index 0000000..03eab9a --- /dev/null +++ b/src/components/Timeline/TimelineTime.vue @@ -0,0 +1,5 @@ + diff --git a/src/components/Timeline/TimelineTitle.vue b/src/components/Timeline/TimelineTitle.vue new file mode 100644 index 0000000..e39664e --- /dev/null +++ b/src/components/Timeline/TimelineTitle.vue @@ -0,0 +1,5 @@ + diff --git a/src/index.ts b/src/index.ts index 9de0f19..c92b24f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -33,6 +33,12 @@ export { default as Rating } from './components/Rating/Rating.vue' export { default as Sidebar } from './components/Sidebar/Sidebar.vue' export { default as Table } from './components/Table/Table.vue' export { default as Timeline } from './components/Timeline/Timeline.vue' +export { default as TimelineItem } from './components/Timeline/TimelineItem.vue' +export { default as TimelinePoint } from './components/Timeline/TimelinePoint.vue' +export { default as TimelineTime } from './components/Timeline/TimelineTime.vue' +export { default as TimelineTitle } from './components/Timeline/TimelineTitle.vue' +export { default as TimelineContent } from './components/Timeline/TimelineContent.vue' +export { default as TimelineButton } from './components/Timeline/TimelineButton.vue' export { default as Toast } from './components/Toast/Toast.vue' export { default as ToastProvider } from './components/Toast/components/ToastProvider/ToastProvider.vue' export { default as Tooltip } from './components/Tooltip/Tooltip.vue'