flowbite-svelte
Advanced tools
Comparing version 0.11.1 to 0.12.0
@@ -55,2 +55,6 @@ export { default as Accordion } from "./accordions/AccordionDefault.svelte"; | ||
export { default as DropdownNavbar } from "./navbar/DropdownNavbar.svelte"; | ||
export { default as Pagination } from "./paginations/Pagination.svelte"; | ||
export { default as Previous } from "./paginations/Previous.svelte"; | ||
export { default as Next } from "./paginations/Next.svelte"; | ||
export { default as TableData } from "./paginations/TableData.svelte"; | ||
export { default as Sidebar } from "./sidebars/Sidebar.svelte"; | ||
@@ -62,8 +66,13 @@ export { default as Spinner } from "./spinners/Spinner.svelte"; | ||
export { default as PillTabs } from "./tabs/PillTabs.svelte"; | ||
export { default as Group } from "./timelines/Group.svelte"; | ||
export { default as GroupItem } from "./timelines/GroupItem.svelte"; | ||
export { default as Activity } from "./timelines/Activity.svelte"; | ||
export { default as ActivityItem } from "./timelines/ActivityItem.svelte"; | ||
export { default as Timeline } from "./timelines/Timeline.svelte"; | ||
export { default as TimelineItem } from "./timelines/TimelineItem.svelte"; | ||
export { default as TimelineHorizontal } from "./timelines/TimelineHorizontal.svelte"; | ||
export { default as TimelineItemHorizontal } from "./timelines/TimelineItemHorizontal.svelte"; | ||
export { default as TimelineItemVertical } from "./timelines/TimelineItemVertical.svelte"; | ||
export { default as TimelineItemHorizontal } from "./timelines/TimelineItemHorizontal.svelte"; | ||
export { default as Toast } from "./toasts/Toast.svelte"; | ||
export { default as Tooltip } from "./tooltips/Tooltip.svelte"; | ||
export { default as LightTooltip } from "./tooltips/LightTooltip.svelte"; |
15
index.js
@@ -85,2 +85,8 @@ // Accordion | ||
// Pagination | ||
export { default as Pagination } from './paginations/Pagination.svelte' | ||
export { default as Previous } from './paginations/Previous.svelte' | ||
export { default as Next } from './paginations/Next.svelte' | ||
export { default as TableData } from './paginations/TableData.svelte' | ||
// Sidebar | ||
@@ -99,7 +105,14 @@ export { default as Sidebar } from './sidebars/Sidebar.svelte' | ||
// Timeline | ||
export { default as Group } from './timelines/Group.svelte' | ||
export { default as GroupItem } from './timelines/GroupItem.svelte' | ||
export { default as Activity } from './timelines/Activity.svelte' | ||
export { default as ActivityItem } from './timelines/ActivityItem.svelte' | ||
export { default as Timeline } from './timelines/Timeline.svelte' | ||
export { default as TimelineItem } from './timelines/TimelineItem.svelte' | ||
export { default as TimelineHorizontal } from './timelines/TimelineHorizontal.svelte' | ||
export { default as TimelineItemHorizontal } from './timelines/TimelineItemHorizontal.svelte' | ||
export { default as TimelineItemVertical } from './timelines/TimelineItemVertical.svelte' | ||
export { default as TimelineItemHorizontal } from './timelines/TimelineItemHorizontal.svelte' | ||
// Toast | ||
@@ -106,0 +119,0 @@ export { default as Toast } from './toasts/Toast.svelte' |
{ | ||
"name": "flowbite-svelte", | ||
"version": "0.11.1", | ||
"version": "0.12.0", | ||
"description": "Flowbite components for Svelte", | ||
@@ -129,2 +129,6 @@ "main": "./package/index.js", | ||
"./navbar/Navbar.svelte": "./navbar/Navbar.svelte", | ||
"./paginations/Next.svelte": "./paginations/Next.svelte", | ||
"./paginations/Pagination.svelte": "./paginations/Pagination.svelte", | ||
"./paginations/Previous.svelte": "./paginations/Previous.svelte", | ||
"./paginations/TableData.svelte": "./paginations/TableData.svelte", | ||
"./sidebars/Sidebar.svelte": "./sidebars/Sidebar.svelte", | ||
@@ -137,2 +141,6 @@ "./spinners/Spinner.svelte": "./spinners/Spinner.svelte", | ||
"./tabs/PillTabs.svelte": "./tabs/PillTabs.svelte", | ||
"./timelines/Activity.svelte": "./timelines/Activity.svelte", | ||
"./timelines/ActivityItem.svelte": "./timelines/ActivityItem.svelte", | ||
"./timelines/Group.svelte": "./timelines/Group.svelte", | ||
"./timelines/GroupItem.svelte": "./timelines/GroupItem.svelte", | ||
"./timelines/Timeline.svelte": "./timelines/Timeline.svelte", | ||
@@ -139,0 +147,0 @@ "./timelines/TimelineHorizontal.svelte": "./timelines/TimelineHorizontal.svelte", |
@@ -13,2 +13,6 @@ # FLOWBITE-SVELTE | ||
## Avatar components | ||
[Avatar](https://flowbite-svelte.vercel.app/avatar) | ||
## Alert components | ||
@@ -66,2 +70,6 @@ | ||
## Sidebar components | ||
[Sidebar](https://flowbite-svelte.vercel.app/sidebars) | ||
## Spinner components | ||
@@ -75,4 +83,8 @@ | ||
## Toast components | ||
[Toast](https://flowbite-svelte.vercel.app/toasts) | ||
## Tooltip components | ||
[Tooltips](https://flowbite-svelte.vercel.app/tooltips) |
import { SvelteComponentTyped } from "svelte"; | ||
import type { TimelineItemType } from '../types'; | ||
import type { TimelineItemHorizontalType } from '../types'; | ||
declare const __propDef: { | ||
props: { | ||
timelineItems: TimelineItemType[]; | ||
timelineItems: TimelineItemHorizontalType[]; | ||
}; | ||
@@ -7,0 +7,0 @@ events: { |
@@ -124,3 +124,3 @@ import type { SvelteComponent } from 'svelte'; | ||
title: string; | ||
icon: typeof SvelteComponent; | ||
icon?: typeof SvelteComponent; | ||
href?: string; | ||
@@ -130,1 +130,26 @@ linkname?: string; | ||
} | ||
export interface TimelineItemHorizontalType { | ||
date: Date | string; | ||
title: string; | ||
icon?: typeof SvelteComponent; | ||
text?: HTMLElement | string; | ||
} | ||
export interface ActivityType { | ||
title: HTMLElement | string; | ||
date: Date | string; | ||
src: string; | ||
alt: string; | ||
text?: HTMLElement | string; | ||
} | ||
export interface GroupTimelineType { | ||
title: string | HTMLElement; | ||
src: string; | ||
alt: string; | ||
href?: string; | ||
isPrivate?: boolean; | ||
comment?: string | HTMLElement; | ||
} | ||
export interface PageType { | ||
pageNum: number; | ||
href: string; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
296605
162
2075
87