@occmundial/occ-atomic 3.0.0-beta.61 → 3.0.0-beta.63
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# [3.0.0-beta.63](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.62...v3.0.0-beta.63) (2024-09-30)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* Exampl4 button color ([db1879e](https://github.com/occmundial/occ-atomic/commit/db1879ec8445274018099ef3acd41fee8dc097b4))
|
7
|
+
|
8
|
+
# [3.0.0-beta.62](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.61...v3.0.0-beta.62) (2024-09-30)
|
9
|
+
|
10
|
+
|
11
|
+
### Features
|
12
|
+
|
13
|
+
* Adjusted NavTab examples ([bccb094](https://github.com/occmundial/occ-atomic/commit/bccb09481c608c05ad56611898645b5ca57a1745))
|
14
|
+
|
1
15
|
# [3.0.0-beta.61](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.60...v3.0.0-beta.61) (2024-09-30)
|
2
16
|
|
3
17
|
|
@@ -13,7 +13,7 @@ var _Avatar = _interopRequireDefault(require("../Avatar"));
|
|
13
13
|
|
14
14
|
var _Button = _interopRequireDefault(require("../Button"));
|
15
15
|
|
16
|
-
var _excluded = ["classes", "name", "disabled", "dense", "photo", "className"];
|
16
|
+
var _excluded = ["classes", "name", "disabled", "theme", "dense", "photo", "className"];
|
17
17
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
19
19
|
|
@@ -29,6 +29,8 @@ function NavButton(_ref) {
|
|
29
29
|
var classes = _ref.classes,
|
30
30
|
name = _ref.name,
|
31
31
|
disabled = _ref.disabled,
|
32
|
+
_ref$theme = _ref.theme,
|
33
|
+
theme = _ref$theme === void 0 ? 'ghostWhite' : _ref$theme,
|
32
34
|
dense = _ref.dense,
|
33
35
|
photo = _ref.photo,
|
34
36
|
className = _ref.className,
|
@@ -39,6 +41,7 @@ function NavButton(_ref) {
|
|
39
41
|
buttonClasses += className ? " ".concat(className) : '';
|
40
42
|
return /*#__PURE__*/_react["default"].createElement(_Button["default"], _extends({
|
41
43
|
iconRight: "chevron-down",
|
44
|
+
theme: theme,
|
42
45
|
disabled: disabled
|
43
46
|
}, buttonProps, {
|
44
47
|
className: buttonClasses
|
package/build/NavTab/NavTab.js
CHANGED
@@ -19,8 +19,6 @@ var _NavItem = _interopRequireDefault(require("../NavItem"));
|
|
19
19
|
|
20
20
|
var _NavButton = _interopRequireDefault(require("../NavButton"));
|
21
21
|
|
22
|
-
var _NavAvatarButton = _interopRequireDefault(require("../NavAvatarButton"));
|
23
|
-
|
24
22
|
var _NavTop = _interopRequireDefault(require("../NavTop"));
|
25
23
|
|
26
24
|
var _Button = _interopRequireDefault(require("../Button"));
|
@@ -155,7 +153,7 @@ var NavTab = /*#__PURE__*/function (_React$Component) {
|
|
155
153
|
blue = _this$props4.blue;
|
156
154
|
return /*#__PURE__*/_react["default"].createElement(_Button["default"], _extends({
|
157
155
|
theme: blue ? "ghostWhite" : "ghostGrey",
|
158
|
-
size: item.
|
156
|
+
size: item.icon || item.iconRight ? 'lg' : 'md',
|
159
157
|
className: classes.button
|
160
158
|
}, item), item.text);
|
161
159
|
}
|
package/build/tokens/colors.json
CHANGED
@@ -99,43 +99,43 @@
|
|
99
99
|
"100": "#fff"
|
100
100
|
},
|
101
101
|
"indigo": {
|
102
|
-
"5": "
|
103
|
-
"10": "
|
104
|
-
"20": "
|
105
|
-
"30": "
|
106
|
-
"40": "
|
107
|
-
"50": "
|
108
|
-
"60": "
|
109
|
-
"70": "
|
110
|
-
"80": "
|
111
|
-
"90": "
|
112
|
-
"100": "
|
102
|
+
"5": "rgba(8, 60, 174, 0.05)",
|
103
|
+
"10": "rgba(8, 60, 174, 0.1)",
|
104
|
+
"20": "rgba(8, 60, 174, 0.2)",
|
105
|
+
"30": "rgba(8, 60, 174, 0.3)",
|
106
|
+
"40": "rgba(8, 60, 174, 0.4)",
|
107
|
+
"50": "rgba(8, 60, 174, 0.5)",
|
108
|
+
"60": "rgba(8, 60, 174, 0.6)",
|
109
|
+
"70": "rgba(8, 60, 174, 0.7)",
|
110
|
+
"80": "rgba(8, 60, 174, 0.8)",
|
111
|
+
"90": "rgba(8, 60, 174, 0.9)",
|
112
|
+
"100": "#083CAE"
|
113
113
|
},
|
114
114
|
"pink": {
|
115
|
-
"5": "
|
116
|
-
"10": "
|
117
|
-
"20": "
|
118
|
-
"30": "
|
119
|
-
"40": "
|
120
|
-
"50": "
|
121
|
-
"60": "
|
122
|
-
"70": "
|
123
|
-
"80": "
|
124
|
-
"90": "
|
125
|
-
"100": "
|
115
|
+
"5": "rgba(241, 52, 101, 0.05)",
|
116
|
+
"10": "rgba(241, 52, 101, 0.1)",
|
117
|
+
"20": "rgba(241, 52, 101, 0.2)",
|
118
|
+
"30": "rgba(241, 52, 101, 0.3)",
|
119
|
+
"40": "rgba(241, 52, 101, 0.4)",
|
120
|
+
"50": "rgba(241, 52, 101, 0.5)",
|
121
|
+
"60": "rgba(241, 52, 101, 0.6)",
|
122
|
+
"70": "rgba(241, 52, 101, 0.7)",
|
123
|
+
"80": "rgba(241, 52, 101, 0.8)",
|
124
|
+
"90": "rgba(241, 52, 101, 0.9)",
|
125
|
+
"100": "#F13465"
|
126
126
|
},
|
127
127
|
"corp": {
|
128
|
-
"5": "
|
129
|
-
"10": "
|
130
|
-
"20": "
|
131
|
-
"30": "
|
132
|
-
"40": "
|
133
|
-
"50": "
|
134
|
-
"60": "
|
135
|
-
"70": "
|
136
|
-
"80": "
|
137
|
-
"90": "
|
138
|
-
"100": "
|
128
|
+
"5": "rgba(8, 13, 57, 0.05)",
|
129
|
+
"10": "rgba(8, 13, 57, 0.1)",
|
130
|
+
"20": "rgba(8, 13, 57, 0.2)",
|
131
|
+
"30": "rgba(8, 13, 57, 0.3)",
|
132
|
+
"40": "rgba(8, 13, 57, 0.4)",
|
133
|
+
"50": "rgba(8, 13, 57, 0.5)",
|
134
|
+
"60": "rgba(8, 13, 57, 0.6)",
|
135
|
+
"70": "rgba(8, 13, 57, 0.7)",
|
136
|
+
"80": "rgba(8, 13, 57, 0.8)",
|
137
|
+
"90": "rgba(8, 13, 57, 0.9)",
|
138
|
+
"100": "#080D39"
|
139
139
|
},
|
140
140
|
"black": {
|
141
141
|
"0": "rgba(0,0,0,0.0)",
|
@@ -202,10 +202,10 @@
|
|
202
202
|
},
|
203
203
|
"secondary": {
|
204
204
|
"bg": {
|
205
|
-
"default": "
|
206
|
-
"hover": "
|
207
|
-
"active": "
|
208
|
-
"disabled": "
|
205
|
+
"default": "rgba(8, 60, 174, 0.05)",
|
206
|
+
"hover": "rgba(8, 60, 174, 0.1)",
|
207
|
+
"active": "rgba(8, 60, 174, 0.2)",
|
208
|
+
"disabled": "rgba(8, 60, 174, 0.1)",
|
209
209
|
"inverse": {
|
210
210
|
"default": "rgba(255,255,255,0.1)",
|
211
211
|
"hover": "rgba(255,255,255,0.2)",
|
@@ -216,8 +216,8 @@
|
|
216
216
|
},
|
217
217
|
"tertiary": {
|
218
218
|
"bg": {
|
219
|
-
"hover": "
|
220
|
-
"active": "
|
219
|
+
"hover": "rgba(8, 60, 174, 0.05)",
|
220
|
+
"active": "rgba(8, 60, 174, 0.1)",
|
221
221
|
"inverse": {
|
222
222
|
"hover": "rgba(255,255,255,0.05)",
|
223
223
|
"active": "rgba(255,255,255,0.1)"
|
@@ -234,8 +234,8 @@
|
|
234
234
|
},
|
235
235
|
"ghost": {
|
236
236
|
"bg": {
|
237
|
-
"hover": "
|
238
|
-
"active": "
|
237
|
+
"hover": "rgba(8, 13, 57, 0.05)",
|
238
|
+
"active": "rgba(8, 13, 57, 0.1)",
|
239
239
|
"inverse": {
|
240
240
|
"hover": "rgba(255,255,255,0.05)",
|
241
241
|
"active": "rgba(255,255,255,0.1)"
|
@@ -304,8 +304,8 @@
|
|
304
304
|
"dropdown": {
|
305
305
|
"bg": {
|
306
306
|
"default": "#fff",
|
307
|
-
"hover": "
|
308
|
-
"active": "
|
307
|
+
"hover": "rgba(8, 60, 174, 0.05)",
|
308
|
+
"active": "rgba(8, 60, 174, 0.1)"
|
309
309
|
}
|
310
310
|
},
|
311
311
|
"checkbox": {
|
@@ -313,7 +313,7 @@
|
|
313
313
|
"bg": {
|
314
314
|
"default": "#0059CD",
|
315
315
|
"hover": "#083CAE",
|
316
|
-
"disabled": "
|
316
|
+
"disabled": "rgba(8, 60, 174, 0.1)"
|
317
317
|
},
|
318
318
|
"border": {
|
319
319
|
"default": "rgba(255,255,255,0.2)"
|
@@ -436,8 +436,8 @@
|
|
436
436
|
},
|
437
437
|
"brand": {
|
438
438
|
"bg": {
|
439
|
-
"hover": "
|
440
|
-
"active": "
|
439
|
+
"hover": "rgba(8, 60, 174, 0.1)",
|
440
|
+
"active": "rgba(8, 60, 174, 0.2)"
|
441
441
|
}
|
442
442
|
},
|
443
443
|
"white": {
|
@@ -464,10 +464,10 @@
|
|
464
464
|
},
|
465
465
|
"unselected": {
|
466
466
|
"bg": {
|
467
|
-
"default": "
|
468
|
-
"hover": "
|
469
|
-
"active": "
|
470
|
-
"disabled": "
|
467
|
+
"default": "rgba(8, 60, 174, 0.05)",
|
468
|
+
"hover": "rgba(8, 60, 174, 0.1)",
|
469
|
+
"active": "rgba(8, 60, 174, 0.2)",
|
470
|
+
"disabled": "rgba(8, 60, 174, 0.1)"
|
471
471
|
}
|
472
472
|
}
|
473
473
|
},
|
@@ -478,8 +478,8 @@
|
|
478
478
|
"active": "#ABBDE4",
|
479
479
|
"disabled": "#EDEDF1",
|
480
480
|
"overlay": {
|
481
|
-
"hover": "
|
482
|
-
"active": "
|
481
|
+
"hover": "rgba(8, 13, 57, 0.3)",
|
482
|
+
"active": "rgba(8, 13, 57, 0.4)"
|
483
483
|
}
|
484
484
|
}
|
485
485
|
},
|
@@ -504,10 +504,10 @@
|
|
504
504
|
"disabled": "#F6809E"
|
505
505
|
},
|
506
506
|
"secondary": {
|
507
|
-
"default": "
|
508
|
-
"hover": "
|
509
|
-
"active": "
|
510
|
-
"disabled": "
|
507
|
+
"default": "rgba(8, 60, 174, 0.05)",
|
508
|
+
"hover": "rgba(8, 60, 174, 0.1)",
|
509
|
+
"active": "rgba(8, 60, 174, 0.2)",
|
510
|
+
"disabled": "rgba(8, 60, 174, 0.1)",
|
511
511
|
"inverse": {
|
512
512
|
"default": "rgba(255,255,255,0.1)",
|
513
513
|
"hover": "rgba(255,255,255,0.2)",
|
@@ -516,8 +516,8 @@
|
|
516
516
|
}
|
517
517
|
},
|
518
518
|
"tertiary": {
|
519
|
-
"hover": "
|
520
|
-
"active": "
|
519
|
+
"hover": "rgba(8, 60, 174, 0.05)",
|
520
|
+
"active": "rgba(8, 60, 174, 0.1)",
|
521
521
|
"inverse": {
|
522
522
|
"hover": "rgba(255,255,255,0.05)",
|
523
523
|
"active": "rgba(255,255,255,0.1)"
|
@@ -535,8 +535,8 @@
|
|
535
535
|
}
|
536
536
|
},
|
537
537
|
"ghost": {
|
538
|
-
"hover": "
|
539
|
-
"active": "
|
538
|
+
"hover": "rgba(8, 13, 57, 0.05)",
|
539
|
+
"active": "rgba(8, 13, 57, 0.1)"
|
540
540
|
}
|
541
541
|
},
|
542
542
|
"default": "#F8FAFD",
|
@@ -564,7 +564,8 @@
|
|
564
564
|
"disabled": "#D3D4DC"
|
565
565
|
},
|
566
566
|
"inverse": {
|
567
|
-
"
|
567
|
+
"bold": "#fff",
|
568
|
+
"default": "rgba(255,255,255,0.7)",
|
568
569
|
"disabled": "rgba(255,255,255,0.3)"
|
569
570
|
},
|
570
571
|
"success": "#38d373",
|
@@ -600,7 +601,8 @@
|
|
600
601
|
},
|
601
602
|
"info": {
|
602
603
|
"subtle": "#b9d7ff"
|
603
|
-
}
|
604
|
+
},
|
605
|
+
"accent": "#F13465"
|
604
606
|
},
|
605
607
|
"text": {
|
606
608
|
"corp": {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
|
-
"focus-pink": "0 0 0 8px
|
3
|
-
"focus-indigo": "0 0 0 8px
|
2
|
+
"focus-pink": "0 0 0 8px rgba(241, 52, 101, 0.3)",
|
3
|
+
"focus-indigo": "0 0 0 8px rgba(8, 60, 174, 0.3)",
|
4
4
|
"focus-bright-blue": "0 0 0 8px rgba(0,110,255,0.3)",
|
5
5
|
"focus-white": "0 0 0 8px rgba(255,255,255,0.2)",
|
6
6
|
"focus-sky": "0 0 0 8px rgba(206,216,240,0.4)",
|
7
|
-
"focus-corp": "0 0 0 8px
|
7
|
+
"focus-corp": "0 0 0 8px rgba(8, 13, 57, 0.1)",
|
8
8
|
"elevation-elevation-1": "0 1px 2px 0 rgba(8,13,57,0.12), 0 1px 6px 0 rgba(9,61,173,0.05)",
|
9
9
|
"elevation-elevation-2": "0 3px 3px -1px rgba(8,13,57,0.12), 0 3px 12px 0 rgba(9,61,173,0.08)",
|
10
10
|
"elevation-elevation-3": "0 4px 5px -3px rgba(8,13,56,0.12), 0 6px 18px 0 rgba(9,61,173,0.08)",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@occmundial/occ-atomic",
|
3
|
-
"version": "3.0.0-beta.
|
3
|
+
"version": "3.0.0-beta.63",
|
4
4
|
"description": "Collection of shareable styled React components for OCC applications.",
|
5
5
|
"homepage": "http://occmundial.github.io/occ-atomic",
|
6
6
|
"main": "build/index.js",
|