Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Oct 27, 2024
1 parent 888a235 commit 9e29904
Show file tree
Hide file tree
Showing 140 changed files with 926 additions and 4,261 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -756,4 +756,4 @@
},
"./package.json": "./package.json"
}
}
}
36 changes: 7 additions & 29 deletions src/routes/component-data/A.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,12 @@
{
"name": "A",
"slots": [],
"events": [
"click"
],
"events": ["click"],
"props": [
[
"action?",
"Action<HTMLElement, any>",
""
],
[
"params?",
"any",
"{}"
],
[
"href?",
"string",
"'#'"
],
[
"color?",
"string",
"'text-primary-600 dark:text-primary-500'"
],
[
"aClass?",
"string",
"'inline-flex items-center hover:underline'"
]
["action?", "Action<HTMLElement, any>", ""],
["params?", "any", "{}"],
["href?", "string", "'#'"],
["color?", "string", "'text-primary-600 dark:text-primary-500'"],
["aClass?", "string", "'inline-flex items-center hover:underline'"]
]
}
}
44 changes: 8 additions & 36 deletions src/routes/component-data/Accordion.json
Original file line number Diff line number Diff line change
Expand Up @@ -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", "''"]
]
}
}
110 changes: 19 additions & 91 deletions src/routes/component-data/AccordionItem.json
Original file line number Diff line number Diff line change
@@ -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"]
]
}
}
10 changes: 2 additions & 8 deletions src/routes/component-data/Activity.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,5 @@
"name": "Activity",
"slots": [],
"events": [],
"props": [
[
"olClass?",
"string",
"'relative border-s border-gray-200 dark:border-gray-700'"
]
]
}
"props": [["olClass?", "string", "'relative border-s border-gray-200 dark:border-gray-700'"]]
}
104 changes: 18 additions & 86 deletions src/routes/component-data/ActivityItem.json
Original file line number Diff line number Diff line change
Expand Up @@ -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", "''"]
]
}
}
31 changes: 5 additions & 26 deletions src/routes/component-data/Alert.json
Original file line number Diff line number Diff line change
@@ -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'"]
]
}
}
Loading

0 comments on commit 9e29904

Please sign in to comment.