From 7de30069391d3f93ea35279e1ae0d8d1b230f050 Mon Sep 17 00:00:00 2001
From: sai chand <60743144+sai6855@users.noreply.github.com>
Date: Thu, 6 Jun 2024 12:29:40 +0530
Subject: [PATCH] [examples] Remove Pigment CSS examples (#42538)
---
examples/pigment-css-nextjs-ts/.gitignore | 36 ----
examples/pigment-css-nextjs-ts/README.md | 38 ----
examples/pigment-css-nextjs-ts/next-env.d.ts | 5 -
examples/pigment-css-nextjs-ts/next.config.js | 28 ---
examples/pigment-css-nextjs-ts/package.json | 27 ---
.../pigment-css-nextjs-ts/public/.gitkeep | 0
.../pigment-css-nextjs-ts/src/app/favicon.ico | Bin 619 -> 0 bytes
.../pigment-css-nextjs-ts/src/app/globals.css | 10 -
.../pigment-css-nextjs-ts/src/app/layout.tsx | 31 ---
.../pigment-css-nextjs-ts/src/app/page.tsx | 195 -----------------
.../pigment-css-nextjs-ts/src/augment.d.ts | 19 --
examples/pigment-css-nextjs-ts/tsconfig.json | 29 ---
examples/pigment-css-vite-ts/.gitignore | 24 ---
examples/pigment-css-vite-ts/README.md | 34 ---
examples/pigment-css-vite-ts/index.html | 13 --
examples/pigment-css-vite-ts/package.json | 24 ---
examples/pigment-css-vite-ts/public/vite.svg | 1 -
examples/pigment-css-vite-ts/src/App.tsx | 197 ------------------
examples/pigment-css-vite-ts/src/augment.d.ts | 19 --
examples/pigment-css-vite-ts/src/globals.css | 16 --
examples/pigment-css-vite-ts/src/main.tsx | 11 -
.../pigment-css-vite-ts/src/vite-env.d.ts | 1 -
examples/pigment-css-vite-ts/tsconfig.json | 21 --
.../pigment-css-vite-ts/tsconfig.node.json | 9 -
examples/pigment-css-vite-ts/vite.config.ts | 35 ----
25 files changed, 823 deletions(-)
delete mode 100644 examples/pigment-css-nextjs-ts/.gitignore
delete mode 100644 examples/pigment-css-nextjs-ts/README.md
delete mode 100644 examples/pigment-css-nextjs-ts/next-env.d.ts
delete mode 100644 examples/pigment-css-nextjs-ts/next.config.js
delete mode 100644 examples/pigment-css-nextjs-ts/package.json
delete mode 100644 examples/pigment-css-nextjs-ts/public/.gitkeep
delete mode 100644 examples/pigment-css-nextjs-ts/src/app/favicon.ico
delete mode 100644 examples/pigment-css-nextjs-ts/src/app/globals.css
delete mode 100644 examples/pigment-css-nextjs-ts/src/app/layout.tsx
delete mode 100644 examples/pigment-css-nextjs-ts/src/app/page.tsx
delete mode 100644 examples/pigment-css-nextjs-ts/src/augment.d.ts
delete mode 100644 examples/pigment-css-nextjs-ts/tsconfig.json
delete mode 100644 examples/pigment-css-vite-ts/.gitignore
delete mode 100644 examples/pigment-css-vite-ts/README.md
delete mode 100644 examples/pigment-css-vite-ts/index.html
delete mode 100644 examples/pigment-css-vite-ts/package.json
delete mode 100644 examples/pigment-css-vite-ts/public/vite.svg
delete mode 100644 examples/pigment-css-vite-ts/src/App.tsx
delete mode 100644 examples/pigment-css-vite-ts/src/augment.d.ts
delete mode 100644 examples/pigment-css-vite-ts/src/globals.css
delete mode 100644 examples/pigment-css-vite-ts/src/main.tsx
delete mode 100644 examples/pigment-css-vite-ts/src/vite-env.d.ts
delete mode 100644 examples/pigment-css-vite-ts/tsconfig.json
delete mode 100644 examples/pigment-css-vite-ts/tsconfig.node.json
delete mode 100644 examples/pigment-css-vite-ts/vite.config.ts
diff --git a/examples/pigment-css-nextjs-ts/.gitignore b/examples/pigment-css-nextjs-ts/.gitignore
deleted file mode 100644
index 28c8a5adb7c034..00000000000000
--- a/examples/pigment-css-nextjs-ts/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-.pnpm-debug.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-# next-env.d.ts
diff --git a/examples/pigment-css-nextjs-ts/README.md b/examples/pigment-css-nextjs-ts/README.md
deleted file mode 100644
index a8a18cd92a5f6b..00000000000000
--- a/examples/pigment-css-nextjs-ts/README.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# Pigment CSS - Next.js App Router with TypeScript example project
-
-This is a [Next.js](https://nextjs.org/) project bootstrapped using [`create-next-app`](https://github.com/vercel/next.js/tree/HEAD/packages/create-next-app), with TypeScript and Pigment CSS, a zero-runtime CSS-in-JS library, installed.
-
-## How to use
-
-Download the example [or clone the repo](https://github.com/mui/material-ui):
-
-
-
-```bash
-curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/pigment-css-nextjs-ts
-cd pigment-css-nextjs-ts
-```
-
-Install it and run:
-
-```bash
-npm install
-npm run dev
-```
-
-Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
-
-or:
-
-
-
-[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/material-ui/tree/master/examples/pigment-css-nextjs-ts)
-
-[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/material-ui/tree/master/examples/pigment-css-nextjs-ts)
-
-## Learn more
-
-To learn more about this example:
-
-- [Pigment CSS documentation](https://github.com/mui/material-ui/blob/master/packages/pigment-css-react/README.md) - learn more about Pigment CSS features and APIs.
-- [Next.js documentation](https://nextjs.org/docs) - learn about Next.js features and APIs.
diff --git a/examples/pigment-css-nextjs-ts/next-env.d.ts b/examples/pigment-css-nextjs-ts/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc37..00000000000000
--- a/examples/pigment-css-nextjs-ts/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/pigment-css-nextjs-ts/next.config.js b/examples/pigment-css-nextjs-ts/next.config.js
deleted file mode 100644
index 2196cab8c75dda..00000000000000
--- a/examples/pigment-css-nextjs-ts/next.config.js
+++ /dev/null
@@ -1,28 +0,0 @@
-const { withPigment, extendTheme } = require('@pigment-css/nextjs-plugin');
-
-// To learn more about theming, visit https://github.com/mui/material-ui/blob/master/packages/zero-runtime/README.md#theming
-const theme = extendTheme({
- colorSchemes: {
- light: {
- palette: {
- background: '0 0% 100%',
- foreground: '240 10% 3.9%',
- primary: '240 5.9% 10%',
- border: '240 5.9% 90%',
- },
- },
- dark: {
- palette: {
- background: '240 10% 3.9%',
- foreground: '0 0% 80%',
- primary: '0 0% 98%',
- border: '240 3.7% 15.9%',
- },
- },
- },
-});
-
-/** @type {import('next').NextConfig} */
-const nextConfig = {};
-
-module.exports = withPigment(nextConfig, { theme });
diff --git a/examples/pigment-css-nextjs-ts/package.json b/examples/pigment-css-nextjs-ts/package.json
deleted file mode 100644
index b2579629a61906..00000000000000
--- a/examples/pigment-css-nextjs-ts/package.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "name": "pigment-css-nextjs-ts",
- "version": "5.0.0",
- "private": true,
- "scripts": {
- "dev": "next dev",
- "build": "next build",
- "start": "next start",
- "lint": "next lint",
- "post-update": "echo \"codesandbox preview only, need an update\" && pnpm update --latest"
- },
- "dependencies": {
- "@pigment-css/react": "latest",
- "react": "latest",
- "react-dom": "latest",
- "next": "latest"
- },
- "devDependencies": {
- "@pigment-css/nextjs-plugin": "latest",
- "@types/node": "latest",
- "@types/react": "latest",
- "@types/react-dom": "latest",
- "eslint": "latest",
- "eslint-config-next": "latest",
- "typescript": "latest"
- }
-}
diff --git a/examples/pigment-css-nextjs-ts/public/.gitkeep b/examples/pigment-css-nextjs-ts/public/.gitkeep
deleted file mode 100644
index e69de29bb2d1d6..00000000000000
diff --git a/examples/pigment-css-nextjs-ts/src/app/favicon.ico b/examples/pigment-css-nextjs-ts/src/app/favicon.ico
deleted file mode 100644
index e19f48f591206d5992bf3d6a72d16938d1c2299a..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 619
zcmV-x0+juUP)q!Bof{+fM--X)!)*dUV4k5l
zB!myd;)wP*W68gU=IgMsCYy`R_o0mdDr5*NKKN)QBDW-pg)A_J3j;jarXJu%PGkgy
z1!8s5*GZ7;{=~JVK2S(d;pT_X#K%@Yi|h2o4@=6*=WN8J$|pxeg#UuVgcT(|O9zfa
z7AzaM6(!m#;DnB_5nx}dm?dNd&o_vijFlowe*Z;BGzB4a;7JU`l<;%LBFdKhJw;pO
zMXKbUWC~HIHj_fuyWt6X|pn;*aeKxNzo-P>y-RmdCt0R+T9i+XKkHDC{d1Ew
z-l)4Ei*_4sUANSPcdOOXrq7p7>p`F`i0k~~hVsl+5i1|Nw)-|CI}`__{MjfJ2l%43
zwM}1jLs$0Jky*93%%1e&gemN
- ({
- color: 'hsl(var(--palette-foreground))',
- backgroundColor: 'hsl(var(--palette-background))',
- fontFamily:
- "system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",
- ...theme.applyStyles('dark', {
- colorScheme: 'dark',
- }),
- }))}
- >
- {props.children}
-
-