@occmundial/occ-atomic 1.21.2 → 1.21.3
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/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## [1.21.3](https://github.com/occmundial/occ-atomic/compare/v1.21.2...v1.21.3) (2022-08-23)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* Change eyeClosed icon and add eyeClosedSolid icon ([156f09d](https://github.com/occmundial/occ-atomic/commit/156f09d73b0580417afb14e8d5aa5b4265636b1c))
|
7
|
+
* Change password icon ([e8fb1bb](https://github.com/occmundial/occ-atomic/commit/e8fb1bbee1050a59b5447bce49e114ae5bc7ce28))
|
8
|
+
* Change password icon with disabled prop ([a82be12](https://github.com/occmundial/occ-atomic/commit/a82be12c40462a310ff46d3d445b00ffff0ff90d))
|
9
|
+
* Indentation ([3ee616f](https://github.com/occmundial/occ-atomic/commit/3ee616fc7f94f4372bbc02605d4fd0d6637a4e3c))
|
10
|
+
|
1
11
|
## [1.21.2](https://github.com/occmundial/occ-atomic/compare/v1.21.1...v1.21.2) (2022-05-30)
|
2
12
|
|
3
13
|
|
@@ -345,7 +345,7 @@ var TextField = /*#__PURE__*/function (_React$Component) {
|
|
345
345
|
passIcon = /*#__PURE__*/_react["default"].createElement("div", {
|
346
346
|
className: classes.passIcon
|
347
347
|
}, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
348
|
-
iconName: "
|
348
|
+
iconName: "eyeClosed",
|
349
349
|
width: _iconSizes["default"].small,
|
350
350
|
height: _iconSizes["default"].small,
|
351
351
|
colors: [_colors["default"].grey200]
|
@@ -399,7 +399,7 @@ var TextField = /*#__PURE__*/function (_React$Component) {
|
|
399
399
|
onMouseOut: this.outOfPassIcon,
|
400
400
|
className: classes.passIcon
|
401
401
|
}, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
402
|
-
iconName: "
|
402
|
+
iconName: showPass ? "eye" : "eyeClosed",
|
403
403
|
width: _iconSizes["default"].small,
|
404
404
|
height: _iconSizes["default"].small,
|
405
405
|
colors: showPass ? [_colors["default"].grey900] : [_colors["default"].grey400]
|
@@ -17,7 +17,7 @@ var _default = {
|
|
17
17
|
display: 'inline-block',
|
18
18
|
icon: function icon() {
|
19
19
|
var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [_colors["default"].grey900];
|
20
|
-
return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"
|
20
|
+
return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n <path fill=\"".concat(color[0], "\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"m17.971 18.871 3.12 3.12 1.415-1.413L4.121 2.193 2.707 3.607l3.434 3.434C4.284 8.465 2.825 10.545 2 13c1.573 4.683 5.455 8 10 8 2.21 0 4.264-.784 5.971-2.129zm-1.427-1.427-1.666-1.666a4.001 4.001 0 1 1-5.655-5.655L7.571 8.471C6.116 9.513 4.903 11.066 4.13 13c1.477 3.695 4.56 6 7.87 6 1.623 0 3.192-.555 4.544-1.556zm-5.907-5.907a2.001 2.001 0 1 0 2.826 2.826l-2.826-2.826zM22 13a13.4 13.4 0 0 1-1.373 2.899l-1.454-1.455c.26-.453.494-.936.697-1.444-1.477-3.695-4.56-6-7.87-6-.089 0-.178.002-.267.005L9.957 5.228A9.242 9.242 0 0 1 12 5c4.546 0 8.427 3.317 10 8z\"/>\n </svg>");
|
21
21
|
}
|
22
22
|
};
|
23
23
|
exports["default"] = _default;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports["default"] = void 0;
|
7
|
+
|
8
|
+
var _colors = _interopRequireDefault(require("../colors"));
|
9
|
+
|
10
|
+
var _spacing = _interopRequireDefault(require("../spacing"));
|
11
|
+
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
13
|
+
|
14
|
+
var _default = {
|
15
|
+
width: _spacing["default"].base,
|
16
|
+
height: _spacing["default"].base,
|
17
|
+
display: 'inline-block',
|
18
|
+
icon: function icon() {
|
19
|
+
var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [_colors["default"].grey900];
|
20
|
+
return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n <path fill=\"".concat(color[0], "\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.414 2.5 2 3.914l3.224 3.224A11.888 11.888 0 0 0 1 12.5C2.73 16.89 7 20 12 20c1.781 0 3.47-.395 4.984-1.102l3.4 3.401 1.415-1.414-3.023-3.023A11.888 11.888 0 0 0 23 12.5C21.27 8.11 17 5 12 5c-1.781 0-3.47.395-4.984 1.102L3.414 2.5zm5.14 7.968a4.001 4.001 0 0 0 5.477 5.477l-5.477-5.477zm6.892 4.064L9.968 9.054a4.001 4.001 0 0 1 5.477 5.477z\"/>\n\t\t </svg>");
|
21
|
+
}
|
22
|
+
};
|
23
|
+
exports["default"] = _default;
|
package/build/subatomic/icons.js
CHANGED
@@ -177,6 +177,8 @@ var _eyeSolid = _interopRequireDefault(require("./icons/eyeSolid"));
|
|
177
177
|
|
178
178
|
var _eyeClosed = _interopRequireDefault(require("./icons/eyeClosed"));
|
179
179
|
|
180
|
+
var _eyeClosedSolid = _interopRequireDefault(require("./icons/eyeClosedSolid"));
|
181
|
+
|
180
182
|
var _facebook = _interopRequireDefault(require("./icons/facebook"));
|
181
183
|
|
182
184
|
var _facebookSolid = _interopRequireDefault(require("./icons/facebookSolid"));
|
@@ -334,6 +336,7 @@ var _default = {
|
|
334
336
|
eye: _eye["default"],
|
335
337
|
eyeSolid: _eyeSolid["default"],
|
336
338
|
eyeClosed: _eyeClosed["default"],
|
339
|
+
eyeClosedSolid: _eyeClosedSolid["default"],
|
337
340
|
facebook: _facebook["default"],
|
338
341
|
facebookSolid: _facebookSolid["default"],
|
339
342
|
twitter: _twitter["default"],
|
package/package.json
CHANGED