@digigov/ui 0.10.4 → 0.11.0
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.
- package/CHANGELOG.md +13 -1
- package/app/Confirmation/index.d.ts +3 -0
- package/app/Confirmation/index.js +44 -0
- package/app/Footer/index.d.ts +15 -0
- package/app/Footer/index.js +200 -0
- package/app/Header/__snapshots__/index.spec.tsx.snap +63 -1231
- package/app/Header/index.d.ts +3 -1
- package/app/Header/index.js +40 -12
- package/core/Accordion/__snapshots__/index.spec.tsx.snap +61 -711
- package/core/Blockquote/__snapshots__/index.spec.tsx.snap +9 -9
- package/core/Breadcrumbs/index.d.ts +3 -0
- package/core/Breadcrumbs/index.js +44 -0
- package/core/Button/__snapshots__/index.spec.tsx.snap +13 -0
- package/core/Button/index.d.ts +1 -0
- package/core/Button/index.js +14 -0
- package/core/Card/index.d.ts +4 -0
- package/core/Card/index.js +57 -0
- package/core/Details/__snapshots__/index.spec.tsx.snap +20 -28
- package/core/ErrorSummary/__snapshots__/index.spec.tsx.snap +3 -3
- package/core/Hidden/index.d.ts +1 -0
- package/core/Hidden/index.js +18 -0
- package/core/Link/__snapshots__/index.spec.tsx.snap +0 -3
- package/core/Link/index.d.ts +3 -8
- package/core/Link/index.js +3 -26
- package/core/List/__snapshots__/index.spec.tsx.snap +3 -3
- package/core/NavList/__snapshots__/index.spec.tsx.snap +2 -2
- package/core/NotificationBanner/__snapshots__/index.spec.tsx.snap +417 -29
- package/core/NotificationBanner/index.d.ts +9 -8
- package/core/NotificationBanner/index.js +13 -2
- package/core/NotificationBanner/index.spec.js +9 -0
- package/core/ServiceBadge/index.d.ts +1 -0
- package/core/ServiceBadge/index.js +5 -2
- package/core/SummaryList/__snapshots__/index.spec.tsx.snap +47 -1293
- package/core/Table/index.d.ts +7 -0
- package/core/Table/index.js +96 -0
- package/core/VisuallyHidden/index.d.ts +1 -0
- package/core/VisuallyHidden/index.js +18 -0
- package/core/WarningText/__snapshots__/index.spec.tsx.snap +15 -43
- package/es/app/Confirmation/index.js +3 -0
- package/es/app/Footer/index.js +15 -0
- package/es/app/Header/__snapshots__/index.spec.tsx.snap +63 -1231
- package/es/app/Header/index.js +3 -1
- package/es/core/Accordion/__snapshots__/index.spec.tsx.snap +61 -711
- package/es/core/Blockquote/__snapshots__/index.spec.tsx.snap +9 -9
- package/es/core/Breadcrumbs/index.js +3 -0
- package/es/core/Button/__snapshots__/index.spec.tsx.snap +13 -0
- package/es/core/Button/index.js +2 -1
- package/es/core/Card/index.js +4 -0
- package/es/core/Details/__snapshots__/index.spec.tsx.snap +20 -28
- package/es/core/ErrorSummary/__snapshots__/index.spec.tsx.snap +3 -3
- package/es/core/Hidden/index.js +1 -0
- package/es/core/Link/__snapshots__/index.spec.tsx.snap +0 -3
- package/es/core/Link/index.js +3 -26
- package/es/core/List/__snapshots__/index.spec.tsx.snap +3 -3
- package/es/core/NavList/__snapshots__/index.spec.tsx.snap +2 -2
- package/es/core/NotificationBanner/__snapshots__/index.spec.tsx.snap +417 -29
- package/es/core/NotificationBanner/index.js +7 -3
- package/es/core/NotificationBanner/index.spec.js +11 -2
- package/es/core/ServiceBadge/index.js +4 -2
- package/es/core/SummaryList/__snapshots__/index.spec.tsx.snap +47 -1293
- package/es/core/Table/index.js +7 -0
- package/es/core/VisuallyHidden/index.js +1 -0
- package/es/core/WarningText/__snapshots__/index.spec.tsx.snap +15 -43
- package/es/govgr/Footer/Copyright.js +3 -2
- package/es/govgr/Footer/LicenseCCSA.js +2 -1
- package/es/layouts/Basic/__snapshots__/index.spec.tsx.snap +39 -687
- package/es/layouts/Grid/index.js +1 -0
- package/esm/app/Confirmation/index.js +3 -0
- package/esm/app/Footer/index.js +15 -0
- package/esm/app/Header/__snapshots__/index.spec.tsx.snap +63 -1231
- package/esm/app/Header/index.js +3 -1
- package/esm/core/Accordion/__snapshots__/index.spec.tsx.snap +61 -711
- package/esm/core/Blockquote/__snapshots__/index.spec.tsx.snap +9 -9
- package/esm/core/Breadcrumbs/index.js +3 -0
- package/esm/core/Button/__snapshots__/index.spec.tsx.snap +13 -0
- package/esm/core/Button/index.js +2 -1
- package/esm/core/Card/index.js +4 -0
- package/esm/core/Details/__snapshots__/index.spec.tsx.snap +20 -28
- package/esm/core/ErrorSummary/__snapshots__/index.spec.tsx.snap +3 -3
- package/esm/core/Hidden/index.js +1 -0
- package/esm/core/Link/__snapshots__/index.spec.tsx.snap +0 -3
- package/esm/core/Link/index.js +3 -26
- package/esm/core/List/__snapshots__/index.spec.tsx.snap +3 -3
- package/esm/core/NavList/__snapshots__/index.spec.tsx.snap +2 -2
- package/esm/core/NotificationBanner/__snapshots__/index.spec.tsx.snap +417 -29
- package/esm/core/NotificationBanner/index.js +7 -3
- package/esm/core/NotificationBanner/index.spec.js +11 -2
- package/esm/core/ServiceBadge/index.js +4 -2
- package/esm/core/SummaryList/__snapshots__/index.spec.tsx.snap +47 -1293
- package/esm/core/Table/index.js +7 -0
- package/esm/core/VisuallyHidden/index.js +1 -0
- package/esm/core/WarningText/__snapshots__/index.spec.tsx.snap +15 -43
- package/esm/govgr/Footer/Copyright.js +3 -2
- package/esm/govgr/Footer/LicenseCCSA.js +2 -1
- package/esm/index.js +1 -1
- package/esm/layouts/Basic/__snapshots__/index.spec.tsx.snap +39 -687
- package/esm/layouts/Grid/index.js +1 -0
- package/govgr/Footer/Copyright.js +4 -2
- package/govgr/Footer/LicenseCCSA.js +3 -1
- package/layouts/Basic/__snapshots__/index.spec.tsx.snap +39 -687
- package/layouts/Grid/index.d.ts +1 -0
- package/layouts/Grid/index.js +18 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
# Change Log - @digigov/ui
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 14 Feb 2022 09:56:29 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.11.0
|
|
6
|
+
Mon, 14 Feb 2022 09:56:29 GMT
|
|
7
|
+
|
|
8
|
+
### Minor changes
|
|
9
|
+
|
|
10
|
+
- Export any missing @digigov/ui components directly from @digigov/react-core
|
|
11
|
+
- Add Link to footer's components
|
|
12
|
+
|
|
13
|
+
### Patches
|
|
14
|
+
|
|
15
|
+
- Fix Link and NotificationBanner prop interfaces
|
|
4
16
|
|
|
5
17
|
## 0.10.4
|
|
6
18
|
Thu, 10 Feb 2022 13:45:56 GMT
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _Confirmation = require("@digigov/react-core/Confirmation");
|
|
8
|
+
|
|
9
|
+
Object.keys(_Confirmation).forEach(function (key) {
|
|
10
|
+
if (key === "default" || key === "__esModule") return;
|
|
11
|
+
if (key in exports && exports[key] === _Confirmation[key]) return;
|
|
12
|
+
Object.defineProperty(exports, key, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _Confirmation[key];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
var _ConfirmationBody = require("@digigov/react-core/ConfirmationBody");
|
|
21
|
+
|
|
22
|
+
Object.keys(_ConfirmationBody).forEach(function (key) {
|
|
23
|
+
if (key === "default" || key === "__esModule") return;
|
|
24
|
+
if (key in exports && exports[key] === _ConfirmationBody[key]) return;
|
|
25
|
+
Object.defineProperty(exports, key, {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function get() {
|
|
28
|
+
return _ConfirmationBody[key];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
var _ConfirmationTitle = require("@digigov/react-core/ConfirmationTitle");
|
|
34
|
+
|
|
35
|
+
Object.keys(_ConfirmationTitle).forEach(function (key) {
|
|
36
|
+
if (key === "default" || key === "__esModule") return;
|
|
37
|
+
if (key in exports && exports[key] === _ConfirmationTitle[key]) return;
|
|
38
|
+
Object.defineProperty(exports, key, {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function get() {
|
|
41
|
+
return _ConfirmationTitle[key];
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from '@digigov/react-core/Footer';
|
|
2
|
+
export * from '@digigov/react-core/FooterContainer';
|
|
3
|
+
export * from '@digigov/react-core/FooterContent';
|
|
4
|
+
export * from '@digigov/react-core/FooterContentLogos';
|
|
5
|
+
export * from '@digigov/react-core/FooterHeading';
|
|
6
|
+
export * from '@digigov/react-core/FooterImage';
|
|
7
|
+
export * from '@digigov/react-core/FooterInlineList';
|
|
8
|
+
export * from '@digigov/react-core/FooterInlineListItem';
|
|
9
|
+
export * from '@digigov/react-core/FooterLink';
|
|
10
|
+
export * from '@digigov/react-core/FooterList';
|
|
11
|
+
export * from '@digigov/react-core/FooterListItem';
|
|
12
|
+
export * from '@digigov/react-core/FooterMeta';
|
|
13
|
+
export * from '@digigov/react-core/FooterMetaItem';
|
|
14
|
+
export * from '@digigov/react-core/FooterNavigation';
|
|
15
|
+
export * from '@digigov/react-core/FooterSection';
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _Footer = require("@digigov/react-core/Footer");
|
|
8
|
+
|
|
9
|
+
Object.keys(_Footer).forEach(function (key) {
|
|
10
|
+
if (key === "default" || key === "__esModule") return;
|
|
11
|
+
if (key in exports && exports[key] === _Footer[key]) return;
|
|
12
|
+
Object.defineProperty(exports, key, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _Footer[key];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
var _FooterContainer = require("@digigov/react-core/FooterContainer");
|
|
21
|
+
|
|
22
|
+
Object.keys(_FooterContainer).forEach(function (key) {
|
|
23
|
+
if (key === "default" || key === "__esModule") return;
|
|
24
|
+
if (key in exports && exports[key] === _FooterContainer[key]) return;
|
|
25
|
+
Object.defineProperty(exports, key, {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function get() {
|
|
28
|
+
return _FooterContainer[key];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
var _FooterContent = require("@digigov/react-core/FooterContent");
|
|
34
|
+
|
|
35
|
+
Object.keys(_FooterContent).forEach(function (key) {
|
|
36
|
+
if (key === "default" || key === "__esModule") return;
|
|
37
|
+
if (key in exports && exports[key] === _FooterContent[key]) return;
|
|
38
|
+
Object.defineProperty(exports, key, {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function get() {
|
|
41
|
+
return _FooterContent[key];
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
var _FooterContentLogos = require("@digigov/react-core/FooterContentLogos");
|
|
47
|
+
|
|
48
|
+
Object.keys(_FooterContentLogos).forEach(function (key) {
|
|
49
|
+
if (key === "default" || key === "__esModule") return;
|
|
50
|
+
if (key in exports && exports[key] === _FooterContentLogos[key]) return;
|
|
51
|
+
Object.defineProperty(exports, key, {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function get() {
|
|
54
|
+
return _FooterContentLogos[key];
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
var _FooterHeading = require("@digigov/react-core/FooterHeading");
|
|
60
|
+
|
|
61
|
+
Object.keys(_FooterHeading).forEach(function (key) {
|
|
62
|
+
if (key === "default" || key === "__esModule") return;
|
|
63
|
+
if (key in exports && exports[key] === _FooterHeading[key]) return;
|
|
64
|
+
Object.defineProperty(exports, key, {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function get() {
|
|
67
|
+
return _FooterHeading[key];
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
var _FooterImage = require("@digigov/react-core/FooterImage");
|
|
73
|
+
|
|
74
|
+
Object.keys(_FooterImage).forEach(function (key) {
|
|
75
|
+
if (key === "default" || key === "__esModule") return;
|
|
76
|
+
if (key in exports && exports[key] === _FooterImage[key]) return;
|
|
77
|
+
Object.defineProperty(exports, key, {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function get() {
|
|
80
|
+
return _FooterImage[key];
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
var _FooterInlineList = require("@digigov/react-core/FooterInlineList");
|
|
86
|
+
|
|
87
|
+
Object.keys(_FooterInlineList).forEach(function (key) {
|
|
88
|
+
if (key === "default" || key === "__esModule") return;
|
|
89
|
+
if (key in exports && exports[key] === _FooterInlineList[key]) return;
|
|
90
|
+
Object.defineProperty(exports, key, {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _FooterInlineList[key];
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
var _FooterInlineListItem = require("@digigov/react-core/FooterInlineListItem");
|
|
99
|
+
|
|
100
|
+
Object.keys(_FooterInlineListItem).forEach(function (key) {
|
|
101
|
+
if (key === "default" || key === "__esModule") return;
|
|
102
|
+
if (key in exports && exports[key] === _FooterInlineListItem[key]) return;
|
|
103
|
+
Object.defineProperty(exports, key, {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: function get() {
|
|
106
|
+
return _FooterInlineListItem[key];
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
var _FooterLink = require("@digigov/react-core/FooterLink");
|
|
112
|
+
|
|
113
|
+
Object.keys(_FooterLink).forEach(function (key) {
|
|
114
|
+
if (key === "default" || key === "__esModule") return;
|
|
115
|
+
if (key in exports && exports[key] === _FooterLink[key]) return;
|
|
116
|
+
Object.defineProperty(exports, key, {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function get() {
|
|
119
|
+
return _FooterLink[key];
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
var _FooterList = require("@digigov/react-core/FooterList");
|
|
125
|
+
|
|
126
|
+
Object.keys(_FooterList).forEach(function (key) {
|
|
127
|
+
if (key === "default" || key === "__esModule") return;
|
|
128
|
+
if (key in exports && exports[key] === _FooterList[key]) return;
|
|
129
|
+
Object.defineProperty(exports, key, {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function get() {
|
|
132
|
+
return _FooterList[key];
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
var _FooterListItem = require("@digigov/react-core/FooterListItem");
|
|
138
|
+
|
|
139
|
+
Object.keys(_FooterListItem).forEach(function (key) {
|
|
140
|
+
if (key === "default" || key === "__esModule") return;
|
|
141
|
+
if (key in exports && exports[key] === _FooterListItem[key]) return;
|
|
142
|
+
Object.defineProperty(exports, key, {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function get() {
|
|
145
|
+
return _FooterListItem[key];
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
var _FooterMeta = require("@digigov/react-core/FooterMeta");
|
|
151
|
+
|
|
152
|
+
Object.keys(_FooterMeta).forEach(function (key) {
|
|
153
|
+
if (key === "default" || key === "__esModule") return;
|
|
154
|
+
if (key in exports && exports[key] === _FooterMeta[key]) return;
|
|
155
|
+
Object.defineProperty(exports, key, {
|
|
156
|
+
enumerable: true,
|
|
157
|
+
get: function get() {
|
|
158
|
+
return _FooterMeta[key];
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
var _FooterMetaItem = require("@digigov/react-core/FooterMetaItem");
|
|
164
|
+
|
|
165
|
+
Object.keys(_FooterMetaItem).forEach(function (key) {
|
|
166
|
+
if (key === "default" || key === "__esModule") return;
|
|
167
|
+
if (key in exports && exports[key] === _FooterMetaItem[key]) return;
|
|
168
|
+
Object.defineProperty(exports, key, {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function get() {
|
|
171
|
+
return _FooterMetaItem[key];
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
var _FooterNavigation = require("@digigov/react-core/FooterNavigation");
|
|
177
|
+
|
|
178
|
+
Object.keys(_FooterNavigation).forEach(function (key) {
|
|
179
|
+
if (key === "default" || key === "__esModule") return;
|
|
180
|
+
if (key in exports && exports[key] === _FooterNavigation[key]) return;
|
|
181
|
+
Object.defineProperty(exports, key, {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: function get() {
|
|
184
|
+
return _FooterNavigation[key];
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
var _FooterSection = require("@digigov/react-core/FooterSection");
|
|
190
|
+
|
|
191
|
+
Object.keys(_FooterSection).forEach(function (key) {
|
|
192
|
+
if (key === "default" || key === "__esModule") return;
|
|
193
|
+
if (key in exports && exports[key] === _FooterSection[key]) return;
|
|
194
|
+
Object.defineProperty(exports, key, {
|
|
195
|
+
enumerable: true,
|
|
196
|
+
get: function get() {
|
|
197
|
+
return _FooterSection[key];
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
});
|