Skip to content

Commit

Permalink
chore: update props
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Sep 4, 2023
1 parent aa0adb8 commit 9ed29e0
Show file tree
Hide file tree
Showing 162 changed files with 1,676 additions and 198 deletions.
76 changes: 38 additions & 38 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/lib/tables/TableSearch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,8 @@
@prop export let customColor: string = '';
@prop export let color: 'blue' | 'green' | 'red' | 'yellow' | 'purple' | 'default' | 'custom' = 'default';
@prop export let innerDivClass: string = 'p-4';
@prop export let searchClass: string = 'relative mt-1';
@prop export let svgDivClass: string = 'absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none';
@prop export let svgClass: string = 'w-5 h-5 text-gray-500 dark:text-gray-400';
@prop export let 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 pl-10 p-2.5 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';
-->
11 changes: 10 additions & 1 deletion src/routes/component-data/A.json
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
{"name":"A","slots":[],"events":["on:click"],"props":[["href","string","'#'"],["color","string","'text-primary-600 dark:text-primary-500'"],["aClass","string","'inline-flex items-center hover:underline'"]]}
{
"name": "A",
"slots": [],
"events": ["on:click"],
"props": [
["href", "string", "'#'"],
["color", "string", "'text-primary-600 dark:text-primary-500'"],
["aClass", "string", "'inline-flex items-center hover:underline'"]
]
}
13 changes: 12 additions & 1 deletion src/routes/component-data/Accordion.json
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
{"name":"Accordion","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'"]]}
{
"name": "Accordion",
"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'"]
]
}
24 changes: 23 additions & 1 deletion src/routes/component-data/AccordionItem.json
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
{"name":"AccordionItem","slots":["header","arrowup","arrowdown"],"events":["on:click","on:multiple"],"props":[["open","boolean","false"],["activeClass","string | undefined","undefined"],["inactiveClass","string | undefined","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-l border-r group-first:border-t'"],["borderOpenClass","string","'border-l border-r'"],["borderBottomClass","string","'border-b'"],["borderSharedClass","string","'border-gray-200 dark:border-gray-700'"],["classActive","string | undefined","undefined"],["classInactive","string | undefined","undefined"]]}
{
"name": "AccordionItem",
"slots": ["header", "arrowup", "arrowdown"],
"events": ["on:click", "on:multiple"],
"props": [
["open", "boolean", "false"],
["activeClass", "string | undefined", "undefined"],
["inactiveClass", "string | undefined", "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-l border-r group-first:border-t'"],
["borderOpenClass", "string", "'border-l border-r'"],
["borderBottomClass", "string", "'border-b'"],
["borderSharedClass", "string", "'border-gray-200 dark:border-gray-700'"],
["classActive", "string | undefined", "undefined"],
["classInactive", "string | undefined", "undefined"]
]
}
2 changes: 1 addition & 1 deletion src/routes/component-data/Activity.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"Activity","slots":[],"events":[],"props":[["olClass","string","'relative border-l border-gray-200 dark:border-gray-700'"]]}
{ "name": "Activity", "slots": [], "events": [], "props": [["olClass", "string", "'relative border-l border-gray-200 dark:border-gray-700'"]] }
17 changes: 16 additions & 1 deletion src/routes/component-data/ActivityItem.json
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
{"name":"ActivityItem","slots":[],"events":[],"props":[["activities","ActivityType[]",""],["liClass","string","'mb-10 ml-6'"],["spanClass","string","'flex absolute -left-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'"]]}
{
"name": "ActivityItem",
"slots": [],
"events": [],
"props": [
["activities", "ActivityType[]", ""],
["liClass", "string", "'mb-10 ml-6'"],
["spanClass", "string", "'flex absolute -left-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'"]
]
}
14 changes: 13 additions & 1 deletion src/routes/component-data/AdvancedRating.json
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
{"name":"AdvancedRating","slots":["rating","globalText"],"events":[],"props":[["divClass","string","'flex items-center mt-4'"],["labelClass","string","'text-sm font-medium text-gray-600 dark:text-gray-500'"],["ratingDivClass","string","'mx-4 w-2/4 h-5 bg-gray-200 rounded dark:bg-gray-700'"],["ratingClass","string","'h-5 bg-yellow-400 rounded'"],["rightLabelClass","string","'text-sm font-medium text-gray-600 dark:text-gray-500'"],["unit","string","'%'"]]}
{
"name": "AdvancedRating",
"slots": ["rating", "globalText"],
"events": [],
"props": [
["divClass", "string", "'flex items-center mt-4'"],
["labelClass", "string", "'text-sm font-medium text-gray-600 dark:text-gray-500'"],
["ratingDivClass", "string", "'mx-4 w-2/4 h-5 bg-gray-200 rounded dark:bg-gray-700'"],
["ratingClass", "string", "'h-5 bg-yellow-400 rounded'"],
["rightLabelClass", "string", "'text-sm font-medium text-gray-600 dark:text-gray-500'"],
["unit", "string", "'%'"]
]
}
10 changes: 9 additions & 1 deletion src/routes/component-data/Alert.json
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
{"name":"Alert","slots":["icon","close-button"],"events":["on:click","on:click","on:change","on:keydown","on:keyup","on:focus","on:blur","on:mouseenter","on:mouseleave"],"props":[["dismissable","boolean","false"],["defaultClass","string","'p-4 gap-3 text-sm'"]]}
{
"name": "Alert",
"slots": ["icon", "close-button"],
"events": ["on:click", "on:click", "on:change", "on:keydown", "on:keyup", "on:focus", "on:blur", "on:mouseenter", "on:mouseleave"],
"props": [
["dismissable", "boolean", "false"],
["defaultClass", "string", "'p-4 gap-3 text-sm'"]
]
}
13 changes: 12 additions & 1 deletion src/routes/component-data/Android.json
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
{"name":"Android","slots":[],"events":[],"props":[["androidTop","string",""],["androidLeftTop","string",""],["androidLeftMid","string",""],["androidLeftBot","string",""],["androidRight","string","@prop export let androidTop: string"]]}
{
"name": "Android",
"slots": [],
"events": [],
"props": [
["androidTop", "string", ""],
["androidLeftTop", "string", ""],
["androidLeftMid", "string", ""],
["androidLeftBot", "string", ""],
["androidRight", "string", "@prop export let androidTop: string"]
]
}
2 changes: 1 addition & 1 deletion src/routes/component-data/ArrowKeyDown.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"ArrowKeyDown","slots":[],"events":[],"props":[["svgClass","string","'w-4 h-4'"]]}
{ "name": "ArrowKeyDown", "slots": [], "events": [], "props": [["svgClass", "string", "'w-4 h-4'"]] }
2 changes: 1 addition & 1 deletion src/routes/component-data/ArrowKeyLeft.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"ArrowKeyLeft","slots":[],"events":[],"props":[["svgClass","string","'w-4 h-4'"]]}
{ "name": "ArrowKeyLeft", "slots": [], "events": [], "props": [["svgClass", "string", "'w-4 h-4'"]] }
2 changes: 1 addition & 1 deletion src/routes/component-data/ArrowKeyRight.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"ArrowKeyRight","slots":[],"events":[],"props":[["svgClass","string","'w-4 h-4'"]]}
{ "name": "ArrowKeyRight", "slots": [], "events": [], "props": [["svgClass", "string", "'w-4 h-4'"]] }
2 changes: 1 addition & 1 deletion src/routes/component-data/ArrowKeyUp.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"ArrowKeyUp","slots":[],"events":[],"props":[["svgClass","string","'w-4 h-4'"]]}
{ "name": "ArrowKeyUp", "slots": [], "events": [], "props": [["svgClass", "string", "'w-4 h-4'"]] }
16 changes: 15 additions & 1 deletion src/routes/component-data/Avatar.json
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
{"name":"Avatar","slots":[],"events":[],"props":[["src","string","''"],["href","string | undefined","undefined"],["rounded","boolean","false"],["border","boolean","false"],["stacked","boolean","false"],["dot","object | undefined","undefined"],["alt","string","''"],["size","'xs' | 'sm' | 'md' | 'lg' | 'xl'","'md'"]]}
{
"name": "Avatar",
"slots": [],
"events": [],
"props": [
["src", "string", "''"],
["href", "string | undefined", "undefined"],
["rounded", "boolean", "false"],
["border", "boolean", "false"],
["stacked", "boolean", "false"],
["dot", "object | undefined", "undefined"],
["alt", "string", "''"],
["size", "'xs' | 'sm' | 'md' | 'lg' | 'xl'", "'md'"]
]
}
Loading

0 comments on commit 9ed29e0

Please sign in to comment.