{
  "name": "@payloadcms/ui",
  "version": "3.0.0-beta.112",
  "homepage": "https://payloadcms.com",
  "repository": {
    "type": "git",
    "url": "https://github.com/payloadcms/payload.git",
    "directory": "packages/ui"
  },
  "sideEffects": false,
  "type": "module",
  "exports": {
    ".": {
      "import": "./src/exports/client/index.ts",
      "types": "./src/exports/client/index.ts",
      "default": "./src/exports/client/index.ts"
    },
    "./shared": {
      "import": "./src/exports/shared/index.ts",
      "types": "./src/exports/shared/index.ts",
      "default": "./src/exports/shared/index.ts"
    },
    "./scss": {
      "import": "./src/scss/styles.scss",
      "default": "./src/scss/styles.scss"
    },
    "./utilities/createClientConfig": {
      "import": "./src/providers/Config/createClientConfig/index.tsx",
      "types": "./src/providers/Config/createClientConfig/index.tsx",
      "default": "./src/providers/Config/createClientConfig/index.tsx"
    },
    "./utilities/buildFormState": {
      "import": "./src/utilities/buildFormState.ts",
      "types": "./src/utilities/buildFormState.ts",
      "default": "./src/utilities/buildFormState.ts"
    },
    "./utilities/buildFieldSchemaMap/traverseFields": {
      "import": "./src/utilities/buildFieldSchemaMap/traverseFields.ts",
      "types": "./src/utilities/buildFieldSchemaMap/traverseFields.ts",
      "default": "./src/utilities/buildFieldSchemaMap/traverseFields.ts"
    },
    "./forms/buildStateFromSchema": {
      "import": "./src/forms/buildStateFromSchema/index.tsx",
      "types": "./src/forms/buildStateFromSchema/index.tsx",
      "default": "./src/forms/buildStateFromSchema/index.tsx"
    },
    "./scss/app.scss": "./src/scss/app.scss",
    "./assets": {
      "import": "./src/assets/index.ts",
      "types": "./src/assets/index.ts",
      "default": "./src/assets/index.ts"
    }
  },
  "main": "./src/exports/client/index.ts",
  "types": "./src/exports/client/index.ts",
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "pnpm build:reactcompiler",
    "build:babel": "rm -rf dist_optimized && babel dist --out-dir dist_optimized --source-maps --extensions .ts,.js,.tsx,.jsx,.cjs,.mjs && rm -rf dist && mv dist_optimized dist",
    "build:esbuild": "node bundle.js && rm -rf dist/exports/client && mv dist/exports/client_optimized dist/exports/client",
    "build:reactcompiler": "rm -rf dist && rm -rf tsconfig.tsbuildinfo && pnpm build:swc && pnpm build:babel && pnpm copyfiles && pnpm build:esbuild && pnpm build:types",
    "build:remove-artifact": "rm dist/prod/index.js",
    "build:swc": "swc ./src -d dist --config-file .swcrc --strip-leading-paths",
    "build:types": "tsc --emitDeclarationOnly --outDir dist",
    "build:without_reactcompiler": "rm -rf dist && rm -rf tsconfig.tsbuildinfo && pnpm copyfiles && pnpm build:types && pnpm build:swc",
    "clean": "rimraf {dist,*.tsbuildinfo}",
    "copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "prepublishOnly": "pnpm clean && pnpm turbo build"
  },
  "dependencies": {
    "@dnd-kit/core": "6.0.8",
    "@dnd-kit/sortable": "7.0.2",
    "@faceless-ui/modal": "3.0.0-beta.2",
    "@faceless-ui/scroll-info": "2.0.0-beta.0",
    "@faceless-ui/window-info": "3.0.0-beta.0",
    "@monaco-editor/react": "4.6.0",
    "@payloadcms/translations": "workspace:*",
    "body-scroll-lock": "4.0.0-beta.0",
    "bson-objectid": "2.0.4",
    "date-fns": "3.3.1",
    "dequal": "2.0.3",
    "md5": "2.3.0",
    "object-to-formdata": "4.5.1",
    "qs-esm": "7.0.2",
    "react-animate-height": "2.1.2",
    "react-datepicker": "6.9.0",
    "react-image-crop": "10.1.8",
    "react-select": "5.8.0",
    "scheduler": "0.0.0-experimental-3edc000d-20240926",
    "sonner": "^1.5.0",
    "ts-essentials": "10.0.2",
    "use-context-selector": "2.0.0",
    "uuid": "10.0.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.24.5",
    "@babel/core": "^7.24.5",
    "@babel/preset-env": "^7.24.5",
    "@babel/preset-react": "^7.24.1",
    "@babel/preset-typescript": "^7.24.1",
    "@hyrious/esbuild-plugin-commonjs": "^0.2.4",
    "@payloadcms/eslint-config": "workspace:*",
    "@types/body-scroll-lock": "^3.1.0",
    "@types/react": "npm:types-react@19.0.0-rc.1",
    "@types/react-datepicker": "6.2.0",
    "@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
    "@types/uuid": "10.0.0",
    "babel-plugin-react-compiler": "0.0.0-experimental-24ec0eb-20240918",
    "esbuild": "0.23.1",
    "esbuild-sass-plugin": "3.3.1",
    "eslint-plugin-react-compiler": "0.0.0-experimental-7670337-20240918",
    "payload": "workspace:*"
  },
  "peerDependencies": {
    "next": "^15.0.0-canary.173",
    "payload": "workspace:*",
    "react": "^19.0.0 || ^19.0.0-rc-3edc000d-20240926",
    "react-dom": "^19.0.0 || ^19.0.0-rc-3edc000d-20240926"
  },
  "engines": {
    "node": "^18.20.2 || >=20.9.0"
  },
  "publishConfig": {
    "exports": {
      ".": {
        "import": "./dist/exports/client/index.js",
        "types": "./dist/exports/client/index.d.ts",
        "default": "./dist/exports/client/index.js"
      },
      "./shared": {
        "import": "./dist/exports/shared/index.js",
        "types": "./dist/exports/shared/index.d.ts",
        "default": "./dist/exports/shared/index.js"
      },
      "./utilities/createClientConfig": {
        "import": "./dist/providers/Config/createClientConfig/index.js",
        "types": "./dist/providers/Config/createClientConfig/index.d.ts",
        "default": "./dist/providers/Config/createClientConfig/index.js"
      },
      "./css": {
        "import": "./dist/styles.css",
        "default": "./dist/styles.css"
      },
      "./scss": {
        "import": "./dist/scss/styles.scss",
        "default": "./dist/scss/styles.scss"
      },
      "./scss/app.scss": "./dist/scss/app.scss",
      "./styles.css": "./dist/styles.css",
      "./assets": {
        "import": "./dist/assets/index.js",
        "types": "./dist/assets/index.d.ts",
        "default": "./dist/assets/index.js"
      },
      "./elements/*": {
        "import": "./dist/elements/*/index.js",
        "types": "./dist/elements/*/index.d.ts",
        "default": "./dist/elements/*/index.js"
      },
      "./fields/*": {
        "import": "./dist/fields/*/index.js",
        "types": "./dist/fields/*/index.d.ts",
        "default": "./dist/fields/*/index.js"
      },
      "./forms/*": {
        "import": "./dist/forms/*/index.js",
        "types": "./dist/forms/*/index.d.ts",
        "default": "./dist/forms/*/index.js"
      },
      "./graphics/*": {
        "import": "./dist/graphics/*/index.js",
        "types": "./dist/graphics/*/index.d.ts",
        "default": "./dist/graphics/*/index.js"
      },
      "./hooks/*": {
        "import": "./dist/hooks/*.js",
        "types": "./dist/hooks/*.d.ts",
        "default": "./dist/hooks/*.js"
      },
      "./icons/*": {
        "import": "./dist/icons/*/index.js",
        "types": "./dist/icons/*/index.d.ts",
        "default": "./dist/icons/*/index.js"
      },
      "./providers/*": {
        "import": "./dist/providers/*/index.js",
        "types": "./dist/providers/*/index.d.ts",
        "default": "./dist/providers/*/index.js"
      },
      "./utilities/*": {
        "import": "./dist/utilities/*.js",
        "types": "./dist/utilities/*.d.ts",
        "default": "./dist/utilities/*.js"
      }
    },
    "main": "./dist/exports/client/index.js",
    "types": "./dist/exports/client/index.d.ts"
  },
  "overrides": {
    "@types/react": "npm:types-react@19.0.0-rc.1",
    "@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
  }
}
