Skip to content

Commit

Permalink
Merge pull request #36 from invopop/gokit_044
Browse files Browse the repository at this point in the history
add shadow to textarea
  • Loading branch information
beliolfa authored Oct 10, 2024
2 parents 32e43b7 + eae7bb1 commit a363ccb
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ vite.config.ts.timestamp-*
/src/lib
/src/gokit/tmp
/storybook-static
gokit
gokit
/tmp
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@invopop/ui-kit",
"license": "MIT",
"version": "0.4.5",
"version": "0.4.6",
"scripts": {
"dev": "vite dev",
"build": "vite build && npm run package",
Expand Down
2 changes: 1 addition & 1 deletion src/gokit/head.templ
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ templ DefaultCSS() {
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.5/dist/gokit.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.6/dist/gokit.css" rel="stylesheet"/>
}

templ DefaultScripts() {
Expand Down
2 changes: 1 addition & 1 deletion src/gokit/head_templ.go

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

2 changes: 1 addition & 1 deletion src/html/avatar.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.5/dist/gokit.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.6/dist/gokit.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4">
Expand Down
2 changes: 1 addition & 1 deletion src/html/button.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.5/dist/gokit.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.6/dist/gokit.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4">
Expand Down
2 changes: 1 addition & 1 deletion src/html/checkbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.5/dist/gokit.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.6/dist/gokit.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4">
Expand Down
2 changes: 1 addition & 1 deletion src/html/input.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.5/dist/gokit.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.6/dist/gokit.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4 max-w-md">
Expand Down
2 changes: 1 addition & 1 deletion src/html/misc.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.5/dist/gokit.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.6/dist/gokit.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4">
Expand Down
2 changes: 1 addition & 1 deletion src/html/popover.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.5/dist/gokit.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.6/dist/gokit.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4">
Expand Down
2 changes: 1 addition & 1 deletion src/html/select.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.5/dist/gokit.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.6/dist/gokit.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4 max-w-md">
Expand Down
2 changes: 1 addition & 1 deletion src/html/textarea.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.5/dist/gokit.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/ui-kit@0.4.6/dist/gokit.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4 max-w-md">
Expand Down
11 changes: 10 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ mark {
@apply border-neutral-300;
}
.kit-select:focus {
@apply border-workspace-accent shadow-active ring-0 ring-offset-0;
@apply ring-0 ring-offset-0;
}
.kit-select:not(.kit-input--error):focus {
@apply border-workspace-accent-500 shadow-active;
}

/* Textarea */
Expand All @@ -150,6 +153,12 @@ mark {
.kit-textarea:focus {
@apply ring-0 ring-offset-0;
}
.kit-textarea:hover:enabled {
@apply border-neutral-300;
}
.kit-textarea:not(.kit-input--error):focus {
@apply border-workspace-accent-500 shadow-active;
}
div[contenteditable='true'] .tag {
display: inline-flex;
padding: 2px 4px;
Expand Down
1 change: 0 additions & 1 deletion tmp/build-errors.log

This file was deleted.

0 comments on commit a363ccb

Please sign in to comment.