flowbite-svelte 0.27.11 → 0.27.12
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 +8 -0
- package/list-group/Listgroup.svelte +1 -1
- package/modals/Modal.svelte +1 -1
- package/navbar/NavUl.svelte +10 -10
- package/navbar/Navbar.svelte +3 -3
- package/navbar/Navbar.svelte.d.ts +1 -1
- package/package.json +1 -1
- package/toasts/Toast.svelte.d.ts +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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.27.12](https://github.com/themesberg/flowbite-svelte/compare/v0.27.11...v0.27.12) (2022-10-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* meta tag by adding type, url, and appId ([#399](https://github.com/themesberg/flowbite-svelte/issues/399)) ([6f9f423](https://github.com/themesberg/flowbite-svelte/commit/6f9f423b294bbc54bdae152f659e029e5e8a1f76))
|
|
11
|
+
* update meta images width and height ([#400](https://github.com/themesberg/flowbite-svelte/issues/400)) ([f97c01a](https://github.com/themesberg/flowbite-svelte/commit/f97c01a361714daca951c16fa7a2293988abd983))
|
|
12
|
+
|
|
5
13
|
### [0.27.11](https://github.com/themesberg/flowbite-svelte/compare/v0.27.10...v0.27.11) (2022-10-26)
|
|
6
14
|
|
|
7
15
|
|
|
@@ -9,7 +9,7 @@ let groupClass;
|
|
|
9
9
|
$: groupClass = classNames('divide-y divide-gray-200 dark:divide-gray-600', $$props.class);
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
|
-
<Frame tag={active ? 'div' : 'ul'} rounded border class={groupClass}>
|
|
12
|
+
<Frame tag={active ? 'div' : 'ul'} {...$$restProps} rounded border class={groupClass}>
|
|
13
13
|
{#each items as item, index}
|
|
14
14
|
<ListgroupItem {active} {...item} {index} on:click><slot {item} {index} /></ListgroupItem>
|
|
15
15
|
{:else}
|
package/modals/Modal.svelte
CHANGED
|
@@ -97,7 +97,7 @@ function handleKeys(e) {
|
|
|
97
97
|
on:click={autoclose ? onAutoClose : null}>
|
|
98
98
|
<div class="flex p-4 w-full {sizes[size]} h-full md:h-auto max-h-screen">
|
|
99
99
|
<!-- Modal content -->
|
|
100
|
-
<Frame rounded shadow class="relative flex flex-col w-full h-full md:h-auto">
|
|
100
|
+
<Frame {...$$restProps} rounded shadow class="relative flex flex-col w-full h-full md:h-auto">
|
|
101
101
|
<!-- Modal header -->
|
|
102
102
|
{#if $$slots.header || title}
|
|
103
103
|
<div class="flex justify-between items-center p-4 rounded-t border-b dark:border-gray-600">
|
package/navbar/NavUl.svelte
CHANGED
|
@@ -14,15 +14,15 @@ $$props.class);
|
|
|
14
14
|
</script>
|
|
15
15
|
|
|
16
16
|
{#if !hidden}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
<div {...$$restProps} class={_divClass} transition:slide={{ delay: 250, duration: 500, easing: quintOut }}>
|
|
18
|
+
<Frame tag="ul" border rounded color="navbarUl" class={_ulClass}>
|
|
19
|
+
<slot />
|
|
20
|
+
</Frame>
|
|
21
|
+
</div>
|
|
22
22
|
{:else}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
<div {...$$restProps} class={_divClass} {hidden}>
|
|
24
|
+
<ul class={_ulClass}>
|
|
25
|
+
<slot />
|
|
26
|
+
</ul>
|
|
27
|
+
</div>
|
|
28
28
|
{/if}
|
package/navbar/Navbar.svelte
CHANGED
|
@@ -11,7 +11,7 @@ let toggle = () => {
|
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
13
|
<Frame tag="nav" {color} {...$$restProps} class={classNames(navClass, $$props.class)}>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
<div class={classNames(navDivClass, fluid && 'container')}>
|
|
15
|
+
<slot {hidden} {toggle} />
|
|
16
|
+
</div>
|
|
17
17
|
</Frame>
|
|
@@ -5,7 +5,7 @@ declare const __propDef: {
|
|
|
5
5
|
navClass?: string | undefined;
|
|
6
6
|
navDivClass?: string | undefined;
|
|
7
7
|
fluid?: boolean | undefined;
|
|
8
|
-
color?:
|
|
8
|
+
color?: "gray" | "red" | "yellow" | "green" | "indigo" | "default" | "purple" | "pink" | "blue" | "light" | "dark" | "dropdown" | "navbar" | "navbarUl" | "form" | "none" | undefined;
|
|
9
9
|
};
|
|
10
10
|
events: {
|
|
11
11
|
[evt: string]: CustomEvent<any>;
|
package/package.json
CHANGED
package/toasts/Toast.svelte.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { Colors } from '../types';
|
|
3
2
|
declare const __propDef: {
|
|
4
3
|
props: {
|
|
5
4
|
[x: string]: any;
|
|
6
|
-
color?:
|
|
5
|
+
color?: "gray" | "red" | "yellow" | "green" | "indigo" | "default" | "purple" | "pink" | "blue" | "light" | "dark" | "dropdown" | "navbar" | "navbarUl" | "form" | "none" | undefined;
|
|
7
6
|
simple?: boolean | undefined;
|
|
8
7
|
position?: "none" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
9
8
|
open?: boolean | undefined;
|