Skip to content

Commit

Permalink
chore: changeset version and lib-helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Apr 19, 2024
1 parent 678088b commit 711349b
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 14 deletions.
10 changes: 0 additions & 10 deletions .changeset/chatty-guests-trade.md

This file was deleted.

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

## 0.46.0

### Minor Changes

- - 998d0176 BREAKING: #1277 change style prop to tabStyle to avoid conflict with CSS attr ([`40a1d6581d555c28ff00e5b373d5742a314b6b02`](https://github.com/themesberg/flowbite-svelte/commit/40a1d6581d555c28ff00e5b373d5742a314b6b02))
- 572888c4 docs: #1282 add warnings in the docs where components are using @html
- bb479286 fix: docsearch style using @docsearch/css@3
- 656f2223 fix: #1287 #1304
- 113de668 fix: add disabled prop to Button component
- 4fbd9bd0 docs: change tailwind.config.cjs darkMode class to selector

## 0.45.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flowbite-svelte",
"version": "0.45.1",
"version": "0.46.0",
"description": "Flowbite components for Svelte",
"main": "dist/index.js",
"packageManager": "[email protected]",
Expand Down
1 change: 1 addition & 0 deletions src/lib/buttons/Button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,5 @@
@prop export let shadow: boolean = false;
@prop export let tag: string = 'button';
@prop export let checked: boolean | undefined = undefined;
@prop export let disabled: boolean = false;
-->
2 changes: 1 addition & 1 deletion src/lib/tabs/Tabs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
@component
[Go to docs](https://flowbite-svelte.com/)
## Props
@prop export let style: 'full' | 'pill' | 'underline' | 'none' = 'none';
@prop export let tabStyle: 'full' | 'pill' | 'underline' | 'none' = 'none';
@prop export let defaultClass: string = 'flex flex-wrap space-x-2 rtl:space-x-reverse';
@prop export let contentClass: string = 'p-4 bg-gray-50 rounded-lg dark:bg-gray-800 mt-4';
@prop export let divider: boolean = true;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/component-data/Button.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"Button","slots":[],"events":["on:click","on:change","on:keydown","on:keyup","on:touchend","on:touchcancel","on:mouseenter","on:mouseleave","on:click","on:change","on:keydown","on:keyup","on:touchend","on:touchcancel","on:mouseenter","on:mouseleave"],"props":[["pill","boolean","false"],["outline","boolean","false"],["size","'xs' | 'sm' | 'md' | 'lg' | 'xl'","group ? 'sm' : 'md'"],["href","string | undefined","undefined"],["type","HTMLButtonAttributes['type']","'button'"],["color","ButtonColor","group ? (outline ? 'dark' : 'alternative') : 'primary'"],["shadow","boolean","false"],["tag","string","'button'"],["checked","boolean | undefined","undefined"]]}
{"name":"Button","slots":[],"events":["on:click","on:change","on:keydown","on:keyup","on:touchend","on:touchcancel","on:mouseenter","on:mouseleave","on:click","on:change","on:keydown","on:keyup","on:touchend","on:touchcancel","on:mouseenter","on:mouseleave"],"props":[["pill","boolean","false"],["outline","boolean","false"],["size","'xs' | 'sm' | 'md' | 'lg' | 'xl'","group ? 'sm' : 'md'"],["href","string | undefined","undefined"],["type","HTMLButtonAttributes['type']","'button'"],["color","ButtonColor","group ? (outline ? 'dark' : 'alternative') : 'primary'"],["shadow","boolean","false"],["tag","string","'button'"],["checked","boolean | undefined","undefined"],["disabled","boolean","false"]]}
2 changes: 1 addition & 1 deletion src/routes/component-data/Tabs.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"Tabs","slots":["divider"],"events":[],"props":[["style","'full' | 'pill' | 'underline' | 'none'","'none'"],["defaultClass","string","'flex flex-wrap space-x-2 rtl:space-x-reverse'"],["contentClass","string","'p-4 bg-gray-50 rounded-lg dark:bg-gray-800 mt-4'"],["divider","boolean","true"],["activeClasses","string","'p-4 text-primary-600 bg-gray-100 rounded-t-lg dark:bg-gray-800 dark:text-primary-500'"],["inactiveClasses","string","'p-4 text-gray-500 rounded-t-lg hover:text-gray-600 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-300'"]]}
{"name":"Tabs","slots":["divider"],"events":[],"props":[["tabStyle","'full' | 'pill' | 'underline' | 'none'","'none'"],["defaultClass","string","'flex flex-wrap space-x-2 rtl:space-x-reverse'"],["contentClass","string","'p-4 bg-gray-50 rounded-lg dark:bg-gray-800 mt-4'"],["divider","boolean","true"],["activeClasses","string","'p-4 text-primary-600 bg-gray-100 rounded-t-lg dark:bg-gray-800 dark:text-primary-500'"],["inactiveClasses","string","'p-4 text-gray-500 rounded-t-lg hover:text-gray-600 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-300'"]]}

0 comments on commit 711349b

Please sign in to comment.