flowbite-svelte 0.21.5 → 0.21.8

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 (47) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/forms/FloatingLabelInput.svelte +1 -2
  3. package/forms/FloatingLabelInput.svelte.d.ts +0 -1
  4. package/forms/Radio.svelte +1 -1
  5. package/forms/Range.svelte +1 -1
  6. package/forms/Search.svelte +14 -2
  7. package/forms/Select.svelte +1 -1
  8. package/forms/SimpleSearch.svelte +1 -1
  9. package/forms/VoiceSearch.svelte +1 -1
  10. package/index.d.ts +13 -0
  11. package/index.js +15 -0
  12. package/kbd/ArrowKeyDown.svelte +15 -0
  13. package/kbd/ArrowKeyDown.svelte.d.ts +17 -0
  14. package/kbd/ArrowKeyLeft.svelte +15 -0
  15. package/kbd/ArrowKeyLeft.svelte.d.ts +17 -0
  16. package/kbd/ArrowKeyRight.svelte +15 -0
  17. package/kbd/ArrowKeyRight.svelte.d.ts +17 -0
  18. package/kbd/ArrowKeyUp.svelte +15 -0
  19. package/kbd/ArrowKeyUp.svelte.d.ts +17 -0
  20. package/kbd/Kbd.svelte +7 -0
  21. package/kbd/Kbd.svelte.d.ts +19 -0
  22. package/package.json +14 -1
  23. package/sidebars/Sidebar.svelte +1 -1
  24. package/sidebars/SidebarBrand.svelte +1 -1
  25. package/sidebars/SidebarCta.svelte +1 -1
  26. package/sidebars/SidebarDropdownItem.svelte +1 -1
  27. package/sidebars/SidebarDropdownWrapper.svelte +1 -1
  28. package/sidebars/SidebarGroup.svelte +1 -1
  29. package/sidebars/SidebarItem.svelte +1 -2
  30. package/sidebars/SidebarItem.svelte.d.ts +0 -1
  31. package/sidebars/SidebarWrapper.svelte +1 -1
  32. package/skeleton/CardPlaceholder.svelte +40 -0
  33. package/skeleton/CardPlaceholder.svelte.d.ts +19 -0
  34. package/skeleton/ImagePlaceholder.svelte +28 -0
  35. package/skeleton/ImagePlaceholder.svelte.d.ts +19 -0
  36. package/skeleton/ListPlaceholder.svelte +41 -0
  37. package/skeleton/ListPlaceholder.svelte.d.ts +19 -0
  38. package/skeleton/Skeleton.svelte +9 -0
  39. package/skeleton/Skeleton.svelte.d.ts +19 -0
  40. package/skeleton/TestimonialPlaceholder.svelte +21 -0
  41. package/skeleton/TestimonialPlaceholder.svelte.d.ts +19 -0
  42. package/skeleton/TextPlaceholder.svelte +33 -0
  43. package/skeleton/TextPlaceholder.svelte.d.ts +19 -0
  44. package/skeleton/VideoPlaceholder.svelte +16 -0
  45. package/skeleton/VideoPlaceholder.svelte.d.ts +19 -0
  46. package/skeleton/WidgetPlaceholder.svelte +17 -0
  47. package/skeleton/WidgetPlaceholder.svelte.d.ts +19 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
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.8](https://github.com/themesberg/flowbite-svelte/compare/v0.21.7...v0.21.8) (2022-07-17)
6
+
7
+
8
+ ### Features
9
+
10
+ * add skeleton components and page ([cf1f421](https://github.com/themesberg/flowbite-svelte/commit/cf1f421964a7122c77cf2b27615f4837ec3cf687))
11
+
12
+ ### [0.21.7](https://github.com/themesberg/flowbite-svelte/compare/v0.21.6...v0.21.7) (2022-07-17)
13
+
14
+
15
+ ### Features
16
+
17
+ * add kbd component and page ([66c1f2e](https://github.com/themesberg/flowbite-svelte/commit/66c1f2ec9c516da147c7eca9e8cb11c3eea2e1e2))
18
+
19
+ ### [0.21.6](https://github.com/themesberg/flowbite-svelte/compare/v0.21.5...v0.21.6) (2022-07-16)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * links in form index ([1149aa2](https://github.com/themesberg/flowbite-svelte/commit/1149aa2f7411ceb9a3e29ce3c6c3d446634f09a9))
25
+ * sidebars and forms {...$$restProps} position updates ([d983225](https://github.com/themesberg/flowbite-svelte/commit/d983225a4e4c7526bf7bee3a7cd51ecc6035bba8))
26
+
5
27
  ### [0.21.5](https://github.com/themesberg/flowbite-svelte/compare/v0.21.4...v0.21.5) (2022-07-16)
6
28
 
7
29
 
@@ -3,7 +3,6 @@ export let id = generateId();
3
3
  export let type;
4
4
  export let value = '';
5
5
  export let label = '';
6
- export let required = false;
7
6
  export let divClass = 'relative z-0 mb-6 w-full group';
8
7
  export let inputClass = 'block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer';
9
8
  export let labelClass = 'absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:left-0 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6';
@@ -13,6 +12,6 @@ function setType(node) {
13
12
  </script>
14
13
 
15
14
  <div class={divClass}>
16
- <input bind:value use:setType class={inputClass} placeholder=" " {...$$restProps} />
15
+ <input {...$$restProps} bind:value use:setType class={inputClass} placeholder=" " />
17
16
  <label for={id} class={labelClass}>{label}</label>
18
17
  </div>
@@ -7,7 +7,6 @@ declare const __propDef: {
7
7
  type: InputType;
8
8
  value?: string;
9
9
  label?: string;
10
- required?: boolean;
11
10
  divClass?: string;
12
11
  inputClass?: string;
13
12
  labelClass?: string;
@@ -42,6 +42,7 @@ else {
42
42
  <div class="flex">
43
43
  <div class={divHelperClass}>
44
44
  <input
45
+ {...$$restProps}
45
46
  bind:group
46
47
  {id}
47
48
  type="radio"
@@ -51,7 +52,6 @@ else {
51
52
  aria-labelledby={id}
52
53
  aria-describedby={id}
53
54
  {disabled}
54
- {...$$restProps}
55
55
  />
56
56
  </div>
57
57
  <div class="ml-2 text-sm">
@@ -17,6 +17,7 @@ else {
17
17
  </script>
18
18
 
19
19
  <input
20
+ {...$$restProps}
20
21
  {id}
21
22
  name={id}
22
23
  type="range"
@@ -25,5 +26,4 @@ else {
25
26
  bind:value
26
27
  {step}
27
28
  class={inputClass}
28
- {...$$restProps}
29
29
  />
@@ -9,9 +9,21 @@ export let placeholder = 'Search';
9
9
  <label for={id} class={labelClass}>Search</label>
10
10
  <div class="relative">
11
11
  <div class="flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none">
12
- <svg class="w-5 h-5 text-gray-500 dark:text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" /></svg>
12
+ <svg
13
+ class="w-5 h-5 text-gray-500 dark:text-gray-400"
14
+ fill="none"
15
+ stroke="currentColor"
16
+ viewBox="0 0 24 24"
17
+ xmlns="http://www.w3.org/2000/svg"
18
+ ><path
19
+ stroke-linecap="round"
20
+ stroke-linejoin="round"
21
+ stroke-width="2"
22
+ d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
23
+ /></svg
24
+ >
13
25
  </div>
14
- <input type="search" {id} class={inputClass} {placeholder} {...$$restProps} />
26
+ <input {...$$restProps} type="search" {id} class={inputClass} {placeholder} />
15
27
  <button type="submit" class={btnClass}>Search</button>
16
28
  </div>
17
29
  </form>
@@ -2,6 +2,6 @@
2
2
  export let selectClass = 'bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500';
3
3
  </script>
4
4
 
5
- <select bind:value class={selectClass} {...$$restProps} on:change>
5
+ <select {...$$restProps} bind:value class={selectClass} on:change>
6
6
  <slot />
7
7
  </select>
@@ -23,7 +23,7 @@ export let placeholder = 'Search';
23
23
  /></svg
24
24
  >
25
25
  </div>
26
- <input type="text" {id} class={inputClass} {placeholder} {...$$restProps} />
26
+ <input {...$$restProps} type="text" {id} class={inputClass} {placeholder} />
27
27
  </div>
28
28
  <button type="submit" class={btnClass}
29
29
  ><svg
@@ -30,7 +30,7 @@ const handleVoiceBtn = () => {
30
30
  /></svg
31
31
  >
32
32
  </div>
33
- <input type="text" {id} class={inputClass} {placeholder} {...$$restProps} />
33
+ <input {...$$restProps} type="text" {id} class={inputClass} {placeholder} />
34
34
  <button type="button" class={voiceBtnClass} on:click={handleVoiceBtn}>
35
35
  <svg
36
36
  class={voiceIconClass}
package/index.d.ts CHANGED
@@ -44,6 +44,11 @@ export { default as VoiceSearch } from './forms/VoiceSearch.svelte';
44
44
  export { default as Select } from './forms/Select.svelte';
45
45
  export { default as Textarea } from './forms/Textarea.svelte';
46
46
  export { default as Toggle } from './forms/Toggle.svelte';
47
+ export { default as Kbd } from './kbd/Kbd.svelte';
48
+ export { default as ArrowKeyDown } from './kbd/ArrowKeyDown.svelte';
49
+ export { default as ArrowKeyLeft } from './kbd/ArrowKeyLeft.svelte';
50
+ export { default as ArrowKeyRight } from './kbd/ArrowKeyRight.svelte';
51
+ export { default as ArrowKeyUp } from './kbd/ArrowKeyUp.svelte';
47
52
  export { default as List } from './list-group/List.svelte';
48
53
  export { modalIdStore } from './modals/modalStores.js';
49
54
  export { default as ExtraLargeModal } from './modals/ExtraLargeModal.svelte';
@@ -74,6 +79,14 @@ export { default as SidebarDropdownItem } from './sidebars/SidebarDropdownItem.s
74
79
  export { default as SidebarDropdownWrapper } from './sidebars/SidebarDropdownWrapper.svelte';
75
80
  export { default as SidebarGroup } from './sidebars/SidebarGroup.svelte';
76
81
  export { default as SidebarWrapper } from './sidebars/SidebarWrapper.svelte';
82
+ export { default as CardPlaceholder } from './skeleton/CardPlaceholder.svelte';
83
+ export { default as ImagePlaceholder } from './skeleton/ImagePlaceholder.svelte';
84
+ export { default as ListPlaceholder } from './skeleton/ListPlaceholder.svelte';
85
+ export { default as Skeleton } from './skeleton/Skeleton.svelte';
86
+ export { default as TestimonialPlaceholder } from './skeleton/TestimonialPlaceholder.svelte';
87
+ export { default as TextPlaceholder } from './skeleton/TextPlaceholder.svelte';
88
+ export { default as VideoPlaceholder } from './skeleton/VideoPlaceholder.svelte';
89
+ export { default as WidgetPlaceholder } from './skeleton/WidgetPlaceholder.svelte';
77
90
  export { default as Spinner } from './spinners/Spinner.svelte';
78
91
  export { default as Table } from './tables/Table.svelte';
79
92
  export { default as TableBody } from './tables/TableBody.svelte';
package/index.js CHANGED
@@ -57,6 +57,12 @@ export { default as VoiceSearch } from './forms/VoiceSearch.svelte';
57
57
  export { default as Select } from './forms/Select.svelte';
58
58
  export { default as Textarea } from './forms/Textarea.svelte';
59
59
  export { default as Toggle } from './forms/Toggle.svelte';
60
+ // Kbd
61
+ export { default as Kbd } from './kbd/Kbd.svelte';
62
+ export { default as ArrowKeyDown } from './kbd/ArrowKeyDown.svelte';
63
+ export { default as ArrowKeyLeft } from './kbd/ArrowKeyLeft.svelte';
64
+ export { default as ArrowKeyRight } from './kbd/ArrowKeyRight.svelte';
65
+ export { default as ArrowKeyUp } from './kbd/ArrowKeyUp.svelte';
60
66
  // List
61
67
  export { default as List } from './list-group/List.svelte';
62
68
  // Modals
@@ -94,6 +100,15 @@ export { default as SidebarDropdownItem } from './sidebars/SidebarDropdownItem.s
94
100
  export { default as SidebarDropdownWrapper } from './sidebars/SidebarDropdownWrapper.svelte';
95
101
  export { default as SidebarGroup } from './sidebars/SidebarGroup.svelte';
96
102
  export { default as SidebarWrapper } from './sidebars/SidebarWrapper.svelte';
103
+ // Skeleton
104
+ export { default as CardPlaceholder } from './skeleton/CardPlaceholder.svelte';
105
+ export { default as ImagePlaceholder } from './skeleton/ImagePlaceholder.svelte';
106
+ export { default as ListPlaceholder } from './skeleton/ListPlaceholder.svelte';
107
+ export { default as Skeleton } from './skeleton/Skeleton.svelte';
108
+ export { default as TestimonialPlaceholder } from './skeleton/TestimonialPlaceholder.svelte';
109
+ export { default as TextPlaceholder } from './skeleton/TextPlaceholder.svelte';
110
+ export { default as VideoPlaceholder } from './skeleton/VideoPlaceholder.svelte';
111
+ export { default as WidgetPlaceholder } from './skeleton/WidgetPlaceholder.svelte';
97
112
  // Spin
98
113
  export { default as Spinner } from './spinners/Spinner.svelte';
99
114
  // Tables
@@ -0,0 +1,15 @@
1
+ <script>import classNames from 'classnames';
2
+ export let svgClass = 'w-4 h-4';
3
+ </script>
4
+
5
+ <svg
6
+ {...$$restProps}
7
+ class={classNames(svgClass, $$props.class)}
8
+ aria-hidden="true"
9
+ fill="currentColor"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ viewBox="0 0 320 512"
12
+ ><path
13
+ d="M310.6 246.6l-127.1 128C176.4 380.9 168.2 384 160 384s-16.38-3.125-22.63-9.375l-127.1-128C.2244 237.5-2.516 223.7 2.438 211.8S19.07 192 32 192h255.1c12.94 0 24.62 7.781 29.58 19.75S319.8 237.5 310.6 246.6z"
14
+ /></svg
15
+ >
@@ -0,0 +1,17 @@
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ [x: string]: any;
5
+ svgClass?: string;
6
+ };
7
+ events: {
8
+ [evt: string]: CustomEvent<any>;
9
+ };
10
+ slots: {};
11
+ };
12
+ export declare type ArrowKeyDownProps = typeof __propDef.props;
13
+ export declare type ArrowKeyDownEvents = typeof __propDef.events;
14
+ export declare type ArrowKeyDownSlots = typeof __propDef.slots;
15
+ export default class ArrowKeyDown extends SvelteComponentTyped<ArrowKeyDownProps, ArrowKeyDownEvents, ArrowKeyDownSlots> {
16
+ }
17
+ export {};
@@ -0,0 +1,15 @@
1
+ <script>import classNames from 'classnames';
2
+ export let svgClass = 'w-4 h-4';
3
+ </script>
4
+
5
+ <svg
6
+ {...$$restProps}
7
+ class={classNames(svgClass, $$props.class)}
8
+ aria-hidden="true"
9
+ fill="currentColor"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ viewBox="0 0 320 512"
12
+ ><path
13
+ d="M137.4 406.6l-128-127.1C3.125 272.4 0 264.2 0 255.1s3.125-16.38 9.375-22.63l128-127.1c9.156-9.156 22.91-11.9 34.88-6.943S192 115.1 192 128v255.1c0 12.94-7.781 24.62-19.75 29.58S146.5 415.8 137.4 406.6z"
14
+ /></svg
15
+ >
@@ -0,0 +1,17 @@
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ [x: string]: any;
5
+ svgClass?: string;
6
+ };
7
+ events: {
8
+ [evt: string]: CustomEvent<any>;
9
+ };
10
+ slots: {};
11
+ };
12
+ export declare type ArrowKeyLeftProps = typeof __propDef.props;
13
+ export declare type ArrowKeyLeftEvents = typeof __propDef.events;
14
+ export declare type ArrowKeyLeftSlots = typeof __propDef.slots;
15
+ export default class ArrowKeyLeft extends SvelteComponentTyped<ArrowKeyLeftProps, ArrowKeyLeftEvents, ArrowKeyLeftSlots> {
16
+ }
17
+ export {};
@@ -0,0 +1,15 @@
1
+ <script>import classNames from 'classnames';
2
+ export let svgClass = 'w-4 h-4';
3
+ </script>
4
+
5
+ <svg
6
+ {...$$restProps}
7
+ class={classNames(svgClass, $$props.class)}
8
+ aria-hidden="true"
9
+ fill="currentColor"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ viewBox="0 0 320 512"
12
+ ><path
13
+ d="M118.6 105.4l128 127.1C252.9 239.6 256 247.8 256 255.1s-3.125 16.38-9.375 22.63l-128 127.1c-9.156 9.156-22.91 11.9-34.88 6.943S64 396.9 64 383.1V128c0-12.94 7.781-24.62 19.75-29.58S109.5 96.23 118.6 105.4z"
14
+ /></svg
15
+ >
@@ -0,0 +1,17 @@
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ [x: string]: any;
5
+ svgClass?: string;
6
+ };
7
+ events: {
8
+ [evt: string]: CustomEvent<any>;
9
+ };
10
+ slots: {};
11
+ };
12
+ export declare type ArrowKeyRightProps = typeof __propDef.props;
13
+ export declare type ArrowKeyRightEvents = typeof __propDef.events;
14
+ export declare type ArrowKeyRightSlots = typeof __propDef.slots;
15
+ export default class ArrowKeyRight extends SvelteComponentTyped<ArrowKeyRightProps, ArrowKeyRightEvents, ArrowKeyRightSlots> {
16
+ }
17
+ export {};
@@ -0,0 +1,15 @@
1
+ <script>import classNames from 'classnames';
2
+ export let svgClass = 'w-4 h-4';
3
+ </script>
4
+
5
+ <svg
6
+ {...$$restProps}
7
+ class={classNames(svgClass, $$props.class)}
8
+ aria-hidden="true"
9
+ fill="currentColor"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ viewBox="0 0 320 512"
12
+ ><path
13
+ d="M9.39 265.4l127.1-128C143.6 131.1 151.8 128 160 128s16.38 3.125 22.63 9.375l127.1 128c9.156 9.156 11.9 22.91 6.943 34.88S300.9 320 287.1 320H32.01c-12.94 0-24.62-7.781-29.58-19.75S.2333 274.5 9.39 265.4z"
14
+ /></svg
15
+ >
@@ -0,0 +1,17 @@
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ [x: string]: any;
5
+ svgClass?: string;
6
+ };
7
+ events: {
8
+ [evt: string]: CustomEvent<any>;
9
+ };
10
+ slots: {};
11
+ };
12
+ export declare type ArrowKeyUpProps = typeof __propDef.props;
13
+ export declare type ArrowKeyUpEvents = typeof __propDef.events;
14
+ export declare type ArrowKeyUpSlots = typeof __propDef.slots;
15
+ export default class ArrowKeyUp extends SvelteComponentTyped<ArrowKeyUpProps, ArrowKeyUpEvents, ArrowKeyUpSlots> {
16
+ }
17
+ export {};
package/kbd/Kbd.svelte ADDED
@@ -0,0 +1,7 @@
1
+ <script>import classNames from 'classnames';
2
+ export let kbdClass = 'text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500';
3
+ </script>
4
+
5
+ <kbd class={classNames(kbdClass, $$props.class)}>
6
+ <slot />
7
+ </kbd>
@@ -0,0 +1,19 @@
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ [x: string]: any;
5
+ kbdClass?: string;
6
+ };
7
+ events: {
8
+ [evt: string]: CustomEvent<any>;
9
+ };
10
+ slots: {
11
+ default: {};
12
+ };
13
+ };
14
+ export declare type KbdProps = typeof __propDef.props;
15
+ export declare type KbdEvents = typeof __propDef.events;
16
+ export declare type KbdSlots = typeof __propDef.slots;
17
+ export default class Kbd extends SvelteComponentTyped<KbdProps, KbdEvents, KbdSlots> {
18
+ }
19
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.21.5",
3
+ "version": "0.21.8",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "main": "index.js",
6
6
  "author": {
@@ -151,6 +151,11 @@
151
151
  "./forms/Toggle.svelte": "./forms/Toggle.svelte",
152
152
  "./forms/VoiceSearch.svelte": "./forms/VoiceSearch.svelte",
153
153
  ".": "./index.js",
154
+ "./kbd/ArrowKeyDown.svelte": "./kbd/ArrowKeyDown.svelte",
155
+ "./kbd/ArrowKeyLeft.svelte": "./kbd/ArrowKeyLeft.svelte",
156
+ "./kbd/ArrowKeyRight.svelte": "./kbd/ArrowKeyRight.svelte",
157
+ "./kbd/ArrowKeyUp.svelte": "./kbd/ArrowKeyUp.svelte",
158
+ "./kbd/Kbd.svelte": "./kbd/Kbd.svelte",
154
159
  "./list-group/List.svelte": "./list-group/List.svelte",
155
160
  "./modals/ExtraLargeModal.svelte": "./modals/ExtraLargeModal.svelte",
156
161
  "./modals/LargeModal.svelte": "./modals/LargeModal.svelte",
@@ -183,6 +188,14 @@
183
188
  "./sidebars/SidebarGroup.svelte": "./sidebars/SidebarGroup.svelte",
184
189
  "./sidebars/SidebarItem.svelte": "./sidebars/SidebarItem.svelte",
185
190
  "./sidebars/SidebarWrapper.svelte": "./sidebars/SidebarWrapper.svelte",
191
+ "./skeleton/CardPlaceholder.svelte": "./skeleton/CardPlaceholder.svelte",
192
+ "./skeleton/ImagePlaceholder.svelte": "./skeleton/ImagePlaceholder.svelte",
193
+ "./skeleton/ListPlaceholder.svelte": "./skeleton/ListPlaceholder.svelte",
194
+ "./skeleton/Skeleton.svelte": "./skeleton/Skeleton.svelte",
195
+ "./skeleton/TestimonialPlaceholder.svelte": "./skeleton/TestimonialPlaceholder.svelte",
196
+ "./skeleton/TextPlaceholder.svelte": "./skeleton/TextPlaceholder.svelte",
197
+ "./skeleton/VideoPlaceholder.svelte": "./skeleton/VideoPlaceholder.svelte",
198
+ "./skeleton/WidgetPlaceholder.svelte": "./skeleton/WidgetPlaceholder.svelte",
186
199
  "./spinners/Spinner.svelte": "./spinners/Spinner.svelte",
187
200
  "./tables/Table.svelte": "./tables/Table.svelte",
188
201
  "./tables/TableBody.svelte": "./tables/TableBody.svelte",
@@ -2,6 +2,6 @@
2
2
  export let asideClass = 'w-64';
3
3
  </script>
4
4
 
5
- <aside class={classNames(asideClass, $$props.class)} {...$$restProps} aria-label="Sidebar">
5
+ <aside {...$$restProps} class={classNames(asideClass, $$props.class)} aria-label="Sidebar">
6
6
  <slot />
7
7
  </aside>
@@ -5,7 +5,7 @@ export let imgClass = 'h-6 mr-3 sm:h-7';
5
5
  export let spanClass = 'self-center text-xl font-semibold whitespace-nowrap dark:text-white';
6
6
  </script>
7
7
 
8
- <a href={site.href} class={classNames(aClass, $$props.class)} {...$$restProps}>
8
+ <a {...$$restProps} href={site.href} class={classNames(aClass, $$props.class)}>
9
9
  <img src={site.img} class={imgClass} alt={site.name} />
10
10
  <span class={spanClass}>{site.name}</span>
11
11
  </a>
@@ -6,9 +6,9 @@ export let label = '';
6
6
  </script>
7
7
 
8
8
  <div
9
+ {...$$restProps}
9
10
  id="dropdown-cta"
10
11
  class={classNames(divWrapperClass, $$props.class)}
11
- {...$$restProps}
12
12
  role="alert"
13
13
  >
14
14
  <div class={divClass}>
@@ -5,5 +5,5 @@ export let label = '';
5
5
  </script>
6
6
 
7
7
  <li>
8
- <a {href} class={classNames(aClass, $$props.class)} {...$$restProps}>{label}</a>
8
+ <a {...$$restProps} {href} class={classNames(aClass, $$props.class)}>{label}</a>
9
9
  </li>
@@ -15,10 +15,10 @@ const handleDropdown = () => {
15
15
 
16
16
  <li>
17
17
  <button
18
+ {...$$restProps}
18
19
  on:click={() => handleDropdown()}
19
20
  type="button"
20
21
  class={classNames(btnClass, $$props.class)}
21
- {...$$restProps}
22
22
  aria-controls="sidebar-dropdown"
23
23
  >
24
24
  <svelte:component
@@ -7,6 +7,6 @@ if (border) {
7
7
  }
8
8
  </script>
9
9
 
10
- <ul class={classNames(ulClass, $$props.class)} {...$$restProps}>
10
+ <ul {...$$restProps} class={classNames(ulClass, $$props.class)}>
11
11
  <slot />
12
12
  </ul>
@@ -1,14 +1,13 @@
1
1
  <script>import classNames from 'classnames';
2
2
  export let aClass = 'flex items-center p-2 text-base font-normal text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700';
3
3
  export let href = '';
4
- export let rel = '';
5
4
  export let label = '';
6
5
  export let spanClass = 'ml-3';
7
6
  export let icon;
8
7
  </script>
9
8
 
10
9
  <li>
11
- <a {href} {rel} class={classNames(aClass, $$props.class)} {...$$restProps}>
10
+ <a {...$$restProps} {href} class={classNames(aClass, $$props.class)}>
12
11
  <svelte:component
13
12
  this={icon.name}
14
13
  size={icon.size}
@@ -5,7 +5,6 @@ declare const __propDef: {
5
5
  [x: string]: any;
6
6
  aClass?: string;
7
7
  href?: string;
8
- rel?: string;
9
8
  label?: string;
10
9
  spanClass?: string;
11
10
  icon: IconType;
@@ -2,6 +2,6 @@
2
2
  export let divClass = 'overflow-y-auto py-4 px-3 bg-gray-50 rounded dark:bg-gray-800';
3
3
  </script>
4
4
 
5
- <div class={classNames(divClass, $$props.class)} {...$$restProps}>
5
+ <div {...$$restProps} class={classNames(divClass, $$props.class)}>
6
6
  <slot />
7
7
  </div>
@@ -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 {};