@uncinc/uncinc-react-kitchen-sink 2.2.6 → 2.2.9
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.
|
@@ -34,9 +34,9 @@ const CookieCompliancePopup = props => {
|
|
|
34
34
|
|
|
35
35
|
const [choicesSelected, setChoicesSelected] = useState({
|
|
36
36
|
necessary: true,
|
|
37
|
-
voorkeuren:
|
|
38
|
-
statistieken:
|
|
39
|
-
marketing:
|
|
37
|
+
voorkeuren: false,
|
|
38
|
+
statistieken: false,
|
|
39
|
+
marketing: false
|
|
40
40
|
});
|
|
41
41
|
useEffect(() => {
|
|
42
42
|
if (hidden) {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ApolloServer, gql } from 'apollo-server-micro';
|
|
2
|
+
export const config = {
|
|
3
|
+
api: {
|
|
4
|
+
bodyParser: false
|
|
5
|
+
}
|
|
6
|
+
};
|
|
7
|
+
const typeDefs = [gql`
|
|
8
|
+
type Query {
|
|
9
|
+
root: String
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type Mutation {
|
|
13
|
+
root: String
|
|
14
|
+
}
|
|
15
|
+
`];
|
|
16
|
+
const server = new ApolloServer({
|
|
17
|
+
typeDefs,
|
|
18
|
+
resolvers: {},
|
|
19
|
+
introspection: true,
|
|
20
|
+
playground: true,
|
|
21
|
+
context: {}
|
|
22
|
+
});
|
|
23
|
+
export default server.createHandler({
|
|
24
|
+
path: '/api/graphql'
|
|
25
|
+
});
|
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
|
-
}
|