Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

Location:
trip-planner-front/node_modules/colord
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/colord/CHANGELOG.md

    r59329aa re29cc2e  
     1### 2.9.1
     2
     3- Fix: Make minification lossless
     4- Fix: Minify to name only if color is opaque
     5
     6### 2.9.0
     7
     8- New plugin: Color string minification 🗜
     9
    110### 2.8.0
    211
  • trip-planner-front/node_modules/colord/README.md

    r59329aa re29cc2e  
    744744</details>
    745745
     746<details>
     747  <summary><b><code>.minify(options?)</code></b></summary>
     748
     749Converts a color to its shortest string representation.
     750
     751```js
     752import { colord, extend } from "colord";
     753import minifyPlugin from "colord/plugins/minify";
     754
     755extend([minifyPlugin]);
     756
     757colord("black").minify(); // "#000"
     758colord("#112233").minify(); // "#123"
     759colord("darkgray").minify(); // "#a9a9a9"
     760colord("rgba(170,170,170,0.4)").minify(); // "hsla(0,0%,67%,.4)"
     761colord("rgba(170,170,170,0.4)").minify({ alphaHex: true }); // "#aaa6"
     762```
     763
     764| Option        | Default | Description                                                  |
     765| ------------- | ------- | ------------------------------------------------------------ |
     766| `hex`         | `true`  | Enable `#rrggbb` and `#rgb` notations                        |
     767| `alphaHex`    | `false` | Enable `#rrggbbaa` and `#rgba` notations                     |
     768| `rgb`         | `true`  | Enable `rgb()` and `rgba()` functional notations             |
     769| `hsl`         | `true`  | Enable `hsl()` and `hsla()` functional notations             |
     770| `name`        | `false` | Enable CSS color keywords. Requires `names` plugin installed |
     771| `transparent` | `false` | Enable `"transparent"` color keyword                         |
     772
     773</details>
     774
    746775<div><img src="assets/divider.png" width="838" alt="---" /></div>
    747776
     
    884913
    885914<details>
     915  <summary><b><code>minify</code> (Color string minification)</b> <i>0.5 KB</i></summary>
     916
     917A plugin adding color string minification utilities.
     918
     919```js
     920import { colord, extend } from "colord";
     921import minifyPlugin from "colord/plugins/minify";
     922
     923extend([minifyPlugin]);
     924
     925colord("black").minify(); // "#000"
     926colord("#112233").minify(); // "#123"
     927colord("darkgray").minify(); // "#a9a9a9"
     928colord("rgba(170,170,170,0.4)").minify(); // "hsla(0,0%,67%,.4)"
     929colord("rgba(170,170,170,0.4)").minify({ alphaHex: true }); // "#aaa6"
     930```
     931
     932</details>
     933
     934<details>
    886935  <summary><b><code>mix</code> (Color mixing)</b> <i>0.96 KB</i></summary>
    887936
    888 A plugin adding a color mixing utilities.
     937A plugin adding color mixing utilities.
    889938
    890939In contrast to other libraries that perform RGB values mixing, Colord mixes colors through [LAB color space](https://en.wikipedia.org/wiki/CIELAB_color_space). This approach produces better results and doesn't have the drawbacks the legacy way has.
  • trip-planner-front/node_modules/colord/package.json

    r59329aa re29cc2e  
    11{
    2   "_args": [
    3     [
    4       "colord@2.8.0",
    5       "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front"
    6     ]
    7   ],
    8   "_development": true,
    9   "_from": "colord@2.8.0",
    10   "_id": "colord@2.8.0",
     2  "_from": "colord@^2.9.1",
     3  "_id": "colord@2.9.1",
    114  "_inBundle": false,
    12   "_integrity": "sha512-kNkVV4KFta3TYQv0bzs4xNwLaeag261pxgzGQSh4cQ1rEhYjcTJfFRP0SDlbhLONg0eSoLzrDd79PosjbltufA==",
     5  "_integrity": "sha512-4LBMSt09vR0uLnPVkOUBnmxgoaeN4ewRbx801wY/bXcltXfpR/G46OdWn96XpYmCWuYvO46aBZP4NgX8HpNAcw==",
    136  "_location": "/colord",
    147  "_phantomChildren": {},
    158  "_requested": {
    16     "type": "version",
     9    "type": "range",
    1710    "registry": true,
    18     "raw": "colord@2.8.0",
     11    "raw": "colord@^2.9.1",
    1912    "name": "colord",
    2013    "escapedName": "colord",
    21     "rawSpec": "2.8.0",
     14    "rawSpec": "^2.9.1",
    2215    "saveSpec": null,
    23     "fetchSpec": "2.8.0"
     16    "fetchSpec": "^2.9.1"
    2417  },
    2518  "_requiredBy": [
     
    2720    "/postcss-minify-gradients"
    2821  ],
    29   "_resolved": "https://registry.npmjs.org/colord/-/colord-2.8.0.tgz",
    30   "_spec": "2.8.0",
    31   "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front",
     22  "_resolved": "https://registry.npmjs.org/colord/-/colord-2.9.1.tgz",
     23  "_shasum": "c961ea0efeb57c9f0f4834458f26cb9cc4a3f90e",
     24  "_spec": "colord@^2.9.1",
     25  "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\postcss-colormin",
    3226  "author": {
    3327    "name": "Vlad Shilov",
     
    3731    "url": "https://github.com/omgovich/colord/issues"
    3832  },
     33  "bundleDependencies": false,
    3934  "dependencies": {},
     35  "deprecated": false,
    4036  "description": "👑 A tiny yet powerful tool for high-performance color manipulations and conversions",
    4137  "devDependencies": {
     
    112108      "default": "./plugins/lch.mjs"
    113109    },
     110    "./plugins/minify": {
     111      "import": "./plugins/minify.mjs",
     112      "require": "./plugins/minify.js",
     113      "default": "./plugins/minify.mjs"
     114    },
    114115    "./plugins/mix": {
    115116      "import": "./plugins/mix.mjs",
     
    157158    "cmyk",
    158159    "mix",
     160    "minify",
    159161    "harmonies"
    160162  ],
     
    212214    },
    213215    {
     216      "path": "dist/plugins/minify.mjs",
     217      "limit": "0.6 KB"
     218    },
     219    {
    214220      "path": "dist/plugins/mix.mjs",
    215221      "limit": "1 KB"
     
    225231  ],
    226232  "types": "index.d.ts",
    227   "version": "2.8.0"
     233  "version": "2.9.1"
    228234}
Note: See TracChangeset for help on using the changeset viewer.