From 617481839460bf42f2ded8a1183afbf3b34f6aa1 Mon Sep 17 00:00:00 2001 From: Shinichi Okada <147320+shinokada@users.noreply.github.com> Date: Wed, 30 Oct 2024 20:28:59 +0100 Subject: [PATCH] v0.47.3 --- CHANGELOG.md | 6 + package.json | 4 +- src/lib/forms/Fileupload.svelte | 2 + src/lib/forms/Toggle.svelte | 1 + src/lib/steps/StepIndicator.svelte | 16 +-- src/routes/component-data/A.json | 36 ++++-- src/routes/component-data/Accordion.json | 44 +++++-- src/routes/component-data/AccordionItem.json | 110 +++++++++++++++--- src/routes/component-data/Activity.json | 10 +- src/routes/component-data/ActivityItem.json | 104 ++++++++++++++--- src/routes/component-data/Alert.json | 31 ++++- src/routes/component-data/Android.json | 80 ++++++++++--- src/routes/component-data/ArrowKeyDown.json | 10 +- src/routes/component-data/ArrowKeyLeft.json | 10 +- src/routes/component-data/ArrowKeyRight.json | 10 +- src/routes/component-data/ArrowKeyUp.json | 10 +- src/routes/component-data/Avatar.json | 2 +- src/routes/component-data/Badge.json | 58 +++++++-- src/routes/component-data/Banner.json | 77 +++++++++--- src/routes/component-data/Blockquote.json | 50 ++++++-- src/routes/component-data/BottomNav.json | 60 ++++++++-- .../component-data/BottomNavHeader.json | 26 ++++- .../component-data/BottomNavHeaderItem.json | 37 +++++- src/routes/component-data/BottomNavItem.json | 13 ++- src/routes/component-data/Breadcrumb.json | 38 ++++-- src/routes/component-data/BreadcrumbItem.json | 55 +++++++-- src/routes/component-data/Button.json | 21 +++- src/routes/component-data/ButtonGroup.json | 14 ++- src/routes/component-data/Card.json | 52 +++++++-- .../component-data/CardPlaceholder.json | 14 ++- src/routes/component-data/Chart.json | 14 ++- src/routes/component-data/Checkbox.json | 88 +++++++++++--- src/routes/component-data/CheckboxButton.json | 16 ++- src/routes/component-data/DarkMode.json | 25 +++- src/routes/component-data/DefaultMockup.json | 68 +++++++++-- .../component-data/DescriptionList.json | 20 +++- src/routes/component-data/Desktop.json | 44 +++++-- src/routes/component-data/DeviceMockup.json | 10 +- src/routes/component-data/Drawer.json | 98 +++++++++++++--- src/routes/component-data/Dropdown.json | 107 ++++++++++++++--- .../component-data/DropdownDivider.json | 10 +- src/routes/component-data/DropdownHeader.json | 14 ++- src/routes/component-data/DropdownItem.json | 13 ++- src/routes/component-data/Dropzone.json | 16 ++- src/routes/component-data/Fileupload.json | 49 +++++++- .../component-data/FloatingLabelInput.json | 71 +++++++++-- src/routes/component-data/Footer.json | 10 +- src/routes/component-data/FooterBrand.json | 68 +++++++++-- .../component-data/FooterCopyright.json | 56 +++++++-- src/routes/component-data/FooterIcon.json | 26 ++++- src/routes/component-data/FooterLink.json | 38 ++++-- .../component-data/FooterLinkGroup.json | 10 +- src/routes/component-data/Frame.json | 93 ++++++++++++--- src/routes/component-data/Gallery.json | 14 ++- src/routes/component-data/GradientButton.json | 32 ++++- src/routes/component-data/Group.json | 44 +++++-- src/routes/component-data/GroupItem.json | 74 +++++++++--- src/routes/component-data/Heading.json | 20 +++- src/routes/component-data/Heart.json | 48 ++++++-- src/routes/component-data/Helper.json | 14 ++- src/routes/component-data/Hr.json | 56 +++++++-- .../component-data/ImagePlaceholder.json | 20 +++- src/routes/component-data/Img.json | 62 ++++++++-- src/routes/component-data/Indicator.json | 38 ++++-- src/routes/component-data/Input.json | 77 ++++++++++-- src/routes/component-data/InputAddon.json | 10 +- src/routes/component-data/Ios.json | 68 +++++++++-- src/routes/component-data/Kbd.json | 10 +- src/routes/component-data/Label.json | 20 +++- src/routes/component-data/Laptop.json | 44 +++++-- src/routes/component-data/Layout.json | 20 +++- src/routes/component-data/Li.json | 14 ++- src/routes/component-data/List.json | 2 +- .../component-data/ListPlaceholder.json | 10 +- src/routes/component-data/Listgroup.json | 20 +++- src/routes/component-data/Mark.json | 20 +++- src/routes/component-data/MegaMenu.json | 34 ++++-- src/routes/component-data/Menu.json | 30 ++++- src/routes/component-data/Modal.json | 109 ++++++++++++++--- src/routes/component-data/MultiSelect.json | 42 +++++-- src/routes/component-data/NavBrand.json | 10 +- src/routes/component-data/NavContainer.json | 10 +- src/routes/component-data/NavHamburger.json | 2 +- src/routes/component-data/NavLi.json | 15 ++- src/routes/component-data/NavUl.json | 48 ++++++-- src/routes/component-data/Navbar.json | 10 +- src/routes/component-data/NumberInput.json | 26 ++++- src/routes/component-data/P.json | 74 +++++++++--- src/routes/component-data/Pagination.json | 62 ++++++++-- src/routes/component-data/PaginationItem.json | 15 ++- src/routes/component-data/Popover.json | 22 +++- src/routes/component-data/Popper.json | 62 ++++++++-- src/routes/component-data/Progressbar.json | 80 ++++++++++--- src/routes/component-data/Radio.json | 58 +++++++-- src/routes/component-data/RadioButton.json | 64 ++++++++-- src/routes/component-data/Range.json | 22 +++- src/routes/component-data/Rating.json | 60 ++++++++-- src/routes/component-data/RatingComment.json | 60 ++++++++-- src/routes/component-data/Review.json | 75 +++++++++--- src/routes/component-data/ScoreRating.json | 10 +- src/routes/component-data/Search.json | 35 +++++- src/routes/component-data/Secondary.json | 14 ++- src/routes/component-data/Select.json | 50 ++++++-- src/routes/component-data/Sidebar.json | 32 ++++- src/routes/component-data/SidebarBrand.json | 26 ++++- src/routes/component-data/SidebarCta.json | 30 ++++- .../component-data/SidebarDropdownItem.json | 44 +++++-- .../SidebarDropdownWrapper.json | 54 +++++++-- src/routes/component-data/SidebarGroup.json | 20 +++- src/routes/component-data/SidebarItem.json | 61 ++++++++-- src/routes/component-data/SidebarWrapper.json | 10 +- src/routes/component-data/Skeleton.json | 14 ++- src/routes/component-data/Smartwatch.json | 68 +++++++++-- src/routes/component-data/Span.json | 56 +++++++-- src/routes/component-data/SpeedDial.json | 8 +- .../component-data/SpeedDialButton.json | 6 +- src/routes/component-data/Spinner.json | 38 ++++-- src/routes/component-data/Star.json | 48 ++++++-- src/routes/component-data/StepIndicator.json | 50 ++++++-- src/routes/component-data/TabItem.json | 55 +++++++-- src/routes/component-data/Table.json | 110 +++++++++++++++--- src/routes/component-data/TableBody.json | 14 ++- src/routes/component-data/TableBodyCell.json | 10 +- src/routes/component-data/TableBodyRow.json | 16 ++- src/routes/component-data/TableHead.json | 14 ++- src/routes/component-data/TableHeadCell.json | 51 ++++++-- src/routes/component-data/TableSearch.json | 92 ++++++++++++--- src/routes/component-data/Tablet.json | 68 +++++++++-- src/routes/component-data/Tabs.json | 42 +++++-- .../TestimonialPlaceholder.json | 10 +- .../component-data/TextPlaceholder.json | 14 ++- src/routes/component-data/Textarea.json | 60 ++++++++-- src/routes/component-data/Thumbnail.json | 26 ++++- src/routes/component-data/Thumbup.json | 48 ++++++-- src/routes/component-data/Timeline.json | 10 +- src/routes/component-data/TimelineItem.json | 48 ++++++-- src/routes/component-data/Toast.json | 66 +++++++++-- src/routes/component-data/Toggle.json | 52 +++++++-- src/routes/component-data/Toolbar.json | 14 ++- src/routes/component-data/ToolbarButton.json | 6 +- src/routes/component-data/Tooltip.json | 18 ++- .../component-data/TransitionFrame.json | 6 +- .../component-data/VideoPlaceholder.json | 14 ++- .../component-data/WidgetPlaceholder.json | 10 +- 144 files changed, 4305 insertions(+), 935 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfda3fb1b..93e5ae0df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.47.3 + +### Patch Changes + +- fix: #1392 #1455 #1463 #1468 #1475 #1476 + ## 0.47.2 ### Patch Changes diff --git a/package.json b/package.json index 98a841577..c3ae8fb09 100644 --- a/package.json +++ b/package.json @@ -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": "pnpm@8.15.4", @@ -756,4 +756,4 @@ }, "./package.json": "./package.json" } -} +} \ No newline at end of file diff --git a/src/lib/forms/Fileupload.svelte b/src/lib/forms/Fileupload.svelte index 0dbae2473..e1e35a973 100644 --- a/src/lib/forms/Fileupload.svelte +++ b/src/lib/forms/Fileupload.svelte @@ -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'; --> diff --git a/src/lib/forms/Toggle.svelte b/src/lib/forms/Toggle.svelte index 134ef57cf..728f9a422 100644 --- a/src/lib/forms/Toggle.svelte +++ b/src/lib/forms/Toggle.svelte @@ -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; --> diff --git a/src/lib/steps/StepIndicator.svelte b/src/lib/steps/StepIndicator.svelte index 2d2f6a407..1bf397b4e 100644 --- a/src/lib/steps/StepIndicator.svelte +++ b/src/lib/steps/StepIndicator.svelte @@ -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 = ''; --> diff --git a/src/routes/component-data/A.json b/src/routes/component-data/A.json index 948919054..c68085cf3 100644 --- a/src/routes/component-data/A.json +++ b/src/routes/component-data/A.json @@ -1,12 +1,34 @@ { "name": "A", "slots": [], - "events": ["click"], + "events": [ + "click" + ], "props": [ - ["action?", "Action", ""], - ["params?", "any", "{}"], - ["href?", "string", "'#'"], - ["color?", "string", "'text-primary-600 dark:text-primary-500'"], - ["aClass?", "string", "'inline-flex items-center hover:underline'"] + [ + "action?", + "Action", + "" + ], + [ + "params?", + "any", + "{}" + ], + [ + "href?", + "string", + "'#'" + ], + [ + "color?", + "string", + "'text-primary-600 dark:text-primary-500'" + ], + [ + "aClass?", + "string", + "'inline-flex items-center hover:underline'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Accordion.json b/src/routes/component-data/Accordion.json index ee87bf443..462a0bfb1 100644 --- a/src/routes/component-data/Accordion.json +++ b/src/routes/component-data/Accordion.json @@ -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", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/AccordionItem.json b/src/routes/component-data/AccordionItem.json index 0dd680dcb..13327969f 100644 --- a/src/routes/component-data/AccordionItem.json +++ b/src/routes/component-data/AccordionItem.json @@ -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" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Activity.json b/src/routes/component-data/Activity.json index c496aae93..dc6f51895 100644 --- a/src/routes/component-data/Activity.json +++ b/src/routes/component-data/Activity.json @@ -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'" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/ActivityItem.json b/src/routes/component-data/ActivityItem.json index 278d2c8fb..1a60853aa 100644 --- a/src/routes/component-data/ActivityItem.json +++ b/src/routes/component-data/ActivityItem.json @@ -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", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Alert.json b/src/routes/component-data/Alert.json index 00a0d0995..1a948ecbe 100644 --- a/src/routes/component-data/Alert.json +++ b/src/routes/component-data/Alert.json @@ -1,9 +1,30 @@ { "name": "Alert", - "slots": ["icon", "close-button"], - "events": ["close", "click", "change", "keydown", "keyup", "focus", "blur", "mouseenter", "mouseleave"], + "slots": [ + "icon", + "close-button" + ], + "events": [ + "close", + "click", + "change", + "keydown", + "keyup", + "focus", + "blur", + "mouseenter", + "mouseleave" + ], "props": [ - ["dismissable?", "boolean", "false"], - ["defaultClass?", "string", "'p-4 gap-3 text-sm'"] + [ + "dismissable?", + "boolean", + "false" + ], + [ + "defaultClass?", + "string", + "'p-4 gap-3 text-sm'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Android.json b/src/routes/component-data/Android.json index 72a96bc51..505507b1e 100644 --- a/src/routes/component-data/Android.json +++ b/src/routes/component-data/Android.json @@ -3,18 +3,70 @@ "slots": [], "events": [], "props": [ - ["div?", "string", "'relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[14px] rounded-xl h-[600px] w-[300px] shadow-xl'"], - ["slot?", "string", "'rounded-xl overflow-hidden w-[272px] h-[572px] bg-white dark:bg-gray-800'"], - ["top?", "string", "'w-[148px] h-[18px] bg-gray-800 top-0 rounded-b-[1rem] left-1/2 -translate-x-1/2 absolute'"], - ["leftTop?", "string", "'h-[32px] w-[3px] bg-gray-800 absolute -left-[17px] top-[72px] rounded-l-lg'"], - ["leftMid?", "string", "'h-[46px] w-[3px] bg-gray-800 absolute -left-[17px] top-[124px] rounded-l-lg'"], - ["leftBot?", "string", "'h-[46px] w-[3px] bg-gray-800 absolute -left-[17px] top-[178px] rounded-l-lg'"], - ["right?", "string", "'h-[64px] w-[3px] bg-gray-800 absolute -right-[17px] top-[142px] rounded-r-lg'"], - ["classTop?", "string", "''"], - ["classLeftTop?", "string", "''"], - ["classLeftMid?", "string", "''"], - ["classLeftBot?", "string", "''"], - ["classRight?", "string", "''"], - ["classSlot?", "string", "''"] + [ + "div?", + "string", + "'relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[14px] rounded-xl h-[600px] w-[300px] shadow-xl'" + ], + [ + "slot?", + "string", + "'rounded-xl overflow-hidden w-[272px] h-[572px] bg-white dark:bg-gray-800'" + ], + [ + "top?", + "string", + "'w-[148px] h-[18px] bg-gray-800 top-0 rounded-b-[1rem] left-1/2 -translate-x-1/2 absolute'" + ], + [ + "leftTop?", + "string", + "'h-[32px] w-[3px] bg-gray-800 absolute -left-[17px] top-[72px] rounded-l-lg'" + ], + [ + "leftMid?", + "string", + "'h-[46px] w-[3px] bg-gray-800 absolute -left-[17px] top-[124px] rounded-l-lg'" + ], + [ + "leftBot?", + "string", + "'h-[46px] w-[3px] bg-gray-800 absolute -left-[17px] top-[178px] rounded-l-lg'" + ], + [ + "right?", + "string", + "'h-[64px] w-[3px] bg-gray-800 absolute -right-[17px] top-[142px] rounded-r-lg'" + ], + [ + "classTop?", + "string", + "''" + ], + [ + "classLeftTop?", + "string", + "''" + ], + [ + "classLeftMid?", + "string", + "''" + ], + [ + "classLeftBot?", + "string", + "''" + ], + [ + "classRight?", + "string", + "''" + ], + [ + "classSlot?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/ArrowKeyDown.json b/src/routes/component-data/ArrowKeyDown.json index eb10e27cd..63acfe6e2 100644 --- a/src/routes/component-data/ArrowKeyDown.json +++ b/src/routes/component-data/ArrowKeyDown.json @@ -2,5 +2,11 @@ "name": "ArrowKeyDown", "slots": [], "events": [], - "props": [["svgClass?", "string", "'w-4 h-4'"]] -} + "props": [ + [ + "svgClass?", + "string", + "'w-4 h-4'" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/ArrowKeyLeft.json b/src/routes/component-data/ArrowKeyLeft.json index 31844a33f..de6e9e1f7 100644 --- a/src/routes/component-data/ArrowKeyLeft.json +++ b/src/routes/component-data/ArrowKeyLeft.json @@ -2,5 +2,11 @@ "name": "ArrowKeyLeft", "slots": [], "events": [], - "props": [["svgClass?", "string", "'w-4 h-4'"]] -} + "props": [ + [ + "svgClass?", + "string", + "'w-4 h-4'" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/ArrowKeyRight.json b/src/routes/component-data/ArrowKeyRight.json index 218214b38..a6f91f560 100644 --- a/src/routes/component-data/ArrowKeyRight.json +++ b/src/routes/component-data/ArrowKeyRight.json @@ -2,5 +2,11 @@ "name": "ArrowKeyRight", "slots": [], "events": [], - "props": [["svgClass?", "string", "'w-4 h-4'"]] -} + "props": [ + [ + "svgClass?", + "string", + "'w-4 h-4'" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/ArrowKeyUp.json b/src/routes/component-data/ArrowKeyUp.json index c971d96a0..da0042fa7 100644 --- a/src/routes/component-data/ArrowKeyUp.json +++ b/src/routes/component-data/ArrowKeyUp.json @@ -2,5 +2,11 @@ "name": "ArrowKeyUp", "slots": [], "events": [], - "props": [["svgClass?", "string", "'w-4 h-4'"]] -} + "props": [ + [ + "svgClass?", + "string", + "'w-4 h-4'" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/Avatar.json b/src/routes/component-data/Avatar.json index 393b90c94..fb27e582a 100644 --- a/src/routes/component-data/Avatar.json +++ b/src/routes/component-data/Avatar.json @@ -3,4 +3,4 @@ "slots": [], "events": [], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Badge.json b/src/routes/component-data/Badge.json index 3afe5cda4..eb417fdce 100644 --- a/src/routes/component-data/Badge.json +++ b/src/routes/component-data/Badge.json @@ -1,15 +1,51 @@ { "name": "Badge", - "slots": ["close-button"], - "events": ["close"], + "slots": [ + "close-button" + ], + "events": [ + "close" + ], "props": [ - ["color?", "ColorVariant", ""], - ["large?", "boolean", "false"], - ["dismissable?", "boolean", "false"], - ["border?", "boolean", "false"], - ["href?", "string", "''"], - ["rounded?", "boolean", "false"], - ["transition?", "TransitionFunc", ""], - ["params?", "object", "{}"] + [ + "color?", + "ColorVariant", + "" + ], + [ + "large?", + "boolean", + "false" + ], + [ + "dismissable?", + "boolean", + "false" + ], + [ + "border?", + "boolean", + "false" + ], + [ + "href?", + "string", + "''" + ], + [ + "rounded?", + "boolean", + "false" + ], + [ + "transition?", + "TransitionFunc", + "" + ], + [ + "params?", + "object", + "{}" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Banner.json b/src/routes/component-data/Banner.json index d5b9052b7..563feef69 100644 --- a/src/routes/component-data/Banner.json +++ b/src/routes/component-data/Banner.json @@ -1,17 +1,68 @@ { "name": "Banner", - "slots": ["header"], - "events": ["click", "change", "keydown", "keyup", "focus", "blur", "mouseenter", "mouseleave"], + "slots": [ + "header" + ], + "events": [ + "click", + "change", + "keydown", + "keyup", + "focus", + "blur", + "mouseenter", + "mouseleave" + ], "props": [ - ["position?", "'static' | 'fixed' | 'absolute' | 'relative' | 'sticky'", "'sticky'"], - ["dismissable?", "boolean", "true"], - ["bannerType?", "'default' | 'bottom' | 'cta' | 'signup' | 'info'", ""], - ["divClass?", "string", "'z-10 flex justify-between p-4 dark:bg-gray-700 dark:border-gray-600'"], - ["innerClass?", "string", "'flex'"], - ["bannerStatus?", "boolean", "true"], - ["transition?", "TransitionFunc", ""], - ["params?", "object", "{}"], - ["classDiv?", "string", "''"], - ["classInner?", "string", "''"] + [ + "position?", + "'static' | 'fixed' | 'absolute' | 'relative' | 'sticky'", + "'sticky'" + ], + [ + "dismissable?", + "boolean", + "true" + ], + [ + "bannerType?", + "'default' | 'bottom' | 'cta' | 'signup' | 'info'", + "" + ], + [ + "divClass?", + "string", + "'z-10 flex justify-between p-4 dark:bg-gray-700 dark:border-gray-600'" + ], + [ + "innerClass?", + "string", + "'flex'" + ], + [ + "bannerStatus?", + "boolean", + "true" + ], + [ + "transition?", + "TransitionFunc", + "" + ], + [ + "params?", + "object", + "{}" + ], + [ + "classDiv?", + "string", + "''" + ], + [ + "classInner?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Blockquote.json b/src/routes/component-data/Blockquote.json index 98e6841cd..e841ab3e7 100644 --- a/src/routes/component-data/Blockquote.json +++ b/src/routes/component-data/Blockquote.json @@ -3,13 +3,45 @@ "slots": [], "events": [], "props": [ - ["border?", "boolean", "false"], - ["italic?", "boolean", "true"], - ["borderClass?", "string", "'border-s-4 border-gray-300 dark:border-gray-500'"], - ["bgClass?", "string", "'bg-gray-50 dark:bg-gray-800'"], - ["bg?", "boolean", "false"], - ["baseClass?", "string", "'font-semibold text-gray-900 dark:text-white'"], - ["alignment?", "'left' | 'center' | 'right'", ""], - ["size?", "BlockQuoteType", ""] + [ + "border?", + "boolean", + "false" + ], + [ + "italic?", + "boolean", + "true" + ], + [ + "borderClass?", + "string", + "'border-s-4 border-gray-300 dark:border-gray-500'" + ], + [ + "bgClass?", + "string", + "'bg-gray-50 dark:bg-gray-800'" + ], + [ + "bg?", + "boolean", + "false" + ], + [ + "baseClass?", + "string", + "'font-semibold text-gray-900 dark:text-white'" + ], + [ + "alignment?", + "'left' | 'center' | 'right'", + "" + ], + [ + "size?", + "BlockQuoteType", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/BottomNav.json b/src/routes/component-data/BottomNav.json index b9db616f7..b5187ebf0 100644 --- a/src/routes/component-data/BottomNav.json +++ b/src/routes/component-data/BottomNav.json @@ -1,16 +1,54 @@ { "name": "BottomNav", - "slots": ["header"], + "slots": [ + "header" + ], "events": [], "props": [ - ["activeUrl", "string", "''"], - ["position?", "'static' | 'fixed' | 'absolute' | 'relative' | 'sticky'", "'fixed'"], - ["navType?", "'default' | 'border' | 'application' | 'pagination' | 'group' | 'card' | 'meeting' | 'video'", ""], - ["outerClass?", "string", "'w-full z-50 border-gray-200 dark:bg-gray-700 dark:border-gray-600'"], - ["innerClass?", "string", "'grid h-full max-w-lg mx-auto'"], - ["activeClass?", "string", "'text-primary-700 dark:text-primary-700 hover:text-primary-900 dark:hover:text-primary-900'"], - ["classActive?", "string", "''"], - ["classOuter?", "string", "''"], - ["classInner?", "string", "''"] + [ + "activeUrl", + "string", + "''" + ], + [ + "position?", + "'static' | 'fixed' | 'absolute' | 'relative' | 'sticky'", + "'fixed'" + ], + [ + "navType?", + "'default' | 'border' | 'application' | 'pagination' | 'group' | 'card' | 'meeting' | 'video'", + "" + ], + [ + "outerClass?", + "string", + "'w-full z-50 border-gray-200 dark:bg-gray-700 dark:border-gray-600'" + ], + [ + "innerClass?", + "string", + "'grid h-full max-w-lg mx-auto'" + ], + [ + "activeClass?", + "string", + "'text-primary-700 dark:text-primary-700 hover:text-primary-900 dark:hover:text-primary-900'" + ], + [ + "classActive?", + "string", + "''" + ], + [ + "classOuter?", + "string", + "''" + ], + [ + "classInner?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/BottomNavHeader.json b/src/routes/component-data/BottomNavHeader.json index d7354cfa4..e14548910 100644 --- a/src/routes/component-data/BottomNavHeader.json +++ b/src/routes/component-data/BottomNavHeader.json @@ -3,9 +3,25 @@ "slots": [], "events": [], "props": [ - ["outerClass?", "string", "'w-full'"], - ["innerClass?", "string", "'grid max-w-xs grid-cols-3 gap-1 p-1 mx-auto my-2 bg-gray-100 rounded-lg dark:bg-gray-600'"], - ["classOuter?", "string", "''"], - ["classInner?", "string", "''"] + [ + "outerClass?", + "string", + "'w-full'" + ], + [ + "innerClass?", + "string", + "'grid max-w-xs grid-cols-3 gap-1 p-1 mx-auto my-2 bg-gray-100 rounded-lg dark:bg-gray-600'" + ], + [ + "classOuter?", + "string", + "''" + ], + [ + "classInner?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/BottomNavHeaderItem.json b/src/routes/component-data/BottomNavHeaderItem.json index f065f5043..0c422fcb5 100644 --- a/src/routes/component-data/BottomNavHeaderItem.json +++ b/src/routes/component-data/BottomNavHeaderItem.json @@ -1,11 +1,36 @@ { "name": "BottomNavHeaderItem", "slots": [], - "events": ["click", "change", "keydown", "keyup", "focus", "blur", "mouseenter", "mouseleave"], + "events": [ + "click", + "change", + "keydown", + "keyup", + "focus", + "blur", + "mouseenter", + "mouseleave" + ], "props": [ - ["itemName", "string", "''"], - ["active", "boolean", "false"], - ["defaultClass", "string", "'px-5 py-1.5 text-xs font-medium text-gray-900 hover:bg-gray-200 dark:text-white dark:hover:bg-gray-700 rounded-lg'"], - ["activeClass", "string", "'px-5 py-1.5 text-xs font-medium text-white bg-gray-900 dark:bg-gray-300 dark:text-gray-900 rounded-lg'"] + [ + "itemName", + "string", + "''" + ], + [ + "active", + "boolean", + "false" + ], + [ + "defaultClass", + "string", + "'px-5 py-1.5 text-xs font-medium text-gray-900 hover:bg-gray-200 dark:text-white dark:hover:bg-gray-700 rounded-lg'" + ], + [ + "activeClass", + "string", + "'px-5 py-1.5 text-xs font-medium text-white bg-gray-900 dark:bg-gray-300 dark:text-gray-900 rounded-lg'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/BottomNavItem.json b/src/routes/component-data/BottomNavItem.json index cd2c8f68c..025c56ce5 100644 --- a/src/routes/component-data/BottomNavItem.json +++ b/src/routes/component-data/BottomNavItem.json @@ -1,6 +1,15 @@ { "name": "BottomNavItem", "slots": [], - "events": ["click", "change", "keydown", "keyup", "focus", "blur", "mouseenter", "mouseleave"], + "events": [ + "click", + "change", + "keydown", + "keyup", + "focus", + "blur", + "mouseenter", + "mouseleave" + ], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Breadcrumb.json b/src/routes/component-data/Breadcrumb.json index e128ce4ea..aff034035 100644 --- a/src/routes/component-data/Breadcrumb.json +++ b/src/routes/component-data/Breadcrumb.json @@ -3,11 +3,35 @@ "slots": [], "events": [], "props": [ - ["solid?", "boolean", "false"], - ["navClass?", "string", ""], - ["solidClass?", "string", ""], - ["olClass?", "string", "'inline-flex items-center space-x-1 rtl:space-x-reverse md:space-x-3 rtl:space-x-reverse'"], - ["ariaLabel?", "string", "'Breadcrumb'"], - ["classOl?", "string", "''"] + [ + "solid?", + "boolean", + "false" + ], + [ + "navClass?", + "string", + "" + ], + [ + "solidClass?", + "string", + "" + ], + [ + "olClass?", + "string", + "'inline-flex items-center space-x-1 rtl:space-x-reverse md:space-x-3 rtl:space-x-reverse'" + ], + [ + "ariaLabel?", + "string", + "'Breadcrumb'" + ], + [ + "classOl?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/BreadcrumbItem.json b/src/routes/component-data/BreadcrumbItem.json index 2bbf7069a..dece0dab4 100644 --- a/src/routes/component-data/BreadcrumbItem.json +++ b/src/routes/component-data/BreadcrumbItem.json @@ -1,15 +1,50 @@ { "name": "BreadcrumbItem", - "slots": ["icon", "icon"], + "slots": [ + "icon", + "icon" + ], "events": [], "props": [ - ["home?", "boolean", "false"], - ["href?", "string", "undefined"], - ["linkClass?", "string", "'ms-1 text-sm font-medium text-gray-700 hover:text-gray-900 md:ms-2 dark:text-gray-400 dark:hover:text-white'"], - ["spanClass?", "string", "'ms-1 text-sm font-medium text-gray-500 md:ms-2 dark:text-gray-400'"], - ["homeClass?", "string", "'inline-flex items-center text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white'"], - ["classHome?", "string", "''"], - ["classLink?", "string", "''"], - ["classSpan?", "string", "''"] + [ + "home?", + "boolean", + "false" + ], + [ + "href?", + "string", + "undefined" + ], + [ + "linkClass?", + "string", + "'ms-1 text-sm font-medium text-gray-700 hover:text-gray-900 md:ms-2 dark:text-gray-400 dark:hover:text-white'" + ], + [ + "spanClass?", + "string", + "'ms-1 text-sm font-medium text-gray-500 md:ms-2 dark:text-gray-400'" + ], + [ + "homeClass?", + "string", + "'inline-flex items-center text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white'" + ], + [ + "classHome?", + "string", + "''" + ], + [ + "classLink?", + "string", + "''" + ], + [ + "classSpan?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Button.json b/src/routes/component-data/Button.json index d9bb12f17..3e7da3643 100644 --- a/src/routes/component-data/Button.json +++ b/src/routes/component-data/Button.json @@ -1,6 +1,23 @@ { "name": "Button", "slots": [], - "events": ["click", "change", "keydown", "keyup", "touchend", "touchcancel", "mouseenter", "mouseleave", "click", "change", "keydown", "keyup", "touchend", "touchcancel", "mouseenter", "mouseleave"], + "events": [ + "click", + "change", + "keydown", + "keyup", + "touchend", + "touchcancel", + "mouseenter", + "mouseleave", + "click", + "change", + "keydown", + "keyup", + "touchend", + "touchcancel", + "mouseenter", + "mouseleave" + ], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/ButtonGroup.json b/src/routes/component-data/ButtonGroup.json index 7519deba3..3a9cff5ec 100644 --- a/src/routes/component-data/ButtonGroup.json +++ b/src/routes/component-data/ButtonGroup.json @@ -3,7 +3,15 @@ "slots": [], "events": [], "props": [ - ["size?", "SizeType", "'md'"], - ["divClass?", "string", "'inline-flex rounded-lg shadow-sm'"] + [ + "size?", + "SizeType", + "'md'" + ], + [ + "divClass?", + "string", + "'inline-flex rounded-lg shadow-sm'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Card.json b/src/routes/component-data/Card.json index 22bccba7f..33c4b922b 100644 --- a/src/routes/component-data/Card.json +++ b/src/routes/component-data/Card.json @@ -1,14 +1,48 @@ { "name": "Card", "slots": [], - "events": ["click", "focusin", "focusout", "mouseenter", "mouseleave"], + "events": [ + "click", + "focusin", + "focusout", + "mouseenter", + "mouseleave" + ], "props": [ - ["href?", "string", "undefined"], - ["horizontal?", "boolean", "false"], - ["reverse?", "boolean", "false"], - ["img?", "string", "undefined"], - ["padding?", "SizeType | 'none'", ""], - ["size?", "SizeType | 'none'", ""], - ["imgClass?", "string", "''"] + [ + "href?", + "string", + "undefined" + ], + [ + "horizontal?", + "boolean", + "false" + ], + [ + "reverse?", + "boolean", + "false" + ], + [ + "img?", + "string", + "undefined" + ], + [ + "padding?", + "SizeType | 'none'", + "" + ], + [ + "size?", + "SizeType | 'none'", + "" + ], + [ + "imgClass?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/CardPlaceholder.json b/src/routes/component-data/CardPlaceholder.json index c17a3d0fe..e006bb461 100644 --- a/src/routes/component-data/CardPlaceholder.json +++ b/src/routes/component-data/CardPlaceholder.json @@ -3,7 +3,15 @@ "slots": [], "events": [], "props": [ - ["divClass?", "string", "'p-4 rounded border border-gray-200 shadow animate-pulse md:p-6 dark:border-gray-700'"], - ["size?", "keyof Sizes", ""] + [ + "divClass?", + "string", + "'p-4 rounded border border-gray-200 shadow animate-pulse md:p-6 dark:border-gray-700'" + ], + [ + "size?", + "keyof Sizes", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Chart.json b/src/routes/component-data/Chart.json index f972ced60..f132275f0 100644 --- a/src/routes/component-data/Chart.json +++ b/src/routes/component-data/Chart.json @@ -3,7 +3,15 @@ "slots": [], "events": [], "props": [ - ["options", "ApexOptions", ""], - ["class?", "string", ""] + [ + "options", + "ApexOptions", + "" + ], + [ + "class?", + "string", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Checkbox.json b/src/routes/component-data/Checkbox.json index 9523e9736..b59f93d47 100644 --- a/src/routes/component-data/Checkbox.json +++ b/src/routes/component-data/Checkbox.json @@ -1,19 +1,79 @@ { "name": "Checkbox", "slots": [], - "events": ["keyup", "keydown", "keypress", "focus", "blur", "click", "mouseover", "mouseenter", "mouseleave", "paste", "change"], + "events": [ + "keyup", + "keydown", + "keypress", + "focus", + "blur", + "click", + "mouseover", + "mouseenter", + "mouseleave", + "paste", + "change" + ], "props": [ - ["color?", "FormColorType", ""], - ["custom?", "boolean", ""], - ["inline?", "boolean", ""], - ["group?", "string[]", "[]"], - ["choices?", "CheckboxItem[]", ""], - ["value?", "string | number", "'on'"], - ["checked?", "boolean", "undefined"], - ["spacing?", "string", ""], - ["groupLabelClass?", "string", ""], - ["groupInputClass?", "string", ""], - ["class?", "string", ""], - ["required?", "boolean", ""] + [ + "color?", + "FormColorType", + "" + ], + [ + "custom?", + "boolean", + "" + ], + [ + "inline?", + "boolean", + "" + ], + [ + "group?", + "string[]", + "[]" + ], + [ + "choices?", + "CheckboxItem[]", + "" + ], + [ + "value?", + "string | number", + "'on'" + ], + [ + "checked?", + "boolean", + "undefined" + ], + [ + "spacing?", + "string", + "" + ], + [ + "groupLabelClass?", + "string", + "" + ], + [ + "groupInputClass?", + "string", + "" + ], + [ + "class?", + "string", + "" + ], + [ + "required?", + "boolean", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/CheckboxButton.json b/src/routes/component-data/CheckboxButton.json index c0d0676a8..e23c17ab0 100644 --- a/src/routes/component-data/CheckboxButton.json +++ b/src/routes/component-data/CheckboxButton.json @@ -1,6 +1,18 @@ { "name": "CheckboxButton", "slots": [], - "events": ["keyup", "keydown", "keypress", "focus", "blur", "click", "mouseover", "mouseenter", "mouseleave", "paste", "change"], + "events": [ + "keyup", + "keydown", + "keypress", + "focus", + "blur", + "click", + "mouseover", + "mouseenter", + "mouseleave", + "paste", + "change" + ], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/DarkMode.json b/src/routes/component-data/DarkMode.json index 70114a972..144d119a8 100644 --- a/src/routes/component-data/DarkMode.json +++ b/src/routes/component-data/DarkMode.json @@ -1,10 +1,25 @@ { "name": "DarkMode", - "slots": ["lightIcon", "darkIcon"], + "slots": [ + "lightIcon", + "darkIcon" + ], "events": [], "props": [ - ["btnClass?", "string", "'text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none rounded-lg text-sm p-2.5'"], - ["size?", "'sm' | 'md' | 'lg'", ""], - ["ariaLabel?", "string", "'Dark mode'"] + [ + "btnClass?", + "string", + "'text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none rounded-lg text-sm p-2.5'" + ], + [ + "size?", + "'sm' | 'md' | 'lg'", + "" + ], + [ + "ariaLabel?", + "string", + "'Dark mode'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/DefaultMockup.json b/src/routes/component-data/DefaultMockup.json index 688bb4a32..1389e2773 100644 --- a/src/routes/component-data/DefaultMockup.json +++ b/src/routes/component-data/DefaultMockup.json @@ -3,16 +3,60 @@ "slots": [], "events": [], "props": [ - ["div?", "string", "'relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[14px] rounded-[2.5rem] h-[600px] w-[300px]'"], - ["slot?", "string", "'rounded-[2rem] overflow-hidden w-[272px] h-[572px] bg-white dark:bg-gray-800'"], - ["top?", "string", "'h-[32px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -left-[17px] top-[72px] rounded-l-lg'"], - ["leftTop?", "string", "'h-[46px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -left-[17px] top-[124px] rounded-l-lg'"], - ["leftBot?", "string", "'h-[46px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -left-[17px] top-[178px] rounded-l-lg'"], - ["right?", "string", "'h-[64px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -right-[17px] top-[142px] rounded-r-lg'"], - ["classTop?", "string", "''"], - ["classLeftTop?", "string", "''"], - ["classLeftBot?", "string", "''"], - ["classRight?", "string", "''"], - ["classSlot?", "string", "''"] + [ + "div?", + "string", + "'relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[14px] rounded-[2.5rem] h-[600px] w-[300px]'" + ], + [ + "slot?", + "string", + "'rounded-[2rem] overflow-hidden w-[272px] h-[572px] bg-white dark:bg-gray-800'" + ], + [ + "top?", + "string", + "'h-[32px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -left-[17px] top-[72px] rounded-l-lg'" + ], + [ + "leftTop?", + "string", + "'h-[46px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -left-[17px] top-[124px] rounded-l-lg'" + ], + [ + "leftBot?", + "string", + "'h-[46px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -left-[17px] top-[178px] rounded-l-lg'" + ], + [ + "right?", + "string", + "'h-[64px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -right-[17px] top-[142px] rounded-r-lg'" + ], + [ + "classTop?", + "string", + "''" + ], + [ + "classLeftTop?", + "string", + "''" + ], + [ + "classLeftBot?", + "string", + "''" + ], + [ + "classRight?", + "string", + "''" + ], + [ + "classSlot?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/DescriptionList.json b/src/routes/component-data/DescriptionList.json index 1ee36d869..673191e07 100644 --- a/src/routes/component-data/DescriptionList.json +++ b/src/routes/component-data/DescriptionList.json @@ -3,8 +3,20 @@ "slots": [], "events": [], "props": [ - ["tag?", "'dt' | 'dd'", "'dt'"], - ["dtClass?", "string", "'text-gray-500 md:text-lg dark:text-gray-400'"], - ["ddClass?", "string", "'text-lg font-semibold'"] + [ + "tag?", + "'dt' | 'dd'", + "'dt'" + ], + [ + "dtClass?", + "string", + "'text-gray-500 md:text-lg dark:text-gray-400'" + ], + [ + "ddClass?", + "string", + "'text-lg font-semibold'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Desktop.json b/src/routes/component-data/Desktop.json index 3f9a9d16f..f13dc3280 100644 --- a/src/routes/component-data/Desktop.json +++ b/src/routes/component-data/Desktop.json @@ -3,12 +3,40 @@ "slots": [], "events": [], "props": [ - ["inner?", "string", "'rounded-xl overflow-hidden h-[140px] md:h-[262px]'"], - ["bot?", "string", "'relative mx-auto bg-gray-900 dark:bg-gray-700 rounded-b-xl h-[24px] max-w-[301px] md:h-[42px] md:max-w-[512px]'"], - ["botUnder?", "string", "'relative mx-auto bg-gray-800 rounded-b-xl h-[55px] max-w-[83px] md:h-[95px] md:max-w-[142px]'"], - ["div?", "string", "'relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[16px] rounded-t-xl h-[172px] max-w-[301px] md:h-[294px] md:max-w-[512px]'"], - ["classInner?", "string", "''"], - ["classBot?", "string", "''"], - ["classBotUnder?", "string", "''"] + [ + "inner?", + "string", + "'rounded-xl overflow-hidden h-[140px] md:h-[262px]'" + ], + [ + "bot?", + "string", + "'relative mx-auto bg-gray-900 dark:bg-gray-700 rounded-b-xl h-[24px] max-w-[301px] md:h-[42px] md:max-w-[512px]'" + ], + [ + "botUnder?", + "string", + "'relative mx-auto bg-gray-800 rounded-b-xl h-[55px] max-w-[83px] md:h-[95px] md:max-w-[142px]'" + ], + [ + "div?", + "string", + "'relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[16px] rounded-t-xl h-[172px] max-w-[301px] md:h-[294px] md:max-w-[512px]'" + ], + [ + "classInner?", + "string", + "''" + ], + [ + "classBot?", + "string", + "''" + ], + [ + "classBotUnder?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/DeviceMockup.json b/src/routes/component-data/DeviceMockup.json index a3da10f27..4a0329bef 100644 --- a/src/routes/component-data/DeviceMockup.json +++ b/src/routes/component-data/DeviceMockup.json @@ -2,5 +2,11 @@ "name": "DeviceMockup", "slots": [], "events": [], - "props": [["device?", "'default' | 'ios' | 'android' | 'tablet' | 'laptop' | 'desktop' | 'smartwatch'", ""]] -} + "props": [ + [ + "device?", + "'default' | 'ios' | 'android' | 'tablet' | 'laptop' | 'desktop' | 'smartwatch'", + "" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/Drawer.json b/src/routes/component-data/Drawer.json index f2f5e7b3d..5c6317fd2 100644 --- a/src/routes/component-data/Drawer.json +++ b/src/routes/component-data/Drawer.json @@ -3,21 +3,85 @@ "slots": [], "events": [], "props": [ - ["activateClickOutside?", "boolean", "true"], - ["hidden?", "boolean", "true"], - ["position?", "'fixed' | 'absolute'", "'fixed'"], - ["leftOffset?", "string", "'inset-y-0 start-0'"], - ["rightOffset?", "string", "'inset-y-0 end-0'"], - ["topOffset?", "string", "'inset-x-0 top-0'"], - ["bottomOffset?", "string", "'inset-x-0 bottom-0'"], - ["width?", "string", "'w-80'"], - ["backdrop?", "boolean", "true"], - ["bgColor?", "string", "'bg-gray-900'"], - ["bgOpacity?", "string", "'bg-opacity-75'"], - ["placement?", "'left' | 'right' | 'top' | 'bottom'", ""], - ["id?", "string", "'drawer-example'"], - ["divClass?", "string", "'overflow-y-auto z-50 p-4 bg-white dark:bg-gray-800'"], - ["transitionParams?", "drawerTransitionParamTypes", "{}"], - ["transitionType?", "TransitionTypes", "'fly'"] + [ + "activateClickOutside?", + "boolean", + "true" + ], + [ + "hidden?", + "boolean", + "true" + ], + [ + "position?", + "'fixed' | 'absolute'", + "'fixed'" + ], + [ + "leftOffset?", + "string", + "'inset-y-0 start-0'" + ], + [ + "rightOffset?", + "string", + "'inset-y-0 end-0'" + ], + [ + "topOffset?", + "string", + "'inset-x-0 top-0'" + ], + [ + "bottomOffset?", + "string", + "'inset-x-0 bottom-0'" + ], + [ + "width?", + "string", + "'w-80'" + ], + [ + "backdrop?", + "boolean", + "true" + ], + [ + "bgColor?", + "string", + "'bg-gray-900'" + ], + [ + "bgOpacity?", + "string", + "'bg-opacity-75'" + ], + [ + "placement?", + "'left' | 'right' | 'top' | 'bottom'", + "" + ], + [ + "id?", + "string", + "'drawer-example'" + ], + [ + "divClass?", + "string", + "'overflow-y-auto z-50 p-4 bg-white dark:bg-gray-800'" + ], + [ + "transitionParams?", + "drawerTransitionParamTypes", + "{}" + ], + [ + "transitionType?", + "TransitionTypes", + "'fly'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Dropdown.json b/src/routes/component-data/Dropdown.json index b2fd5f1e4..d51bb353f 100644 --- a/src/routes/component-data/Dropdown.json +++ b/src/routes/component-data/Dropdown.json @@ -1,23 +1,92 @@ { "name": "Dropdown", - "slots": ["header", "footer"], - "events": ["show"], + "slots": [ + "header", + "footer" + ], + "events": [ + "show" + ], "props": [ - ["activeUrl?", "string", "undefined"], - ["open?", "boolean", "false"], - ["containerClass?", "string", "'divide-y z-50'"], - ["classContainer?", "string", "undefined"], - ["headerClass?", "string", "'py-1 overflow-hidden rounded-t-lg'"], - ["classHeader?", "string", "undefined"], - ["footerClass?", "string", "'py-1 overflow-hidden rounded-b-lg'"], - ["classFooter?", "string", "undefined"], - ["activeClass?", "string", "'text-primary-700 dark:text-primary-700 hover:text-primary-900 dark:hover:text-primary-900'"], - ["classActive?", "string", "undefined"], - ["arrow?", "boolean", "false"], - ["trigger?", "'hover' | 'click' | 'focus'", "'click'"], - ["placement?", "Placement", "'bottom'"], - ["color?", "FrameColor", "'dropdown'"], - ["shadow?", "boolean", "true"], - ["rounded?", "boolean", "true"] + [ + "activeUrl?", + "string", + "undefined" + ], + [ + "open?", + "boolean", + "false" + ], + [ + "containerClass?", + "string", + "'divide-y z-50'" + ], + [ + "classContainer?", + "string", + "undefined" + ], + [ + "headerClass?", + "string", + "'py-1 overflow-hidden rounded-t-lg'" + ], + [ + "classHeader?", + "string", + "undefined" + ], + [ + "footerClass?", + "string", + "'py-1 overflow-hidden rounded-b-lg'" + ], + [ + "classFooter?", + "string", + "undefined" + ], + [ + "activeClass?", + "string", + "'text-primary-700 dark:text-primary-700 hover:text-primary-900 dark:hover:text-primary-900'" + ], + [ + "classActive?", + "string", + "undefined" + ], + [ + "arrow?", + "boolean", + "false" + ], + [ + "trigger?", + "'hover' | 'click' | 'focus'", + "'click'" + ], + [ + "placement?", + "Placement", + "'bottom'" + ], + [ + "color?", + "FrameColor", + "'dropdown'" + ], + [ + "shadow?", + "boolean", + "true" + ], + [ + "rounded?", + "boolean", + "true" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/DropdownDivider.json b/src/routes/component-data/DropdownDivider.json index 708a38758..d66c3c5df 100644 --- a/src/routes/component-data/DropdownDivider.json +++ b/src/routes/component-data/DropdownDivider.json @@ -2,5 +2,11 @@ "name": "DropdownDivider", "slots": [], "events": [], - "props": [["divClass?", "string", "'my-1 h-px bg-gray-100 dark:bg-gray-600'"]] -} + "props": [ + [ + "divClass?", + "string", + "'my-1 h-px bg-gray-100 dark:bg-gray-600'" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/DropdownHeader.json b/src/routes/component-data/DropdownHeader.json index 8f112b4b0..2e6149766 100644 --- a/src/routes/component-data/DropdownHeader.json +++ b/src/routes/component-data/DropdownHeader.json @@ -3,7 +3,15 @@ "slots": [], "events": [], "props": [ - ["divClass?", "string", "'py-2 px-4 text-gray-700 dark:text-white'"], - ["divider?", "boolean", "true"] + [ + "divClass?", + "string", + "'py-2 px-4 text-gray-700 dark:text-white'" + ], + [ + "divider?", + "boolean", + "true" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/DropdownItem.json b/src/routes/component-data/DropdownItem.json index 0e1e9671f..f3be0dc48 100644 --- a/src/routes/component-data/DropdownItem.json +++ b/src/routes/component-data/DropdownItem.json @@ -1,6 +1,15 @@ { "name": "DropdownItem", "slots": [], - "events": ["click", "change", "keydown", "keyup", "focus", "blur", "mouseenter", "mouseleave"], + "events": [ + "click", + "change", + "keydown", + "keyup", + "focus", + "blur", + "mouseenter", + "mouseleave" + ], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Dropzone.json b/src/routes/component-data/Dropzone.json index 907f6ce70..6dcd1695c 100644 --- a/src/routes/component-data/Dropzone.json +++ b/src/routes/component-data/Dropzone.json @@ -1,6 +1,18 @@ { "name": "Dropzone", "slots": [], - "events": ["focus", "blur", "mouseenter", "mouseleave", "mouseover", "dragenter", "dragleave", "dragover", "drop", "change", "click"], + "events": [ + "focus", + "blur", + "mouseenter", + "mouseleave", + "mouseover", + "dragenter", + "dragleave", + "dragover", + "drop", + "change", + "click" + ], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Fileupload.json b/src/routes/component-data/Fileupload.json index 15de5deab..47b428e27 100644 --- a/src/routes/component-data/Fileupload.json +++ b/src/routes/component-data/Fileupload.json @@ -1,9 +1,50 @@ { "name": "Fileupload", "slots": [], - "events": ["change", "keyup", "keydown", "keypress", "focus", "blur", "click", "mouseover", "mouseenter", "mouseleave", "paste"], + "events": [ + "change", + "keyup", + "keydown", + "keypress", + "focus", + "blur", + "click", + "mouseover", + "mouseenter", + "mouseleave", + "paste", + "change", + "keyup", + "keydown", + "keypress", + "focus", + "blur", + "click", + "mouseover", + "mouseenter", + "mouseleave", + "paste" + ], "props": [ - ["files?", "FileList | undefined", "undefined"], - ["inputClass?", "string", "'border !p-0 dark:text-gray-400'"] + [ + "files?", + "FileList | undefined", + "undefined" + ], + [ + "inputClass?", + "string", + "'border !p-0 dark:text-gray-400'" + ], + [ + "clearable?", + "boolean", + "false" + ], + [ + "size?", + "'sm' | 'md' | 'lg'", + "'md'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/FloatingLabelInput.json b/src/routes/component-data/FloatingLabelInput.json index 0cf5029ec..211127446 100644 --- a/src/routes/component-data/FloatingLabelInput.json +++ b/src/routes/component-data/FloatingLabelInput.json @@ -1,16 +1,65 @@ { "name": "FloatingLabelInput", "slots": [], - "events": ["blur", "change", "click", "focus", "input", "keydown", "keypress", "keyup", "mouseenter", "mouseleave", "mouseover", "paste"], + "events": [ + "blur", + "change", + "click", + "focus", + "input", + "keydown", + "keypress", + "keyup", + "mouseenter", + "mouseleave", + "mouseover", + "paste" + ], "props": [ - ["id?", "string", "generateId()"], - ["style?", "'filled' | 'outlined' | 'standard'", ""], - ["type?", "InputType", ""], - ["size?", "'small' | 'default'", ""], - ["color?", "'base' | 'green' | 'red'", ""], - ["value?", "any", "undefined"], - ["classDiv?", "string", "''"], - ["classInput?", "string", "''"], - ["classLabel?", "string", "''"] + [ + "id?", + "string", + "generateId()" + ], + [ + "style?", + "'filled' | 'outlined' | 'standard'", + "" + ], + [ + "type?", + "InputType", + "" + ], + [ + "size?", + "'small' | 'default'", + "" + ], + [ + "color?", + "'base' | 'green' | 'red'", + "" + ], + [ + "value?", + "string | number | readonly string[] | undefined", + "undefined" + ], + [ + "classDiv?", + "string", + "''" + ], + [ + "classInput?", + "string", + "''" + ], + [ + "classLabel?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Footer.json b/src/routes/component-data/Footer.json index f2a771a09..717055f48 100644 --- a/src/routes/component-data/Footer.json +++ b/src/routes/component-data/Footer.json @@ -2,5 +2,11 @@ "name": "Footer", "slots": [], "events": [], - "props": [["footerType?", "'sitemap' | 'default' | 'logo' | 'socialmedia'", "undefined"]] -} + "props": [ + [ + "footerType?", + "'sitemap' | 'default' | 'logo' | 'socialmedia'", + "undefined" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/FooterBrand.json b/src/routes/component-data/FooterBrand.json index cb543b652..ac96249a2 100644 --- a/src/routes/component-data/FooterBrand.json +++ b/src/routes/component-data/FooterBrand.json @@ -3,16 +3,60 @@ "slots": [], "events": [], "props": [ - ["aClass?", "string", "'flex items-center'"], - ["spanClass?", "string", "'self-center text-2xl font-semibold whitespace-nowrap dark:text-white'"], - ["imgClass?", "string", "'me-3 h-8'"], - ["href?", "string", "''"], - ["src?", "string", "''"], - ["alt?", "string", "''"], - ["name?", "string", "''"], - ["target?", "string", "''"], - ["classA?", "string", "''"], - ["classSpan?", "string", "''"], - ["classImg?", "string", "''"] + [ + "aClass?", + "string", + "'flex items-center'" + ], + [ + "spanClass?", + "string", + "'self-center text-2xl font-semibold whitespace-nowrap dark:text-white'" + ], + [ + "imgClass?", + "string", + "'me-3 h-8'" + ], + [ + "href?", + "string", + "''" + ], + [ + "src?", + "string", + "''" + ], + [ + "alt?", + "string", + "''" + ], + [ + "name?", + "string", + "''" + ], + [ + "target?", + "string", + "''" + ], + [ + "classA?", + "string", + "''" + ], + [ + "classSpan?", + "string", + "''" + ], + [ + "classImg?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/FooterCopyright.json b/src/routes/component-data/FooterCopyright.json index c6640d605..67853ffab 100644 --- a/src/routes/component-data/FooterCopyright.json +++ b/src/routes/component-data/FooterCopyright.json @@ -3,14 +3,50 @@ "slots": [], "events": [], "props": [ - ["spanClass?", "string", "'block text-sm text-gray-500 sm:text-center dark:text-gray-400'"], - ["aClass?", "string", "'hover:underline'"], - ["year?", "number", "new Date().getFullYear()"], - ["by?", "string", "''"], - ["href?", "string", "''"], - ["target?", "string", "undefined"], - ["copyrightMessage?", "string", "'All Rights Reserved.'"], - ["classSpan?", "string", "''"], - ["classA?", "string", "''"] + [ + "spanClass?", + "string", + "'block text-sm text-gray-500 sm:text-center dark:text-gray-400'" + ], + [ + "aClass?", + "string", + "'hover:underline'" + ], + [ + "year?", + "number", + "new Date().getFullYear()" + ], + [ + "by?", + "string", + "''" + ], + [ + "href?", + "string", + "''" + ], + [ + "target?", + "string", + "undefined" + ], + [ + "copyrightMessage?", + "string", + "'All Rights Reserved.'" + ], + [ + "classSpan?", + "string", + "''" + ], + [ + "classA?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/FooterIcon.json b/src/routes/component-data/FooterIcon.json index d6f2d1463..4c6391b91 100644 --- a/src/routes/component-data/FooterIcon.json +++ b/src/routes/component-data/FooterIcon.json @@ -3,9 +3,25 @@ "slots": [], "events": [], "props": [ - ["href?", "string", "''"], - ["ariaLabel?", "string", "''"], - ["aClass?", "string", "'text-gray-500 hover:text-gray-900 dark:hover:text-white'"], - ["target?", "string", "undefined"] + [ + "href?", + "string", + "''" + ], + [ + "ariaLabel?", + "string", + "''" + ], + [ + "aClass?", + "string", + "'text-gray-500 hover:text-gray-900 dark:hover:text-white'" + ], + [ + "target?", + "string", + "undefined" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/FooterLink.json b/src/routes/component-data/FooterLink.json index f75d0d966..05c2c2511 100644 --- a/src/routes/component-data/FooterLink.json +++ b/src/routes/component-data/FooterLink.json @@ -3,11 +3,35 @@ "slots": [], "events": [], "props": [ - ["liClass?", "string", "'me-4 last:me-0 md:me-6'"], - ["aClass?", "string", "'hover:underline'"], - ["href?", "string", "''"], - ["target?", "string", "undefined"], - ["classLi?", "string", "''"], - ["classA?", "string", "''"] + [ + "liClass?", + "string", + "'me-4 last:me-0 md:me-6'" + ], + [ + "aClass?", + "string", + "'hover:underline'" + ], + [ + "href?", + "string", + "''" + ], + [ + "target?", + "string", + "undefined" + ], + [ + "classLi?", + "string", + "''" + ], + [ + "classA?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/FooterLinkGroup.json b/src/routes/component-data/FooterLinkGroup.json index 97b8d07a9..9dab78c49 100644 --- a/src/routes/component-data/FooterLinkGroup.json +++ b/src/routes/component-data/FooterLinkGroup.json @@ -2,5 +2,11 @@ "name": "FooterLinkGroup", "slots": [], "events": [], - "props": [["ulClass?", "string", "'text-gray-600 dark:text-gray-400'"]] -} + "props": [ + [ + "ulClass?", + "string", + "'text-gray-600 dark:text-gray-400'" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/Frame.json b/src/routes/component-data/Frame.json index 17b3150cc..f93b2b889 100644 --- a/src/routes/component-data/Frame.json +++ b/src/routes/component-data/Frame.json @@ -1,20 +1,83 @@ { "name": "Frame", "slots": [], - "events": ["click", "mouseenter", "mouseleave", "focusin", "focusout", "click", "mouseenter", "mouseleave", "focusin", "focusout"], + "events": [ + "click", + "mouseenter", + "mouseleave", + "focusin", + "focusout", + "click", + "mouseenter", + "mouseleave", + "focusin", + "focusout" + ], "props": [ - ["tag?", "string", ""], - ["color?", "FrameColor", ""], - ["rounded?", "boolean", ""], - ["border?", "boolean", ""], - ["shadow?", "boolean", ""], - ["node?", "HTMLElement | undefined", ""], - ["use?", "Action", ""], - ["options?", "object", ""], - ["class?", "string", ""], - ["role?", "string", ""], - ["open?", "boolean", ""], - ["transition?", "TransitionFunc", ""], - ["params?", "any", ""] + [ + "tag?", + "string", + "" + ], + [ + "color?", + "FrameColor", + "" + ], + [ + "rounded?", + "boolean", + "" + ], + [ + "border?", + "boolean", + "" + ], + [ + "shadow?", + "boolean", + "" + ], + [ + "node?", + "HTMLElement | undefined", + "" + ], + [ + "use?", + "Action", + "" + ], + [ + "options?", + "object", + "" + ], + [ + "class?", + "string", + "" + ], + [ + "role?", + "string", + "" + ], + [ + "open?", + "boolean", + "" + ], + [ + "transition?", + "TransitionFunc", + "" + ], + [ + "params?", + "any", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Gallery.json b/src/routes/component-data/Gallery.json index cc0d4990e..8c2294ca9 100644 --- a/src/routes/component-data/Gallery.json +++ b/src/routes/component-data/Gallery.json @@ -3,7 +3,15 @@ "slots": [], "events": [], "props": [ - ["items", "ImgType[]", "[]"], - ["imgClass?", "string", "'h-auto max-w-full rounded-lg'"] + [ + "items", + "ImgType[]", + "[]" + ], + [ + "imgClass?", + "string", + "'h-auto max-w-full rounded-lg'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/GradientButton.json b/src/routes/component-data/GradientButton.json index 3579a8f17..5abfb3470 100644 --- a/src/routes/component-data/GradientButton.json +++ b/src/routes/component-data/GradientButton.json @@ -1,9 +1,33 @@ { "name": "GradientButton", "slots": [], - "events": ["click", "change", "keydown", "keyup", "mouseenter", "mouseleave", "click", "change", "keydown", "keyup", "touchstart", "touchend", "touchcancel", "mouseenter", "mouseleave"], + "events": [ + "click", + "change", + "keydown", + "keyup", + "mouseenter", + "mouseleave", + "click", + "change", + "keydown", + "keyup", + "touchstart", + "touchend", + "touchcancel", + "mouseenter", + "mouseleave" + ], "props": [ - ["color?", "keyof typeof gradientClasses", ""], - ["shadow?", "boolean", "false"] + [ + "color?", + "keyof typeof gradientClasses", + "" + ], + [ + "shadow?", + "boolean", + "false" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Group.json b/src/routes/component-data/Group.json index 233a7d77e..ad251c6c8 100644 --- a/src/routes/component-data/Group.json +++ b/src/routes/component-data/Group.json @@ -3,12 +3,40 @@ "slots": [], "events": [], "props": [ - ["divClass?", "string", "'p-5 mb-4 bg-gray-50 rounded-lg border border-gray-100 dark:bg-gray-800 dark:border-gray-700'"], - ["timeClass?", "string", "'text-lg font-semibold text-gray-900 dark:text-white'"], - ["date?", "Date | string", "''"], - ["olClass?", "string", "'mt-3 divide-y divider-gray-200 dark:divide-gray-700'"], - ["classDiv?", "string", "''"], - ["classTime?", "string", "''"], - ["classOl?", "string", "''"] + [ + "divClass?", + "string", + "'p-5 mb-4 bg-gray-50 rounded-lg border border-gray-100 dark:bg-gray-800 dark:border-gray-700'" + ], + [ + "timeClass?", + "string", + "'text-lg font-semibold text-gray-900 dark:text-white'" + ], + [ + "date?", + "Date | string", + "''" + ], + [ + "olClass?", + "string", + "'mt-3 divide-y divider-gray-200 dark:divide-gray-700'" + ], + [ + "classDiv?", + "string", + "''" + ], + [ + "classTime?", + "string", + "''" + ], + [ + "classOl?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/GroupItem.json b/src/routes/component-data/GroupItem.json index 25da91d53..6d734c830 100644 --- a/src/routes/component-data/GroupItem.json +++ b/src/routes/component-data/GroupItem.json @@ -3,17 +3,65 @@ "slots": [], "events": [], "props": [ - ["timelines", "GroupTimelineType[]", ""], - ["aClass?", "string", "'block items-center p-3 sm:flex hover:bg-gray-100 dark:hover:bg-gray-700'"], - ["imgClass?", "string", "'me-3 mb-3 w-12 h-12 rounded-full sm:mb-0'"], - ["divClass?", "string", "'text-gray-600 dark:text-gray-400'"], - ["titleClass?", "string", "'text-base font-normal'"], - ["spanClass?", "string", "'inline-flex items-center text-xs font-normal text-gray-500 dark:text-gray-400'"], - ["isPrivacy?", "boolean", "true"], - ["classA?", "string", "''"], - ["classImg?", "string", "''"], - ["classDiv?", "string", "''"], - ["classTitle?", "string", "''"], - ["classSpan?", "string", "''"] + [ + "timelines", + "GroupTimelineType[]", + "" + ], + [ + "aClass?", + "string", + "'block items-center p-3 sm:flex hover:bg-gray-100 dark:hover:bg-gray-700'" + ], + [ + "imgClass?", + "string", + "'me-3 mb-3 w-12 h-12 rounded-full sm:mb-0'" + ], + [ + "divClass?", + "string", + "'text-gray-600 dark:text-gray-400'" + ], + [ + "titleClass?", + "string", + "'text-base font-normal'" + ], + [ + "spanClass?", + "string", + "'inline-flex items-center text-xs font-normal text-gray-500 dark:text-gray-400'" + ], + [ + "isPrivacy?", + "boolean", + "true" + ], + [ + "classA?", + "string", + "''" + ], + [ + "classImg?", + "string", + "''" + ], + [ + "classDiv?", + "string", + "''" + ], + [ + "classTitle?", + "string", + "''" + ], + [ + "classSpan?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Heading.json b/src/routes/component-data/Heading.json index a56b41551..89d31e08d 100644 --- a/src/routes/component-data/Heading.json +++ b/src/routes/component-data/Heading.json @@ -3,8 +3,20 @@ "slots": [], "events": [], "props": [ - ["tag?", "'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'", ""], - ["color?", "string", "'text-gray-900 dark:text-white'"], - ["customSize?", "string", "''"] + [ + "tag?", + "'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'", + "" + ], + [ + "color?", + "string", + "'text-gray-900 dark:text-white'" + ], + [ + "customSize?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Heart.json b/src/routes/component-data/Heart.json index 8cff72186..4eab66f69 100644 --- a/src/routes/component-data/Heart.json +++ b/src/routes/component-data/Heart.json @@ -1,14 +1,44 @@ { "name": "Heart", "slots": [], - "events": ["click"], + "events": [ + "click" + ], "props": [ - ["fillPercent?", "number", "100"], - ["fillColor?", "string", "'#ff0000'"], - ["strokeColor?", "string", "'#ff0000'"], - ["size?", "number", "24"], - ["ariaLabel?", "string", "'heart'"], - ["id?", "string", "'heart'"], - ["role?", "string", "'img'"] + [ + "fillPercent?", + "number", + "100" + ], + [ + "fillColor?", + "string", + "'#ff0000'" + ], + [ + "strokeColor?", + "string", + "'#ff0000'" + ], + [ + "size?", + "number", + "24" + ], + [ + "ariaLabel?", + "string", + "'heart'" + ], + [ + "id?", + "string", + "'heart'" + ], + [ + "role?", + "string", + "'img'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Helper.json b/src/routes/component-data/Helper.json index 33301bc58..c0ad71e2a 100644 --- a/src/routes/component-data/Helper.json +++ b/src/routes/component-data/Helper.json @@ -3,7 +3,15 @@ "slots": [], "events": [], "props": [ - ["helperClass?", "string", "'text-xs font-normal text-gray-500 dark:text-gray-300'"], - ["color?", "'gray' | 'green' | 'red' | 'disabled'", ""] + [ + "helperClass?", + "string", + "'text-xs font-normal text-gray-500 dark:text-gray-300'" + ], + [ + "color?", + "'gray' | 'green' | 'red' | 'disabled'", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Hr.json b/src/routes/component-data/Hr.json index 2932b984b..6d6e88a00 100644 --- a/src/routes/component-data/Hr.json +++ b/src/routes/component-data/Hr.json @@ -3,14 +3,50 @@ "slots": [], "events": [], "props": [ - ["icon?", "boolean", "false"], - ["divClass?", "string", "'inline-flex items-center justify-center w-full'"], - ["hrClass?", "string", "'h-px my-8 bg-gray-200 border-0 dark:bg-gray-700'"], - ["iconDivClass?", "string", "'absolute start-1/2 px-4 bg-white -translate-x-1/2 rtl:translate-x-1/2 '"], - ["textSpanClass?", "string", "'absolute px-3 font-medium text-gray-900 -translate-x-1/2 rtl:translate-x-1/2 bg-white start-1/2 dark:text-white dark:bg-gray-900 '"], - ["innerDivClass?", "string", "'absolute px-4 -translate-x-1/2 rtl:translate-x-1/2 bg-white start-1/2 dark:bg-gray-900'"], - ["classHr?", "string", "''"], - ["classDiv?", "string", "''"], - ["classInnerDiv?", "string", "''"] + [ + "icon?", + "boolean", + "false" + ], + [ + "divClass?", + "string", + "'inline-flex items-center justify-center w-full'" + ], + [ + "hrClass?", + "string", + "'h-px my-8 bg-gray-200 border-0 dark:bg-gray-700'" + ], + [ + "iconDivClass?", + "string", + "'absolute start-1/2 px-4 bg-white -translate-x-1/2 rtl:translate-x-1/2 '" + ], + [ + "textSpanClass?", + "string", + "'absolute px-3 font-medium text-gray-900 -translate-x-1/2 rtl:translate-x-1/2 bg-white start-1/2 dark:text-white dark:bg-gray-900 '" + ], + [ + "innerDivClass?", + "string", + "'absolute px-4 -translate-x-1/2 rtl:translate-x-1/2 bg-white start-1/2 dark:bg-gray-900'" + ], + [ + "classHr?", + "string", + "''" + ], + [ + "classDiv?", + "string", + "''" + ], + [ + "classInnerDiv?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/ImagePlaceholder.json b/src/routes/component-data/ImagePlaceholder.json index 67f1ac847..109915c89 100644 --- a/src/routes/component-data/ImagePlaceholder.json +++ b/src/routes/component-data/ImagePlaceholder.json @@ -3,8 +3,20 @@ "slots": [], "events": [], "props": [ - ["divClass?", "string", "'space-y-8 animate-pulse md:space-y-0 md:space-x-8 rtl:space-x-reverse md:flex md:items-center'"], - ["imgHeight?", "string", "'48'"], - ["imgOnly?", "boolean", "false"] + [ + "divClass?", + "string", + "'space-y-8 animate-pulse md:space-y-0 md:space-x-8 rtl:space-x-reverse md:flex md:items-center'" + ], + [ + "imgHeight?", + "string", + "'48'" + ], + [ + "imgOnly?", + "boolean", + "false" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Img.json b/src/routes/component-data/Img.json index 30514f5f3..c3d9864ec 100644 --- a/src/routes/component-data/Img.json +++ b/src/routes/component-data/Img.json @@ -3,15 +3,55 @@ "slots": [], "events": [], "props": [ - ["caption?", "string", "undefined"], - ["src?", "string", "undefined"], - ["srcset?", "string", "undefined"], - ["size?", "string", "'max-w-full'"], - ["alignment?", "string", "''"], - ["imgClass?", "string", "'h-auto'"], - ["figClass?", "string", "'max-w-lg'"], - ["alt?", "string", "''"], - ["effect?", "string", "''"], - ["captionClass?", "string", "'mt-2 text-sm text-center text-gray-500 dark:text-gray-400'"] + [ + "caption?", + "string", + "undefined" + ], + [ + "src?", + "string", + "undefined" + ], + [ + "srcset?", + "string", + "undefined" + ], + [ + "size?", + "string", + "'max-w-full'" + ], + [ + "alignment?", + "string", + "''" + ], + [ + "imgClass?", + "string", + "'h-auto'" + ], + [ + "figClass?", + "string", + "'max-w-lg'" + ], + [ + "alt?", + "string", + "''" + ], + [ + "effect?", + "string", + "''" + ], + [ + "captionClass?", + "string", + "'mt-2 text-sm text-center text-gray-500 dark:text-gray-400'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Indicator.json b/src/routes/component-data/Indicator.json index 9482807e9..f400ff0a6 100644 --- a/src/routes/component-data/Indicator.json +++ b/src/routes/component-data/Indicator.json @@ -3,11 +3,35 @@ "slots": [], "events": [], "props": [ - ["color?", "IndicatorColorType", ""], - ["rounded?", "boolean", "false"], - ["size?", "'xs' | 'sm' | 'md' | 'lg' | 'xl'", ""], - ["border?", "boolean", "false"], - ["placement?", "IndicatorPlacementType", "undefined"], - ["offset?", "boolean", "true"] + [ + "color?", + "IndicatorColorType", + "" + ], + [ + "rounded?", + "boolean", + "false" + ], + [ + "size?", + "'xs' | 'sm' | 'md' | 'lg' | 'xl'", + "" + ], + [ + "border?", + "boolean", + "false" + ], + [ + "placement?", + "IndicatorPlacementType", + "undefined" + ], + [ + "offset?", + "boolean", + "true" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Input.json b/src/routes/component-data/Input.json index e6bd2847a..f3a8cc3f0 100644 --- a/src/routes/component-data/Input.json +++ b/src/routes/component-data/Input.json @@ -1,16 +1,69 @@ { "name": "Input", - "slots": ["left", "right"], - "events": ["blur", "change", "click", "contextmenu", "focus", "keydown", "keypress", "keyup", "mouseover", "mouseenter", "mouseleave", "paste", "input"], + "slots": [ + "left", + "right" + ], + "events": [ + "blur", + "change", + "click", + "contextmenu", + "focus", + "keydown", + "keypress", + "keyup", + "mouseover", + "mouseenter", + "mouseleave", + "paste", + "input" + ], "props": [ - ["type?", "InputType", "'text'"], - ["value?", "any", "undefined"], - ["size?", "FormSizeType", "undefined"], - ["clearable?", "boolean", "false"], - ["defaultClass?", "string", "'block w-full disabled:cursor-not-allowed disabled:opacity-50 rtl:text-right'"], - ["color?", "'base' | 'green' | 'red'", ""], - ["floatClass?", "string", "'flex absolute inset-y-0 items-center text-gray-500 dark:text-gray-400'"], - ["classLeft?", "string", "''"], - ["classRight?", "string", "''"] + [ + "type?", + "InputType", + "'text'" + ], + [ + "value?", + "any", + "undefined" + ], + [ + "size?", + "FormSizeType", + "undefined" + ], + [ + "clearable?", + "boolean", + "false" + ], + [ + "defaultClass?", + "string", + "'block w-full disabled:cursor-not-allowed disabled:opacity-50 rtl:text-right'" + ], + [ + "color?", + "'base' | 'green' | 'red'", + "" + ], + [ + "floatClass?", + "string", + "'flex absolute inset-y-0 items-center text-gray-500 dark:text-gray-400'" + ], + [ + "classLeft?", + "string", + "''" + ], + [ + "classRight?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/InputAddon.json b/src/routes/component-data/InputAddon.json index e193fc4c4..4c31ce7e1 100644 --- a/src/routes/component-data/InputAddon.json +++ b/src/routes/component-data/InputAddon.json @@ -2,5 +2,11 @@ "name": "InputAddon", "slots": [], "events": [], - "props": [["size?", "'sm' | 'md' | 'lg'", "undefined"]] -} + "props": [ + [ + "size?", + "'sm' | 'md' | 'lg'", + "undefined" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/Ios.json b/src/routes/component-data/Ios.json index 27d88b7a8..94752a02d 100644 --- a/src/routes/component-data/Ios.json +++ b/src/routes/component-data/Ios.json @@ -3,16 +3,60 @@ "slots": [], "events": [], "props": [ - ["div?", "string", "'relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[14px] rounded-[2.5rem] h-[600px] w-[300px] shadow-xl'"], - ["slot?", "string", "'rounded-[2rem] overflow-hidden w-[272px] h-[572px] bg-white dark:bg-gray-800'"], - ["top?", "string", "'w-[148px] h-[18px] bg-gray-800 top-0 rounded-b-[1rem] left-1/2 -translate-x-1/2 absolute'"], - ["leftTop?", "string", "'h-[46px] w-[3px] bg-gray-800 absolute -left-[17px] top-[124px] rounded-l-lg'"], - ["leftBot?", "string", "'h-[46px] w-[3px] bg-gray-800 absolute -left-[17px] top-[178px] rounded-l-lg'"], - ["right?", "string", "'h-[64px] w-[3px] bg-gray-800 absolute -right-[17px] top-[142px] rounded-r-lg'"], - ["classTop?", "string", "''"], - ["classLeftTop?", "string", "''"], - ["classLeftBot?", "string", "''"], - ["classRight?", "string", "''"], - ["classSlot?", "string", "''"] + [ + "div?", + "string", + "'relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[14px] rounded-[2.5rem] h-[600px] w-[300px] shadow-xl'" + ], + [ + "slot?", + "string", + "'rounded-[2rem] overflow-hidden w-[272px] h-[572px] bg-white dark:bg-gray-800'" + ], + [ + "top?", + "string", + "'w-[148px] h-[18px] bg-gray-800 top-0 rounded-b-[1rem] left-1/2 -translate-x-1/2 absolute'" + ], + [ + "leftTop?", + "string", + "'h-[46px] w-[3px] bg-gray-800 absolute -left-[17px] top-[124px] rounded-l-lg'" + ], + [ + "leftBot?", + "string", + "'h-[46px] w-[3px] bg-gray-800 absolute -left-[17px] top-[178px] rounded-l-lg'" + ], + [ + "right?", + "string", + "'h-[64px] w-[3px] bg-gray-800 absolute -right-[17px] top-[142px] rounded-r-lg'" + ], + [ + "classTop?", + "string", + "''" + ], + [ + "classLeftTop?", + "string", + "''" + ], + [ + "classLeftBot?", + "string", + "''" + ], + [ + "classRight?", + "string", + "''" + ], + [ + "classSlot?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Kbd.json b/src/routes/component-data/Kbd.json index 09b4162bc..b92a43e49 100644 --- a/src/routes/component-data/Kbd.json +++ b/src/routes/component-data/Kbd.json @@ -2,5 +2,11 @@ "name": "Kbd", "slots": [], "events": [], - "props": [["kbdClass?", "string", "'text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500'"]] -} + "props": [ + [ + "kbdClass?", + "string", + "'text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500'" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/Label.json b/src/routes/component-data/Label.json index 33f13ff6e..e5f074199 100644 --- a/src/routes/component-data/Label.json +++ b/src/routes/component-data/Label.json @@ -3,8 +3,20 @@ "slots": [], "events": [], "props": [ - ["color?", "'gray' | 'green' | 'red' | 'disabled'", ""], - ["defaultClass?", "string", "'text-sm rtl:text-right font-medium block'"], - ["show?", "boolean", "true"] + [ + "color?", + "'gray' | 'green' | 'red' | 'disabled'", + "" + ], + [ + "defaultClass?", + "string", + "'text-sm rtl:text-right font-medium block'" + ], + [ + "show?", + "boolean", + "true" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Laptop.json b/src/routes/component-data/Laptop.json index 7929269b9..a94b364e0 100644 --- a/src/routes/component-data/Laptop.json +++ b/src/routes/component-data/Laptop.json @@ -3,12 +3,40 @@ "slots": [], "events": [], "props": [ - ["div?", "string", "'relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[8px] rounded-t-xl h-[172px] max-w-[301px] md:h-[294px] md:max-w-[512px]'"], - ["inner?", "string", "'rounded-lg overflow-hidden h-[156px] md:h-[278px] bg-white dark:bg-gray-800'"], - ["bot?", "string", "'relative mx-auto bg-gray-900 dark:bg-gray-700 rounded-b-xl rounded-t-sm h-[17px] max-w-[351px] md:h-[21px] md:max-w-[597px]'"], - ["botCen?", "string", "'absolute left-1/2 top-0 -translate-x-1/2 rounded-b-xl w-[56px] h-[5px] md:w-[96px] md:h-[8px] bg-gray-800'"], - ["classInner?", "string", "''"], - ["classBot?", "string", "''"], - ["classBotCen?", "string", "''"] + [ + "div?", + "string", + "'relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[8px] rounded-t-xl h-[172px] max-w-[301px] md:h-[294px] md:max-w-[512px]'" + ], + [ + "inner?", + "string", + "'rounded-lg overflow-hidden h-[156px] md:h-[278px] bg-white dark:bg-gray-800'" + ], + [ + "bot?", + "string", + "'relative mx-auto bg-gray-900 dark:bg-gray-700 rounded-b-xl rounded-t-sm h-[17px] max-w-[351px] md:h-[21px] md:max-w-[597px]'" + ], + [ + "botCen?", + "string", + "'absolute left-1/2 top-0 -translate-x-1/2 rounded-b-xl w-[56px] h-[5px] md:w-[96px] md:h-[8px] bg-gray-800'" + ], + [ + "classInner?", + "string", + "''" + ], + [ + "classBot?", + "string", + "''" + ], + [ + "classBotCen?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Layout.json b/src/routes/component-data/Layout.json index 0665799a5..e423e12ed 100644 --- a/src/routes/component-data/Layout.json +++ b/src/routes/component-data/Layout.json @@ -3,8 +3,20 @@ "slots": [], "events": [], "props": [ - ["divClass?", "string", "'grid'"], - ["cols?", "string", "'grid-cols-1 sm:grid-cols-2'"], - ["gap?", "number", "6"] + [ + "divClass?", + "string", + "'grid'" + ], + [ + "cols?", + "string", + "'grid-cols-1 sm:grid-cols-2'" + ], + [ + "gap?", + "number", + "6" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Li.json b/src/routes/component-data/Li.json index 29e8b1c1e..a664750bc 100644 --- a/src/routes/component-data/Li.json +++ b/src/routes/component-data/Li.json @@ -3,7 +3,15 @@ "slots": [], "events": [], "props": [ - ["icon?", "boolean", "false"], - ["liClass?", "string", "''"] + [ + "icon?", + "boolean", + "false" + ], + [ + "liClass?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/List.json b/src/routes/component-data/List.json index f7656e203..ed84aa7eb 100644 --- a/src/routes/component-data/List.json +++ b/src/routes/component-data/List.json @@ -3,4 +3,4 @@ "slots": [], "events": [], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/ListPlaceholder.json b/src/routes/component-data/ListPlaceholder.json index 7edd88b73..53c9eb6e8 100644 --- a/src/routes/component-data/ListPlaceholder.json +++ b/src/routes/component-data/ListPlaceholder.json @@ -2,5 +2,11 @@ "name": "ListPlaceholder", "slots": [], "events": [], - "props": [["divClass?", "string", "'p-4 space-y-4 max-w-md rounded border border-gray-200 divide-y divide-gray-200 shadow animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700'"]] -} + "props": [ + [ + "divClass?", + "string", + "'p-4 space-y-4 max-w-md rounded border border-gray-200 divide-y divide-gray-200 shadow animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700'" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/Listgroup.json b/src/routes/component-data/Listgroup.json index 758ce9d21..42c978591 100644 --- a/src/routes/component-data/Listgroup.json +++ b/src/routes/component-data/Listgroup.json @@ -3,8 +3,20 @@ "slots": [], "events": [], "props": [ - ["items?", "T[]", ""], - ["active?", "boolean", "false"], - ["defaultClass?", "string", "'divide-y divide-gray-200 dark:divide-gray-600'"] + [ + "items?", + "T[]", + "" + ], + [ + "active?", + "boolean", + "false" + ], + [ + "defaultClass?", + "string", + "'divide-y divide-gray-200 dark:divide-gray-600'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Mark.json b/src/routes/component-data/Mark.json index e26b932a6..19c21b8da 100644 --- a/src/routes/component-data/Mark.json +++ b/src/routes/component-data/Mark.json @@ -3,8 +3,20 @@ "slots": [], "events": [], "props": [ - ["color?", "string", "'text-white dark:bg-blue-500'"], - ["bgColor?", "string", "'bg-blue-600'"], - ["markClass?", "string", "'px-2 rounded'"] + [ + "color?", + "string", + "'text-white dark:bg-blue-500'" + ], + [ + "bgColor?", + "string", + "'bg-blue-600'" + ], + [ + "markClass?", + "string", + "'px-2 rounded'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/MegaMenu.json b/src/routes/component-data/MegaMenu.json index 3777aa879..df92083c9 100644 --- a/src/routes/component-data/MegaMenu.json +++ b/src/routes/component-data/MegaMenu.json @@ -1,11 +1,31 @@ { "name": "MegaMenu", - "slots": ["extra"], - "events": ["show"], + "slots": [ + "extra" + ], + "events": [ + "show" + ], "props": [ - ["items", "LinkTypeLike[]", "[]"], - ["full?", "boolean", "false"], - ["open?", "boolean", "false"], - ["ulClass?", "string", "'grid grid-flow-row gap-y-4 md:gap-x-0 auto-col-max auto-row-max'"] + [ + "items", + "LinkTypeLike[]", + "[]" + ], + [ + "full?", + "boolean", + "false" + ], + [ + "open?", + "boolean", + "false" + ], + [ + "ulClass?", + "string", + "'grid grid-flow-row gap-y-4 md:gap-x-0 auto-col-max auto-row-max'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Menu.json b/src/routes/component-data/Menu.json index 86559c7ec..0c08fbd0a 100644 --- a/src/routes/component-data/Menu.json +++ b/src/routes/component-data/Menu.json @@ -1,11 +1,29 @@ { "name": "Menu", "slots": [], - "events": ["click"], + "events": [ + "click" + ], "props": [ - ["size?", "string", "'24'"], - ["color?", "string", "'currentColor'"], - ["variation?", "'solid' | 'outline'", "'outline'"], - ["ariaLabel?", "string", "'bars 3'"] + [ + "size?", + "string", + "'24'" + ], + [ + "color?", + "string", + "'currentColor'" + ], + [ + "variation?", + "'solid' | 'outline'", + "'outline'" + ], + [ + "ariaLabel?", + "string", + "'bars 3'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Modal.json b/src/routes/component-data/Modal.json index 7761eab03..2d22a9d68 100644 --- a/src/routes/component-data/Modal.json +++ b/src/routes/component-data/Modal.json @@ -1,24 +1,95 @@ { "name": "Modal", - "slots": ["header", "footer"], + "slots": [ + "header", + "footer" + ], "events": [], "props": [ - ["open?", "boolean", "false"], - ["title?", "string", "''"], - ["size?", "SizeType", ""], - ["placement?", "ModalPlacementType", ""], - ["autoclose?", "boolean", "false"], - ["outsideclose?", "boolean", "false"], - ["backdropClass?", "string", "'fixed inset-0 z-40 bg-gray-900 bg-opacity-50 dark:bg-opacity-80'"], - ["classBackdrop?", "string", "undefined"], - ["dialogClass?", "string", "'fixed top-0 start-0 end-0 h-modal md:inset-0 md:h-full z-50 w-full p-4 flex'"], - ["classDialog?", "string", "undefined"], - ["defaultClass?", "string", "'relative flex flex-col mx-auto'"], - ["headerClass?", "string", "'flex justify-between items-center p-4 md:p-5 rounded-t-lg'"], - ["classHeader?", "string", "undefined"], - ["bodyClass?", "string", "'p-4 md:p-5 space-y-4 flex-1 overflow-y-auto overscroll-contain'"], - ["classBody?", "string", "undefined"], - ["footerClass?", "string", "'flex items-center p-4 md:p-5 space-x-3 rtl:space-x-reverse rounded-b-lg'"], - ["classFooter?", "string", "undefined"] + [ + "open?", + "boolean", + "false" + ], + [ + "title?", + "string", + "''" + ], + [ + "size?", + "SizeType", + "" + ], + [ + "placement?", + "ModalPlacementType", + "" + ], + [ + "autoclose?", + "boolean", + "false" + ], + [ + "outsideclose?", + "boolean", + "false" + ], + [ + "backdropClass?", + "string", + "'fixed inset-0 z-40 bg-gray-900 bg-opacity-50 dark:bg-opacity-80'" + ], + [ + "classBackdrop?", + "string", + "undefined" + ], + [ + "dialogClass?", + "string", + "'fixed top-0 start-0 end-0 h-modal md:inset-0 md:h-full z-50 w-full p-4 flex'" + ], + [ + "classDialog?", + "string", + "undefined" + ], + [ + "defaultClass?", + "string", + "'relative flex flex-col mx-auto'" + ], + [ + "headerClass?", + "string", + "'flex justify-between items-center p-4 md:p-5 rounded-t-lg'" + ], + [ + "classHeader?", + "string", + "undefined" + ], + [ + "bodyClass?", + "string", + "'p-4 md:p-5 space-y-4 flex-1 overflow-y-auto overscroll-contain'" + ], + [ + "classBody?", + "string", + "undefined" + ], + [ + "footerClass?", + "string", + "'flex items-center p-4 md:p-5 space-x-3 rtl:space-x-reverse rounded-b-lg'" + ], + [ + "classFooter?", + "string", + "undefined" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/MultiSelect.json b/src/routes/component-data/MultiSelect.json index 1bcd921f0..9e12c9178 100644 --- a/src/routes/component-data/MultiSelect.json +++ b/src/routes/component-data/MultiSelect.json @@ -1,13 +1,39 @@ { "name": "MultiSelect", "slots": [], - "events": ["input"], + "events": [ + "input" + ], "props": [ - ["items?", "SelectOptionType[]", ""], - ["value?", "(string | number)[]", ""], - ["size?", "FormSizeType", ""], - ["dropdownClass?", "string", "''"], - ["placeholder?", "string", "''"], - ["disabled?", "boolean", "false"] + [ + "items?", + "SelectOptionType[]", + "" + ], + [ + "value?", + "(string | number)[]", + "" + ], + [ + "size?", + "FormSizeType", + "" + ], + [ + "dropdownClass?", + "string", + "''" + ], + [ + "placeholder?", + "string", + "''" + ], + [ + "disabled?", + "boolean", + "false" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/NavBrand.json b/src/routes/component-data/NavBrand.json index 77053b466..326218fb2 100644 --- a/src/routes/component-data/NavBrand.json +++ b/src/routes/component-data/NavBrand.json @@ -2,5 +2,11 @@ "name": "NavBrand", "slots": [], "events": [], - "props": [["href?", "string", "''"]] -} + "props": [ + [ + "href?", + "string", + "''" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/NavContainer.json b/src/routes/component-data/NavContainer.json index de420bed7..d4b8ba02a 100644 --- a/src/routes/component-data/NavContainer.json +++ b/src/routes/component-data/NavContainer.json @@ -2,5 +2,11 @@ "name": "NavContainer", "slots": [], "events": [], - "props": [["fluid?", "boolean", ""]] -} + "props": [ + [ + "fluid?", + "boolean", + "" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/NavHamburger.json b/src/routes/component-data/NavHamburger.json index e3fdb6feb..fd79154f6 100644 --- a/src/routes/component-data/NavHamburger.json +++ b/src/routes/component-data/NavHamburger.json @@ -3,4 +3,4 @@ "slots": [], "events": [], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/NavLi.json b/src/routes/component-data/NavLi.json index cecea7a9f..b9519044b 100644 --- a/src/routes/component-data/NavLi.json +++ b/src/routes/component-data/NavLi.json @@ -1,6 +1,17 @@ { "name": "NavLi", "slots": [], - "events": ["blur", "change", "click", "focus", "keydown", "keypress", "keyup", "mouseenter", "mouseleave", "mouseover"], + "events": [ + "blur", + "change", + "click", + "focus", + "keydown", + "keypress", + "keyup", + "mouseenter", + "mouseleave", + "mouseover" + ], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/NavUl.json b/src/routes/component-data/NavUl.json index 06c5f5aad..36dcbe0a9 100644 --- a/src/routes/component-data/NavUl.json +++ b/src/routes/component-data/NavUl.json @@ -1,14 +1,44 @@ { "name": "NavUl", "slots": [], - "events": ["click"], + "events": [ + "click" + ], "props": [ - ["activeUrl?", "string", ""], - ["divClass?", "string", "'w-full md:block md:w-auto'"], - ["ulClass?", "string", "'flex flex-col p-4 mt-4 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:text-sm md:font-medium'"], - ["hidden?", "boolean | undefined", "undefined"], - ["slideParams?", "SlideParams", "{ delay: 250, duration: 500, easing: sineIn }"], - ["activeClass?", "string", ""], - ["nonActiveClass?", "string", ""] + [ + "activeUrl?", + "string", + "" + ], + [ + "divClass?", + "string", + "'w-full md:block md:w-auto'" + ], + [ + "ulClass?", + "string", + "'flex flex-col p-4 mt-4 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:text-sm md:font-medium'" + ], + [ + "hidden?", + "boolean | undefined", + "undefined" + ], + [ + "slideParams?", + "SlideParams", + "{ delay: 250, duration: 500, easing: sineIn }" + ], + [ + "activeClass?", + "string", + "" + ], + [ + "nonActiveClass?", + "string", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Navbar.json b/src/routes/component-data/Navbar.json index 68e4a158d..c4dd5668a 100644 --- a/src/routes/component-data/Navbar.json +++ b/src/routes/component-data/Navbar.json @@ -2,5 +2,11 @@ "name": "Navbar", "slots": [], "events": [], - "props": [["fluid?", "boolean", "false"]] -} + "props": [ + [ + "fluid?", + "boolean", + "false" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/NumberInput.json b/src/routes/component-data/NumberInput.json index c1601df21..f99a4fec8 100644 --- a/src/routes/component-data/NumberInput.json +++ b/src/routes/component-data/NumberInput.json @@ -1,6 +1,26 @@ { "name": "NumberInput", "slots": [], - "events": ["blur", "change", "click", "contextmenu", "focus", "keydown", "keypress", "keyup", "mouseover", "mouseenter", "mouseleave", "paste", "input"], - "props": [["value?", "number", "0"]] -} + "events": [ + "blur", + "change", + "click", + "contextmenu", + "focus", + "keydown", + "keypress", + "keyup", + "mouseover", + "mouseenter", + "mouseleave", + "paste", + "input" + ], + "props": [ + [ + "value?", + "number", + "0" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/P.json b/src/routes/component-data/P.json index 5289e8cc7..9f74211e3 100644 --- a/src/routes/component-data/P.json +++ b/src/routes/component-data/P.json @@ -3,17 +3,65 @@ "slots": [], "events": [], "props": [ - ["color?", "string", ""], - ["height?", "'normal' | 'relaxed' | 'loose'", "'normal'"], - ["align?", "'left' | 'center' | 'right'", "'left'"], - ["justify?", "boolean", "false"], - ["italic?", "boolean", "false"], - ["firstupper?", "boolean", "false"], - ["upperClass?", "string", "'first-line:uppercase first-line:tracking-widest first-letter:text-7xl first-letter:font-bold first-letter:text-gray-900 dark:first-letter:text-gray-100 first-letter:me-3 first-letter:float-left'"], - ["opacity?", "number", "undefined"], - ["whitespace?", "'normal' | 'nowrap' | 'pre' | 'preline' | 'prewrap'", "'normal'"], - ["size?", "PsizeType", "'base'"], - ["space?", "'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest'", "undefined"], - ["weight?", "PweightType", "'normal'"] + [ + "color?", + "string", + "" + ], + [ + "height?", + "'normal' | 'relaxed' | 'loose'", + "'normal'" + ], + [ + "align?", + "'left' | 'center' | 'right'", + "'left'" + ], + [ + "justify?", + "boolean", + "false" + ], + [ + "italic?", + "boolean", + "false" + ], + [ + "firstupper?", + "boolean", + "false" + ], + [ + "upperClass?", + "string", + "'first-line:uppercase first-line:tracking-widest first-letter:text-7xl first-letter:font-bold first-letter:text-gray-900 dark:first-letter:text-gray-100 first-letter:me-3 first-letter:float-left'" + ], + [ + "opacity?", + "number", + "undefined" + ], + [ + "whitespace?", + "'normal' | 'nowrap' | 'pre' | 'preline' | 'prewrap'", + "'normal'" + ], + [ + "size?", + "PsizeType", + "'base'" + ], + [ + "space?", + "'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest'", + "undefined" + ], + [ + "weight?", + "PweightType", + "'normal'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Pagination.json b/src/routes/component-data/Pagination.json index 2a402fa3d..7c29619b8 100644 --- a/src/routes/component-data/Pagination.json +++ b/src/routes/component-data/Pagination.json @@ -1,14 +1,56 @@ { "name": "Pagination", - "slots": ["prev", "next"], - "events": ["blur", "change", "click", "focus", "keydown", "keypress", "keyup", "mouseenter", "mouseleave", "mouseover"], + "slots": [ + "prev", + "next" + ], + "events": [ + "blur", + "change", + "click", + "focus", + "keydown", + "keypress", + "keyup", + "mouseenter", + "mouseleave", + "mouseover" + ], "props": [ - ["pages", "LinkType[]", "[]"], - ["activeClass?", "string", "'text-blue-600 border border-gray-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white'"], - ["normalClass?", "string", "'text-gray-500 bg-white hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white'"], - ["ulClass?", "string", "'inline-flex -space-x-px rtl:space-x-reverse items-center'"], - ["table?", "boolean", ""], - ["large?", "boolean", "false"], - ["ariaLabel?", "string", "'Page navigation'"] + [ + "pages", + "LinkType[]", + "[]" + ], + [ + "activeClass?", + "string", + "'text-blue-600 border border-gray-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white'" + ], + [ + "normalClass?", + "string", + "'text-gray-500 bg-white hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white'" + ], + [ + "ulClass?", + "string", + "'inline-flex -space-x-px rtl:space-x-reverse items-center'" + ], + [ + "table?", + "boolean", + "" + ], + [ + "large?", + "boolean", + "false" + ], + [ + "ariaLabel?", + "string", + "'Page navigation'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/PaginationItem.json b/src/routes/component-data/PaginationItem.json index 4fa901202..11bf77ab4 100644 --- a/src/routes/component-data/PaginationItem.json +++ b/src/routes/component-data/PaginationItem.json @@ -1,6 +1,17 @@ { "name": "PaginationItem", "slots": [], - "events": ["blur", "change", "click", "focus", "keydown", "keypress", "keyup", "mouseenter", "mouseleave", "mouseover"], + "events": [ + "blur", + "change", + "click", + "focus", + "keydown", + "keypress", + "keyup", + "mouseenter", + "mouseleave", + "mouseover" + ], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Popover.json b/src/routes/component-data/Popover.json index eb084c57f..ac5439060 100644 --- a/src/routes/component-data/Popover.json +++ b/src/routes/component-data/Popover.json @@ -1,9 +1,21 @@ { "name": "Popover", - "slots": ["title"], - "events": ["show"], + "slots": [ + "title" + ], + "events": [ + "show" + ], "props": [ - ["title?", "string", ""], - ["defaultClass?", "string", ""] + [ + "title?", + "string", + "" + ], + [ + "defaultClass?", + "string", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Popper.json b/src/routes/component-data/Popper.json index c76ea5746..0416525b3 100644 --- a/src/routes/component-data/Popper.json +++ b/src/routes/component-data/Popper.json @@ -3,15 +3,55 @@ "slots": [], "events": [], "props": [ - ["activeContent?", "boolean", ""], - ["arrow?", "boolean", ""], - ["offset?", "number", ""], - ["placement?", "Placement", ""], - ["trigger?", "'hover' | 'click' | 'focus'", ""], - ["triggeredBy?", "string", ""], - ["reference?", "string", ""], - ["strategy?", "'absolute' | 'fixed'", ""], - ["open?", "boolean", ""], - ["yOnly?", "boolean", ""] + [ + "activeContent?", + "boolean", + "" + ], + [ + "arrow?", + "boolean", + "" + ], + [ + "offset?", + "number", + "" + ], + [ + "placement?", + "Placement", + "" + ], + [ + "trigger?", + "'hover' | 'click' | 'focus'", + "" + ], + [ + "triggeredBy?", + "string", + "" + ], + [ + "reference?", + "string", + "" + ], + [ + "strategy?", + "'absolute' | 'fixed'", + "" + ], + [ + "open?", + "boolean", + "" + ], + [ + "yOnly?", + "boolean", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Progressbar.json b/src/routes/component-data/Progressbar.json index 152a8ee5e..808eb0c80 100644 --- a/src/routes/component-data/Progressbar.json +++ b/src/routes/component-data/Progressbar.json @@ -3,18 +3,70 @@ "slots": [], "events": [], "props": [ - ["progress", "string | number", "'45'"], - ["precision?", "number", "0\n export let tweenDuration: $$Props['tweenDuration'] = 400"], - ["tweenDuration?", "number", ""], - ["animate?", "boolean", "false"], - ["size?", "string", "'h-2.5'"], - ["labelInside?", "boolean", "false"], - ["labelOutside?", "string", "''"], - ["easing?", "EasingFunction", "cubicOut"], - ["color?", "'primary' | 'blue' | 'gray' | 'red' | 'green' | 'yellow' | 'purple' | 'indigo'", ""], - ["labelInsideClass?", "string", "'text-primary-100 text-xs font-medium text-center p-0.5 leading-none rounded-full'"], - ["divClass?", "string", "'w-full bg-gray-200 rounded-full dark:bg-gray-700'"], - ["progressClass?", "string", "''"], - ["classLabelOutside?", "string", "''"] + [ + "progress", + "string | number", + "'45'" + ], + [ + "precision?", + "number", + "0\n export let tweenDuration: $$Props['tweenDuration'] = 400" + ], + [ + "tweenDuration?", + "number", + "" + ], + [ + "animate?", + "boolean", + "false" + ], + [ + "size?", + "string", + "'h-2.5'" + ], + [ + "labelInside?", + "boolean", + "false" + ], + [ + "labelOutside?", + "string", + "''" + ], + [ + "easing?", + "EasingFunction", + "cubicOut" + ], + [ + "color?", + "'primary' | 'blue' | 'gray' | 'red' | 'green' | 'yellow' | 'purple' | 'indigo'", + "" + ], + [ + "labelInsideClass?", + "string", + "'text-primary-100 text-xs font-medium text-center p-0.5 leading-none rounded-full'" + ], + [ + "divClass?", + "string", + "'w-full bg-gray-200 rounded-full dark:bg-gray-700'" + ], + [ + "progressClass?", + "string", + "''" + ], + [ + "classLabelOutside?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Radio.json b/src/routes/component-data/Radio.json index f3e4eb9d9..3b8bb7c70 100644 --- a/src/routes/component-data/Radio.json +++ b/src/routes/component-data/Radio.json @@ -1,14 +1,54 @@ { "name": "Radio", "slots": [], - "events": ["blur", "change", "click", "focus", "keydown", "keypress", "keyup", "mouseenter", "mouseleave", "mouseover", "paste"], + "events": [ + "blur", + "change", + "click", + "focus", + "keydown", + "keypress", + "keyup", + "mouseenter", + "mouseleave", + "mouseover", + "paste" + ], "props": [ - ["color?", "FormColorType", ""], - ["custom?", "boolean", ""], - ["inline?", "boolean", ""], - ["group?", "number | string | undefined", "undefined"], - ["value?", "number | string", "''"], - ["spacing?", "string", ""], - ["checked?", "boolean", "false"] + [ + "color?", + "FormColorType", + "" + ], + [ + "custom?", + "boolean", + "" + ], + [ + "inline?", + "boolean", + "" + ], + [ + "group?", + "number | string | undefined", + "undefined" + ], + [ + "value?", + "number | string", + "''" + ], + [ + "spacing?", + "string", + "" + ], + [ + "checked?", + "boolean", + "false" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/RadioButton.json b/src/routes/component-data/RadioButton.json index 655285f52..eb6e1e369 100644 --- a/src/routes/component-data/RadioButton.json +++ b/src/routes/component-data/RadioButton.json @@ -1,15 +1,59 @@ { "name": "RadioButton", "slots": [], - "events": ["keyup", "keydown", "keypress", "focus", "blur", "click", "mouseover", "mouseenter", "mouseleave", "paste", "change"], + "events": [ + "keyup", + "keydown", + "keypress", + "focus", + "blur", + "click", + "mouseover", + "mouseenter", + "mouseleave", + "paste", + "change" + ], "props": [ - ["group", "string | number", "''"], - ["value", "string | number", "''"], - ["inline?", "boolean", "true"], - ["pill?", "boolean", "false"], - ["outline?", "boolean", "false"], - ["size?", "SizeType | undefined", "undefined"], - ["color?", "ButtonColorType | undefined", "undefined"], - ["shadow?", "boolean", "false"] + [ + "group", + "string | number", + "''" + ], + [ + "value", + "string | number", + "''" + ], + [ + "inline?", + "boolean", + "true" + ], + [ + "pill?", + "boolean", + "false" + ], + [ + "outline?", + "boolean", + "false" + ], + [ + "size?", + "SizeType | undefined", + "undefined" + ], + [ + "color?", + "ButtonColorType | undefined", + "undefined" + ], + [ + "shadow?", + "boolean", + "false" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Range.json b/src/routes/component-data/Range.json index c1b2bf263..c1b88367d 100644 --- a/src/routes/component-data/Range.json +++ b/src/routes/component-data/Range.json @@ -1,9 +1,23 @@ { "name": "Range", "slots": [], - "events": ["change", "click", "keydown", "keypress", "keyup"], + "events": [ + "change", + "click", + "keydown", + "keypress", + "keyup" + ], "props": [ - ["value?", "number", "0"], - ["size?", "'sm' | 'md' | 'lg'", ""] + [ + "value?", + "number", + "0" + ], + [ + "size?", + "'sm' | 'md' | 'lg'", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Rating.json b/src/routes/component-data/Rating.json index 68ebb1802..b75e12eaa 100644 --- a/src/routes/component-data/Rating.json +++ b/src/routes/component-data/Rating.json @@ -1,16 +1,54 @@ { "name": "Rating", - "slots": ["text"], + "slots": [ + "text" + ], "events": [], "props": [ - ["divClass?", "string", "'flex items-center'"], - ["size?", "number", "24"], - ["total?", "number", ""], - ["rating", "number", "4"], - ["partialId?", "string", "'partialStar' + generateId()"], - ["icon?", "ComponentType", "Star"], - ["count?", "boolean", "false"], - ["iconFillColor?", "string | undefined", "'#F5CA14'"], - ["iconStrokeColor?", "string | undefined", "'#F5CA14'"] + [ + "divClass?", + "string", + "'flex items-center'" + ], + [ + "size?", + "number", + "24" + ], + [ + "total?", + "number", + "" + ], + [ + "rating", + "number", + "4" + ], + [ + "partialId?", + "string", + "'partialStar' + generateId()" + ], + [ + "icon?", + "ComponentType", + "Star" + ], + [ + "count?", + "boolean", + "false" + ], + [ + "iconFillColor?", + "string | undefined", + "'#F5CA14'" + ], + [ + "iconStrokeColor?", + "string | undefined", + "'#F5CA14'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/RatingComment.json b/src/routes/component-data/RatingComment.json index 6c83bc0b2..19e9442fe 100644 --- a/src/routes/component-data/RatingComment.json +++ b/src/routes/component-data/RatingComment.json @@ -1,16 +1,54 @@ { "name": "RatingComment", - "slots": ["evaluation"], + "slots": [ + "evaluation" + ], "events": [], "props": [ - ["helpfullink?", "string", "''"], - ["abuselink?", "string", "''"], - ["comment", "{", ""], - ["id", "string", ""], - ["user", "{", ""], - ["name", "string", ""], - ["img", "{", ""], - ["src", "string", ""], - ["alt", "string", ""] + [ + "helpfullink?", + "string", + "''" + ], + [ + "abuselink?", + "string", + "''" + ], + [ + "comment", + "{", + "" + ], + [ + "id", + "string", + "" + ], + [ + "user", + "{", + "" + ], + [ + "name", + "string", + "" + ], + [ + "img", + "{", + "" + ], + [ + "src", + "string", + "" + ], + [ + "alt", + "string", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Review.json b/src/routes/component-data/Review.json index 04a23e9cf..3945d8530 100644 --- a/src/routes/component-data/Review.json +++ b/src/routes/component-data/Review.json @@ -1,18 +1,67 @@ { "name": "Review", - "slots": ["address", "item1", "item2", "item3"], + "slots": [ + "address", + "item1", + "item2", + "item3" + ], "events": [], "props": [ - ["review", "ReviewType", ""], - ["articleClass?", "string", "'md:gap-8 md:grid md:grid-cols-3'"], - ["divClass?", "string", "'flex items-center mb-6 space-x-4 rtl:space-x-reverse'"], - ["imgClass?", "string", "'w-10 h-10 rounded-full'"], - ["ulClass?", "string", "'space-y-4 text-sm text-gray-500 dark:text-gray-400'"], - ["liClass?", "string", "'flex items-center'"], - ["classArticle?", "string", "''"], - ["classDiv?", "string", "''"], - ["classImg?", "string", "''"], - ["classUl?", "string", "''"], - ["classLi?", "string", "''"] + [ + "review", + "ReviewType", + "" + ], + [ + "articleClass?", + "string", + "'md:gap-8 md:grid md:grid-cols-3'" + ], + [ + "divClass?", + "string", + "'flex items-center mb-6 space-x-4 rtl:space-x-reverse'" + ], + [ + "imgClass?", + "string", + "'w-10 h-10 rounded-full'" + ], + [ + "ulClass?", + "string", + "'space-y-4 text-sm text-gray-500 dark:text-gray-400'" + ], + [ + "liClass?", + "string", + "'flex items-center'" + ], + [ + "classArticle?", + "string", + "''" + ], + [ + "classDiv?", + "string", + "''" + ], + [ + "classImg?", + "string", + "''" + ], + [ + "classUl?", + "string", + "''" + ], + [ + "classLi?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/ScoreRating.json b/src/routes/component-data/ScoreRating.json index b2c30ac66..7e5727c08 100644 --- a/src/routes/component-data/ScoreRating.json +++ b/src/routes/component-data/ScoreRating.json @@ -2,5 +2,11 @@ "name": "ScoreRating", "slots": [], "events": [], - "props": [["ratings", "{ label", "[]"]] -} + "props": [ + [ + "ratings", + "{ label", + "[]" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/Search.json b/src/routes/component-data/Search.json index 8eeb8d68b..d236cbb18 100644 --- a/src/routes/component-data/Search.json +++ b/src/routes/component-data/Search.json @@ -1,10 +1,35 @@ { "name": "Search", "slots": [], - "events": ["blur", "change", "input", "click", "focus", "keydown", "keypress", "keyup", "mouseenter", "mouseleave", "mouseover", "paste"], + "events": [ + "blur", + "change", + "input", + "click", + "focus", + "keydown", + "keypress", + "keyup", + "mouseenter", + "mouseleave", + "mouseover", + "paste" + ], "props": [ - ["size?", "FormSizeType", ""], - ["placeholder?", "string", "'Search'"], - ["value?", "any", "undefined"] + [ + "size?", + "FormSizeType", + "" + ], + [ + "placeholder?", + "string", + "'Search'" + ], + [ + "value?", + "any", + "undefined" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Secondary.json b/src/routes/component-data/Secondary.json index b369eb1ea..73b438ccc 100644 --- a/src/routes/component-data/Secondary.json +++ b/src/routes/component-data/Secondary.json @@ -3,7 +3,15 @@ "slots": [], "events": [], "props": [ - ["color?", "string", "'text-gray-500 dark:text-gray-400'"], - ["secondaryClass?", "string", "'font-semibold'"] + [ + "color?", + "string", + "'text-gray-500 dark:text-gray-400'" + ], + [ + "secondaryClass?", + "string", + "'font-semibold'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Select.json b/src/routes/component-data/Select.json index 9542347ca..7aa6a7cea 100644 --- a/src/routes/component-data/Select.json +++ b/src/routes/component-data/Select.json @@ -1,14 +1,46 @@ { "name": "Select", "slots": [], - "events": ["change", "contextmenu", "input"], + "events": [ + "change", + "contextmenu", + "input" + ], "props": [ - ["items?", "SelectOptionType[]", "[]"], - ["value?", "any", "''"], - ["placeholder?", "string", "'Choose option ...'"], - ["underline?", "boolean", "false"], - ["size?", "'sm' | 'md' | 'lg'", ""], - ["defaultClass?", "string", "'text-gray-900 disabled:text-gray-400 bg-gray-50 border border-gray-300 rounded-lg focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:disabled:text-gray-500 dark:focus:ring-primary-500 dark:focus:border-primary-500'"], - ["underlineClass?", "string", "'text-gray-500 disabled:text-gray-400 bg-transparent border-0 border-b-2 border-gray-200 appearance-none dark:text-gray-400 dark:disabled:text-gray-500 dark:border-gray-700 focus:outline-none focus:ring-0 focus:border-gray-200 peer'"] + [ + "items?", + "SelectOptionType[]", + "[]" + ], + [ + "value?", + "any", + "''" + ], + [ + "placeholder?", + "string", + "'Choose option ...'" + ], + [ + "underline?", + "boolean", + "false" + ], + [ + "size?", + "'sm' | 'md' | 'lg'", + "" + ], + [ + "defaultClass?", + "string", + "'text-gray-900 disabled:text-gray-400 bg-gray-50 border border-gray-300 rounded-lg focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:disabled:text-gray-500 dark:focus:ring-primary-500 dark:focus:border-primary-500'" + ], + [ + "underlineClass?", + "string", + "'text-gray-500 disabled:text-gray-400 bg-transparent border-0 border-b-2 border-gray-200 appearance-none dark:text-gray-400 dark:disabled:text-gray-500 dark:border-gray-700 focus:outline-none focus:ring-0 focus:border-gray-200 peer'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Sidebar.json b/src/routes/component-data/Sidebar.json index b2bf9d47b..edfc5113a 100644 --- a/src/routes/component-data/Sidebar.json +++ b/src/routes/component-data/Sidebar.json @@ -3,10 +3,30 @@ "slots": [], "events": [], "props": [ - ["activeUrl?", "string", ""], - ["asideClass?", "string", "'w-64'"], - ["nonActiveClass?", "string", ""], - ["activeClass?", "string", ""], - ["ariaLabel?", "string", "'Sidebar'"] + [ + "activeUrl?", + "string", + "" + ], + [ + "asideClass?", + "string", + "'w-64'" + ], + [ + "nonActiveClass?", + "string", + "" + ], + [ + "activeClass?", + "string", + "" + ], + [ + "ariaLabel?", + "string", + "'Sidebar'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/SidebarBrand.json b/src/routes/component-data/SidebarBrand.json index 2a6f5528e..3717c56b2 100644 --- a/src/routes/component-data/SidebarBrand.json +++ b/src/routes/component-data/SidebarBrand.json @@ -3,9 +3,25 @@ "slots": [], "events": [], "props": [ - ["site", "SiteType", ""], - ["aClass?", "string", "'flex items-center ps-2.5 mb-5'"], - ["imgClass?", "string", "'h-6 me-3 sm:h-7'"], - ["spanClass?", "string", "'self-center text-xl font-semibold whitespace-nowrap dark:text-white'"] + [ + "site", + "SiteType", + "" + ], + [ + "aClass?", + "string", + "'flex items-center ps-2.5 mb-5'" + ], + [ + "imgClass?", + "string", + "'h-6 me-3 sm:h-7'" + ], + [ + "spanClass?", + "string", + "'self-center text-xl font-semibold whitespace-nowrap dark:text-white'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/SidebarCta.json b/src/routes/component-data/SidebarCta.json index 5aab46f54..1b6204353 100644 --- a/src/routes/component-data/SidebarCta.json +++ b/src/routes/component-data/SidebarCta.json @@ -1,11 +1,29 @@ { "name": "SidebarCta", - "slots": ["icon"], + "slots": [ + "icon" + ], "events": [], "props": [ - ["divWrapperClass?", "string", "'p-4 mt-6 bg-primary-50 rounded-lg dark:bg-primary-900'"], - ["divClass?", "string", "'flex items-center mb-3'"], - ["spanClass?", "string", "'bg-primary-100 text-primary-800 text-sm font-semibold me-2 px-2.5 py-0.5 rounded dark:bg-primary-200 dark:text-primary-900'"], - ["label?", "string", "''"] + [ + "divWrapperClass?", + "string", + "'p-4 mt-6 bg-primary-50 rounded-lg dark:bg-primary-900'" + ], + [ + "divClass?", + "string", + "'flex items-center mb-3'" + ], + [ + "spanClass?", + "string", + "'bg-primary-100 text-primary-800 text-sm font-semibold me-2 px-2.5 py-0.5 rounded dark:bg-primary-200 dark:text-primary-900'" + ], + [ + "label?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/SidebarDropdownItem.json b/src/routes/component-data/SidebarDropdownItem.json index db22f2ca2..a90d6f1e5 100644 --- a/src/routes/component-data/SidebarDropdownItem.json +++ b/src/routes/component-data/SidebarDropdownItem.json @@ -1,12 +1,42 @@ { "name": "SidebarDropdownItem", "slots": [], - "events": ["blur", "click", "focus", "keydown", "keypress", "keyup", "mouseenter", "mouseleave", "mouseover"], + "events": [ + "blur", + "click", + "focus", + "keydown", + "keypress", + "keyup", + "mouseenter", + "mouseleave", + "mouseover" + ], "props": [ - ["aClass?", "string", "'flex items-center p-2 ps-11 w-full text-base font-normal text-gray-900 rounded-lg transition duration-75 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700'"], - ["href?", "string", "''"], - ["label?", "string", "''"], - ["activeClass?", "string", "'flex items-center p-2 ps-11 text-base font-normal text-gray-900 bg-gray-200 dark:bg-gray-700 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700'"], - ["active?", "boolean", "false"] + [ + "aClass?", + "string", + "'flex items-center p-2 ps-11 w-full text-base font-normal text-gray-900 rounded-lg transition duration-75 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700'" + ], + [ + "href?", + "string", + "''" + ], + [ + "label?", + "string", + "''" + ], + [ + "activeClass?", + "string", + "'flex items-center p-2 ps-11 text-base font-normal text-gray-900 bg-gray-200 dark:bg-gray-700 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700'" + ], + [ + "active?", + "boolean", + "false" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/SidebarDropdownWrapper.json b/src/routes/component-data/SidebarDropdownWrapper.json index b2c8694c8..f6f9492e8 100644 --- a/src/routes/component-data/SidebarDropdownWrapper.json +++ b/src/routes/component-data/SidebarDropdownWrapper.json @@ -1,14 +1,48 @@ { "name": "SidebarDropdownWrapper", - "slots": ["icon", "arrowup", "arrowdown"], - "events": ["click"], + "slots": [ + "icon", + "arrowup", + "arrowdown" + ], + "events": [ + "click" + ], "props": [ - ["btnClass?", "string", "'flex items-center p-2 w-full text-base font-normal text-gray-900 rounded-lg transition duration-75 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700'"], - ["label?", "string", "''"], - ["spanClass?", "string", "'flex-1 ms-3 text-left whitespace-nowrap'"], - ["ulClass?", "string", "'py-2 space-y-2'"], - ["transitionType?", "TransitionTypes", "'slide'"], - ["transitionParams?", "TransitionParamTypes", "{}"], - ["isOpen?", "boolean", "false"] + [ + "btnClass?", + "string", + "'flex items-center p-2 w-full text-base font-normal text-gray-900 rounded-lg transition duration-75 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700'" + ], + [ + "label?", + "string", + "''" + ], + [ + "spanClass?", + "string", + "'flex-1 ms-3 text-left whitespace-nowrap'" + ], + [ + "ulClass?", + "string", + "'py-2 space-y-2'" + ], + [ + "transitionType?", + "TransitionTypes", + "'slide'" + ], + [ + "transitionParams?", + "TransitionParamTypes", + "{}" + ], + [ + "isOpen?", + "boolean", + "false" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/SidebarGroup.json b/src/routes/component-data/SidebarGroup.json index cc03268d2..5947c08b2 100644 --- a/src/routes/component-data/SidebarGroup.json +++ b/src/routes/component-data/SidebarGroup.json @@ -3,8 +3,20 @@ "slots": [], "events": [], "props": [ - ["ulClass?", "string", "'space-y-2'"], - ["borderClass?", "string", "'pt-4 mt-4 border-t border-gray-200 dark:border-gray-700'"], - ["border?", "boolean", "false"] + [ + "ulClass?", + "string", + "'space-y-2'" + ], + [ + "borderClass?", + "string", + "'pt-4 mt-4 border-t border-gray-200 dark:border-gray-700'" + ], + [ + "border?", + "boolean", + "false" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/SidebarItem.json b/src/routes/component-data/SidebarItem.json index 6aa6c41cc..78e0c27ce 100644 --- a/src/routes/component-data/SidebarItem.json +++ b/src/routes/component-data/SidebarItem.json @@ -1,14 +1,55 @@ { "name": "SidebarItem", - "slots": ["icon", "subtext"], - "events": ["blur", "click", "focus", "keydown", "keypress", "keyup", "mouseenter", "mouseleave", "mouseover"], + "slots": [ + "icon", + "subtext" + ], + "events": [ + "blur", + "click", + "focus", + "keydown", + "keypress", + "keyup", + "mouseenter", + "mouseleave", + "mouseover" + ], "props": [ - ["action?", "Action", ""], - ["params?", "any", "{}"], - ["href?", "string", "''"], - ["label?", "string", "''"], - ["spanClass?", "string", "'ms-3'"], - ["activeClass?", "string", "undefined"], - ["nonActiveClass?", "string", "undefined"] + [ + "action?", + "Action", + "" + ], + [ + "params?", + "any", + "{}" + ], + [ + "href?", + "string", + "''" + ], + [ + "label?", + "string", + "''" + ], + [ + "spanClass?", + "string", + "'ms-3'" + ], + [ + "activeClass?", + "string", + "undefined" + ], + [ + "nonActiveClass?", + "string", + "undefined" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/SidebarWrapper.json b/src/routes/component-data/SidebarWrapper.json index 394ad684e..1bc5304dc 100644 --- a/src/routes/component-data/SidebarWrapper.json +++ b/src/routes/component-data/SidebarWrapper.json @@ -2,5 +2,11 @@ "name": "SidebarWrapper", "slots": [], "events": [], - "props": [["divClass?", "string", "'overflow-y-auto py-4 px-3 bg-gray-50 rounded dark:bg-gray-800'"]] -} + "props": [ + [ + "divClass?", + "string", + "'overflow-y-auto py-4 px-3 bg-gray-50 rounded dark:bg-gray-800'" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/Skeleton.json b/src/routes/component-data/Skeleton.json index c1a1324e6..98734f7ed 100644 --- a/src/routes/component-data/Skeleton.json +++ b/src/routes/component-data/Skeleton.json @@ -3,7 +3,15 @@ "slots": [], "events": [], "props": [ - ["divClass?", "string", "'animate-pulse'"], - ["size?", "keyof Sizes", ""] + [ + "divClass?", + "string", + "'animate-pulse'" + ], + [ + "size?", + "keyof Sizes", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Smartwatch.json b/src/routes/component-data/Smartwatch.json index e0c3eb70b..ce4154f7c 100644 --- a/src/routes/component-data/Smartwatch.json +++ b/src/routes/component-data/Smartwatch.json @@ -3,16 +3,60 @@ "slots": [], "events": [], "props": [ - ["div?", "string", "'relative mx-auto bg-gray-800 dark:bg-gray-700 rounded-t-[2.5rem] h-[63px] max-w-[133px]'"], - ["slot?", "string", "'rounded-[2rem] overflow-hidden h-[193px] w-[188px]'"], - ["rightTop?", "string", "'h-[41px] w-[6px] bg-gray-800 dark:bg-gray-800 absolute -right-[16px] top-[40px] rounded-r-lg'"], - ["rightBot?", "string", "'h-[32px] w-[6px] bg-gray-800 dark:bg-gray-800 absolute -right-[16px] top-[88px] rounded-r-lg'"], - ["top?", "string", "'relative mx-auto border-gray-900 dark:bg-gray-800 dark:border-gray-800 border-[10px] rounded-[2.5rem] h-[213px] w-[208px]'"], - ["bot?", "string", "'relative mx-auto bg-gray-800 dark:bg-gray-700 rounded-b-[2.5rem] h-[63px] max-w-[133px]'"], - ["classTop?", "string", "''"], - ["classRightTop?", "string", "''"], - ["classRightBot?", "string", "''"], - ["classSlot?", "string", "''"], - ["classBot?", "string", "''"] + [ + "div?", + "string", + "'relative mx-auto bg-gray-800 dark:bg-gray-700 rounded-t-[2.5rem] h-[63px] max-w-[133px]'" + ], + [ + "slot?", + "string", + "'rounded-[2rem] overflow-hidden h-[193px] w-[188px]'" + ], + [ + "rightTop?", + "string", + "'h-[41px] w-[6px] bg-gray-800 dark:bg-gray-800 absolute -right-[16px] top-[40px] rounded-r-lg'" + ], + [ + "rightBot?", + "string", + "'h-[32px] w-[6px] bg-gray-800 dark:bg-gray-800 absolute -right-[16px] top-[88px] rounded-r-lg'" + ], + [ + "top?", + "string", + "'relative mx-auto border-gray-900 dark:bg-gray-800 dark:border-gray-800 border-[10px] rounded-[2.5rem] h-[213px] w-[208px]'" + ], + [ + "bot?", + "string", + "'relative mx-auto bg-gray-800 dark:bg-gray-700 rounded-b-[2.5rem] h-[63px] max-w-[133px]'" + ], + [ + "classTop?", + "string", + "''" + ], + [ + "classRightTop?", + "string", + "''" + ], + [ + "classRightBot?", + "string", + "''" + ], + [ + "classSlot?", + "string", + "''" + ], + [ + "classBot?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Span.json b/src/routes/component-data/Span.json index 05c86540b..a3f882efe 100644 --- a/src/routes/component-data/Span.json +++ b/src/routes/component-data/Span.json @@ -3,14 +3,50 @@ "slots": [], "events": [], "props": [ - ["italic?", "boolean", "false"], - ["underline?", "boolean", "false"], - ["linethrough?", "boolean", "false"], - ["uppercase?", "boolean", "false"], - ["gradient?", "boolean", "false"], - ["highlight?", "boolean", "false"], - ["highlightClass?", "string", "'text-blue-600 dark:text-blue-500'"], - ["decorationClass?", "string", "'decoration-2 decoration-blue-400 dark:decoration-blue-600'"], - ["gradientClass?", "string", "'text-transparent bg-clip-text bg-gradient-to-r to-emerald-600 from-sky-400'"] + [ + "italic?", + "boolean", + "false" + ], + [ + "underline?", + "boolean", + "false" + ], + [ + "linethrough?", + "boolean", + "false" + ], + [ + "uppercase?", + "boolean", + "false" + ], + [ + "gradient?", + "boolean", + "false" + ], + [ + "highlight?", + "boolean", + "false" + ], + [ + "highlightClass?", + "string", + "'text-blue-600 dark:text-blue-500'" + ], + [ + "decorationClass?", + "string", + "'decoration-2 decoration-blue-400 dark:decoration-blue-600'" + ], + [ + "gradientClass?", + "string", + "'text-transparent bg-clip-text bg-gradient-to-r to-emerald-600 from-sky-400'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/SpeedDial.json b/src/routes/component-data/SpeedDial.json index 47652b888..56fe6635b 100644 --- a/src/routes/component-data/SpeedDial.json +++ b/src/routes/component-data/SpeedDial.json @@ -1,6 +1,10 @@ { "name": "SpeedDial", - "slots": ["button", "icon", "icon"], + "slots": [ + "button", + "icon", + "icon" + ], "events": [], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/SpeedDialButton.json b/src/routes/component-data/SpeedDialButton.json index fb9f8d4c5..6d1e6070d 100644 --- a/src/routes/component-data/SpeedDialButton.json +++ b/src/routes/component-data/SpeedDialButton.json @@ -1,6 +1,8 @@ { "name": "SpeedDialButton", "slots": [], - "events": ["click"], + "events": [ + "click" + ], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Spinner.json b/src/routes/component-data/Spinner.json index e88d8604e..50819edfc 100644 --- a/src/routes/component-data/Spinner.json +++ b/src/routes/component-data/Spinner.json @@ -3,11 +3,35 @@ "slots": [], "events": [], "props": [ - ["color?", "'primary' | 'blue' | 'gray' | 'green' | 'red' | 'yellow' | 'pink' | 'purple' | 'white' | 'custom'", "'primary'"], - ["bg?", "string", "'text-gray-300'"], - ["size?", "string | number", "'8'"], - ["currentFill?", "string", "'currentFill'"], - ["currentColor?", "string", "'currentColor'"], - ["customColor?", "string", "''"] + [ + "color?", + "'primary' | 'blue' | 'gray' | 'green' | 'red' | 'yellow' | 'pink' | 'purple' | 'white' | 'custom'", + "'primary'" + ], + [ + "bg?", + "string", + "'text-gray-300'" + ], + [ + "size?", + "string | number", + "'8'" + ], + [ + "currentFill?", + "string", + "'currentFill'" + ], + [ + "currentColor?", + "string", + "'currentColor'" + ], + [ + "customColor?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Star.json b/src/routes/component-data/Star.json index 092f91f95..79b4eb700 100644 --- a/src/routes/component-data/Star.json +++ b/src/routes/component-data/Star.json @@ -1,14 +1,44 @@ { "name": "Star", "slots": [], - "events": ["click"], + "events": [ + "click" + ], "props": [ - ["fillPercent?", "number", "100"], - ["fillColor?", "string", "'#F5CA14'"], - ["strokeColor?", "string", "'#F5CA14'"], - ["size?", "number", "24"], - ["ariaLabel?", "string", "'star'"], - ["id?", "string", "generateId()"], - ["role?", "string", "'img'"] + [ + "fillPercent?", + "number", + "100" + ], + [ + "fillColor?", + "string", + "'#F5CA14'" + ], + [ + "strokeColor?", + "string", + "'#F5CA14'" + ], + [ + "size?", + "number", + "24" + ], + [ + "ariaLabel?", + "string", + "'star'" + ], + [ + "id?", + "string", + "generateId()" + ], + [ + "role?", + "string", + "'img'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/StepIndicator.json b/src/routes/component-data/StepIndicator.json index 77033a1a4..bb2ef137a 100644 --- a/src/routes/component-data/StepIndicator.json +++ b/src/routes/component-data/StepIndicator.json @@ -3,13 +3,45 @@ "slots": [], "events": [], "props": [ - ["steps", "string[]", "['Step 1', 'Step 2', 'Step 3', 'Step 4', 'Step 5']"], - ["currentStep", "number", "1"], - ["size", "string", "'h-2.5'"], - ["color", "'primary' | 'secondary' | 'gray' | 'red' | 'yellow' | 'green' | 'indigo' | 'purple' | 'pink' | 'blue' | 'custom'", "'primary'"], - ["glow", "boolean", "false"], - ["hideLabel", "boolean", "false"], - ["completedCustom", "string", "''"], - ["currentCustom", "string", "''"] + [ + "steps", + "string[]", + "" + ], + [ + "currentStep", + "number", + "" + ], + [ + "size?", + "string", + "" + ], + [ + "color?", + "ColorType", + "" + ], + [ + "glow?", + "boolean", + "" + ], + [ + "hideLabel?", + "boolean", + "" + ], + [ + "completedCustom?", + "string", + "" + ], + [ + "currentCustom?", + "string", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/TabItem.json b/src/routes/component-data/TabItem.json index 99b8daf1d..468b17003 100644 --- a/src/routes/component-data/TabItem.json +++ b/src/routes/component-data/TabItem.json @@ -1,13 +1,50 @@ { "name": "TabItem", - "slots": ["title"], - "events": ["blur", "click", "contextmenu", "focus", "keydown", "keypress", "keyup", "mouseenter", "mouseleave", "mouseover"], + "slots": [ + "title" + ], + "events": [ + "blur", + "click", + "contextmenu", + "focus", + "keydown", + "keypress", + "keyup", + "mouseenter", + "mouseleave", + "mouseover" + ], "props": [ - ["open?", "boolean", "false"], - ["title?", "string", "'Tab title'"], - ["activeClasses?", "string", "undefined"], - ["inactiveClasses?", "string", "undefined"], - ["defaultClass?", "string", "'inline-block text-sm font-medium text-center disabled:cursor-not-allowed'"], - ["divClass?", "string", "''"] + [ + "open?", + "boolean", + "false" + ], + [ + "title?", + "string", + "'Tab title'" + ], + [ + "activeClasses?", + "string", + "undefined" + ], + [ + "inactiveClasses?", + "string", + "undefined" + ], + [ + "defaultClass?", + "string", + "'inline-block text-sm font-medium text-center disabled:cursor-not-allowed'" + ], + [ + "divClass?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Table.json b/src/routes/component-data/Table.json index 15da548f4..5e3c1c607 100644 --- a/src/routes/component-data/Table.json +++ b/src/routes/component-data/Table.json @@ -1,24 +1,96 @@ { "name": "Table", - "slots": ["search", "svgSearch", "header"], + "slots": [ + "search", + "svgSearch", + "header" + ], "events": [], "props": [ - ["divClass?", "string", "'relative overflow-x-auto'"], - ["striped?", "boolean", "false"], - ["hoverable?", "boolean", "false"], - ["noborder?", "boolean", "false"], - ["shadow?", "boolean", "false"], - ["color?", "TableColorType", ""], - ["customeColor?", "string", "''"], - ["items?", "T[]", "[]"], - ["filter?", "((t", "null"], - ["placeholder?", "string", "'Search'"], - ["innerDivClass?", "string", "'p-4'"], - ["searchClass?", "string", "'relative mt-1'"], - ["svgDivClass?", "string", "'absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none'"], - ["svgClass?", "string", "'w-5 h-5 text-gray-500 dark:text-gray-400'"], - ["inputClass?", "string", "'bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-80 p-2.5 ps-10 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500'"], - ["classInput?", "string", "''"], - ["classSvgDiv?", "string", "''"] + [ + "divClass?", + "string", + "'relative overflow-x-auto'" + ], + [ + "striped?", + "boolean", + "false" + ], + [ + "hoverable?", + "boolean", + "false" + ], + [ + "noborder?", + "boolean", + "false" + ], + [ + "shadow?", + "boolean", + "false" + ], + [ + "color?", + "TableColorType", + "" + ], + [ + "customeColor?", + "string", + "''" + ], + [ + "items?", + "T[]", + "[]" + ], + [ + "filter?", + "((t", + "null" + ], + [ + "placeholder?", + "string", + "'Search'" + ], + [ + "innerDivClass?", + "string", + "'p-4'" + ], + [ + "searchClass?", + "string", + "'relative mt-1'" + ], + [ + "svgDivClass?", + "string", + "'absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none'" + ], + [ + "svgClass?", + "string", + "'w-5 h-5 text-gray-500 dark:text-gray-400'" + ], + [ + "inputClass?", + "string", + "'bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-80 p-2.5 ps-10 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500'" + ], + [ + "classInput?", + "string", + "''" + ], + [ + "classSvgDiv?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/TableBody.json b/src/routes/component-data/TableBody.json index 39bdb8a61..79316b55c 100644 --- a/src/routes/component-data/TableBody.json +++ b/src/routes/component-data/TableBody.json @@ -1,6 +1,14 @@ { "name": "TableBody", - "slots": ["row"], + "slots": [ + "row" + ], "events": [], - "props": [["tableBodyClass?", "string", "undefined"]] -} + "props": [ + [ + "tableBodyClass?", + "string", + "undefined" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/TableBodyCell.json b/src/routes/component-data/TableBodyCell.json index f09ce6309..34415ce2f 100644 --- a/src/routes/component-data/TableBodyCell.json +++ b/src/routes/component-data/TableBodyCell.json @@ -2,5 +2,11 @@ "name": "TableBodyCell", "slots": [], "events": [], - "props": [["tdClass?", "string", "'px-6 py-4 whitespace-nowrap font-medium '"]] -} + "props": [ + [ + "tdClass?", + "string", + "'px-6 py-4 whitespace-nowrap font-medium '" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/TableBodyRow.json b/src/routes/component-data/TableBodyRow.json index 157fa56c3..0f75fdb65 100644 --- a/src/routes/component-data/TableBodyRow.json +++ b/src/routes/component-data/TableBodyRow.json @@ -1,6 +1,16 @@ { "name": "TableBodyRow", "slots": [], - "events": ["click", "contextmenu", "dblclick"], - "props": [["color?", "'blue' | 'green' | 'red' | 'yellow' | 'purple' | 'default' | 'custom'", ""]] -} + "events": [ + "click", + "contextmenu", + "dblclick" + ], + "props": [ + [ + "color?", + "'blue' | 'green' | 'red' | 'yellow' | 'purple' | 'default' | 'custom'", + "" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/TableHead.json b/src/routes/component-data/TableHead.json index 6708cace8..92e111151 100644 --- a/src/routes/component-data/TableHead.json +++ b/src/routes/component-data/TableHead.json @@ -3,7 +3,15 @@ "slots": [], "events": [], "props": [ - ["theadClass?", "string", "'text-xs uppercase'"], - ["defaultRow?", "boolean", "true"] + [ + "theadClass?", + "string", + "'text-xs uppercase'" + ], + [ + "defaultRow?", + "boolean", + "true" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/TableHeadCell.json b/src/routes/component-data/TableHeadCell.json index a916a7829..daafd8965 100644 --- a/src/routes/component-data/TableHeadCell.json +++ b/src/routes/component-data/TableHeadCell.json @@ -1,12 +1,49 @@ { "name": "TableHeadCell", "slots": [], - "events": ["click", "focus", "keydown", "keypress", "keyup", "mouseenter", "mouseleave", "mouseover", "click", "focus", "keydown", "keypress", "keyup", "mouseenter", "mouseleave", "mouseover"], + "events": [ + "click", + "focus", + "keydown", + "keypress", + "keyup", + "mouseenter", + "mouseleave", + "mouseover", + "click", + "focus", + "keydown", + "keypress", + "keyup", + "mouseenter", + "mouseleave", + "mouseover" + ], "props": [ - ["padding?", "string", "'px-6 py-3'"], - ["sort?", "((a", "null"], - ["defaultDirection?", "'asc' | 'desc'", "'asc'"], - ["defaultSort?", "boolean", "false"], - ["direction?", "'asc' | 'desc' | null", "defaultSort ? defaultDirection : null"] + [ + "padding?", + "string", + "'px-6 py-3'" + ], + [ + "sort?", + "((a", + "null" + ], + [ + "defaultDirection?", + "'asc' | 'desc'", + "'asc'" + ], + [ + "defaultSort?", + "boolean", + "false" + ], + [ + "direction?", + "'asc' | 'desc' | null", + "defaultSort ? defaultDirection : null" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/TableSearch.json b/src/routes/component-data/TableSearch.json index b1dcec3f2..4d60e5f68 100644 --- a/src/routes/component-data/TableSearch.json +++ b/src/routes/component-data/TableSearch.json @@ -1,21 +1,81 @@ { "name": "TableSearch", - "slots": ["svgSearch", "header", "footer"], + "slots": [ + "svgSearch", + "header", + "footer" + ], "events": [], "props": [ - ["divClass?", "string", "'relative overflow-x-auto shadow-md sm:rounded-lg'"], - ["inputValue?", "string", "''"], - ["striped?", "boolean", "false"], - ["hoverable?", "boolean", "false"], - ["placeholder?", "string", "'Search'"], - ["customColor?", "string", "''"], - ["color?", "'blue' | 'green' | 'red' | 'yellow' | 'purple' | 'default' | 'custom'", ""], - ["innerDivClass?", "string", "'p-4'"], - ["searchClass?", "string", "'relative mt-1'"], - ["svgDivClass?", "string", "'absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none'"], - ["svgClass?", "string", "'w-5 h-5 text-gray-500 dark:text-gray-400'"], - ["inputClass?", "string", "'bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-80 p-2.5 ps-10 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500'"], - ["classInput?", "string", "''"], - ["classSvgDiv?", "string", "''"] + [ + "divClass?", + "string", + "'relative overflow-x-auto shadow-md sm:rounded-lg'" + ], + [ + "inputValue?", + "string", + "''" + ], + [ + "striped?", + "boolean", + "false" + ], + [ + "hoverable?", + "boolean", + "false" + ], + [ + "placeholder?", + "string", + "'Search'" + ], + [ + "customColor?", + "string", + "''" + ], + [ + "color?", + "'blue' | 'green' | 'red' | 'yellow' | 'purple' | 'default' | 'custom'", + "" + ], + [ + "innerDivClass?", + "string", + "'p-4'" + ], + [ + "searchClass?", + "string", + "'relative mt-1'" + ], + [ + "svgDivClass?", + "string", + "'absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none'" + ], + [ + "svgClass?", + "string", + "'w-5 h-5 text-gray-500 dark:text-gray-400'" + ], + [ + "inputClass?", + "string", + "'bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-80 p-2.5 ps-10 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500'" + ], + [ + "classInput?", + "string", + "''" + ], + [ + "classSvgDiv?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Tablet.json b/src/routes/component-data/Tablet.json index 6e7c16652..fa90ec86a 100644 --- a/src/routes/component-data/Tablet.json +++ b/src/routes/component-data/Tablet.json @@ -3,16 +3,60 @@ "slots": [], "events": [], "props": [ - ["div?", "string", "'relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[14px] rounded-[2.5rem] h-[454px] max-w-[341px] md:h-[682px] md:max-w-[512px]'"], - ["slot?", "string", "'rounded-[2rem] overflow-hidden h-[426px] md:h-[654px] bg-white dark:bg-gray-800'"], - ["leftTop?", "string", "'h-[32px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -left-[17px] top-[72px] rounded-l-lg'"], - ["leftMid?", "string", "'h-[46px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -left-[17px] top-[124px] rounded-l-lg'"], - ["leftBot?", "string", "'h-[46px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -left-[17px] top-[178px] rounded-l-lg'"], - ["right?", "string", "'h-[64px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -right-[17px] top-[142px] rounded-r-lg'"], - ["classLeftTop?", "string", "''"], - ["classLeftMid?", "string", "''"], - ["classLeftBot?", "string", "''"], - ["classRight?", "string", "''"], - ["classSlot?", "string", "''"] + [ + "div?", + "string", + "'relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[14px] rounded-[2.5rem] h-[454px] max-w-[341px] md:h-[682px] md:max-w-[512px]'" + ], + [ + "slot?", + "string", + "'rounded-[2rem] overflow-hidden h-[426px] md:h-[654px] bg-white dark:bg-gray-800'" + ], + [ + "leftTop?", + "string", + "'h-[32px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -left-[17px] top-[72px] rounded-l-lg'" + ], + [ + "leftMid?", + "string", + "'h-[46px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -left-[17px] top-[124px] rounded-l-lg'" + ], + [ + "leftBot?", + "string", + "'h-[46px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -left-[17px] top-[178px] rounded-l-lg'" + ], + [ + "right?", + "string", + "'h-[64px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -right-[17px] top-[142px] rounded-r-lg'" + ], + [ + "classLeftTop?", + "string", + "''" + ], + [ + "classLeftMid?", + "string", + "''" + ], + [ + "classLeftBot?", + "string", + "''" + ], + [ + "classRight?", + "string", + "''" + ], + [ + "classSlot?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Tabs.json b/src/routes/component-data/Tabs.json index bbf193f5c..f36e42b51 100644 --- a/src/routes/component-data/Tabs.json +++ b/src/routes/component-data/Tabs.json @@ -1,13 +1,39 @@ { "name": "Tabs", - "slots": ["divider"], + "slots": [ + "divider" + ], "events": [], "props": [ - ["tabStyle?", "'full' | 'pill' | 'underline' | '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", ""], - ["inactiveClasses?", "string", ""] + [ + "tabStyle?", + "'full' | 'pill' | 'underline' | '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", + "" + ], + [ + "inactiveClasses?", + "string", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/TestimonialPlaceholder.json b/src/routes/component-data/TestimonialPlaceholder.json index 4f4a20c6d..24535b8c0 100644 --- a/src/routes/component-data/TestimonialPlaceholder.json +++ b/src/routes/component-data/TestimonialPlaceholder.json @@ -2,5 +2,11 @@ "name": "TestimonialPlaceholder", "slots": [], "events": [], - "props": [["divClass?", "string", "'animate-pulse'"]] -} + "props": [ + [ + "divClass?", + "string", + "'animate-pulse'" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/TextPlaceholder.json b/src/routes/component-data/TextPlaceholder.json index 5bbda590a..8aac378b1 100644 --- a/src/routes/component-data/TextPlaceholder.json +++ b/src/routes/component-data/TextPlaceholder.json @@ -3,7 +3,15 @@ "slots": [], "events": [], "props": [ - ["divClass?", "string", "'space-y-2.5 animate-pulse'"], - ["size?", "keyof Sizes", ""] + [ + "divClass?", + "string", + "'space-y-2.5 animate-pulse'" + ], + [ + "size?", + "keyof Sizes", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Textarea.json b/src/routes/component-data/Textarea.json index 0ce1c947c..f9c952645 100644 --- a/src/routes/component-data/Textarea.json +++ b/src/routes/component-data/Textarea.json @@ -1,13 +1,55 @@ { "name": "Textarea", - "slots": ["header", "footer"], - "events": ["blur", "change", "click", "contextmenu", "focus", "input", "keydown", "keypress", "keyup", "mouseenter", "mouseleave", "mouseover", "paste", "select"], + "slots": [ + "header", + "footer" + ], + "events": [ + "blur", + "change", + "click", + "contextmenu", + "focus", + "input", + "keydown", + "keypress", + "keyup", + "mouseenter", + "mouseleave", + "mouseover", + "paste", + "select" + ], "props": [ - ["value?", "any", "undefined"], - ["wrappedClass?", "string", "'block w-full text-sm border-0 px-0 bg-inherit dark:bg-inherit focus:outline-none focus:ring-0 disabled:cursor-not-allowed disabled:opacity-50'"], - ["unWrappedClass?", "string", "'p-2.5 text-sm focus:ring-primary-500 border-gray-300 focus:border-primary-500 dark:focus:ring-primary-500 dark:focus:border-primary-500 disabled:cursor-not-allowed disabled:opacity-50'"], - ["innerWrappedClass?", "string", "'py-2 px-4 bg-white dark:bg-gray-800'"], - ["headerClass?", "string", "''\n export let footerClass: $$Props['footerClass'] = ''"], - ["footerClass?", "string", ""] + [ + "value?", + "string", + "undefined" + ], + [ + "wrappedClass?", + "string", + "'block w-full text-sm border-0 px-0 bg-inherit dark:bg-inherit focus:outline-none focus:ring-0 disabled:cursor-not-allowed disabled:opacity-50'" + ], + [ + "unWrappedClass?", + "string", + "'p-2.5 text-sm focus:ring-primary-500 border-gray-300 focus:border-primary-500 dark:focus:ring-primary-500 dark:focus:border-primary-500 disabled:cursor-not-allowed disabled:opacity-50'" + ], + [ + "innerWrappedClass?", + "string", + "'py-2 px-4 bg-white dark:bg-gray-800'" + ], + [ + "headerClass?", + "string", + "''\n export let footerClass: $$Props['footerClass'] = ''" + ], + [ + "footerClass?", + "string", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Thumbnail.json b/src/routes/component-data/Thumbnail.json index c76703bfd..67cfc1bc9 100644 --- a/src/routes/component-data/Thumbnail.json +++ b/src/routes/component-data/Thumbnail.json @@ -3,9 +3,25 @@ "slots": [], "events": [], "props": [ - ["selected?", "boolean", ""], - ["alt?", "string | undefined | null", ""], - ["activeClass?", "string", ""], - ["inactiveClass?", "string", ""] + [ + "selected?", + "boolean", + "" + ], + [ + "alt?", + "string | undefined | null", + "" + ], + [ + "activeClass?", + "string", + "" + ], + [ + "inactiveClass?", + "string", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Thumbup.json b/src/routes/component-data/Thumbup.json index 0b6ee4dff..230d18cf6 100644 --- a/src/routes/component-data/Thumbup.json +++ b/src/routes/component-data/Thumbup.json @@ -1,14 +1,44 @@ { "name": "Thumbup", "slots": [], - "events": ["click"], + "events": [ + "click" + ], "props": [ - ["fillPercent?", "number", "100"], - ["fillColor?", "string", "'#00b500'"], - ["strokeColor?", "string", "'#00b500'"], - ["size?", "number", "24"], - ["ariaLabel?", "string", "'thumbup'"], - ["id?", "string", "'thumbup'"], - ["role?", "string", "'img'"] + [ + "fillPercent?", + "number", + "100" + ], + [ + "fillColor?", + "string", + "'#00b500'" + ], + [ + "strokeColor?", + "string", + "'#00b500'" + ], + [ + "size?", + "number", + "24" + ], + [ + "ariaLabel?", + "string", + "'thumbup'" + ], + [ + "id?", + "string", + "'thumbup'" + ], + [ + "role?", + "string", + "'img'" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Timeline.json b/src/routes/component-data/Timeline.json index d3327adba..32283297c 100644 --- a/src/routes/component-data/Timeline.json +++ b/src/routes/component-data/Timeline.json @@ -2,5 +2,11 @@ "name": "Timeline", "slots": [], "events": [], - "props": [["order?", "'default' | 'vertical' | 'horizontal' | 'activity' | 'group'", ""]] -} + "props": [ + [ + "order?", + "'default' | 'vertical' | 'horizontal' | 'activity' | 'group'", + "" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/TimelineItem.json b/src/routes/component-data/TimelineItem.json index f0c66d36a..099f8a042 100644 --- a/src/routes/component-data/TimelineItem.json +++ b/src/routes/component-data/TimelineItem.json @@ -1,14 +1,44 @@ { "name": "TimelineItem", - "slots": ["icon"], + "slots": [ + "icon" + ], "events": [], "props": [ - ["title?", "string", "''"], - ["date?", "string", "''"], - ["svgClass?", "string", "'w-3 h-3 text-primary-600 dark:text-primary-400'"], - ["classLi?", "string", "''"], - ["classDiv?", "string", "''"], - ["classTime?", "string", "''"], - ["classH3?", "string", "''"] + [ + "title?", + "string", + "''" + ], + [ + "date?", + "string", + "''" + ], + [ + "svgClass?", + "string", + "'w-3 h-3 text-primary-600 dark:text-primary-400'" + ], + [ + "classLi?", + "string", + "''" + ], + [ + "classDiv?", + "string", + "''" + ], + [ + "classTime?", + "string", + "''" + ], + [ + "classH3?", + "string", + "''" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Toast.json b/src/routes/component-data/Toast.json index bd05144c3..6e4f87652 100644 --- a/src/routes/component-data/Toast.json +++ b/src/routes/component-data/Toast.json @@ -1,17 +1,59 @@ { "name": "Toast", - "slots": ["icon"], + "slots": [ + "icon" + ], "events": [], "props": [ - ["dismissable?", "boolean", "true"], - ["color?", "ColorVariant", ""], - ["position?", "ToastPositionType", ""], - ["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", ""], - ["params?", "any", "{}"], - ["toastStatus?", "boolean", "true"] + [ + "dismissable?", + "boolean", + "true" + ], + [ + "color?", + "ColorVariant", + "" + ], + [ + "position?", + "ToastPositionType", + "" + ], + [ + "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", + "" + ], + [ + "params?", + "any", + "{}" + ], + [ + "toastStatus?", + "boolean", + "true" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Toggle.json b/src/routes/component-data/Toggle.json index 71ebb42c2..ce90bb6d7 100644 --- a/src/routes/component-data/Toggle.json +++ b/src/routes/component-data/Toggle.json @@ -1,13 +1,47 @@ { "name": "Toggle", - "slots": ["offLabel"], - "events": ["click", "change"], + "slots": [ + "offLabel" + ], + "events": [ + "click", + "change" + ], "props": [ - ["size?", "'small' | 'default' | 'large' | 'custom'", ""], - ["group?", "string[]", "[]"], - ["value?", "string | number", "''"], - ["checked?", "boolean", "undefined"], - ["customSize?", "string", "''"], - ["classDiv?", "string", ""] + [ + "size?", + "'small' | 'default' | 'large' | 'custom'", + "" + ], + [ + "group?", + "string[]", + "[]" + ], + [ + "value?", + "string | number", + "''" + ], + [ + "checked?", + "boolean", + "undefined" + ], + [ + "customSize?", + "string", + "''" + ], + [ + "classDiv?", + "string", + "" + ], + [ + "disabled?", + "boolean", + "false" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Toolbar.json b/src/routes/component-data/Toolbar.json index 1857ed2ea..5341b0c35 100644 --- a/src/routes/component-data/Toolbar.json +++ b/src/routes/component-data/Toolbar.json @@ -1,6 +1,14 @@ { "name": "Toolbar", - "slots": ["end"], + "slots": [ + "end" + ], "events": [], - "props": [["embedded?", "boolean", ""]] -} + "props": [ + [ + "embedded?", + "boolean", + "" + ] + ] +} \ No newline at end of file diff --git a/src/routes/component-data/ToolbarButton.json b/src/routes/component-data/ToolbarButton.json index 960c2ee29..eed415f9a 100644 --- a/src/routes/component-data/ToolbarButton.json +++ b/src/routes/component-data/ToolbarButton.json @@ -1,6 +1,8 @@ { "name": "ToolbarButton", "slots": [], - "events": ["click"], + "events": [ + "click" + ], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/Tooltip.json b/src/routes/component-data/Tooltip.json index fefa6cbd2..a06e90ced 100644 --- a/src/routes/component-data/Tooltip.json +++ b/src/routes/component-data/Tooltip.json @@ -1,9 +1,19 @@ { "name": "Tooltip", "slots": [], - "events": ["show"], + "events": [ + "show" + ], "props": [ - ["type?", "'dark' | 'light' | 'auto' | 'custom'", ""], - ["defaultClass?", "string", ""] + [ + "type?", + "'dark' | 'light' | 'auto' | 'custom'", + "" + ], + [ + "defaultClass?", + "string", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/TransitionFrame.json b/src/routes/component-data/TransitionFrame.json index 605b70fc7..98bf8534d 100644 --- a/src/routes/component-data/TransitionFrame.json +++ b/src/routes/component-data/TransitionFrame.json @@ -1,6 +1,8 @@ { "name": "TransitionFrame", "slots": [], - "events": ["show"], + "events": [ + "show" + ], "props": [] -} +} \ No newline at end of file diff --git a/src/routes/component-data/VideoPlaceholder.json b/src/routes/component-data/VideoPlaceholder.json index aeebfd08d..2fd6e0733 100644 --- a/src/routes/component-data/VideoPlaceholder.json +++ b/src/routes/component-data/VideoPlaceholder.json @@ -3,7 +3,15 @@ "slots": [], "events": [], "props": [ - ["divClass?", "string", "'flex justify-center items-center h-56 bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700'"], - ["size?", "keyof Sizes", ""] + [ + "divClass?", + "string", + "'flex justify-center items-center h-56 bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700'" + ], + [ + "size?", + "keyof Sizes", + "" + ] ] -} +} \ No newline at end of file diff --git a/src/routes/component-data/WidgetPlaceholder.json b/src/routes/component-data/WidgetPlaceholder.json index 72d65b201..63f484e81 100644 --- a/src/routes/component-data/WidgetPlaceholder.json +++ b/src/routes/component-data/WidgetPlaceholder.json @@ -2,5 +2,11 @@ "name": "WidgetPlaceholder", "slots": [], "events": [], - "props": [["divClass?", "string", "'p-4 max-w-sm rounded border border-gray-200 shadow animate-pulse md:p-6 dark:border-gray-700'"]] -} + "props": [ + [ + "divClass?", + "string", + "'p-4 max-w-sm rounded border border-gray-200 shadow animate-pulse md:p-6 dark:border-gray-700'" + ] + ] +} \ No newline at end of file