flowbite-svelte 0.24.10 → 0.24.11
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 +7 -0
- package/footer/FooterCopyright.svelte +1 -1
- package/package.json +1 -1
- package/skeleton/CardPlaceholder.svelte +4 -5
- package/skeleton/CardPlaceholder.svelte.d.ts +2 -0
- package/skeleton/ImagePlaceholder.svelte +4 -5
- package/skeleton/ImagePlaceholder.svelte.d.ts +2 -0
- package/skeleton/ListPlaceholder.svelte +5 -4
- package/skeleton/ListPlaceholder.svelte.d.ts +9 -11
- package/skeleton/Skeleton.svelte +5 -1
- package/skeleton/Skeleton.svelte.d.ts +9 -11
- package/skeleton/TestimonialPlaceholder.svelte +5 -1
- package/skeleton/TestimonialPlaceholder.svelte.d.ts +9 -11
- package/skeleton/TextPlaceholder.svelte +5 -1
- package/skeleton/TextPlaceholder.svelte.d.ts +9 -11
- package/skeleton/VideoPlaceholder.svelte +4 -5
- package/skeleton/VideoPlaceholder.svelte.d.ts +2 -0
- package/skeleton/WidgetPlaceholder.svelte +6 -4
- package/skeleton/WidgetPlaceholder.svelte.d.ts +10 -11
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.24.11](https://github.com/themesberg/flowbite-svelte/compare/v0.24.10...v0.24.11) (2022-08-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add sticky footer, add $$props.class to all skeleton components ([1fad8dc](https://github.com/themesberg/flowbite-svelte/commit/1fad8dc9d8c0bc1428daeada82f44accc5f7e9a0))
|
|
11
|
+
|
|
5
12
|
### [0.24.10](https://github.com/themesberg/flowbite-svelte/compare/v0.24.9...v0.24.10) (2022-08-15)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import classNames from 'classnames';
|
|
2
|
-
export let spanClass = 'text-sm text-gray-500 sm:text-center dark:text-gray-400';
|
|
2
|
+
export let spanClass = 'block text-sm text-gray-500 sm:text-center dark:text-gray-400';
|
|
3
3
|
export let aClass = 'hover:underline';
|
|
4
4
|
export let year = new Date().getFullYear();
|
|
5
5
|
export let href = '';
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
<script>
|
|
1
|
+
<script>import classNames from 'classnames';
|
|
2
|
+
export let divClass = 'p-4 max-w-sm rounded border border-gray-200 shadow animate-pulse md:p-6 dark:border-gray-700';
|
|
3
|
+
export let size = '48';
|
|
2
4
|
</script>
|
|
3
5
|
|
|
4
|
-
<div
|
|
5
|
-
role="status"
|
|
6
|
-
class="p-4 max-w-sm rounded border border-gray-200 shadow animate-pulse md:p-6 dark:border-gray-700"
|
|
7
|
-
>
|
|
6
|
+
<div role="status" class={classNames(divClass, $$props.class)}>
|
|
8
7
|
<div class="flex justify-center items-center mb-4 h-48 bg-gray-300 rounded dark:bg-gray-700">
|
|
9
8
|
<svg
|
|
10
9
|
width={size}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
<script>
|
|
1
|
+
<script>import classNames from 'classnames';
|
|
2
|
+
export let divClass = 'space-y-8 animate-pulse md:space-y-0 md:space-x-8 md:flex md:items-center';
|
|
3
|
+
export let size = '48';
|
|
2
4
|
</script>
|
|
3
5
|
|
|
4
|
-
<div
|
|
5
|
-
role="status"
|
|
6
|
-
class="space-y-8 animate-pulse md:space-y-0 md:space-x-8 md:flex md:items-center"
|
|
7
|
-
>
|
|
6
|
+
<div role="status" class={classNames(divClass, $$props.class)}>
|
|
8
7
|
<div
|
|
9
8
|
class="flex justify-center items-center w-full h-48 bg-gray-300 rounded sm:w-96 dark:bg-gray-700"
|
|
10
9
|
>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<script>import classNames from 'classnames';
|
|
2
|
+
export let divClass = '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';
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<div role="status" class={classNames(divClass, $$props.class)}>
|
|
5
6
|
<div class="flex justify-between items-center">
|
|
6
7
|
<div>
|
|
7
8
|
<div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-2.5" />
|
|
@@ -1,19 +1,17 @@
|
|
|
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
1
|
import { SvelteComponentTyped } from "svelte";
|
|
12
2
|
declare const __propDef: {
|
|
13
|
-
props: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
divClass?: string;
|
|
6
|
+
};
|
|
14
7
|
events: {
|
|
15
8
|
[evt: string]: CustomEvent<any>;
|
|
16
9
|
};
|
|
17
10
|
slots: {};
|
|
18
11
|
};
|
|
12
|
+
export declare type ListPlaceholderProps = typeof __propDef.props;
|
|
13
|
+
export declare type ListPlaceholderEvents = typeof __propDef.events;
|
|
14
|
+
export declare type ListPlaceholderSlots = typeof __propDef.slots;
|
|
15
|
+
export default class ListPlaceholder extends SvelteComponentTyped<ListPlaceholderProps, ListPlaceholderEvents, ListPlaceholderSlots> {
|
|
16
|
+
}
|
|
19
17
|
export {};
|
package/skeleton/Skeleton.svelte
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
<
|
|
1
|
+
<script>import classNames from 'classnames';
|
|
2
|
+
export let divClass = 'max-w-sm animate-pulse';
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<div role="status" class={classNames(divClass, $$props.class)}>
|
|
2
6
|
<div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-48 mb-4" />
|
|
3
7
|
<div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[360px] mb-2.5" />
|
|
4
8
|
<div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5" />
|
|
@@ -1,19 +1,17 @@
|
|
|
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
1
|
import { SvelteComponentTyped } from "svelte";
|
|
12
2
|
declare const __propDef: {
|
|
13
|
-
props: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
divClass?: string;
|
|
6
|
+
};
|
|
14
7
|
events: {
|
|
15
8
|
[evt: string]: CustomEvent<any>;
|
|
16
9
|
};
|
|
17
10
|
slots: {};
|
|
18
11
|
};
|
|
12
|
+
export declare type SkeletonProps = typeof __propDef.props;
|
|
13
|
+
export declare type SkeletonEvents = typeof __propDef.events;
|
|
14
|
+
export declare type SkeletonSlots = typeof __propDef.slots;
|
|
15
|
+
export default class Skeleton extends SvelteComponentTyped<SkeletonProps, SkeletonEvents, SkeletonSlots> {
|
|
16
|
+
}
|
|
19
17
|
export {};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
<
|
|
1
|
+
<script>import classNames from 'classnames';
|
|
2
|
+
export let divClass = 'animate-pulse';
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<div role="status" class={classNames(divClass, $$props.class)}>
|
|
2
6
|
<div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 max-w-[640px] mb-2.5 mx-auto" />
|
|
3
7
|
<div class="h-2.5 mx-auto bg-gray-300 rounded-full dark:bg-gray-700 max-w-[540px]" />
|
|
4
8
|
<div class="flex justify-center items-center mt-4">
|
|
@@ -1,19 +1,17 @@
|
|
|
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
1
|
import { SvelteComponentTyped } from "svelte";
|
|
12
2
|
declare const __propDef: {
|
|
13
|
-
props: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
divClass?: string;
|
|
6
|
+
};
|
|
14
7
|
events: {
|
|
15
8
|
[evt: string]: CustomEvent<any>;
|
|
16
9
|
};
|
|
17
10
|
slots: {};
|
|
18
11
|
};
|
|
12
|
+
export declare type TestimonialPlaceholderProps = typeof __propDef.props;
|
|
13
|
+
export declare type TestimonialPlaceholderEvents = typeof __propDef.events;
|
|
14
|
+
export declare type TestimonialPlaceholderSlots = typeof __propDef.slots;
|
|
15
|
+
export default class TestimonialPlaceholder extends SvelteComponentTyped<TestimonialPlaceholderProps, TestimonialPlaceholderEvents, TestimonialPlaceholderSlots> {
|
|
16
|
+
}
|
|
19
17
|
export {};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
<
|
|
1
|
+
<script>import classNames from 'classnames';
|
|
2
|
+
export let divClass = 'space-y-2.5 animate-pulse max-w-lg';
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<div role="status" class={classNames(divClass, $$props.class)}>
|
|
2
6
|
<div class="flex items-center space-x-2 w-full">
|
|
3
7
|
<div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-32" />
|
|
4
8
|
<div class="h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24" />
|
|
@@ -1,19 +1,17 @@
|
|
|
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
1
|
import { SvelteComponentTyped } from "svelte";
|
|
12
2
|
declare const __propDef: {
|
|
13
|
-
props: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
divClass?: string;
|
|
6
|
+
};
|
|
14
7
|
events: {
|
|
15
8
|
[evt: string]: CustomEvent<any>;
|
|
16
9
|
};
|
|
17
10
|
slots: {};
|
|
18
11
|
};
|
|
12
|
+
export declare type TextPlaceholderProps = typeof __propDef.props;
|
|
13
|
+
export declare type TextPlaceholderEvents = typeof __propDef.events;
|
|
14
|
+
export declare type TextPlaceholderSlots = typeof __propDef.slots;
|
|
15
|
+
export default class TextPlaceholder extends SvelteComponentTyped<TextPlaceholderProps, TextPlaceholderEvents, TextPlaceholderSlots> {
|
|
16
|
+
}
|
|
19
17
|
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
<script>
|
|
1
|
+
<script>import classNames from 'classnames';
|
|
2
|
+
export let divClass = 'flex justify-center items-center max-w-sm h-56 bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700';
|
|
3
|
+
export let size = '48';
|
|
2
4
|
</script>
|
|
3
5
|
|
|
4
|
-
<div
|
|
5
|
-
role="status"
|
|
6
|
-
class="flex justify-center items-center max-w-sm h-56 bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700"
|
|
7
|
-
>
|
|
6
|
+
<div role="status" class={classNames(divClass, $$props.class)}>
|
|
8
7
|
<svg
|
|
9
8
|
width={size}
|
|
10
9
|
height={size}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
>
|
|
1
|
+
<script>import classNames from 'classnames';
|
|
2
|
+
export let divClass = 'p-4 max-w-sm rounded border border-gray-200 shadow animate-pulse md:p-6 dark:border-gray-700';
|
|
3
|
+
export let size = '48';
|
|
4
|
+
</script>
|
|
5
|
+
|
|
6
|
+
<div role="status" class={classNames(divClass, $$props.class)}>
|
|
5
7
|
<div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-32 mb-2.5" />
|
|
6
8
|
<div class="mb-10 w-48 h-2 bg-gray-200 rounded-full dark:bg-gray-700" />
|
|
7
9
|
<div class="flex items-baseline mt-4 space-x-6">
|
|
@@ -1,19 +1,18 @@
|
|
|
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
1
|
import { SvelteComponentTyped } from "svelte";
|
|
12
2
|
declare const __propDef: {
|
|
13
|
-
props: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
divClass?: string;
|
|
6
|
+
size?: string;
|
|
7
|
+
};
|
|
14
8
|
events: {
|
|
15
9
|
[evt: string]: CustomEvent<any>;
|
|
16
10
|
};
|
|
17
11
|
slots: {};
|
|
18
12
|
};
|
|
13
|
+
export declare type WidgetPlaceholderProps = typeof __propDef.props;
|
|
14
|
+
export declare type WidgetPlaceholderEvents = typeof __propDef.events;
|
|
15
|
+
export declare type WidgetPlaceholderSlots = typeof __propDef.slots;
|
|
16
|
+
export default class WidgetPlaceholder extends SvelteComponentTyped<WidgetPlaceholderProps, WidgetPlaceholderEvents, WidgetPlaceholderSlots> {
|
|
17
|
+
}
|
|
19
18
|
export {};
|