@occmundial/occ-atomic 1.21.0 → 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,28 @@
|
|
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
|
+
|
11
|
+
## [1.21.2](https://github.com/occmundial/occ-atomic/compare/v1.21.1...v1.21.2) (2022-05-30)
|
12
|
+
|
13
|
+
|
14
|
+
### Bug Fixes
|
15
|
+
|
16
|
+
* Fix in Modal styles for full screen mode ([eeb7081](https://github.com/occmundial/occ-atomic/commit/eeb70814e172828b3fde2789d674676ac11a565d))
|
17
|
+
|
18
|
+
## [1.21.1](https://github.com/occmundial/occ-atomic/compare/v1.21.0...v1.21.1) (2022-05-27)
|
19
|
+
|
20
|
+
|
21
|
+
### Bug Fixes
|
22
|
+
|
23
|
+
* Change in dimensions of full screen modal ([c3434a2](https://github.com/occmundial/occ-atomic/commit/c3434a28d1bf6455205b5f37419cd14567ddb126))
|
24
|
+
* Ignore plugin directory in doc gen ([d06e206](https://github.com/occmundial/occ-atomic/commit/d06e2064f9ec30066fef70432122d3d49a6ae99f))
|
25
|
+
|
1
26
|
# [1.21.0](https://github.com/occmundial/occ-atomic/compare/v1.20.1...v1.21.0) (2022-02-16)
|
2
27
|
|
3
28
|
|
package/build/Modal/styles.js
CHANGED
@@ -65,17 +65,26 @@ var _default = {
|
|
65
65
|
noClose: {
|
66
66
|
cursor: 'default'
|
67
67
|
},
|
68
|
-
cardWrapper: {
|
68
|
+
cardWrapper: _defineProperty({
|
69
69
|
position: 'relative',
|
70
|
-
maxWidth: '
|
71
|
-
maxHeight: '
|
72
|
-
},
|
70
|
+
maxWidth: '100%',
|
71
|
+
maxHeight: '100%'
|
72
|
+
}, "@media screen and (max-width:".concat(_grid["default"].xs - 1, "px)"), {
|
73
|
+
height: function height(_ref) {
|
74
|
+
var fullSize = _ref.fullSize;
|
75
|
+
return fullSize && '100%';
|
76
|
+
}
|
77
|
+
}),
|
73
78
|
cardBlock: _defineProperty({
|
74
79
|
margin: _spacing["default"].gutter
|
75
80
|
}, "@media screen and (max-width:".concat(_grid["default"].xs - 1, "px)"), {
|
76
|
-
margin: function margin(
|
77
|
-
var fullSize =
|
81
|
+
margin: function margin(_ref2) {
|
82
|
+
var fullSize = _ref2.fullSize;
|
78
83
|
return fullSize && 0;
|
84
|
+
},
|
85
|
+
height: function height(_ref3) {
|
86
|
+
var fullSize = _ref3.fullSize;
|
87
|
+
return fullSize && '100%';
|
79
88
|
}
|
80
89
|
}),
|
81
90
|
card: (_card = {
|
@@ -86,16 +95,16 @@ var _default = {
|
|
86
95
|
}, _defineProperty(_card, "@media screen and (min-width:".concat(_grid["default"].sm, "px)"), {
|
87
96
|
padding: _spacing["default"].medium
|
88
97
|
}), _defineProperty(_card, "@media screen and (max-width:".concat(_grid["default"].xs - 1, "px)"), {
|
89
|
-
padding: function padding(
|
90
|
-
var fullSize =
|
98
|
+
padding: function padding(_ref4) {
|
99
|
+
var fullSize = _ref4.fullSize;
|
91
100
|
return fullSize && _spacing["default"].base;
|
92
101
|
},
|
93
|
-
minHeight: function minHeight(
|
94
|
-
var fullSize =
|
95
|
-
return fullSize && '
|
102
|
+
minHeight: function minHeight(_ref5) {
|
103
|
+
var fullSize = _ref5.fullSize;
|
104
|
+
return fullSize && '100%';
|
96
105
|
},
|
97
|
-
borderRadius: function borderRadius(
|
98
|
-
var fullSize =
|
106
|
+
borderRadius: function borderRadius(_ref6) {
|
107
|
+
var fullSize = _ref6.fullSize;
|
99
108
|
return fullSize && 0;
|
100
109
|
}
|
101
110
|
}), _card),
|
@@ -161,20 +170,20 @@ var _default = {
|
|
161
170
|
},
|
162
171
|
imgLeft: _defineProperty({
|
163
172
|
width: 200,
|
164
|
-
backgroundImage: function backgroundImage(
|
165
|
-
var imgLeft =
|
173
|
+
backgroundImage: function backgroundImage(_ref7) {
|
174
|
+
var imgLeft = _ref7.imgLeft;
|
166
175
|
return "url(".concat(imgLeft.img, ")");
|
167
176
|
},
|
168
|
-
backgroundPosition: function backgroundPosition(
|
169
|
-
var imgLeft =
|
177
|
+
backgroundPosition: function backgroundPosition(_ref8) {
|
178
|
+
var imgLeft = _ref8.imgLeft;
|
170
179
|
return "center ".concat(imgLeft.position || 'center');
|
171
180
|
},
|
172
|
-
backgroundSize: function backgroundSize(
|
173
|
-
var imgLeft =
|
181
|
+
backgroundSize: function backgroundSize(_ref9) {
|
182
|
+
var imgLeft = _ref9.imgLeft;
|
174
183
|
return imgLeft.size === 'contain' ? '100% auto' : 'cover';
|
175
184
|
},
|
176
|
-
backgroundColor: function backgroundColor(
|
177
|
-
var imgLeft =
|
185
|
+
backgroundColor: function backgroundColor(_ref10) {
|
186
|
+
var imgLeft = _ref10.imgLeft;
|
178
187
|
return imgLeft.color || null;
|
179
188
|
},
|
180
189
|
backgroundRepeat: 'no-repeat',
|
@@ -191,24 +200,24 @@ var _default = {
|
|
191
200
|
}),
|
192
201
|
imgTop: _defineProperty({
|
193
202
|
position: 'relative',
|
194
|
-
height: function height(
|
195
|
-
var imgTop =
|
203
|
+
height: function height(_ref11) {
|
204
|
+
var imgTop = _ref11.imgTop;
|
196
205
|
return imgTop.height || 128;
|
197
206
|
},
|
198
|
-
backgroundImage: function backgroundImage(
|
199
|
-
var imgTop =
|
207
|
+
backgroundImage: function backgroundImage(_ref12) {
|
208
|
+
var imgTop = _ref12.imgTop;
|
200
209
|
return "url(".concat(imgTop.img, ")");
|
201
210
|
},
|
202
|
-
backgroundPosition: function backgroundPosition(
|
203
|
-
var imgTop =
|
211
|
+
backgroundPosition: function backgroundPosition(_ref13) {
|
212
|
+
var imgTop = _ref13.imgTop;
|
204
213
|
return "".concat(imgTop.position || 'center', " center");
|
205
214
|
},
|
206
|
-
backgroundSize: function backgroundSize(
|
207
|
-
var imgTop =
|
215
|
+
backgroundSize: function backgroundSize(_ref14) {
|
216
|
+
var imgTop = _ref14.imgTop;
|
208
217
|
return imgTop.size === 'contain' ? 'auto 100%' : imgTop.size || 'cover';
|
209
218
|
},
|
210
|
-
backgroundColor: function backgroundColor(
|
211
|
-
var imgTop =
|
219
|
+
backgroundColor: function backgroundColor(_ref15) {
|
220
|
+
var imgTop = _ref15.imgTop;
|
212
221
|
return imgTop.color || null;
|
213
222
|
},
|
214
223
|
backgroundRepeat: 'no-repeat',
|
@@ -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