@uncinc/uncinc-react-kitchen-sink 2.2.13 → 2.2.14
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.
|
@@ -30,10 +30,11 @@ const AccordionItem = ({
|
|
|
30
30
|
iconClassName,
|
|
31
31
|
duration,
|
|
32
32
|
easing,
|
|
33
|
-
titleComponent
|
|
33
|
+
titleComponent,
|
|
34
|
+
className
|
|
34
35
|
}) => {
|
|
35
36
|
const [collapsed, setCollapsed] = useState(true);
|
|
36
|
-
const classes = c('Accordion__item', {
|
|
37
|
+
const classes = c(className, 'Accordion__item', {
|
|
37
38
|
collapsed: collapsed
|
|
38
39
|
});
|
|
39
40
|
const iconClasses = c('icon', iconClassName);
|
package/package.json
CHANGED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
@import '../../styles/assets/variables';
|
|
2
|
-
|
|
3
|
-
.Button {
|
|
4
|
-
&.Button--styled {
|
|
5
|
-
display: inline-block;
|
|
6
|
-
border-radius: 5px;
|
|
7
|
-
text-decoration: none;
|
|
8
|
-
text-align: center;
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
|
|
11
|
-
&--primary {
|
|
12
|
-
font-size: 21px;
|
|
13
|
-
background-color: black;
|
|
14
|
-
color: #ffffff;
|
|
15
|
-
font-weight: 600;
|
|
16
|
-
line-height: 1.14;
|
|
17
|
-
padding: 19px 30px;
|
|
18
|
-
|
|
19
|
-
&:hover {
|
|
20
|
-
background-color: #434343;
|
|
21
|
-
}
|
|
22
|
-
&:disabled {
|
|
23
|
-
font-family: inherit;
|
|
24
|
-
background-color: rgba(0, 0, 0, 0.3);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&--inverted {
|
|
29
|
-
border: solid 1px #888888;
|
|
30
|
-
background-color: #ffffff;
|
|
31
|
-
padding: 18px 34.5px;
|
|
32
|
-
font-size: 18px;
|
|
33
|
-
font-weight: 600;
|
|
34
|
-
color: #000000;
|
|
35
|
-
|
|
36
|
-
&:hover {
|
|
37
|
-
background-color: #f1f1f1;
|
|
38
|
-
}
|
|
39
|
-
&:disabled {
|
|
40
|
-
font-family: inherit;
|
|
41
|
-
opacity: .5;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|