@payloadcms/next
Advanced tools
Comparing version 3.0.0-alpha.3 to 3.0.0-alpha.4
import type { SanitizedConfig } from 'payload/types'; | ||
import '@payloadcms/ui/scss/app.scss'; | ||
import React from 'react'; | ||
import '../../../node_modules/react-toastify/dist/ReactToastify.css'; | ||
import 'react-toastify/dist/ReactToastify.css'; | ||
export declare const metadata: { | ||
@@ -6,0 +6,0 @@ description: string; |
@@ -27,3 +27,3 @@ "use strict"; | ||
const _react = /*#__PURE__*/ _interop_require_default(require("react")); | ||
require("../../../node_modules/react-toastify/dist/ReactToastify.css"); | ||
require("react-toastify/dist/ReactToastify.css"); | ||
const _Default = require("../../pages/Edit/Default"); | ||
@@ -94,2 +94,2 @@ const _Default1 = require("../../pages/List/Default"); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9sYXlvdXRzL1Jvb3QvaW5kZXgudHN4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgU2FuaXRpemVkQ29uZmlnIH0gZnJvbSAncGF5bG9hZC90eXBlcydcblxuaW1wb3J0IHsgYXV0aCB9IGZyb20gJ0BwYXlsb2FkY21zL25leHQvdXRpbGl0aWVzL2F1dGgnXG5pbXBvcnQgeyB0cmFuc2xhdGlvbnMgfSBmcm9tICdAcGF5bG9hZGNtcy90cmFuc2xhdGlvbnMvY2xpZW50J1xuaW1wb3J0IHsgUm9vdFByb3ZpZGVyLCBidWlsZENvbXBvbmVudE1hcCB9IGZyb20gJ0BwYXlsb2FkY21zL3VpJ1xuaW1wb3J0ICdAcGF5bG9hZGNtcy91aS9zY3NzL2FwcC5zY3NzJ1xuaW1wb3J0IHsgaGVhZGVycyBhcyBnZXRIZWFkZXJzIH0gZnJvbSAnbmV4dC9oZWFkZXJzJ1xuaW1wb3J0IHsgY3JlYXRlQ2xpZW50Q29uZmlnIH0gZnJvbSAncGF5bG9hZC9jb25maWcnXG5pbXBvcnQgeyBkZ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ToggleTheme = ()=>{ | ||
const { // autoMode, | ||
setTheme, theme } = (0, _ui.useTheme)(); | ||
const { autoMode, setTheme, theme } = (0, _ui.useTheme)(); | ||
const { t } = (0, _ui.useTranslation)(); | ||
@@ -83,7 +82,6 @@ const onChange = (0, _react.useCallback)((newTheme)=>{ | ||
], | ||
// value={autoMode ? 'auto' : theme} | ||
value: theme | ||
value: autoMode ? 'auto' : theme | ||
}); | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWdlcy9BY2NvdW50L1RvZ2dsZVRoZW1lL2luZGV4LnRzeCJdLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIGNsaWVudCdcbmltcG9ydCB0eXBlIHsgT25DaGFuZ2UsIFRoZW1lIH0gZnJvbSAnQHBheWxvYWRjbXMvdWknXG5cbmltcG9ydCB7IHVzZVRyYW5zbGF0aW9uIH0gZnJvbSAnQHBheWxvYWRjbXMvdWknXG5pbXBvcnQgeyBSYWRpb0dyb3VwSW5wdXQsIHVzZVRoZW1lIH0gZnJvbSAnQHBheWxvYWRjbXMvdWknXG5pbXBvcnQgUmVhY3QsIHsgdXNlQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCdcblxuZXhwb3J0IGNvbnN0IFRvZ2dsZVRoZW1lOiBSZWFjdC5GQyA9ICgpID0+IHtcbiAgY29uc3Qge1xuICAgIC8vICBhdXRvTW9kZSxcbiAgICBzZXRUaGVtZSxcbiAgICB0aGVtZSxcbiAgfSA9IHVzZVRoZW1lKClcbiAgY29uc3QgeyB0IH0gPSB1c2VUcmFuc2xhdGlvbigpXG5cbiAgY29uc3Qgb25DaGFuZ2UgPSB1c2VDYWxsYmFjazxPbkNoYW5nZTxUaGVtZT4+KFxuICAgIChuZXdUaGVtZSkgPT4ge1xuICAgICAgc2V0VGhlbWUobmV3VGhlbWUpXG4gICAgfSxcbiAgICBbc2V0VGhlbWVdLFxuIC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JsYWJlbCIsIm5hbWUiLCJvcHRpb25zIiwidmFsdWUiXSwibWFwcGluZ3MiOiJBQUFBOzs7OzsrQkFPYUE7OztlQUFBQTs7O29CQUprQjsrREFFSTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRTVCLE1BQU1BLGNBQXdCO0lBQ25DLE1BQU0sRUFBRUMsUUFBUSxFQUFFQyxRQUFRLEVBQUVDLEtBQUssRUFBRSxHQUFHQyxJQUFBQSxZQUFRO0lBQzlDLE1BQU0sRUFBRUMsQ0FBQyxFQUFFLEdBQUdDLElBQUFBLGtCQUFjO0lBRTVCLE1BQU1DLFdBQVdDLElBQUFBLGtCQUFXLEVBQzFCLENBQUNDO1FBQ0NQLFNBQVNPO0lBQ1gsR0FDQTtRQUFDUDtLQUFTO0lBR1oscUJBQ0UsNkJBQUNRLG1CQUFlO1FBQ2RDLE9BQU9OLEVBQUU7UUFDVE8sTUFBSztRQUNMTCxVQUFVQTtRQUNWTSxTQUFTO1lBQ1A7Z0JBQ0VGLE9BQU9OLEVBQUU7Z0JBQ1RTLE9BQU87WUFDVDtZQUNBO2dCQUNFSCxPQUFPTixFQUFFO2dCQUNUUyxPQUFPO1lBQ1Q7WUFDQTtnQkFDRUgsT0FBT04sRUFBRTtnQkFDVFMsT0FBTztZQUNUO1NBQ0Q7UUFDREEsT0FBT2IsV0FBVyxTQUFTRTs7QUFHakMifQ== |
{ | ||
"name": "@payloadcms/next", | ||
"version": "3.0.0-alpha.3", | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"version": "3.0.0-alpha.4", | ||
"main": "./dist/exports/index.js", | ||
"types": "./dist/exports/index.d.ts", | ||
"bin": { | ||
@@ -10,2 +10,7 @@ "@payloadcms/next": "./dist/bin/index.js" | ||
"exports": { | ||
".": { | ||
"import": "./dist/exports/index.js", | ||
"require": "./dist/exports/index.js", | ||
"types": "./dist/exports/index.d.ts" | ||
}, | ||
"./utilities/*": { | ||
@@ -43,3 +48,3 @@ "import": "./dist/utilities/*.js", | ||
"@payloadcms/eslint-config": "1.1.1", | ||
"payload": "3.0.0-alpha.3" | ||
"payload": "3.0.0-alpha.4" | ||
}, | ||
@@ -57,5 +62,5 @@ "dependencies": { | ||
"react-toastify": "8.2.0", | ||
"@payloadcms/graphql": "3.0.0-alpha.3", | ||
"@payloadcms/ui": "3.0.0-alpha.3", | ||
"@payloadcms/translations": "3.0.0-alpha.3" | ||
"@payloadcms/graphql": "3.0.0-alpha.4", | ||
"@payloadcms/ui": "3.0.0-alpha.4", | ||
"@payloadcms/translations": "3.0.0-alpha.4" | ||
}, | ||
@@ -62,0 +67,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1441812
13648
+ Added@payloadcms/graphql@3.0.0-alpha.4(transitive)
+ Added@payloadcms/translations@3.0.0-alpha.4(transitive)
+ Added@payloadcms/ui@3.0.0-alpha.4(transitive)
- Removed@payloadcms/graphql@3.0.0-alpha.3(transitive)
- Removed@payloadcms/translations@3.0.0-alpha.3(transitive)
- Removed@payloadcms/ui@3.0.0-alpha.3(transitive)
Updated@payloadcms/ui@3.0.0-alpha.4