flowbite-svelte 0.28.4 → 0.28.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/accordions/Accordion.svelte.d.ts +3 -3
  3. package/accordions/AccordionItem.svelte.d.ts +3 -3
  4. package/alerts/Alert.svelte.d.ts +3 -3
  5. package/avatar/Avatar.svelte +1 -1
  6. package/avatar/Avatar.svelte.d.ts +3 -3
  7. package/avatar/Dot.svelte.d.ts +3 -3
  8. package/avatar/Placeholder.svelte.d.ts +3 -3
  9. package/badges/Badge.svelte.d.ts +3 -3
  10. package/breadcrumbs/Breadcrumb.svelte.d.ts +3 -3
  11. package/breadcrumbs/BreadcrumbItem.svelte.d.ts +3 -3
  12. package/buttongroups/ButtonGroup.svelte.d.ts +3 -3
  13. package/buttons/Button.svelte.d.ts +3 -3
  14. package/cards/Card.svelte.d.ts +3 -3
  15. package/carousels/Caption.svelte.d.ts +3 -3
  16. package/carousels/Carousel.svelte.d.ts +3 -3
  17. package/carousels/CarouselTransition.svelte.d.ts +3 -3
  18. package/carousels/Indicator.svelte.d.ts +3 -3
  19. package/carousels/Slide.svelte.d.ts +3 -3
  20. package/carousels/Thumbnail.svelte.d.ts +3 -3
  21. package/darkmode/DarkMode.svelte.d.ts +3 -3
  22. package/datepicker/Calender.svelte.d.ts +6 -2
  23. package/datepicker/Datepicker.svelte.d.ts +3 -3
  24. package/drawer/Drawer.svelte.d.ts +3 -3
  25. package/dropdowns/Dropdown.svelte.d.ts +3 -3
  26. package/dropdowns/DropdownDivider.svelte.d.ts +3 -3
  27. package/dropdowns/DropdownHeader.svelte.d.ts +3 -3
  28. package/dropdowns/DropdownItem.svelte.d.ts +3 -3
  29. package/footer/Footer.svelte.d.ts +3 -3
  30. package/footer/FooterBrand.svelte.d.ts +3 -3
  31. package/footer/FooterCopyright.svelte.d.ts +3 -3
  32. package/footer/FooterIcon.svelte.d.ts +3 -3
  33. package/footer/FooterLink.svelte.d.ts +3 -3
  34. package/footer/FooterLinkGroup.svelte.d.ts +3 -3
  35. package/forms/Checkbox.svelte.d.ts +3 -3
  36. package/forms/Dropzone.svelte +27 -24
  37. package/forms/Dropzone.svelte.d.ts +11 -8
  38. package/forms/Fileupload.svelte +21 -23
  39. package/forms/Fileupload.svelte.d.ts +4 -4
  40. package/forms/FloatingLabelInput.svelte.d.ts +3 -3
  41. package/forms/Helper.svelte.d.ts +3 -3
  42. package/forms/Input.svelte.d.ts +3 -3
  43. package/forms/InputAddon.svelte.d.ts +3 -3
  44. package/forms/Label.svelte.d.ts +3 -3
  45. package/forms/NumberInput.svelte.d.ts +3 -3
  46. package/forms/Radio.svelte.d.ts +3 -3
  47. package/forms/RadioInline.svelte.d.ts +6 -2
  48. package/forms/Range.svelte.d.ts +3 -3
  49. package/forms/Search.svelte.d.ts +3 -3
  50. package/forms/Select.svelte.d.ts +3 -3
  51. package/forms/SimpleSearch.svelte.d.ts +4 -4
  52. package/forms/Textarea.svelte.d.ts +3 -3
  53. package/forms/Toggle.svelte.d.ts +4 -4
  54. package/forms/VoiceSearch.svelte.d.ts +3 -3
  55. package/index.d.ts +0 -1
  56. package/index.js +0 -1
  57. package/kbd/ArrowKeyDown.svelte.d.ts +3 -3
  58. package/kbd/ArrowKeyLeft.svelte.d.ts +3 -3
  59. package/kbd/ArrowKeyRight.svelte.d.ts +3 -3
  60. package/kbd/ArrowKeyUp.svelte.d.ts +3 -3
  61. package/kbd/Kbd.svelte.d.ts +3 -3
  62. package/list-group/Listgroup.svelte.d.ts +3 -3
  63. package/list-group/ListgroupItem.svelte +1 -1
  64. package/list-group/ListgroupItem.svelte.d.ts +3 -3
  65. package/megamenu/MegaMenu.svelte.d.ts +3 -3
  66. package/modals/Modal.svelte.d.ts +3 -3
  67. package/navbar/Menu.svelte.d.ts +3 -3
  68. package/navbar/NavBrand.svelte.d.ts +3 -3
  69. package/navbar/NavDropdown.svelte.d.ts +3 -3
  70. package/navbar/NavHamburger.svelte.d.ts +3 -3
  71. package/navbar/NavLi.svelte.d.ts +3 -3
  72. package/navbar/NavUl.svelte.d.ts +3 -3
  73. package/navbar/Navbar.svelte.d.ts +3 -3
  74. package/package.json +15 -16
  75. package/paginations/Pagination.svelte.d.ts +3 -3
  76. package/paginations/PaginationItem.svelte.d.ts +3 -3
  77. package/popover/Popover.svelte.d.ts +3 -3
  78. package/progressbars/Progressbar.svelte.d.ts +3 -3
  79. package/ratings/AdvancedRating.svelte.d.ts +3 -3
  80. package/ratings/Rating.svelte.d.ts +3 -3
  81. package/ratings/RatingComment.svelte.d.ts +3 -3
  82. package/ratings/Review.svelte.d.ts +3 -3
  83. package/ratings/ScoreRating.svelte.d.ts +3 -3
  84. package/ratings/Star.svelte.d.ts +3 -3
  85. package/sidebars/Sidebar.svelte.d.ts +3 -3
  86. package/sidebars/SidebarBrand.svelte.d.ts +3 -3
  87. package/sidebars/SidebarCta.svelte.d.ts +3 -3
  88. package/sidebars/SidebarDropdownItem.svelte.d.ts +3 -3
  89. package/sidebars/SidebarDropdownWrapper.svelte.d.ts +3 -3
  90. package/sidebars/SidebarGroup.svelte.d.ts +3 -3
  91. package/sidebars/SidebarItem.svelte.d.ts +3 -3
  92. package/sidebars/SidebarWrapper.svelte.d.ts +3 -3
  93. package/skeleton/CardPlaceholder.svelte.d.ts +3 -3
  94. package/skeleton/ImagePlaceholder.svelte.d.ts +3 -3
  95. package/skeleton/ListPlaceholder.svelte.d.ts +3 -3
  96. package/skeleton/Skeleton.svelte.d.ts +3 -3
  97. package/skeleton/TestimonialPlaceholder.svelte.d.ts +3 -3
  98. package/skeleton/TextPlaceholder.svelte.d.ts +3 -3
  99. package/skeleton/VideoPlaceholder.svelte.d.ts +3 -3
  100. package/skeleton/WidgetPlaceholder.svelte.d.ts +3 -3
  101. package/speed-dial/SpeedDial.svelte.d.ts +3 -3
  102. package/speed-dial/SpeedDialButton.svelte.d.ts +3 -3
  103. package/spinners/Spinner.svelte.d.ts +3 -3
  104. package/tables/Table.svelte.d.ts +3 -3
  105. package/tables/TableBody.svelte.d.ts +2 -2
  106. package/tables/TableBodyCell.svelte.d.ts +3 -3
  107. package/tables/TableBodyRow.svelte.d.ts +3 -3
  108. package/tables/TableHead.svelte.d.ts +3 -3
  109. package/tables/TableHeadCell.svelte.d.ts +4 -4
  110. package/tables/TableSearch.svelte.d.ts +3 -3
  111. package/tabs/TabHead.svelte.d.ts +3 -3
  112. package/tabs/TabHeadItem.svelte.d.ts +3 -3
  113. package/tabs/TabItem.svelte.d.ts +3 -3
  114. package/tabs/Tabs.svelte.d.ts +3 -3
  115. package/timelines/Activity.svelte.d.ts +3 -3
  116. package/timelines/ActivityItem.svelte.d.ts +3 -3
  117. package/timelines/Group.svelte.d.ts +3 -3
  118. package/timelines/GroupItem.svelte.d.ts +3 -3
  119. package/timelines/Timeline.svelte.d.ts +3 -3
  120. package/timelines/TimelineHorizontal.svelte.d.ts +3 -3
  121. package/timelines/TimelineItem.svelte.d.ts +3 -3
  122. package/timelines/TimelineItemHorizontal.svelte.d.ts +3 -3
  123. package/timelines/TimelineItemVertical.svelte.d.ts +3 -3
  124. package/toasts/Toast.svelte.d.ts +3 -3
  125. package/toolbar/Toolbar.svelte.d.ts +3 -3
  126. package/toolbar/ToolbarButton.svelte.d.ts +3 -3
  127. package/toolbar/ToolbarGroup.svelte.d.ts +4 -4
  128. package/tooltips/Tooltip.svelte.d.ts +3 -3
  129. package/types.d.ts +19 -19
  130. package/typography/A.svelte +3 -1
  131. package/typography/A.svelte.d.ts +5 -3
  132. package/typography/Blockquote.svelte.d.ts +3 -3
  133. package/typography/DescriptionList.svelte.d.ts +3 -3
  134. package/typography/Heading.svelte.d.ts +3 -3
  135. package/typography/Hr.svelte.d.ts +3 -3
  136. package/typography/Img.svelte.d.ts +3 -3
  137. package/typography/Layout.svelte.d.ts +3 -3
  138. package/typography/Li.svelte.d.ts +3 -3
  139. package/typography/List.svelte.d.ts +3 -3
  140. package/typography/Mark.svelte.d.ts +3 -3
  141. package/typography/P.svelte.d.ts +4 -4
  142. package/typography/Secondary.svelte.d.ts +3 -3
  143. package/typography/Span.svelte.d.ts +3 -3
  144. package/typography/Ul.svelte.d.ts +3 -3
  145. package/utils/Chevron.svelte.d.ts +3 -3
  146. package/utils/ChevronDown.svelte.d.ts +3 -3
  147. package/utils/ChevronLeft.svelte.d.ts +3 -3
  148. package/utils/ChevronRight.svelte.d.ts +3 -3
  149. package/utils/ChevronUp.svelte.d.ts +3 -3
  150. package/utils/CloseButton.svelte.d.ts +3 -3
  151. package/utils/Frame.svelte.d.ts +3 -3
  152. package/utils/InformationCircle.svelte.d.ts +3 -3
  153. package/utils/Popper.svelte +1 -1
  154. package/utils/Popper.svelte.d.ts +3 -3
  155. package/utils/UserCircle.svelte.d.ts +3 -3
  156. package/utils/Wrapper.svelte.d.ts +3 -3
  157. package/video/Video.svelte.d.ts +3 -3
  158. package/forms/Iconinput.svelte +0 -81
  159. package/forms/Iconinput.svelte.d.ts +0 -39
@@ -11,9 +11,9 @@ declare const __propDef: {
11
11
  default: {};
12
12
  };
13
13
  };
14
- export declare type TimelineProps = typeof __propDef.props;
15
- export declare type TimelineEvents = typeof __propDef.events;
16
- export declare type TimelineSlots = typeof __propDef.slots;
14
+ export type TimelineProps = typeof __propDef.props;
15
+ export type TimelineEvents = typeof __propDef.events;
16
+ export type TimelineSlots = typeof __propDef.slots;
17
17
  export default class Timeline extends SvelteComponentTyped<TimelineProps, TimelineEvents, TimelineSlots> {
18
18
  }
19
19
  export {};
@@ -10,9 +10,9 @@ declare const __propDef: {
10
10
  default: {};
11
11
  };
12
12
  };
13
- export declare type TimelineHorizontalProps = typeof __propDef.props;
14
- export declare type TimelineHorizontalEvents = typeof __propDef.events;
15
- export declare type TimelineHorizontalSlots = typeof __propDef.slots;
13
+ export type TimelineHorizontalProps = typeof __propDef.props;
14
+ export type TimelineHorizontalEvents = typeof __propDef.events;
15
+ export type TimelineHorizontalSlots = typeof __propDef.slots;
16
16
  export default class TimelineHorizontal extends SvelteComponentTyped<TimelineHorizontalProps, TimelineHorizontalEvents, TimelineHorizontalSlots> {
17
17
  }
18
18
  export {};
@@ -14,9 +14,9 @@ declare const __propDef: {
14
14
  icon: {};
15
15
  };
16
16
  };
17
- export declare type TimelineItemProps = typeof __propDef.props;
18
- export declare type TimelineItemEvents = typeof __propDef.events;
19
- export declare type TimelineItemSlots = typeof __propDef.slots;
17
+ export type TimelineItemProps = typeof __propDef.props;
18
+ export type TimelineItemEvents = typeof __propDef.events;
19
+ export type TimelineItemSlots = typeof __propDef.slots;
20
20
  export default class TimelineItem extends SvelteComponentTyped<TimelineItemProps, TimelineItemEvents, TimelineItemSlots> {
21
21
  }
22
22
  export {};
@@ -13,9 +13,9 @@ declare const __propDef: {
13
13
  };
14
14
  slots: {};
15
15
  };
16
- export declare type TimelineItemHorizontalProps = typeof __propDef.props;
17
- export declare type TimelineItemHorizontalEvents = typeof __propDef.events;
18
- export declare type TimelineItemHorizontalSlots = typeof __propDef.slots;
16
+ export type TimelineItemHorizontalProps = typeof __propDef.props;
17
+ export type TimelineItemHorizontalEvents = typeof __propDef.events;
18
+ export type TimelineItemHorizontalSlots = typeof __propDef.slots;
19
19
  export default class TimelineItemHorizontal extends SvelteComponentTyped<TimelineItemHorizontalProps, TimelineItemHorizontalEvents, TimelineItemHorizontalSlots> {
20
20
  }
21
21
  export {};
@@ -12,9 +12,9 @@ declare const __propDef: {
12
12
  default: {};
13
13
  };
14
14
  };
15
- export declare type TimelineItemVerticalProps = typeof __propDef.props;
16
- export declare type TimelineItemVerticalEvents = typeof __propDef.events;
17
- export declare type TimelineItemVerticalSlots = typeof __propDef.slots;
15
+ export type TimelineItemVerticalProps = typeof __propDef.props;
16
+ export type TimelineItemVerticalEvents = typeof __propDef.events;
17
+ export type TimelineItemVerticalSlots = typeof __propDef.slots;
18
18
  export default class TimelineItemVertical extends SvelteComponentTyped<TimelineItemVerticalProps, TimelineItemVerticalEvents, TimelineItemVerticalSlots> {
19
19
  }
20
20
  export {};
@@ -17,9 +17,9 @@ declare const __propDef: {
17
17
  extra: {};
18
18
  };
19
19
  };
20
- export declare type ToastProps = typeof __propDef.props;
21
- export declare type ToastEvents = typeof __propDef.events;
22
- export declare type ToastSlots = typeof __propDef.slots;
20
+ export type ToastProps = typeof __propDef.props;
21
+ export type ToastEvents = typeof __propDef.events;
22
+ export type ToastSlots = typeof __propDef.slots;
23
23
  export default class Toast extends SvelteComponentTyped<ToastProps, ToastEvents, ToastSlots> {
24
24
  }
25
25
  export {};
@@ -13,9 +13,9 @@ declare const __propDef: {
13
13
  end: {};
14
14
  };
15
15
  };
16
- export declare type ToolbarProps = typeof __propDef.props;
17
- export declare type ToolbarEvents = typeof __propDef.events;
18
- export declare type ToolbarSlots = typeof __propDef.slots;
16
+ export type ToolbarProps = typeof __propDef.props;
17
+ export type ToolbarEvents = typeof __propDef.events;
18
+ export type ToolbarSlots = typeof __propDef.slots;
19
19
  export default class Toolbar extends SvelteComponentTyped<ToolbarProps, ToolbarEvents, ToolbarSlots> {
20
20
  }
21
21
  export {};
@@ -16,9 +16,9 @@ declare const __propDef: {
16
16
  default: {};
17
17
  };
18
18
  };
19
- export declare type ToolbarButtonProps = typeof __propDef.props;
20
- export declare type ToolbarButtonEvents = typeof __propDef.events;
21
- export declare type ToolbarButtonSlots = typeof __propDef.slots;
19
+ export type ToolbarButtonProps = typeof __propDef.props;
20
+ export type ToolbarButtonEvents = typeof __propDef.events;
21
+ export type ToolbarButtonSlots = typeof __propDef.slots;
22
22
  export default class ToolbarButton extends SvelteComponentTyped<ToolbarButtonProps, ToolbarButtonEvents, ToolbarButtonSlots> {
23
23
  }
24
24
  export {};
@@ -1,6 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
- props: {};
3
+ props: Record<string, never>;
4
4
  events: {
5
5
  [evt: string]: CustomEvent<any>;
6
6
  };
@@ -8,9 +8,9 @@ declare const __propDef: {
8
8
  default: {};
9
9
  };
10
10
  };
11
- export declare type ToolbarGroupProps = typeof __propDef.props;
12
- export declare type ToolbarGroupEvents = typeof __propDef.events;
13
- export declare type ToolbarGroupSlots = typeof __propDef.slots;
11
+ export type ToolbarGroupProps = typeof __propDef.props;
12
+ export type ToolbarGroupEvents = typeof __propDef.events;
13
+ export type ToolbarGroupSlots = typeof __propDef.slots;
14
14
  export default class ToolbarGroup extends SvelteComponentTyped<ToolbarGroupProps, ToolbarGroupEvents, ToolbarGroupSlots> {
15
15
  }
16
16
  export {};
@@ -14,9 +14,9 @@ declare const __propDef: {
14
14
  default: {};
15
15
  };
16
16
  };
17
- export declare type TooltipProps = typeof __propDef.props;
18
- export declare type TooltipEvents = typeof __propDef.events;
19
- export declare type TooltipSlots = typeof __propDef.slots;
17
+ export type TooltipProps = typeof __propDef.props;
18
+ export type TooltipEvents = typeof __propDef.events;
19
+ export type TooltipSlots = typeof __propDef.slots;
20
20
  export default class Tooltip extends SvelteComponentTyped<TooltipProps, TooltipEvents, TooltipSlots> {
21
21
  }
22
22
  export {};
package/types.d.ts CHANGED
@@ -6,18 +6,18 @@ export interface ActivityType {
6
6
  alt: string;
7
7
  text?: HTMLElement | string;
8
8
  }
9
- export declare type AlignType = 'text-center' | 'text-left' | 'text-right';
9
+ export type AlignType = 'text-center' | 'text-left' | 'text-right';
10
10
  export interface AuthFieldType {
11
11
  label: string;
12
12
  fieldtype: string;
13
13
  required?: boolean;
14
14
  placeholder?: string;
15
15
  }
16
- export declare type AuthFunctionType = () => Promise<void>;
17
- export declare type ButtonType = 'button' | 'submit' | 'reset';
18
- export declare type Buttontypes = 'blue' | 'blue-outline' | 'dark' | 'dark-outline' | 'light' | 'green' | 'green-outline' | 'red' | 'red-outline' | 'yellow' | 'yellow-outline' | 'purple' | 'purple-outline';
19
- export declare type Buttonshadows = 'blue' | 'green' | 'cyan' | 'teal' | 'lime' | 'red' | 'pink' | 'purple';
20
- export declare type CarouselIconType = {
16
+ export type AuthFunctionType = () => Promise<void>;
17
+ export type ButtonType = 'button' | 'submit' | 'reset';
18
+ export type Buttontypes = 'blue' | 'blue-outline' | 'dark' | 'dark-outline' | 'light' | 'green' | 'green-outline' | 'red' | 'red-outline' | 'yellow' | 'yellow-outline' | 'purple' | 'purple-outline';
19
+ export type Buttonshadows = 'blue' | 'green' | 'cyan' | 'teal' | 'lime' | 'red' | 'pink' | 'purple';
20
+ export type CarouselIconType = {
21
21
  next: typeof SvelteComponent;
22
22
  prev: typeof SvelteComponent;
23
23
  };
@@ -28,7 +28,7 @@ export interface CheckboxType {
28
28
  disabled?: boolean;
29
29
  helper?: string;
30
30
  }
31
- export declare type Colors = 'blue' | 'gray' | 'red' | 'yellow' | 'purple' | 'green' | 'indigo' | 'pink' | 'white' | 'custom';
31
+ export type Colors = 'blue' | 'gray' | 'red' | 'yellow' | 'purple' | 'green' | 'indigo' | 'pink' | 'white' | 'custom';
32
32
  export interface DotType {
33
33
  top?: boolean;
34
34
  color?: string;
@@ -42,14 +42,14 @@ export interface drawerTransitionParamTypes {
42
42
  x?: number;
43
43
  y?: number;
44
44
  }
45
- export declare type drawerTransitionTypes = 'fade' | 'fly' | 'slide' | 'blur' | 'in:fly' | 'out:fly' | 'in:slide' | 'out:slide' | 'in:fade' | 'out:fade' | 'in:blur' | 'out:blur' | undefined;
45
+ export type drawerTransitionTypes = 'fade' | 'fly' | 'slide' | 'blur' | 'in:fly' | 'out:fly' | 'in:slide' | 'out:slide' | 'in:fade' | 'out:fade' | 'in:blur' | 'out:blur' | undefined;
46
46
  export interface DropdownType {
47
47
  name: string;
48
48
  href: string;
49
49
  divider?: boolean;
50
50
  }
51
- export declare type FormColorType = 'blue' | 'red' | 'green' | 'purple' | 'teal' | 'yellow' | 'orange';
52
- export declare type Gradientduotones = 'purple2blue' | 'cyan2blue' | 'green2blue' | 'purple2pink' | 'pink2orange' | 'teal2lime' | 'red2yellow';
51
+ export type FormColorType = 'blue' | 'red' | 'green' | 'purple' | 'teal' | 'yellow' | 'orange';
52
+ export type Gradientduotones = 'purple2blue' | 'cyan2blue' | 'green2blue' | 'purple2pink' | 'pink2orange' | 'teal2lime' | 'red2yellow';
53
53
  export interface GroupTimelineType {
54
54
  title: string | HTMLElement;
55
55
  src: string;
@@ -72,11 +72,11 @@ export interface IconTabType {
72
72
  icon?: typeof SvelteComponent;
73
73
  iconSize?: number;
74
74
  }
75
- export declare type ImgType = {
75
+ export type ImgType = {
76
76
  src: string;
77
77
  alt?: string;
78
78
  };
79
- export declare type InputType = 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'reset' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | 'search';
79
+ export type InputType = 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'reset' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | 'search';
80
80
  export interface InteractiveTabType {
81
81
  name: string;
82
82
  id: number;
@@ -125,7 +125,7 @@ export interface PillTabType {
125
125
  selected: boolean;
126
126
  href: string;
127
127
  }
128
- export declare type ReviewType = {
128
+ export type ReviewType = {
129
129
  name: string;
130
130
  imgSrc: string;
131
131
  imgAlt: string;
@@ -137,11 +137,11 @@ export declare type ReviewType = {
137
137
  item2: string | undefined;
138
138
  item3: string | undefined;
139
139
  };
140
- export declare type SelectOptionType = {
140
+ export type SelectOptionType = {
141
141
  name: string;
142
142
  value: string;
143
143
  };
144
- export declare type SidebarType = {
144
+ export type SidebarType = {
145
145
  id: number;
146
146
  name: string;
147
147
  href?: string;
@@ -153,7 +153,7 @@ export declare type SidebarType = {
153
153
  children?: SidebarType[];
154
154
  subtext?: HTMLElement;
155
155
  };
156
- export declare type SidebarCtaType = {
156
+ export type SidebarCtaType = {
157
157
  label: string;
158
158
  text: HTMLElement;
159
159
  };
@@ -187,7 +187,7 @@ export interface TableDataHelperType {
187
187
  end: number;
188
188
  total: number;
189
189
  }
190
- export declare type Textsize = 'text-xs' | 'text-sm' | 'text-base' | 'text-lg' | 'text-xl' | 'text-2xl' | 'text-3xl' | 'text-4xl';
190
+ export type Textsize = 'text-xs' | 'text-sm' | 'text-base' | 'text-lg' | 'text-xl' | 'text-2xl' | 'text-3xl' | 'text-4xl';
191
191
  export interface TimelineItemType {
192
192
  date: Date | string;
193
193
  title: string;
@@ -214,7 +214,7 @@ export interface TimelineItemHorizontalType {
214
214
  iconClass?: string;
215
215
  text?: HTMLElement | string;
216
216
  }
217
- export declare type ToggleColorType = 'blue' | 'red' | 'green' | 'purple' | 'yellow' | 'teal' | 'orange';
217
+ export type ToggleColorType = 'blue' | 'red' | 'green' | 'purple' | 'yellow' | 'teal' | 'orange';
218
218
  export interface TransitionParamTypes {
219
219
  delay?: number;
220
220
  duration?: number;
@@ -222,4 +222,4 @@ export interface TransitionParamTypes {
222
222
  css?: (t: number, u: number) => string;
223
223
  tick?: (t: number, u: number) => void;
224
224
  }
225
- export declare type TransitionTypes = 'fade' | 'fly' | 'slide' | 'blur' | 'in:fly' | 'out:fly' | 'in:slide' | 'out:slide' | 'in:fade' | 'out:fade' | 'in:blur' | 'out:blur';
225
+ export type TransitionTypes = 'fade' | 'fly' | 'slide' | 'blur' | 'in:fly' | 'out:fly' | 'in:slide' | 'out:slide' | 'in:fade' | 'out:fade' | 'in:blur' | 'out:blur';
@@ -4,6 +4,8 @@ export let color = 'text-blue-600 dark:text-blue-500';
4
4
  export let aClass = 'inline-flex items-center hover:underline';
5
5
  </script>
6
6
 
7
- <a {...$$restProps} {href} class={classNames(aClass, color, $$props.class)}>
7
+ <a
8
+ on:click
9
+ {...$$restProps} {href} class={classNames(aClass, color, $$props.class)}>
8
10
  <slot />
9
11
  </a>
@@ -7,15 +7,17 @@ declare const __propDef: {
7
7
  aClass?: string | undefined;
8
8
  };
9
9
  events: {
10
+ click: MouseEvent;
11
+ } & {
10
12
  [evt: string]: CustomEvent<any>;
11
13
  };
12
14
  slots: {
13
15
  default: {};
14
16
  };
15
17
  };
16
- export declare type AProps = typeof __propDef.props;
17
- export declare type AEvents = typeof __propDef.events;
18
- export declare type ASlots = typeof __propDef.slots;
18
+ export type AProps = typeof __propDef.props;
19
+ export type AEvents = typeof __propDef.events;
20
+ export type ASlots = typeof __propDef.slots;
19
21
  export default class A extends SvelteComponentTyped<AProps, AEvents, ASlots> {
20
22
  }
21
23
  export {};
@@ -18,9 +18,9 @@ declare const __propDef: {
18
18
  default: {};
19
19
  };
20
20
  };
21
- export declare type BlockquoteProps = typeof __propDef.props;
22
- export declare type BlockquoteEvents = typeof __propDef.events;
23
- export declare type BlockquoteSlots = typeof __propDef.slots;
21
+ export type BlockquoteProps = typeof __propDef.props;
22
+ export type BlockquoteEvents = typeof __propDef.events;
23
+ export type BlockquoteSlots = typeof __propDef.slots;
24
24
  export default class Blockquote extends SvelteComponentTyped<BlockquoteProps, BlockquoteEvents, BlockquoteSlots> {
25
25
  }
26
26
  export {};
@@ -13,9 +13,9 @@ declare const __propDef: {
13
13
  default: {};
14
14
  };
15
15
  };
16
- export declare type DescriptionListProps = typeof __propDef.props;
17
- export declare type DescriptionListEvents = typeof __propDef.events;
18
- export declare type DescriptionListSlots = typeof __propDef.slots;
16
+ export type DescriptionListProps = typeof __propDef.props;
17
+ export type DescriptionListEvents = typeof __propDef.events;
18
+ export type DescriptionListSlots = typeof __propDef.slots;
19
19
  export default class DescriptionList extends SvelteComponentTyped<DescriptionListProps, DescriptionListEvents, DescriptionListSlots> {
20
20
  }
21
21
  export {};
@@ -13,9 +13,9 @@ declare const __propDef: {
13
13
  default: {};
14
14
  };
15
15
  };
16
- export declare type HeadingProps = typeof __propDef.props;
17
- export declare type HeadingEvents = typeof __propDef.events;
18
- export declare type HeadingSlots = typeof __propDef.slots;
16
+ export type HeadingProps = typeof __propDef.props;
17
+ export type HeadingEvents = typeof __propDef.events;
18
+ export type HeadingSlots = typeof __propDef.slots;
19
19
  export default class Heading extends SvelteComponentTyped<HeadingProps, HeadingEvents, HeadingSlots> {
20
20
  }
21
21
  export {};
@@ -18,9 +18,9 @@ declare const __propDef: {
18
18
  default: {};
19
19
  };
20
20
  };
21
- export declare type HrProps = typeof __propDef.props;
22
- export declare type HrEvents = typeof __propDef.events;
23
- export declare type HrSlots = typeof __propDef.slots;
21
+ export type HrProps = typeof __propDef.props;
22
+ export type HrEvents = typeof __propDef.events;
23
+ export type HrSlots = typeof __propDef.slots;
24
24
  export default class Hr extends SvelteComponentTyped<HrProps, HrEvents, HrSlots> {
25
25
  }
26
26
  export {};
@@ -18,9 +18,9 @@ declare const __propDef: {
18
18
  };
19
19
  slots: {};
20
20
  };
21
- export declare type ImgProps = typeof __propDef.props;
22
- export declare type ImgEvents = typeof __propDef.events;
23
- export declare type ImgSlots = typeof __propDef.slots;
21
+ export type ImgProps = typeof __propDef.props;
22
+ export type ImgEvents = typeof __propDef.events;
23
+ export type ImgSlots = typeof __propDef.slots;
24
24
  export default class Img extends SvelteComponentTyped<ImgProps, ImgEvents, ImgSlots> {
25
25
  }
26
26
  export {};
@@ -13,9 +13,9 @@ declare const __propDef: {
13
13
  default: {};
14
14
  };
15
15
  };
16
- export declare type LayoutProps = typeof __propDef.props;
17
- export declare type LayoutEvents = typeof __propDef.events;
18
- export declare type LayoutSlots = typeof __propDef.slots;
16
+ export type LayoutProps = typeof __propDef.props;
17
+ export type LayoutEvents = typeof __propDef.events;
18
+ export type LayoutSlots = typeof __propDef.slots;
19
19
  export default class Layout extends SvelteComponentTyped<LayoutProps, LayoutEvents, LayoutSlots> {
20
20
  }
21
21
  export {};
@@ -12,9 +12,9 @@ declare const __propDef: {
12
12
  default: {};
13
13
  };
14
14
  };
15
- export declare type LiProps = typeof __propDef.props;
16
- export declare type LiEvents = typeof __propDef.events;
17
- export declare type LiSlots = typeof __propDef.slots;
15
+ export type LiProps = typeof __propDef.props;
16
+ export type LiEvents = typeof __propDef.events;
17
+ export type LiSlots = typeof __propDef.slots;
18
18
  export default class Li extends SvelteComponentTyped<LiProps, LiEvents, LiSlots> {
19
19
  }
20
20
  export {};
@@ -17,9 +17,9 @@ declare const __propDef: {
17
17
  default: {};
18
18
  };
19
19
  };
20
- export declare type ListProps = typeof __propDef.props;
21
- export declare type ListEvents = typeof __propDef.events;
22
- export declare type ListSlots = typeof __propDef.slots;
20
+ export type ListProps = typeof __propDef.props;
21
+ export type ListEvents = typeof __propDef.events;
22
+ export type ListSlots = typeof __propDef.slots;
23
23
  export default class List extends SvelteComponentTyped<ListProps, ListEvents, ListSlots> {
24
24
  }
25
25
  export {};
@@ -13,9 +13,9 @@ declare const __propDef: {
13
13
  default: {};
14
14
  };
15
15
  };
16
- export declare type MarkProps = typeof __propDef.props;
17
- export declare type MarkEvents = typeof __propDef.events;
18
- export declare type MarkSlots = typeof __propDef.slots;
16
+ export type MarkProps = typeof __propDef.props;
17
+ export type MarkEvents = typeof __propDef.events;
18
+ export type MarkSlots = typeof __propDef.slots;
19
19
  export default class Mark extends SvelteComponentTyped<MarkProps, MarkEvents, MarkSlots> {
20
20
  }
21
21
  export {};
@@ -13,7 +13,7 @@ declare const __propDef: {
13
13
  whitespace?: "pre" | "normal" | "nowrap" | "preline" | "prewrap" | undefined;
14
14
  size?: "xs" | "sm" | "lg" | "xl" | "base" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | undefined;
15
15
  space?: 'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest' | undefined;
16
- weight?: "light" | "bold" | "normal" | "thin" | "extralight" | "medium" | "semibold" | "extrabold" | "black" | undefined;
16
+ weight?: "light" | "normal" | "thin" | "extralight" | "medium" | "semibold" | "bold" | "extrabold" | "black" | undefined;
17
17
  };
18
18
  events: {
19
19
  [evt: string]: CustomEvent<any>;
@@ -22,9 +22,9 @@ declare const __propDef: {
22
22
  default: {};
23
23
  };
24
24
  };
25
- export declare type PProps = typeof __propDef.props;
26
- export declare type PEvents = typeof __propDef.events;
27
- export declare type PSlots = typeof __propDef.slots;
25
+ export type PProps = typeof __propDef.props;
26
+ export type PEvents = typeof __propDef.events;
27
+ export type PSlots = typeof __propDef.slots;
28
28
  export default class P extends SvelteComponentTyped<PProps, PEvents, PSlots> {
29
29
  }
30
30
  export {};
@@ -12,9 +12,9 @@ declare const __propDef: {
12
12
  default: {};
13
13
  };
14
14
  };
15
- export declare type SecondaryProps = typeof __propDef.props;
16
- export declare type SecondaryEvents = typeof __propDef.events;
17
- export declare type SecondarySlots = typeof __propDef.slots;
15
+ export type SecondaryProps = typeof __propDef.props;
16
+ export type SecondaryEvents = typeof __propDef.events;
17
+ export type SecondarySlots = typeof __propDef.slots;
18
18
  export default class Secondary extends SvelteComponentTyped<SecondaryProps, SecondaryEvents, SecondarySlots> {
19
19
  }
20
20
  export {};
@@ -19,9 +19,9 @@ declare const __propDef: {
19
19
  default: {};
20
20
  };
21
21
  };
22
- export declare type SpanProps = typeof __propDef.props;
23
- export declare type SpanEvents = typeof __propDef.events;
24
- export declare type SpanSlots = typeof __propDef.slots;
22
+ export type SpanProps = typeof __propDef.props;
23
+ export type SpanEvents = typeof __propDef.events;
24
+ export type SpanSlots = typeof __propDef.slots;
25
25
  export default class Span extends SvelteComponentTyped<SpanProps, SpanEvents, SpanSlots> {
26
26
  }
27
27
  export {};
@@ -13,9 +13,9 @@ declare const __propDef: {
13
13
  default: {};
14
14
  };
15
15
  };
16
- export declare type UlProps = typeof __propDef.props;
17
- export declare type UlEvents = typeof __propDef.events;
18
- export declare type UlSlots = typeof __propDef.slots;
16
+ export type UlProps = typeof __propDef.props;
17
+ export type UlEvents = typeof __propDef.events;
18
+ export type UlSlots = typeof __propDef.slots;
19
19
  export default class Ul extends SvelteComponentTyped<UlProps, UlEvents, UlSlots> {
20
20
  }
21
21
  export {};
@@ -12,9 +12,9 @@ declare const __propDef: {
12
12
  default: {};
13
13
  };
14
14
  };
15
- export declare type ChevronProps = typeof __propDef.props;
16
- export declare type ChevronEvents = typeof __propDef.events;
17
- export declare type ChevronSlots = typeof __propDef.slots;
15
+ export type ChevronProps = typeof __propDef.props;
16
+ export type ChevronEvents = typeof __propDef.events;
17
+ export type ChevronSlots = typeof __propDef.slots;
18
18
  export default class Chevron extends SvelteComponentTyped<ChevronProps, ChevronEvents, ChevronSlots> {
19
19
  }
20
20
  export {};
@@ -14,9 +14,9 @@ declare const __propDef: {
14
14
  };
15
15
  slots: {};
16
16
  };
17
- export declare type ChevronDownProps = typeof __propDef.props;
18
- export declare type ChevronDownEvents = typeof __propDef.events;
19
- export declare type ChevronDownSlots = typeof __propDef.slots;
17
+ export type ChevronDownProps = typeof __propDef.props;
18
+ export type ChevronDownEvents = typeof __propDef.events;
19
+ export type ChevronDownSlots = typeof __propDef.slots;
20
20
  export default class ChevronDown extends SvelteComponentTyped<ChevronDownProps, ChevronDownEvents, ChevronDownSlots> {
21
21
  }
22
22
  export {};
@@ -14,9 +14,9 @@ declare const __propDef: {
14
14
  };
15
15
  slots: {};
16
16
  };
17
- export declare type ChevronLeftProps = typeof __propDef.props;
18
- export declare type ChevronLeftEvents = typeof __propDef.events;
19
- export declare type ChevronLeftSlots = typeof __propDef.slots;
17
+ export type ChevronLeftProps = typeof __propDef.props;
18
+ export type ChevronLeftEvents = typeof __propDef.events;
19
+ export type ChevronLeftSlots = typeof __propDef.slots;
20
20
  export default class ChevronLeft extends SvelteComponentTyped<ChevronLeftProps, ChevronLeftEvents, ChevronLeftSlots> {
21
21
  }
22
22
  export {};
@@ -14,9 +14,9 @@ declare const __propDef: {
14
14
  };
15
15
  slots: {};
16
16
  };
17
- export declare type ChevronRightProps = typeof __propDef.props;
18
- export declare type ChevronRightEvents = typeof __propDef.events;
19
- export declare type ChevronRightSlots = typeof __propDef.slots;
17
+ export type ChevronRightProps = typeof __propDef.props;
18
+ export type ChevronRightEvents = typeof __propDef.events;
19
+ export type ChevronRightSlots = typeof __propDef.slots;
20
20
  export default class ChevronRight extends SvelteComponentTyped<ChevronRightProps, ChevronRightEvents, ChevronRightSlots> {
21
21
  }
22
22
  export {};
@@ -14,9 +14,9 @@ declare const __propDef: {
14
14
  };
15
15
  slots: {};
16
16
  };
17
- export declare type ChevronUpProps = typeof __propDef.props;
18
- export declare type ChevronUpEvents = typeof __propDef.events;
19
- export declare type ChevronUpSlots = typeof __propDef.slots;
17
+ export type ChevronUpProps = typeof __propDef.props;
18
+ export type ChevronUpEvents = typeof __propDef.events;
19
+ export type ChevronUpSlots = typeof __propDef.slots;
20
20
  export default class ChevronUp extends SvelteComponentTyped<ChevronUpProps, ChevronUpEvents, ChevronUpSlots> {
21
21
  }
22
22
  export {};
@@ -15,9 +15,9 @@ declare const __propDef: {
15
15
  default: {};
16
16
  };
17
17
  };
18
- export declare type CloseButtonProps = typeof __propDef.props;
19
- export declare type CloseButtonEvents = typeof __propDef.events;
20
- export declare type CloseButtonSlots = typeof __propDef.slots;
18
+ export type CloseButtonProps = typeof __propDef.props;
19
+ export type CloseButtonEvents = typeof __propDef.events;
20
+ export type CloseButtonSlots = typeof __propDef.slots;
21
21
  export default class CloseButton extends SvelteComponentTyped<CloseButtonProps, CloseButtonEvents, CloseButtonSlots> {
22
22
  }
23
23
  export {};
@@ -27,9 +27,9 @@ declare const __propDef: {
27
27
  default: {};
28
28
  };
29
29
  };
30
- export declare type FrameProps = typeof __propDef.props;
31
- export declare type FrameEvents = typeof __propDef.events;
32
- export declare type FrameSlots = typeof __propDef.slots;
30
+ export type FrameProps = typeof __propDef.props;
31
+ export type FrameEvents = typeof __propDef.events;
32
+ export type FrameSlots = typeof __propDef.slots;
33
33
  export default class Frame extends SvelteComponentTyped<FrameProps, FrameEvents, FrameSlots> {
34
34
  }
35
35
  export {};
@@ -14,9 +14,9 @@ declare const __propDef: {
14
14
  };
15
15
  slots: {};
16
16
  };
17
- export declare type InformationCircleProps = typeof __propDef.props;
18
- export declare type InformationCircleEvents = typeof __propDef.events;
19
- export declare type InformationCircleSlots = typeof __propDef.slots;
17
+ export type InformationCircleProps = typeof __propDef.props;
18
+ export type InformationCircleEvents = typeof __propDef.events;
19
+ export type InformationCircleSlots = typeof __propDef.slots;
20
20
  export default class InformationCircle extends SvelteComponentTyped<InformationCircleProps, InformationCircleEvents, InformationCircleSlots> {
21
21
  }
22
22
  export {};
@@ -113,7 +113,7 @@ onMount(() => {
113
113
  };
114
114
  });
115
115
  function optional(pred, func) {
116
- return pred && func;
116
+ return (pred && func) || null;
117
117
  }
118
118
  </script>
119
119
 
@@ -20,9 +20,9 @@ declare const __propDef: {
20
20
  default: {};
21
21
  };
22
22
  };
23
- export declare type PopperProps = typeof __propDef.props;
24
- export declare type PopperEvents = typeof __propDef.events;
25
- export declare type PopperSlots = typeof __propDef.slots;
23
+ export type PopperProps = typeof __propDef.props;
24
+ export type PopperEvents = typeof __propDef.events;
25
+ export type PopperSlots = typeof __propDef.slots;
26
26
  export default class Popper extends SvelteComponentTyped<PopperProps, PopperEvents, PopperSlots> {
27
27
  }
28
28
  export {};