@macrostrat/column-components
Version:
React rendering primitives for stratigraphic columns
1 lines • 1.18 kB
Source Map (JSON)
{"version":3,"file":"index.cjs","sources":["../../../../../../../../../../.yarn/berry/cache/chroma-js-npm-3.2.0-d5c39f5077-10c0.zip/node_modules/chroma-js/src/io/temp/index.js"],"sourcesContent":["import chroma from '../../chroma.js';\nimport Color from '../../Color.js';\nimport input from '../input.js';\nimport temperature2rgb from './temperature2rgb.js';\nimport rgb2temperature from './rgb2temperature.js';\n\nColor.prototype.temp =\n Color.prototype.kelvin =\n Color.prototype.temperature =\n function () {\n return rgb2temperature(this._rgb);\n };\n\nconst temp = (...args) => new Color(...args, 'temp');\nObject.assign(chroma, { temp, kelvin: temp, temperature: temp });\n\ninput.format.temp =\n input.format.kelvin =\n input.format.temperature =\n temperature2rgb;\n\nexport { temp, temp as kelvin, temp as temperature };\n"],"names":[],"mappings":";;;;;;;AAMA,MAAM,UAAU,OACZ,MAAM,UAAU,SAChB,MAAM,UAAU,cACZ,WAAY;AACR,SAAO,gBAAgB,KAAK,IAAI;AACpC;AAEH,MAAC,OAAO,IAAI,SAAS,IAAI,MAAM,GAAG,MAAM,MAAM;AACnD,OAAO,OAAO,QAAQ,EAAE,MAAM,QAAQ,MAAM,aAAa,MAAM;AAE/D,MAAM,OAAO,OACT,MAAM,OAAO,SACb,MAAM,OAAO,cACT;;;;","x_google_ignoreList":[0]}