@pie-lib/charting 5.6.17-next.0 → 5.6.17-next.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/common/styles.js +3 -3
- package/lib/common/styles.js.map +1 -1
- package/package.json +2 -2
- package/src/common/styles.js +3 -0
package/lib/common/styles.js
CHANGED
|
@@ -15,7 +15,7 @@ var disabled = function disabled() {
|
|
|
15
15
|
var _ref;
|
|
16
16
|
|
|
17
17
|
var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'fill';
|
|
18
|
-
return _ref = {}, (0, _defineProperty2["default"])(_ref, key, "var(--graph-disabled, ".concat(_renderUi.color.disabled(), ")")), (0, _defineProperty2["default"])(_ref, "pointerEvents", 'none'), _ref;
|
|
18
|
+
return _ref = {}, (0, _defineProperty2["default"])(_ref, key, "var(--graph-disabled, ".concat(_renderUi.color.disabled(), ")")), (0, _defineProperty2["default"])(_ref, "pointerEvents", 'none'), (0, _defineProperty2["default"])(_ref, "border", 'none'), _ref;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
exports.disabled = disabled;
|
|
@@ -24,7 +24,7 @@ var correct = function correct() {
|
|
|
24
24
|
var _ref2;
|
|
25
25
|
|
|
26
26
|
var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'fill';
|
|
27
|
-
return _ref2 = {}, (0, _defineProperty2["default"])(_ref2, key, _renderUi.color.correct()), (0, _defineProperty2["default"])(_ref2, "pointerEvents", 'none'), _ref2;
|
|
27
|
+
return _ref2 = {}, (0, _defineProperty2["default"])(_ref2, key, _renderUi.color.correct()), (0, _defineProperty2["default"])(_ref2, "pointerEvents", 'none'), (0, _defineProperty2["default"])(_ref2, "border", "solid 1px ".concat(_renderUi.color.correct())), _ref2;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
exports.correct = correct;
|
|
@@ -33,7 +33,7 @@ var incorrect = function incorrect() {
|
|
|
33
33
|
var _ref3;
|
|
34
34
|
|
|
35
35
|
var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'fill';
|
|
36
|
-
return _ref3 = {}, (0, _defineProperty2["default"])(_ref3, key, _renderUi.color.incorrect()), (0, _defineProperty2["default"])(_ref3, "pointerEvents", 'none'), _ref3;
|
|
36
|
+
return _ref3 = {}, (0, _defineProperty2["default"])(_ref3, key, _renderUi.color.incorrect()), (0, _defineProperty2["default"])(_ref3, "pointerEvents", 'none'), (0, _defineProperty2["default"])(_ref3, "border", "solid 1px ".concat(_renderUi.color.incorrect())), _ref3;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
exports.incorrect = incorrect;
|
package/lib/common/styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/common/styles.js"],"names":["disabled","key","color","correct","incorrect"],"mappings":";;;;;;;;;;;AAAA;;AAEO,IAAMA,QAAQ,GAAG,SAAXA,QAAW;AAAA;;AAAA,MAACC,GAAD,uEAAO,MAAP;AAAA,2DACrBA,GADqB,kCACUC,gBAAMF,QAAN,EADV,iEAEP,MAFO;AAAA,CAAjB;;;;
|
|
1
|
+
{"version":3,"sources":["../../src/common/styles.js"],"names":["disabled","key","color","correct","incorrect"],"mappings":";;;;;;;;;;;AAAA;;AAEO,IAAMA,QAAQ,GAAG,SAAXA,QAAW;AAAA;;AAAA,MAACC,GAAD,uEAAO,MAAP;AAAA,2DACrBA,GADqB,kCACUC,gBAAMF,QAAN,EADV,iEAEP,MAFO,oDAGd,MAHc;AAAA,CAAjB;;;;AAMA,IAAMG,OAAO,GAAG,SAAVA,OAAU;AAAA;;AAAA,MAACF,GAAD,uEAAO,MAAP;AAAA,6DACpBA,GADoB,EACdC,gBAAMC,OAAN,EADc,4DAEN,MAFM,yEAGAD,gBAAMC,OAAN,EAHA;AAAA,CAAhB;;;;AAMA,IAAMC,SAAS,GAAG,SAAZA,SAAY;AAAA;;AAAA,MAACH,GAAD,uEAAO,MAAP;AAAA,6DACtBA,GADsB,EAChBC,gBAAME,SAAN,EADgB,4DAER,MAFQ,yEAGFF,gBAAME,SAAN,EAHE;AAAA,CAAlB","sourcesContent":["import { color } from '@pie-lib/render-ui';\n\nexport const disabled = (key = 'fill') => ({\n [key]: `var(--graph-disabled, ${color.disabled()})`,\n pointerEvents: 'none',\n border: 'none',\n});\n\nexport const correct = (key = 'fill') => ({\n [key]: color.correct(),\n pointerEvents: 'none',\n border: `solid 1px ${color.correct()}`,\n});\n\nexport const incorrect = (key = 'fill') => ({\n [key]: color.incorrect(),\n pointerEvents: 'none',\n border: `solid 1px ${color.incorrect()}`,\n});\n"],"file":"styles.js"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "5.6.17-next.
|
|
6
|
+
"version": "5.6.17-next.30+00bc41a5",
|
|
7
7
|
"description": "charting",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"react",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": "^16.8.1"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "00bc41a518521bc5ce3c15c6f71ce5d689281a14"
|
|
47
47
|
}
|
package/src/common/styles.js
CHANGED
|
@@ -3,14 +3,17 @@ import { color } from '@pie-lib/render-ui';
|
|
|
3
3
|
export const disabled = (key = 'fill') => ({
|
|
4
4
|
[key]: `var(--graph-disabled, ${color.disabled()})`,
|
|
5
5
|
pointerEvents: 'none',
|
|
6
|
+
border: 'none',
|
|
6
7
|
});
|
|
7
8
|
|
|
8
9
|
export const correct = (key = 'fill') => ({
|
|
9
10
|
[key]: color.correct(),
|
|
10
11
|
pointerEvents: 'none',
|
|
12
|
+
border: `solid 1px ${color.correct()}`,
|
|
11
13
|
});
|
|
12
14
|
|
|
13
15
|
export const incorrect = (key = 'fill') => ({
|
|
14
16
|
[key]: color.incorrect(),
|
|
15
17
|
pointerEvents: 'none',
|
|
18
|
+
border: `solid 1px ${color.incorrect()}`,
|
|
16
19
|
});
|