@zohodesk/components 1.0.0-temp-201 → 1.0.0-temp-202
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/.cli/PropUnificationExcludeFilesArray.js +230 -230
- package/.cli/PropValidationExcludeFilesArray.js +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/css_error.log +1 -1
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/es/AvatarTeam/AvatarTeam.js +7 -7
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
- package/es/Button/Button.js +4 -4
- package/es/Buttongroup/Buttongroup.js +1 -1
- package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
- package/es/Card/Card.js +4 -4
- package/es/Card/Card.module.css +20 -20
- package/es/DateTime/DateWidget.module.css +38 -38
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +1 -1
- package/es/DropBox/DropBoxPositionMapping.json +144 -144
- package/es/DropDown/DropDown.module.css +5 -5
- package/es/DropDown/DropDownSearch.module.css +14 -14
- package/es/DropDown/DropDownSeparator.module.css +7 -7
- package/es/Heading/Heading.js +1 -3
- package/es/Heading/Heading.module.css +4 -4
- package/es/Heading/props/defaultProps.js +1 -2
- package/es/Heading/props/propTypes.js +1 -2
- package/es/Label/Label.js +2 -2
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/es/Layout/Layout.module.css +335 -335
- package/es/MultiSelect/SelectedOptions.module.css +15 -15
- package/es/Popup/PositionMapping.json +73 -73
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/es/RippleEffect/RippleEffect.module.css +92 -92
- package/es/Select/Select.module.css +134 -134
- package/es/Stencils/Stencils.module.css +96 -96
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- package/es/Tab/TabContent.module.css +4 -4
- package/es/Tab/Tabs.js +17 -17
- package/es/Tag/Tag.js +8 -8
- package/es/Tooltip/Tooltip.js +47 -2
- package/es/Tooltip/Tooltip.module.css +140 -140
- package/es/common/a11y.module.css +3 -3
- package/es/common/animation.module.css +624 -624
- package/es/common/avatarsizes.module.css +48 -48
- package/es/common/basic.module.css +33 -33
- package/es/common/basicReset.module.css +40 -40
- package/es/common/boxShadow.module.css +33 -33
- package/es/common/common.module.css +524 -524
- package/es/common/reset.module.css +13 -13
- package/es/common/transition.module.css +146 -146
- package/es/semantic/Button/semanticButton.module.css +9 -9
- package/es/v1/Avatar/Avatar.js +5 -5
- package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
- package/es/v1/Button/Button.js +4 -4
- package/es/v1/Heading/Heading.js +1 -3
- package/es/v1/Heading/props/defaultProps.js +1 -2
- package/es/v1/Heading/props/propTypes.js +1 -2
- package/es/v1/MultiSelect/MultiSelect.js +5 -5
- package/es/v1/Tab/v1TabContent.module.css +4 -4
- package/es/v1/Tag/Tag.js +8 -8
- package/es/v1/Typography/css/Typography.module.css +380 -380
- package/install.md +10 -10
- package/lib/AppContainer/AppContainer.module.css +18 -18
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/lib/AvatarTeam/AvatarTeam.js +7 -7
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
- package/lib/Button/Button.js +4 -4
- package/lib/Buttongroup/Buttongroup.js +1 -1
- package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
- package/lib/Card/Card.js +4 -4
- package/lib/Card/Card.module.css +20 -20
- package/lib/DateTime/DateWidget.module.css +38 -38
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +1 -1
- package/lib/DropBox/DropBoxPositionMapping.json +144 -144
- package/lib/DropDown/DropDown.module.css +5 -5
- package/lib/DropDown/DropDownSearch.module.css +14 -14
- package/lib/DropDown/DropDownSeparator.module.css +7 -7
- package/lib/Heading/Heading.js +3 -4
- package/lib/Heading/Heading.module.css +4 -4
- package/lib/Heading/props/defaultProps.js +1 -2
- package/lib/Heading/props/propTypes.js +1 -2
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/lib/Layout/Layout.module.css +335 -335
- package/lib/MultiSelect/SelectedOptions.module.css +15 -15
- package/lib/Popup/PositionMapping.json +73 -73
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/lib/RippleEffect/RippleEffect.module.css +92 -92
- package/lib/Select/Select.module.css +134 -134
- package/lib/Stencils/Stencils.module.css +96 -96
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- package/lib/Tab/TabContent.module.css +4 -4
- package/lib/Tab/Tabs.js +11 -11
- package/lib/Tag/Tag.js +8 -8
- package/lib/Tooltip/Tooltip.js +61 -16
- package/lib/Tooltip/Tooltip.module.css +140 -140
- package/lib/common/a11y.module.css +3 -3
- package/lib/common/animation.module.css +624 -624
- package/lib/common/avatarsizes.module.css +48 -48
- package/lib/common/basic.module.css +33 -33
- package/lib/common/basicReset.module.css +40 -40
- package/lib/common/boxShadow.module.css +33 -33
- package/lib/common/common.module.css +524 -524
- package/lib/common/reset.module.css +13 -13
- package/lib/common/transition.module.css +146 -146
- package/lib/semantic/Button/semanticButton.module.css +9 -9
- package/lib/v1/Avatar/Avatar.js +5 -5
- package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
- package/lib/v1/Button/Button.js +4 -4
- package/lib/v1/Heading/Heading.js +3 -4
- package/lib/v1/Heading/props/defaultProps.js +1 -2
- package/lib/v1/Heading/props/propTypes.js +1 -2
- package/lib/v1/MultiSelect/MultiSelect.js +5 -5
- package/lib/v1/Tab/v1TabContent.module.css +4 -4
- package/lib/v1/Tag/Tag.js +8 -8
- package/lib/v1/Typography/css/Typography.module.css +380 -380
- package/package.json +1 -1
- package/postPublish.js +8 -8
- package/prePublish.js +70 -70
- package/propValidationArg.json +11 -11
- package/react-cli.config.js +23 -23
- package/result.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
*,
|
|
2
|
-
:after,
|
|
3
|
-
:before {
|
|
4
|
-
outline: 0;
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
-webkit-box-sizing: border-box;
|
|
7
|
-
-moz-box-sizing: border-box;
|
|
8
|
-
-ms-box-sizing: border-box;
|
|
9
|
-
}
|
|
10
|
-
html {
|
|
11
|
-
/* Variable:Ignore */
|
|
12
|
-
font-size: 16px;
|
|
13
|
-
}
|
|
1
|
+
*,
|
|
2
|
+
:after,
|
|
3
|
+
:before {
|
|
4
|
+
outline: 0;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
-webkit-box-sizing: border-box;
|
|
7
|
+
-moz-box-sizing: border-box;
|
|
8
|
+
-ms-box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
html {
|
|
11
|
+
/* Variable:Ignore */
|
|
12
|
+
font-size: 16px;
|
|
13
|
+
}
|
|
@@ -1,146 +1,146 @@
|
|
|
1
|
-
.zoomInEnter,
|
|
2
|
-
.zoomInLeave.zoomInLeaveActive {
|
|
3
|
-
opacity: 0;
|
|
4
|
-
}.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
|
|
5
|
-
transform: perspective(1px) scale(1.5) translateZ(0);
|
|
6
|
-
transition-duration: var(--zd_transition3);
|
|
7
|
-
transition-property: all;
|
|
8
|
-
}
|
|
9
|
-
.zoomInEnter.zoomInEnterActive,
|
|
10
|
-
.zoomInLeave {
|
|
11
|
-
opacity: 1;
|
|
12
|
-
}
|
|
13
|
-
.zoomInEnter.zoomInEnterActive, .zoomInLeave {
|
|
14
|
-
transform: perspective(1px) scale(1) translateZ(0);
|
|
15
|
-
transition-duration: var(--zd_transition3);
|
|
16
|
-
transition-property: all;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.scaleInEnter,
|
|
20
|
-
.scaleInLeave.scaleInLeaveActive {
|
|
21
|
-
opacity: 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.scaleInEnter, .scaleInLeave.scaleInLeaveActive {
|
|
25
|
-
transform: scale(0);
|
|
26
|
-
transition-duration: var(--zd_transition3);
|
|
27
|
-
transition-property: all;
|
|
28
|
-
}
|
|
29
|
-
.scaleInEnter.scaleInEnterActive,
|
|
30
|
-
.scaleInLeave {
|
|
31
|
-
opacity: 1;
|
|
32
|
-
}
|
|
33
|
-
.scaleInEnter.scaleInEnterActive, .scaleInLeave {
|
|
34
|
-
transform: scale(1);
|
|
35
|
-
transition-duration: var(--zd_transition3);
|
|
36
|
-
transition-property: all;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.fadeInEnter,
|
|
40
|
-
.fadeInLeave.fadeInLeaveActive {
|
|
41
|
-
opacity: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.fadeInEnter, .fadeInLeave.fadeInLeaveActive {
|
|
45
|
-
transition-duration: var(--zd_transition3);
|
|
46
|
-
transition-property: all;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.fadeInEnter.fadeInEnterActive,
|
|
50
|
-
.fadeInLeave {
|
|
51
|
-
opacity: 1;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.fadeInEnter.fadeInEnterActive, .fadeInLeave {
|
|
55
|
-
transition-duration: var(--zd_transition3);
|
|
56
|
-
transition-property: all;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.slideLeftEnter,
|
|
60
|
-
.slideLeftLeave.slideLeftLeaveActive {
|
|
61
|
-
opacity: 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
|
|
65
|
-
transition-duration: var(--zd_transition3);
|
|
66
|
-
transition-property: all;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
[dir=ltr] .slideLeftEnter, [dir=ltr] .slideLeftLeave.slideLeftLeaveActive {
|
|
70
|
-
transform: translateX(110%);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
[dir=rtl] .slideLeftEnter, [dir=rtl] .slideLeftLeave.slideLeftLeaveActive {
|
|
74
|
-
transform: translateX(-110%);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.slideLeftEnter.slideLeftEnterActive,
|
|
78
|
-
.slideLeftLeave {
|
|
79
|
-
opacity: 1;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
|
|
83
|
-
transform: translateX(0%);
|
|
84
|
-
transition-duration: var(--zd_transition3);
|
|
85
|
-
transition-property: all;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.slideDownEnter,
|
|
89
|
-
.slideDownLeave.slideDownLeaveActive {
|
|
90
|
-
opacity: 0;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.slideDownEnter, .slideDownLeave.slideDownLeaveActive {
|
|
94
|
-
transform: translateY(-100%);
|
|
95
|
-
transition-duration: var(--zd_transition3);
|
|
96
|
-
transition-property: all;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.slideDownEnter.slideDownEnterActive,
|
|
100
|
-
.slideDownLeave {
|
|
101
|
-
opacity: 1;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.slideDownEnter.slideDownEnterActive, .slideDownLeave {
|
|
105
|
-
transform: translateY(0%);
|
|
106
|
-
transition-duration: var(--zd_transition3);
|
|
107
|
-
transition-property: all;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.skewInEnter,
|
|
111
|
-
.skewInLeave.skewInLeaveActive {
|
|
112
|
-
opacity: 0;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.skewInEnter, .skewInLeave.skewInLeaveActive {
|
|
116
|
-
transition-duration: var(--zd_transition3);
|
|
117
|
-
transition-property: all;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
[dir=ltr] .skewInEnter, [dir=ltr] .skewInLeave.skewInLeaveActive {
|
|
121
|
-
transform: translate(100%, 100%) skew(72deg) scale(0) perspective(221px);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
[dir=rtl] .skewInEnter, [dir=rtl] .skewInLeave.skewInLeaveActive {
|
|
125
|
-
transform: translate(-100%, 100%) skew(-72deg) scale(0) perspective(221px);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.skewInEnter.skewInEnterActive,
|
|
129
|
-
.skewInLeave {
|
|
130
|
-
opacity: 1;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.skewInEnter.skewInEnterActive, .skewInLeave {
|
|
134
|
-
transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
|
|
135
|
-
transition-duration: var(--zd_transition3);
|
|
136
|
-
transition-property: all;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.defaultEnter,
|
|
140
|
-
.defaultLeave.defaultLeaveActive {
|
|
141
|
-
display: none;
|
|
142
|
-
}
|
|
143
|
-
.defaultEnter.defaultEnterActive,
|
|
144
|
-
.defaultLeave {
|
|
145
|
-
display: block;
|
|
146
|
-
}
|
|
1
|
+
.zoomInEnter,
|
|
2
|
+
.zoomInLeave.zoomInLeaveActive {
|
|
3
|
+
opacity: 0;
|
|
4
|
+
}.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
|
|
5
|
+
transform: perspective(1px) scale(1.5) translateZ(0);
|
|
6
|
+
transition-duration: var(--zd_transition3);
|
|
7
|
+
transition-property: all;
|
|
8
|
+
}
|
|
9
|
+
.zoomInEnter.zoomInEnterActive,
|
|
10
|
+
.zoomInLeave {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
.zoomInEnter.zoomInEnterActive, .zoomInLeave {
|
|
14
|
+
transform: perspective(1px) scale(1) translateZ(0);
|
|
15
|
+
transition-duration: var(--zd_transition3);
|
|
16
|
+
transition-property: all;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.scaleInEnter,
|
|
20
|
+
.scaleInLeave.scaleInLeaveActive {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.scaleInEnter, .scaleInLeave.scaleInLeaveActive {
|
|
25
|
+
transform: scale(0);
|
|
26
|
+
transition-duration: var(--zd_transition3);
|
|
27
|
+
transition-property: all;
|
|
28
|
+
}
|
|
29
|
+
.scaleInEnter.scaleInEnterActive,
|
|
30
|
+
.scaleInLeave {
|
|
31
|
+
opacity: 1;
|
|
32
|
+
}
|
|
33
|
+
.scaleInEnter.scaleInEnterActive, .scaleInLeave {
|
|
34
|
+
transform: scale(1);
|
|
35
|
+
transition-duration: var(--zd_transition3);
|
|
36
|
+
transition-property: all;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.fadeInEnter,
|
|
40
|
+
.fadeInLeave.fadeInLeaveActive {
|
|
41
|
+
opacity: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.fadeInEnter, .fadeInLeave.fadeInLeaveActive {
|
|
45
|
+
transition-duration: var(--zd_transition3);
|
|
46
|
+
transition-property: all;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.fadeInEnter.fadeInEnterActive,
|
|
50
|
+
.fadeInLeave {
|
|
51
|
+
opacity: 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.fadeInEnter.fadeInEnterActive, .fadeInLeave {
|
|
55
|
+
transition-duration: var(--zd_transition3);
|
|
56
|
+
transition-property: all;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.slideLeftEnter,
|
|
60
|
+
.slideLeftLeave.slideLeftLeaveActive {
|
|
61
|
+
opacity: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
|
|
65
|
+
transition-duration: var(--zd_transition3);
|
|
66
|
+
transition-property: all;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
[dir=ltr] .slideLeftEnter, [dir=ltr] .slideLeftLeave.slideLeftLeaveActive {
|
|
70
|
+
transform: translateX(110%);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[dir=rtl] .slideLeftEnter, [dir=rtl] .slideLeftLeave.slideLeftLeaveActive {
|
|
74
|
+
transform: translateX(-110%);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.slideLeftEnter.slideLeftEnterActive,
|
|
78
|
+
.slideLeftLeave {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
|
|
83
|
+
transform: translateX(0%);
|
|
84
|
+
transition-duration: var(--zd_transition3);
|
|
85
|
+
transition-property: all;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.slideDownEnter,
|
|
89
|
+
.slideDownLeave.slideDownLeaveActive {
|
|
90
|
+
opacity: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.slideDownEnter, .slideDownLeave.slideDownLeaveActive {
|
|
94
|
+
transform: translateY(-100%);
|
|
95
|
+
transition-duration: var(--zd_transition3);
|
|
96
|
+
transition-property: all;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.slideDownEnter.slideDownEnterActive,
|
|
100
|
+
.slideDownLeave {
|
|
101
|
+
opacity: 1;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.slideDownEnter.slideDownEnterActive, .slideDownLeave {
|
|
105
|
+
transform: translateY(0%);
|
|
106
|
+
transition-duration: var(--zd_transition3);
|
|
107
|
+
transition-property: all;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.skewInEnter,
|
|
111
|
+
.skewInLeave.skewInLeaveActive {
|
|
112
|
+
opacity: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.skewInEnter, .skewInLeave.skewInLeaveActive {
|
|
116
|
+
transition-duration: var(--zd_transition3);
|
|
117
|
+
transition-property: all;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
[dir=ltr] .skewInEnter, [dir=ltr] .skewInLeave.skewInLeaveActive {
|
|
121
|
+
transform: translate(100%, 100%) skew(72deg) scale(0) perspective(221px);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
[dir=rtl] .skewInEnter, [dir=rtl] .skewInLeave.skewInLeaveActive {
|
|
125
|
+
transform: translate(-100%, 100%) skew(-72deg) scale(0) perspective(221px);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.skewInEnter.skewInEnterActive,
|
|
129
|
+
.skewInLeave {
|
|
130
|
+
opacity: 1;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.skewInEnter.skewInEnterActive, .skewInLeave {
|
|
134
|
+
transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
|
|
135
|
+
transition-duration: var(--zd_transition3);
|
|
136
|
+
transition-property: all;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.defaultEnter,
|
|
140
|
+
.defaultLeave.defaultLeaveActive {
|
|
141
|
+
display: none;
|
|
142
|
+
}
|
|
143
|
+
.defaultEnter.defaultEnterActive,
|
|
144
|
+
.defaultLeave {
|
|
145
|
+
display: block;
|
|
146
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.buttonReset {
|
|
2
|
-
outline: 0;
|
|
3
|
-
font: inherit;
|
|
4
|
-
color: inherit;
|
|
5
|
-
border: inherit;
|
|
6
|
-
background-color: inherit;
|
|
7
|
-
padding: 0 ;
|
|
8
|
-
text-align: inherit;
|
|
9
|
-
}
|
|
1
|
+
.buttonReset {
|
|
2
|
+
outline: 0;
|
|
3
|
+
font: inherit;
|
|
4
|
+
color: inherit;
|
|
5
|
+
border: inherit;
|
|
6
|
+
background-color: inherit;
|
|
7
|
+
padding: 0 ;
|
|
8
|
+
text-align: inherit;
|
|
9
|
+
}
|
package/lib/v1/Avatar/Avatar.js
CHANGED
|
@@ -49,11 +49,11 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
49
49
|
|
|
50
50
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
51
51
|
|
|
52
|
-
/*
|
|
53
|
-
1. need to change name into firstName lastName
|
|
54
|
-
2. pattern support via context as well as props
|
|
55
|
-
3. prop high priority to arrange firstName lastName
|
|
56
|
-
4. team pass name as lastName and pass pattern via prop
|
|
52
|
+
/*
|
|
53
|
+
1. need to change name into firstName lastName
|
|
54
|
+
2. pattern support via context as well as props
|
|
55
|
+
3. prop high priority to arrange firstName lastName
|
|
56
|
+
4. team pass name as lastName and pass pattern via prop
|
|
57
57
|
*/
|
|
58
58
|
function Avatar(props) {
|
|
59
59
|
var src = props.src,
|
|
@@ -19,10 +19,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
19
19
|
|
|
20
20
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
21
21
|
|
|
22
|
-
/* once avatar support firstname lastname and pattern
|
|
23
|
-
pass lastName as team name and pattern ["FIRST_NAME","LAST_NAME"] as props
|
|
24
|
-
|
|
25
|
-
Not going to export to external then can kept inside supportapp
|
|
22
|
+
/* once avatar support firstname lastname and pattern
|
|
23
|
+
pass lastName as team name and pattern ["FIRST_NAME","LAST_NAME"] as props
|
|
24
|
+
|
|
25
|
+
Not going to export to external then can kept inside supportapp
|
|
26
26
|
*/
|
|
27
27
|
function AvatarTeam(props) {
|
|
28
28
|
var src = props.src,
|
package/lib/v1/Button/Button.js
CHANGED
|
@@ -21,10 +21,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
21
21
|
|
|
22
22
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
23
23
|
|
|
24
|
-
/*
|
|
25
|
-
Button text and children props?
|
|
26
|
-
use children for both cases
|
|
27
|
-
toLowerCase check needed?
|
|
24
|
+
/*
|
|
25
|
+
Button text and children props?
|
|
26
|
+
use children for both cases
|
|
27
|
+
toLowerCase check needed?
|
|
28
28
|
*/
|
|
29
29
|
function Button(props) {
|
|
30
30
|
var text = props.text,
|
|
@@ -29,16 +29,15 @@ function Heading(props) {
|
|
|
29
29
|
title = props.title,
|
|
30
30
|
dataTitle = props.dataTitle,
|
|
31
31
|
dataId = props.dataId,
|
|
32
|
-
a11y = props.a11y
|
|
33
|
-
|
|
34
|
-
return /*#__PURE__*/_react["default"].createElement(tagName, _objectSpread(_objectSpread({
|
|
32
|
+
a11y = props.a11y;
|
|
33
|
+
return /*#__PURE__*/_react["default"].createElement(tagName, _objectSpread({
|
|
35
34
|
className: "".concat(_HeadingModule["default"].reset, " ").concat(className),
|
|
36
35
|
onClick: onClick,
|
|
37
36
|
onDoubleClick: onDoubleClick,
|
|
38
37
|
'data-title': dataTitle || title,
|
|
39
38
|
'data-id': dataId,
|
|
40
39
|
'data-test-id': dataId
|
|
41
|
-
},
|
|
40
|
+
}, a11y), title);
|
|
42
41
|
}
|
|
43
42
|
|
|
44
43
|
Heading.propTypes = _propTypes.propTypes;
|
|
@@ -17,7 +17,6 @@ var propTypes = {
|
|
|
17
17
|
dataTitle: _propTypes["default"].string,
|
|
18
18
|
onClick: _propTypes["default"].func,
|
|
19
19
|
onDoubleClick: _propTypes["default"].func,
|
|
20
|
-
a11y: _propTypes["default"].object
|
|
21
|
-
customAttributes: _propTypes["default"].object
|
|
20
|
+
a11y: _propTypes["default"].object
|
|
22
21
|
};
|
|
23
22
|
exports.propTypes = propTypes;
|
|
@@ -402,8 +402,8 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
402
402
|
if (suggestionsLen && isPopupOpen && keyCode === 38) {
|
|
403
403
|
//up arrow
|
|
404
404
|
|
|
405
|
-
/*if (hoverOption === 0) { //disable first to last option higlight
|
|
406
|
-
!isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
|
|
405
|
+
/*if (hoverOption === 0) { //disable first to last option higlight
|
|
406
|
+
!isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
|
|
407
407
|
}*/
|
|
408
408
|
if (hoverOption) {
|
|
409
409
|
this.setState({
|
|
@@ -413,9 +413,9 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
413
413
|
} else if (suggestionsLen && isPopupOpen && keyCode === 40) {
|
|
414
414
|
//down arrow
|
|
415
415
|
|
|
416
|
-
/*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
|
|
417
|
-
//disable last to first option higlight
|
|
418
|
-
!isNextOptions && this.setState({ hoverOption: 0 });
|
|
416
|
+
/*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
|
|
417
|
+
//disable last to first option higlight
|
|
418
|
+
!isNextOptions && this.setState({ hoverOption: 0 });
|
|
419
419
|
}*/
|
|
420
420
|
if (isNextOptions && suggestionsLen >= 5 && hoverOption === suggestionsLen - 3) {
|
|
421
421
|
getNextOptions && this.handleFetchOptions(getNextOptions, searchStr);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $Id$ */
|
|
2
|
-
.container {
|
|
3
|
-
position: relative;
|
|
4
|
-
}
|
|
1
|
+
/* $Id$ */
|
|
2
|
+
.container {
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
package/lib/v1/Tag/Tag.js
CHANGED
|
@@ -31,16 +31,16 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
31
31
|
|
|
32
32
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
33
33
|
|
|
34
|
-
/*
|
|
35
|
-
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
36
|
-
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
37
|
-
* 'pureDotted', 'primaryDotted'] }]
|
|
34
|
+
/*
|
|
35
|
+
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
36
|
+
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
37
|
+
* 'pureDotted', 'primaryDotted'] }]
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
|
-
/*
|
|
41
|
-
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
42
|
-
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
43
|
-
* 'pureDotted', 'primaryDotted'] }]
|
|
40
|
+
/*
|
|
41
|
+
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
42
|
+
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
43
|
+
* 'pureDotted', 'primaryDotted'] }]
|
|
44
44
|
*/
|
|
45
45
|
function Tag(props) {
|
|
46
46
|
var imageURL = props.imageURL,
|