{"_id":"@-ft/mode-next","_rev":"13-57dd61dfa57e6d6426a3a018679b5839","name":"@-ft/mode-next","dist-tags":{"latest":"0.1.7"},"versions":{"0.0.1":{"name":"@-ft/mode-next","version":"0.0.1","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","_id":"@-ft/mode-next@0.0.1","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"homepage":"https://github.com/42ts/-ft-mode-next#readme","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"dist":{"shasum":"5038200e4ec6e8543aeb0d01ce1f62b421249c98","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.0.1.tgz","fileCount":4,"integrity":"sha512-V4bnR0ri06WZ8PANjkdZ3t2bDvgG8eYTClpQnc+HnG+pt0Q0pOY/n68CO1PRbQtgiLnM7zP8ADse0P8gswO31g==","signatures":[{"sig":"MEQCIBJBd6mFtm+4S6K3K0ULy9AESF+4ypcMZO8lyhkemblWAiBYB3NidoFd6dn5xGtufAzCYsXd5dijN0nIUJSziyrxLQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2067},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"repository":{"url":"git+https://github.com/42ts/-ft-mode-next.git","type":"git"},"_npmVersion":"9.6.7","description":"React wrapper for theme mode manager","directories":{},"_nodeVersion":"18.17.1","dependencies":{"@-ft/mode-react":"^0.0.4"},"_hasShrinkwrap":false,"peerDependencies":{"next":"^13.4.19"},"_npmOperationalInternal":{"tmp":"tmp/mode-next_0.0.1_1694361711942_0.7223848982867584","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@-ft/mode-next","version":"0.0.2","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","_id":"@-ft/mode-next@0.0.2","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"homepage":"https://github.com/42ts/-ft-mode-next#readme","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"dist":{"shasum":"c1557656342d3642830dee286b53f641536a31a2","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.0.2.tgz","fileCount":4,"integrity":"sha512-zye9tgpqGMH9C0UsnzvVj3jBgXnHnoJchmiEQb6nkreS/Y5DLqqJBKnqUoZePrD1woV2jC9xcvpbM7qlcCoEGg==","signatures":[{"sig":"MEUCIQDMM1r9jVJq1b8MSo44eSzD87wtF247cFWupoFwNk5s6AIgHbyfsFyrJClulCBtMRreqiSAma5/m+N6kw2uGk/icxY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2132},"main":"./index.js","types":"./index.d.ts","gitHead":"d499ee6c7316179a47ac0c0ba39bd298a9246cdb","_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"repository":{"url":"git+https://github.com/42ts/-ft-mode-next.git","type":"git"},"_npmVersion":"9.6.7","description":"React wrapper for theme mode manager","directories":{},"_nodeVersion":"18.17.1","dependencies":{"@-ft/mode-react":"^0.0.5"},"_hasShrinkwrap":false,"peerDependencies":{"next":"^13.4.19"},"_npmOperationalInternal":{"tmp":"tmp/mode-next_0.0.2_1694362136900_0.12930028398189508","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@-ft/mode-next","version":"0.0.3","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","_id":"@-ft/mode-next@0.0.3","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"homepage":"https://github.com/42ts/-ft-mode-next#readme","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"dist":{"shasum":"be1259d037b5a23a33516aba1d26fcb7cdc4b816","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.0.3.tgz","fileCount":4,"integrity":"sha512-Klk6R7FJUE0lpY2WZny9UCkCcMiACT49gFth3r0Pdy+2Nqg5oscoGCkkfBe3F1UKa4bza/1BXqnqJobKle2/VA==","signatures":[{"sig":"MEYCIQDdKfw8Ds/LYrhv8oWl6qJ9LyFLmB2AJETgtYA6tMoz5gIhANlEcZggx7LMoechMGbn9duQX2bo/Svo6Kq7PxHtg4by","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2132},"main":"./index.js","types":"./index.d.ts","gitHead":"ef753b00a1ef708aece541496574f6559231bb65","_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"repository":{"url":"git+https://github.com/42ts/-ft-mode-next.git","type":"git"},"_npmVersion":"9.6.7","description":"React wrapper for theme mode manager","directories":{},"_nodeVersion":"18.17.1","dependencies":{"@-ft/mode-react":"^0.0.6"},"_hasShrinkwrap":false,"peerDependencies":{"next":"^13.4.19"},"_npmOperationalInternal":{"tmp":"tmp/mode-next_0.0.3_1694362863457_0.22373540619647403","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@-ft/mode-next","version":"0.0.4","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","_id":"@-ft/mode-next@0.0.4","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"homepage":"https://github.com/42ts/-ft-mode-next#readme","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"dist":{"shasum":"6ece06f32aabbc7ba9fd8919b08b37a38f7c5fd1","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.0.4.tgz","fileCount":4,"integrity":"sha512-Nxa16w+xFXl2wXwfRUJtSaDlIjMukBK8eO/6T3nDt54On9Wr3i8f6ykYeHKKr3+/98xyK9ZNH1U5nbhteLzTbw==","signatures":[{"sig":"MEQCIFoRiak6hOW1ZkbUmb8jLVez7E2LFGKLphpwmGisA065AiBW4+oQKuIG/8ZfkyxGee4/oiqdbBcxCYZ2h4KkvX2cQQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2132},"main":"./index.js","types":"./index.d.ts","gitHead":"f68d86e5094fd7dd2f5537d01c8f82b99578dc44","_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"repository":{"url":"git+https://github.com/42ts/-ft-mode-next.git","type":"git"},"_npmVersion":"9.6.7","description":"React wrapper for theme mode manager","directories":{},"_nodeVersion":"18.17.1","dependencies":{"@-ft/mode-react":"^0.0.7"},"_hasShrinkwrap":false,"peerDependencies":{"next":"^13.4.19"},"_npmOperationalInternal":{"tmp":"tmp/mode-next_0.0.4_1694363101168_0.30411661726831585","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@-ft/mode-next","version":"0.0.5","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","_id":"@-ft/mode-next@0.0.5","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"homepage":"https://github.com/42ts/-ft-mode-next#readme","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"dist":{"shasum":"80a55000af93dc4895e1487d2778ba2ca999379c","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.0.5.tgz","fileCount":4,"integrity":"sha512-CMgPmxiLkiLA/i550lubXYJVHpLNMTUAczyLlS6ZFsZwNWN3BhX84g06X1NZ4+1Tubtt64Iv1RngUhuEBKigYA==","signatures":[{"sig":"MEUCIQDIhozG61NUk+liVZr4aHngnGnwsiljra6GgM4SVAJrzwIges8KYm5pWZzLtKe/Gr/3RiFjB9EeQBrNPRWRIauEvYc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2131},"main":"./index.js","types":"./index.d.ts","gitHead":"23a18e3ad906d5b3c067eb7d5cbb3cbd7527edc8","_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"repository":{"url":"git+https://github.com/42ts/-ft-mode-next.git","type":"git"},"_npmVersion":"9.6.7","description":"Next wrapper for theme mode manager","directories":{},"_nodeVersion":"18.17.1","dependencies":{"@-ft/mode-react":"^0.0.7"},"_hasShrinkwrap":false,"peerDependencies":{"next":"^13.4.19"},"_npmOperationalInternal":{"tmp":"tmp/mode-next_0.0.5_1694363344423_0.836405910609543","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@-ft/mode-next","version":"0.1.0","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","_id":"@-ft/mode-next@0.1.0","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"homepage":"https://github.com/42ts/-ft-mode-next#readme","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"dist":{"shasum":"22c9e773c391ef4d6ffe1588ab82b3882cb4ebd1","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.1.0.tgz","fileCount":4,"integrity":"sha512-c4wocEKx8Tk5dif31qhuLw7p4DYnfEbLYSkHb1ZX8QegcBS7hx5Ew7Z0hnN7X87cOSv5+hE4ozjwQ9hzcuJrhQ==","signatures":[{"sig":"MEYCIQCHkxIO11qnbLNTg+KzA0km26ufL397nKB6qyBtG5iWwgIhAJESGJ4FA2BmA8eUvIjmvuSy6wkjYNLa3+os58GoLnIb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2411},"main":"./index.js","types":"./index.d.ts","gitHead":"e3ab03621c05d498f7b706e55d3d293ce9d9f9b3","_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"repository":{"url":"git+https://github.com/42ts/-ft-mode-next.git","type":"git"},"_npmVersion":"9.5.1","description":"Next wrapper for theme mode manager","directories":{},"_nodeVersion":"18.16.0","dependencies":{"@-ft/mode-react":"^0.1.1"},"_hasShrinkwrap":false,"peerDependencies":{"next":"^13.4.19","@-ft/mode":"^0.1.0"},"peerDependenciesMeta":{"@-ft/mode":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/mode-next_0.1.0_1694665788257_0.505799581443156","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@-ft/mode-next","version":"0.1.1","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","_id":"@-ft/mode-next@0.1.1","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"homepage":"https://github.com/42ts/-ft-mode-next#readme","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"dist":{"shasum":"c9304633fdf62ed4f85ba12064fbbfd1122cb6fe","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.1.1.tgz","fileCount":4,"integrity":"sha512-4viSf198suCuSzPIJeXqKXYFL3aZsIWJ880mqEMjMuYX0OZLn+VhqhSVWvoRtSbDiPbeGZiLOx8RChzIAC2A1g==","signatures":[{"sig":"MEYCIQCKjukjVOiycO6bmu7o8USUFAp2j8JeBKqsxGmN4BNPZwIhAO/uMiXEFZROHB8JTyKKW56zrpYqDMM91HQI/ATn1rmK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2411},"main":"./index.js","types":"./index.d.ts","gitHead":"365e3faabcb0120ed969fb97c24514ad3d8ec521","_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"repository":{"url":"git+https://github.com/42ts/-ft-mode-next.git","type":"git"},"_npmVersion":"9.5.1","description":"Next wrapper for theme mode manager","directories":{},"_nodeVersion":"18.16.0","dependencies":{"@-ft/mode-react":"^0.1.2"},"_hasShrinkwrap":false,"peerDependencies":{"next":"^13.4.19","@-ft/mode":"^0.1.0"},"peerDependenciesMeta":{"@-ft/mode":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/mode-next_0.1.1_1694666570723_0.8469688449394763","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@-ft/mode-next","version":"0.1.2","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","_id":"@-ft/mode-next@0.1.2","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"homepage":"https://github.com/42ts/-ft-mode-next#readme","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"dist":{"shasum":"bf8e177610179dbf5c990ccee44a0afc7daff4ac","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.1.2.tgz","fileCount":4,"integrity":"sha512-mLd6k7B+Sc0qdodtMNBs/TUbm4FTfDGaSqmmNaFNFWVNlm+NQJQ4IDs3ZNL9nCy2YIeuwJfm2nIGWxNSrifg5g==","signatures":[{"sig":"MEYCIQCte4RK3RhSWeawBfomj/8SnhysaG+Ut9yGeKSiOmXJgAIhAJst7X85Vto/b+0ai6C7m5WmDXrmyOdSUZemdI3LpTiA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2451},"main":"./index.js","types":"./index.d.ts","gitHead":"4d39955203cf252fec794a90ded6e10bc66db6d0","_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"repository":{"url":"git+https://github.com/42ts/-ft-mode-next.git","type":"git"},"_npmVersion":"9.8.1","description":"Next wrapper for theme mode manager","directories":{},"_nodeVersion":"18.18.0","dependencies":{"@-ft/mode-react":"^0.1.2"},"_hasShrinkwrap":false,"peerDependencies":{"next":"^14.0.0","@-ft/mode":"^0.1.0"},"peerDependenciesMeta":{"@-ft/mode":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/mode-next_0.1.2_1698407690352_0.7376696786191326","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@-ft/mode-next","version":"0.1.3","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","_id":"@-ft/mode-next@0.1.3","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"homepage":"https://github.com/42ts/-ft-mode-next#readme","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"dist":{"shasum":"3edbb971953f02d0e9e3a07e94d91e428ccf4fa8","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.1.3.tgz","fileCount":4,"integrity":"sha512-rrmlLIR8g5ZZArZfJqOGQ5D/g2O1puodS7DxdKMTZ1idQIknbb4j8E2oN2tijnK9rTtKGpJ+h5FEM+CN+tHxYw==","signatures":[{"sig":"MEUCIHvsgCqkErdeJKrOVBZJ+Ql2nqoxfcWrky2RWXtTl6GrAiEA1PZIQMLvGmLsGw7/3vrxJMg+s+DjmCau4Mr9WgkvMXE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3453},"main":"./index.js","types":"./index.d.ts","gitHead":"0bcf2525efdf7caf7abed1df24deac872ba5f8c5","_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"repository":{"url":"git+https://github.com/42ts/-ft-mode-next.git","type":"git"},"_npmVersion":"10.2.4","description":"Next wrapper for theme mode manager","directories":{},"_nodeVersion":"18.19.1","_hasShrinkwrap":false,"peerDependencies":{"next":"13 || 14","@-ft/mode":"^0.1.0"},"peerDependenciesMeta":{"@-ft/mode":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/mode-next_0.1.3_1713339214763_0.7586526205336439","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@-ft/mode-next","version":"0.1.4","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","_id":"@-ft/mode-next@0.1.4","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"homepage":"https://github.com/42ts/-ft-mode-next#readme","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"dist":{"shasum":"e6ff9836bffb5ae742084c4d10ded68c9f588dcb","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.1.4.tgz","fileCount":4,"integrity":"sha512-KCAq7P4+RdwbXXGTSsnklfhvjoo+6FPlHXzCo0pvUXbADdhRyn6hzu8YmT2KVu3QnJweP3hm7M3hJYQkmFYNUw==","signatures":[{"sig":"MEUCIGz0TUrB4i1P3QNPtIVpmpOEI/DKOQw+X4jMlzL7+so6AiEAniznDLq7iwpKYbAWy9lfRYqnB00kwCBipK7PNK//3gk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3398},"main":"./index.js","types":"./index.d.ts","gitHead":"9843f40dafe3acfc44b4894ee66b57d71f935643","_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"repository":{"url":"git+https://github.com/42ts/-ft-mode-next.git","type":"git"},"_npmVersion":"10.2.4","description":"Next wrapper for theme mode manager","directories":{},"_nodeVersion":"18.19.1","_hasShrinkwrap":false,"peerDependencies":{"next":"13 || 14","@-ft/mode":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mode-next_0.1.4_1713339356438_0.7190234215869886","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@-ft/mode-next","version":"0.1.5","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","_id":"@-ft/mode-next@0.1.5","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"homepage":"https://github.com/42ts/-ft-mode-next#readme","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"dist":{"shasum":"d9bbbbcedf83b5eb4351774870c8b93d58e1fc5d","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.1.5.tgz","fileCount":4,"integrity":"sha512-tS1cGoTOu/IQc01URZOv6gkpjOpRtWFdgQvYfhDPte6xOFHwsI0N+fz6+mwqa5+UlgvaM++Y0m9Qe4bjFzE/mA==","signatures":[{"sig":"MEYCIQCTodziLglhmqwUyMfRH3r3Cxg3FZWjh0rrX9CSWA4ZagIhAP47au6VYXlBf/NBKQUTPTxLUE0wP9fmH0Tf/zVT2JmB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3520},"main":"./index.js","types":"./index.d.ts","gitHead":"bdec1bb95918d4ada36fbe1ea43a5d9b6b29ff15","_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"repository":{"url":"git+https://github.com/42ts/-ft-mode-next.git","type":"git"},"_npmVersion":"10.2.4","description":"Next wrapper for theme mode manager","directories":{},"_nodeVersion":"18.19.1","_hasShrinkwrap":false,"peerDependencies":{"next":"13 || 14","@-ft/mode":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mode-next_0.1.5_1713339594397_0.23881665271029173","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@-ft/mode-next","version":"0.1.6","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","_id":"@-ft/mode-next@0.1.6","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"homepage":"https://github.com/42ts/-ft-mode-next#readme","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"dist":{"shasum":"d280d86af367783fc11416de6f5facb0c48df85d","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.1.6.tgz","fileCount":4,"integrity":"sha512-grRPS56W+buKXWUJft00J+UoyUiF/FAmi6CRlsJPJ8H49xkU2kvidzCectF6f15BWMhXTnDgjHQe2qJF0W62eQ==","signatures":[{"sig":"MEQCIDcDRprh8UubxUVA+QQa/UP2PUFkap5rNGrsAzxCetLhAiA9FlBLu3Z1mpMXAxWjDaxznYCSKTDmN3P6NidTkHuowA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3197},"main":"./index.js","types":"./index.d.ts","gitHead":"e7dfc47ecc51a4a544d01c4e3c7fb7bd5106c0d3","_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"repository":{"url":"git+https://github.com/42ts/-ft-mode-next.git","type":"git"},"_npmVersion":"10.1.0","description":"Next wrapper for theme mode manager","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"peerDependencies":{"next":"13 || 14","@-ft/mode":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mode-next_0.1.6_1716719434171_0.25997491775841297","host":"s3://npm-registry-packages"}},"0.1.7":{"description":"Next wrapper for theme mode manager","name":"@-ft/mode-next","version":"0.1.7","license":"MIT","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"main":"./index.js","repository":{"type":"git","url":"git+https://github.com/42ts/-ft-mode-next.git"},"peerDependencies":{"@-ft/mode":"^0.1.0","next":"13 || 14 || 15"},"_id":"@-ft/mode-next@0.1.7","gitHead":"7a027404c3ebef4e5024f1da684ee774a40c601f","types":"./index.d.ts","bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"homepage":"https://github.com/42ts/-ft-mode-next#readme","_nodeVersion":"23.10.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-7R8eA4th06okSp6ITXYk/3ky/qc/qJeoXlP0ahzl0+iAwCg15TxmTqF/ev5Vmheo1PTcO5+pBZenDBAvw620eQ==","shasum":"7a2bb37d4278bf2fdc8422c904344e5cc0ae5dff","tarball":"https://registry.npmjs.org/@-ft/mode-next/-/mode-next-0.1.7.tgz","fileCount":4,"unpackedSize":3202,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF7chydaQLPKtkliJccjluNMPy3y9QJT7lzGTxCPxOwQAiEA3JDFiuo1+UXwRqDaPs+i8HYEtme3PLe5JmbT5E2v77U="}]},"_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"directories":{},"maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mode-next_0.1.7_1747356296157_0.2708860341526691"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-10T16:01:51.845Z","modified":"2025-05-16T00:44:56.489Z","0.0.1":"2023-09-10T16:01:52.123Z","0.0.2":"2023-09-10T16:08:57.086Z","0.0.3":"2023-09-10T16:21:03.617Z","0.0.4":"2023-09-10T16:25:01.393Z","0.0.5":"2023-09-10T16:29:04.611Z","0.1.0":"2023-09-14T04:29:48.434Z","0.1.1":"2023-09-14T04:42:51.000Z","0.1.2":"2023-10-27T11:54:50.517Z","0.1.3":"2024-04-17T07:33:34.943Z","0.1.4":"2024-04-17T07:35:56.567Z","0.1.5":"2024-04-17T07:39:54.537Z","0.1.6":"2024-05-26T10:30:34.316Z","0.1.7":"2025-05-16T00:44:56.322Z"},"bugs":{"url":"https://github.com/42ts/-ft-mode-next/issues"},"author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"license":"MIT","homepage":"https://github.com/42ts/-ft-mode-next#readme","repository":{"type":"git","url":"git+https://github.com/42ts/-ft-mode-next.git"},"description":"Next wrapper for theme mode manager","maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"readme":"# `mode-next` - Theme mode manager wrapper for Next\n\nNext wrapper of dark/light theme mode manager for web\n\n## Usage\n\n- Generate `/public/mode.js` using `@-ft/mode-codegen` package.\n\n```json\n{\n  \"variableName\": \"__theme_mode\",\n  \"persist\": {\n    \"type\": \"cookie\",\n    \"key\": \"THEME\"\n  }\n}\n```\n\n- Load `/mode.js` in `src/app/layout.tsx`, apply default cookie-stored theme mode to class name/ssrInitialMode and suppress hydration warning\n\n```tsx\nimport { ModeContextProvider } from '@-ft/mode-next';\n\nexport default function RootLayout({ children }: PropsWithChildren) {\n  return (\n    <html\n      lang=\"en\"\n      className={cookies().get('THEME')?.value === \"dark\" ? \"dark\" : undefined}\n      suppressHydrationWarning\n    >\n      <head>\n        <script src=\"/mode.js\" />\n      </head>\n      <body>\n        <ModeContextProvider\n          variableName=\"__theme_mode\"\n          ssrInitialMode={theme?.value ?? \"system\"}\n        >\n          {children}\n        </ModeContextProvider>\n      </body>\n    </html>\n  );\n}\n```\n\n- Then you can use `ModeContext` in your app.\n\n```jsx\n'use client';\n\nimport { ModeContext } from '@-ft/mode-next';\n\nfunction ModeBar() {\n  const { mode, setMode } = useContext(ModeContext);\n\n  return (\n    <Bar>\n      Current theme mode is {mode}.\n      <Select\n        onChange={useCallback((mode) => setMode(mode), [setMode])}\n      >\n        {['system', 'light', 'dark']}\n      </Select>\n    </Bar>\n  )\n}\n\n```\n","readmeFilename":"README.md"}