Skip to content

Commit

Permalink
v0.47.3
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Oct 30, 2024
1 parent f35c890 commit 6174818
Show file tree
Hide file tree
Showing 144 changed files with 4,305 additions and 935 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.47.3

### Patch Changes

- fix: #1392 #1455 #1463 #1468 #1475 #1476

## 0.47.2

### 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.47.2",
"version": "0.47.3",
"description": "Flowbite components for Svelte",
"main": "dist/index.js",
"packageManager": "[email protected]",
Expand Down Expand Up @@ -756,4 +756,4 @@
},
"./package.json": "./package.json"
}
}
}
2 changes: 2 additions & 0 deletions src/lib/forms/Fileupload.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,6 @@
## Props
@prop export let files: $$Props['files'] = undefined;
@prop export let inputClass: $$Props['inputClass'] = 'border !p-0 dark:text-gray-400';
@prop export let clearable: $$Props['clearable'] = false;
@prop export let size: $$Props['size'] = 'md';
-->
1 change: 1 addition & 0 deletions src/lib/forms/Toggle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@
@prop export let checked: $$Props['checked'] = undefined;
@prop export let customSize: $$Props['customSize'] = '';
@prop export let classDiv: string = '';
@prop export let disabled: $$Props['disabled'] = false;
-->
16 changes: 8 additions & 8 deletions src/lib/steps/StepIndicator.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@
@component
[Go to docs](https://flowbite-svelte.com/)
## Props
@prop export let steps: $$Props['steps'] = ['Step 1', 'Step 2', 'Step 3', 'Step 4', 'Step 5'];
@prop export let currentStep: $$Props['currentStep'] = 1;
@prop export let size: $$Props['size'] = 'h-2.5';
@prop export let color: $$Props['color'] = 'primary';
@prop export let glow: $$Props['glow'] = false;
@prop export let hideLabel: $$Props['hideLabel'] = false;
@prop export let completedCustom: $$Props['completedCustom'] = '';
@prop export let currentCustom: $$Props['currentCustom'] = '';
@prop export let steps = ['Step 1', 'Step 2', 'Step 3', 'Step 4', 'Step 5'];
@prop export let currentStep = 1;
@prop export let size = 'h-2.5';
@prop export let color: ColorType = 'primary';
@prop export let glow = false;
@prop export let hideLabel = false;
@prop export let completedCustom = '';
@prop export let currentCustom = '';
-->
36 changes: 29 additions & 7 deletions src/routes/component-data/A.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,34 @@
{
"name": "A",
"slots": [],
"events": ["click"],
"events": [
"click"
],
"props": [
["action?", "Action<HTMLElement, any>", ""],
["params?", "any", "{}"],
["href?", "string", "'#'"],
["color?", "string", "'text-primary-600 dark:text-primary-500'"],
["aClass?", "string", "'inline-flex items-center hover:underline'"]
[
"action?",
"Action<HTMLElement, any>",
""
],
[
"params?",
"any",
"{}"
],
[
"href?",
"string",
"'#'"
],
[
"color?",
"string",
"'text-primary-600 dark:text-primary-500'"
],
[
"aClass?",
"string",
"'inline-flex items-center hover:underline'"
]
]
}
}
44 changes: 36 additions & 8 deletions src/routes/component-data/Accordion.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,40 @@
"slots": [],
"events": [],
"props": [
["multiple?", "boolean", "false"],
["flush?", "boolean", "false"],
["activeClass?", "string", "'bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800'"],
["inactiveClass?", "string", "'text-gray-500 dark:text-gray-400 hover:bg-gray-100 hover:dark:bg-gray-800'"],
["defaultClass?", "string", "'text-gray-500 dark:text-gray-400'"],
["classActive?", "string", "''"],
["classInactive?", "string", "''"]
[
"multiple?",
"boolean",
"false"
],
[
"flush?",
"boolean",
"false"
],
[
"activeClass?",
"string",
"'bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800'"
],
[
"inactiveClass?",
"string",
"'text-gray-500 dark:text-gray-400 hover:bg-gray-100 hover:dark:bg-gray-800'"
],
[
"defaultClass?",
"string",
"'text-gray-500 dark:text-gray-400'"
],
[
"classActive?",
"string",
"''"
],
[
"classInactive?",
"string",
"''"
]
]
}
}
110 changes: 91 additions & 19 deletions src/routes/component-data/AccordionItem.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,96 @@
{
"name": "AccordionItem",
"slots": ["header", "arrowup", "arrowdown"],
"slots": [
"header",
"arrowup",
"arrowdown"
],
"events": [],
"props": [
["tag?", "string", "'h2'"],
["open?", "boolean", ""],
["activeClass?", "string", "undefined"],
["inactiveClass?", "string", "undefined"],
["defaultClass?", "string", "'flex items-center justify-between w-full font-medium text-left group-first:rounded-t-xl border-gray-200 dark:border-gray-700'"],
["transitionType?", "TransitionTypes", "'slide'"],
["transitionParams?", "TransitionParamTypes", "{}"],
["paddingFlush?", "string", "'py-5'"],
["paddingDefault?", "string", "'p-5'"],
["textFlushOpen?", "string", "'text-gray-900 dark:text-white'"],
["textFlushDefault?", "string", "'text-gray-500 dark:text-gray-400'"],
["borderClass?", "string", "'border-s border-e group-first:border-t'"],
["borderOpenClass?", "string", "'border-s border-e'"],
["borderBottomClass?", "string", "'border-b'"],
["borderSharedClass?", "string", "'border-gray-200 dark:border-gray-700'"],
["classActive?", "string", "undefined"],
["classInactive?", "string", "undefined"]
[
"tag?",
"string",
"'h2'"
],
[
"open?",
"boolean",
""
],
[
"activeClass?",
"string",
"undefined"
],
[
"inactiveClass?",
"string",
"undefined"
],
[
"defaultClass?",
"string",
"'flex items-center justify-between w-full font-medium text-left group-first:rounded-t-xl border-gray-200 dark:border-gray-700'"
],
[
"transitionType?",
"TransitionTypes",
"'slide'"
],
[
"transitionParams?",
"TransitionParamTypes",
"{}"
],
[
"paddingFlush?",
"string",
"'py-5'"
],
[
"paddingDefault?",
"string",
"'p-5'"
],
[
"textFlushOpen?",
"string",
"'text-gray-900 dark:text-white'"
],
[
"textFlushDefault?",
"string",
"'text-gray-500 dark:text-gray-400'"
],
[
"borderClass?",
"string",
"'border-s border-e group-first:border-t'"
],
[
"borderOpenClass?",
"string",
"'border-s border-e'"
],
[
"borderBottomClass?",
"string",
"'border-b'"
],
[
"borderSharedClass?",
"string",
"'border-gray-200 dark:border-gray-700'"
],
[
"classActive?",
"string",
"undefined"
],
[
"classInactive?",
"string",
"undefined"
]
]
}
}
10 changes: 8 additions & 2 deletions src/routes/component-data/Activity.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@
"name": "Activity",
"slots": [],
"events": [],
"props": [["olClass?", "string", "'relative border-s border-gray-200 dark:border-gray-700'"]]
}
"props": [
[
"olClass?",
"string",
"'relative border-s border-gray-200 dark:border-gray-700'"
]
]
}
104 changes: 86 additions & 18 deletions src/routes/component-data/ActivityItem.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,90 @@
"slots": [],
"events": [],
"props": [
["activities", "ActivityType[]", "[]"],
["liClass?", "string", "'mb-10 ms-6'"],
["spanClass?", "string", "'flex absolute -start-3 justify-center items-center w-6 h-6 bg-blue-200 rounded-full ring-8 ring-white dark:ring-gray-900 dark:bg-blue-900'"],
["imgClass?", "string", "'rounded-full shadow-lg'"],
["outerDivClass?", "string", "'p-4 bg-white rounded-lg border border-gray-200 shadow-sm dark:bg-gray-700 dark:border-gray-600'"],
["innerDivClass?", "string", "'justify-between items-center mb-3 sm:flex'"],
["timeClass?", "string", "'mb-1 text-xs font-normal text-gray-400 sm:order-last sm:mb-0'"],
["titleClass?", "string", "'text-sm font-normal text-gray-500 lex dark:text-gray-300'"],
["textClass?", "string", "'p-3 text-xs italic font-normal text-gray-500 bg-gray-50 rounded-lg border border-gray-200 dark:bg-gray-600 dark:border-gray-500 dark:text-gray-300'"],
["classLi?", "string", "''"],
["classSpan?", "string", "''"],
["classImg?", "string", "''"],
["classOuterDiv?", "string", "''"],
["classInnerDiv?", "string", "''"],
["classTime?", "string", "''"],
["classTitle?", "string", "''"],
["classText?", "string", "''"]
[
"activities",
"ActivityType[]",
"[]"
],
[
"liClass?",
"string",
"'mb-10 ms-6'"
],
[
"spanClass?",
"string",
"'flex absolute -start-3 justify-center items-center w-6 h-6 bg-blue-200 rounded-full ring-8 ring-white dark:ring-gray-900 dark:bg-blue-900'"
],
[
"imgClass?",
"string",
"'rounded-full shadow-lg'"
],
[
"outerDivClass?",
"string",
"'p-4 bg-white rounded-lg border border-gray-200 shadow-sm dark:bg-gray-700 dark:border-gray-600'"
],
[
"innerDivClass?",
"string",
"'justify-between items-center mb-3 sm:flex'"
],
[
"timeClass?",
"string",
"'mb-1 text-xs font-normal text-gray-400 sm:order-last sm:mb-0'"
],
[
"titleClass?",
"string",
"'text-sm font-normal text-gray-500 lex dark:text-gray-300'"
],
[
"textClass?",
"string",
"'p-3 text-xs italic font-normal text-gray-500 bg-gray-50 rounded-lg border border-gray-200 dark:bg-gray-600 dark:border-gray-500 dark:text-gray-300'"
],
[
"classLi?",
"string",
"''"
],
[
"classSpan?",
"string",
"''"
],
[
"classImg?",
"string",
"''"
],
[
"classOuterDiv?",
"string",
"''"
],
[
"classInnerDiv?",
"string",
"''"
],
[
"classTime?",
"string",
"''"
],
[
"classTitle?",
"string",
"''"
],
[
"classText?",
"string",
"''"
]
]
}
}
Loading

0 comments on commit 6174818

Please sign in to comment.