From 41fe13996cc49d93fc36be85d7e09aa22a138fa7 Mon Sep 17 00:00:00 2001 From: Shinichi Okada <147320+shinokada@users.noreply.github.com> Date: Wed, 30 Oct 2024 20:30:58 +0100 Subject: [PATCH] chore: format for github action fail --- package.json | 2 +- 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 | 51 +------- .../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 | 53 ++------- 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 +- 140 files changed, 929 insertions(+), 4287 deletions(-) diff --git a/package.json b/package.json index c3ae8fb09..3f2069731 100644 --- a/package.json +++ b/package.json @@ -756,4 +756,4 @@ }, "./package.json": "./package.json" } -} \ No newline at end of file +} diff --git a/src/routes/component-data/A.json b/src/routes/component-data/A.json index c68085cf3..948919054 100644 --- a/src/routes/component-data/A.json +++ b/src/routes/component-data/A.json @@ -1,34 +1,12 @@ { "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 462a0bfb1..ee87bf443 100644 --- a/src/routes/component-data/Accordion.json +++ b/src/routes/component-data/Accordion.json @@ -3,40 +3,12 @@ "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 13327969f..0dd680dcb 100644 --- a/src/routes/component-data/AccordionItem.json +++ b/src/routes/component-data/AccordionItem.json @@ -1,96 +1,24 @@ { "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 dc6f51895..c496aae93 100644 --- a/src/routes/component-data/Activity.json +++ b/src/routes/component-data/Activity.json @@ -2,11 +2,5 @@ "name": "Activity", "slots": [], "events": [], - "props": [ - [ - "olClass?", - "string", - "'relative border-s border-gray-200 dark:border-gray-700'" - ] - ] -} \ No newline at end of file + "props": [["olClass?", "string", "'relative border-s border-gray-200 dark:border-gray-700'"]] +} diff --git a/src/routes/component-data/ActivityItem.json b/src/routes/component-data/ActivityItem.json index 1a60853aa..278d2c8fb 100644 --- a/src/routes/component-data/ActivityItem.json +++ b/src/routes/component-data/ActivityItem.json @@ -3,90 +3,22 @@ "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 1a948ecbe..00a0d0995 100644 --- a/src/routes/component-data/Alert.json +++ b/src/routes/component-data/Alert.json @@ -1,30 +1,9 @@ { "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 505507b1e..72a96bc51 100644 --- a/src/routes/component-data/Android.json +++ b/src/routes/component-data/Android.json @@ -3,70 +3,18 @@ "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 63acfe6e2..eb10e27cd 100644 --- a/src/routes/component-data/ArrowKeyDown.json +++ b/src/routes/component-data/ArrowKeyDown.json @@ -2,11 +2,5 @@ "name": "ArrowKeyDown", "slots": [], "events": [], - "props": [ - [ - "svgClass?", - "string", - "'w-4 h-4'" - ] - ] -} \ No newline at end of file + "props": [["svgClass?", "string", "'w-4 h-4'"]] +} diff --git a/src/routes/component-data/ArrowKeyLeft.json b/src/routes/component-data/ArrowKeyLeft.json index de6e9e1f7..31844a33f 100644 --- a/src/routes/component-data/ArrowKeyLeft.json +++ b/src/routes/component-data/ArrowKeyLeft.json @@ -2,11 +2,5 @@ "name": "ArrowKeyLeft", "slots": [], "events": [], - "props": [ - [ - "svgClass?", - "string", - "'w-4 h-4'" - ] - ] -} \ No newline at end of file + "props": [["svgClass?", "string", "'w-4 h-4'"]] +} diff --git a/src/routes/component-data/ArrowKeyRight.json b/src/routes/component-data/ArrowKeyRight.json index a6f91f560..218214b38 100644 --- a/src/routes/component-data/ArrowKeyRight.json +++ b/src/routes/component-data/ArrowKeyRight.json @@ -2,11 +2,5 @@ "name": "ArrowKeyRight", "slots": [], "events": [], - "props": [ - [ - "svgClass?", - "string", - "'w-4 h-4'" - ] - ] -} \ No newline at end of file + "props": [["svgClass?", "string", "'w-4 h-4'"]] +} diff --git a/src/routes/component-data/ArrowKeyUp.json b/src/routes/component-data/ArrowKeyUp.json index da0042fa7..c971d96a0 100644 --- a/src/routes/component-data/ArrowKeyUp.json +++ b/src/routes/component-data/ArrowKeyUp.json @@ -2,11 +2,5 @@ "name": "ArrowKeyUp", "slots": [], "events": [], - "props": [ - [ - "svgClass?", - "string", - "'w-4 h-4'" - ] - ] -} \ No newline at end of file + "props": [["svgClass?", "string", "'w-4 h-4'"]] +} diff --git a/src/routes/component-data/Avatar.json b/src/routes/component-data/Avatar.json index fb27e582a..393b90c94 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 eb417fdce..3afe5cda4 100644 --- a/src/routes/component-data/Badge.json +++ b/src/routes/component-data/Badge.json @@ -1,51 +1,15 @@ { "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 563feef69..d5b9052b7 100644 --- a/src/routes/component-data/Banner.json +++ b/src/routes/component-data/Banner.json @@ -1,68 +1,17 @@ { "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 e841ab3e7..98e6841cd 100644 --- a/src/routes/component-data/Blockquote.json +++ b/src/routes/component-data/Blockquote.json @@ -3,45 +3,13 @@ "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 b5187ebf0..b9db616f7 100644 --- a/src/routes/component-data/BottomNav.json +++ b/src/routes/component-data/BottomNav.json @@ -1,54 +1,16 @@ { "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 e14548910..d7354cfa4 100644 --- a/src/routes/component-data/BottomNavHeader.json +++ b/src/routes/component-data/BottomNavHeader.json @@ -3,25 +3,9 @@ "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 0c422fcb5..f065f5043 100644 --- a/src/routes/component-data/BottomNavHeaderItem.json +++ b/src/routes/component-data/BottomNavHeaderItem.json @@ -1,36 +1,11 @@ { "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 025c56ce5..cd2c8f68c 100644 --- a/src/routes/component-data/BottomNavItem.json +++ b/src/routes/component-data/BottomNavItem.json @@ -1,15 +1,6 @@ { "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 aff034035..e128ce4ea 100644 --- a/src/routes/component-data/Breadcrumb.json +++ b/src/routes/component-data/Breadcrumb.json @@ -3,35 +3,11 @@ "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 dece0dab4..2bbf7069a 100644 --- a/src/routes/component-data/BreadcrumbItem.json +++ b/src/routes/component-data/BreadcrumbItem.json @@ -1,50 +1,15 @@ { "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 3e7da3643..d9bb12f17 100644 --- a/src/routes/component-data/Button.json +++ b/src/routes/component-data/Button.json @@ -1,23 +1,6 @@ { "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 3a9cff5ec..7519deba3 100644 --- a/src/routes/component-data/ButtonGroup.json +++ b/src/routes/component-data/ButtonGroup.json @@ -3,15 +3,7 @@ "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 33c4b922b..22bccba7f 100644 --- a/src/routes/component-data/Card.json +++ b/src/routes/component-data/Card.json @@ -1,48 +1,14 @@ { "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 e006bb461..c17a3d0fe 100644 --- a/src/routes/component-data/CardPlaceholder.json +++ b/src/routes/component-data/CardPlaceholder.json @@ -3,15 +3,7 @@ "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 f132275f0..f972ced60 100644 --- a/src/routes/component-data/Chart.json +++ b/src/routes/component-data/Chart.json @@ -3,15 +3,7 @@ "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 b59f93d47..9523e9736 100644 --- a/src/routes/component-data/Checkbox.json +++ b/src/routes/component-data/Checkbox.json @@ -1,79 +1,19 @@ { "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 e23c17ab0..c0d0676a8 100644 --- a/src/routes/component-data/CheckboxButton.json +++ b/src/routes/component-data/CheckboxButton.json @@ -1,18 +1,6 @@ { "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 144d119a8..70114a972 100644 --- a/src/routes/component-data/DarkMode.json +++ b/src/routes/component-data/DarkMode.json @@ -1,25 +1,10 @@ { "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 1389e2773..688bb4a32 100644 --- a/src/routes/component-data/DefaultMockup.json +++ b/src/routes/component-data/DefaultMockup.json @@ -3,60 +3,16 @@ "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 673191e07..1ee36d869 100644 --- a/src/routes/component-data/DescriptionList.json +++ b/src/routes/component-data/DescriptionList.json @@ -3,20 +3,8 @@ "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 f13dc3280..3f9a9d16f 100644 --- a/src/routes/component-data/Desktop.json +++ b/src/routes/component-data/Desktop.json @@ -3,40 +3,12 @@ "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 4a0329bef..a3da10f27 100644 --- a/src/routes/component-data/DeviceMockup.json +++ b/src/routes/component-data/DeviceMockup.json @@ -2,11 +2,5 @@ "name": "DeviceMockup", "slots": [], "events": [], - "props": [ - [ - "device?", - "'default' | 'ios' | 'android' | 'tablet' | 'laptop' | 'desktop' | 'smartwatch'", - "" - ] - ] -} \ No newline at end of file + "props": [["device?", "'default' | 'ios' | 'android' | 'tablet' | 'laptop' | 'desktop' | 'smartwatch'", ""]] +} diff --git a/src/routes/component-data/Drawer.json b/src/routes/component-data/Drawer.json index 5c6317fd2..f2f5e7b3d 100644 --- a/src/routes/component-data/Drawer.json +++ b/src/routes/component-data/Drawer.json @@ -3,85 +3,21 @@ "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 d51bb353f..b2fd5f1e4 100644 --- a/src/routes/component-data/Dropdown.json +++ b/src/routes/component-data/Dropdown.json @@ -1,92 +1,23 @@ { "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 d66c3c5df..708a38758 100644 --- a/src/routes/component-data/DropdownDivider.json +++ b/src/routes/component-data/DropdownDivider.json @@ -2,11 +2,5 @@ "name": "DropdownDivider", "slots": [], "events": [], - "props": [ - [ - "divClass?", - "string", - "'my-1 h-px bg-gray-100 dark:bg-gray-600'" - ] - ] -} \ No newline at end of file + "props": [["divClass?", "string", "'my-1 h-px bg-gray-100 dark:bg-gray-600'"]] +} diff --git a/src/routes/component-data/DropdownHeader.json b/src/routes/component-data/DropdownHeader.json index 2e6149766..8f112b4b0 100644 --- a/src/routes/component-data/DropdownHeader.json +++ b/src/routes/component-data/DropdownHeader.json @@ -3,15 +3,7 @@ "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 f3be0dc48..0e1e9671f 100644 --- a/src/routes/component-data/DropdownItem.json +++ b/src/routes/component-data/DropdownItem.json @@ -1,15 +1,6 @@ { "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 6dcd1695c..907f6ce70 100644 --- a/src/routes/component-data/Dropzone.json +++ b/src/routes/component-data/Dropzone.json @@ -1,18 +1,6 @@ { "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 47b428e27..98d209f0e 100644 --- a/src/routes/component-data/Fileupload.json +++ b/src/routes/component-data/Fileupload.json @@ -1,50 +1,11 @@ { "name": "Fileupload", "slots": [], - "events": [ - "change", - "keyup", - "keydown", - "keypress", - "focus", - "blur", - "click", - "mouseover", - "mouseenter", - "mouseleave", - "paste", - "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'" - ], - [ - "clearable?", - "boolean", - "false" - ], - [ - "size?", - "'sm' | 'md' | 'lg'", - "'md'" - ] + ["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 211127446..defc70dbf 100644 --- a/src/routes/component-data/FloatingLabelInput.json +++ b/src/routes/component-data/FloatingLabelInput.json @@ -1,65 +1,16 @@ { "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?", - "string | number | readonly string[] | undefined", - "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 717055f48..f2a771a09 100644 --- a/src/routes/component-data/Footer.json +++ b/src/routes/component-data/Footer.json @@ -2,11 +2,5 @@ "name": "Footer", "slots": [], "events": [], - "props": [ - [ - "footerType?", - "'sitemap' | 'default' | 'logo' | 'socialmedia'", - "undefined" - ] - ] -} \ No newline at end of file + "props": [["footerType?", "'sitemap' | 'default' | 'logo' | 'socialmedia'", "undefined"]] +} diff --git a/src/routes/component-data/FooterBrand.json b/src/routes/component-data/FooterBrand.json index ac96249a2..cb543b652 100644 --- a/src/routes/component-data/FooterBrand.json +++ b/src/routes/component-data/FooterBrand.json @@ -3,60 +3,16 @@ "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 67853ffab..c6640d605 100644 --- a/src/routes/component-data/FooterCopyright.json +++ b/src/routes/component-data/FooterCopyright.json @@ -3,50 +3,14 @@ "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 4c6391b91..d6f2d1463 100644 --- a/src/routes/component-data/FooterIcon.json +++ b/src/routes/component-data/FooterIcon.json @@ -3,25 +3,9 @@ "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 05c2c2511..f75d0d966 100644 --- a/src/routes/component-data/FooterLink.json +++ b/src/routes/component-data/FooterLink.json @@ -3,35 +3,11 @@ "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 9dab78c49..97b8d07a9 100644 --- a/src/routes/component-data/FooterLinkGroup.json +++ b/src/routes/component-data/FooterLinkGroup.json @@ -2,11 +2,5 @@ "name": "FooterLinkGroup", "slots": [], "events": [], - "props": [ - [ - "ulClass?", - "string", - "'text-gray-600 dark:text-gray-400'" - ] - ] -} \ No newline at end of file + "props": [["ulClass?", "string", "'text-gray-600 dark:text-gray-400'"]] +} diff --git a/src/routes/component-data/Frame.json b/src/routes/component-data/Frame.json index f93b2b889..17b3150cc 100644 --- a/src/routes/component-data/Frame.json +++ b/src/routes/component-data/Frame.json @@ -1,83 +1,20 @@ { "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 8c2294ca9..cc0d4990e 100644 --- a/src/routes/component-data/Gallery.json +++ b/src/routes/component-data/Gallery.json @@ -3,15 +3,7 @@ "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 5abfb3470..3579a8f17 100644 --- a/src/routes/component-data/GradientButton.json +++ b/src/routes/component-data/GradientButton.json @@ -1,33 +1,9 @@ { "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 ad251c6c8..233a7d77e 100644 --- a/src/routes/component-data/Group.json +++ b/src/routes/component-data/Group.json @@ -3,40 +3,12 @@ "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 6d734c830..25da91d53 100644 --- a/src/routes/component-data/GroupItem.json +++ b/src/routes/component-data/GroupItem.json @@ -3,65 +3,17 @@ "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 89d31e08d..a56b41551 100644 --- a/src/routes/component-data/Heading.json +++ b/src/routes/component-data/Heading.json @@ -3,20 +3,8 @@ "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 4eab66f69..8cff72186 100644 --- a/src/routes/component-data/Heart.json +++ b/src/routes/component-data/Heart.json @@ -1,44 +1,14 @@ { "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 c0ad71e2a..33301bc58 100644 --- a/src/routes/component-data/Helper.json +++ b/src/routes/component-data/Helper.json @@ -3,15 +3,7 @@ "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 6d6e88a00..2932b984b 100644 --- a/src/routes/component-data/Hr.json +++ b/src/routes/component-data/Hr.json @@ -3,50 +3,14 @@ "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 109915c89..67f1ac847 100644 --- a/src/routes/component-data/ImagePlaceholder.json +++ b/src/routes/component-data/ImagePlaceholder.json @@ -3,20 +3,8 @@ "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 c3d9864ec..30514f5f3 100644 --- a/src/routes/component-data/Img.json +++ b/src/routes/component-data/Img.json @@ -3,55 +3,15 @@ "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 f400ff0a6..9482807e9 100644 --- a/src/routes/component-data/Indicator.json +++ b/src/routes/component-data/Indicator.json @@ -3,35 +3,11 @@ "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 f3a8cc3f0..e6bd2847a 100644 --- a/src/routes/component-data/Input.json +++ b/src/routes/component-data/Input.json @@ -1,69 +1,16 @@ { "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 4c31ce7e1..e193fc4c4 100644 --- a/src/routes/component-data/InputAddon.json +++ b/src/routes/component-data/InputAddon.json @@ -2,11 +2,5 @@ "name": "InputAddon", "slots": [], "events": [], - "props": [ - [ - "size?", - "'sm' | 'md' | 'lg'", - "undefined" - ] - ] -} \ No newline at end of file + "props": [["size?", "'sm' | 'md' | 'lg'", "undefined"]] +} diff --git a/src/routes/component-data/Ios.json b/src/routes/component-data/Ios.json index 94752a02d..27d88b7a8 100644 --- a/src/routes/component-data/Ios.json +++ b/src/routes/component-data/Ios.json @@ -3,60 +3,16 @@ "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 b92a43e49..09b4162bc 100644 --- a/src/routes/component-data/Kbd.json +++ b/src/routes/component-data/Kbd.json @@ -2,11 +2,5 @@ "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'" - ] - ] -} \ No newline at end of file + "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'"]] +} diff --git a/src/routes/component-data/Label.json b/src/routes/component-data/Label.json index e5f074199..33f13ff6e 100644 --- a/src/routes/component-data/Label.json +++ b/src/routes/component-data/Label.json @@ -3,20 +3,8 @@ "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 a94b364e0..7929269b9 100644 --- a/src/routes/component-data/Laptop.json +++ b/src/routes/component-data/Laptop.json @@ -3,40 +3,12 @@ "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 e423e12ed..0665799a5 100644 --- a/src/routes/component-data/Layout.json +++ b/src/routes/component-data/Layout.json @@ -3,20 +3,8 @@ "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 a664750bc..29e8b1c1e 100644 --- a/src/routes/component-data/Li.json +++ b/src/routes/component-data/Li.json @@ -3,15 +3,7 @@ "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 ed84aa7eb..f7656e203 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 53c9eb6e8..7edd88b73 100644 --- a/src/routes/component-data/ListPlaceholder.json +++ b/src/routes/component-data/ListPlaceholder.json @@ -2,11 +2,5 @@ "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'" - ] - ] -} \ No newline at end of file + "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'"]] +} diff --git a/src/routes/component-data/Listgroup.json b/src/routes/component-data/Listgroup.json index 42c978591..758ce9d21 100644 --- a/src/routes/component-data/Listgroup.json +++ b/src/routes/component-data/Listgroup.json @@ -3,20 +3,8 @@ "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 19c21b8da..e26b932a6 100644 --- a/src/routes/component-data/Mark.json +++ b/src/routes/component-data/Mark.json @@ -3,20 +3,8 @@ "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 df92083c9..3777aa879 100644 --- a/src/routes/component-data/MegaMenu.json +++ b/src/routes/component-data/MegaMenu.json @@ -1,31 +1,11 @@ { "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 0c08fbd0a..86559c7ec 100644 --- a/src/routes/component-data/Menu.json +++ b/src/routes/component-data/Menu.json @@ -1,29 +1,11 @@ { "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 2d22a9d68..7761eab03 100644 --- a/src/routes/component-data/Modal.json +++ b/src/routes/component-data/Modal.json @@ -1,95 +1,24 @@ { "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 9e12c9178..1bcd921f0 100644 --- a/src/routes/component-data/MultiSelect.json +++ b/src/routes/component-data/MultiSelect.json @@ -1,39 +1,13 @@ { "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 326218fb2..77053b466 100644 --- a/src/routes/component-data/NavBrand.json +++ b/src/routes/component-data/NavBrand.json @@ -2,11 +2,5 @@ "name": "NavBrand", "slots": [], "events": [], - "props": [ - [ - "href?", - "string", - "''" - ] - ] -} \ No newline at end of file + "props": [["href?", "string", "''"]] +} diff --git a/src/routes/component-data/NavContainer.json b/src/routes/component-data/NavContainer.json index d4b8ba02a..de420bed7 100644 --- a/src/routes/component-data/NavContainer.json +++ b/src/routes/component-data/NavContainer.json @@ -2,11 +2,5 @@ "name": "NavContainer", "slots": [], "events": [], - "props": [ - [ - "fluid?", - "boolean", - "" - ] - ] -} \ No newline at end of file + "props": [["fluid?", "boolean", ""]] +} diff --git a/src/routes/component-data/NavHamburger.json b/src/routes/component-data/NavHamburger.json index fd79154f6..e3fdb6feb 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 b9519044b..cecea7a9f 100644 --- a/src/routes/component-data/NavLi.json +++ b/src/routes/component-data/NavLi.json @@ -1,17 +1,6 @@ { "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 36dcbe0a9..06c5f5aad 100644 --- a/src/routes/component-data/NavUl.json +++ b/src/routes/component-data/NavUl.json @@ -1,44 +1,14 @@ { "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 c4dd5668a..68e4a158d 100644 --- a/src/routes/component-data/Navbar.json +++ b/src/routes/component-data/Navbar.json @@ -2,11 +2,5 @@ "name": "Navbar", "slots": [], "events": [], - "props": [ - [ - "fluid?", - "boolean", - "false" - ] - ] -} \ No newline at end of file + "props": [["fluid?", "boolean", "false"]] +} diff --git a/src/routes/component-data/NumberInput.json b/src/routes/component-data/NumberInput.json index f99a4fec8..c1601df21 100644 --- a/src/routes/component-data/NumberInput.json +++ b/src/routes/component-data/NumberInput.json @@ -1,26 +1,6 @@ { "name": "NumberInput", "slots": [], - "events": [ - "blur", - "change", - "click", - "contextmenu", - "focus", - "keydown", - "keypress", - "keyup", - "mouseover", - "mouseenter", - "mouseleave", - "paste", - "input" - ], - "props": [ - [ - "value?", - "number", - "0" - ] - ] -} \ No newline at end of file + "events": ["blur", "change", "click", "contextmenu", "focus", "keydown", "keypress", "keyup", "mouseover", "mouseenter", "mouseleave", "paste", "input"], + "props": [["value?", "number", "0"]] +} diff --git a/src/routes/component-data/P.json b/src/routes/component-data/P.json index 9f74211e3..5289e8cc7 100644 --- a/src/routes/component-data/P.json +++ b/src/routes/component-data/P.json @@ -3,65 +3,17 @@ "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 7c29619b8..2a402fa3d 100644 --- a/src/routes/component-data/Pagination.json +++ b/src/routes/component-data/Pagination.json @@ -1,56 +1,14 @@ { "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 11bf77ab4..4fa901202 100644 --- a/src/routes/component-data/PaginationItem.json +++ b/src/routes/component-data/PaginationItem.json @@ -1,17 +1,6 @@ { "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 ac5439060..eb084c57f 100644 --- a/src/routes/component-data/Popover.json +++ b/src/routes/component-data/Popover.json @@ -1,21 +1,9 @@ { "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 0416525b3..c76ea5746 100644 --- a/src/routes/component-data/Popper.json +++ b/src/routes/component-data/Popper.json @@ -3,55 +3,15 @@ "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 808eb0c80..152a8ee5e 100644 --- a/src/routes/component-data/Progressbar.json +++ b/src/routes/component-data/Progressbar.json @@ -3,70 +3,18 @@ "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 3b8bb7c70..f3e4eb9d9 100644 --- a/src/routes/component-data/Radio.json +++ b/src/routes/component-data/Radio.json @@ -1,54 +1,14 @@ { "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 eb6e1e369..655285f52 100644 --- a/src/routes/component-data/RadioButton.json +++ b/src/routes/component-data/RadioButton.json @@ -1,59 +1,15 @@ { "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 c1b88367d..c1b2bf263 100644 --- a/src/routes/component-data/Range.json +++ b/src/routes/component-data/Range.json @@ -1,23 +1,9 @@ { "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 b75e12eaa..68ebb1802 100644 --- a/src/routes/component-data/Rating.json +++ b/src/routes/component-data/Rating.json @@ -1,54 +1,16 @@ { "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 19e9442fe..6c83bc0b2 100644 --- a/src/routes/component-data/RatingComment.json +++ b/src/routes/component-data/RatingComment.json @@ -1,54 +1,16 @@ { "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 3945d8530..04a23e9cf 100644 --- a/src/routes/component-data/Review.json +++ b/src/routes/component-data/Review.json @@ -1,67 +1,18 @@ { "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 7e5727c08..b2c30ac66 100644 --- a/src/routes/component-data/ScoreRating.json +++ b/src/routes/component-data/ScoreRating.json @@ -2,11 +2,5 @@ "name": "ScoreRating", "slots": [], "events": [], - "props": [ - [ - "ratings", - "{ label", - "[]" - ] - ] -} \ No newline at end of file + "props": [["ratings", "{ label", "[]"]] +} diff --git a/src/routes/component-data/Search.json b/src/routes/component-data/Search.json index d236cbb18..8eeb8d68b 100644 --- a/src/routes/component-data/Search.json +++ b/src/routes/component-data/Search.json @@ -1,35 +1,10 @@ { "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 73b438ccc..b369eb1ea 100644 --- a/src/routes/component-data/Secondary.json +++ b/src/routes/component-data/Secondary.json @@ -3,15 +3,7 @@ "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 7aa6a7cea..9542347ca 100644 --- a/src/routes/component-data/Select.json +++ b/src/routes/component-data/Select.json @@ -1,46 +1,14 @@ { "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 edfc5113a..b2bf9d47b 100644 --- a/src/routes/component-data/Sidebar.json +++ b/src/routes/component-data/Sidebar.json @@ -3,30 +3,10 @@ "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 3717c56b2..2a6f5528e 100644 --- a/src/routes/component-data/SidebarBrand.json +++ b/src/routes/component-data/SidebarBrand.json @@ -3,25 +3,9 @@ "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 1b6204353..5aab46f54 100644 --- a/src/routes/component-data/SidebarCta.json +++ b/src/routes/component-data/SidebarCta.json @@ -1,29 +1,11 @@ { "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 a90d6f1e5..db22f2ca2 100644 --- a/src/routes/component-data/SidebarDropdownItem.json +++ b/src/routes/component-data/SidebarDropdownItem.json @@ -1,42 +1,12 @@ { "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 f6f9492e8..b2c8694c8 100644 --- a/src/routes/component-data/SidebarDropdownWrapper.json +++ b/src/routes/component-data/SidebarDropdownWrapper.json @@ -1,48 +1,14 @@ { "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 5947c08b2..cc03268d2 100644 --- a/src/routes/component-data/SidebarGroup.json +++ b/src/routes/component-data/SidebarGroup.json @@ -3,20 +3,8 @@ "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 78e0c27ce..6aa6c41cc 100644 --- a/src/routes/component-data/SidebarItem.json +++ b/src/routes/component-data/SidebarItem.json @@ -1,55 +1,14 @@ { "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 1bc5304dc..394ad684e 100644 --- a/src/routes/component-data/SidebarWrapper.json +++ b/src/routes/component-data/SidebarWrapper.json @@ -2,11 +2,5 @@ "name": "SidebarWrapper", "slots": [], "events": [], - "props": [ - [ - "divClass?", - "string", - "'overflow-y-auto py-4 px-3 bg-gray-50 rounded dark:bg-gray-800'" - ] - ] -} \ No newline at end of file + "props": [["divClass?", "string", "'overflow-y-auto py-4 px-3 bg-gray-50 rounded dark:bg-gray-800'"]] +} diff --git a/src/routes/component-data/Skeleton.json b/src/routes/component-data/Skeleton.json index 98734f7ed..c1a1324e6 100644 --- a/src/routes/component-data/Skeleton.json +++ b/src/routes/component-data/Skeleton.json @@ -3,15 +3,7 @@ "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 ce4154f7c..e0c3eb70b 100644 --- a/src/routes/component-data/Smartwatch.json +++ b/src/routes/component-data/Smartwatch.json @@ -3,60 +3,16 @@ "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 a3f882efe..05c86540b 100644 --- a/src/routes/component-data/Span.json +++ b/src/routes/component-data/Span.json @@ -3,50 +3,14 @@ "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 56fe6635b..47652b888 100644 --- a/src/routes/component-data/SpeedDial.json +++ b/src/routes/component-data/SpeedDial.json @@ -1,10 +1,6 @@ { "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 6d1e6070d..fb9f8d4c5 100644 --- a/src/routes/component-data/SpeedDialButton.json +++ b/src/routes/component-data/SpeedDialButton.json @@ -1,8 +1,6 @@ { "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 50819edfc..e88d8604e 100644 --- a/src/routes/component-data/Spinner.json +++ b/src/routes/component-data/Spinner.json @@ -3,35 +3,11 @@ "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 79b4eb700..092f91f95 100644 --- a/src/routes/component-data/Star.json +++ b/src/routes/component-data/Star.json @@ -1,44 +1,14 @@ { "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 bb2ef137a..5a9c781bd 100644 --- a/src/routes/component-data/StepIndicator.json +++ b/src/routes/component-data/StepIndicator.json @@ -3,45 +3,13 @@ "slots": [], "events": [], "props": [ - [ - "steps", - "string[]", - "" - ], - [ - "currentStep", - "number", - "" - ], - [ - "size?", - "string", - "" - ], - [ - "color?", - "ColorType", - "" - ], - [ - "glow?", - "boolean", - "" - ], - [ - "hideLabel?", - "boolean", - "" - ], - [ - "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 468b17003..99b8daf1d 100644 --- a/src/routes/component-data/TabItem.json +++ b/src/routes/component-data/TabItem.json @@ -1,50 +1,13 @@ { "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 5e3c1c607..15da548f4 100644 --- a/src/routes/component-data/Table.json +++ b/src/routes/component-data/Table.json @@ -1,96 +1,24 @@ { "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 79316b55c..39bdb8a61 100644 --- a/src/routes/component-data/TableBody.json +++ b/src/routes/component-data/TableBody.json @@ -1,14 +1,6 @@ { "name": "TableBody", - "slots": [ - "row" - ], + "slots": ["row"], "events": [], - "props": [ - [ - "tableBodyClass?", - "string", - "undefined" - ] - ] -} \ No newline at end of file + "props": [["tableBodyClass?", "string", "undefined"]] +} diff --git a/src/routes/component-data/TableBodyCell.json b/src/routes/component-data/TableBodyCell.json index 34415ce2f..f09ce6309 100644 --- a/src/routes/component-data/TableBodyCell.json +++ b/src/routes/component-data/TableBodyCell.json @@ -2,11 +2,5 @@ "name": "TableBodyCell", "slots": [], "events": [], - "props": [ - [ - "tdClass?", - "string", - "'px-6 py-4 whitespace-nowrap font-medium '" - ] - ] -} \ No newline at end of file + "props": [["tdClass?", "string", "'px-6 py-4 whitespace-nowrap font-medium '"]] +} diff --git a/src/routes/component-data/TableBodyRow.json b/src/routes/component-data/TableBodyRow.json index 0f75fdb65..157fa56c3 100644 --- a/src/routes/component-data/TableBodyRow.json +++ b/src/routes/component-data/TableBodyRow.json @@ -1,16 +1,6 @@ { "name": "TableBodyRow", "slots": [], - "events": [ - "click", - "contextmenu", - "dblclick" - ], - "props": [ - [ - "color?", - "'blue' | 'green' | 'red' | 'yellow' | 'purple' | 'default' | 'custom'", - "" - ] - ] -} \ No newline at end of file + "events": ["click", "contextmenu", "dblclick"], + "props": [["color?", "'blue' | 'green' | 'red' | 'yellow' | 'purple' | 'default' | 'custom'", ""]] +} diff --git a/src/routes/component-data/TableHead.json b/src/routes/component-data/TableHead.json index 92e111151..6708cace8 100644 --- a/src/routes/component-data/TableHead.json +++ b/src/routes/component-data/TableHead.json @@ -3,15 +3,7 @@ "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 daafd8965..a916a7829 100644 --- a/src/routes/component-data/TableHeadCell.json +++ b/src/routes/component-data/TableHeadCell.json @@ -1,49 +1,12 @@ { "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 4d60e5f68..b1dcec3f2 100644 --- a/src/routes/component-data/TableSearch.json +++ b/src/routes/component-data/TableSearch.json @@ -1,81 +1,21 @@ { "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 fa90ec86a..6e7c16652 100644 --- a/src/routes/component-data/Tablet.json +++ b/src/routes/component-data/Tablet.json @@ -3,60 +3,16 @@ "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 f36e42b51..bbf193f5c 100644 --- a/src/routes/component-data/Tabs.json +++ b/src/routes/component-data/Tabs.json @@ -1,39 +1,13 @@ { "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 24535b8c0..4f4a20c6d 100644 --- a/src/routes/component-data/TestimonialPlaceholder.json +++ b/src/routes/component-data/TestimonialPlaceholder.json @@ -2,11 +2,5 @@ "name": "TestimonialPlaceholder", "slots": [], "events": [], - "props": [ - [ - "divClass?", - "string", - "'animate-pulse'" - ] - ] -} \ No newline at end of file + "props": [["divClass?", "string", "'animate-pulse'"]] +} diff --git a/src/routes/component-data/TextPlaceholder.json b/src/routes/component-data/TextPlaceholder.json index 8aac378b1..5bbda590a 100644 --- a/src/routes/component-data/TextPlaceholder.json +++ b/src/routes/component-data/TextPlaceholder.json @@ -3,15 +3,7 @@ "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 f9c952645..1c1a14053 100644 --- a/src/routes/component-data/Textarea.json +++ b/src/routes/component-data/Textarea.json @@ -1,55 +1,13 @@ { "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?", - "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", - "" - ] + ["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 67cfc1bc9..c76703bfd 100644 --- a/src/routes/component-data/Thumbnail.json +++ b/src/routes/component-data/Thumbnail.json @@ -3,25 +3,9 @@ "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 230d18cf6..0b6ee4dff 100644 --- a/src/routes/component-data/Thumbup.json +++ b/src/routes/component-data/Thumbup.json @@ -1,44 +1,14 @@ { "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 32283297c..d3327adba 100644 --- a/src/routes/component-data/Timeline.json +++ b/src/routes/component-data/Timeline.json @@ -2,11 +2,5 @@ "name": "Timeline", "slots": [], "events": [], - "props": [ - [ - "order?", - "'default' | 'vertical' | 'horizontal' | 'activity' | 'group'", - "" - ] - ] -} \ No newline at end of file + "props": [["order?", "'default' | 'vertical' | 'horizontal' | 'activity' | 'group'", ""]] +} diff --git a/src/routes/component-data/TimelineItem.json b/src/routes/component-data/TimelineItem.json index 099f8a042..f0c66d36a 100644 --- a/src/routes/component-data/TimelineItem.json +++ b/src/routes/component-data/TimelineItem.json @@ -1,44 +1,14 @@ { "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 6e4f87652..bd05144c3 100644 --- a/src/routes/component-data/Toast.json +++ b/src/routes/component-data/Toast.json @@ -1,59 +1,17 @@ { "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 ce90bb6d7..cae6f2585 100644 --- a/src/routes/component-data/Toggle.json +++ b/src/routes/component-data/Toggle.json @@ -1,47 +1,14 @@ { "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", - "" - ], - [ - "disabled?", - "boolean", - "false" - ] + ["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 5341b0c35..1857ed2ea 100644 --- a/src/routes/component-data/Toolbar.json +++ b/src/routes/component-data/Toolbar.json @@ -1,14 +1,6 @@ { "name": "Toolbar", - "slots": [ - "end" - ], + "slots": ["end"], "events": [], - "props": [ - [ - "embedded?", - "boolean", - "" - ] - ] -} \ No newline at end of file + "props": [["embedded?", "boolean", ""]] +} diff --git a/src/routes/component-data/ToolbarButton.json b/src/routes/component-data/ToolbarButton.json index eed415f9a..960c2ee29 100644 --- a/src/routes/component-data/ToolbarButton.json +++ b/src/routes/component-data/ToolbarButton.json @@ -1,8 +1,6 @@ { "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 a06e90ced..fefa6cbd2 100644 --- a/src/routes/component-data/Tooltip.json +++ b/src/routes/component-data/Tooltip.json @@ -1,19 +1,9 @@ { "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 98bf8534d..605b70fc7 100644 --- a/src/routes/component-data/TransitionFrame.json +++ b/src/routes/component-data/TransitionFrame.json @@ -1,8 +1,6 @@ { "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 2fd6e0733..aeebfd08d 100644 --- a/src/routes/component-data/VideoPlaceholder.json +++ b/src/routes/component-data/VideoPlaceholder.json @@ -3,15 +3,7 @@ "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 63f484e81..72d65b201 100644 --- a/src/routes/component-data/WidgetPlaceholder.json +++ b/src/routes/component-data/WidgetPlaceholder.json @@ -2,11 +2,5 @@ "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'" - ] - ] -} \ No newline at end of file + "props": [["divClass?", "string", "'p-4 max-w-sm rounded border border-gray-200 shadow animate-pulse md:p-6 dark:border-gray-700'"]] +}