Project files
This commit is contained in:
37
receipeServer/frontend_old/node_modules/@csstools/postcss-color-function/CHANGELOG.md
generated
vendored
Normal file
37
receipeServer/frontend_old/node_modules/@csstools/postcss-color-function/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
# Changes to PostCSS Color Function
|
||||
|
||||
### 1.1.0 (April 4, 2022)
|
||||
|
||||
- Allow percentage units in XYZ color spaces.
|
||||
|
||||
```css
|
||||
.percentages {
|
||||
color-1: color(xyz-d50 64.331% 19.245% 16.771%);
|
||||
color-2: color(xyz-d65 64.331% 19.245% 16.771%);
|
||||
color-3: color(xyz 64.331% 19.245% 16.771%);
|
||||
|
||||
/* becomes */
|
||||
|
||||
color-1: rgb(245,0,135);
|
||||
color-2: rgb(253,0,127);
|
||||
color-3: rgb(253,0,127);
|
||||
}
|
||||
```
|
||||
|
||||
### 1.0.3 (March 8, 2022)
|
||||
|
||||
- Fix gamut mapping giving overly unsaturated colors.
|
||||
- Implement powerless color components in gamut mapping.
|
||||
|
||||
### 1.0.2 (February 12, 2022)
|
||||
|
||||
- Updated `@csstools/postcss-progressive-custom-properties` to `1.1.0`.
|
||||
|
||||
### 1.0.1 (February 11, 2022)
|
||||
|
||||
- Add tests for percentage values in non-xyz color spaces.
|
||||
- Ignore percentage values in xyz color space as these are not supported.
|
||||
|
||||
### 1.0.0 (February 7, 2022)
|
||||
|
||||
- Initial version
|
||||
108
receipeServer/frontend_old/node_modules/@csstools/postcss-color-function/LICENSE.md
generated
vendored
Normal file
108
receipeServer/frontend_old/node_modules/@csstools/postcss-color-function/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
# CC0 1.0 Universal
|
||||
|
||||
## Statement of Purpose
|
||||
|
||||
The laws of most jurisdictions throughout the world automatically confer
|
||||
exclusive Copyright and Related Rights (defined below) upon the creator and
|
||||
subsequent owner(s) (each and all, an “owner”) of an original work of
|
||||
authorship and/or a database (each, a “Work”).
|
||||
|
||||
Certain owners wish to permanently relinquish those rights to a Work for the
|
||||
purpose of contributing to a commons of creative, cultural and scientific works
|
||||
(“Commons”) that the public can reliably and without fear of later claims of
|
||||
infringement build upon, modify, incorporate in other works, reuse and
|
||||
redistribute as freely as possible in any form whatsoever and for any purposes,
|
||||
including without limitation commercial purposes. These owners may contribute
|
||||
to the Commons to promote the ideal of a free culture and the further
|
||||
production of creative, cultural and scientific works, or to gain reputation or
|
||||
greater distribution for their Work in part through the use and efforts of
|
||||
others.
|
||||
|
||||
For these and/or other purposes and motivations, and without any expectation of
|
||||
additional consideration or compensation, the person associating CC0 with a
|
||||
Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
|
||||
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
|
||||
publicly distribute the Work under its terms, with knowledge of his or her
|
||||
Copyright and Related Rights in the Work and the meaning and intended legal
|
||||
effect of CC0 on those rights.
|
||||
|
||||
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||
protected by copyright and related or neighboring rights (“Copyright and
|
||||
Related Rights”). Copyright and Related Rights include, but are not limited
|
||||
to, the following:
|
||||
1. the right to reproduce, adapt, distribute, perform, display, communicate,
|
||||
and translate a Work;
|
||||
2. moral rights retained by the original author(s) and/or performer(s);
|
||||
3. publicity and privacy rights pertaining to a person’s image or likeness
|
||||
depicted in a Work;
|
||||
4. rights protecting against unfair competition in regards to a Work,
|
||||
subject to the limitations in paragraph 4(i), below;
|
||||
5. rights protecting the extraction, dissemination, use and reuse of data in
|
||||
a Work;
|
||||
6. database rights (such as those arising under Directive 96/9/EC of the
|
||||
European Parliament and of the Council of 11 March 1996 on the legal
|
||||
protection of databases, and under any national implementation thereof,
|
||||
including any amended or successor version of such directive); and
|
||||
7. other similar, equivalent or corresponding rights throughout the world
|
||||
based on applicable law or treaty, and any national implementations
|
||||
thereof.
|
||||
|
||||
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
||||
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
||||
unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright
|
||||
and Related Rights and associated claims and causes of action, whether now
|
||||
known or unknown (including existing as well as future claims and causes of
|
||||
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
||||
duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “Waiver”). Affirmer
|
||||
makes the Waiver for the benefit of each member of the public at large and
|
||||
to the detriment of Affirmer’s heirs and successors, fully intending that
|
||||
such Waiver shall not be subject to revocation, rescission, cancellation,
|
||||
termination, or any other legal or equitable action to disrupt the quiet
|
||||
enjoyment of the Work by the public as contemplated by Affirmer’s express
|
||||
Statement of Purpose.
|
||||
|
||||
3. Public License Fallback. Should any part of the Waiver for any reason be
|
||||
judged legally invalid or ineffective under applicable law, then the Waiver
|
||||
shall be preserved to the maximum extent permitted taking into account
|
||||
Affirmer’s express Statement of Purpose. In addition, to the extent the
|
||||
Waiver is so judged Affirmer hereby grants to each affected person a
|
||||
royalty-free, non transferable, non sublicensable, non exclusive,
|
||||
irrevocable and unconditional license to exercise Affirmer’s Copyright and
|
||||
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
||||
maximum duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “License”). The License
|
||||
shall be deemed effective as of the date CC0 was applied by Affirmer to the
|
||||
Work. Should any part of the License for any reason be judged legally
|
||||
invalid or ineffective under applicable law, such partial invalidity or
|
||||
ineffectiveness shall not invalidate the remainder of the License, and in
|
||||
such case Affirmer hereby affirms that he or she will not (i) exercise any
|
||||
of his or her remaining Copyright and Related Rights in the Work or (ii)
|
||||
assert any associated claims and causes of action with respect to the Work,
|
||||
in either case contrary to Affirmer’s express Statement of Purpose.
|
||||
|
||||
4. Limitations and Disclaimers.
|
||||
1. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||
surrendered, licensed or otherwise affected by this document.
|
||||
2. Affirmer offers the Work as-is and makes no representations or warranties
|
||||
of any kind concerning the Work, express, implied, statutory or
|
||||
otherwise, including without limitation warranties of title,
|
||||
merchantability, fitness for a particular purpose, non infringement, or
|
||||
the absence of latent or other defects, accuracy, or the present or
|
||||
absence of errors, whether or not discoverable, all to the greatest
|
||||
extent permissible under applicable law.
|
||||
3. Affirmer disclaims responsibility for clearing rights of other persons
|
||||
that may apply to the Work or any use thereof, including without
|
||||
limitation any person’s Copyright and Related Rights in the Work.
|
||||
Further, Affirmer disclaims responsibility for obtaining any necessary
|
||||
consents, permissions or other rights required for any use of the Work.
|
||||
4. Affirmer understands and acknowledges that Creative Commons is not a
|
||||
party to this document and has no duty or obligation with respect to this
|
||||
CC0 or use of the Work.
|
||||
|
||||
For more information, please see
|
||||
http://creativecommons.org/publicdomain/zero/1.0/.
|
||||
173
receipeServer/frontend_old/node_modules/@csstools/postcss-color-function/README.md
generated
vendored
Normal file
173
receipeServer/frontend_old/node_modules/@csstools/postcss-color-function/README.md
generated
vendored
Normal file
@@ -0,0 +1,173 @@
|
||||
# PostCSS Color Function [<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/@csstools/postcss-color-function.svg" height="20">][npm-url]
|
||||
[<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/color-function.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]
|
||||
|
||||
[PostCSS Color Function] lets you use the `color` function in
|
||||
CSS, following the [CSS Color] specification.
|
||||
|
||||
```pcss
|
||||
.color {
|
||||
color: color(display-p3 0.64331 0.19245 0.16771);
|
||||
}
|
||||
|
||||
:root {
|
||||
--a-color: color(srgb 0.64331 0.19245 0.16771);
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
.color {
|
||||
color: rgb(179,35,35);
|
||||
}
|
||||
|
||||
:root {
|
||||
--a-color: rgb(164,49,43);
|
||||
}
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Add [PostCSS Color Function] to your project:
|
||||
|
||||
```bash
|
||||
npm install postcss @csstools/postcss-color-function --save-dev
|
||||
```
|
||||
|
||||
Use it as a [PostCSS] plugin:
|
||||
|
||||
```js
|
||||
const postcss = require('postcss');
|
||||
const postcssColorFunction = require('@csstools/postcss-color-function');
|
||||
|
||||
postcss([
|
||||
postcssColorFunction(/* pluginOptions */)
|
||||
]).process(YOUR_CSS /*, processOptions */);
|
||||
```
|
||||
|
||||
[PostCSS Color Function] runs in all Node environments, with special
|
||||
instructions for:
|
||||
|
||||
| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
|
||||
## Options
|
||||
|
||||
### preserve
|
||||
|
||||
The `preserve` option determines whether the original notation
|
||||
is preserved. By default, it is not preserved.
|
||||
|
||||
```js
|
||||
postcssColorFunction({ preserve: true })
|
||||
```
|
||||
|
||||
```pcss
|
||||
.color {
|
||||
color: color(display-p3 0.64331 0.19245 0.16771);
|
||||
}
|
||||
|
||||
:root {
|
||||
--a-color: color(srgb 0.64331 0.19245 0.16771);
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
.color {
|
||||
color: rgb(179,35,35);
|
||||
color: color(display-p3 0.64331 0.19245 0.16771);
|
||||
}
|
||||
|
||||
:root {
|
||||
--a-color: rgb(164,49,43);
|
||||
}
|
||||
|
||||
@supports (color: color(srgb 0 0 0)) {
|
||||
:root {
|
||||
--a-color: color(srgb 0.64331 0.19245 0.16771);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### enableProgressiveCustomProperties
|
||||
|
||||
The `enableProgressiveCustomProperties` option determines whether the original notation
|
||||
is wrapped with `@supports` when used in Custom Properties. By default, it is enabled.
|
||||
|
||||
⚠️ We only recommend disabling this when you set `preserve` to `false` or if you bring your own fix for Custom Properties. See what the plugin does in its [README](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-progressive-custom-properties#readme).
|
||||
|
||||
```js
|
||||
postcssColorFunction({ enableProgressiveCustomProperties: false })
|
||||
```
|
||||
|
||||
```pcss
|
||||
.color {
|
||||
color: color(display-p3 0.64331 0.19245 0.16771);
|
||||
}
|
||||
|
||||
:root {
|
||||
--a-color: color(srgb 0.64331 0.19245 0.16771);
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
.color {
|
||||
color: rgb(179,35,35);
|
||||
color: color(display-p3 0.64331 0.19245 0.16771);
|
||||
}
|
||||
|
||||
:root {
|
||||
--a-color: rgb(164,49,43);
|
||||
--a-color: color(srgb 0.64331 0.19245 0.16771);
|
||||
}
|
||||
```
|
||||
|
||||
_Custom properties do not fallback to the previous declaration_
|
||||
|
||||
## Supported Color Spaces
|
||||
|
||||
```css
|
||||
.color-spaces {
|
||||
color: color(a98-rgb 0.803 0.484 0.944);
|
||||
color: color(display-p3 0.8434 0.509 0.934);
|
||||
color: color(prophoto-rgb 0.759 0.493 0.898);
|
||||
color: color(rec2020 0.772 0.491 0.920);
|
||||
color: color(srgb 0.897 0.488 0.959);
|
||||
color: color(srgb-linear 0.783 0.203 0.910);
|
||||
color: color(xyz 0.560 0.377 0.904);
|
||||
color: color(xyz-d50 0.550 0.375 0.680);
|
||||
color: color(xyz-d65 0.560 0.377 0.904);
|
||||
}
|
||||
```
|
||||
|
||||
## Out of gamut colors
|
||||
|
||||
Depending on the browser implementation out of gamut colors may be clipped, resulting in a different color.<br>
|
||||
Fallback values generated by [PostCSS Color Function] are always mapped to a close alternative in sRGB.
|
||||
|
||||
When setting `preserve` to `true` the original values will be used by some browsers and these may be clipped.<br>
|
||||
Certain browsers will have an incorrect color if this occurs.
|
||||
|
||||
If the plugin detects out of gamut colors it will emit a warning :
|
||||
|
||||
> "color(srgb-linear -0.01656 0.23079 0.25298)" is out of gamut for "srgb-linear". When "preserve: true" is set this will lead to unexpected results in some browsers.
|
||||
|
||||
To resolve this warning pick a larger color space when declaring the original value.
|
||||
|
||||
## Copyright : color conversions
|
||||
|
||||
This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/tree/main/css-color-4. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
||||
|
||||
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
|
||||
[css-url]: https://cssdb.org/#color-function
|
||||
[discord]: https://discord.gg/bUadyRwkJS
|
||||
[npm-url]: https://www.npmjs.com/package/@csstools/postcss-color-function
|
||||
|
||||
[Gulp PostCSS]: https://github.com/postcss/gulp-postcss
|
||||
[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss
|
||||
[PostCSS]: https://github.com/postcss/postcss
|
||||
[PostCSS Loader]: https://github.com/postcss/postcss-loader
|
||||
[PostCSS Color Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-function
|
||||
[CSS Color]: https://www.w3.org/TR/css-color-4/#funcdef-color
|
||||
85
receipeServer/frontend_old/node_modules/@csstools/postcss-color-function/package.json
generated
vendored
Normal file
85
receipeServer/frontend_old/node_modules/@csstools/postcss-color-function/package.json
generated
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"name": "@csstools/postcss-color-function",
|
||||
"description": "Use the color() function in CSS",
|
||||
"version": "1.1.0",
|
||||
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
||||
"license": "CC0-1.0",
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/csstools"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12 || ^14 || >=16"
|
||||
},
|
||||
"main": "dist/index.cjs",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.cjs",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"CHANGELOG.md",
|
||||
"LICENSE.md",
|
||||
"README.md",
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@csstools/postcss-progressive-custom-properties": "^1.1.0",
|
||||
"postcss-value-parser": "^4.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"postcss-lab-function": "^4.0.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c ../../rollup/default.js",
|
||||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
|
||||
"docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs",
|
||||
"lint": "npm run lint:eslint && npm run lint:package-json",
|
||||
"lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
|
||||
"lint:package-json": "node ../../.github/bin/format-package-json.mjs",
|
||||
"prepublishOnly": "npm run clean && npm run build && npm run test",
|
||||
"test": "node .tape.mjs && npm run test:exports",
|
||||
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
|
||||
"test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
|
||||
},
|
||||
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-function#readme",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/csstools/postcss-plugins.git",
|
||||
"directory": "plugins/postcss-color-function"
|
||||
},
|
||||
"bugs": "https://github.com/csstools/postcss-plugins/issues",
|
||||
"keywords": [
|
||||
"color",
|
||||
"color",
|
||||
"colors",
|
||||
"css",
|
||||
"design",
|
||||
"display-p3",
|
||||
"postcss",
|
||||
"postcss-plugin",
|
||||
"prophoto-rgb",
|
||||
"rec2020",
|
||||
"rgb",
|
||||
"rgba",
|
||||
"srgb-linear",
|
||||
"syntax",
|
||||
"xyz"
|
||||
],
|
||||
"csstools": {
|
||||
"cssdbId": "color-function",
|
||||
"exportName": "postcssColorFunction",
|
||||
"humanReadableName": "PostCSS Color Function",
|
||||
"specUrl": "https://www.w3.org/TR/css-color-4/#funcdef-color"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../package.json"
|
||||
}
|
||||
}
|
||||
5
receipeServer/frontend_old/node_modules/@csstools/postcss-font-format-keywords/CHANGELOG.md
generated
vendored
Normal file
5
receipeServer/frontend_old/node_modules/@csstools/postcss-font-format-keywords/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Changes to PostCSS Font Format
|
||||
|
||||
### 1.0.0
|
||||
|
||||
- Initial version
|
||||
108
receipeServer/frontend_old/node_modules/@csstools/postcss-font-format-keywords/LICENSE.md
generated
vendored
Normal file
108
receipeServer/frontend_old/node_modules/@csstools/postcss-font-format-keywords/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
# CC0 1.0 Universal
|
||||
|
||||
## Statement of Purpose
|
||||
|
||||
The laws of most jurisdictions throughout the world automatically confer
|
||||
exclusive Copyright and Related Rights (defined below) upon the creator and
|
||||
subsequent owner(s) (each and all, an “owner”) of an original work of
|
||||
authorship and/or a database (each, a “Work”).
|
||||
|
||||
Certain owners wish to permanently relinquish those rights to a Work for the
|
||||
purpose of contributing to a commons of creative, cultural and scientific works
|
||||
(“Commons”) that the public can reliably and without fear of later claims of
|
||||
infringement build upon, modify, incorporate in other works, reuse and
|
||||
redistribute as freely as possible in any form whatsoever and for any purposes,
|
||||
including without limitation commercial purposes. These owners may contribute
|
||||
to the Commons to promote the ideal of a free culture and the further
|
||||
production of creative, cultural and scientific works, or to gain reputation or
|
||||
greater distribution for their Work in part through the use and efforts of
|
||||
others.
|
||||
|
||||
For these and/or other purposes and motivations, and without any expectation of
|
||||
additional consideration or compensation, the person associating CC0 with a
|
||||
Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
|
||||
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
|
||||
publicly distribute the Work under its terms, with knowledge of his or her
|
||||
Copyright and Related Rights in the Work and the meaning and intended legal
|
||||
effect of CC0 on those rights.
|
||||
|
||||
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||
protected by copyright and related or neighboring rights (“Copyright and
|
||||
Related Rights”). Copyright and Related Rights include, but are not limited
|
||||
to, the following:
|
||||
1. the right to reproduce, adapt, distribute, perform, display, communicate,
|
||||
and translate a Work;
|
||||
2. moral rights retained by the original author(s) and/or performer(s);
|
||||
3. publicity and privacy rights pertaining to a person’s image or likeness
|
||||
depicted in a Work;
|
||||
4. rights protecting against unfair competition in regards to a Work,
|
||||
subject to the limitations in paragraph 4(i), below;
|
||||
5. rights protecting the extraction, dissemination, use and reuse of data in
|
||||
a Work;
|
||||
6. database rights (such as those arising under Directive 96/9/EC of the
|
||||
European Parliament and of the Council of 11 March 1996 on the legal
|
||||
protection of databases, and under any national implementation thereof,
|
||||
including any amended or successor version of such directive); and
|
||||
7. other similar, equivalent or corresponding rights throughout the world
|
||||
based on applicable law or treaty, and any national implementations
|
||||
thereof.
|
||||
|
||||
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
||||
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
||||
unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright
|
||||
and Related Rights and associated claims and causes of action, whether now
|
||||
known or unknown (including existing as well as future claims and causes of
|
||||
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
||||
duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “Waiver”). Affirmer
|
||||
makes the Waiver for the benefit of each member of the public at large and
|
||||
to the detriment of Affirmer’s heirs and successors, fully intending that
|
||||
such Waiver shall not be subject to revocation, rescission, cancellation,
|
||||
termination, or any other legal or equitable action to disrupt the quiet
|
||||
enjoyment of the Work by the public as contemplated by Affirmer’s express
|
||||
Statement of Purpose.
|
||||
|
||||
3. Public License Fallback. Should any part of the Waiver for any reason be
|
||||
judged legally invalid or ineffective under applicable law, then the Waiver
|
||||
shall be preserved to the maximum extent permitted taking into account
|
||||
Affirmer’s express Statement of Purpose. In addition, to the extent the
|
||||
Waiver is so judged Affirmer hereby grants to each affected person a
|
||||
royalty-free, non transferable, non sublicensable, non exclusive,
|
||||
irrevocable and unconditional license to exercise Affirmer’s Copyright and
|
||||
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
||||
maximum duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “License”). The License
|
||||
shall be deemed effective as of the date CC0 was applied by Affirmer to the
|
||||
Work. Should any part of the License for any reason be judged legally
|
||||
invalid or ineffective under applicable law, such partial invalidity or
|
||||
ineffectiveness shall not invalidate the remainder of the License, and in
|
||||
such case Affirmer hereby affirms that he or she will not (i) exercise any
|
||||
of his or her remaining Copyright and Related Rights in the Work or (ii)
|
||||
assert any associated claims and causes of action with respect to the Work,
|
||||
in either case contrary to Affirmer’s express Statement of Purpose.
|
||||
|
||||
4. Limitations and Disclaimers.
|
||||
1. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||
surrendered, licensed or otherwise affected by this document.
|
||||
2. Affirmer offers the Work as-is and makes no representations or warranties
|
||||
of any kind concerning the Work, express, implied, statutory or
|
||||
otherwise, including without limitation warranties of title,
|
||||
merchantability, fitness for a particular purpose, non infringement, or
|
||||
the absence of latent or other defects, accuracy, or the present or
|
||||
absence of errors, whether or not discoverable, all to the greatest
|
||||
extent permissible under applicable law.
|
||||
3. Affirmer disclaims responsibility for clearing rights of other persons
|
||||
that may apply to the Work or any use thereof, including without
|
||||
limitation any person’s Copyright and Related Rights in the Work.
|
||||
Further, Affirmer disclaims responsibility for obtaining any necessary
|
||||
consents, permissions or other rights required for any use of the Work.
|
||||
4. Affirmer understands and acknowledges that Creative Commons is not a
|
||||
party to this document and has no duty or obligation with respect to this
|
||||
CC0 or use of the Work.
|
||||
|
||||
For more information, please see
|
||||
http://creativecommons.org/publicdomain/zero/1.0/.
|
||||
86
receipeServer/frontend_old/node_modules/@csstools/postcss-font-format-keywords/README.md
generated
vendored
Normal file
86
receipeServer/frontend_old/node_modules/@csstools/postcss-font-format-keywords/README.md
generated
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
# PostCSS Font Format [<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/@csstools/postcss-font-format-keywords.svg" height="20">][npm-url]
|
||||
[<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/font-format-keywords.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]
|
||||
|
||||
[PostCSS Font Format Keywords] lets you specify font formats as keywords, following the [CSS Fonts] specification.
|
||||
|
||||
```pcss
|
||||
@font-face {
|
||||
src: url(file.woff2) format(woff2);
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
@font-face {
|
||||
src: url(file.woff2) format("woff2");
|
||||
}
|
||||
```
|
||||
|
||||
_See prior work by [valtlai](https://github.com/valtlai) here [postcss-font-format-keywords](https://github.com/valtlai/postcss-font-format-keywords)
|
||||
To ensure long term maintenance and to provide the needed features this plugin was recreated based on valtlai's work._
|
||||
|
||||
## Usage
|
||||
|
||||
Add [PostCSS Font Format Keywords] to your project:
|
||||
|
||||
```bash
|
||||
npm install postcss @csstools/postcss-font-format-keywords --save-dev
|
||||
```
|
||||
|
||||
Use it as a [PostCSS] plugin:
|
||||
|
||||
```js
|
||||
const postcss = require('postcss');
|
||||
const postcssFontFormatKeywords = require('@csstools/postcss-font-format-keywords');
|
||||
|
||||
postcss([
|
||||
postcssFontFormatKeywords(/* pluginOptions */)
|
||||
]).process(YOUR_CSS /*, processOptions */);
|
||||
```
|
||||
|
||||
[PostCSS Font Format Keywords] runs in all Node environments, with special
|
||||
instructions for:
|
||||
|
||||
| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
|
||||
## Options
|
||||
|
||||
### preserve
|
||||
|
||||
The `preserve` option determines whether the original source
|
||||
is preserved. By default, it is not preserved.
|
||||
|
||||
```js
|
||||
postcssFontFormatKeywords({ preserve: true })
|
||||
```
|
||||
|
||||
```pcss
|
||||
@font-face {
|
||||
src: url(file.woff2) format(woff2);
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
@font-face {
|
||||
src: url(file.woff2) format("woff2");
|
||||
src: url(file.woff2) format(woff2);
|
||||
}
|
||||
```
|
||||
|
||||
[postcss]: https://github.com/postcss/postcss
|
||||
|
||||
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
|
||||
[css-url]: https://cssdb.org/#font-format-keywords
|
||||
[discord]: https://discord.gg/bUadyRwkJS
|
||||
[npm-url]: https://www.npmjs.com/package/@csstools/postcss-font-format-keywords
|
||||
|
||||
[CSS Fonts]: https://www.w3.org/TR/css-fonts-4/#font-format-values
|
||||
[Gulp PostCSS]: https://github.com/postcss/gulp-postcss
|
||||
[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss
|
||||
[PostCSS]: https://github.com/postcss/postcss
|
||||
[PostCSS Loader]: https://github.com/postcss/postcss-loader
|
||||
[PostCSS Font Format Keywords]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-font-format-keywords
|
||||
62
receipeServer/frontend_old/node_modules/@csstools/postcss-font-format-keywords/package.json
generated
vendored
Normal file
62
receipeServer/frontend_old/node_modules/@csstools/postcss-font-format-keywords/package.json
generated
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"name": "@csstools/postcss-font-format-keywords",
|
||||
"version": "1.0.0",
|
||||
"description": "Use unquoted format on @font-face CSS definitions.",
|
||||
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
||||
"license": "CC0-1.0",
|
||||
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-font-format-keywords#readme",
|
||||
"engines": {
|
||||
"node": "^12 || ^14 || >=16"
|
||||
},
|
||||
"main": "dist/index.cjs",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.cjs",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"CHANGELOG.md",
|
||||
"LICENSE.md",
|
||||
"README.md",
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "rollup -c ../../rollup/default.js",
|
||||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
|
||||
"lint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
|
||||
"prepublishOnly": "npm run clean && npm run build && npm run test",
|
||||
"test": "node .tape.mjs && npm run test:exports",
|
||||
"test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs",
|
||||
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.3"
|
||||
},
|
||||
"keywords": [
|
||||
"postcss-plugin",
|
||||
"font",
|
||||
"css",
|
||||
"font-format-keywords",
|
||||
"format",
|
||||
"woff",
|
||||
"woff2",
|
||||
"truetype",
|
||||
"opentype",
|
||||
"embedded-opentype"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/csstools/postcss-plugins.git",
|
||||
"directory": "plugins/postcss-font-format-keywords"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"postcss-value-parser": "^4.2.0"
|
||||
}
|
||||
}
|
||||
5
receipeServer/frontend_old/node_modules/@csstools/postcss-hwb-function/CHANGELOG.md
generated
vendored
Normal file
5
receipeServer/frontend_old/node_modules/@csstools/postcss-hwb-function/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Changes to PostCSS HWB Function
|
||||
|
||||
### 1.0.0 (January 22, 2022)
|
||||
|
||||
- Initial version
|
||||
164
receipeServer/frontend_old/node_modules/@csstools/postcss-hwb-function/INSTALL.md
generated
vendored
Normal file
164
receipeServer/frontend_old/node_modules/@csstools/postcss-hwb-function/INSTALL.md
generated
vendored
Normal file
@@ -0,0 +1,164 @@
|
||||
# Installing PostCSS HWB Function
|
||||
|
||||
[PostCSS HWB Function] runs in all Node environments, with special
|
||||
instructions for:
|
||||
|
||||
| [Node](#node) | [PostCSS CLI](#postcss-cli) | [Webpack](#webpack) | [Create React App](#create-react-app) | [Gulp](#gulp) | [Grunt](#grunt) |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
|
||||
## Node
|
||||
|
||||
Add [PostCSS HWB Function] to your project:
|
||||
|
||||
```bash
|
||||
npm install postcss @csstools/postcss-hwb-function --save-dev
|
||||
```
|
||||
|
||||
Use it as a [PostCSS] plugin:
|
||||
|
||||
```js
|
||||
const postcss = require('postcss');
|
||||
const postcssHWBFunction = require('@csstools/postcss-hwb-function');
|
||||
|
||||
postcss([
|
||||
postcssHWBFunction(/* pluginOptions */)
|
||||
]).process(YOUR_CSS /*, processOptions */);
|
||||
```
|
||||
|
||||
## PostCSS CLI
|
||||
|
||||
Add [PostCSS CLI] to your project:
|
||||
|
||||
```bash
|
||||
npm install postcss-cli --save-dev
|
||||
```
|
||||
|
||||
Use [PostCSS HWB Function] in your `postcss.config.js` configuration
|
||||
file:
|
||||
|
||||
```js
|
||||
const postcssHWBFunction = require('@csstools/postcss-hwb-function');
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
postcssHWBFunction(/* pluginOptions */)
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Webpack
|
||||
|
||||
Add [PostCSS Loader] to your project:
|
||||
|
||||
```bash
|
||||
npm install postcss-loader --save-dev
|
||||
```
|
||||
|
||||
Use [PostCSS HWB Function] in your Webpack configuration:
|
||||
|
||||
```js
|
||||
const postcssHWBFunction = require('@csstools/postcss-hwb-function');
|
||||
|
||||
module.exports = {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.css$/,
|
||||
use: [
|
||||
'style-loader',
|
||||
{ loader: 'css-loader', options: { importLoaders: 1 } },
|
||||
{ loader: 'postcss-loader', options: {
|
||||
ident: 'postcss',
|
||||
plugins: () => [
|
||||
postcssHWBFunction(/* pluginOptions */)
|
||||
]
|
||||
} }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Create React App
|
||||
|
||||
Add [React App Rewired] and [React App Rewire PostCSS] to your project:
|
||||
|
||||
```bash
|
||||
npm install react-app-rewired react-app-rewire-postcss --save-dev
|
||||
```
|
||||
|
||||
Use [React App Rewire PostCSS] and [PostCSS HWB Function] in your
|
||||
`config-overrides.js` file:
|
||||
|
||||
```js
|
||||
const reactAppRewirePostcss = require('react-app-rewire-postcss');
|
||||
const postcssHWBFunction = require('@csstools/postcss-hwb-function');
|
||||
|
||||
module.exports = config => reactAppRewirePostcss(config, {
|
||||
plugins: () => [
|
||||
postcssHWBFunction(/* pluginOptions */)
|
||||
]
|
||||
});
|
||||
```
|
||||
|
||||
## Gulp
|
||||
|
||||
Add [Gulp PostCSS] to your project:
|
||||
|
||||
```bash
|
||||
npm install gulp-postcss --save-dev
|
||||
```
|
||||
|
||||
Use [PostCSS HWB Function] in your Gulpfile:
|
||||
|
||||
```js
|
||||
const postcss = require('gulp-postcss');
|
||||
const postcssHWBFunction = require('@csstools/postcss-hwb-function');
|
||||
|
||||
gulp.task('css', () => gulp.src('./src/*.css').pipe(
|
||||
postcss([
|
||||
postcssHWBFunction(/* pluginOptions */)
|
||||
])
|
||||
).pipe(
|
||||
gulp.dest('.')
|
||||
));
|
||||
```
|
||||
|
||||
## Grunt
|
||||
|
||||
Add [Grunt PostCSS] to your project:
|
||||
|
||||
```bash
|
||||
npm install grunt-postcss --save-dev
|
||||
```
|
||||
|
||||
Use [PostCSS HWB Function] in your Gruntfile:
|
||||
|
||||
```js
|
||||
const postcssHWBFunction = require('@csstools/postcss-hwb-function');
|
||||
|
||||
grunt.loadNpmTasks('grunt-postcss');
|
||||
|
||||
grunt.initConfig({
|
||||
postcss: {
|
||||
options: {
|
||||
use: [
|
||||
postcssHWBFunction(/* pluginOptions */)
|
||||
]
|
||||
},
|
||||
dist: {
|
||||
src: '*.css'
|
||||
}
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
[Gulp PostCSS]: https://github.com/postcss/gulp-postcss
|
||||
[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss
|
||||
[PostCSS]: https://github.com/postcss/postcss
|
||||
[PostCSS CLI]: https://github.com/postcss/postcss-cli
|
||||
[PostCSS Loader]: https://github.com/postcss/postcss-loader
|
||||
[PostCSS HWB Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-hwb-function
|
||||
[React App Rewire PostCSS]: https://github.com/csstools/react-app-rewire-postcss
|
||||
[React App Rewired]: https://github.com/timarney/react-app-rewired
|
||||
108
receipeServer/frontend_old/node_modules/@csstools/postcss-hwb-function/LICENSE.md
generated
vendored
Normal file
108
receipeServer/frontend_old/node_modules/@csstools/postcss-hwb-function/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
# CC0 1.0 Universal
|
||||
|
||||
## Statement of Purpose
|
||||
|
||||
The laws of most jurisdictions throughout the world automatically confer
|
||||
exclusive Copyright and Related Rights (defined below) upon the creator and
|
||||
subsequent owner(s) (each and all, an “owner”) of an original work of
|
||||
authorship and/or a database (each, a “Work”).
|
||||
|
||||
Certain owners wish to permanently relinquish those rights to a Work for the
|
||||
purpose of contributing to a commons of creative, cultural and scientific works
|
||||
(“Commons”) that the public can reliably and without fear of later claims of
|
||||
infringement build upon, modify, incorporate in other works, reuse and
|
||||
redistribute as freely as possible in any form whatsoever and for any purposes,
|
||||
including without limitation commercial purposes. These owners may contribute
|
||||
to the Commons to promote the ideal of a free culture and the further
|
||||
production of creative, cultural and scientific works, or to gain reputation or
|
||||
greater distribution for their Work in part through the use and efforts of
|
||||
others.
|
||||
|
||||
For these and/or other purposes and motivations, and without any expectation of
|
||||
additional consideration or compensation, the person associating CC0 with a
|
||||
Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
|
||||
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
|
||||
publicly distribute the Work under its terms, with knowledge of his or her
|
||||
Copyright and Related Rights in the Work and the meaning and intended legal
|
||||
effect of CC0 on those rights.
|
||||
|
||||
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||
protected by copyright and related or neighboring rights (“Copyright and
|
||||
Related Rights”). Copyright and Related Rights include, but are not limited
|
||||
to, the following:
|
||||
1. the right to reproduce, adapt, distribute, perform, display, communicate,
|
||||
and translate a Work;
|
||||
2. moral rights retained by the original author(s) and/or performer(s);
|
||||
3. publicity and privacy rights pertaining to a person’s image or likeness
|
||||
depicted in a Work;
|
||||
4. rights protecting against unfair competition in regards to a Work,
|
||||
subject to the limitations in paragraph 4(i), below;
|
||||
5. rights protecting the extraction, dissemination, use and reuse of data in
|
||||
a Work;
|
||||
6. database rights (such as those arising under Directive 96/9/EC of the
|
||||
European Parliament and of the Council of 11 March 1996 on the legal
|
||||
protection of databases, and under any national implementation thereof,
|
||||
including any amended or successor version of such directive); and
|
||||
7. other similar, equivalent or corresponding rights throughout the world
|
||||
based on applicable law or treaty, and any national implementations
|
||||
thereof.
|
||||
|
||||
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
||||
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
||||
unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright
|
||||
and Related Rights and associated claims and causes of action, whether now
|
||||
known or unknown (including existing as well as future claims and causes of
|
||||
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
||||
duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “Waiver”). Affirmer
|
||||
makes the Waiver for the benefit of each member of the public at large and
|
||||
to the detriment of Affirmer’s heirs and successors, fully intending that
|
||||
such Waiver shall not be subject to revocation, rescission, cancellation,
|
||||
termination, or any other legal or equitable action to disrupt the quiet
|
||||
enjoyment of the Work by the public as contemplated by Affirmer’s express
|
||||
Statement of Purpose.
|
||||
|
||||
3. Public License Fallback. Should any part of the Waiver for any reason be
|
||||
judged legally invalid or ineffective under applicable law, then the Waiver
|
||||
shall be preserved to the maximum extent permitted taking into account
|
||||
Affirmer’s express Statement of Purpose. In addition, to the extent the
|
||||
Waiver is so judged Affirmer hereby grants to each affected person a
|
||||
royalty-free, non transferable, non sublicensable, non exclusive,
|
||||
irrevocable and unconditional license to exercise Affirmer’s Copyright and
|
||||
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
||||
maximum duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “License”). The License
|
||||
shall be deemed effective as of the date CC0 was applied by Affirmer to the
|
||||
Work. Should any part of the License for any reason be judged legally
|
||||
invalid or ineffective under applicable law, such partial invalidity or
|
||||
ineffectiveness shall not invalidate the remainder of the License, and in
|
||||
such case Affirmer hereby affirms that he or she will not (i) exercise any
|
||||
of his or her remaining Copyright and Related Rights in the Work or (ii)
|
||||
assert any associated claims and causes of action with respect to the Work,
|
||||
in either case contrary to Affirmer’s express Statement of Purpose.
|
||||
|
||||
4. Limitations and Disclaimers.
|
||||
1. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||
surrendered, licensed or otherwise affected by this document.
|
||||
2. Affirmer offers the Work as-is and makes no representations or warranties
|
||||
of any kind concerning the Work, express, implied, statutory or
|
||||
otherwise, including without limitation warranties of title,
|
||||
merchantability, fitness for a particular purpose, non infringement, or
|
||||
the absence of latent or other defects, accuracy, or the present or
|
||||
absence of errors, whether or not discoverable, all to the greatest
|
||||
extent permissible under applicable law.
|
||||
3. Affirmer disclaims responsibility for clearing rights of other persons
|
||||
that may apply to the Work or any use thereof, including without
|
||||
limitation any person’s Copyright and Related Rights in the Work.
|
||||
Further, Affirmer disclaims responsibility for obtaining any necessary
|
||||
consents, permissions or other rights required for any use of the Work.
|
||||
4. Affirmer understands and acknowledges that Creative Commons is not a
|
||||
party to this document and has no duty or obligation with respect to this
|
||||
CC0 or use of the Work.
|
||||
|
||||
For more information, please see
|
||||
http://creativecommons.org/publicdomain/zero/1.0/.
|
||||
88
receipeServer/frontend_old/node_modules/@csstools/postcss-hwb-function/README.md
generated
vendored
Normal file
88
receipeServer/frontend_old/node_modules/@csstools/postcss-hwb-function/README.md
generated
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
# PostCSS HWB Function [<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/@csstools/postcss-hwb-function.svg" height="20">][npm-url]
|
||||
[<img alt="CSS Standard Status" src="https://cssdb.org/badge/hwb-function.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="support chat" src="https://img.shields.io/badge/support-chat-blue.svg" height="20">][git-url]
|
||||
|
||||
|
||||
[PostCSS HWB Function] lets you use `hwb` color functions in
|
||||
CSS, following the [CSS Color] specification.
|
||||
|
||||
```pcss
|
||||
a {
|
||||
color: hwb(194 0% 0%);
|
||||
color: hwb(194 0% 0% / .5);
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
a {
|
||||
color: rgb(0, 195, 255);
|
||||
color: rgba(0, 195, 255, .5);
|
||||
}
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Add [PostCSS HWB Function] to your project:
|
||||
|
||||
```bash
|
||||
npm install postcss @csstools/postcss-hwb-function --save-dev
|
||||
```
|
||||
|
||||
Use it as a [PostCSS] plugin:
|
||||
|
||||
```js
|
||||
const postcss = require('postcss');
|
||||
const postcssHWBFunction = require('@csstools/postcss-hwb-function');
|
||||
|
||||
postcss([
|
||||
postcssHWBFunction(/* pluginOptions */)
|
||||
]).process(YOUR_CSS /*, processOptions */);
|
||||
```
|
||||
|
||||
[PostCSS HWB Function] runs in all Node environments, with special
|
||||
instructions for:
|
||||
|
||||
| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
|
||||
## Options
|
||||
|
||||
### preserve
|
||||
|
||||
The `preserve` option determines whether the original functional color notation
|
||||
is preserved. By default, it is not preserved.
|
||||
|
||||
```js
|
||||
postcssHWBFunction({ preserve: true })
|
||||
```
|
||||
|
||||
```pcss
|
||||
a {
|
||||
color: hwb(194 0% 0%);
|
||||
color: hwb(194 0% 0% / .5);
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
a {
|
||||
color: rgb(0, 195, 255);
|
||||
color: hwb(194 0% 0%);
|
||||
color: rgba(0, 195, 255, .5);
|
||||
color: hwb(194 0% 0% / .5);
|
||||
}
|
||||
```
|
||||
|
||||
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
|
||||
[css-url]: https://cssdb.org/#hwb-function
|
||||
[git-url]: https://gitter.im/postcss/postcss
|
||||
[npm-url]: https://www.npmjs.com/package/@csstools/postcss-hwb-function
|
||||
|
||||
[CSS Color]: https://drafts.csswg.org/css-color/#the-hwb-notation
|
||||
[Gulp PostCSS]: https://github.com/postcss/gulp-postcss
|
||||
[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss
|
||||
[PostCSS]: https://github.com/postcss/postcss
|
||||
[PostCSS Loader]: https://github.com/postcss/postcss-loader
|
||||
[PostCSS HWB Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-hwb-function
|
||||
70
receipeServer/frontend_old/node_modules/@csstools/postcss-hwb-function/package.json
generated
vendored
Normal file
70
receipeServer/frontend_old/node_modules/@csstools/postcss-hwb-function/package.json
generated
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"name": "@csstools/postcss-hwb-function",
|
||||
"version": "1.0.0",
|
||||
"description": "Use hwb() color functions in CSS",
|
||||
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
||||
"license": "CC0-1.0",
|
||||
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-hwb-function#readme",
|
||||
"bugs": "https://github.com/csstools/postcss-plugins/issues",
|
||||
"main": "dist/index.cjs",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.cjs",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"CHANGELOG.md",
|
||||
"INSTALL.md",
|
||||
"LICENSE.md",
|
||||
"README.md",
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "rollup -c ../../rollup/default.js",
|
||||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
|
||||
"lint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
|
||||
"prepublishOnly": "npm run clean && npm run build && npm run test",
|
||||
"stryker": "stryker run --logLevel error",
|
||||
"test": "node .tape.mjs && npm run test:exports",
|
||||
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12 || ^14 || >=16"
|
||||
},
|
||||
"dependencies": {
|
||||
"postcss-value-parser": "^4.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.3"
|
||||
},
|
||||
"keywords": [
|
||||
"postcss",
|
||||
"css",
|
||||
"postcss-plugin",
|
||||
"color",
|
||||
"colors",
|
||||
"rgb",
|
||||
"rgba",
|
||||
"hsl",
|
||||
"hsla",
|
||||
"hwb",
|
||||
"functional",
|
||||
"notation",
|
||||
"design",
|
||||
"syntax",
|
||||
"space",
|
||||
"comma"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/csstools/postcss-plugins.git",
|
||||
"directory": "plugins/postcss-hwb-function"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../package.json"
|
||||
}
|
||||
}
|
||||
5
receipeServer/frontend_old/node_modules/@csstools/postcss-ic-unit/CHANGELOG.md
generated
vendored
Normal file
5
receipeServer/frontend_old/node_modules/@csstools/postcss-ic-unit/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Changes to PostCSS IC Unit
|
||||
|
||||
### 1.0.0 (Unreleased)
|
||||
|
||||
- Initial version
|
||||
108
receipeServer/frontend_old/node_modules/@csstools/postcss-ic-unit/LICENSE.md
generated
vendored
Normal file
108
receipeServer/frontend_old/node_modules/@csstools/postcss-ic-unit/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
# CC0 1.0 Universal
|
||||
|
||||
## Statement of Purpose
|
||||
|
||||
The laws of most jurisdictions throughout the world automatically confer
|
||||
exclusive Copyright and Related Rights (defined below) upon the creator and
|
||||
subsequent owner(s) (each and all, an “owner”) of an original work of
|
||||
authorship and/or a database (each, a “Work”).
|
||||
|
||||
Certain owners wish to permanently relinquish those rights to a Work for the
|
||||
purpose of contributing to a commons of creative, cultural and scientific works
|
||||
(“Commons”) that the public can reliably and without fear of later claims of
|
||||
infringement build upon, modify, incorporate in other works, reuse and
|
||||
redistribute as freely as possible in any form whatsoever and for any purposes,
|
||||
including without limitation commercial purposes. These owners may contribute
|
||||
to the Commons to promote the ideal of a free culture and the further
|
||||
production of creative, cultural and scientific works, or to gain reputation or
|
||||
greater distribution for their Work in part through the use and efforts of
|
||||
others.
|
||||
|
||||
For these and/or other purposes and motivations, and without any expectation of
|
||||
additional consideration or compensation, the person associating CC0 with a
|
||||
Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
|
||||
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
|
||||
publicly distribute the Work under its terms, with knowledge of his or her
|
||||
Copyright and Related Rights in the Work and the meaning and intended legal
|
||||
effect of CC0 on those rights.
|
||||
|
||||
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||
protected by copyright and related or neighboring rights (“Copyright and
|
||||
Related Rights”). Copyright and Related Rights include, but are not limited
|
||||
to, the following:
|
||||
1. the right to reproduce, adapt, distribute, perform, display, communicate,
|
||||
and translate a Work;
|
||||
2. moral rights retained by the original author(s) and/or performer(s);
|
||||
3. publicity and privacy rights pertaining to a person’s image or likeness
|
||||
depicted in a Work;
|
||||
4. rights protecting against unfair competition in regards to a Work,
|
||||
subject to the limitations in paragraph 4(i), below;
|
||||
5. rights protecting the extraction, dissemination, use and reuse of data in
|
||||
a Work;
|
||||
6. database rights (such as those arising under Directive 96/9/EC of the
|
||||
European Parliament and of the Council of 11 March 1996 on the legal
|
||||
protection of databases, and under any national implementation thereof,
|
||||
including any amended or successor version of such directive); and
|
||||
7. other similar, equivalent or corresponding rights throughout the world
|
||||
based on applicable law or treaty, and any national implementations
|
||||
thereof.
|
||||
|
||||
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
||||
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
||||
unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright
|
||||
and Related Rights and associated claims and causes of action, whether now
|
||||
known or unknown (including existing as well as future claims and causes of
|
||||
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
||||
duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “Waiver”). Affirmer
|
||||
makes the Waiver for the benefit of each member of the public at large and
|
||||
to the detriment of Affirmer’s heirs and successors, fully intending that
|
||||
such Waiver shall not be subject to revocation, rescission, cancellation,
|
||||
termination, or any other legal or equitable action to disrupt the quiet
|
||||
enjoyment of the Work by the public as contemplated by Affirmer’s express
|
||||
Statement of Purpose.
|
||||
|
||||
3. Public License Fallback. Should any part of the Waiver for any reason be
|
||||
judged legally invalid or ineffective under applicable law, then the Waiver
|
||||
shall be preserved to the maximum extent permitted taking into account
|
||||
Affirmer’s express Statement of Purpose. In addition, to the extent the
|
||||
Waiver is so judged Affirmer hereby grants to each affected person a
|
||||
royalty-free, non transferable, non sublicensable, non exclusive,
|
||||
irrevocable and unconditional license to exercise Affirmer’s Copyright and
|
||||
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
||||
maximum duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “License”). The License
|
||||
shall be deemed effective as of the date CC0 was applied by Affirmer to the
|
||||
Work. Should any part of the License for any reason be judged legally
|
||||
invalid or ineffective under applicable law, such partial invalidity or
|
||||
ineffectiveness shall not invalidate the remainder of the License, and in
|
||||
such case Affirmer hereby affirms that he or she will not (i) exercise any
|
||||
of his or her remaining Copyright and Related Rights in the Work or (ii)
|
||||
assert any associated claims and causes of action with respect to the Work,
|
||||
in either case contrary to Affirmer’s express Statement of Purpose.
|
||||
|
||||
4. Limitations and Disclaimers.
|
||||
1. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||
surrendered, licensed or otherwise affected by this document.
|
||||
2. Affirmer offers the Work as-is and makes no representations or warranties
|
||||
of any kind concerning the Work, express, implied, statutory or
|
||||
otherwise, including without limitation warranties of title,
|
||||
merchantability, fitness for a particular purpose, non infringement, or
|
||||
the absence of latent or other defects, accuracy, or the present or
|
||||
absence of errors, whether or not discoverable, all to the greatest
|
||||
extent permissible under applicable law.
|
||||
3. Affirmer disclaims responsibility for clearing rights of other persons
|
||||
that may apply to the Work or any use thereof, including without
|
||||
limitation any person’s Copyright and Related Rights in the Work.
|
||||
Further, Affirmer disclaims responsibility for obtaining any necessary
|
||||
consents, permissions or other rights required for any use of the Work.
|
||||
4. Affirmer understands and acknowledges that Creative Commons is not a
|
||||
party to this document and has no duty or obligation with respect to this
|
||||
CC0 or use of the Work.
|
||||
|
||||
For more information, please see
|
||||
http://creativecommons.org/publicdomain/zero/1.0/.
|
||||
94
receipeServer/frontend_old/node_modules/@csstools/postcss-ic-unit/README.md
generated
vendored
Normal file
94
receipeServer/frontend_old/node_modules/@csstools/postcss-ic-unit/README.md
generated
vendored
Normal file
@@ -0,0 +1,94 @@
|
||||
# PostCSS IC Unit [<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/@csstools/postcss-ic-unit.svg" height="20">][npm-url]
|
||||
[<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/ic-unit.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]
|
||||
|
||||
[PostCSS IC Unit] lets you use the ic length unit, following the [CSS Values and Units Module] specification.
|
||||
|
||||
```pcss
|
||||
p {
|
||||
text-indent: 2ic;
|
||||
}
|
||||
|
||||
.bubble {
|
||||
width: calc(8ic + 20px);
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
p {
|
||||
text-indent: 2em;
|
||||
}
|
||||
|
||||
.bubble {
|
||||
width: calc(8em + 20px);
|
||||
}
|
||||
```
|
||||
|
||||
_See prior work by [JLHwung](https://github.com/JLHwung) here [postcss-ic-unit](https://github.com/JLHwung/postcss-ic-unit)
|
||||
To ensure long term maintenance and to provide the needed features this plugin was recreated based on JLHwung's work._
|
||||
|
||||
## Usage
|
||||
|
||||
Add [PostCSS IC Unit] to your project:
|
||||
|
||||
```bash
|
||||
npm install postcss @csstools/postcss-ic-unit --save-dev
|
||||
```
|
||||
|
||||
Use it as a [PostCSS] plugin:
|
||||
|
||||
```js
|
||||
const postcss = require('postcss');
|
||||
const postcssIcUnit = require('@csstools/postcss-ic-unit');
|
||||
|
||||
postcss([
|
||||
postcssIcUnit(/* pluginOptions */)
|
||||
]).process(YOUR_CSS /*, processOptions */);
|
||||
```
|
||||
|
||||
[PostCSS IC Unit] runs in all Node environments, with special
|
||||
instructions for:
|
||||
|
||||
| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
|
||||
## Options
|
||||
|
||||
### preserve
|
||||
|
||||
The `preserve` option determines whether the original source
|
||||
is preserved. By default, it is not preserved.
|
||||
|
||||
```js
|
||||
postcssIcUnit({ preserve: true })
|
||||
```
|
||||
|
||||
```pcss
|
||||
p {
|
||||
text-indent: 2ic;
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
p {
|
||||
text-indent: 2em;
|
||||
text-indent: 2ic;
|
||||
}
|
||||
```
|
||||
|
||||
[postcss]: https://github.com/postcss/postcss
|
||||
|
||||
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
|
||||
[css-url]: https://cssdb.org/#ic-unit
|
||||
[discord]: https://discord.gg/bUadyRwkJS
|
||||
[npm-url]: https://www.npmjs.com/package/@csstools/postcss-ic-unit
|
||||
|
||||
[Gulp PostCSS]: https://github.com/postcss/gulp-postcss
|
||||
[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss
|
||||
[PostCSS]: https://github.com/postcss/postcss
|
||||
[PostCSS Loader]: https://github.com/postcss/postcss-loader
|
||||
[CSS Values and Units Module]: https://www.w3.org/TR/css-values-4/#ic
|
||||
[PostCSS IC Unit]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-ic-unit
|
||||
62
receipeServer/frontend_old/node_modules/@csstools/postcss-ic-unit/package.json
generated
vendored
Normal file
62
receipeServer/frontend_old/node_modules/@csstools/postcss-ic-unit/package.json
generated
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"name": "@csstools/postcss-ic-unit",
|
||||
"version": "1.0.0",
|
||||
"description": "Use the ic length unit",
|
||||
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
||||
"license": "CC0-1.0",
|
||||
"engines": {
|
||||
"node": "^12 || ^14 || >=16"
|
||||
},
|
||||
"main": "dist/index.cjs",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.cjs",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"CHANGELOG.md",
|
||||
"LICENSE.md",
|
||||
"README.md",
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "rollup -c ../../rollup/default.js",
|
||||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
|
||||
"lint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
|
||||
"prepublishOnly": "npm run clean && npm run build && npm run test",
|
||||
"stryker": "stryker run --logLevel error",
|
||||
"test": "node .tape.mjs && npm run test:exports",
|
||||
"test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs",
|
||||
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.3"
|
||||
},
|
||||
"keywords": [
|
||||
"postcss-plugin",
|
||||
"ic",
|
||||
"css",
|
||||
"values",
|
||||
"length",
|
||||
"glyph",
|
||||
"CJK water ideograph"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/csstools/postcss-plugins.git",
|
||||
"directory": "plugins/postcss-ic-unit"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../package.json"
|
||||
},
|
||||
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-ic-unit#readme",
|
||||
"bugs": "https://github.com/csstools/postcss-plugins/issues",
|
||||
"dependencies": {
|
||||
"@csstools/postcss-progressive-custom-properties": "^1.1.0",
|
||||
"postcss-value-parser": "^4.2.0"
|
||||
}
|
||||
}
|
||||
26
receipeServer/frontend_old/node_modules/@csstools/postcss-is-pseudo-class/CHANGELOG.md
generated
vendored
Normal file
26
receipeServer/frontend_old/node_modules/@csstools/postcss-is-pseudo-class/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
# Changes to PostCSS Is Pseudo Class
|
||||
|
||||
### 2.0.2 (April 4, 2022)
|
||||
|
||||
- Improved : compound selector order with pseudo elements
|
||||
- Improved : selector specificity calculation.
|
||||
|
||||
### 2.0.1 (March 4, 2022)
|
||||
|
||||
- Preserve selector order as much as possible. Fixes issues where pseudo elements `::before` were moved.
|
||||
|
||||
### 2.0.0 (January 31, 2022)
|
||||
|
||||
- Remove `skip` flag in `onComplexSelectors` option.
|
||||
|
||||
If a complex selector is encountered that has no known equivalent, it will always be skipped and preserved now.
|
||||
|
||||
The previous behavior was to remove `:is()` even if that broke the selector.
|
||||
|
||||
### 1.0.1 (January 17, 2022)
|
||||
|
||||
- Fix selector order
|
||||
|
||||
### 1.0.0 (January 13, 2022)
|
||||
|
||||
- initial release
|
||||
108
receipeServer/frontend_old/node_modules/@csstools/postcss-is-pseudo-class/LICENSE.md
generated
vendored
Normal file
108
receipeServer/frontend_old/node_modules/@csstools/postcss-is-pseudo-class/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
# CC0 1.0 Universal
|
||||
|
||||
## Statement of Purpose
|
||||
|
||||
The laws of most jurisdictions throughout the world automatically confer
|
||||
exclusive Copyright and Related Rights (defined below) upon the creator and
|
||||
subsequent owner(s) (each and all, an “owner”) of an original work of
|
||||
authorship and/or a database (each, a “Work”).
|
||||
|
||||
Certain owners wish to permanently relinquish those rights to a Work for the
|
||||
purpose of contributing to a commons of creative, cultural and scientific works
|
||||
(“Commons”) that the public can reliably and without fear of later claims of
|
||||
infringement build upon, modify, incorporate in other works, reuse and
|
||||
redistribute as freely as possible in any form whatsoever and for any purposes,
|
||||
including without limitation commercial purposes. These owners may contribute
|
||||
to the Commons to promote the ideal of a free culture and the further
|
||||
production of creative, cultural and scientific works, or to gain reputation or
|
||||
greater distribution for their Work in part through the use and efforts of
|
||||
others.
|
||||
|
||||
For these and/or other purposes and motivations, and without any expectation of
|
||||
additional consideration or compensation, the person associating CC0 with a
|
||||
Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
|
||||
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
|
||||
publicly distribute the Work under its terms, with knowledge of his or her
|
||||
Copyright and Related Rights in the Work and the meaning and intended legal
|
||||
effect of CC0 on those rights.
|
||||
|
||||
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||
protected by copyright and related or neighboring rights (“Copyright and
|
||||
Related Rights”). Copyright and Related Rights include, but are not limited
|
||||
to, the following:
|
||||
1. the right to reproduce, adapt, distribute, perform, display, communicate,
|
||||
and translate a Work;
|
||||
2. moral rights retained by the original author(s) and/or performer(s);
|
||||
3. publicity and privacy rights pertaining to a person’s image or likeness
|
||||
depicted in a Work;
|
||||
4. rights protecting against unfair competition in regards to a Work,
|
||||
subject to the limitations in paragraph 4(i), below;
|
||||
5. rights protecting the extraction, dissemination, use and reuse of data in
|
||||
a Work;
|
||||
6. database rights (such as those arising under Directive 96/9/EC of the
|
||||
European Parliament and of the Council of 11 March 1996 on the legal
|
||||
protection of databases, and under any national implementation thereof,
|
||||
including any amended or successor version of such directive); and
|
||||
7. other similar, equivalent or corresponding rights throughout the world
|
||||
based on applicable law or treaty, and any national implementations
|
||||
thereof.
|
||||
|
||||
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
||||
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
||||
unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright
|
||||
and Related Rights and associated claims and causes of action, whether now
|
||||
known or unknown (including existing as well as future claims and causes of
|
||||
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
||||
duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “Waiver”). Affirmer
|
||||
makes the Waiver for the benefit of each member of the public at large and
|
||||
to the detriment of Affirmer’s heirs and successors, fully intending that
|
||||
such Waiver shall not be subject to revocation, rescission, cancellation,
|
||||
termination, or any other legal or equitable action to disrupt the quiet
|
||||
enjoyment of the Work by the public as contemplated by Affirmer’s express
|
||||
Statement of Purpose.
|
||||
|
||||
3. Public License Fallback. Should any part of the Waiver for any reason be
|
||||
judged legally invalid or ineffective under applicable law, then the Waiver
|
||||
shall be preserved to the maximum extent permitted taking into account
|
||||
Affirmer’s express Statement of Purpose. In addition, to the extent the
|
||||
Waiver is so judged Affirmer hereby grants to each affected person a
|
||||
royalty-free, non transferable, non sublicensable, non exclusive,
|
||||
irrevocable and unconditional license to exercise Affirmer’s Copyright and
|
||||
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
||||
maximum duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “License”). The License
|
||||
shall be deemed effective as of the date CC0 was applied by Affirmer to the
|
||||
Work. Should any part of the License for any reason be judged legally
|
||||
invalid or ineffective under applicable law, such partial invalidity or
|
||||
ineffectiveness shall not invalidate the remainder of the License, and in
|
||||
such case Affirmer hereby affirms that he or she will not (i) exercise any
|
||||
of his or her remaining Copyright and Related Rights in the Work or (ii)
|
||||
assert any associated claims and causes of action with respect to the Work,
|
||||
in either case contrary to Affirmer’s express Statement of Purpose.
|
||||
|
||||
4. Limitations and Disclaimers.
|
||||
1. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||
surrendered, licensed or otherwise affected by this document.
|
||||
2. Affirmer offers the Work as-is and makes no representations or warranties
|
||||
of any kind concerning the Work, express, implied, statutory or
|
||||
otherwise, including without limitation warranties of title,
|
||||
merchantability, fitness for a particular purpose, non infringement, or
|
||||
the absence of latent or other defects, accuracy, or the present or
|
||||
absence of errors, whether or not discoverable, all to the greatest
|
||||
extent permissible under applicable law.
|
||||
3. Affirmer disclaims responsibility for clearing rights of other persons
|
||||
that may apply to the Work or any use thereof, including without
|
||||
limitation any person’s Copyright and Related Rights in the Work.
|
||||
Further, Affirmer disclaims responsibility for obtaining any necessary
|
||||
consents, permissions or other rights required for any use of the Work.
|
||||
4. Affirmer understands and acknowledges that Creative Commons is not a
|
||||
party to this document and has no duty or obligation with respect to this
|
||||
CC0 or use of the Work.
|
||||
|
||||
For more information, please see
|
||||
http://creativecommons.org/publicdomain/zero/1.0/.
|
||||
227
receipeServer/frontend_old/node_modules/@csstools/postcss-is-pseudo-class/README.md
generated
vendored
Normal file
227
receipeServer/frontend_old/node_modules/@csstools/postcss-is-pseudo-class/README.md
generated
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
# PostCSS Is Pseudo [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS" width="90" height="90" align="right">][postcss]
|
||||
|
||||
[![NPM Version][npm-img]][npm-url]
|
||||
[![CSS Standard Status][css-img]][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]
|
||||
|
||||
[PostCSS Is Pseudo Class] lets you use the `:is` pseudo class function, following the
|
||||
[CSS Selector] specification.
|
||||
|
||||
```pcss
|
||||
:is(input, button):is(:hover, :focus) {
|
||||
order: 1;
|
||||
}
|
||||
```
|
||||
|
||||
Becomes :
|
||||
|
||||
```pcss
|
||||
input:hover {
|
||||
order: 1;
|
||||
}
|
||||
input:focus {
|
||||
order: 1;
|
||||
}
|
||||
button:hover {
|
||||
order: 1;
|
||||
}
|
||||
button:focus {
|
||||
order: 1;
|
||||
}
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Add [PostCSS Is Pseudo Class] to your project:
|
||||
|
||||
```bash
|
||||
npm install @csstools/postcss-is-pseudo-class --save-dev
|
||||
```
|
||||
|
||||
Use [PostCSS Is Pseudo Class] as a [PostCSS] plugin:
|
||||
|
||||
```js
|
||||
import postcss from 'postcss';
|
||||
import postcssIsPseudoClass from '@csstools/postcss-is-pseudo-class';
|
||||
|
||||
postcss([
|
||||
postcssIsPseudoClass(/* pluginOptions */)
|
||||
]).process(YOUR_CSS /*, processOptions */);
|
||||
```
|
||||
|
||||
[PostCSS Is Pseudo Class] runs in all Node environments, with special instructions for:
|
||||
|
||||
| [Node](INSTALL.md#node) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |
|
||||
| --- | --- | --- | --- | --- |
|
||||
|
||||
## Options
|
||||
|
||||
### preserve
|
||||
|
||||
The `preserve` option determines whether the original notation
|
||||
is preserved. By default, it is not preserved.
|
||||
|
||||
```js
|
||||
postcss([
|
||||
postcssIsPseudoClass({ preserve: true })
|
||||
]).process(YOUR_CSS /*, processOptions */);
|
||||
```
|
||||
|
||||
```pcss
|
||||
:is(input, button):is(:hover, :focus) {
|
||||
order: 1;
|
||||
}
|
||||
```
|
||||
|
||||
Becomes :
|
||||
|
||||
```pcss
|
||||
input:hover {
|
||||
order: 1;
|
||||
}
|
||||
input:focus {
|
||||
order: 1;
|
||||
}
|
||||
button:hover {
|
||||
order: 1;
|
||||
}
|
||||
button:focus {
|
||||
order: 1;
|
||||
}
|
||||
:is(input, button):is(:hover, :focus) {
|
||||
order: 1;
|
||||
}
|
||||
```
|
||||
|
||||
### specificityMatchingName
|
||||
|
||||
The `specificityMatchingName` option allows you to change to selector used to adjust specificity.
|
||||
The default value is `does-not-exist`.
|
||||
If this is an actual class, id or tag name in your code, you will need to set a different option here.
|
||||
|
||||
See how `:not` is used to modify [specificity](#specificity).
|
||||
|
||||
```js
|
||||
postcss([
|
||||
postcssIsPseudoClass({ specificityMatchingName: 'something-random' })
|
||||
]).process(YOUR_CSS /*, processOptions */);
|
||||
```
|
||||
|
||||
```pcss
|
||||
:is(.button, button):hover {
|
||||
order: 7;
|
||||
}
|
||||
```
|
||||
|
||||
Becomes :
|
||||
|
||||
```pcss
|
||||
.button:hover {
|
||||
order: 7;
|
||||
}
|
||||
|
||||
button:not(.something-random):hover {
|
||||
order: 7;
|
||||
}
|
||||
```
|
||||
|
||||
### onComplexSelector
|
||||
|
||||
Warn on complex selectors in `:is` pseudo classes.
|
||||
|
||||
```js
|
||||
postcss([
|
||||
postcssIsPseudoClass({ onComplexSelector: 'warning' })
|
||||
]).process(YOUR_CSS /*, processOptions */);
|
||||
```
|
||||
|
||||
## ⚠️ Known shortcomings
|
||||
|
||||
### Specificity
|
||||
|
||||
`:is` takes the specificity of the most specific list item.
|
||||
We can increase specificity with `:not` selectors, but we can't decrease it.
|
||||
|
||||
Converted selectors are ensured to have the same specificity as `:is` for the most important bit.
|
||||
Less important bits can have higher specificity that `:is`.
|
||||
|
||||
Before :
|
||||
|
||||
[specificity: 0, 2, 0](https://polypane.app/css-specificity-calculator/#selector=%3Ais(%3Ahover%2C%20%3Afocus)%3Ais(.button%2C%20button))
|
||||
|
||||
```pcss
|
||||
:is(:hover, :focus):is(.button, button) {
|
||||
order: 7;
|
||||
}
|
||||
```
|
||||
|
||||
After :
|
||||
|
||||
```pcss
|
||||
/* specificity: [0, 2, 0] */
|
||||
.button:hover {
|
||||
order: 7;
|
||||
}
|
||||
|
||||
/* specificity: [0, 2, 1] */
|
||||
/* last bit is higher than it should be, but middle bit matches */
|
||||
button:not(.does-not-exist):hover {
|
||||
order: 7;
|
||||
}
|
||||
|
||||
/* specificity: [0, 2, 0] */
|
||||
.button:focus {
|
||||
order: 7;
|
||||
}
|
||||
|
||||
/* specificity: [0, 2, 1] */
|
||||
/* last bit is higher than it should be, but middle bit matches */
|
||||
button:not(.does-not-exist):focus {
|
||||
order: 7;
|
||||
}
|
||||
```
|
||||
|
||||
### Complex selectors
|
||||
|
||||
Before :
|
||||
|
||||
|
||||
```pcss
|
||||
:is(.alpha > .beta) ~ :is(:focus > .beta) {
|
||||
order: 2;
|
||||
}
|
||||
```
|
||||
|
||||
After :
|
||||
|
||||
```pcss
|
||||
.alpha > .beta ~ :focus > .beta {
|
||||
order: 2;
|
||||
}
|
||||
```
|
||||
|
||||
_this is a different selector than expected as `.beta ~ :focus` matches `.beta` followed by `:focus`._<br>
|
||||
_avoid these cases._<br>
|
||||
_writing the selector without `:is()` is advised here_
|
||||
|
||||
```pcss
|
||||
/* without is */
|
||||
.alpha:focus > .beta ~ .beta {
|
||||
order: 2;
|
||||
}
|
||||
```
|
||||
|
||||
If you have a specific pattern you can open an issue to discuss it.
|
||||
We can detect and transform some cases but can't generalize them into a single solution that tackles all of them.
|
||||
|
||||
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
|
||||
[css-img]: https://cssdb.org/images/badges/is-pseudo-class.svg
|
||||
[css-url]: https://cssdb.org/#is-pseudo-class
|
||||
[discord]: https://discord.gg/bUadyRwkJS
|
||||
[npm-img]: https://img.shields.io/npm/v/@csstools/postcss-is-pseudo-class.svg
|
||||
[npm-url]: https://www.npmjs.com/package/@csstools/postcss-is-pseudo-class
|
||||
|
||||
[CSS Selector]: https://www.w3.org/TR/selectors-4/#matches
|
||||
[PostCSS]: https://github.com/postcss/postcss
|
||||
[PostCSS Is Pseudo Class]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-is-pseudo-class
|
||||
77
receipeServer/frontend_old/node_modules/@csstools/postcss-is-pseudo-class/package.json
generated
vendored
Normal file
77
receipeServer/frontend_old/node_modules/@csstools/postcss-is-pseudo-class/package.json
generated
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"name": "@csstools/postcss-is-pseudo-class",
|
||||
"description": "A pseudo-class for matching elements in a selector list",
|
||||
"version": "2.0.2",
|
||||
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
||||
"license": "CC0-1.0",
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/csstools"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12 || ^14 || >=16"
|
||||
},
|
||||
"main": "dist/index.cjs",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.cjs",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"CHANGELOG.md",
|
||||
"LICENSE.md",
|
||||
"README.md",
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"postcss-selector-parser": "^6.0.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"puppeteer": "^13.5.2"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c ../../rollup/default.js",
|
||||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
|
||||
"docs": "node ../../.github/bin/generate-docs/install.mjs",
|
||||
"lint": "npm run lint:eslint && npm run lint:package-json",
|
||||
"lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
|
||||
"lint:package-json": "node ../../.github/bin/format-package-json.mjs",
|
||||
"prepublishOnly": "npm run clean && npm run build && npm run test",
|
||||
"stryker": "stryker run --logLevel error",
|
||||
"test": "node .tape.mjs && npm run test:exports",
|
||||
"test:browser": "node ./test/_browser.mjs",
|
||||
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
|
||||
"test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
|
||||
},
|
||||
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-is-pseudo-class#readme",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/csstools/postcss-plugins.git",
|
||||
"directory": "plugins/postcss-is-pseudo-class"
|
||||
},
|
||||
"bugs": "https://github.com/csstools/postcss-plugins/issues",
|
||||
"keywords": [
|
||||
"css",
|
||||
"is",
|
||||
"matches",
|
||||
"polyfill",
|
||||
"postcss",
|
||||
"postcss-plugin",
|
||||
"pseudo",
|
||||
"selector"
|
||||
],
|
||||
"csstools": {
|
||||
"exportName": "postcssIsPseudoClass",
|
||||
"humanReadableName": "PostCSS Is Pseudo"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../package.json"
|
||||
}
|
||||
}
|
||||
5
receipeServer/frontend_old/node_modules/@csstools/postcss-normalize-display-values/CHANGELOG.md
generated
vendored
Normal file
5
receipeServer/frontend_old/node_modules/@csstools/postcss-normalize-display-values/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Changes to PostCSS Normalize Display Values
|
||||
|
||||
### 1.0.0
|
||||
|
||||
- Initial version
|
||||
108
receipeServer/frontend_old/node_modules/@csstools/postcss-normalize-display-values/LICENSE.md
generated
vendored
Normal file
108
receipeServer/frontend_old/node_modules/@csstools/postcss-normalize-display-values/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
# CC0 1.0 Universal
|
||||
|
||||
## Statement of Purpose
|
||||
|
||||
The laws of most jurisdictions throughout the world automatically confer
|
||||
exclusive Copyright and Related Rights (defined below) upon the creator and
|
||||
subsequent owner(s) (each and all, an “owner”) of an original work of
|
||||
authorship and/or a database (each, a “Work”).
|
||||
|
||||
Certain owners wish to permanently relinquish those rights to a Work for the
|
||||
purpose of contributing to a commons of creative, cultural and scientific works
|
||||
(“Commons”) that the public can reliably and without fear of later claims of
|
||||
infringement build upon, modify, incorporate in other works, reuse and
|
||||
redistribute as freely as possible in any form whatsoever and for any purposes,
|
||||
including without limitation commercial purposes. These owners may contribute
|
||||
to the Commons to promote the ideal of a free culture and the further
|
||||
production of creative, cultural and scientific works, or to gain reputation or
|
||||
greater distribution for their Work in part through the use and efforts of
|
||||
others.
|
||||
|
||||
For these and/or other purposes and motivations, and without any expectation of
|
||||
additional consideration or compensation, the person associating CC0 with a
|
||||
Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
|
||||
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
|
||||
publicly distribute the Work under its terms, with knowledge of his or her
|
||||
Copyright and Related Rights in the Work and the meaning and intended legal
|
||||
effect of CC0 on those rights.
|
||||
|
||||
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||
protected by copyright and related or neighboring rights (“Copyright and
|
||||
Related Rights”). Copyright and Related Rights include, but are not limited
|
||||
to, the following:
|
||||
1. the right to reproduce, adapt, distribute, perform, display, communicate,
|
||||
and translate a Work;
|
||||
2. moral rights retained by the original author(s) and/or performer(s);
|
||||
3. publicity and privacy rights pertaining to a person’s image or likeness
|
||||
depicted in a Work;
|
||||
4. rights protecting against unfair competition in regards to a Work,
|
||||
subject to the limitations in paragraph 4(i), below;
|
||||
5. rights protecting the extraction, dissemination, use and reuse of data in
|
||||
a Work;
|
||||
6. database rights (such as those arising under Directive 96/9/EC of the
|
||||
European Parliament and of the Council of 11 March 1996 on the legal
|
||||
protection of databases, and under any national implementation thereof,
|
||||
including any amended or successor version of such directive); and
|
||||
7. other similar, equivalent or corresponding rights throughout the world
|
||||
based on applicable law or treaty, and any national implementations
|
||||
thereof.
|
||||
|
||||
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
||||
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
||||
unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright
|
||||
and Related Rights and associated claims and causes of action, whether now
|
||||
known or unknown (including existing as well as future claims and causes of
|
||||
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
||||
duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “Waiver”). Affirmer
|
||||
makes the Waiver for the benefit of each member of the public at large and
|
||||
to the detriment of Affirmer’s heirs and successors, fully intending that
|
||||
such Waiver shall not be subject to revocation, rescission, cancellation,
|
||||
termination, or any other legal or equitable action to disrupt the quiet
|
||||
enjoyment of the Work by the public as contemplated by Affirmer’s express
|
||||
Statement of Purpose.
|
||||
|
||||
3. Public License Fallback. Should any part of the Waiver for any reason be
|
||||
judged legally invalid or ineffective under applicable law, then the Waiver
|
||||
shall be preserved to the maximum extent permitted taking into account
|
||||
Affirmer’s express Statement of Purpose. In addition, to the extent the
|
||||
Waiver is so judged Affirmer hereby grants to each affected person a
|
||||
royalty-free, non transferable, non sublicensable, non exclusive,
|
||||
irrevocable and unconditional license to exercise Affirmer’s Copyright and
|
||||
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
||||
maximum duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “License”). The License
|
||||
shall be deemed effective as of the date CC0 was applied by Affirmer to the
|
||||
Work. Should any part of the License for any reason be judged legally
|
||||
invalid or ineffective under applicable law, such partial invalidity or
|
||||
ineffectiveness shall not invalidate the remainder of the License, and in
|
||||
such case Affirmer hereby affirms that he or she will not (i) exercise any
|
||||
of his or her remaining Copyright and Related Rights in the Work or (ii)
|
||||
assert any associated claims and causes of action with respect to the Work,
|
||||
in either case contrary to Affirmer’s express Statement of Purpose.
|
||||
|
||||
4. Limitations and Disclaimers.
|
||||
1. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||
surrendered, licensed or otherwise affected by this document.
|
||||
2. Affirmer offers the Work as-is and makes no representations or warranties
|
||||
of any kind concerning the Work, express, implied, statutory or
|
||||
otherwise, including without limitation warranties of title,
|
||||
merchantability, fitness for a particular purpose, non infringement, or
|
||||
the absence of latent or other defects, accuracy, or the present or
|
||||
absence of errors, whether or not discoverable, all to the greatest
|
||||
extent permissible under applicable law.
|
||||
3. Affirmer disclaims responsibility for clearing rights of other persons
|
||||
that may apply to the Work or any use thereof, including without
|
||||
limitation any person’s Copyright and Related Rights in the Work.
|
||||
Further, Affirmer disclaims responsibility for obtaining any necessary
|
||||
consents, permissions or other rights required for any use of the Work.
|
||||
4. Affirmer understands and acknowledges that Creative Commons is not a
|
||||
party to this document and has no duty or obligation with respect to this
|
||||
CC0 or use of the Work.
|
||||
|
||||
For more information, please see
|
||||
http://creativecommons.org/publicdomain/zero/1.0/.
|
||||
86
receipeServer/frontend_old/node_modules/@csstools/postcss-normalize-display-values/README.md
generated
vendored
Normal file
86
receipeServer/frontend_old/node_modules/@csstools/postcss-normalize-display-values/README.md
generated
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
# PostCSS Normalize Display Values [<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/@csstools/postcss-font-format.svg" height="20">][npm-url]
|
||||
[<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/display-two-values.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]
|
||||
|
||||
[PostCSS Normalize Display Values] lets you specify definition of outer and inner displays types for an element.
|
||||
|
||||
```pcss
|
||||
.element {
|
||||
display: inline flow-root;
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
.element {
|
||||
display: inline-block;
|
||||
display: inline flow-root;
|
||||
}
|
||||
```
|
||||
|
||||
_See prior work by [cssnano](https://github.com/cssnano) here [postcss-normalize-display-values](https://github.com/cssnano/cssnano/tree/master/packages/postcss-normalize-display-values)
|
||||
To ensure long term maintenance and to provide the needed features this plugin was recreated based on cssnano's work._
|
||||
|
||||
## Usage
|
||||
|
||||
Add [PostCSS Normalize Display Values] to your project:
|
||||
|
||||
```bash
|
||||
npm install postcss @csstools/postcss-normalize-display-values --save-dev
|
||||
```
|
||||
|
||||
Use it as a [PostCSS] plugin:
|
||||
|
||||
```js
|
||||
const postcss = require('postcss');
|
||||
const postcssNormalizeDisplayValues = require('@csstools/postcss-normalize-display-values');
|
||||
|
||||
postcss([
|
||||
postcssNormalizeDisplayValues(/* pluginOptions */)
|
||||
]).process(YOUR_CSS /*, processOptions */);
|
||||
```
|
||||
|
||||
[PostCSS Normalize Display Values] runs in all Node environments, with special
|
||||
instructions for:
|
||||
|
||||
| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
|
||||
## Options
|
||||
|
||||
### preserve
|
||||
|
||||
The `preserve` option determines whether the original source
|
||||
is preserved. By default, it is preserved.
|
||||
|
||||
```js
|
||||
postcssNormalizeDisplayValues({ preserve: false })
|
||||
```
|
||||
|
||||
```pcss
|
||||
.element {
|
||||
display: inline flow-root;
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
.element {
|
||||
display: inline-block;
|
||||
}
|
||||
```
|
||||
|
||||
[postcss]: https://github.com/postcss/postcss
|
||||
|
||||
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
|
||||
[css-url]: https://cssdb.org/#display-two-values
|
||||
[discord]: https://discord.gg/bUadyRwkJS
|
||||
[npm-url]: https://www.npmjs.com/package/@csstools/postcss-normalize-display-values
|
||||
|
||||
[CSS Fonts]: https://www.w3.org/TR/css-display-3/#the-display-properties
|
||||
[Gulp PostCSS]: https://github.com/postcss/gulp-postcss
|
||||
[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss
|
||||
[PostCSS]: https://github.com/postcss/postcss
|
||||
[PostCSS Loader]: https://github.com/postcss/postcss-loader
|
||||
[PostCSS Normalize Display Values]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-normalize-display-values
|
||||
71
receipeServer/frontend_old/node_modules/@csstools/postcss-normalize-display-values/package.json
generated
vendored
Normal file
71
receipeServer/frontend_old/node_modules/@csstools/postcss-normalize-display-values/package.json
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"name": "@csstools/postcss-normalize-display-values",
|
||||
"version": "1.0.0",
|
||||
"description": "Use two values display syntax for inner and outer display types.",
|
||||
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
||||
"license": "CC0-1.0",
|
||||
"engines": {
|
||||
"node": "^12 || ^14 || >=16"
|
||||
},
|
||||
"main": "dist/index.cjs",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.cjs",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"CHANGELOG.md",
|
||||
"LICENSE.md",
|
||||
"README.md",
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "rollup -c ../../rollup/default.js",
|
||||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
|
||||
"lint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
|
||||
"prepublishOnly": "npm run clean && npm run build && npm run test",
|
||||
"test": "node .tape.mjs && npm run test:exports",
|
||||
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"postcss-value-parser": "^4.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.3"
|
||||
},
|
||||
"keywords": [
|
||||
"postcss-plugin",
|
||||
"css",
|
||||
"display",
|
||||
"block",
|
||||
"flex",
|
||||
"flow",
|
||||
"flow-root",
|
||||
"grid",
|
||||
"inline",
|
||||
"inline-block",
|
||||
"inline-flex",
|
||||
"inline-grid",
|
||||
"inline-table",
|
||||
"list-item",
|
||||
"ruby",
|
||||
"ruby-base",
|
||||
"ruby-text",
|
||||
"run-in",
|
||||
"table",
|
||||
"table-cell",
|
||||
"table-caption"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/csstools/postcss-plugins.git",
|
||||
"directory": "plugins/postcss-normalize-display-values"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../package.json"
|
||||
}
|
||||
}
|
||||
44
receipeServer/frontend_old/node_modules/@csstools/postcss-oklab-function/CHANGELOG.md
generated
vendored
Normal file
44
receipeServer/frontend_old/node_modules/@csstools/postcss-oklab-function/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
# Changes to PostCSS OKLab Function
|
||||
|
||||
### 1.1.0 (April 4, 2022)
|
||||
|
||||
- Allow percentage and number units in more color components.
|
||||
|
||||
```css
|
||||
.percentages {
|
||||
color-1: oklab(40% 0.309% 0.975%);
|
||||
color-2: oklch(40% 31.718385875% 34.568626);
|
||||
|
||||
/* becomes */
|
||||
|
||||
color-1: rgb(73, 71, 69);
|
||||
color-1: color(display-p3 0.28515 0.27983 0.27246);
|
||||
color-2: rgb(126, 37, 15);
|
||||
color-2: color(display-p3 0.45368 0.16978 0.09411);
|
||||
}
|
||||
|
||||
.numbers {
|
||||
color-1: oklab(0.40 0.001236 0.0039);
|
||||
color-2: oklch(0.40 0.1268735435 34.568626);
|
||||
|
||||
/* becomes */
|
||||
|
||||
color-1: rgb(73, 71, 69);
|
||||
color-1: color(display-p3 0.28515 0.27983 0.27246);
|
||||
color-2: rgb(126, 37, 15);
|
||||
color-2: color(display-p3 0.45368 0.16978 0.09411);
|
||||
}
|
||||
```
|
||||
|
||||
### 1.0.2 (March 8, 2022)
|
||||
|
||||
- Fix gamut mapping giving overly unsaturated colors.
|
||||
- Implement powerless color components in gamut mapping.
|
||||
|
||||
### 1.0.1 (February 12, 2022)
|
||||
|
||||
- Updated `@csstools/postcss-progressive-custom-properties` to `1.1.0`.
|
||||
|
||||
### 1.0.0 (February 11, 2022)
|
||||
|
||||
- Initial version
|
||||
108
receipeServer/frontend_old/node_modules/@csstools/postcss-oklab-function/LICENSE.md
generated
vendored
Normal file
108
receipeServer/frontend_old/node_modules/@csstools/postcss-oklab-function/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
# CC0 1.0 Universal
|
||||
|
||||
## Statement of Purpose
|
||||
|
||||
The laws of most jurisdictions throughout the world automatically confer
|
||||
exclusive Copyright and Related Rights (defined below) upon the creator and
|
||||
subsequent owner(s) (each and all, an “owner”) of an original work of
|
||||
authorship and/or a database (each, a “Work”).
|
||||
|
||||
Certain owners wish to permanently relinquish those rights to a Work for the
|
||||
purpose of contributing to a commons of creative, cultural and scientific works
|
||||
(“Commons”) that the public can reliably and without fear of later claims of
|
||||
infringement build upon, modify, incorporate in other works, reuse and
|
||||
redistribute as freely as possible in any form whatsoever and for any purposes,
|
||||
including without limitation commercial purposes. These owners may contribute
|
||||
to the Commons to promote the ideal of a free culture and the further
|
||||
production of creative, cultural and scientific works, or to gain reputation or
|
||||
greater distribution for their Work in part through the use and efforts of
|
||||
others.
|
||||
|
||||
For these and/or other purposes and motivations, and without any expectation of
|
||||
additional consideration or compensation, the person associating CC0 with a
|
||||
Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
|
||||
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
|
||||
publicly distribute the Work under its terms, with knowledge of his or her
|
||||
Copyright and Related Rights in the Work and the meaning and intended legal
|
||||
effect of CC0 on those rights.
|
||||
|
||||
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||
protected by copyright and related or neighboring rights (“Copyright and
|
||||
Related Rights”). Copyright and Related Rights include, but are not limited
|
||||
to, the following:
|
||||
1. the right to reproduce, adapt, distribute, perform, display, communicate,
|
||||
and translate a Work;
|
||||
2. moral rights retained by the original author(s) and/or performer(s);
|
||||
3. publicity and privacy rights pertaining to a person’s image or likeness
|
||||
depicted in a Work;
|
||||
4. rights protecting against unfair competition in regards to a Work,
|
||||
subject to the limitations in paragraph 4(i), below;
|
||||
5. rights protecting the extraction, dissemination, use and reuse of data in
|
||||
a Work;
|
||||
6. database rights (such as those arising under Directive 96/9/EC of the
|
||||
European Parliament and of the Council of 11 March 1996 on the legal
|
||||
protection of databases, and under any national implementation thereof,
|
||||
including any amended or successor version of such directive); and
|
||||
7. other similar, equivalent or corresponding rights throughout the world
|
||||
based on applicable law or treaty, and any national implementations
|
||||
thereof.
|
||||
|
||||
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
||||
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
||||
unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright
|
||||
and Related Rights and associated claims and causes of action, whether now
|
||||
known or unknown (including existing as well as future claims and causes of
|
||||
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
||||
duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “Waiver”). Affirmer
|
||||
makes the Waiver for the benefit of each member of the public at large and
|
||||
to the detriment of Affirmer’s heirs and successors, fully intending that
|
||||
such Waiver shall not be subject to revocation, rescission, cancellation,
|
||||
termination, or any other legal or equitable action to disrupt the quiet
|
||||
enjoyment of the Work by the public as contemplated by Affirmer’s express
|
||||
Statement of Purpose.
|
||||
|
||||
3. Public License Fallback. Should any part of the Waiver for any reason be
|
||||
judged legally invalid or ineffective under applicable law, then the Waiver
|
||||
shall be preserved to the maximum extent permitted taking into account
|
||||
Affirmer’s express Statement of Purpose. In addition, to the extent the
|
||||
Waiver is so judged Affirmer hereby grants to each affected person a
|
||||
royalty-free, non transferable, non sublicensable, non exclusive,
|
||||
irrevocable and unconditional license to exercise Affirmer’s Copyright and
|
||||
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
||||
maximum duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “License”). The License
|
||||
shall be deemed effective as of the date CC0 was applied by Affirmer to the
|
||||
Work. Should any part of the License for any reason be judged legally
|
||||
invalid or ineffective under applicable law, such partial invalidity or
|
||||
ineffectiveness shall not invalidate the remainder of the License, and in
|
||||
such case Affirmer hereby affirms that he or she will not (i) exercise any
|
||||
of his or her remaining Copyright and Related Rights in the Work or (ii)
|
||||
assert any associated claims and causes of action with respect to the Work,
|
||||
in either case contrary to Affirmer’s express Statement of Purpose.
|
||||
|
||||
4. Limitations and Disclaimers.
|
||||
1. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||
surrendered, licensed or otherwise affected by this document.
|
||||
2. Affirmer offers the Work as-is and makes no representations or warranties
|
||||
of any kind concerning the Work, express, implied, statutory or
|
||||
otherwise, including without limitation warranties of title,
|
||||
merchantability, fitness for a particular purpose, non infringement, or
|
||||
the absence of latent or other defects, accuracy, or the present or
|
||||
absence of errors, whether or not discoverable, all to the greatest
|
||||
extent permissible under applicable law.
|
||||
3. Affirmer disclaims responsibility for clearing rights of other persons
|
||||
that may apply to the Work or any use thereof, including without
|
||||
limitation any person’s Copyright and Related Rights in the Work.
|
||||
Further, Affirmer disclaims responsibility for obtaining any necessary
|
||||
consents, permissions or other rights required for any use of the Work.
|
||||
4. Affirmer understands and acknowledges that Creative Commons is not a
|
||||
party to this document and has no duty or obligation with respect to this
|
||||
CC0 or use of the Work.
|
||||
|
||||
For more information, please see
|
||||
http://creativecommons.org/publicdomain/zero/1.0/.
|
||||
183
receipeServer/frontend_old/node_modules/@csstools/postcss-oklab-function/README.md
generated
vendored
Normal file
183
receipeServer/frontend_old/node_modules/@csstools/postcss-oklab-function/README.md
generated
vendored
Normal file
@@ -0,0 +1,183 @@
|
||||
# PostCSS OKLab Function [<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/@csstools/postcss-oklab-function.svg" height="20">][npm-url]
|
||||
[<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/oklab-function.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]
|
||||
|
||||
[PostCSS OKLab Function] lets you use `oklab` and `oklch` color functions in
|
||||
CSS, following the [CSS Color] specification.
|
||||
|
||||
```pcss
|
||||
.test-oklab {
|
||||
color: oklab(40% 0.001236 0.0039);
|
||||
}
|
||||
|
||||
.test-oklch {
|
||||
color: oklch(40% 0.268735435 34.568626);
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
.test-oklab {
|
||||
color: rgb(73, 71, 69);
|
||||
color: color(display-p3 0.28515 0.27983 0.27246);
|
||||
}
|
||||
|
||||
.test-oklch {
|
||||
color: rgb(131, 28, 0);
|
||||
color: color(display-p3 0.49163 0.11178 0.00000);
|
||||
}
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Add [PostCSS OKLab Function] to your project:
|
||||
|
||||
```bash
|
||||
npm install postcss @csstools/postcss-oklab-function --save-dev
|
||||
```
|
||||
|
||||
Use it as a [PostCSS] plugin:
|
||||
|
||||
```js
|
||||
const postcss = require('postcss');
|
||||
const postcssOKLabFunction = require('@csstools/postcss-oklab-function');
|
||||
|
||||
postcss([
|
||||
postcssOKLabFunction(/* pluginOptions */)
|
||||
]).process(YOUR_CSS /*, processOptions */);
|
||||
```
|
||||
|
||||
[PostCSS OKLab Function] runs in all Node environments, with special
|
||||
instructions for:
|
||||
|
||||
| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
|
||||
## Options
|
||||
|
||||
### preserve
|
||||
|
||||
The `preserve` option determines whether the original notation
|
||||
is preserved. By default, it is not preserved.
|
||||
|
||||
```js
|
||||
postcssOKLabFunction({ preserve: true })
|
||||
```
|
||||
|
||||
```pcss
|
||||
.test-oklab {
|
||||
color: oklab(40% 0.001236 0.0039);
|
||||
}
|
||||
|
||||
.test-oklch {
|
||||
color: oklch(40% 0.268735435 34.568626);
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
.test-oklab {
|
||||
color: rgb(73, 71, 69);
|
||||
color: color(display-p3 0.28515 0.27983 0.27246);
|
||||
color: oklab(40% 0.001236 0.0039);
|
||||
}
|
||||
|
||||
.test-oklch {
|
||||
color: rgb(131, 28, 0);
|
||||
color: color(display-p3 0.49163 0.11178 0.00000);
|
||||
color: oklch(40% 0.268735435 34.568626);
|
||||
}
|
||||
```
|
||||
|
||||
### enableProgressiveCustomProperties
|
||||
|
||||
The `enableProgressiveCustomProperties` option determines whether the original notation
|
||||
is wrapped with `@supports` when used in Custom Properties. By default, it is enabled.
|
||||
|
||||
⚠️ We only recommend disabling this when you set `preserve` to `false` or if you bring your own fix for Custom Properties. See what the plugin does in its [README](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-progressive-custom-properties#readme).
|
||||
|
||||
```js
|
||||
postcssOKLabFunction({ enableProgressiveCustomProperties: false })
|
||||
```
|
||||
|
||||
```pcss
|
||||
:root {
|
||||
--firebrick: oklab(40% 0.234 0.39);
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
:root {
|
||||
--firebrick: rgb(133, 0, 67); /* will never be used, not even in older browser */
|
||||
--firebrick: color(display-p3 0.49890 0.00000 0.25954); /* will never be used, not even in older browser */
|
||||
--firebrick: oklab(40% 0.234 0.39);
|
||||
}
|
||||
```
|
||||
|
||||
### subFeatures
|
||||
|
||||
#### displayP3
|
||||
|
||||
The `subFeatures.displayP3` option determines if `color(display-p3 ...)` is used as a fallback.<br>
|
||||
By default, it is enabled.
|
||||
|
||||
`display-p3` can display wider gamut colors than `rgb` on some devices.
|
||||
|
||||
```js
|
||||
postcssOKLabFunction({
|
||||
subFeatures: {
|
||||
displayP3: false
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
```pcss
|
||||
.test-oklab {
|
||||
color: oklab(40% 0.001236 0.0039);
|
||||
}
|
||||
|
||||
.test-oklch {
|
||||
color: oklch(40% 0.268735435 34.568626);
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
.test-oklab {
|
||||
color: rgb(73, 71, 69);
|
||||
}
|
||||
|
||||
.test-oklch {
|
||||
color: rgb(131, 28, 0);
|
||||
}
|
||||
```
|
||||
|
||||
## Out of gamut colors
|
||||
|
||||
Depending on the browser implementation out of gamut colors may be clipped, resulting in a different color.<br>
|
||||
Fallback values generated by [PostCSS OKLab Function] are always mapped to a close alternative in sRGB.
|
||||
|
||||
When setting `preserve` to `true` the original values will be used by some browsers and these may be clipped.<br>
|
||||
Certain browsers will have an incorrect color if this occurs.
|
||||
|
||||
If the plugin detects out of gamut colors it will emit a warning :
|
||||
|
||||
> "oklab(40% 0.234 0.39)" is out of gamut for "display-p3". When "preserve: true" is set this will lead to unexpected results in some browsers.
|
||||
|
||||
To resolve this warning you can use a color that is in gamut for `display-p3`.
|
||||
|
||||
## Copyright : color conversions
|
||||
|
||||
This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/tree/main/css-color-4. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
||||
|
||||
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
|
||||
[css-url]: https://cssdb.org/#oklab-function
|
||||
[discord]: https://discord.gg/bUadyRwkJS
|
||||
[npm-url]: https://www.npmjs.com/package/@csstools/postcss-oklab-function
|
||||
|
||||
[CSS Color]: https://www.w3.org/TR/css-color-4/#specifying-oklab-oklch
|
||||
[Gulp PostCSS]: https://github.com/postcss/gulp-postcss
|
||||
[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss
|
||||
[PostCSS]: https://github.com/postcss/postcss
|
||||
[PostCSS Loader]: https://github.com/postcss/postcss-loader
|
||||
[PostCSS OKLab Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-oklab-function
|
||||
75
receipeServer/frontend_old/node_modules/@csstools/postcss-oklab-function/package.json
generated
vendored
Normal file
75
receipeServer/frontend_old/node_modules/@csstools/postcss-oklab-function/package.json
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"name": "@csstools/postcss-oklab-function",
|
||||
"description": "Use oklab() and oklch() color functions in CSS",
|
||||
"version": "1.1.0",
|
||||
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
||||
"license": "CC0-1.0",
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/csstools"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12 || ^14 || >=16"
|
||||
},
|
||||
"main": "dist/index.cjs",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.cjs",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"CHANGELOG.md",
|
||||
"LICENSE.md",
|
||||
"README.md",
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@csstools/postcss-progressive-custom-properties": "^1.1.0",
|
||||
"postcss-value-parser": "^4.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.4"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c ../../rollup/default.js",
|
||||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
|
||||
"docs": "node ../../.github/bin/generate-docs/install.mjs",
|
||||
"lint": "npm run lint:eslint && npm run lint:package-json",
|
||||
"lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
|
||||
"lint:package-json": "node ../../.github/bin/format-package-json.mjs",
|
||||
"prepublishOnly": "npm run clean && npm run build && npm run test",
|
||||
"test": "node .tape.mjs && npm run test:exports",
|
||||
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
|
||||
"test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
|
||||
},
|
||||
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-oklab-function#readme",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/csstools/postcss-plugins.git",
|
||||
"directory": "plugins/postcss-oklab-function"
|
||||
},
|
||||
"bugs": "https://github.com/csstools/postcss-plugins/issues",
|
||||
"keywords": [
|
||||
"color",
|
||||
"colors",
|
||||
"css",
|
||||
"design",
|
||||
"display-p3",
|
||||
"oklab",
|
||||
"oklch",
|
||||
"postcss",
|
||||
"postcss-plugin",
|
||||
"syntax"
|
||||
],
|
||||
"csstools": {
|
||||
"exportName": "postcssOKLabFunction",
|
||||
"humanReadableName": "PostCSS OKLab Function"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../package.json"
|
||||
}
|
||||
}
|
||||
20
receipeServer/frontend_old/node_modules/@csstools/postcss-progressive-custom-properties/CHANGELOG.md
generated
vendored
Normal file
20
receipeServer/frontend_old/node_modules/@csstools/postcss-progressive-custom-properties/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# Changes to PostCSS Progressive Custom Properties
|
||||
|
||||
## 1.3.0 (March 7, 2022)
|
||||
|
||||
- Add matching rules for `color-mix`
|
||||
- Fix matching rules for gradient functions
|
||||
- Reduce matchers size
|
||||
|
||||
## 1.2.0 (February 15, 2022)
|
||||
|
||||
- More matching rules for [double position gradients](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-double-position-gradients#readme).
|
||||
|
||||
## 1.1.0 (February 12, 2022)
|
||||
|
||||
- No longer uses custom properties in `@supports` rules.
|
||||
- Implement AST matching for values and units and generate minimal `@supports` for select features.
|
||||
|
||||
## 1.0.0 (February 6, 2022)
|
||||
|
||||
Initial release
|
||||
108
receipeServer/frontend_old/node_modules/@csstools/postcss-progressive-custom-properties/LICENSE.md
generated
vendored
Normal file
108
receipeServer/frontend_old/node_modules/@csstools/postcss-progressive-custom-properties/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
# CC0 1.0 Universal
|
||||
|
||||
## Statement of Purpose
|
||||
|
||||
The laws of most jurisdictions throughout the world automatically confer
|
||||
exclusive Copyright and Related Rights (defined below) upon the creator and
|
||||
subsequent owner(s) (each and all, an “owner”) of an original work of
|
||||
authorship and/or a database (each, a “Work”).
|
||||
|
||||
Certain owners wish to permanently relinquish those rights to a Work for the
|
||||
purpose of contributing to a commons of creative, cultural and scientific works
|
||||
(“Commons”) that the public can reliably and without fear of later claims of
|
||||
infringement build upon, modify, incorporate in other works, reuse and
|
||||
redistribute as freely as possible in any form whatsoever and for any purposes,
|
||||
including without limitation commercial purposes. These owners may contribute
|
||||
to the Commons to promote the ideal of a free culture and the further
|
||||
production of creative, cultural and scientific works, or to gain reputation or
|
||||
greater distribution for their Work in part through the use and efforts of
|
||||
others.
|
||||
|
||||
For these and/or other purposes and motivations, and without any expectation of
|
||||
additional consideration or compensation, the person associating CC0 with a
|
||||
Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
|
||||
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
|
||||
publicly distribute the Work under its terms, with knowledge of his or her
|
||||
Copyright and Related Rights in the Work and the meaning and intended legal
|
||||
effect of CC0 on those rights.
|
||||
|
||||
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||
protected by copyright and related or neighboring rights (“Copyright and
|
||||
Related Rights”). Copyright and Related Rights include, but are not limited
|
||||
to, the following:
|
||||
1. the right to reproduce, adapt, distribute, perform, display, communicate,
|
||||
and translate a Work;
|
||||
2. moral rights retained by the original author(s) and/or performer(s);
|
||||
3. publicity and privacy rights pertaining to a person’s image or likeness
|
||||
depicted in a Work;
|
||||
4. rights protecting against unfair competition in regards to a Work,
|
||||
subject to the limitations in paragraph 4(i), below;
|
||||
5. rights protecting the extraction, dissemination, use and reuse of data in
|
||||
a Work;
|
||||
6. database rights (such as those arising under Directive 96/9/EC of the
|
||||
European Parliament and of the Council of 11 March 1996 on the legal
|
||||
protection of databases, and under any national implementation thereof,
|
||||
including any amended or successor version of such directive); and
|
||||
7. other similar, equivalent or corresponding rights throughout the world
|
||||
based on applicable law or treaty, and any national implementations
|
||||
thereof.
|
||||
|
||||
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
||||
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
||||
unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright
|
||||
and Related Rights and associated claims and causes of action, whether now
|
||||
known or unknown (including existing as well as future claims and causes of
|
||||
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
||||
duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “Waiver”). Affirmer
|
||||
makes the Waiver for the benefit of each member of the public at large and
|
||||
to the detriment of Affirmer’s heirs and successors, fully intending that
|
||||
such Waiver shall not be subject to revocation, rescission, cancellation,
|
||||
termination, or any other legal or equitable action to disrupt the quiet
|
||||
enjoyment of the Work by the public as contemplated by Affirmer’s express
|
||||
Statement of Purpose.
|
||||
|
||||
3. Public License Fallback. Should any part of the Waiver for any reason be
|
||||
judged legally invalid or ineffective under applicable law, then the Waiver
|
||||
shall be preserved to the maximum extent permitted taking into account
|
||||
Affirmer’s express Statement of Purpose. In addition, to the extent the
|
||||
Waiver is so judged Affirmer hereby grants to each affected person a
|
||||
royalty-free, non transferable, non sublicensable, non exclusive,
|
||||
irrevocable and unconditional license to exercise Affirmer’s Copyright and
|
||||
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
||||
maximum duration provided by applicable law or treaty (including future time
|
||||
extensions), (iii) in any current or future medium and for any number of
|
||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
||||
commercial, advertising or promotional purposes (the “License”). The License
|
||||
shall be deemed effective as of the date CC0 was applied by Affirmer to the
|
||||
Work. Should any part of the License for any reason be judged legally
|
||||
invalid or ineffective under applicable law, such partial invalidity or
|
||||
ineffectiveness shall not invalidate the remainder of the License, and in
|
||||
such case Affirmer hereby affirms that he or she will not (i) exercise any
|
||||
of his or her remaining Copyright and Related Rights in the Work or (ii)
|
||||
assert any associated claims and causes of action with respect to the Work,
|
||||
in either case contrary to Affirmer’s express Statement of Purpose.
|
||||
|
||||
4. Limitations and Disclaimers.
|
||||
1. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||
surrendered, licensed or otherwise affected by this document.
|
||||
2. Affirmer offers the Work as-is and makes no representations or warranties
|
||||
of any kind concerning the Work, express, implied, statutory or
|
||||
otherwise, including without limitation warranties of title,
|
||||
merchantability, fitness for a particular purpose, non infringement, or
|
||||
the absence of latent or other defects, accuracy, or the present or
|
||||
absence of errors, whether or not discoverable, all to the greatest
|
||||
extent permissible under applicable law.
|
||||
3. Affirmer disclaims responsibility for clearing rights of other persons
|
||||
that may apply to the Work or any use thereof, including without
|
||||
limitation any person’s Copyright and Related Rights in the Work.
|
||||
Further, Affirmer disclaims responsibility for obtaining any necessary
|
||||
consents, permissions or other rights required for any use of the Work.
|
||||
4. Affirmer understands and acknowledges that Creative Commons is not a
|
||||
party to this document and has no duty or obligation with respect to this
|
||||
CC0 or use of the Work.
|
||||
|
||||
For more information, please see
|
||||
http://creativecommons.org/publicdomain/zero/1.0/.
|
||||
118
receipeServer/frontend_old/node_modules/@csstools/postcss-progressive-custom-properties/README.md
generated
vendored
Normal file
118
receipeServer/frontend_old/node_modules/@csstools/postcss-progressive-custom-properties/README.md
generated
vendored
Normal file
@@ -0,0 +1,118 @@
|
||||
# PostCSS Progressive Custom Properties [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS" width="90" height="90" align="right">][postcss]
|
||||
|
||||
[![NPM Version][npm-img]][npm-url]
|
||||
[![Build Status][cli-img]][cli-url]
|
||||
[<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][discord]
|
||||
|
||||
[PostCSS Progressive Custom Properties] is a utility plugin to correctly declare Custom Property fallbacks and enhancements.
|
||||
|
||||
⚠️ It is not intended to be used directly by stylesheet authors.
|
||||
Meant to be included in other PostCSS plugins that provide CSS value transforms as fallbacks.
|
||||
|
||||
[Custom Properties are not discarded like regular declarations when invalid.](https://www.w3.org/TR/css-variables-1/#invalid-variables)
|
||||
This makes it tricky to provide fallback values for older browsers.
|
||||
|
||||
The solution is to wrap Custom Property declarations in an `@supports` rule.
|
||||
|
||||
```pcss
|
||||
:root {
|
||||
/* fallback */
|
||||
--a-color: red;
|
||||
/* progressive enhancement */
|
||||
--a-color: oklch(40% 0.234 0.39 / var(--opacity-50));
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
:root {
|
||||
--a-color: red;
|
||||
}
|
||||
|
||||
@supports (color: oklch(0% 0 0)) {
|
||||
:root {
|
||||
--a-color: oklch(40% 0.234 0.39 / var(--opacity-50));
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Ignored values
|
||||
|
||||
`initial` and `<white space>` are ignored.
|
||||
|
||||
```pcss
|
||||
.initial {
|
||||
--prop-1: red;
|
||||
--prop-1: initial;
|
||||
}
|
||||
|
||||
.white-space {
|
||||
--prop-1: red;
|
||||
--prop-1:;
|
||||
|
||||
--prop-2: red;
|
||||
--prop-2: ;
|
||||
|
||||
--prop-3: red;
|
||||
--prop-3: ;
|
||||
}
|
||||
|
||||
/* remains */
|
||||
|
||||
.initial {
|
||||
--prop-1: red;
|
||||
--prop-1: initial;
|
||||
}
|
||||
|
||||
.white-space {
|
||||
--prop-1: red;
|
||||
--prop-1:;
|
||||
|
||||
--prop-2: red;
|
||||
--prop-2: ;
|
||||
|
||||
--prop-3: red;
|
||||
--prop-3: ;
|
||||
}
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Add [PostCSS Progressive Custom Properties] to your project:
|
||||
|
||||
```bash
|
||||
npm install @csstools/postcss-progressive-custom-properties --save-dev
|
||||
```
|
||||
|
||||
Use [PostCSS Progressive Custom Properties] as a [PostCSS] plugin:
|
||||
|
||||
```js
|
||||
const postcss = require('postcss');
|
||||
const postcssCustomProperties = require('@csstools/postcss-progressive-custom-properties');
|
||||
|
||||
postcss([
|
||||
postcssProgressiveCustomProperties()
|
||||
]).process(YOUR_CSS /*, processOptions */);
|
||||
```
|
||||
|
||||
## @supports
|
||||
|
||||
This plugin wraps Custom Property override declarations in an `@supports` rule.
|
||||
With PostCSS 8 this trigger declaration visitors to run again.
|
||||
|
||||
Make sure your plugin detects and ignores values inside relevant `@supports` rules.
|
||||
|
||||
|
||||
[PostCSS Progressive Custom Properties] runs in all Node environments, with special instructions for:
|
||||
|
||||
| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
|
||||
|
||||
[cli-img]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml/badge.svg
|
||||
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
|
||||
[discord]: https://discord.gg/bUadyRwkJS
|
||||
[npm-img]: https://img.shields.io/npm/v/@csstools/postcss-progressive-custom-properties.svg
|
||||
[npm-url]: https://www.npmjs.com/package/@csstools/postcss-progressive-custom-properties
|
||||
|
||||
[PostCSS]: https://github.com/postcss/postcss
|
||||
[PostCSS Progressive Custom Properties]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-progressive-custom-properties
|
||||
69
receipeServer/frontend_old/node_modules/@csstools/postcss-progressive-custom-properties/package.json
generated
vendored
Normal file
69
receipeServer/frontend_old/node_modules/@csstools/postcss-progressive-custom-properties/package.json
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"name": "@csstools/postcss-progressive-custom-properties",
|
||||
"description": "Correctly declare progressive enhancements for CSS Custom Properties.",
|
||||
"version": "1.3.0",
|
||||
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
||||
"license": "CC0-1.0",
|
||||
"engines": {
|
||||
"node": "^12 || ^14 || >=16"
|
||||
},
|
||||
"main": "dist/index.cjs",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.cjs",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"CHANGELOG.md",
|
||||
"LICENSE.md",
|
||||
"README.md",
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"postcss-value-parser": "^4.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "node ./generate/matchers.mjs && eslint --fix ./src/matchers.ts && rollup -c ../../rollup/default.js",
|
||||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
|
||||
"docs": "node ../../.github/bin/generate-docs/install.mjs",
|
||||
"lint": "npm run lint:eslint && npm run lint:package-json",
|
||||
"lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",
|
||||
"lint:package-json": "node ../../.github/bin/format-package-json.mjs",
|
||||
"prepublishOnly": "npm run clean && npm run build && npm run test",
|
||||
"test": "node .tape.mjs && npm run test:exports",
|
||||
"test:cli": "bash ./test/cli/test.sh",
|
||||
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
|
||||
"test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/csstools/postcss-plugins.git",
|
||||
"directory": "plugins/postcss-progressive-custom-properties"
|
||||
},
|
||||
"keywords": [
|
||||
"css",
|
||||
"custom",
|
||||
"declarations",
|
||||
"postcss",
|
||||
"postcss-plugin",
|
||||
"progressive",
|
||||
"properties",
|
||||
"utility",
|
||||
"variables",
|
||||
"vars"
|
||||
],
|
||||
"csstools": {
|
||||
"exportName": "postcssProgressiveCustomProperties",
|
||||
"humanReadableName": "PostCSS Progressive Custom Properties"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../package.json"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user