update dependencies

This commit is contained in:
kawamataryo 2023-08-16 08:57:12 +09:00
parent 258aba4fa4
commit 0369e075d1
4 changed files with 4929 additions and 3760 deletions

8611
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,27 +12,26 @@
"package:firefox": "plasmo package --target=firefox-mv3"
},
"dependencies": {
"@atproto/api": "^0.3.3",
"@plasmohq/messaging": "^0.3.0",
"@plasmohq/storage": "^1.6.0",
"plasmo": "0.67.4",
"@atproto/api": "^0.6.4",
"@plasmohq/messaging": "^0.5.0",
"@plasmohq/storage": "^1.7.2",
"plasmo": "^0.82.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"ts-pattern": "^5.0.5",
"vanjs-core": "^1.0.2"
"ts-pattern": "^5.0.5"
},
"devDependencies": {
"@plasmohq/prettier-plugin-sort-imports": "3.6.4",
"@types/chrome": "0.0.210",
"@types/node": "18.11.18",
"@types/react": "18.0.27",
"@types/react-dom": "18.0.10",
"autoprefixer": "^10.4.14",
"daisyui": "^2.51.6",
"postcss": "^8.4.23",
"prettier": "2.8.3",
"tailwindcss": "^3.3.2",
"typescript": "4.9.4"
"@plasmohq/prettier-plugin-sort-imports": "4.0.1",
"@types/chrome": "0.0.243",
"@types/node": "20.5.0",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
"autoprefixer": "^10.4.15",
"daisyui": "^3.5.1",
"postcss": "^8.4.28",
"prettier": "3.0.2",
"tailwindcss": "^3.3.3",
"typescript": "5.1.6"
},
"manifest": {
"host_permissions": [

View File

@ -156,39 +156,35 @@ function IndexPopup() {
placeholder="Bluesky app password"
value={password}
onChange={(e) => setPassword(e.target.value)}
className=" input input-bordered input-sm w-full max-w-xs"
className="input input-bordered input-sm w-full max-w-xs"
/>
</label>
<button
type="submit"
className={`disabled:text-gray-600 mt-3 normal-case btn btn-primary btn-sm w-full ${
isLoading ? "loading" : ""
}`}
className={`disabled:text-gray-600 mt-3 normal-case btn btn-primary btn-sm w-full`}
disabled={isDisabled}>
Find Bluesky Users
{ isLoading && <span className="w-4 loading loading-spinner"></span> }
{ isLoading ? "Finding Bluesky Users" : "Find Bluesky Users" }
</button>
{isShowErrorMessage && (
<div className="alert text-red-600 border border-red-600 p-2 rounded-md mt-2">
<div>
<svg
xmlns="http://www.w3.org/2000/svg"
className="stroke-current flex-shrink-0 h-6 w-6"
fill="none"
viewBox="0 0 24 24">
<path
strokeLinecap="round"
stroke-linejoin="round"
strokeWidth="2"
d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
<span>{message.message}</span>
</div>
<div className="flex gap-2 items-center text-red-600 border border-red-600 p-2 rounded-md mt-2">
<svg
xmlns="http://www.w3.org/2000/svg"
className="stroke-current flex-shrink-0 h-6 w-6"
fill="none"
viewBox="0 0 24 24">
<path
strokeLinecap="round"
stroke-linejoin="round"
strokeWidth="2"
d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
<span>{message.message}</span>
</div>
)}
{isShowSuccessMessage && (
<div className="alert text-green-600 border border-green-600 p-1 rounded-md mt-2">
<div>
<div className="flex gap-2 items-center text-green-600 border border-green-600 p-1 rounded-md mt-2">
<svg
xmlns="http://www.w3.org/2000/svg"
className="stroke-current flex-shrink-0 h-6 w-6"
@ -202,7 +198,6 @@ function IndexPopup() {
/>
</svg>
<span>Success. Try again if no results found.</span>
</div>
</div>
)}
</form>

View File

@ -10,7 +10,7 @@ module.exports = {
themes: [
{
winter: {
...require("daisyui/src/colors/themes")["[data-theme=winter]"],
...require("daisyui/src/theming/themes")["[data-theme=winter]"],
primary: "#1D4ED8"
}
},