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

View File

@ -161,15 +161,13 @@ function IndexPopup() {
</label> </label>
<button <button
type="submit" type="submit"
className={`disabled:text-gray-600 mt-3 normal-case btn btn-primary btn-sm w-full ${ className={`disabled:text-gray-600 mt-3 normal-case btn btn-primary btn-sm w-full`}
isLoading ? "loading" : ""
}`}
disabled={isDisabled}> disabled={isDisabled}>
Find Bluesky Users { isLoading && <span className="w-4 loading loading-spinner"></span> }
{ isLoading ? "Finding Bluesky Users" : "Find Bluesky Users" }
</button> </button>
{isShowErrorMessage && ( {isShowErrorMessage && (
<div className="alert text-red-600 border border-red-600 p-2 rounded-md mt-2"> <div className="flex gap-2 items-center text-red-600 border border-red-600 p-2 rounded-md mt-2">
<div>
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
className="stroke-current flex-shrink-0 h-6 w-6" className="stroke-current flex-shrink-0 h-6 w-6"
@ -184,11 +182,9 @@ function IndexPopup() {
</svg> </svg>
<span>{message.message}</span> <span>{message.message}</span>
</div> </div>
</div>
)} )}
{isShowSuccessMessage && ( {isShowSuccessMessage && (
<div className="alert text-green-600 border border-green-600 p-1 rounded-md mt-2"> <div className="flex gap-2 items-center text-green-600 border border-green-600 p-1 rounded-md mt-2">
<div>
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
className="stroke-current flex-shrink-0 h-6 w-6" className="stroke-current flex-shrink-0 h-6 w-6"
@ -203,7 +199,6 @@ function IndexPopup() {
</svg> </svg>
<span>Success. Try again if no results found.</span> <span>Success. Try again if no results found.</span>
</div> </div>
</div>
)} )}
</form> </form>
</div> </div>

View File

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