@conduction/components 2.2.25 → 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 (181) hide show
  1. package/README.md +4 -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 -26
  59. package/lib/components/notificationPopUp/NotificationPopUp.js +34 -32
  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/src/components/notificationPopUp/NotificationPopUp.tsx +11 -4
  87. package/tsconfig.json +6 -3
  88. package/lib/components/Pagination/Pagination.module.css +0 -158
  89. package/lib/components/badgeCounter/BadgeCounter.module.css +0 -27
  90. package/lib/components/card/cardHeader/CardHeader.module.css +0 -36
  91. package/lib/components/card/cardWrapper/CardWrapper.module.css +0 -47
  92. package/lib/components/card/detailsCard/DetailsCard.module.css +0 -56
  93. package/lib/components/card/downloadCard/DownloadCard.module.css +0 -27
  94. package/lib/components/card/horizontalImageCard/HorizontalImageCard.module.css +0 -38
  95. package/lib/components/card/imageAndDetailsCard/ImageAndDetailsCard.module.css +0 -68
  96. package/lib/components/card/infoCard/InfoCard.module.css +0 -26
  97. package/lib/components/card/richContentCard/RichContentCard.d.ts +0 -19
  98. package/lib/components/card/richContentCard/RichContentCard.js +0 -15
  99. package/lib/components/card/richContentCard/RichContentCard.module.css +0 -103
  100. package/lib/components/codeBlock/CodeBlock.module.css +0 -6
  101. package/lib/components/container/Container.module.css +0 -12
  102. package/lib/components/denhaag-wrappers/breadcrumbs/Breadcrumbs.css +0 -222
  103. package/lib/components/denhaag-wrappers/pagination/Pagination.css +0 -120
  104. package/lib/components/denhaag-wrappers/pagination/Pagination.d.ts +0 -9
  105. package/lib/components/denhaag-wrappers/pagination/Pagination.js +0 -15
  106. package/lib/components/displaySwitch/DisplaySwitch.module.css +0 -3
  107. package/lib/components/editableTableRow/EditableTableRow.d.ts +0 -14
  108. package/lib/components/editableTableRow/EditableTableRow.js +0 -31
  109. package/lib/components/editableTableRow/EditableTableRow.module.css +0 -25
  110. package/lib/components/formFields/checkbox/Checkbox.module.css +0 -7
  111. package/lib/components/formFields/createKeyValue/CreateKeyValue.module.css +0 -65
  112. package/lib/components/formFields/date/Date.module.css +0 -12
  113. package/lib/components/formFields/errorMessage/ErrorMessage.module.css +0 -9
  114. package/lib/components/formFields/radio.d.ts +0 -9
  115. package/lib/components/formFields/radio.js +0 -3
  116. package/lib/components/formFields/select/select.module.css +0 -58
  117. package/lib/components/horizontalOverflowWrapper/HorizontalOverflowWrapper.module.css +0 -41
  118. package/lib/components/htmlParser/ParsedHTML.d.ts +0 -10
  119. package/lib/components/htmlParser/ParsedHTML.js +0 -17
  120. package/lib/components/htmlParser/ParsedHTML.module.css +0 -7
  121. package/lib/components/htmlParser/parser/alert/getAlert.d.ts +0 -1
  122. package/lib/components/htmlParser/parser/alert/getAlert.js +0 -18
  123. package/lib/components/htmlParser/parser/alert/getAlert.module.css +0 -28
  124. package/lib/components/htmlParser/parser/anchor/getAnchor.d.ts +0 -2
  125. package/lib/components/htmlParser/parser/anchor/getAnchor.js +0 -74
  126. package/lib/components/htmlParser/parser/code/getCode.d.ts +0 -1
  127. package/lib/components/htmlParser/parser/code/getCode.js +0 -11
  128. package/lib/components/htmlParser/parser/getBlockquote/getBlockquote.d.ts +0 -1
  129. package/lib/components/htmlParser/parser/getBlockquote/getBlockquote.js +0 -6
  130. package/lib/components/htmlParser/parser/header/getHeader.d.ts +0 -1
  131. package/lib/components/htmlParser/parser/header/getHeader.js +0 -15
  132. package/lib/components/htmlParser/parser/image/getImage.d.ts +0 -1
  133. package/lib/components/htmlParser/parser/image/getImage.js +0 -28
  134. package/lib/components/htmlParser/parser/list/getList.d.ts +0 -1
  135. package/lib/components/htmlParser/parser/list/getList.js +0 -12
  136. package/lib/components/htmlParser/parser/list/getList.module.css +0 -3
  137. package/lib/components/htmlParser/parser/listItem/getListItem.d.ts +0 -1
  138. package/lib/components/htmlParser/parser/listItem/getListItem.js +0 -12
  139. package/lib/components/htmlParser/parser/paragraph/getParagraph.d.ts +0 -1
  140. package/lib/components/htmlParser/parser/paragraph/getParagraph.js +0 -6
  141. package/lib/components/htmlParser/parser/svg/getSvg.d.ts +0 -1
  142. package/lib/components/htmlParser/parser/svg/getSvg.js +0 -8
  143. package/lib/components/htmlParser/parser/table/getTable.d.ts +0 -1
  144. package/lib/components/htmlParser/parser/table/getTable.js +0 -7
  145. package/lib/components/htmlParser/parser/table/getTable.module.css +0 -3
  146. package/lib/components/htmlParser/parser/tableBody/getTableBody.d.ts +0 -1
  147. package/lib/components/htmlParser/parser/tableBody/getTableBody.js +0 -7
  148. package/lib/components/htmlParser/parser/tableBody/getTableBody.module.css +0 -3
  149. package/lib/components/htmlParser/parser/tableCell/getTableCell.d.ts +0 -1
  150. package/lib/components/htmlParser/parser/tableCell/getTableCell.js +0 -7
  151. package/lib/components/htmlParser/parser/tableCell/getTableCell.module.css +0 -3
  152. package/lib/components/htmlParser/parser/tableHeader/getTableHeader.d.ts +0 -1
  153. package/lib/components/htmlParser/parser/tableHeader/getTableHeader.js +0 -7
  154. package/lib/components/htmlParser/parser/tableHeader/getTableHeader.module.css +0 -28
  155. package/lib/components/htmlParser/parser/tableHeaderCell/getTableHeaderCell.d.ts +0 -1
  156. package/lib/components/htmlParser/parser/tableHeaderCell/getTableHeaderCell.js +0 -6
  157. package/lib/components/htmlParser/parser/tableRow/getTableRow.d.ts +0 -1
  158. package/lib/components/htmlParser/parser/tableRow/getTableRow.js +0 -7
  159. package/lib/components/htmlParser/parser/tableRow/getTableRow.module.css +0 -29
  160. package/lib/components/htmlParser/parser/useHtmlParser.d.ts +0 -5
  161. package/lib/components/htmlParser/parser/useHtmlParser.js +0 -78
  162. package/lib/components/htmlParser/useGitHubDirectories.d.ts +0 -10
  163. package/lib/components/htmlParser/useGitHubDirectories.js +0 -31
  164. package/lib/components/imageDivider/imageDivider.module.css +0 -5
  165. package/lib/components/jumbotron/Jumbotron.module.css +0 -88
  166. package/lib/components/logo/Logo.module.css +0 -31
  167. package/lib/components/metaIcon/MetaIcon.module.css +0 -29
  168. package/lib/components/notificationPopUp/NotificationPopUp.module.css +0 -70
  169. package/lib/components/quoteWrapper/QuoteWrapper.module.css +0 -12
  170. package/lib/components/statusSteps/StatusSteps.d.ts +0 -13
  171. package/lib/components/statusSteps/StatusSteps.js +0 -5
  172. package/lib/components/tableWrapper/TableWrapper.d.ts +0 -4
  173. package/lib/components/tableWrapper/TableWrapper.js +0 -30
  174. package/lib/components/tableWrapper/TableWrapper.module.css +0 -67
  175. package/lib/components/tabs/Tabs.module.css +0 -247
  176. package/lib/components/tag/Tag.module.css +0 -44
  177. package/lib/components/toolTip/ToolTip.module.css +0 -35
  178. package/lib/components/topNav/primaryTopNav/PrimaryTopNav.module.css +0 -235
  179. package/lib/components/topNav/secondaryTopNav/SecondaryTopNav.module.css +0 -80
  180. package/lib/custom.d copy.d.ts +0 -5
  181. package/lib/custom.d copy.js +0 -1
@@ -1,49 +1,49 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as React from "react";
3
- import * as styles from "./Tabs.module.css";
4
- import { Tabs as RTabs, TabList as RTabList, Tab as RTab, TabPanel as RTabPanel, } from "react-tabs";
5
- import clsx from "clsx";
6
- import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
7
- import { faChevronLeft, faChevronRight } from "@fortawesome/free-solid-svg-icons";
8
- // Tabs
9
- export const Tabs = ({ children, ...otherProps }) => (_jsx(RTabs, { className: styles.tabs, ...otherProps, children: children }));
10
- Tabs.tabsRole = "Tabs";
11
- // TabList
12
- export const TabList = ({ children, ...otherProps }) => {
13
- const [canScrollRight, setCanScrollRight] = React.useState(false);
14
- const [canScrollLeft, setCanScrollLeft] = React.useState(false);
15
- const wrapperRef = React.useRef(null);
16
- const handleScroll = () => {
17
- if (wrapperRef.current) {
18
- setCanScrollLeft(wrapperRef.current.scrollLeft > 0);
19
- setCanScrollRight(wrapperRef.current.scrollWidth - wrapperRef.current.scrollLeft > wrapperRef.current.clientWidth);
20
- }
21
- };
22
- const handleScrollRight = () => {
23
- if (wrapperRef.current)
24
- wrapperRef.current.scrollTo({
25
- left: wrapperRef.current.scrollLeft + wrapperRef.current.clientWidth * 0.9,
26
- behavior: "smooth",
27
- });
28
- };
29
- const handleScrollLeft = () => {
30
- if (wrapperRef.current)
31
- wrapperRef.current.scrollTo({
32
- left: wrapperRef.current.scrollLeft - wrapperRef.current.clientWidth * 0.9,
33
- behavior: "smooth",
34
- });
35
- };
36
- React.useEffect(() => {
37
- if (wrapperRef.current) {
38
- setCanScrollRight(wrapperRef.current.scrollWidth > wrapperRef.current.clientWidth); // initiate scroll
39
- }
40
- }, []);
41
- return (_jsx("div", { className: styles.container, children: _jsx("div", { onScroll: handleScroll, ref: wrapperRef, className: clsx(styles.wrapper), children: _jsxs("div", { className: styles.tabListContainer, children: [canScrollLeft && (_jsx("div", { onClick: handleScrollLeft, className: clsx(canScrollLeft && styles.scrollLeftButton, styles.tabButton), children: _jsx("span", { className: styles.scrollButton, children: _jsx(FontAwesomeIcon, { icon: faChevronLeft }) }) })), _jsx(RTabList, { className: clsx(canScrollRight || canScrollLeft ? styles.tabListOverflow : styles.tabList), ...otherProps, children: children }), canScrollRight && (_jsx("div", { onClick: handleScrollRight, className: clsx(canScrollRight && styles.scrollRightButton, styles.tabButton), children: _jsx("span", { className: styles.scrollButton, children: _jsx(FontAwesomeIcon, { icon: faChevronRight }) }) }))] }) }) }));
42
- };
43
- TabList.tabsRole = "TabList";
44
- // Tab
45
- export const Tab = ({ children, ...otherProps }) => (_jsx(RTab, { className: styles.tab, ...otherProps, children: children }));
46
- Tab.tabsRole = "Tab";
47
- // TabPanel
48
- export const TabPanel = ({ children, ...otherProps }) => (_jsx(RTabPanel, { ...otherProps, children: children }));
49
- TabPanel.tabsRole = "TabPanel";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as React from "react";
3
+ import * as styles from "./Tabs.module.css";
4
+ import { Tabs as RTabs, TabList as RTabList, Tab as RTab, TabPanel as RTabPanel, } from "react-tabs";
5
+ import clsx from "clsx";
6
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
7
+ import { faChevronLeft, faChevronRight } from "@fortawesome/free-solid-svg-icons";
8
+ // Tabs
9
+ export const Tabs = ({ children, ...otherProps }) => (_jsx(RTabs, { className: styles.tabs, ...otherProps, children: children }));
10
+ Tabs.tabsRole = "Tabs";
11
+ // TabList
12
+ export const TabList = ({ children, ...otherProps }) => {
13
+ const [canScrollRight, setCanScrollRight] = React.useState(false);
14
+ const [canScrollLeft, setCanScrollLeft] = React.useState(false);
15
+ const wrapperRef = React.useRef(null);
16
+ const handleScroll = () => {
17
+ if (wrapperRef.current) {
18
+ setCanScrollLeft(wrapperRef.current.scrollLeft > 0);
19
+ setCanScrollRight(wrapperRef.current.scrollWidth - wrapperRef.current.scrollLeft > wrapperRef.current.clientWidth);
20
+ }
21
+ };
22
+ const handleScrollRight = () => {
23
+ if (wrapperRef.current)
24
+ wrapperRef.current.scrollTo({
25
+ left: wrapperRef.current.scrollLeft + wrapperRef.current.clientWidth * 0.9,
26
+ behavior: "smooth",
27
+ });
28
+ };
29
+ const handleScrollLeft = () => {
30
+ if (wrapperRef.current)
31
+ wrapperRef.current.scrollTo({
32
+ left: wrapperRef.current.scrollLeft - wrapperRef.current.clientWidth * 0.9,
33
+ behavior: "smooth",
34
+ });
35
+ };
36
+ React.useEffect(() => {
37
+ if (wrapperRef.current) {
38
+ setCanScrollRight(wrapperRef.current.scrollWidth > wrapperRef.current.clientWidth); // initiate scroll
39
+ }
40
+ }, []);
41
+ return (_jsx("div", { className: styles.container, children: _jsx("div", { onScroll: handleScroll, ref: wrapperRef, className: clsx(styles.wrapper), children: _jsxs("div", { className: styles.tabListContainer, children: [canScrollLeft && (_jsx("div", { onClick: handleScrollLeft, className: clsx(canScrollLeft && styles.scrollLeftButton, styles.tabButton), children: _jsx("span", { className: styles.scrollButton, children: _jsx(FontAwesomeIcon, { icon: faChevronLeft }) }) })), _jsx(RTabList, { className: clsx(canScrollRight || canScrollLeft ? styles.tabListOverflow : styles.tabList), ...otherProps, children: children }), canScrollRight && (_jsx("div", { onClick: handleScrollRight, className: clsx(canScrollRight && styles.scrollRightButton, styles.tabButton), children: _jsx("span", { className: styles.scrollButton, children: _jsx(FontAwesomeIcon, { icon: faChevronRight }) }) }))] }) }) }));
42
+ };
43
+ TabList.tabsRole = "TabList";
44
+ // Tab
45
+ export const Tab = ({ children, ...otherProps }) => (_jsx(RTab, { className: styles.tab, ...otherProps, children: children }));
46
+ Tab.tabsRole = "Tab";
47
+ // TabPanel
48
+ export const TabPanel = ({ children, ...otherProps }) => (_jsx(RTabPanel, { ...otherProps, children: children }));
49
+ TabPanel.tabsRole = "TabPanel";
@@ -1,10 +1,10 @@
1
- /// <reference types="react" />
2
- interface TagProps {
3
- label: string;
4
- icon?: JSX.Element;
5
- onClick?: () => any;
6
- remove?: () => any;
7
- layoutClassName?: string;
8
- }
9
- export declare const Tag: ({ label, icon, onClick, remove, layoutClassName }: TagProps) => JSX.Element;
10
- export {};
1
+ /// <reference types="react" />
2
+ interface TagProps {
3
+ label: string;
4
+ icon?: JSX.Element;
5
+ onClick?: () => any;
6
+ remove?: () => any;
7
+ layoutClassName?: string;
8
+ }
9
+ export declare const Tag: ({ label, icon, onClick, remove, layoutClassName }: TagProps) => JSX.Element;
10
+ export {};
@@ -1,6 +1,6 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as styles from "./Tag.module.css";
3
- import clsx from "clsx";
4
- import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
5
- import { faXmark } from "@fortawesome/free-solid-svg-icons";
6
- export const Tag = ({ label, icon, onClick, remove, layoutClassName }) => (_jsxs("div", { className: remove && styles.tagContainer, children: [_jsxs("div", { className: clsx(styles.tag, [layoutClassName && layoutClassName], onClick && styles.clickable, remove && styles.remove), ...{ onClick }, children: [icon && _jsx("span", { children: icon }), _jsx("span", { children: label })] }), remove && (_jsx("div", { className: clsx(styles.tag, styles.removeTag), onClick: remove, children: _jsx("span", { children: _jsx(FontAwesomeIcon, { icon: faXmark }) }) }))] }));
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as styles from "./Tag.module.css";
3
+ import clsx from "clsx";
4
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
5
+ import { faXmark } from "@fortawesome/free-solid-svg-icons";
6
+ export const Tag = ({ label, icon, onClick, remove, layoutClassName }) => (_jsxs("div", { className: remove && styles.tagContainer, children: [_jsxs("div", { className: clsx(styles.tag, [layoutClassName && layoutClassName], onClick && styles.clickable, remove && styles.remove), onClick, children: [icon && _jsx("span", { children: icon }), _jsx("span", { children: label })] }), remove && (_jsx("div", { className: clsx(styles.tag, styles.removeTag), onClick: remove, children: _jsx("span", { children: _jsx(FontAwesomeIcon, { icon: faXmark }) }) }))] }));
@@ -1,14 +1,14 @@
1
- import * as React from "react";
2
- interface ToolTipProps {
3
- id: string;
4
- layoutClassName?: string;
5
- }
6
- /**
7
- * Implement this ToolTip only once, in a high-level wrapper.
8
- * Use the ToolTip anywhere, in any element, by setting the following data props:
9
- *
10
- * data-tooltip-id="this-is-the-id-set-in-ToolTipProps"
11
- * data-tooltip-content="Hello world!"
12
- */
13
- export declare const ToolTip: React.FC<ToolTipProps>;
14
- export {};
1
+ import * as React from "react";
2
+ interface ToolTipProps {
3
+ id: string;
4
+ layoutClassName?: string;
5
+ }
6
+ /**
7
+ * Implement this ToolTip only once, in a high-level wrapper.
8
+ * Use the ToolTip anywhere, in any element, by setting the following data props:
9
+ *
10
+ * data-tooltip-id="this-is-the-id-set-in-ToolTipProps"
11
+ * data-tooltip-content="Hello world!"
12
+ */
13
+ export declare const ToolTip: React.FC<ToolTipProps>;
14
+ export {};
@@ -1,14 +1,14 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import * as styles from "./ToolTip.module.css";
3
- import { Tooltip } from "react-tooltip";
4
- import clsx from "clsx";
5
- /**
6
- * Implement this ToolTip only once, in a high-level wrapper.
7
- * Use the ToolTip anywhere, in any element, by setting the following data props:
8
- *
9
- * data-tooltip-id="this-is-the-id-set-in-ToolTipProps"
10
- * data-tooltip-content="Hello world!"
11
- */
12
- export const ToolTip = ({ id, layoutClassName }) => {
13
- return _jsx(Tooltip, { className: clsx(styles.tooltip, layoutClassName, layoutClassName), ...{ id } });
14
- };
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as styles from "./ToolTip.module.css";
3
+ import { Tooltip } from "react-tooltip";
4
+ import clsx from "clsx";
5
+ /**
6
+ * Implement this ToolTip only once, in a high-level wrapper.
7
+ * Use the ToolTip anywhere, in any element, by setting the following data props:
8
+ *
9
+ * data-tooltip-id="this-is-the-id-set-in-ToolTipProps"
10
+ * data-tooltip-content="Hello world!"
11
+ */
12
+ export const ToolTip = ({ id, layoutClassName }) => {
13
+ return _jsx(Tooltip, { className: clsx(styles.tooltip, layoutClassName, layoutClassName), id });
14
+ };
@@ -1,3 +1,3 @@
1
- import { PrimaryTopNav } from "./primaryTopNav/PrimaryTopNav";
2
- import { SecondaryTopNav } from "./secondaryTopNav/SecondaryTopNav";
3
- export { PrimaryTopNav, SecondaryTopNav };
1
+ import { PrimaryTopNav } from "./primaryTopNav/PrimaryTopNav";
2
+ import { SecondaryTopNav } from "./secondaryTopNav/SecondaryTopNav";
3
+ export { PrimaryTopNav, SecondaryTopNav };
@@ -1,3 +1,3 @@
1
- import { PrimaryTopNav } from "./primaryTopNav/PrimaryTopNav";
2
- import { SecondaryTopNav } from "./secondaryTopNav/SecondaryTopNav";
3
- export { PrimaryTopNav, SecondaryTopNav };
1
+ import { PrimaryTopNav } from "./primaryTopNav/PrimaryTopNav";
2
+ import { SecondaryTopNav } from "./secondaryTopNav/SecondaryTopNav";
3
+ export { PrimaryTopNav, SecondaryTopNav };
@@ -1,39 +1,39 @@
1
- /// <reference types="react" />
2
- interface ITopNavItemBase {
3
- label: string;
4
- icon?: JSX.Element;
5
- current?: boolean | ICurrentItemJSONFormat;
6
- }
7
- interface ICurrentItemJSONFormat {
8
- pathname: string;
9
- operator: "equals" | "includes";
10
- filterCondition?: {
11
- filter: string;
12
- value: string;
13
- isObject: boolean;
14
- };
15
- }
16
- interface IHandleClickJSONFormat {
17
- link: string;
18
- setFilter?: {
19
- filter: string;
20
- value: string;
21
- };
22
- }
23
- interface ITopNavItemWithSubItems extends ITopNavItemBase {
24
- handleClick?: never;
25
- subItems: ITopNavItem[];
26
- }
27
- interface ITopNavItemWithoutSubItems extends ITopNavItemBase {
28
- handleClick?: () => any | IHandleClickJSONFormat;
29
- type: "readme" | "internal" | "external";
30
- subItems?: never;
31
- }
32
- export declare type ITopNavItem = ITopNavItemWithSubItems | ITopNavItemWithoutSubItems;
33
- export interface TopNavProps {
34
- items: ITopNavItem[];
35
- mobileLogo?: JSX.Element;
36
- layoutClassName?: string;
37
- }
38
- export declare const PrimaryTopNav: ({ items, mobileLogo, layoutClassName }: TopNavProps) => JSX.Element;
39
- export {};
1
+ /// <reference types="react" />
2
+ interface ITopNavItemBase {
3
+ label: string;
4
+ icon?: JSX.Element;
5
+ current?: boolean | ICurrentItemJSONFormat;
6
+ }
7
+ interface ICurrentItemJSONFormat {
8
+ pathname: string;
9
+ operator: "equals" | "includes";
10
+ filterCondition?: {
11
+ filter: string;
12
+ value: string;
13
+ isObject: boolean;
14
+ };
15
+ }
16
+ interface IHandleClickJSONFormat {
17
+ link: string;
18
+ setFilter?: {
19
+ filter: string;
20
+ value: string;
21
+ };
22
+ }
23
+ interface ITopNavItemWithSubItems extends ITopNavItemBase {
24
+ handleClick?: never;
25
+ subItems: ITopNavItem[];
26
+ }
27
+ interface ITopNavItemWithoutSubItems extends ITopNavItemBase {
28
+ handleClick?: () => any | IHandleClickJSONFormat;
29
+ type: "readme" | "internal" | "external";
30
+ subItems?: never;
31
+ }
32
+ export type ITopNavItem = ITopNavItemWithSubItems | ITopNavItemWithoutSubItems;
33
+ export interface TopNavProps {
34
+ items: ITopNavItem[];
35
+ mobileLogo?: JSX.Element;
36
+ layoutClassName?: string;
37
+ }
38
+ export declare const PrimaryTopNav: ({ items, mobileLogo, layoutClassName }: TopNavProps) => JSX.Element;
39
+ export {};
@@ -1,23 +1,23 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as React from "react";
3
- import * as styles from "./PrimaryTopNav.module.css";
4
- import clsx from "clsx";
5
- import { Link } from "@utrecht/component-library-react/dist/css-module";
6
- import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
7
- import { faBars, faChevronRight } from "@fortawesome/free-solid-svg-icons";
8
- export const PrimaryTopNav = ({ items, mobileLogo, layoutClassName }) => {
9
- const [isOpen, setIsOpen] = React.useState(false);
10
- const [isMobile, setIsMobile] = React.useState(window.innerWidth < 992);
11
- React.useEffect(() => {
12
- const handleResize = () => {
13
- setIsMobile(window.innerWidth < 992);
14
- };
15
- window.addEventListener("resize", handleResize);
16
- return () => window.removeEventListener("resize", handleResize);
17
- }, []);
18
- const handleSubItemClick = (handleClick) => {
19
- setIsOpen(false);
20
- handleClick();
21
- };
22
- return (_jsxs("div", { className: clsx(styles.container, layoutClassName && layoutClassName), children: [_jsxs("div", { className: styles.menuToggleContainer, children: [mobileLogo, _jsx("button", { className: styles.menuToggle, onClick: () => setIsOpen((o) => !o), children: _jsx(FontAwesomeIcon, { icon: faBars }) })] }), _jsx("nav", { className: clsx(styles.primary, isOpen && styles.isOpen), children: _jsx("ul", { className: styles.ul, children: items.map(({ label, icon, current, handleClick, subItems }, idx) => (_jsxs("li", { onClick: handleClick, className: clsx(styles.li, current && styles.current), children: [_jsxs(Link, { className: clsx(styles.link, styles.label, subItems && styles.mobileLink, current && styles.currentLink), children: [icon, label, " ", subItems && isMobile && _jsx(FontAwesomeIcon, { className: styles.toggleIcon, icon: faChevronRight })] }), subItems && (_jsx("ul", { className: styles.dropdown, children: subItems.map(({ label, icon, current, handleClick }, idx) => (_jsx("li", { className: clsx(styles.li, current && styles.current), onClick: () => handleSubItemClick(handleClick), children: _jsxs(Link, { className: clsx(styles.link, styles.label, current && styles.currentLink), children: [icon, label] }) }, idx))) }))] }, idx))) }) })] }));
23
- };
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as React from "react";
3
+ import * as styles from "./PrimaryTopNav.module.css";
4
+ import clsx from "clsx";
5
+ import { Link } from "@utrecht/component-library-react/dist/css-module";
6
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
7
+ import { faBars, faChevronRight } from "@fortawesome/free-solid-svg-icons";
8
+ export const PrimaryTopNav = ({ items, mobileLogo, layoutClassName }) => {
9
+ const [isOpen, setIsOpen] = React.useState(false);
10
+ const [isMobile, setIsMobile] = React.useState(window.innerWidth < 992);
11
+ React.useEffect(() => {
12
+ const handleResize = () => {
13
+ setIsMobile(window.innerWidth < 992);
14
+ };
15
+ window.addEventListener("resize", handleResize);
16
+ return () => window.removeEventListener("resize", handleResize);
17
+ }, []);
18
+ const handleSubItemClick = (handleClick) => {
19
+ setIsOpen(false);
20
+ handleClick();
21
+ };
22
+ return (_jsxs("div", { className: clsx(styles.container, layoutClassName && layoutClassName), children: [_jsxs("div", { className: styles.menuToggleContainer, children: [mobileLogo, _jsx("button", { className: styles.menuToggle, onClick: () => setIsOpen((o) => !o), children: _jsx(FontAwesomeIcon, { icon: faBars }) })] }), _jsx("nav", { className: clsx(styles.primary, isOpen && styles.isOpen), children: _jsx("ul", { className: styles.ul, children: items.map(({ label, icon, current, handleClick, subItems }, idx) => (_jsxs("li", { onClick: handleClick, className: clsx(styles.li, current && styles.current), children: [_jsxs(Link, { className: clsx(styles.link, styles.label, subItems && styles.mobileLink, current && styles.currentLink), children: [icon, label, " ", subItems && isMobile && _jsx(FontAwesomeIcon, { className: styles.toggleIcon, icon: faChevronRight })] }), subItems && (_jsx("ul", { className: styles.dropdown, children: subItems.map(({ label, icon, current, handleClick }, idx) => (_jsx("li", { className: clsx(styles.li, current && styles.current), onClick: () => handleSubItemClick(handleClick), children: _jsxs(Link, { className: clsx(styles.link, styles.label, current && styles.currentLink), children: [icon, label] }) }, idx))) }))] }, idx))) }) })] }));
23
+ };
@@ -1,12 +1,12 @@
1
- /// <reference types="react" />
2
- interface TopNavProps {
3
- items: {
4
- label: string;
5
- icon?: JSX.Element;
6
- current?: boolean;
7
- handleClick: () => any;
8
- }[];
9
- layoutClassName?: string;
10
- }
11
- export declare const SecondaryTopNav: ({ items, layoutClassName }: TopNavProps) => JSX.Element;
12
- export {};
1
+ /// <reference types="react" />
2
+ interface TopNavProps {
3
+ items: {
4
+ label: string;
5
+ icon?: JSX.Element;
6
+ current?: boolean;
7
+ handleClick: () => any;
8
+ }[];
9
+ layoutClassName?: string;
10
+ }
11
+ export declare const SecondaryTopNav: ({ items, layoutClassName }: TopNavProps) => JSX.Element;
12
+ export {};
@@ -1,7 +1,7 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
- import * as styles from "./SecondaryTopNav.module.css";
3
- import { Link } from "@utrecht/component-library-react/dist/css-module";
4
- import clsx from "clsx";
5
- export const SecondaryTopNav = ({ items, layoutClassName }) => {
6
- return (_jsx("div", { className: clsx(styles.secondary, layoutClassName && layoutClassName), children: _jsx("nav", { children: _jsx("ul", { className: styles.ul, children: items.map(({ label, icon, current, handleClick }, idx) => (_jsx("li", { className: clsx(styles.li, current && styles.current), onClick: handleClick, children: _jsxs(Link, { className: clsx(styles.link, styles.label), children: [icon, label] }) }, idx))) }) }) }));
7
- };
1
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
+ import * as styles from "./SecondaryTopNav.module.css";
3
+ import { Link } from "@utrecht/component-library-react/dist/css-module";
4
+ import clsx from "clsx";
5
+ export const SecondaryTopNav = ({ items, layoutClassName }) => {
6
+ return (_jsx("div", { className: clsx(styles.secondary, layoutClassName && layoutClassName), children: _jsx("nav", { children: _jsx("ul", { className: styles.ul, children: items.map(({ label, icon, current, handleClick }, idx) => (_jsx("li", { className: clsx(styles.li, current && styles.current), onClick: handleClick, children: _jsxs(Link, { className: clsx(styles.link, styles.label), children: [icon, label] }) }, idx))) }) }) }));
7
+ };
package/lib/index.d.ts CHANGED
@@ -1,29 +1,29 @@
1
- /// <reference types="react" />
2
- import { DownloadCard, HorizontalImageCard, ImageAndDetailsCard, DetailsCard, InfoCard, CardWrapper, CardHeader, CardHeaderTitle, CardHeaderDate } from "./components/card";
3
- import { Container } from "./components/container/Container";
4
- import { Breadcrumbs } from "./components/denhaag-wrappers/breadcrumbs/Breadcrumbs";
5
- import { InputText, InputPassword, InputEmail, InputDate, InputNumber, Textarea, InputCheckbox, InputFile, SelectMultiple, SelectSingle } from "./components/formFields";
6
- import { ImageDivider } from "./components/imageDivider/ImageDivider";
7
- import { Logo } from "./components/logo/Logo";
8
- import { MetaIcon } from "./components/metaIcon/MetaIcon";
9
- import { PrivateRoute } from "./components/privateRoute/PrivateRoute";
10
- import { PrimaryTopNav, SecondaryTopNav } from "./components/topNav";
11
- import { Tag } from "./components/tag/Tag";
12
- declare const NotificationPopUp: {
13
- controller: () => {
14
- isVisible: boolean;
15
- show: () => void;
16
- hide: () => void;
17
- };
18
- NotificationPopUp: ({ title, description, isVisible, hide, primaryButton, secondaryButton, layoutClassName, }: import("./components/notificationPopUp/NotificationPopUp").NotificationPopUpProps) => JSX.Element | null;
19
- };
20
- import { QuoteWrapper } from "./components/quoteWrapper/QuoteWrapper";
21
- import { BadgeCounter } from "./components/badgeCounter/BadgeCounter";
22
- import { CodeBlock } from "./components/codeBlock/CodeBlock";
23
- import { ToolTip } from "./components/toolTip/ToolTip";
24
- import { Pagination } from "./components/Pagination/Pagination";
25
- import { Tabs, TabList, Tab, TabPanel } from "./components/tabs/Tabs";
26
- import { HorizontalOverflowWrapper } from "./components/horizontalOverflowWrapper/HorizontalOverflowWrapper";
27
- import { Jumbotron } from "./components/jumbotron/Jumbotron";
28
- import DisplaySwitch from "./components/displaySwitch/DisplaySwitch";
29
- export { DownloadCard, HorizontalImageCard, ImageAndDetailsCard, DetailsCard, InfoCard, Container, Breadcrumbs, InputText, InputPassword, InputEmail, InputDate, InputNumber, InputFile, Textarea, InputCheckbox, SelectMultiple, SelectSingle, ImageDivider, Logo, MetaIcon, PrivateRoute, PrimaryTopNav, SecondaryTopNav, Tag, NotificationPopUp, QuoteWrapper, Pagination, BadgeCounter, CodeBlock, ToolTip, CardWrapper, CardHeader, CardHeaderTitle, CardHeaderDate, Tabs, TabList, Tab, TabPanel, HorizontalOverflowWrapper, Jumbotron, DisplaySwitch };
1
+ /// <reference types="react" />
2
+ import { DownloadCard, HorizontalImageCard, ImageAndDetailsCard, DetailsCard, InfoCard, CardWrapper, CardHeader, CardHeaderTitle, CardHeaderDate } from "./components/card";
3
+ import { Container } from "./components/container/Container";
4
+ import { Breadcrumbs } from "./components/denhaag-wrappers/breadcrumbs/Breadcrumbs";
5
+ import { InputText, InputPassword, InputEmail, InputDate, InputNumber, Textarea, InputCheckbox, InputFile, SelectMultiple, SelectSingle } from "./components/formFields";
6
+ import { ImageDivider } from "./components/imageDivider/ImageDivider";
7
+ import { Logo } from "./components/logo/Logo";
8
+ import { MetaIcon } from "./components/metaIcon/MetaIcon";
9
+ import { PrivateRoute } from "./components/privateRoute/PrivateRoute";
10
+ import { PrimaryTopNav, SecondaryTopNav } from "./components/topNav";
11
+ import { Tag } from "./components/tag/Tag";
12
+ declare const NotificationPopUp: {
13
+ controller: () => {
14
+ isVisible: boolean;
15
+ show: () => void;
16
+ hide: () => void;
17
+ };
18
+ NotificationPopUp: ({ title, description, isVisible, hide, primaryButton, secondaryButton, layoutClassName, }: import("./components/notificationPopUp/NotificationPopUp").NotificationPopUpProps) => JSX.Element | null;
19
+ };
20
+ import { QuoteWrapper } from "./components/quoteWrapper/QuoteWrapper";
21
+ import { BadgeCounter } from "./components/badgeCounter/BadgeCounter";
22
+ import { CodeBlock } from "./components/codeBlock/CodeBlock";
23
+ import { ToolTip } from "./components/toolTip/ToolTip";
24
+ import { Pagination } from "./components/Pagination/Pagination";
25
+ import { Tabs, TabList, Tab, TabPanel } from "./components/tabs/Tabs";
26
+ import { HorizontalOverflowWrapper } from "./components/horizontalOverflowWrapper/HorizontalOverflowWrapper";
27
+ import { Jumbotron } from "./components/jumbotron/Jumbotron";
28
+ import DisplaySwitch from "./components/displaySwitch/DisplaySwitch";
29
+ export { DownloadCard, HorizontalImageCard, ImageAndDetailsCard, DetailsCard, InfoCard, Container, Breadcrumbs, InputText, InputPassword, InputEmail, InputDate, InputNumber, InputFile, Textarea, InputCheckbox, SelectMultiple, SelectSingle, ImageDivider, Logo, MetaIcon, PrivateRoute, PrimaryTopNav, SecondaryTopNav, Tag, NotificationPopUp, QuoteWrapper, Pagination, BadgeCounter, CodeBlock, ToolTip, CardWrapper, CardHeader, CardHeaderTitle, CardHeaderDate, Tabs, TabList, Tab, TabPanel, HorizontalOverflowWrapper, Jumbotron, DisplaySwitch };
package/lib/index.js CHANGED
@@ -1,22 +1,22 @@
1
- import { DownloadCard, HorizontalImageCard, ImageAndDetailsCard, DetailsCard, InfoCard, CardWrapper, CardHeader, CardHeaderTitle, CardHeaderDate, } from "./components/card";
2
- import { Container } from "./components/container/Container";
3
- import { Breadcrumbs } from "./components/denhaag-wrappers/breadcrumbs/Breadcrumbs";
4
- import { InputText, InputPassword, InputEmail, InputDate, InputNumber, Textarea, InputCheckbox, InputFile, SelectMultiple, SelectSingle, } from "./components/formFields";
5
- import { ImageDivider } from "./components/imageDivider/ImageDivider";
6
- import { Logo } from "./components/logo/Logo";
7
- import { MetaIcon } from "./components/metaIcon/MetaIcon";
8
- import { PrivateRoute } from "./components/privateRoute/PrivateRoute";
9
- import { PrimaryTopNav, SecondaryTopNav } from "./components/topNav";
10
- import { Tag } from "./components/tag/Tag";
11
- import { NotificationPopUpController, NotificationPopUp as _NotificationPopUp, } from "./components/notificationPopUp/NotificationPopUp";
12
- const NotificationPopUp = { controller: NotificationPopUpController, NotificationPopUp: _NotificationPopUp };
13
- import { QuoteWrapper } from "./components/quoteWrapper/QuoteWrapper";
14
- import { BadgeCounter } from "./components/badgeCounter/BadgeCounter";
15
- import { CodeBlock } from "./components/codeBlock/CodeBlock";
16
- import { ToolTip } from "./components/toolTip/ToolTip";
17
- import { Pagination } from "./components/Pagination/Pagination";
18
- import { Tabs, TabList, Tab, TabPanel } from "./components/tabs/Tabs";
19
- import { HorizontalOverflowWrapper } from "./components/horizontalOverflowWrapper/HorizontalOverflowWrapper";
20
- import { Jumbotron } from "./components/jumbotron/Jumbotron";
21
- import DisplaySwitch from "./components/displaySwitch/DisplaySwitch";
22
- export { DownloadCard, HorizontalImageCard, ImageAndDetailsCard, DetailsCard, InfoCard, Container, Breadcrumbs, InputText, InputPassword, InputEmail, InputDate, InputNumber, InputFile, Textarea, InputCheckbox, SelectMultiple, SelectSingle, ImageDivider, Logo, MetaIcon, PrivateRoute, PrimaryTopNav, SecondaryTopNav, Tag, NotificationPopUp, QuoteWrapper, Pagination, BadgeCounter, CodeBlock, ToolTip, CardWrapper, CardHeader, CardHeaderTitle, CardHeaderDate, Tabs, TabList, Tab, TabPanel, HorizontalOverflowWrapper, Jumbotron, DisplaySwitch };
1
+ import { DownloadCard, HorizontalImageCard, ImageAndDetailsCard, DetailsCard, InfoCard, CardWrapper, CardHeader, CardHeaderTitle, CardHeaderDate, } from "./components/card";
2
+ import { Container } from "./components/container/Container";
3
+ import { Breadcrumbs } from "./components/denhaag-wrappers/breadcrumbs/Breadcrumbs";
4
+ import { InputText, InputPassword, InputEmail, InputDate, InputNumber, Textarea, InputCheckbox, InputFile, SelectMultiple, SelectSingle, } from "./components/formFields";
5
+ import { ImageDivider } from "./components/imageDivider/ImageDivider";
6
+ import { Logo } from "./components/logo/Logo";
7
+ import { MetaIcon } from "./components/metaIcon/MetaIcon";
8
+ import { PrivateRoute } from "./components/privateRoute/PrivateRoute";
9
+ import { PrimaryTopNav, SecondaryTopNav } from "./components/topNav";
10
+ import { Tag } from "./components/tag/Tag";
11
+ import { NotificationPopUpController, NotificationPopUp as _NotificationPopUp, } from "./components/notificationPopUp/NotificationPopUp";
12
+ const NotificationPopUp = { controller: NotificationPopUpController, NotificationPopUp: _NotificationPopUp };
13
+ import { QuoteWrapper } from "./components/quoteWrapper/QuoteWrapper";
14
+ import { BadgeCounter } from "./components/badgeCounter/BadgeCounter";
15
+ import { CodeBlock } from "./components/codeBlock/CodeBlock";
16
+ import { ToolTip } from "./components/toolTip/ToolTip";
17
+ import { Pagination } from "./components/Pagination/Pagination";
18
+ import { Tabs, TabList, Tab, TabPanel } from "./components/tabs/Tabs";
19
+ import { HorizontalOverflowWrapper } from "./components/horizontalOverflowWrapper/HorizontalOverflowWrapper";
20
+ import { Jumbotron } from "./components/jumbotron/Jumbotron";
21
+ import DisplaySwitch from "./components/displaySwitch/DisplaySwitch";
22
+ export { DownloadCard, HorizontalImageCard, ImageAndDetailsCard, DetailsCard, InfoCard, Container, Breadcrumbs, InputText, InputPassword, InputEmail, InputDate, InputNumber, InputFile, Textarea, InputCheckbox, SelectMultiple, SelectSingle, ImageDivider, Logo, MetaIcon, PrivateRoute, PrimaryTopNav, SecondaryTopNav, Tag, NotificationPopUp, QuoteWrapper, Pagination, BadgeCounter, CodeBlock, ToolTip, CardWrapper, CardHeader, CardHeaderTitle, CardHeaderDate, Tabs, TabList, Tab, TabPanel, HorizontalOverflowWrapper, Jumbotron, DisplaySwitch };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/components",
3
- "version": "2.2.25",
3
+ "version": "2.2.27",
4
4
  "description": "React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -20,27 +20,27 @@
20
20
  },
21
21
  "homepage": "https://github.com/ConductionNL/conduction-components#readme",
22
22
  "dependencies": {
23
- "@fortawesome/fontawesome-svg-core": "^6.2.0",
24
- "@fortawesome/free-solid-svg-icons": "^6.2.0",
23
+ "@fortawesome/fontawesome-svg-core": "^6.4.2",
24
+ "@fortawesome/free-solid-svg-icons": "^6.4.2",
25
25
  "@fortawesome/react-fontawesome": "^0.2.0",
26
- "@utrecht/component-library-react": "^1.0.0-alpha.319",
27
- "clsx": "^1.1.1",
28
- "gatsby": "^4.11.1",
26
+ "@utrecht/component-library-react": "2.0.0",
27
+ "clsx": "^2.0.0",
28
+ "gatsby": "^5.12.9",
29
29
  "react": "^18.2.0",
30
- "react-datepicker": "^4.10.0",
31
- "react-hook-form": "7.29.0",
30
+ "react-datepicker": "^4.23.0",
31
+ "react-hook-form": "7.48.2",
32
32
  "react-paginate": "^8.2.0",
33
- "react-select": "5.3.2",
33
+ "react-select": "5.8.0",
34
34
  "react-tabs": "^6.0.2",
35
- "react-tooltip": "^5.21.3"
35
+ "react-tooltip": "^5.23.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@types/node": "^17.0.23",
39
- "@types/react": "^18.2.0",
40
- "@types/react-datepicker": "^4.8.0",
41
- "@types/react-dom": "^18.2.0",
42
- "rimraf": "^4.4.0",
43
- "tsc-hooks": "^1.1.1",
44
- "typescript": "^4.6.3"
38
+ "@types/node": "^20.9.3",
39
+ "@types/react": "^18.2.38",
40
+ "@types/react-datepicker": "^4.19.3",
41
+ "@types/react-dom": "^18.2.16",
42
+ "rimraf": "^5.0.5",
43
+ "tsc-hooks": "^1.1.2",
44
+ "typescript": "^5.3.2"
45
45
  }
46
46
  }