@conduction/components 2.2.26 → 2.2.27

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.
Files changed (180) hide show
  1. package/README.md +3 -0
  2. package/lib/components/Pagination/Pagination.d.ts +14 -14
  3. package/lib/components/Pagination/Pagination.js +12 -12
  4. package/lib/components/badgeCounter/BadgeCounter.d.ts +8 -8
  5. package/lib/components/badgeCounter/BadgeCounter.js +4 -4
  6. package/lib/components/card/cardHeader/CardHeader.d.ts +4 -4
  7. package/lib/components/card/cardHeader/CardHeader.js +14 -14
  8. package/lib/components/card/cardWrapper/CardWrapper.d.ts +2 -2
  9. package/lib/components/card/cardWrapper/CardWrapper.js +6 -6
  10. package/lib/components/card/detailsCard/DetailsCard.d.ts +14 -14
  11. package/lib/components/card/detailsCard/DetailsCard.js +11 -11
  12. package/lib/components/card/downloadCard/DownloadCard.d.ts +11 -11
  13. package/lib/components/card/downloadCard/DownloadCard.js +9 -9
  14. package/lib/components/card/horizontalImageCard/HorizontalImageCard.d.ts +13 -13
  15. package/lib/components/card/horizontalImageCard/HorizontalImageCard.js +10 -10
  16. package/lib/components/card/imageAndDetailsCard/ImageAndDetailsCard.d.ts +14 -14
  17. package/lib/components/card/imageAndDetailsCard/ImageAndDetailsCard.js +10 -10
  18. package/lib/components/card/index.d.ts +8 -8
  19. package/lib/components/card/index.js +8 -8
  20. package/lib/components/card/infoCard/InfoCard.d.ts +8 -8
  21. package/lib/components/card/infoCard/InfoCard.js +6 -6
  22. package/lib/components/codeBlock/CodeBlock.d.ts +6 -6
  23. package/lib/components/codeBlock/CodeBlock.js +3 -3
  24. package/lib/components/container/Container.d.ts +6 -6
  25. package/lib/components/container/Container.js +4 -4
  26. package/lib/components/denhaag-wrappers/breadcrumbs/Breadcrumbs.d.ts +17 -17
  27. package/lib/components/denhaag-wrappers/breadcrumbs/Breadcrumbs.js +20 -20
  28. package/lib/components/displaySwitch/DisplaySwitch.d.ts +18 -18
  29. package/lib/components/displaySwitch/DisplaySwitch.js +13 -13
  30. package/lib/components/formFields/checkbox/checkbox.d.ts +9 -9
  31. package/lib/components/formFields/checkbox/checkbox.js +3 -3
  32. package/lib/components/formFields/createKeyValue/CreateKeyValue.d.ts +23 -23
  33. package/lib/components/formFields/createKeyValue/CreateKeyValue.js +40 -40
  34. package/lib/components/formFields/date/Date.d.ts +12 -12
  35. package/lib/components/formFields/date/Date.js +10 -10
  36. package/lib/components/formFields/errorMessage/ErrorMessage.d.ts +5 -5
  37. package/lib/components/formFields/errorMessage/ErrorMessage.js +3 -3
  38. package/lib/components/formFields/index.d.ts +7 -7
  39. package/lib/components/formFields/index.js +7 -7
  40. package/lib/components/formFields/input.d.ts +22 -22
  41. package/lib/components/formFields/input.js +12 -12
  42. package/lib/components/formFields/select/select.d.ts +24 -24
  43. package/lib/components/formFields/select/select.js +74 -74
  44. package/lib/components/formFields/textarea.d.ts +10 -10
  45. package/lib/components/formFields/textarea.js +4 -4
  46. package/lib/components/formFields/types.d.ts +6 -6
  47. package/lib/components/formFields/types.js +1 -1
  48. package/lib/components/horizontalOverflowWrapper/HorizontalOverflowWrapper.d.ts +10 -10
  49. package/lib/components/horizontalOverflowWrapper/HorizontalOverflowWrapper.js +36 -36
  50. package/lib/components/imageDivider/ImageDivider.d.ts +7 -7
  51. package/lib/components/imageDivider/ImageDivider.js +6 -6
  52. package/lib/components/jumbotron/Jumbotron.d.ts +23 -23
  53. package/lib/components/jumbotron/Jumbotron.js +34 -34
  54. package/lib/components/logo/Logo.d.ts +8 -8
  55. package/lib/components/logo/Logo.js +9 -9
  56. package/lib/components/metaIcon/MetaIcon.d.ts +7 -7
  57. package/lib/components/metaIcon/MetaIcon.js +3 -3
  58. package/lib/components/notificationPopUp/NotificationPopUp.d.ts +27 -27
  59. package/lib/components/notificationPopUp/NotificationPopUp.js +34 -34
  60. package/lib/components/privateRoute/PrivateRoute.d.ts +6 -6
  61. package/lib/components/privateRoute/PrivateRoute.js +15 -15
  62. package/lib/components/quoteWrapper/QuoteWrapper.d.ts +7 -7
  63. package/lib/components/quoteWrapper/QuoteWrapper.js +5 -5
  64. package/lib/components/tabs/Tabs.d.ts +5 -5
  65. package/lib/components/tabs/Tabs.js +49 -49
  66. package/lib/components/tag/Tag.d.ts +10 -10
  67. package/lib/components/tag/Tag.js +6 -6
  68. package/lib/components/toolTip/ToolTip.d.ts +14 -14
  69. package/lib/components/toolTip/ToolTip.js +14 -14
  70. package/lib/components/topNav/index.d.ts +3 -3
  71. package/lib/components/topNav/index.js +3 -3
  72. package/lib/components/topNav/primaryTopNav/PrimaryTopNav.d.ts +39 -39
  73. package/lib/components/topNav/primaryTopNav/PrimaryTopNav.js +23 -23
  74. package/lib/components/topNav/secondaryTopNav/SecondaryTopNav.d.ts +12 -12
  75. package/lib/components/topNav/secondaryTopNav/SecondaryTopNav.js +7 -7
  76. package/lib/index.d.ts +29 -29
  77. package/lib/index.js +22 -22
  78. package/package.json +17 -17
  79. package/src/components/denhaag-wrappers/breadcrumbs/Breadcrumbs.css +222 -222
  80. package/src/components/formFields/checkbox/Checkbox.module.css +209 -3
  81. package/src/components/formFields/checkbox/checkbox.tsx +3 -2
  82. package/src/components/formFields/createKeyValue/CreateKeyValue.tsx +2 -2
  83. package/src/components/formFields/input.tsx +14 -14
  84. package/src/components/formFields/select/select.tsx +6 -6
  85. package/src/components/formFields/textarea.tsx +3 -2
  86. package/tsconfig.json +6 -3
  87. package/lib/components/Pagination/Pagination.module.css +0 -158
  88. package/lib/components/badgeCounter/BadgeCounter.module.css +0 -27
  89. package/lib/components/card/cardHeader/CardHeader.module.css +0 -36
  90. package/lib/components/card/cardWrapper/CardWrapper.module.css +0 -47
  91. package/lib/components/card/detailsCard/DetailsCard.module.css +0 -56
  92. package/lib/components/card/downloadCard/DownloadCard.module.css +0 -27
  93. package/lib/components/card/horizontalImageCard/HorizontalImageCard.module.css +0 -38
  94. package/lib/components/card/imageAndDetailsCard/ImageAndDetailsCard.module.css +0 -68
  95. package/lib/components/card/infoCard/InfoCard.module.css +0 -26
  96. package/lib/components/card/richContentCard/RichContentCard.d.ts +0 -19
  97. package/lib/components/card/richContentCard/RichContentCard.js +0 -15
  98. package/lib/components/card/richContentCard/RichContentCard.module.css +0 -103
  99. package/lib/components/codeBlock/CodeBlock.module.css +0 -6
  100. package/lib/components/container/Container.module.css +0 -12
  101. package/lib/components/denhaag-wrappers/breadcrumbs/Breadcrumbs.css +0 -222
  102. package/lib/components/denhaag-wrappers/pagination/Pagination.css +0 -120
  103. package/lib/components/denhaag-wrappers/pagination/Pagination.d.ts +0 -9
  104. package/lib/components/denhaag-wrappers/pagination/Pagination.js +0 -15
  105. package/lib/components/displaySwitch/DisplaySwitch.module.css +0 -3
  106. package/lib/components/editableTableRow/EditableTableRow.d.ts +0 -14
  107. package/lib/components/editableTableRow/EditableTableRow.js +0 -31
  108. package/lib/components/editableTableRow/EditableTableRow.module.css +0 -25
  109. package/lib/components/formFields/checkbox/Checkbox.module.css +0 -7
  110. package/lib/components/formFields/createKeyValue/CreateKeyValue.module.css +0 -65
  111. package/lib/components/formFields/date/Date.module.css +0 -12
  112. package/lib/components/formFields/errorMessage/ErrorMessage.module.css +0 -9
  113. package/lib/components/formFields/radio.d.ts +0 -9
  114. package/lib/components/formFields/radio.js +0 -3
  115. package/lib/components/formFields/select/select.module.css +0 -58
  116. package/lib/components/horizontalOverflowWrapper/HorizontalOverflowWrapper.module.css +0 -41
  117. package/lib/components/htmlParser/ParsedHTML.d.ts +0 -10
  118. package/lib/components/htmlParser/ParsedHTML.js +0 -17
  119. package/lib/components/htmlParser/ParsedHTML.module.css +0 -7
  120. package/lib/components/htmlParser/parser/alert/getAlert.d.ts +0 -1
  121. package/lib/components/htmlParser/parser/alert/getAlert.js +0 -18
  122. package/lib/components/htmlParser/parser/alert/getAlert.module.css +0 -28
  123. package/lib/components/htmlParser/parser/anchor/getAnchor.d.ts +0 -2
  124. package/lib/components/htmlParser/parser/anchor/getAnchor.js +0 -74
  125. package/lib/components/htmlParser/parser/code/getCode.d.ts +0 -1
  126. package/lib/components/htmlParser/parser/code/getCode.js +0 -11
  127. package/lib/components/htmlParser/parser/getBlockquote/getBlockquote.d.ts +0 -1
  128. package/lib/components/htmlParser/parser/getBlockquote/getBlockquote.js +0 -6
  129. package/lib/components/htmlParser/parser/header/getHeader.d.ts +0 -1
  130. package/lib/components/htmlParser/parser/header/getHeader.js +0 -15
  131. package/lib/components/htmlParser/parser/image/getImage.d.ts +0 -1
  132. package/lib/components/htmlParser/parser/image/getImage.js +0 -28
  133. package/lib/components/htmlParser/parser/list/getList.d.ts +0 -1
  134. package/lib/components/htmlParser/parser/list/getList.js +0 -12
  135. package/lib/components/htmlParser/parser/list/getList.module.css +0 -3
  136. package/lib/components/htmlParser/parser/listItem/getListItem.d.ts +0 -1
  137. package/lib/components/htmlParser/parser/listItem/getListItem.js +0 -12
  138. package/lib/components/htmlParser/parser/paragraph/getParagraph.d.ts +0 -1
  139. package/lib/components/htmlParser/parser/paragraph/getParagraph.js +0 -6
  140. package/lib/components/htmlParser/parser/svg/getSvg.d.ts +0 -1
  141. package/lib/components/htmlParser/parser/svg/getSvg.js +0 -8
  142. package/lib/components/htmlParser/parser/table/getTable.d.ts +0 -1
  143. package/lib/components/htmlParser/parser/table/getTable.js +0 -7
  144. package/lib/components/htmlParser/parser/table/getTable.module.css +0 -3
  145. package/lib/components/htmlParser/parser/tableBody/getTableBody.d.ts +0 -1
  146. package/lib/components/htmlParser/parser/tableBody/getTableBody.js +0 -7
  147. package/lib/components/htmlParser/parser/tableBody/getTableBody.module.css +0 -3
  148. package/lib/components/htmlParser/parser/tableCell/getTableCell.d.ts +0 -1
  149. package/lib/components/htmlParser/parser/tableCell/getTableCell.js +0 -7
  150. package/lib/components/htmlParser/parser/tableCell/getTableCell.module.css +0 -3
  151. package/lib/components/htmlParser/parser/tableHeader/getTableHeader.d.ts +0 -1
  152. package/lib/components/htmlParser/parser/tableHeader/getTableHeader.js +0 -7
  153. package/lib/components/htmlParser/parser/tableHeader/getTableHeader.module.css +0 -28
  154. package/lib/components/htmlParser/parser/tableHeaderCell/getTableHeaderCell.d.ts +0 -1
  155. package/lib/components/htmlParser/parser/tableHeaderCell/getTableHeaderCell.js +0 -6
  156. package/lib/components/htmlParser/parser/tableRow/getTableRow.d.ts +0 -1
  157. package/lib/components/htmlParser/parser/tableRow/getTableRow.js +0 -7
  158. package/lib/components/htmlParser/parser/tableRow/getTableRow.module.css +0 -29
  159. package/lib/components/htmlParser/parser/useHtmlParser.d.ts +0 -5
  160. package/lib/components/htmlParser/parser/useHtmlParser.js +0 -78
  161. package/lib/components/htmlParser/useGitHubDirectories.d.ts +0 -10
  162. package/lib/components/htmlParser/useGitHubDirectories.js +0 -31
  163. package/lib/components/imageDivider/imageDivider.module.css +0 -5
  164. package/lib/components/jumbotron/Jumbotron.module.css +0 -88
  165. package/lib/components/logo/Logo.module.css +0 -31
  166. package/lib/components/metaIcon/MetaIcon.module.css +0 -29
  167. package/lib/components/notificationPopUp/NotificationPopUp.module.css +0 -70
  168. package/lib/components/quoteWrapper/QuoteWrapper.module.css +0 -12
  169. package/lib/components/statusSteps/StatusSteps.d.ts +0 -13
  170. package/lib/components/statusSteps/StatusSteps.js +0 -5
  171. package/lib/components/tableWrapper/TableWrapper.d.ts +0 -4
  172. package/lib/components/tableWrapper/TableWrapper.js +0 -30
  173. package/lib/components/tableWrapper/TableWrapper.module.css +0 -67
  174. package/lib/components/tabs/Tabs.module.css +0 -247
  175. package/lib/components/tag/Tag.module.css +0 -44
  176. package/lib/components/toolTip/ToolTip.module.css +0 -35
  177. package/lib/components/topNav/primaryTopNav/PrimaryTopNav.module.css +0 -235
  178. package/lib/components/topNav/secondaryTopNav/SecondaryTopNav.module.css +0 -80
  179. package/lib/custom.d copy.d.ts +0 -5
  180. package/lib/custom.d copy.js +0 -1
@@ -1,29 +0,0 @@
1
- .tableRow:nth-child(odd) {
2
- background-color: var(--utrecht-table-row-alternate-odd-background-color);
3
- color: var(--utrecht-table-row-alternate-odd-color);
4
- }
5
-
6
- .tableRow:nth-child(odd):hover {
7
- background-color: var(--utrecht-table-row-hover-background-color);
8
- color: var(--utrecht-table-row-hover-color);
9
- }
10
-
11
- .tableRow:nth-child(even) {
12
- background-color: var(--utrecht-table-row-alternate-even-background-color);
13
- color: var(--utrecht-table-row-alternate-even-color);
14
- }
15
-
16
- .tableRow:nth-child(even):hover {
17
- background-color: var(--utrecht-table-row-hover-background-color);
18
- color: var(--utrecht-table-row-hover-color);
19
- }
20
-
21
- .tableRow:nth-child(even) {
22
- background-color: var(--utrecht-table-row-alternate-even-background-color);
23
- color: var(--utrecht-table-row-alternate-even-color);
24
- }
25
-
26
- .tableRow:nth-child(even):hover {
27
- background-color: var(--utrecht-table-row-hover-background-color);
28
- color: var(--utrecht-table-row-hover-color);
29
- }
@@ -1,5 +0,0 @@
1
- export declare const useHtmlParser: (location: string, directoriesJson: string) => {
2
- options: {
3
- replace: ({ attribs, parent, children, name }: any) => import("react/jsx-runtime").JSX.Element | undefined;
4
- };
5
- };
@@ -1,78 +0,0 @@
1
- import { attributesToProps } from "html-react-parser";
2
- import { getHeader } from "./header/getHeader";
3
- import { getAnchor } from "./anchor/getAnchor";
4
- import { getListItem } from "./listItem/getListItem";
5
- import { getImage } from "./image/getImage";
6
- import { getList } from "./list/getList";
7
- import { getParagraph } from "./paragraph/getParagraph";
8
- import { getBlockquote } from "./getBlockquote/getBlockquote";
9
- import { getTable } from "./table/getTable";
10
- import { getTableRow } from "./tableRow/getTableRow";
11
- import { getTableHeader } from "./tableHeader/getTableHeader";
12
- import { getTableHeaderCell } from "./tableHeaderCell/getTableHeaderCell";
13
- import { getTableBody } from "./tableBody/getTableBody";
14
- import { getTableCell } from "./tableCell/getTableCell";
15
- import { getCode } from "./code/getCode";
16
- import { getAlert } from "./alert/getAlert";
17
- import { useGitHubDirectories } from "../useGitHubDirectories";
18
- import { getSvg } from "./svg/getSvg";
19
- export const useHtmlParser = (location, directoriesJson) => {
20
- const { directories } = useGitHubDirectories(directoriesJson);
21
- const options = {
22
- replace: ({ attribs, parent, children, name }) => {
23
- if (!attribs) {
24
- return;
25
- }
26
- const props = attributesToProps(attribs);
27
- if (attribs && (name === "h1" || name === "h2" || name === "h3" || name === "h4")) {
28
- return getHeader(name, props, children, options);
29
- }
30
- if (attribs && name === "p") {
31
- return getParagraph(props, children, options);
32
- }
33
- if (attribs && name === "a") {
34
- return getAnchor(props, children, options, directories, location);
35
- }
36
- if (attribs && (name === "ol" || name === "ul")) {
37
- return getList(name, props, children, options);
38
- }
39
- if (attribs && name === "li") {
40
- return getListItem(props, parent, children, options);
41
- }
42
- if (attribs && name === "img") {
43
- return getImage(props);
44
- }
45
- if (attribs && name === "blockquote") {
46
- return getBlockquote(children, options);
47
- }
48
- if (attribs && name === "div" && attribs.class?.includes("markdown-alert")) {
49
- return getAlert(children, options, attribs.class);
50
- }
51
- if (attribs && name === "table") {
52
- return getTable(props, children, options);
53
- }
54
- if (attribs && name === "tr") {
55
- return getTableRow(props, children, options);
56
- }
57
- if (attribs && name === "thead") {
58
- return getTableHeader(props, children, options);
59
- }
60
- if (attribs && name === "th") {
61
- return getTableHeaderCell(props, children, options);
62
- }
63
- if (attribs && name === "tbody") {
64
- return getTableBody(props, children, options);
65
- }
66
- if (attribs && name === "td") {
67
- return getTableCell(props, children, options);
68
- }
69
- if (attribs && name === "svg") {
70
- return getSvg(props, children, options);
71
- }
72
- if (attribs && (name === "code" || name === "pre")) {
73
- return getCode(name, props, children, options);
74
- }
75
- },
76
- };
77
- return { options };
78
- };
@@ -1,10 +0,0 @@
1
- export declare type TGitHubDirectory = {
2
- name: string;
3
- location: string;
4
- };
5
- export declare const useGitHubDirectories: (test: string) => {
6
- directories: TGitHubDirectory[];
7
- getSlugFromName: (name: string) => string;
8
- getDirectoryReadMeLocation: (pageSlug: string) => string;
9
- getDetailMdLocation: (pageSlug: string, detailPageSlug: string) => string;
10
- };
@@ -1,31 +0,0 @@
1
- import * as React from "react";
2
- export const useGitHubDirectories = (test) => {
3
- const [directories, setDirectories] = React.useState([]);
4
- React.useEffect(() => {
5
- const gitHubDirectoryPathsString = test;
6
- if (!gitHubDirectoryPathsString)
7
- return;
8
- try {
9
- const directories = JSON.parse(gitHubDirectoryPathsString);
10
- setDirectories(directories);
11
- }
12
- catch {
13
- console.warn("Something went wrong parsing the GitHub directories.");
14
- }
15
- }, []);
16
- const getSlugFromName = (name) => name.replace(" ", "-");
17
- const getNameFromSlug = (slug) => slug.replace("-", " "); // internal function
18
- const getDirectoryReadMeLocation = (pageSlug) => {
19
- const directory = directories.find((directory) => directory.name === getNameFromSlug(pageSlug));
20
- if (!directory)
21
- return "";
22
- return `${directory.location}/README.md`;
23
- };
24
- const getDetailMdLocation = (pageSlug, detailPageSlug) => {
25
- const directory = directories.find((directory) => directory.name === getNameFromSlug(pageSlug));
26
- if (!directory)
27
- return "";
28
- return `${directory.location}/${getNameFromSlug(detailPageSlug)}.md`;
29
- };
30
- return { directories, getSlugFromName, getDirectoryReadMeLocation, getDetailMdLocation };
31
- };
@@ -1,5 +0,0 @@
1
- .divider {
2
- display: block;
3
- object-fit: cover;
4
- width: 100%;
5
- }
@@ -1,88 +0,0 @@
1
- .wrapper {
2
- padding-block-start: 72px;
3
- padding-block-end: 72px;
4
- width: auto !important;
5
- }
6
-
7
- .backgroundImageWrapper {
8
- background-size: cover;
9
- background-position: 48% 39%;
10
- max-width: 100%;
11
- padding: 5rem 0 10rem;
12
- }
13
-
14
- .rightImageWrapper {
15
- padding-block: 48px;
16
- background-color: var(--utrecht-page-header-background-color) !important;
17
- }
18
-
19
- .imageRightContainer {
20
- display: flex;
21
- margin: auto;
22
- justify-content: space-between;
23
- gap: var(--utrecht-space-inline-xl);
24
- align-items: center;
25
- }
26
-
27
- .headerSearchForm > *:not(:last-child) {
28
- margin-block-end: 32px;
29
- }
30
-
31
- .headerSearchForm > .subHeading2 {
32
- width: 100%;
33
- max-width: 800px;
34
- margin-block-end: 48px;
35
- }
36
-
37
- .card {
38
- width: fit-content;
39
- padding-inline-start: 48px;
40
- padding-inline-end: 48px;
41
- padding-block-start: 40px;
42
- padding-block-end: 40px;
43
- border-bottom: var(--conduction-card-wrapper-border-width) var(--conduction-card-wrapper-border-style) var(--conduction-card-wrapper-border-color);
44
- }
45
-
46
- .card:hover {
47
- background-color: var(--conduction-card-wrapper-background-color);
48
- cursor: default;
49
- border-bottom: var(--conduction-card-wrapper-border-width) var(--conduction-card-wrapper-border-style) var(--conduction-card-wrapper-border-color);
50
- }
51
-
52
- .cardTitle,
53
- .cardAndImageTitle {
54
- border-block-end: var(--conduction-card-wrapper-header-border-block-end);
55
- color: var(--conduction-card-header-title-color, var(--conduction-card-wrapper-color)) !important;
56
- }
57
-
58
- .cardAndImageTitle {
59
- width: max-content;
60
- }
61
-
62
- .cardSubTitle,
63
- .subTitle {
64
- position: relative;
65
- font-style: italic;
66
- display: block;
67
- margin-block-end: var(--utrecht-space-block-md);
68
- font-size: var(--utrecht-document-font-size);
69
- }
70
-
71
- .cardDescription {
72
- color: var(--conduction-card-wrapper-color) !important;
73
- }
74
-
75
- .image {
76
- width: 50% !important;
77
- object-fit: contain;
78
- }
79
-
80
- .title,
81
- .description,
82
- .subTitle {
83
- color: var(--utrecht-page-header-color) !important;
84
- }
85
-
86
- .titleSingle {
87
- margin-block-end: var(--utrecht-space-block-2xs);
88
- }
@@ -1,31 +0,0 @@
1
- :root {
2
- --conduction-logo-header-inline-size: 220px;
3
- --conduction-logo-header-block-size: 40px;
4
- --conduction-logo-header-background-image: url("https://conduction.nl/wp-content/uploads/2021/07/cropped-conductionlogo-1.png");
5
-
6
- --conduction-logo-footer-inline-size: 330px;
7
- --conduction-logo-footer-block-size: 60px;
8
- --conduction-logo-footer-background-image: url("https://conduction.nl/wp-content/uploads/2021/07/cropped-conductionlogo-1.png");
9
- }
10
-
11
- .container {
12
- background-size: contain;
13
- background-position: center;
14
- background-repeat: no-repeat;
15
- }
16
-
17
- .container.header {
18
- inline-size: var(--conduction-logo-header-inline-size);
19
- block-size: var(--conduction-logo-header-block-size);
20
- background-image: var(--conduction-logo-header-background-image);
21
- }
22
-
23
- .container.footer {
24
- inline-size: var(--conduction-logo-footer-inline-size);
25
- block-size: var(--conduction-logo-footer-block-size);
26
- background-image: var(--conduction-logo-footer-background-image);
27
- }
28
-
29
- .container.clickable:hover {
30
- cursor: pointer;
31
- }
@@ -1,29 +0,0 @@
1
- :root {
2
- --conduction-meta-icon-icon-size: var(--skeleton-size-lg);
3
- --conduction-meta-icon-icon-color: var(--skeleton-color-secondary-4);
4
- }
5
-
6
- .container {
7
- display: flex;
8
- align-items: center;
9
- flex-direction: column;
10
- }
11
-
12
- .container > *:not(:last-child) {
13
- margin-block-end: var(--skeleton-size-xs);
14
- }
15
-
16
- .icon {
17
- color: var(--conduction-meta-icon-icon-color);
18
- height: var(--conduction-meta-icon-icon-size);
19
- width: var(--conduction-meta-icon-icon-size);
20
- }
21
-
22
- .icon > svg {
23
- height: 100%;
24
- width: 100%;
25
- }
26
-
27
- .value {
28
- font-weight: var(--skeleton-font-weight-bold);
29
- }
@@ -1,70 +0,0 @@
1
- :root {
2
- --conduction-notification-pop-up-box-shadow: 0px 0px 6px 6px rgb(0 0 0 / 15%);
3
- --conduction-notification-pop-up-border: 1px solid var(--skeleton-color-grey-2);
4
- }
5
-
6
- :export {
7
- animationDuration: 200ms;
8
- }
9
-
10
- .modal {
11
- animation-fill-mode: both;
12
- background: var(--skeleton-color-grey-1);
13
- padding-inline-start: var(--skeleton-size-lg);
14
- padding-inline-end: var(--skeleton-size-lg);
15
- padding-block-start: var(--skeleton-size-lg);
16
- padding-block-end: var(--skeleton-size-lg);
17
- border-radius: var(--skeleton-border-radius-md);
18
- box-shadow: var(--conduction-notification-pop-up-box-shadow);
19
- }
20
-
21
- .modal > *:not(:last-child) {
22
- margin-block-end: var(--skeleton-size-md);
23
- }
24
-
25
- .buttons {
26
- display: flex;
27
- justify-content: flex-end;
28
- align-items: center;
29
- }
30
-
31
- .buttons > *:not(:last-child) {
32
- margin-inline-end: var(--skeleton-size-md);
33
- }
34
-
35
- .button {
36
- display: flex;
37
- gap: 8px;
38
- }
39
-
40
- .visible {
41
- animation-name: fadeInBottom;
42
- }
43
-
44
- .link > * {
45
- margin-inline-end: 8px;
46
- }
47
-
48
- @keyframes fadeInBottom {
49
- from {
50
- opacity: 0;
51
- transform: translateY(50%);
52
- }
53
- to {
54
- opacity: 1;
55
- }
56
- }
57
-
58
- .modal:not(.visible) {
59
- animation-name: fadeOutBottom;
60
- }
61
-
62
- @keyframes fadeOutBottom {
63
- from {
64
- opacity: 1;
65
- }
66
- to {
67
- opacity: 0;
68
- transform: translateY(50%);
69
- }
70
- }
@@ -1,12 +0,0 @@
1
- :root {
2
- --conduction-quote-wrapper-border-width: var(--skeleton-size-sm);
3
- --conduction-quote-wrapper-border-color: var(--skeleton-color-grey-1);
4
- --conduction-quote-wrapper-padding-inline: var(--skeleton-size-lg);
5
- }
6
-
7
- .container {
8
- border-left-width: var(--conduction-quote-wrapper-border-width);
9
- border-left-style: solid;
10
- border-left-color: var(--conduction-quote-wrapper-border-color);
11
- padding-inline-start: var(--conduction-quote-wrapper-padding-inline);
12
- }
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- interface IStatusStep {
3
- title: string;
4
- checked?: boolean;
5
- current?: boolean;
6
- expanded?: boolean;
7
- subSteps?: string[];
8
- }
9
- interface StatusStepsProps {
10
- steps: IStatusStep[];
11
- }
12
- export declare const StatusSteps: ({ steps }: StatusStepsProps) => JSX.Element;
13
- export {};
@@ -1,5 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Step, StepExpandedIcon, StepHeader, StepHeading, StepList, StepMarker, StepSection, SubStep, SubStepHeading, SubStepList, SubStepMarker, } from "@gemeente-denhaag/process-steps";
3
- export const StatusSteps = ({ steps }) => {
4
- return (_jsx(StepList, { children: steps.map(({ title, checked, current, expanded, subSteps }, idx) => (_jsxs(Step, { ...{ checked, current, expanded }, children: [_jsx(StepSection, { children: _jsxs(StepHeader, { children: [_jsx(StepMarker, { children: idx + 1 }), _jsx(StepHeading, { children: title }), subSteps && _jsx(StepExpandedIcon, {})] }) }), subSteps && (_jsx(SubStepList, { children: subSteps.map((subStep) => (_jsxs(SubStep, { children: [_jsx(SubStepMarker, {}), _jsx(SubStepHeading, { children: subStep })] }, idx))) }))] }, idx))) }));
5
- };
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- export declare const TableWrapper: React.FC<{
3
- children: React.ReactNode;
4
- }>;
@@ -1,30 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import React, { useState, useEffect } from "react";
3
- import * as styles from "./TableWrapper.module.css";
4
- import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
5
- import { faChevronLeft, faChevronRight } from "@fortawesome/free-solid-svg-icons";
6
- export const TableWrapper = ({ children }) => {
7
- const [canScrollRight, setCanScrollRight] = useState(false);
8
- const [canScrollLeft, setCanScrollLeft] = useState(false);
9
- const wrapperRef = React.useRef(null);
10
- const handleScroll = () => {
11
- if (wrapperRef.current) {
12
- setCanScrollLeft(wrapperRef.current.scrollLeft > 0);
13
- setCanScrollRight(wrapperRef.current.scrollWidth - wrapperRef.current.scrollLeft > wrapperRef.current.clientWidth);
14
- }
15
- };
16
- const handleScrollRight = () => {
17
- if (wrapperRef.current)
18
- wrapperRef.current.scrollTo({ left: wrapperRef.current.scrollWidth, behavior: "smooth" });
19
- };
20
- const handleScrollLeft = () => {
21
- if (wrapperRef.current)
22
- wrapperRef.current.scrollTo({ left: 0, behavior: "smooth" });
23
- };
24
- useEffect(() => {
25
- if (wrapperRef.current) {
26
- setCanScrollRight(wrapperRef.current.scrollWidth > wrapperRef.current.clientWidth); // initiate scroll
27
- }
28
- }, []);
29
- return (_jsx("div", { className: styles.container, children: _jsxs("div", { onScroll: handleScroll, ref: wrapperRef, className: styles.wrapper, children: [canScrollLeft && (_jsx("div", { onClick: handleScrollLeft, className: styles.scrollLeftButton, children: _jsx("div", { className: styles.scrollButton, children: _jsx(FontAwesomeIcon, { icon: faChevronLeft }) }) })), children, canScrollRight && (_jsx("div", { onClick: handleScrollRight, className: styles.scrollRightButton, children: _jsx("div", { className: styles.scrollButton, children: _jsx(FontAwesomeIcon, { icon: faChevronRight }) }) }))] }) }));
30
- };
@@ -1,67 +0,0 @@
1
- :root {
2
- --conduction-table-wrapper-scroll-button-background-color: #ffffff;
3
- --conduction-table-wrapper-scroll-button-color: #000000;
4
- --conduction-table-wrapper-scroll-button-padding-inline-start: 14px;
5
- --conduction-table-wrapper-scroll-button-padding-inline-end: 14px;
6
- /* --conduction-table-wrapper-scroll-button-padding-block-start: 10px; */
7
- /* --conduction-table-wrapper-scroll-button-padding-block-end: 10px; */
8
- /* --conduction-table-wrapper-scroll-button-border-color: 1px; */
9
- /* --conduction-table-wrapper-scroll-button-border-color: solid; */
10
- /* --conduction-table-wrapper-scroll-button-border-color: #000000; */
11
-
12
- --conduction-table-wrapper-scroll-button-hover-background-color: #ffffff;
13
- --conduction-table-wrapper-scroll-button-hover-color: #4376fc;
14
- }
15
- .container {
16
- position: relative;
17
- }
18
-
19
- .wrapper,
20
- .wrapperTouchscreen {
21
- overflow-x: scroll;
22
- }
23
-
24
- .scrollRightButton,
25
- .scrollLeftButton {
26
- top: 0%;
27
- position: absolute;
28
- display: flex;
29
- height: 100%;
30
- background-color: var(--conduction-table-wrapper-scroll-button-background-color);
31
- color: var(--conduction-table-wrapper-scroll-button-color);
32
- padding-inline-start: var(--conduction-table-wrapper-scroll-button-padding-inline-start);
33
- padding-inline-end: var(--conduction-table-wrapper-scroll-button-padding-inline-end);
34
- padding-block-start: var(--conduction-table-wrapper-scroll-button-padding-block-start);
35
- padding-block-end: var(--conduction-table-wrapper-scroll-button-padding-block-end);
36
- border-width: var(--conduction-table-wrapper-scroll-button-border-width);
37
- border-style: var(--conduction-table-wrapper-scroll-button-border-style);
38
- border-color: var(--conduction-table-wrapper-scroll-button-border-color);
39
- }
40
-
41
- .scrollLeftButton:hover,
42
- .scrollRightButton:hover {
43
- background-color: var(--conduction-table-wrapper-scroll-button-hover-background-color);
44
- color: var(--conduction-table-wrapper-scroll-button-hover-color);
45
- cursor: pointer;
46
- }
47
-
48
- .scrollRightButton {
49
- right: 0;
50
- }
51
-
52
- .scrollLeftButton {
53
- left: 0;
54
- }
55
-
56
- .scrollButton {
57
- align-self: center;
58
- }
59
-
60
- /* Hide scrollbar */
61
- .wrapper::-webkit-scrollbar {
62
- display: none;
63
- }
64
- .wrapper {
65
- -ms-overflow-style: none;
66
- scrollbar-width: none;
67
- }