@evlop/commons 1.0.189 → 1.0.190

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"themeHelpers.d.ts","sourceRoot":"","sources":["../../../src/helpers/themeHelpers.tsx"],"names":[],"mappings":"AA+BA,eAAO,MAAM,iBAAiB,aAAa,MAAM;;;;CAI/C,CAAC;AAGH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BrB,CAAA;AAED,aAAK,SAAS,GAAG,OAAO,SAAS,CAAC;AAClC,aAAK,QAAQ,GAAG,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,WAAW;;;;;;;;;;CAUhB,CAAC;AAEF,aAAK,WAAW,GAAG,OAAO,WAAW,CAAC;AACtC,aAAK,UAAU,GAAG,MAAM,WAAW,CAAC;AAEpC,eAAO,MAAM,iBAAiB,iBAAkB,MAAM;;CAA+C,CAAC;AAGtG,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACnE,aAAK,kBAAkB,GAAG,OAAO,kBAAkB,CAAC;AACpD,aAAK,UAAU,GAAG,MAAM,kBAAkB,CAAC;AAE3C,eAAO,MAAM,mBAAmB,iBAAkB,MAAM;;CAAwD,CAAC;AAIjH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B7B,CAAC;AAEF,aAAK,aAAa,GAAG,OAAO,SAAS,CAAC;AACtC,aAAK,KAAK,GAAG,MAAM,aAAa,CAAC;AAEjC,eAAO,MAAM,oBAAoB,gBAAiB,MAAM;;CAAsD,CAAC;AAE/G,QAAA,MAAM,MAAM;;;;;;;;;;CAUX,CAAA;AAED,aAAK,UAAU,GAAG,OAAO,MAAM,CAAC;AAEhC,aAAK,SAAS,GAAG,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,WAAW;;;;;;;;;;;CAahB,CAAA;AAED,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;CAQpB,CAAA;A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AAC,SAAS,EAAC,MAAM,EAAE,KAAK,EAAC,MAAM,EAAE,IAAI,GAAC,OAAe;;EAM/F;AAGH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE;IAAC,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;CAAC,EAAE,IAAI,GAAE,OAAe,MAK5F;AACD,MAAM,WAAW,KAAK;IAClB,KAAK,EAAE;SAAE,GAAG,IAAI,KAAK,GAAG,MAAM;KAAC,CAAC;IAChC,SAAS,EAAE;SAAE,GAAG,IAAI,QAAQ,GAAG,MAAM;KAAC,CAAC;IACvC,WAAW,EAAE;SAAE,GAAG,IAAI,UAAU,GAAG,MAAM;KAAC,CAAC;IAC3C,WAAW,EAAE;SAAE,GAAG,IAAI,UAAU,GAAG,MAAM;KAAC,CAAC;IAC3C,MAAM,EAAE;SAAE,GAAG,IAAI,KAAK,GAAG,MAAM;KAAC,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC;CACpB"}
@@ -137,7 +137,7 @@ const colorShades = {
137
137
  800: 0.4,
138
138
  900: 0.51,
139
139
  };
140
- const grayColorShades = Object.assign(Object.assign({ 0: -1, 25: -0.97 }, colorShades), { 950: 0.6, 1000: 0.7, 1050: 0.8, 1100: 1 });
140
+ const grayColorShades = Object.assign(Object.assign({ 0: -1, 25: -0.97 }, colorShades), { 950: 0.6, 1000: 0.7, 1050: 0.8, 1100: 0.9 });
141
141
  const colorAlphaShades = {
142
142
  "50": 0.05,
143
143
  "100": 0.1,
@@ -162,11 +162,12 @@ const colorAlphaShades = {
162
162
  function getColorShade(color, colorName, shade, dark = false) {
163
163
  const shadesDictionary = colorName === 'gray' ? grayColorShades : colorShades;
164
164
  const weight = shadesDictionary[shade];
165
- if (weight < 0) {
166
- return lightenRgb(color, shadesDictionary[shade]);
165
+ const shouldLighten = dark ? weight < 0 : weight > 0;
166
+ if (shouldLighten) {
167
+ return lightenRgb(color, Math.abs(shadesDictionary[shade]));
167
168
  }
168
169
  else {
169
- return darkenRgb(color, shadesDictionary[shade]);
170
+ return darkenRgb(color, Math.abs(shadesDictionary[shade]));
170
171
  }
171
172
  }
172
173
  function generateColorLightDarkShades(color, colorName, dark = false) {
@@ -1 +1 @@
1
- {"version":3,"file":"themeHelpers.js","sourceRoot":"","sources":["../../../src/helpers/themeHelpers.tsx"],"names":[],"mappings":";;;AAAA,mCAA4D;AAC5D,uCAAoE;AAEpE,SAAS,UAAU,CAAC,GAAG,EAAE,SAAS;IAC9B,MAAM,KAAK,GAAG,qBAAU,CAAC,GAAG,CAAC,CAAC;IAE9B,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,EAAE,CAAC;KACX;IAED,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,CAAC;IAChE,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,CAAC;IACpE,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,CAAC;IAElE,OAAO,cAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AACtB,CAAC;AAED,SAAS,SAAS,CAAC,GAAG,EAAE,SAAS;IAC/B,MAAM,KAAK,GAAG,qBAAU,CAAC,GAAG,CAAC,CAAC;IAE9B,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,EAAE,CAAC;KACX;IAED,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,CAAC,GAAC,SAAS,CAAC,CAAC,CAAC;IAChD,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,GAA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EAAE,IAAI,CAAC,CAAC,CAAA;QAC5F,OAAO,MAAM,CAAC;IAClB,CAAC,EAAE,EAAE,CAAC,CAAA;AACV,CAAC;AALD,4CAKC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evlop/commons",
3
- "version": "1.0.189",
3
+ "version": "1.0.190",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "peerDependencies": {