Skip to content

Commit

Permalink
v0.46.11
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Jun 27, 2024
1 parent ab24e30 commit fe2f01b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .changeset/new-pugs-roll.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.46.11

### Patch Changes

- fix: Badge and Toast component transition ([`ab24e307598ef53ab2b714ebce3f6541c9eb37e4`](https://github.com/themesberg/flowbite-svelte/commit/ab24e307598ef53ab2b714ebce3f6541c9eb37e4))

## 0.46.10

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flowbite-svelte",
"version": "0.46.10",
"version": "0.46.11",
"description": "Flowbite components for Svelte",
"main": "dist/index.js",
"packageManager": "[email protected]",
Expand Down Expand Up @@ -49,7 +49,7 @@
"eslint": "^9.5.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.41.0",
"flowbite-svelte": "^0.46.10",
"flowbite-svelte": "^0.46.11",
"flowbite-svelte-blocks": "^1.1.3",
"flowbite-svelte-icons": "^1.6.1",
"mdsvex": "^0.11.2",
Expand Down
18 changes: 18 additions & 0 deletions src/lib/toast/Toast.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,21 @@
{/if}
</div>
{/if}

<!--
@component
[Go to docs](https://flowbite-svelte.com/)
## Props
@prop export let dismissable: boolean = true;
@prop export let color: ColorVariant = 'primary';
@prop export let position: ToastPositionType = 'none';
@prop export let divClass: string = 'w-full max-w-xs p-4 text-gray-500 bg-white shadow dark:text-gray-400 dark:bg-gray-800 gap-3';
@prop export let defaultIconClass: string = 'w-8 h-8';
@prop export let contentClass: string = 'w-full text-sm font-normal';
@prop export let div2class: string = '';
@prop export let div3class: string = '';
@prop export let align: boolean = true;
@prop export let transition: TransitionFunc = fade;
@prop export let params = {};
@prop export let toastStatus: boolean = true;
-->
2 changes: 1 addition & 1 deletion src/routes/component-data/Toast.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"Toast","slots":["icon","close-button"],"events":["on:close"],"props":[["dismissable","boolean","true"],["color","'primary' | 'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'orange' | 'none'","'primary'"],["position","'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'none'","'none'"],["divClass","string","'w-full max-w-xs p-4 text-gray-500 bg-white shadow dark:text-gray-400 dark:bg-gray-800 gap-3'"],["defaultIconClass","string","'w-8 h-8'"],["contentClass","string","'w-full text-sm font-normal'"],["align","boolean","true"]]}
{"name":"Toast","slots":["icon"],"events":[],"props":[["dismissable","boolean","true"],["color","ColorVariant","'primary'"],["position","ToastPositionType","'none'"],["divClass","string","'w-full max-w-xs p-4 text-gray-500 bg-white shadow dark:text-gray-400 dark:bg-gray-800 gap-3'"],["defaultIconClass","string","'w-8 h-8'"],["contentClass","string","'w-full text-sm font-normal'"],["align","boolean","true"],["transition","TransitionFunc","fade"],["params","string","{}"],["toastStatus","boolean","true"]]}

0 comments on commit fe2f01b

Please sign in to comment.