summaryrefslogtreecommitdiff
path: root/node_modules/postcss-place
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-05-18 23:10:59 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-05-18 23:41:44 +0800
commitfc87c009806dcc98867f6b58efe29b042aa01dee (patch)
tree8f59b3f4a5b66e9dfef2d40c8d318e258a521228 /node_modules/postcss-place
parent3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff)
node: updatemain
Diffstat (limited to 'node_modules/postcss-place')
-rw-r--r--node_modules/postcss-place/CHANGELOG.md21
-rw-r--r--node_modules/postcss-place/LICENSE.md18
-rw-r--r--node_modules/postcss-place/README.md94
-rw-r--r--node_modules/postcss-place/dist/index.cjs1
-rw-r--r--node_modules/postcss-place/dist/index.d.ts12
-rw-r--r--node_modules/postcss-place/dist/index.mjs1
-rw-r--r--node_modules/postcss-place/package.json79
7 files changed, 0 insertions, 226 deletions
diff --git a/node_modules/postcss-place/CHANGELOG.md b/node_modules/postcss-place/CHANGELOG.md
deleted file mode 100644
index 7214388b..00000000
--- a/node_modules/postcss-place/CHANGELOG.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# Changes to PostCSS Place Properties
-
-### 9.0.1
-
-_December 15, 2023_
-
-- Fix type definitions
-
-### 9.0.0
-
-_July 3, 2023_
-
-- Change license to `MIT-0` ([read more about this change in the blog post](https://preset-env.cssdb.org/blog/license-change/))
-
-### 8.0.1
-
-_January 28, 2023_
-
-- Improve `types` declaration in `package.json`
-
-[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-place/CHANGELOG.md)
diff --git a/node_modules/postcss-place/LICENSE.md b/node_modules/postcss-place/LICENSE.md
deleted file mode 100644
index e8ae93b9..00000000
--- a/node_modules/postcss-place/LICENSE.md
+++ /dev/null
@@ -1,18 +0,0 @@
-MIT No Attribution (MIT-0)
-
-Copyright © CSSTools Contributors
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the “Software”), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so.
-
-THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/node_modules/postcss-place/README.md b/node_modules/postcss-place/README.md
deleted file mode 100644
index 6a75e94a..00000000
--- a/node_modules/postcss-place/README.md
+++ /dev/null
@@ -1,94 +0,0 @@
-# PostCSS Place Properties [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS]
-
-[<img alt="npm version" src="https://img.shields.io/npm/v/postcss-place.svg" height="20">][npm-url] [<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/place-properties.svg" height="20">][css-url] [<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/workflows/test/badge.svg" height="20">][cli-url] [<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][discord]
-
-```bash
-npm install postcss-place --save-dev
-```
-
-[PostCSS Place Properties] lets you use `place-*` properties as shorthands for `align-*`
-and `justify-*`, following the [CSS Box Alignment] specification.
-
-```pcss
-.example {
- place-self: center;
- place-content: space-between center;
-}
-
-/* becomes */
-
-.example {
- align-self: center;
- justify-self: center;
- place-self: center;
- align-content: space-between;
- justify-content: center;
- place-content: space-between center;
-}
-```
-
-## Usage
-
-Add [PostCSS Place Properties] to your project:
-
-```bash
-npm install postcss postcss-place --save-dev
-```
-
-Use it as a [PostCSS] plugin:
-
-```js
-const postcss = require('postcss');
-const postcssPlace = require('postcss-place');
-
-postcss([
- postcssPlace(/* pluginOptions */)
-]).process(YOUR_CSS /*, processOptions */);
-```
-
-[PostCSS Place Properties] runs in all Node environments, with special
-instructions for:
-
-- [Node](INSTALL.md#node)
-- [PostCSS CLI](INSTALL.md#postcss-cli)
-- [PostCSS Load Config](INSTALL.md#postcss-load-config)
-- [Webpack](INSTALL.md#webpack)
-- [Next.js](INSTALL.md#nextjs)
-- [Gulp](INSTALL.md#gulp)
-- [Grunt](INSTALL.md#grunt)
-
-## Options
-
-### preserve
-
-The `preserve` option determines whether the original notation
-is preserved. By default, it is preserved.
-
-```js
-postcssPlace({ preserve: false })
-```
-
-```pcss
-.example {
- place-self: center;
- place-content: space-between center;
-}
-
-/* becomes */
-
-.example {
- align-self: center;
- justify-self: center;
- align-content: space-between;
- justify-content: center;
-}
-```
-
-[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
-[css-url]: https://cssdb.org/#place-properties
-[discord]: https://discord.gg/bUadyRwkJS
-[npm-url]: https://www.npmjs.com/package/postcss-place
-
-[PostCSS]: https://github.com/postcss/postcss
-[PostCSS Place Properties]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-place
-[CSS Box Alignment]: https://www.w3.org/TR/css-align-3/#place-content
diff --git a/node_modules/postcss-place/dist/index.cjs b/node_modules/postcss-place/dist/index.cjs
deleted file mode 100644
index 753f4b66..00000000
--- a/node_modules/postcss-place/dist/index.cjs
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";var e=require("postcss-value-parser");function onCSSDeclaration(r,o,s){const n=r.prop.toLowerCase().match(t)?.[1];if(!n)return;let a;try{a=e(r.value)}catch(e){r.warn(o,`Failed to parse value '${r.value}'. Leaving the original value intact.`)}if(void 0===a)return;let i=[];i=a.nodes.length?a.nodes.filter((e=>"word"===e.type||"function"===e.type)).map((t=>e.stringify(t))):[e.stringify(a.nodes)],r.cloneBefore({prop:`align-${n}`,value:i[0]}),r.cloneBefore({prop:`justify-${n}`,value:i[1]||i[0]}),s.preserve||r.remove()}const t=/^place-(content|items|self)/,creator=e=>{const r=Object.assign({preserve:!0},e);return{postcssPlugin:"postcss-place",Declaration:(e,{result:o})=>{t.test(e.prop.toLowerCase())&&onCSSDeclaration(e,o,r)}}};creator.postcss=!0,module.exports=creator;
diff --git a/node_modules/postcss-place/dist/index.d.ts b/node_modules/postcss-place/dist/index.d.ts
deleted file mode 100644
index 381ddc13..00000000
--- a/node_modules/postcss-place/dist/index.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type { PluginCreator } from 'postcss';
-
-declare const creator: PluginCreator<pluginOptions>;
-export default creator;
-
-/** postcss-place plugin options */
-export declare type pluginOptions = {
- /** Preserve the original notation. default: true */
- preserve?: boolean;
-};
-
-export { }
diff --git a/node_modules/postcss-place/dist/index.mjs b/node_modules/postcss-place/dist/index.mjs
deleted file mode 100644
index c39ede40..00000000
--- a/node_modules/postcss-place/dist/index.mjs
+++ /dev/null
@@ -1 +0,0 @@
-import e from"postcss-value-parser";function onCSSDeclaration(o,r,s){const n=o.prop.toLowerCase().match(t)?.[1];if(!n)return;let a;try{a=e(o.value)}catch(e){o.warn(r,`Failed to parse value '${o.value}'. Leaving the original value intact.`)}if(void 0===a)return;let l=[];l=a.nodes.length?a.nodes.filter((e=>"word"===e.type||"function"===e.type)).map((t=>e.stringify(t))):[e.stringify(a.nodes)],o.cloneBefore({prop:`align-${n}`,value:l[0]}),o.cloneBefore({prop:`justify-${n}`,value:l[1]||l[0]}),s.preserve||o.remove()}const t=/^place-(content|items|self)/,creator=e=>{const o=Object.assign({preserve:!0},e);return{postcssPlugin:"postcss-place",Declaration:(e,{result:r})=>{t.test(e.prop.toLowerCase())&&onCSSDeclaration(e,r,o)}}};creator.postcss=!0;export{creator as default};
diff --git a/node_modules/postcss-place/package.json b/node_modules/postcss-place/package.json
deleted file mode 100644
index a0c2c592..00000000
--- a/node_modules/postcss-place/package.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "name": "postcss-place",
- "description": "Use a place-* shorthand for align-* and justify-* in CSS",
- "version": "9.0.1",
- "contributors": [
- {
- "name": "Antonio Laguna",
- "email": "antonio@laguna.es",
- "url": "https://antonio.laguna.es"
- },
- {
- "name": "Jonathan Neal",
- "email": "jonathantneal@hotmail.com"
- },
- {
- "name": "Romain Menke",
- "email": "romainmenke@gmail.com"
- }
- ],
- "license": "MIT-0",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/csstools"
- },
- {
- "type": "opencollective",
- "url": "https://opencollective.com/csstools"
- }
- ],
- "engines": {
- "node": "^14 || ^16 || >=18"
- },
- "type": "module",
- "main": "dist/index.cjs",
- "module": "dist/index.mjs",
- "exports": {
- ".": {
- "import": {
- "types": "./dist/index.d.ts",
- "default": "./dist/index.mjs"
- },
- "require": {
- "default": "./dist/index.cjs"
- }
- }
- },
- "files": [
- "CHANGELOG.md",
- "LICENSE.md",
- "README.md",
- "dist"
- ],
- "dependencies": {
- "postcss-value-parser": "^4.2.0"
- },
- "peerDependencies": {
- "postcss": "^8.4"
- },
- "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-place#readme",
- "repository": {
- "type": "git",
- "url": "https://github.com/csstools/postcss-plugins.git",
- "directory": "plugins/postcss-place"
- },
- "bugs": "https://github.com/csstools/postcss-plugins/issues",
- "keywords": [
- "alignments",
- "aligns",
- "contents",
- "css",
- "justifies",
- "justify",
- "postcss",
- "postcss-plugin",
- "selfs",
- "shorthands"
- ]
-}