Project files
This commit is contained in:
92
receipeServer/frontend_old/node_modules/css-blank-pseudo/CHANGELOG.md
generated
vendored
Normal file
92
receipeServer/frontend_old/node_modules/css-blank-pseudo/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
# Changes to CSS Blank Pseudo
|
||||
|
||||
### 3.0.3 (February 5, 2022)
|
||||
|
||||
- Rebuild of browser polyfills
|
||||
|
||||
### 3.0.2 (January 2, 2022)
|
||||
|
||||
- Removed Sourcemaps from package tarball.
|
||||
- Moved CLI to CLI Package. See [announcement](https://github.com/csstools/postcss-plugins/discussions/121).
|
||||
|
||||
### 3.0.1 (December 27, 2021)
|
||||
|
||||
- Fixed: require/import paths for browser script
|
||||
|
||||
### 3.0.0 (December 13, 2021)
|
||||
|
||||
- Breaking: require/import paths have changed
|
||||
- Changed: new polyfill CDN urls.
|
||||
- Changed: Supports Node 12+ (major).
|
||||
- Updated: documentation
|
||||
|
||||
**Migrating to 3.0.0**
|
||||
|
||||
PostCSS plugin :
|
||||
|
||||
```diff
|
||||
- const postcssBlankPseudo = require('css-blank-pseudo/postcss');
|
||||
+ const postcssBlankPseudo = require('css-blank-pseudo');
|
||||
```
|
||||
|
||||
Browser Polyfill :
|
||||
|
||||
```diff
|
||||
- const cssBlankPseudo = require('css-blank-pseudo');
|
||||
+ const cssBlankPseudo = require('css-blank-pseudo/browser');
|
||||
```
|
||||
|
||||
_The old CND url is now deprecated and will be removed in a next major release._
|
||||
_It will continue to work for now._
|
||||
|
||||
```diff
|
||||
- <script src="https://unpkg.com/css-blank-pseudo/browser"></script>
|
||||
+ <script src="https://unpkg.com/css-blank-pseudo/dist/browser-global.js"></script>
|
||||
```
|
||||
|
||||
Browser Polyfill IE :
|
||||
|
||||
_The polyfill for IE is now the same as the general polyfill_
|
||||
|
||||
```diff
|
||||
- const cssBlankPseudo = require('css-blank-pseudo');
|
||||
+ const cssBlankPseudo = require('css-blank-pseudo/browser');
|
||||
```
|
||||
|
||||
_The old CND url is now deprecated and will be removed in a next major release._
|
||||
_It will continue to work for now._
|
||||
|
||||
```diff
|
||||
- <script src="https://unpkg.com/css-blank-pseudo/browser-legacy"></script>
|
||||
+ <script src="https://unpkg.com/css-blank-pseudo/dist/browser-global.js"></script>
|
||||
```
|
||||
|
||||
### 2.0.0 (September 16, 2021)
|
||||
|
||||
- Changed: Supports PostCSS 8.3+ (major).
|
||||
- Changed: Supports Node 10+ (major).
|
||||
|
||||
### 1.0.0 (June 10, 2019)
|
||||
|
||||
- Updated: `postcss` to 7.0.16 (patch)
|
||||
- Updated: Node 8+ compatibility (major)
|
||||
|
||||
### 0.1.4 (November 17, 2018)
|
||||
|
||||
- Update documentation
|
||||
|
||||
### 0.1.3 (November 17, 2018)
|
||||
|
||||
- Improve CLI usage
|
||||
|
||||
### 0.1.2 (November 17, 2018)
|
||||
|
||||
- Provide a version specifically for Internet Explorer 11
|
||||
|
||||
### 0.1.1 (November 17, 2018)
|
||||
|
||||
- Update documentation
|
||||
|
||||
### 0.1.0 (November 17, 2018)
|
||||
|
||||
- Initial version
|
||||
108
receipeServer/frontend_old/node_modules/css-blank-pseudo/LICENSE.md
generated
vendored
Normal file
108
receipeServer/frontend_old/node_modules/css-blank-pseudo/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/.
|
||||
104
receipeServer/frontend_old/node_modules/css-blank-pseudo/README.md
generated
vendored
Normal file
104
receipeServer/frontend_old/node_modules/css-blank-pseudo/README.md
generated
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
# CSS Blank Pseudo [<img src="http://jonathantneal.github.io/js-logo.svg" alt="" width="90" height="90" align="right">][CSS Blank Pseudo]
|
||||
|
||||
[![NPM Version][npm-img]][npm-url]
|
||||
[<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][discord]
|
||||
|
||||
[CSS Blank Pseudo] lets you style form elements when they are empty, following
|
||||
the [Selectors Level 4] specification.
|
||||
|
||||
```css
|
||||
input {
|
||||
/* style an input */
|
||||
}
|
||||
|
||||
input:blank {
|
||||
/* style an input without a value */
|
||||
}
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
From the command line, transform CSS files that use `:blank` selectors:
|
||||
|
||||
```bash
|
||||
npx css-blank-pseudo SOURCE.css --output TRANSFORMED.css
|
||||
```
|
||||
|
||||
Next, use your transformed CSS with this script:
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="TRANSFORMED.css">
|
||||
<script src="https://unpkg.com/css-blank-pseudo/dist/browser-global.js"></script>
|
||||
<script>cssBlankPseudo(document)</script>
|
||||
```
|
||||
|
||||
⚠️ Please use a versioned url, like this : `https://unpkg.com/css-blank-pseudo@3.0.0/dist/browser-global.js`
|
||||
Without the version, you might unexpectedly get a new major version of the library with breaking changes.
|
||||
|
||||
⚠️ If you were using an older version via a CDN, please update the entire url.
|
||||
The old URL will no longer work in a future release.
|
||||
|
||||
That’s it. The script works in most browsers.
|
||||
|
||||
## How it works
|
||||
|
||||
The [PostCSS plugin](README-POSTCSS.md) clones rules containing `:blank`,
|
||||
replacing them with an alternative `[blank]` selector.
|
||||
|
||||
```css
|
||||
input:blank {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
input[blank] {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
input:blank {
|
||||
background-color: yellow;
|
||||
}
|
||||
```
|
||||
|
||||
Next, the [JavaScript library](README-BROWSER.md) adds a `blank` attribute to
|
||||
elements otherwise matching `:blank` natively.
|
||||
|
||||
```html
|
||||
<input value="" blank>
|
||||
<input value="This element has a value">
|
||||
```
|
||||
|
||||
## ⚠️ `:not(:blank)`
|
||||
|
||||
with option : `preserve` `true`
|
||||
|
||||
```css
|
||||
input:not(:blank) {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
/* becomes */
|
||||
|
||||
input:not([blank]) {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
input:not(:blank) {
|
||||
background-color: yellow;
|
||||
}
|
||||
```
|
||||
|
||||
When you do not include the JS polyfill one will always match in browsers that support `:blank` natively.
|
||||
In browsers that do not support `:blank` natively the rule will be invalid.
|
||||
|
||||
_currently no browsers support `:blank`_
|
||||
|
||||
|
||||
[discord]: https://discord.gg/bUadyRwkJS
|
||||
[npm-img]: https://img.shields.io/npm/v/css-blank-pseudo.svg
|
||||
[npm-url]: https://www.npmjs.com/package/css-blank-pseudo
|
||||
|
||||
[CSS Blank Pseudo]: https://github.com/csstools/postcss-plugins/tree/main/plugins/css-blank-pseudo
|
||||
[PostCSS Preset Env]: https://preset-env.cssdb.org/
|
||||
[Selectors Level 4]: https://drafts.csswg.org/selectors-4/#blank
|
||||
2
receipeServer/frontend_old/node_modules/css-blank-pseudo/browser.js
generated
vendored
Normal file
2
receipeServer/frontend_old/node_modules/css-blank-pseudo/browser.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
self.cssBlankPseudo=function(e,t){var n=Object(t).className,r=Object(t).attr||"blank",o=Object(t).force;try{if(e.querySelector(":blank"),!o)return}catch(e){}var a,i,s,c=(e.ownerDocument||e).defaultView;d(c.HTMLInputElement),d(c.HTMLSelectElement),d(c.HTMLTextAreaElement),a=c.HTMLOptionElement,i=Object.getOwnPropertyDescriptor(a.prototype,"selected"),s=i.set,i.set=function(t){s.apply(this,arguments);var n=e.createEvent("Event");n.initEvent("change",!0,!0),this.dispatchEvent(n)},Object.defineProperty(a.prototype,"selected",i);var l=/^(INPUT|SELECT|TEXTAREA)$/;function p(){this.value||"SELECT"===this.nodeName&&this.options[this.selectedIndex].value?(r&&this.removeAttribute(r),n&&this.classList.remove(n),this.removeAttribute("blank")):(r&&this.setAttribute("blank",r),n&&this.classList.add(n))}function d(e){var t=Object.getOwnPropertyDescriptor(e.prototype,"value"),n=t.set;t.set=function(e){n.apply(this,arguments),p.apply(this)},Object.defineProperty(e.prototype,"value",t)}Array.prototype.forEach.call(e.querySelectorAll("INPUT,SELECT,TEXTAREA"),(function(e){"SELECT"===e.nodeName?e.addEventListener("change",p):e.addEventListener("input",p),p.call(e)})),new MutationObserver((function(e){e.forEach((function(e){Array.prototype.forEach.call(e.addedNodes||[],(function(e){1===e.nodeType&&l.test(e.nodeName)&&("SELECT"===e.nodeName?e.addEventListener("change",p):e.addEventListener("input",p),p.call(e))})),Array.prototype.forEach.call(e.removedNodes||[],(function(e){1===e.nodeType&&l.test(e.nodeName)&&("SELECT"===e.nodeName?e.removeEventListener("change",p):e.removeEventListener("input",p))}))}))})).observe(e,{childList:!0,subtree:!0})};
|
||||
//# sourceMappingURL=browser-global.js.map
|
||||
82
receipeServer/frontend_old/node_modules/css-blank-pseudo/package.json
generated
vendored
Normal file
82
receipeServer/frontend_old/node_modules/css-blank-pseudo/package.json
generated
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"name": "css-blank-pseudo",
|
||||
"version": "3.0.3",
|
||||
"description": "Style form elements when they are empty",
|
||||
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
||||
"license": "CC0-1.0",
|
||||
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/css-blank-pseudo#readme",
|
||||
"bugs": "https://github.com/csstools/postcss-plugins/issues",
|
||||
"main": "dist/index.cjs",
|
||||
"module": "dist/index.mjs",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.cjs",
|
||||
"default": "./dist/index.mjs"
|
||||
},
|
||||
"./browser": {
|
||||
"import": "./dist/browser.mjs",
|
||||
"require": "./dist/browser.cjs",
|
||||
"default": "./dist/browser.mjs"
|
||||
},
|
||||
"./browser-global": {
|
||||
"default": "./dist/browser-global.js"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"CHANGELOG.md",
|
||||
"LICENSE.md",
|
||||
"README.md",
|
||||
"dist",
|
||||
"browser.js"
|
||||
],
|
||||
"bin": {
|
||||
"css-blank-pseudo": "dist/cli.cjs"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c ../../rollup/default.js && npm run copy-browser-scripts-to-old-location",
|
||||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
|
||||
"copy-browser-scripts-to-old-location": "node -e \"fs.copyFileSync('./dist/browser-global.js', './browser.js'); fs.copyFileSync('./dist/browser-global.js', './browser-legacy.js')\"",
|
||||
"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",
|
||||
"cli": "css-blank-pseudo",
|
||||
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12 || ^14 || >=16"
|
||||
},
|
||||
"dependencies": {
|
||||
"postcss-selector-parser": "^6.0.9"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.4"
|
||||
},
|
||||
"keywords": [
|
||||
"postcss",
|
||||
"css",
|
||||
"postcss-plugin",
|
||||
"javascript",
|
||||
"js",
|
||||
"polyfill",
|
||||
"blank",
|
||||
"empty",
|
||||
"pseudo",
|
||||
"selectors",
|
||||
"accessibility",
|
||||
"a11y",
|
||||
"input",
|
||||
"select",
|
||||
"textarea"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/csstools/postcss-plugins.git",
|
||||
"directory": "plugins/css-blank-pseudo"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../package.json"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user