@innovaccer/design-system 2.15.0 → 2.15.2
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 +79 -0
- package/css/dist/index.css +56 -35
- package/css/dist/index.css.map +1 -1
- package/css/src/components/backdrop.css +1 -1
- package/css/src/components/badge.css +6 -5
- package/css/src/components/card.css +19 -4
- package/css/src/components/tooltip.css +17 -13
- package/dist/.lib/tsconfig.type.tsbuildinfo +4 -4
- package/dist/core/components/atoms/card/Card.d.ts +1 -1
- package/dist/index.esm.js +12 -7
- package/dist/index.js +12 -7
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.br +0 -0
- package/dist/index.umd.js.gz +0 -0
- package/package.json +1 -1
|
@@ -67,21 +67,22 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.Badge--subtle-primary {
|
|
70
|
-
color: var(--primary-
|
|
70
|
+
color: var(--primary-darker);
|
|
71
71
|
background: var(--primary-lightest);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.Badge--subtle-secondary {
|
|
75
|
+
color: var(--text);
|
|
75
76
|
background: var(--secondary-light);
|
|
76
77
|
}
|
|
77
78
|
|
|
78
79
|
.Badge--subtle-success {
|
|
79
|
-
color: var(--success-
|
|
80
|
+
color: var(--success-darker);
|
|
80
81
|
background: var(--success-lightest);
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
.Badge--subtle-alert {
|
|
84
|
-
color: var(--alert-
|
|
85
|
+
color: var(--alert-darker);
|
|
85
86
|
background: var(--alert-lightest);
|
|
86
87
|
}
|
|
87
88
|
|
|
@@ -96,12 +97,12 @@
|
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
.Badge--subtle-accent2 {
|
|
99
|
-
color: var(--accent2-
|
|
100
|
+
color: var(--accent2-darker);
|
|
100
101
|
background: var(--accent2-lightest);
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
.Badge--subtle-accent3 {
|
|
104
|
-
color: var(--accent3-
|
|
105
|
+
color: var(--accent3-darker);
|
|
105
106
|
background: var(--accent3-lightest);
|
|
106
107
|
}
|
|
107
108
|
|
|
@@ -8,14 +8,29 @@
|
|
|
8
8
|
background-color: var(--white);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.Card--
|
|
12
|
-
.Card--
|
|
13
|
-
.Card--
|
|
14
|
-
.Card--
|
|
11
|
+
.Card--default,
|
|
12
|
+
.Card--light,
|
|
13
|
+
.Card--medium,
|
|
14
|
+
.Card--dark {
|
|
15
15
|
border: none;
|
|
16
16
|
box-shadow: var(--shadow-s);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
.Card--shadow10 {
|
|
20
|
+
border: none;
|
|
21
|
+
box-shadow: var(--shadow-s);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.Card--shadow20 {
|
|
25
|
+
border: none;
|
|
26
|
+
box-shadow: var(--shadow-m);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.Card--shadow30 {
|
|
30
|
+
border: none;
|
|
31
|
+
box-shadow: var(--shadow-l);
|
|
32
|
+
}
|
|
33
|
+
|
|
19
34
|
.Card-header {
|
|
20
35
|
padding: var(--spacing-2) var(--spacing-2) var(--spacing-l) var(--spacing-2);
|
|
21
36
|
}
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
overflow: hidden;
|
|
8
8
|
box-sizing: border-box;
|
|
9
9
|
transition: opacity 120ms;
|
|
10
|
-
transition-delay: 800ms;
|
|
11
10
|
transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);
|
|
12
11
|
}
|
|
13
12
|
|
|
@@ -19,7 +18,7 @@
|
|
|
19
18
|
@keyframes tooltip-open-top {
|
|
20
19
|
from {
|
|
21
20
|
top: 0px;
|
|
22
|
-
opacity: 0
|
|
21
|
+
opacity: 0;
|
|
23
22
|
}
|
|
24
23
|
to {
|
|
25
24
|
top: -4px;
|
|
@@ -29,7 +28,7 @@
|
|
|
29
28
|
@keyframes tooltip-close-top {
|
|
30
29
|
from {
|
|
31
30
|
top: -4px;
|
|
32
|
-
opacity:
|
|
31
|
+
opacity: 1;
|
|
33
32
|
}
|
|
34
33
|
to {
|
|
35
34
|
top: 0px;
|
|
@@ -42,12 +41,12 @@
|
|
|
42
41
|
animation-fill-mode: forwards;
|
|
43
42
|
}
|
|
44
43
|
.Tooltip-animation-close-top {
|
|
45
|
-
animation: tooltip-close-top
|
|
44
|
+
animation: tooltip-close-top 80ms cubic-bezier(0.4, 0.14, 1, 1);
|
|
46
45
|
}
|
|
47
46
|
@keyframes tooltip-open-bottom {
|
|
48
47
|
from {
|
|
49
48
|
top: 0px;
|
|
50
|
-
opacity: 0
|
|
49
|
+
opacity: 0;
|
|
51
50
|
}
|
|
52
51
|
to {
|
|
53
52
|
top: 4px;
|
|
@@ -57,7 +56,7 @@
|
|
|
57
56
|
@keyframes tooltip-close-bottom {
|
|
58
57
|
from {
|
|
59
58
|
top: 4px;
|
|
60
|
-
opacity:
|
|
59
|
+
opacity: 1;
|
|
61
60
|
}
|
|
62
61
|
to {
|
|
63
62
|
top: 0px;
|
|
@@ -70,13 +69,13 @@
|
|
|
70
69
|
animation-fill-mode: forwards;
|
|
71
70
|
}
|
|
72
71
|
.Tooltip-animation-close-bottom {
|
|
73
|
-
animation: tooltip-close-bottom
|
|
72
|
+
animation: tooltip-close-bottom 80ms cubic-bezier(0.4, 0.14, 1, 1);
|
|
74
73
|
}
|
|
75
74
|
|
|
76
75
|
@keyframes tooltip-open-left {
|
|
77
76
|
from {
|
|
78
77
|
left: 0px;
|
|
79
|
-
opacity: 0
|
|
78
|
+
opacity: 0;
|
|
80
79
|
}
|
|
81
80
|
to {
|
|
82
81
|
left: -4px;
|
|
@@ -86,7 +85,7 @@
|
|
|
86
85
|
@keyframes tooltip-close-left {
|
|
87
86
|
from {
|
|
88
87
|
left: -4px;
|
|
89
|
-
opacity:
|
|
88
|
+
opacity: 1;
|
|
90
89
|
}
|
|
91
90
|
to {
|
|
92
91
|
left: 0px;
|
|
@@ -99,13 +98,13 @@
|
|
|
99
98
|
animation-fill-mode: forwards;
|
|
100
99
|
}
|
|
101
100
|
.Tooltip-animation-close-left {
|
|
102
|
-
animation: tooltip-close-left
|
|
101
|
+
animation: tooltip-close-left 80ms cubic-bezier(0.4, 0.14, 1, 1);
|
|
103
102
|
}
|
|
104
103
|
|
|
105
104
|
@keyframes tooltip-open-right {
|
|
106
105
|
from {
|
|
107
106
|
left: 0px;
|
|
108
|
-
opacity: 0
|
|
107
|
+
opacity: 0;
|
|
109
108
|
}
|
|
110
109
|
to {
|
|
111
110
|
left: 4px;
|
|
@@ -115,7 +114,7 @@
|
|
|
115
114
|
@keyframes tooltip-close-right {
|
|
116
115
|
from {
|
|
117
116
|
left: 4px;
|
|
118
|
-
opacity:
|
|
117
|
+
opacity: 1;
|
|
119
118
|
}
|
|
120
119
|
to {
|
|
121
120
|
left: 0px;
|
|
@@ -128,5 +127,10 @@
|
|
|
128
127
|
animation-fill-mode: forwards;
|
|
129
128
|
}
|
|
130
129
|
.Tooltip-animation-close-right {
|
|
131
|
-
animation: tooltip-close-right
|
|
130
|
+
animation: tooltip-close-right 80ms cubic-bezier(0.4, 0.14, 1, 1);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.Tooltip-container {
|
|
134
|
+
transition-delay: 400ms;
|
|
135
|
+
animation-delay: 400ms;
|
|
132
136
|
}
|
|
@@ -482,8 +482,8 @@
|
|
|
482
482
|
"affectsGlobalScope": false
|
|
483
483
|
},
|
|
484
484
|
"../../core/components/atoms/card/Card.tsx": {
|
|
485
|
-
"version": "
|
|
486
|
-
"signature": "
|
|
485
|
+
"version": "f7589c67ee4a46152b0e6e0f4bca5e1e8f4be752e9d0c0c50a95cffbe47c8dc2",
|
|
486
|
+
"signature": "a8715783dded17c0a90223440558afc945d32b55103ac2fbc55007ad3c19473e",
|
|
487
487
|
"affectsGlobalScope": false
|
|
488
488
|
},
|
|
489
489
|
"../../core/components/atoms/card/index.tsx": {
|
|
@@ -962,7 +962,7 @@
|
|
|
962
962
|
"affectsGlobalScope": false
|
|
963
963
|
},
|
|
964
964
|
"../../core/components/molecules/tooltip/Tooltip.tsx": {
|
|
965
|
-
"version": "
|
|
965
|
+
"version": "e8790df75db22ac3456cd21f15cf7a549f26fad443f3b970da665f0b7bdb42da",
|
|
966
966
|
"signature": "ccd3eaa546cf49c24ef0d9a866cdb91294207e94ddbf35424e3cb0e0a4898849",
|
|
967
967
|
"affectsGlobalScope": false
|
|
968
968
|
},
|
|
@@ -1167,7 +1167,7 @@
|
|
|
1167
1167
|
"affectsGlobalScope": false
|
|
1168
1168
|
},
|
|
1169
1169
|
"../../core/components/atoms/popperWrapper/PopperWrapper.tsx": {
|
|
1170
|
-
"version": "
|
|
1170
|
+
"version": "4bdc8aa961b2247499d2937c5d836e5680c2bc6c531bb77feae0a14f4a08fcc3",
|
|
1171
1171
|
"signature": "62d141618b6fcaee546483216860352bfe6229e8a3387ed285174c33627c3de1",
|
|
1172
1172
|
"affectsGlobalScope": false
|
|
1173
1173
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { BaseHtmlProps, BaseProps } from "../../../utils/types";
|
|
3
|
-
export declare type Shadow = 'none' | 'default' | 'light' | 'medium' | 'dark';
|
|
3
|
+
export declare type Shadow = 'none' | 'default' | 'light' | 'medium' | 'dark' | 'shadow10' | 'shadow20' | 'shadow30';
|
|
4
4
|
export interface CardProps extends BaseProps, BaseHtmlProps<HTMLDivElement> {
|
|
5
5
|
shadow?: Shadow;
|
|
6
6
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* Generated on:
|
|
3
|
+
* Generated on: 1680529579761
|
|
4
4
|
* Package: @innovaccer/design-system
|
|
5
|
-
* Version: v2.15.
|
|
5
|
+
* Version: v2.15.2
|
|
6
6
|
* License: MIT
|
|
7
7
|
* Docs: https://innovaccer.github.io/design-system
|
|
8
8
|
*/
|
|
@@ -4660,21 +4660,25 @@ var Card = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4660
4660
|
var _classNames;
|
|
4661
4661
|
|
|
4662
4662
|
var _props$shadow = props.shadow,
|
|
4663
|
-
shadow = _props$shadow === void 0 ? '
|
|
4663
|
+
shadow = _props$shadow === void 0 ? 'shadow10' : _props$shadow,
|
|
4664
4664
|
children = props.children,
|
|
4665
4665
|
className = props.className,
|
|
4666
4666
|
rest = _objectWithoutProperties(props, _excluded$u);
|
|
4667
4667
|
|
|
4668
4668
|
var classes = classnames((_classNames = {
|
|
4669
4669
|
Card: true
|
|
4670
|
-
}, _defineProperty$1(_classNames, "Card--
|
|
4670
|
+
}, _defineProperty$1(_classNames, "Card--".concat(shadow), shadow), _defineProperty$1(_classNames, "".concat(className), className), _classNames));
|
|
4671
4671
|
return /*#__PURE__*/React.createElement("div", _extends$2({
|
|
4672
|
+
"data-test": "DesignSystem-Card",
|
|
4672
4673
|
ref: ref
|
|
4673
4674
|
}, rest, {
|
|
4674
4675
|
className: classes
|
|
4675
4676
|
}), children);
|
|
4676
4677
|
});
|
|
4677
4678
|
Card.displayName = 'Card';
|
|
4679
|
+
Card.defaultProps = {
|
|
4680
|
+
shadow: 'shadow10'
|
|
4681
|
+
};
|
|
4678
4682
|
|
|
4679
4683
|
var _excluded$t = ["border", "children", "className"];
|
|
4680
4684
|
var CardSubdued = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
@@ -13476,7 +13480,7 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) {
|
|
|
13476
13480
|
} else {
|
|
13477
13481
|
var _classNames;
|
|
13478
13482
|
|
|
13479
|
-
classes = classnames((_classNames = {}, _defineProperty$1(_classNames, "".concat(animationClass.open), this.state.isOpen), _defineProperty$1(_classNames, "".concat(animationClass.close), this.state.
|
|
13483
|
+
classes = classnames((_classNames = {}, _defineProperty$1(_classNames, "".concat(animationClass.open), this.state.isOpen), _defineProperty$1(_classNames, "".concat(animationClass.close), !this.state.isOpen), _classNames), children.props.className);
|
|
13480
13484
|
}
|
|
13481
13485
|
|
|
13482
13486
|
var childProps = {
|
|
@@ -14215,7 +14219,8 @@ var Tooltip = function Tooltip(props) {
|
|
|
14215
14219
|
animationClass: {
|
|
14216
14220
|
open: "Tooltip-animation-open-".concat(positionValue[props.position]),
|
|
14217
14221
|
close: "Tooltip-animation-close-".concat(positionValue[props.position])
|
|
14218
|
-
}
|
|
14222
|
+
},
|
|
14223
|
+
className: "Tooltip-container"
|
|
14219
14224
|
}), tooltipWrapper);
|
|
14220
14225
|
}; // Tooltip.defaultProps = filterProps({
|
|
14221
14226
|
// ...Popover.defaultProps,
|
|
@@ -21557,6 +21562,6 @@ var HelpText = function HelpText(props) {
|
|
|
21557
21562
|
};
|
|
21558
21563
|
HelpText.displayName = 'HelpText';
|
|
21559
21564
|
|
|
21560
|
-
var version = "2.15.
|
|
21565
|
+
var version = "2.15.2";
|
|
21561
21566
|
|
|
21562
21567
|
export { Avatar, AvatarGroup, Backdrop, Badge, Breadcrumbs, Button, Calendar, Caption, Card, CardBody, CardFooter, CardHeader, CardSubdued, ChatMessage, Checkbox, Chip, ChipGroup, ChipInput, ChoiceList, Collapsible, Column, DatePicker, DateRangePicker, Dialog, Divider, Dropdown, Dropzone, EditableChipInput, EditableDropdown, EditableInput, EmptyState, FileList, FileUploader, FileUploaderList, FullscreenModal, Grid, GridCell, Heading, HelpText, HorizontalNav, Icon, InlineMessage, Input, X as InputMask, Label, Legend, Link, List, Message, MetaList, MetricInput, Modal, ModalBody, ModalDescription, ModalFooter, ModalHeader, MultiSlider, Navigation, OutsideClick, PageHeader, Pagination, Paragraph, Pills, Placeholder, PlaceholderImage, PlaceholderParagraph, Popover, ProgressBar, ProgressRing, Radio, RangeSlider, Row, Sidesheet, Slider, Spinner, StatusHint, Stepper, Subheading, Switch, Tab, Table, Tabs, TabsWrapper, Text, Textarea, TimePicker, Toast, Tooltip, index as Utils, VerificationCodeInput, VerticalNav, version };
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* Generated on:
|
|
3
|
+
* Generated on: 1680529580122
|
|
4
4
|
* Package: @innovaccer/design-system
|
|
5
|
-
* Version: v2.15.
|
|
5
|
+
* Version: v2.15.2
|
|
6
6
|
* License: MIT
|
|
7
7
|
* Docs: https://innovaccer.github.io/design-system
|
|
8
8
|
*/
|
|
@@ -4197,21 +4197,25 @@
|
|
|
4197
4197
|
var _a;
|
|
4198
4198
|
|
|
4199
4199
|
var _b = props.shadow,
|
|
4200
|
-
shadow = _b === void 0 ? '
|
|
4200
|
+
shadow = _b === void 0 ? 'shadow10' : _b,
|
|
4201
4201
|
children = props.children,
|
|
4202
4202
|
className = props.className,
|
|
4203
4203
|
rest = __rest(props, ["shadow", "children", "className"]);
|
|
4204
4204
|
|
|
4205
4205
|
var classes = classNames__default["default"]((_a = {
|
|
4206
4206
|
Card: true
|
|
4207
|
-
}, _a["Card--
|
|
4207
|
+
}, _a["Card--" + shadow] = shadow, _a["" + className] = className, _a));
|
|
4208
4208
|
return /*#__PURE__*/React__namespace.createElement("div", __assign({
|
|
4209
|
+
"data-test": "DesignSystem-Card",
|
|
4209
4210
|
ref: ref
|
|
4210
4211
|
}, rest, {
|
|
4211
4212
|
className: classes
|
|
4212
4213
|
}), children);
|
|
4213
4214
|
});
|
|
4214
4215
|
Card.displayName = 'Card';
|
|
4216
|
+
Card.defaultProps = {
|
|
4217
|
+
shadow: 'shadow10'
|
|
4218
|
+
};
|
|
4215
4219
|
|
|
4216
4220
|
var CardSubdued = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
4217
4221
|
var _a;
|
|
@@ -8186,7 +8190,7 @@
|
|
|
8186
8190
|
overflow: 'hidden'
|
|
8187
8191
|
});
|
|
8188
8192
|
} else {
|
|
8189
|
-
classes = classNames__default["default"]((_b = {}, _b["" + animationClass.open] = this.state.isOpen, _b["" + animationClass.close] = this.state.
|
|
8193
|
+
classes = classNames__default["default"]((_b = {}, _b["" + animationClass.open] = this.state.isOpen, _b["" + animationClass.close] = !this.state.isOpen, _b), children.props.className);
|
|
8190
8194
|
}
|
|
8191
8195
|
|
|
8192
8196
|
var childProps = {
|
|
@@ -8894,7 +8898,8 @@
|
|
|
8894
8898
|
animationClass: {
|
|
8895
8899
|
open: "Tooltip-animation-open-" + positionValue[props.position],
|
|
8896
8900
|
close: "Tooltip-animation-close-" + positionValue[props.position]
|
|
8897
|
-
}
|
|
8901
|
+
},
|
|
8902
|
+
className: "Tooltip-container"
|
|
8898
8903
|
}), tooltipWrapper);
|
|
8899
8904
|
};
|
|
8900
8905
|
Tooltip.defaultProps = Object.assign({}, filterProps(Popover.defaultProps, tooltipPropsList), {
|
|
@@ -15887,7 +15892,7 @@
|
|
|
15887
15892
|
};
|
|
15888
15893
|
HelpText.displayName = 'HelpText';
|
|
15889
15894
|
|
|
15890
|
-
var version = "2.15.
|
|
15895
|
+
var version = "2.15.2";
|
|
15891
15896
|
|
|
15892
15897
|
exports.Avatar = Avatar;
|
|
15893
15898
|
exports.AvatarGroup = AvatarGroup;
|