@conduction/components 2.0.22 → 2.0.23

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 (97) hide show
  1. package/README.md +3 -0
  2. package/package.json +7 -2
  3. package/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css +14 -0
  4. package/src/components/topNav/primaryTopNav/PrimaryTopNav.tsx +2 -2
  5. package/src/components/topNav/secondaryTopNav/SecondaryTopNav.module.css +15 -0
  6. package/src/components/topNav/secondaryTopNav/SecondaryTopNav.tsx +1 -1
  7. package/lib/components/badgeCounter/BadgeCounter.d.ts +0 -8
  8. package/lib/components/badgeCounter/BadgeCounter.js +0 -4
  9. package/lib/components/badgeCounter/BadgeCounter.module.css +0 -27
  10. package/lib/components/card/detailsCard/DetailsCard.d.ts +0 -14
  11. package/lib/components/card/detailsCard/DetailsCard.js +0 -10
  12. package/lib/components/card/detailsCard/DetailsCard.module.css +0 -51
  13. package/lib/components/card/downloadCard/DownloadCard.d.ts +0 -11
  14. package/lib/components/card/downloadCard/DownloadCard.js +0 -8
  15. package/lib/components/card/downloadCard/DownloadCard.module.css +0 -27
  16. package/lib/components/card/horizontalImageCard/HorizontalImageCard.d.ts +0 -13
  17. package/lib/components/card/horizontalImageCard/HorizontalImageCard.js +0 -9
  18. package/lib/components/card/horizontalImageCard/HorizontalImageCard.module.css +0 -34
  19. package/lib/components/card/imageAndDetailsCard/ImageAndDetailsCard.d.ts +0 -14
  20. package/lib/components/card/imageAndDetailsCard/ImageAndDetailsCard.js +0 -9
  21. package/lib/components/card/imageAndDetailsCard/ImageAndDetailsCard.module.css +0 -63
  22. package/lib/components/card/index.d.ts +0 -7
  23. package/lib/components/card/index.js +0 -7
  24. package/lib/components/card/infoCard/InfoCard.d.ts +0 -8
  25. package/lib/components/card/infoCard/InfoCard.js +0 -6
  26. package/lib/components/card/infoCard/InfoCard.module.css +0 -26
  27. package/lib/components/card/richContentCard/RichContentCard.d.ts +0 -19
  28. package/lib/components/card/richContentCard/RichContentCard.js +0 -15
  29. package/lib/components/card/richContentCard/RichContentCard.module.css +0 -93
  30. package/lib/components/codeBlock/CodeBlock.d.ts +0 -6
  31. package/lib/components/codeBlock/CodeBlock.js +0 -3
  32. package/lib/components/codeBlock/CodeBlock.module.css +0 -6
  33. package/lib/components/container/Container.d.ts +0 -6
  34. package/lib/components/container/Container.js +0 -4
  35. package/lib/components/container/Container.module.css +0 -9
  36. package/lib/components/denhaag-wrappers/breadcrumbs/Breadcrumbs.css +0 -222
  37. package/lib/components/denhaag-wrappers/breadcrumbs/Breadcrumbs.d.ts +0 -17
  38. package/lib/components/denhaag-wrappers/breadcrumbs/Breadcrumbs.js +0 -20
  39. package/lib/components/denhaag-wrappers/pagination/Pagination.css +0 -120
  40. package/lib/components/denhaag-wrappers/pagination/Pagination.d.ts +0 -9
  41. package/lib/components/denhaag-wrappers/pagination/Pagination.js +0 -15
  42. package/lib/components/editableTableRow/EditableTableRow.d.ts +0 -14
  43. package/lib/components/editableTableRow/EditableTableRow.js +0 -31
  44. package/lib/components/editableTableRow/EditableTableRow.module.css +0 -25
  45. package/lib/components/formFields/checkbox.d.ts +0 -9
  46. package/lib/components/formFields/checkbox.js +0 -3
  47. package/lib/components/formFields/createKeyValue/CreateKeyValue.d.ts +0 -17
  48. package/lib/components/formFields/createKeyValue/CreateKeyValue.js +0 -31
  49. package/lib/components/formFields/createKeyValue/CreateKeyValue.module.css +0 -43
  50. package/lib/components/formFields/index.d.ts +0 -7
  51. package/lib/components/formFields/index.js +0 -7
  52. package/lib/components/formFields/input.d.ts +0 -21
  53. package/lib/components/formFields/input.js +0 -15
  54. package/lib/components/formFields/radio.d.ts +0 -9
  55. package/lib/components/formFields/radio.js +0 -3
  56. package/lib/components/formFields/select/select.d.ts +0 -18
  57. package/lib/components/formFields/select/select.js +0 -20
  58. package/lib/components/formFields/select/select.module.css +0 -35
  59. package/lib/components/formFields/textarea.d.ts +0 -8
  60. package/lib/components/formFields/textarea.js +0 -3
  61. package/lib/components/formFields/types.d.ts +0 -6
  62. package/lib/components/formFields/types.js +0 -1
  63. package/lib/components/imageDivider/ImageDivider.d.ts +0 -7
  64. package/lib/components/imageDivider/ImageDivider.js +0 -6
  65. package/lib/components/imageDivider/imageDivider.module.css +0 -5
  66. package/lib/components/logo/Logo.d.ts +0 -8
  67. package/lib/components/logo/Logo.js +0 -10
  68. package/lib/components/logo/Logo.module.css +0 -15
  69. package/lib/components/metaIcon/MetaIcon.d.ts +0 -7
  70. package/lib/components/metaIcon/MetaIcon.js +0 -3
  71. package/lib/components/metaIcon/MetaIcon.module.css +0 -29
  72. package/lib/components/notificationPopUp/NotificationPopUp.d.ts +0 -24
  73. package/lib/components/notificationPopUp/NotificationPopUp.js +0 -31
  74. package/lib/components/notificationPopUp/NotificationPopUp.module.css +0 -61
  75. package/lib/components/privateRoute/PrivateRoute.d.ts +0 -6
  76. package/lib/components/privateRoute/PrivateRoute.js +0 -15
  77. package/lib/components/quoteWrapper/QuoteWrapper.d.ts +0 -7
  78. package/lib/components/quoteWrapper/QuoteWrapper.js +0 -5
  79. package/lib/components/quoteWrapper/QuoteWrapper.module.css +0 -12
  80. package/lib/components/statusSteps/StatusSteps.d.ts +0 -13
  81. package/lib/components/statusSteps/StatusSteps.js +0 -5
  82. package/lib/components/tag/Tag.d.ts +0 -9
  83. package/lib/components/tag/Tag.js +0 -4
  84. package/lib/components/tag/Tag.module.css +0 -28
  85. package/lib/components/toolTip/ToolTip.d.ts +0 -9
  86. package/lib/components/toolTip/ToolTip.js +0 -7
  87. package/lib/components/toolTip/ToolTip.module.css +0 -4
  88. package/lib/components/topNav/index.d.ts +0 -3
  89. package/lib/components/topNav/index.js +0 -3
  90. package/lib/components/topNav/primaryTopNav/PrimaryTopNav.d.ts +0 -20
  91. package/lib/components/topNav/primaryTopNav/PrimaryTopNav.js +0 -17
  92. package/lib/components/topNav/primaryTopNav/PrimaryTopNav.module.css +0 -125
  93. package/lib/components/topNav/secondaryTopNav/SecondaryTopNav.d.ts +0 -12
  94. package/lib/components/topNav/secondaryTopNav/SecondaryTopNav.js +0 -7
  95. package/lib/components/topNav/secondaryTopNav/SecondaryTopNav.module.css +0 -48
  96. package/lib/index.d.ts +0 -27
  97. package/lib/index.js +0 -20
@@ -1,125 +0,0 @@
1
- :root {
2
- --conduction-primary-top-nav-item-padding: var(--skeleton-size-md);
3
- --conduction-primary-top-nav-color: var(--skeleton-color-white);
4
- --conduction-primary-top-nav-background-color: var(--skeleton-color-secondary-3);
5
- --conduction-primary-top-nav-background-color-hover: rgba(255, 255, 255, 0.2);
6
- --conduction-primary-top-nav-dropdown-border-radius: var(--skeleton-border-radius-md);
7
- --conduction-primary-top-nav-background-color-active: rgba(255, 255, 255, 0.2);
8
- --conduction-primary-top-nav-toggle-icon-size: 24px;
9
- --conduction-primary-top-nav-mobile-logo-padding: 18px;
10
- }
11
-
12
- .container {
13
- width: 100%;
14
- }
15
-
16
- .menuToggleContainer {
17
- width: 100%;
18
- display: flex;
19
- align-items: center;
20
- justify-content: space-between;
21
- }
22
-
23
- .menuToggleContainer > .menuToggle {
24
- all: unset;
25
- font-size: var(--conduction-primary-top-nav-toggle-icon-size);
26
- padding: var(--conduction-primary-top-nav-mobile-logo-padding);
27
- }
28
-
29
- .menuToggleContainer > .menuToggle:hover {
30
- cursor: pointer;
31
- }
32
-
33
- .primary {
34
- display: none;
35
- }
36
-
37
- .primary.isOpen {
38
- display: block;
39
- }
40
-
41
- .menuToggleContainer {
42
- width: 100%;
43
- }
44
-
45
- .primary {
46
- font-weight: 500;
47
- width: 100%;
48
- background-color: var(--conduction-primary-top-nav-background-color);
49
- }
50
-
51
- .primary:hover {
52
- cursor: pointer;
53
- }
54
-
55
- .ul {
56
- margin: unset;
57
- padding-inline-start: unset;
58
- align-items: center;
59
- }
60
-
61
- .li {
62
- list-style-type: none;
63
- display: block;
64
- position: relative;
65
- padding-inline-start: var(--conduction-primary-top-nav-item-padding);
66
- padding-inline-end: var(--conduction-primary-top-nav-item-padding);
67
- padding-block-start: var(--conduction-primary-top-nav-item-padding);
68
- padding-block-end: var(--conduction-primary-top-nav-item-padding);
69
- }
70
-
71
- .li:hover {
72
- background-color: var(--conduction-primary-top-nav-background-color-hover);
73
- }
74
-
75
- .current {
76
- background-color: var(--conduction-primary-top-nav-background-color-active);
77
- }
78
-
79
- .primary .link {
80
- display: block;
81
- color: var(--conduction-primary-top-nav-color);
82
- }
83
-
84
- .primary .li:hover .dropdown {
85
- display: block;
86
- z-index: 1;
87
- }
88
-
89
- .dropdown {
90
- left: 0;
91
- padding: 0;
92
- width: 100%;
93
- display: none;
94
- list-style-type: none;
95
- background-color: var(--conduction-primary-top-nav-background-color);
96
- border-bottom-right-radius: var(--conduction-primary-top-nav-dropdown-border-radius);
97
- border-bottom-left-radius: var(--conduction-primary-top-nav-dropdown-border-radius);
98
- }
99
-
100
- .dropdown > li {
101
- padding-inline-start: var(--web-app-size-md);
102
- }
103
-
104
- @media only screen and (min-width: 992px) {
105
- .container {
106
- width: fit-content;
107
- }
108
-
109
- .primary {
110
- display: block;
111
- width: fit-content;
112
- }
113
-
114
- .ul {
115
- display: flex;
116
- }
117
-
118
- .dropdown {
119
- position: absolute;
120
- }
121
-
122
- .menuToggleContainer {
123
- display: none;
124
- }
125
- }
@@ -1,12 +0,0 @@
1
- import * as React from "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: React.FC<TopNavProps>;
12
- export {};
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import * as styles from "./SecondaryTopNav.module.css";
3
- import { Link } from "@gemeente-denhaag/components-react";
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: _jsx(Link, { className: styles.link, icon: icon, iconAlign: "start", children: label }) }, idx))) }) }) }));
7
- };
@@ -1,48 +0,0 @@
1
- :root {
2
- --conduction-secondary-top-nav-item-padding: var(--skeleton-size-md);
3
- --conduction-secondary-top-nav-font-size: var(--skeleton-font-size-md);
4
- --conduction-secondary-top-nav-color: var(--skeleton-color-white);
5
- --conduction-secondary-top-nav-background-color: var(--skeleton-color-secondary-5);
6
- --conduction-secondary-top-nav-background-color-hover: rgba(0, 0, 0, 0.1);
7
- --conduction-secondary-top-nav-font-weight: var(--skeleton-font-weight-light);
8
- --conduction-secondary-top-nav-color-active: rgba(0, 0, 0, 0.1);
9
- }
10
-
11
- .secondary:hover {
12
- cursor: pointer;
13
- }
14
-
15
- .ul {
16
- margin: unset;
17
- display: flex;
18
- padding-inline-start: unset;
19
- align-items: center;
20
- }
21
-
22
- .li {
23
- list-style-type: none;
24
- display: block;
25
- padding-inline-start: var(--conduction-secondary-top-nav-item-padding);
26
- padding-inline-end: var(--conduction-secondary-top-nav-item-padding);
27
- padding-block-start: var(--conduction-secondary-top-nav-item-padding);
28
- padding-block-end: var(--conduction-secondary-top-nav-item-padding);
29
- }
30
-
31
- .li:hover {
32
- background-color: var(--conduction-secondary-top-nav-background-color-hover);
33
- }
34
-
35
- .current {
36
- background-color: var(--conduction-secondary-top-nav-color-active);
37
- }
38
-
39
- .secondary {
40
- font-weight: var(--conduction-secondary-top-nav-font-weight);
41
- width: fit-content;
42
- font-size: var(--conduction-secondary-top-nav-font-size);
43
- background-color: var(--conduction-secondary-top-nav-background-color);
44
- }
45
-
46
- .secondary .link {
47
- color: var(--conduction-secondary-top-nav-color);
48
- }
package/lib/index.d.ts DELETED
@@ -1,27 +0,0 @@
1
- /// <reference types="react" />
2
- import { DownloadCard, HorizontalImageCard, ImageAndDetailsCard, RichContentCard, DetailsCard, InfoCard } from "./components/card";
3
- import { Container } from "./components/container/Container";
4
- import { Breadcrumbs } from "./components/denhaag-wrappers/breadcrumbs/Breadcrumbs";
5
- import { EditableTableRow } from "./components/editableTableRow/EditableTableRow";
6
- import { InputText, InputPassword, InputEmail, InputDate, InputNumber, Textarea, InputCheckbox, InputRadio, InputFile, SelectMultiple, SelectSingle } from "./components/formFields";
7
- import { ImageDivider } from "./components/imageDivider/ImageDivider";
8
- import { AuthenticatedLogo, UnauthenticatedLogo } from "./components/logo/Logo";
9
- import { MetaIcon } from "./components/metaIcon/MetaIcon";
10
- import { PrivateRoute } from "./components/privateRoute/PrivateRoute";
11
- import { StatusSteps } from "./components/statusSteps/StatusSteps";
12
- import { PrimaryTopNav, SecondaryTopNav } from "./components/topNav";
13
- import { Tag } from "./components/tag/Tag";
14
- declare const NotificationPopUp: {
15
- controller: () => {
16
- isVisible: boolean;
17
- show: () => void;
18
- hide: () => void;
19
- };
20
- NotificationPopUp: import("react").FC<import("./components/notificationPopUp/NotificationPopUp").NotificationPopUpProps>;
21
- };
22
- import { QuoteWrapper } from "./components/quoteWrapper/QuoteWrapper";
23
- import { Pagination } from "./components/denhaag-wrappers/pagination/Pagination";
24
- import { BadgeCounter } from "./components/badgeCounter/BadgeCounter";
25
- import { CodeBlock } from "./components/codeBlock/CodeBlock";
26
- import { ToolTip } from "./components/toolTip/ToolTip";
27
- export { InputRadio, DownloadCard, HorizontalImageCard, ImageAndDetailsCard, RichContentCard, DetailsCard, InfoCard, Container, Breadcrumbs, EditableTableRow, InputText, InputPassword, InputEmail, InputDate, InputNumber, InputFile, Textarea, InputCheckbox, SelectMultiple, SelectSingle, ImageDivider, AuthenticatedLogo, UnauthenticatedLogo, MetaIcon, PrivateRoute, StatusSteps, PrimaryTopNav, SecondaryTopNav, Tag, NotificationPopUp, QuoteWrapper, Pagination, BadgeCounter, CodeBlock, ToolTip, };
package/lib/index.js DELETED
@@ -1,20 +0,0 @@
1
- import { DownloadCard, HorizontalImageCard, ImageAndDetailsCard, RichContentCard, DetailsCard, InfoCard, } from "./components/card";
2
- import { Container } from "./components/container/Container";
3
- import { Breadcrumbs } from "./components/denhaag-wrappers/breadcrumbs/Breadcrumbs";
4
- import { EditableTableRow } from "./components/editableTableRow/EditableTableRow";
5
- import { InputText, InputPassword, InputEmail, InputDate, InputNumber, Textarea, InputCheckbox, InputRadio, InputFile, SelectMultiple, SelectSingle, } from "./components/formFields";
6
- import { ImageDivider } from "./components/imageDivider/ImageDivider";
7
- import { AuthenticatedLogo, UnauthenticatedLogo } from "./components/logo/Logo";
8
- import { MetaIcon } from "./components/metaIcon/MetaIcon";
9
- import { PrivateRoute } from "./components/privateRoute/PrivateRoute";
10
- import { StatusSteps } from "./components/statusSteps/StatusSteps";
11
- import { PrimaryTopNav, SecondaryTopNav } from "./components/topNav";
12
- import { Tag } from "./components/tag/Tag";
13
- import { NotificationPopUpController, NotificationPopUp as _NotificationPopUp, } from "./components/notificationPopUp/NotificationPopUp";
14
- const NotificationPopUp = { controller: NotificationPopUpController, NotificationPopUp: _NotificationPopUp };
15
- import { QuoteWrapper } from "./components/quoteWrapper/QuoteWrapper";
16
- import { Pagination } from "./components/denhaag-wrappers/pagination/Pagination";
17
- import { BadgeCounter } from "./components/badgeCounter/BadgeCounter";
18
- import { CodeBlock } from "./components/codeBlock/CodeBlock";
19
- import { ToolTip } from "./components/toolTip/ToolTip";
20
- export { InputRadio, DownloadCard, HorizontalImageCard, ImageAndDetailsCard, RichContentCard, DetailsCard, InfoCard, Container, Breadcrumbs, EditableTableRow, InputText, InputPassword, InputEmail, InputDate, InputNumber, InputFile, Textarea, InputCheckbox, SelectMultiple, SelectSingle, ImageDivider, AuthenticatedLogo, UnauthenticatedLogo, MetaIcon, PrivateRoute, StatusSteps, PrimaryTopNav, SecondaryTopNav, Tag, NotificationPopUp, QuoteWrapper, Pagination, BadgeCounter, CodeBlock, ToolTip, };