flowbite-svelte 0.22.7 → 0.22.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.
- package/CHANGELOG.md +7 -0
- package/footer/Footer.svelte +3 -1
- package/footer/Footer.svelte.d.ts +2 -1
- package/package.json +1 -1
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.22.8](https://github.com/themesberg/flowbite-svelte/compare/v0.22.7...v0.22.8) (2022-07-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* add custom to Footer ([22f8f43](https://github.com/themesberg/flowbite-svelte/commit/22f8f430ae9a21acbbd95300b8633531d9a6dc5f))
|
|
11
|
+
|
|
5
12
|
### [0.22.7](https://github.com/themesberg/flowbite-svelte/compare/v0.22.6...v0.22.7) (2022-07-22)
|
|
6
13
|
|
|
7
14
|
|
package/footer/Footer.svelte
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script>import classNames from 'classnames';
|
|
2
|
+
export let customClass = '';
|
|
2
3
|
export let footerType = 'default';
|
|
3
4
|
</script>
|
|
4
5
|
|
|
@@ -9,7 +10,8 @@ export let footerType = 'default';
|
|
|
9
10
|
'p-4 bg-white sm:p-6 dark:bg-gray-800': footerType === 'socialmedia',
|
|
10
11
|
'p-4 bg-white rounded-lg shadow md:px-6 md:py-8 dark:bg-gray-800': footerType === 'logo',
|
|
11
12
|
'p-4 bg-white rounded-lg shadow md:flex md:items-center md:justify-between md:p-6 dark:bg-gray-800':
|
|
12
|
-
footerType === 'default'
|
|
13
|
+
footerType === 'default',
|
|
14
|
+
customClass: footerType === 'custom'
|
|
13
15
|
},
|
|
14
16
|
$$props.class
|
|
15
17
|
)}
|
|
@@ -2,7 +2,8 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
4
|
[x: string]: any;
|
|
5
|
-
|
|
5
|
+
customClass?: string;
|
|
6
|
+
footerType?: 'custom' | 'sitemap' | 'default' | 'logo' | 'socialmedia';
|
|
6
7
|
};
|
|
7
8
|
events: {
|
|
8
9
|
[evt: string]: CustomEvent<any>;
|