flowbite-svelte 0.21.7 → 0.21.10

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.21.10](https://github.com/themesberg/flowbite-svelte/compare/v0.21.9...v0.21.10) (2022-07-17)
6
+
7
+
8
+ ### Features
9
+
10
+ * add Dropzone ([bb69872](https://github.com/themesberg/flowbite-svelte/commit/bb698721e07c489f1d1900012e60204e0af12e5a))
11
+
12
+ ### [0.21.9](https://github.com/themesberg/flowbite-svelte/compare/v0.21.8...v0.21.9) (2022-07-17)
13
+
14
+
15
+ ### Features
16
+
17
+ * add fileupload multiple files and sizes ([81ab128](https://github.com/themesberg/flowbite-svelte/commit/81ab1284902e9e89bf08725a74b22394aae57244))
18
+
19
+ ### [0.21.8](https://github.com/themesberg/flowbite-svelte/compare/v0.21.7...v0.21.8) (2022-07-17)
20
+
21
+
22
+ ### Features
23
+
24
+ * add skeleton components and page ([cf1f421](https://github.com/themesberg/flowbite-svelte/commit/cf1f421964a7122c77cf2b27615f4837ec3cf687))
25
+
5
26
  ### [0.21.7](https://github.com/themesberg/flowbite-svelte/compare/v0.21.6...v0.21.7) (2022-07-17)
6
27
 
7
28
 
@@ -0,0 +1,14 @@
1
+ <script>export let value = '';
2
+ export let divClass = 'flex justify-center items-center w-full';
3
+ export let labelClass = 'flex flex-col justify-center items-center w-full h-64 bg-gray-50 rounded-lg border-2 border-gray-300 border-dashed cursor-pointer dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600';
4
+ export let innerDivClass = 'flex flex-col justify-center items-center pt-5 pb-6';
5
+ </script>
6
+
7
+ <div class={divClass}>
8
+ <label for="dropzone-file" class={labelClass}>
9
+ <div class={innerDivClass}>
10
+ <slot />
11
+ </div>
12
+ <input {...$$restProps} bind:value type="file" class="hidden" />
13
+ </label>
14
+ </div>
@@ -0,0 +1,22 @@
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ [x: string]: any;
5
+ value?: string;
6
+ divClass?: string;
7
+ labelClass?: string;
8
+ innerDivClass?: string;
9
+ };
10
+ events: {
11
+ [evt: string]: CustomEvent<any>;
12
+ };
13
+ slots: {
14
+ default: {};
15
+ };
16
+ };
17
+ export declare type DropzoneProps = typeof __propDef.props;
18
+ export declare type DropzoneEvents = typeof __propDef.events;
19
+ export declare type DropzoneSlots = typeof __propDef.slots;
20
+ export default class Dropzone extends SvelteComponentTyped<DropzoneProps, DropzoneEvents, DropzoneSlots> {
21
+ }
22
+ export {};
@@ -1,13 +1,16 @@
1
- <script>export let value = '';
2
- export let id = 'user_avatar';
3
- export let inputClass = 'block w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 cursor-pointer dark:text-gray-400 focus:outline-none focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400';
1
+ <script>import classNames from 'classnames';
2
+ export let value = '';
3
+ export let size = 'sm';
4
+ export let inputClass = 'block w-full text-gray-900 bg-gray-50 rounded-lg border border-gray-300 cursor-pointer dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400';
4
5
  </script>
5
6
 
6
7
  <input
7
8
  {...$$restProps}
8
9
  bind:value
9
- class={inputClass}
10
- aria-describedby="{id}_help"
11
- {id}
10
+ class={classNames(inputClass, {
11
+ 'mb-5 text-xs': size === 'xs',
12
+ 'mb-5 text-sm': size === 'sm',
13
+ 'text-lg': size === 'lg'
14
+ })}
12
15
  type="file"
13
16
  />
@@ -3,7 +3,7 @@ declare const __propDef: {
3
3
  props: {
4
4
  [x: string]: any;
5
5
  value?: string;
6
- id?: string;
6
+ size?: 'xs' | 'sm' | 'lg';
7
7
  inputClass?: string;
8
8
  };
9
9
  events: {
package/index.d.ts CHANGED
@@ -29,6 +29,7 @@ export { default as FooterIcon } from './footer/FooterIcon.svelte';
29
29
  export { default as FooterLink } from './footer/FooterLink.svelte';
30
30
  export { default as FooterLinkGroup } from './footer/FooterLinkGroup.svelte';
31
31
  export { default as Checkbox } from './forms/Checkbox.svelte';
32
+ export { default as Dropzone } from './forms/Dropzone.svelte';
32
33
  export { default as Fileupload } from './forms/Fileupload.svelte';
33
34
  export { default as FloatingLabelInput } from './forms/FloatingLabelInput.svelte';
34
35
  export { default as Helper } from './forms/Helper.svelte';
@@ -79,6 +80,14 @@ export { default as SidebarDropdownItem } from './sidebars/SidebarDropdownItem.s
79
80
  export { default as SidebarDropdownWrapper } from './sidebars/SidebarDropdownWrapper.svelte';
80
81
  export { default as SidebarGroup } from './sidebars/SidebarGroup.svelte';
81
82
  export { default as SidebarWrapper } from './sidebars/SidebarWrapper.svelte';
83
+ export { default as CardPlaceholder } from './skeleton/CardPlaceholder.svelte';
84
+ export { default as ImagePlaceholder } from './skeleton/ImagePlaceholder.svelte';
85
+ export { default as ListPlaceholder } from './skeleton/ListPlaceholder.svelte';
86
+ export { default as Skeleton } from './skeleton/Skeleton.svelte';
87
+ export { default as TestimonialPlaceholder } from './skeleton/TestimonialPlaceholder.svelte';
88
+ export { default as TextPlaceholder } from './skeleton/TextPlaceholder.svelte';
89
+ export { default as VideoPlaceholder } from './skeleton/VideoPlaceholder.svelte';
90
+ export { default as WidgetPlaceholder } from './skeleton/WidgetPlaceholder.svelte';
82
91
  export { default as Spinner } from './spinners/Spinner.svelte';
83
92
  export { default as Table } from './tables/Table.svelte';
84
93
  export { default as TableBody } from './tables/TableBody.svelte';
package/index.js CHANGED
@@ -42,6 +42,7 @@ export { default as FooterLink } from './footer/FooterLink.svelte';
42
42
  export { default as FooterLinkGroup } from './footer/FooterLinkGroup.svelte';
43
43
  // Forms
44
44
  export { default as Checkbox } from './forms/Checkbox.svelte';
45
+ export { default as Dropzone } from './forms/Dropzone.svelte';
45
46
  export { default as Fileupload } from './forms/Fileupload.svelte';
46
47
  export { default as FloatingLabelInput } from './forms/FloatingLabelInput.svelte';
47
48
  export { default as Helper } from './forms/Helper.svelte';
@@ -100,6 +101,15 @@ export { default as SidebarDropdownItem } from './sidebars/SidebarDropdownItem.s
100
101
  export { default as SidebarDropdownWrapper } from './sidebars/SidebarDropdownWrapper.svelte';
101
102
  export { default as SidebarGroup } from './sidebars/SidebarGroup.svelte';
102
103
  export { default as SidebarWrapper } from './sidebars/SidebarWrapper.svelte';
104
+ // Skeleton
105
+ export { default as CardPlaceholder } from './skeleton/CardPlaceholder.svelte';
106
+ export { default as ImagePlaceholder } from './skeleton/ImagePlaceholder.svelte';
107
+ export { default as ListPlaceholder } from './skeleton/ListPlaceholder.svelte';
108
+ export { default as Skeleton } from './skeleton/Skeleton.svelte';
109
+ export { default as TestimonialPlaceholder } from './skeleton/TestimonialPlaceholder.svelte';
110
+ export { default as TextPlaceholder } from './skeleton/TextPlaceholder.svelte';
111
+ export { default as VideoPlaceholder } from './skeleton/VideoPlaceholder.svelte';
112
+ export { default as WidgetPlaceholder } from './skeleton/WidgetPlaceholder.svelte';
103
113
  // Spin
104
114
  export { default as Spinner } from './spinners/Spinner.svelte';
105
115
  // Tables
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.21.7",
3
+ "version": "0.21.10",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "main": "index.js",
6
6
  "author": {
@@ -134,6 +134,7 @@
134
134
  "./footer/SitemapFooter.svelte": "./footer/SitemapFooter.svelte",
135
135
  "./footer/SocialMediaFooter.svelte": "./footer/SocialMediaFooter.svelte",
136
136
  "./forms/Checkbox.svelte": "./forms/Checkbox.svelte",
137
+ "./forms/Dropzone.svelte": "./forms/Dropzone.svelte",
137
138
  "./forms/Fileupload.svelte": "./forms/Fileupload.svelte",
138
139
  "./forms/FloatingLabelInput.svelte": "./forms/FloatingLabelInput.svelte",
139
140
  "./forms/Helper.svelte": "./forms/Helper.svelte",
@@ -188,6 +189,14 @@
188
189
  "./sidebars/SidebarGroup.svelte": "./sidebars/SidebarGroup.svelte",
189
190
  "./sidebars/SidebarItem.svelte": "./sidebars/SidebarItem.svelte",
190
191
  "./sidebars/SidebarWrapper.svelte": "./sidebars/SidebarWrapper.svelte",
192
+ "./skeleton/CardPlaceholder.svelte": "./skeleton/CardPlaceholder.svelte",
193
+ "./skeleton/ImagePlaceholder.svelte": "./skeleton/ImagePlaceholder.svelte",
194
+ "./skeleton/ListPlaceholder.svelte": "./skeleton/ListPlaceholder.svelte",
195
+ "./skeleton/Skeleton.svelte": "./skeleton/Skeleton.svelte",
196
+ "./skeleton/TestimonialPlaceholder.svelte": "./skeleton/TestimonialPlaceholder.svelte",
197
+ "./skeleton/TextPlaceholder.svelte": "./skeleton/TextPlaceholder.svelte",
198
+ "./skeleton/VideoPlaceholder.svelte": "./skeleton/VideoPlaceholder.svelte",
199
+ "./skeleton/WidgetPlaceholder.svelte": "./skeleton/WidgetPlaceholder.svelte",
191
200
  "./spinners/Spinner.svelte": "./spinners/Spinner.svelte",
192
201
  "./tables/Table.svelte": "./tables/Table.svelte",
193
202
  "./tables/TableBody.svelte": "./tables/TableBody.svelte",
@@ -0,0 +1,40 @@
1
+ <div
2
+ role="status"
3
+ class="p-4 max-w-sm rounded border border-gray-200 shadow animate-pulse md:p-6 dark:border-gray-700"
4
+ >
5
+ <div class="flex justify-center items-center mb-4 h-48 bg-gray-300 rounded dark:bg-gray-700">
6
+ <svg
7
+ class="w-12 h-12 text-gray-200 dark:text-gray-600"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ aria-hidden="true"
10
+ fill="currentColor"
11
+ viewBox="0 0 640 512"
12
+ ><path
13
+ d="M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z"
14
+ /></svg
15
+ >
16
+ </div>
17
+ <div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-48 mb-4" />
18
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5" />
19
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5" />
20
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700" />
21
+ <div class="flex items-center mt-4 space-x-3">
22
+ <svg
23
+ class="w-14 h-14 text-gray-200 dark:text-gray-700"
24
+ aria-hidden="true"
25
+ fill="currentColor"
26
+ viewBox="0 0 20 20"
27
+ xmlns="http://www.w3.org/2000/svg"
28
+ ><path
29
+ fill-rule="evenodd"
30
+ d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z"
31
+ clip-rule="evenodd"
32
+ /></svg
33
+ >
34
+ <div>
35
+ <div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-32 mb-2" />
36
+ <div class="w-48 h-2 bg-gray-200 rounded-full dark:bg-gray-700" />
37
+ </div>
38
+ </div>
39
+ <span class="sr-only">Loading...</span>
40
+ </div>
@@ -0,0 +1,19 @@
1
+ /** @typedef {typeof __propDef.props} CardPlaceholderProps */
2
+ /** @typedef {typeof __propDef.events} CardPlaceholderEvents */
3
+ /** @typedef {typeof __propDef.slots} CardPlaceholderSlots */
4
+ export default class CardPlaceholder extends SvelteComponentTyped<{}, {
5
+ [evt: string]: CustomEvent<any>;
6
+ }, {}> {
7
+ }
8
+ export type CardPlaceholderProps = typeof __propDef.props;
9
+ export type CardPlaceholderEvents = typeof __propDef.events;
10
+ export type CardPlaceholderSlots = typeof __propDef.slots;
11
+ import { SvelteComponentTyped } from "svelte";
12
+ declare const __propDef: {
13
+ props: {};
14
+ events: {
15
+ [evt: string]: CustomEvent<any>;
16
+ };
17
+ slots: {};
18
+ };
19
+ export {};
@@ -0,0 +1,28 @@
1
+ <div
2
+ role="status"
3
+ class="space-y-8 animate-pulse md:space-y-0 md:space-x-8 md:flex md:items-center"
4
+ >
5
+ <div
6
+ class="flex justify-center items-center w-full h-48 bg-gray-300 rounded sm:w-96 dark:bg-gray-700"
7
+ >
8
+ <svg
9
+ class="w-12 h-12 text-gray-200"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ aria-hidden="true"
12
+ fill="currentColor"
13
+ viewBox="0 0 640 512"
14
+ ><path
15
+ d="M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z"
16
+ /></svg
17
+ >
18
+ </div>
19
+ <div class="w-full">
20
+ <div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-48 mb-4" />
21
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[480px] mb-2.5" />
22
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5" />
23
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[440px] mb-2.5" />
24
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[460px] mb-2.5" />
25
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[360px]" />
26
+ </div>
27
+ <span class="sr-only">Loading...</span>
28
+ </div>
@@ -0,0 +1,19 @@
1
+ /** @typedef {typeof __propDef.props} ImagePlaceholderProps */
2
+ /** @typedef {typeof __propDef.events} ImagePlaceholderEvents */
3
+ /** @typedef {typeof __propDef.slots} ImagePlaceholderSlots */
4
+ export default class ImagePlaceholder extends SvelteComponentTyped<{}, {
5
+ [evt: string]: CustomEvent<any>;
6
+ }, {}> {
7
+ }
8
+ export type ImagePlaceholderProps = typeof __propDef.props;
9
+ export type ImagePlaceholderEvents = typeof __propDef.events;
10
+ export type ImagePlaceholderSlots = typeof __propDef.slots;
11
+ import { SvelteComponentTyped } from "svelte";
12
+ declare const __propDef: {
13
+ props: {};
14
+ events: {
15
+ [evt: string]: CustomEvent<any>;
16
+ };
17
+ slots: {};
18
+ };
19
+ export {};
@@ -0,0 +1,41 @@
1
+ <div
2
+ role="status"
3
+ class="p-4 space-y-4 max-w-md rounded border border-gray-200 divide-y divide-gray-200 shadow animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700"
4
+ >
5
+ <div class="flex justify-between items-center">
6
+ <div>
7
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-2.5" />
8
+ <div class="w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" />
9
+ </div>
10
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 w-12" />
11
+ </div>
12
+ <div class="flex justify-between items-center pt-4">
13
+ <div>
14
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-2.5" />
15
+ <div class="w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" />
16
+ </div>
17
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 w-12" />
18
+ </div>
19
+ <div class="flex justify-between items-center pt-4">
20
+ <div>
21
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-2.5" />
22
+ <div class="w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" />
23
+ </div>
24
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 w-12" />
25
+ </div>
26
+ <div class="flex justify-between items-center pt-4">
27
+ <div>
28
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-2.5" />
29
+ <div class="w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" />
30
+ </div>
31
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 w-12" />
32
+ </div>
33
+ <div class="flex justify-between items-center pt-4">
34
+ <div>
35
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-2.5" />
36
+ <div class="w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700" />
37
+ </div>
38
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 w-12" />
39
+ </div>
40
+ <span class="sr-only">Loading...</span>
41
+ </div>
@@ -0,0 +1,19 @@
1
+ /** @typedef {typeof __propDef.props} ListPlaceholderProps */
2
+ /** @typedef {typeof __propDef.events} ListPlaceholderEvents */
3
+ /** @typedef {typeof __propDef.slots} ListPlaceholderSlots */
4
+ export default class ListPlaceholder extends SvelteComponentTyped<{}, {
5
+ [evt: string]: CustomEvent<any>;
6
+ }, {}> {
7
+ }
8
+ export type ListPlaceholderProps = typeof __propDef.props;
9
+ export type ListPlaceholderEvents = typeof __propDef.events;
10
+ export type ListPlaceholderSlots = typeof __propDef.slots;
11
+ import { SvelteComponentTyped } from "svelte";
12
+ declare const __propDef: {
13
+ props: {};
14
+ events: {
15
+ [evt: string]: CustomEvent<any>;
16
+ };
17
+ slots: {};
18
+ };
19
+ export {};
@@ -0,0 +1,9 @@
1
+ <div role="status" class="max-w-sm animate-pulse">
2
+ <div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-48 mb-4" />
3
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[360px] mb-2.5" />
4
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5" />
5
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[330px] mb-2.5" />
6
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[300px] mb-2.5" />
7
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[360px]" />
8
+ <span class="sr-only">Loading...</span>
9
+ </div>
@@ -0,0 +1,19 @@
1
+ /** @typedef {typeof __propDef.props} SkeletonProps */
2
+ /** @typedef {typeof __propDef.events} SkeletonEvents */
3
+ /** @typedef {typeof __propDef.slots} SkeletonSlots */
4
+ export default class Skeleton extends SvelteComponentTyped<{}, {
5
+ [evt: string]: CustomEvent<any>;
6
+ }, {}> {
7
+ }
8
+ export type SkeletonProps = typeof __propDef.props;
9
+ export type SkeletonEvents = typeof __propDef.events;
10
+ export type SkeletonSlots = typeof __propDef.slots;
11
+ import { SvelteComponentTyped } from "svelte";
12
+ declare const __propDef: {
13
+ props: {};
14
+ events: {
15
+ [evt: string]: CustomEvent<any>;
16
+ };
17
+ slots: {};
18
+ };
19
+ export {};
@@ -0,0 +1,21 @@
1
+ <div role="status" class="animate-pulse">
2
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 max-w-[640px] mb-2.5 mx-auto" />
3
+ <div class="h-2.5 mx-auto bg-gray-300 rounded-full dark:bg-gray-700 max-w-[540px]" />
4
+ <div class="flex justify-center items-center mt-4">
5
+ <svg
6
+ class="mr-2 w-10 h-10 text-gray-200 dark:text-gray-700"
7
+ aria-hidden="true"
8
+ fill="currentColor"
9
+ viewBox="0 0 20 20"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ ><path
12
+ fill-rule="evenodd"
13
+ d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z"
14
+ clip-rule="evenodd"
15
+ /></svg
16
+ >
17
+ <div class="w-20 h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 mr-3" />
18
+ <div class="w-24 h-2 bg-gray-200 rounded-full dark:bg-gray-700" />
19
+ </div>
20
+ <span class="sr-only">Loading...</span>
21
+ </div>
@@ -0,0 +1,19 @@
1
+ /** @typedef {typeof __propDef.props} TestimonialPlaceholderProps */
2
+ /** @typedef {typeof __propDef.events} TestimonialPlaceholderEvents */
3
+ /** @typedef {typeof __propDef.slots} TestimonialPlaceholderSlots */
4
+ export default class TestimonialPlaceholder extends SvelteComponentTyped<{}, {
5
+ [evt: string]: CustomEvent<any>;
6
+ }, {}> {
7
+ }
8
+ export type TestimonialPlaceholderProps = typeof __propDef.props;
9
+ export type TestimonialPlaceholderEvents = typeof __propDef.events;
10
+ export type TestimonialPlaceholderSlots = typeof __propDef.slots;
11
+ import { SvelteComponentTyped } from "svelte";
12
+ declare const __propDef: {
13
+ props: {};
14
+ events: {
15
+ [evt: string]: CustomEvent<any>;
16
+ };
17
+ slots: {};
18
+ };
19
+ export {};
@@ -0,0 +1,33 @@
1
+ <div role="status" class="space-y-2.5 animate-pulse max-w-lg">
2
+ <div class="flex items-center space-x-2 w-full">
3
+ <div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-32" />
4
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24" />
5
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-full" />
6
+ </div>
7
+ <div class="flex items-center w-full space-x-2 max-w-[480px]">
8
+ <div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-full" />
9
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-full" />
10
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24" />
11
+ </div>
12
+ <div class="flex items-center w-full space-x-2 max-w-[400px]">
13
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-full" />
14
+ <div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-80" />
15
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-full" />
16
+ </div>
17
+ <div class="flex items-center w-full space-x-2 max-w-[480px]">
18
+ <div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-full" />
19
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-full" />
20
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24" />
21
+ </div>
22
+ <div class="flex items-center w-full space-x-2 max-w-[440px]">
23
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-32" />
24
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24" />
25
+ <div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-full" />
26
+ </div>
27
+ <div class="flex items-center w-full space-x-2 max-w-[360px]">
28
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-full" />
29
+ <div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-80" />
30
+ <div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-full" />
31
+ </div>
32
+ <span class="sr-only">Loading...</span>
33
+ </div>
@@ -0,0 +1,19 @@
1
+ /** @typedef {typeof __propDef.props} TextPlaceholderProps */
2
+ /** @typedef {typeof __propDef.events} TextPlaceholderEvents */
3
+ /** @typedef {typeof __propDef.slots} TextPlaceholderSlots */
4
+ export default class TextPlaceholder extends SvelteComponentTyped<{}, {
5
+ [evt: string]: CustomEvent<any>;
6
+ }, {}> {
7
+ }
8
+ export type TextPlaceholderProps = typeof __propDef.props;
9
+ export type TextPlaceholderEvents = typeof __propDef.events;
10
+ export type TextPlaceholderSlots = typeof __propDef.slots;
11
+ import { SvelteComponentTyped } from "svelte";
12
+ declare const __propDef: {
13
+ props: {};
14
+ events: {
15
+ [evt: string]: CustomEvent<any>;
16
+ };
17
+ slots: {};
18
+ };
19
+ export {};
@@ -0,0 +1,16 @@
1
+ <div
2
+ role="status"
3
+ class="flex justify-center items-center max-w-sm h-56 bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700"
4
+ >
5
+ <svg
6
+ class="w-12 h-12 text-gray-200 dark:text-gray-600"
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ aria-hidden="true"
9
+ fill="currentColor"
10
+ viewBox="0 0 384 512"
11
+ ><path
12
+ d="M361 215C375.3 223.8 384 239.3 384 256C384 272.7 375.3 288.2 361 296.1L73.03 472.1C58.21 482 39.66 482.4 24.52 473.9C9.377 465.4 0 449.4 0 432V80C0 62.64 9.377 46.63 24.52 38.13C39.66 29.64 58.21 29.99 73.03 39.04L361 215z"
13
+ /></svg
14
+ >
15
+ <span class="sr-only">Loading...</span>
16
+ </div>
@@ -0,0 +1,19 @@
1
+ /** @typedef {typeof __propDef.props} VideoPlaceholderProps */
2
+ /** @typedef {typeof __propDef.events} VideoPlaceholderEvents */
3
+ /** @typedef {typeof __propDef.slots} VideoPlaceholderSlots */
4
+ export default class VideoPlaceholder extends SvelteComponentTyped<{}, {
5
+ [evt: string]: CustomEvent<any>;
6
+ }, {}> {
7
+ }
8
+ export type VideoPlaceholderProps = typeof __propDef.props;
9
+ export type VideoPlaceholderEvents = typeof __propDef.events;
10
+ export type VideoPlaceholderSlots = typeof __propDef.slots;
11
+ import { SvelteComponentTyped } from "svelte";
12
+ declare const __propDef: {
13
+ props: {};
14
+ events: {
15
+ [evt: string]: CustomEvent<any>;
16
+ };
17
+ slots: {};
18
+ };
19
+ export {};
@@ -0,0 +1,17 @@
1
+ <div
2
+ role="status"
3
+ class="p-4 max-w-sm rounded border border-gray-200 shadow animate-pulse md:p-6 dark:border-gray-700"
4
+ >
5
+ <div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-32 mb-2.5" />
6
+ <div class="mb-10 w-48 h-2 bg-gray-200 rounded-full dark:bg-gray-700" />
7
+ <div class="flex items-baseline mt-4 space-x-6">
8
+ <div class="w-full h-72 bg-gray-200 rounded-t-lg dark:bg-gray-700" />
9
+ <div class="w-full h-56 bg-gray-200 rounded-t-lg dark:bg-gray-700" />
10
+ <div class="w-full h-72 bg-gray-200 rounded-t-lg dark:bg-gray-700" />
11
+ <div class="w-full h-64 bg-gray-200 rounded-t-lg dark:bg-gray-700" />
12
+ <div class="w-full h-80 bg-gray-200 rounded-t-lg dark:bg-gray-700" />
13
+ <div class="w-full h-72 bg-gray-200 rounded-t-lg dark:bg-gray-700" />
14
+ <div class="w-full h-80 bg-gray-200 rounded-t-lg dark:bg-gray-700" />
15
+ </div>
16
+ <span class="sr-only">Loading...</span>
17
+ </div>
@@ -0,0 +1,19 @@
1
+ /** @typedef {typeof __propDef.props} WidgetPlaceholderProps */
2
+ /** @typedef {typeof __propDef.events} WidgetPlaceholderEvents */
3
+ /** @typedef {typeof __propDef.slots} WidgetPlaceholderSlots */
4
+ export default class WidgetPlaceholder extends SvelteComponentTyped<{}, {
5
+ [evt: string]: CustomEvent<any>;
6
+ }, {}> {
7
+ }
8
+ export type WidgetPlaceholderProps = typeof __propDef.props;
9
+ export type WidgetPlaceholderEvents = typeof __propDef.events;
10
+ export type WidgetPlaceholderSlots = typeof __propDef.slots;
11
+ import { SvelteComponentTyped } from "svelte";
12
+ declare const __propDef: {
13
+ props: {};
14
+ events: {
15
+ [evt: string]: CustomEvent<any>;
16
+ };
17
+ slots: {};
18
+ };
19
+ export {};