UNPKG

@platform/react.ssr

Version:

A lightweight SSR (server-side-rendering) system for react apps bundled with ParcelJS and hosted on S3.

1 lines 1.76 kB
{"id":"KGCb","dependencies":[{"name":"/Users/phil/code/@platform/code/react.ssr/sample/ui/.uiharness/package.json","includedInParent":true,"mtime":1567161117102},{"name":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/css/package.json","includedInParent":true,"mtime":1566893969101},{"name":"tinycolor2","loc":{"line":3,"column":24},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/css/lib/color/color.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/tinycolor2/tinycolor.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0});var t=require(\"tinycolor2\");function r(r){return t(r)}function e(r,e,n){return t.mix(r,e,n)}function n(t){if(void 0!==t)return!0===t?exports.RED:\"number\"==typeof t?o(t):\"string\"!=typeof t||t.includes(\"#\")||t.includes(\"rgb\")?t:\"#\"+t}function o(t){return t<-1&&(t=-1),t>1&&(t=1),t<0?\"rgba(0, 0, 0, \"+Math.abs(t)+\")\":t>0?\"rgba(255, 255, 255, \"+t+\")\":\"rgba(0, 0, 0, 0.0)\"}function i(t){return t<-1&&(t=-1),t>1&&(t=1),t<0?exports.white().darken(100*Math.abs(t)).toHexString():t>0?exports.black().lighten(100*t).toHexString():exports.white().toHexString()}function u(t,e){return r(t).setAlpha(e).toRgbString()}function s(t,e){return r(t).lighten(e).toRgbString()}function a(t,e){return r(t).darken(e).toRgbString()}exports.RED=\"rgba(255, 0, 0, 0.1)\",exports.create=r,exports.black=function(){return r(\"black\")},exports.white=function(){return r(\"white\")},exports.mix=e,exports.format=n,exports.toGrayAlpha=o,exports.toGrayHex=i,exports.alpha=u,exports.lighten=s,exports.darken=a;"},"sourceMaps":null,"error":null,"hash":"3eca37830fc7976ed729abb1f65de3e4","cacheData":{"env":{}}}