@digigov/ui 0.10.2 → 0.12.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 +32 -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/HeaderLogo.d.ts +1 -1
- package/app/Header/HeaderTitle.d.ts +1 -1
- 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/BackButton.d.ts +1 -1
- package/core/Button/ButtonLink.d.ts +1 -1
- 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/es/locales/el.js +11 -1
- package/es/locales/en.js +11 -1
- 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/esm/locales/el.js +11 -1
- package/esm/locales/en.js +11 -1
- 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/locales/el.d.ts +10 -0
- package/locales/el.js +11 -1
- package/locales/en.d.ts +10 -0
- package/locales/en.js +11 -1
- package/package.json +2 -2
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from '@digigov/react-core/Table';
|
|
2
|
+
export * from '@digigov/react-core/TableBody';
|
|
3
|
+
export * from '@digigov/react-core/TableCaption';
|
|
4
|
+
export * from '@digigov/react-core/TableDataCell';
|
|
5
|
+
export * from '@digigov/react-core/TableHead';
|
|
6
|
+
export * from '@digigov/react-core/TableHeaderCell';
|
|
7
|
+
export * from '@digigov/react-core/TableRow';
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _Table = require("@digigov/react-core/Table");
|
|
8
|
+
|
|
9
|
+
Object.keys(_Table).forEach(function (key) {
|
|
10
|
+
if (key === "default" || key === "__esModule") return;
|
|
11
|
+
if (key in exports && exports[key] === _Table[key]) return;
|
|
12
|
+
Object.defineProperty(exports, key, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _Table[key];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
var _TableBody = require("@digigov/react-core/TableBody");
|
|
21
|
+
|
|
22
|
+
Object.keys(_TableBody).forEach(function (key) {
|
|
23
|
+
if (key === "default" || key === "__esModule") return;
|
|
24
|
+
if (key in exports && exports[key] === _TableBody[key]) return;
|
|
25
|
+
Object.defineProperty(exports, key, {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function get() {
|
|
28
|
+
return _TableBody[key];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
var _TableCaption = require("@digigov/react-core/TableCaption");
|
|
34
|
+
|
|
35
|
+
Object.keys(_TableCaption).forEach(function (key) {
|
|
36
|
+
if (key === "default" || key === "__esModule") return;
|
|
37
|
+
if (key in exports && exports[key] === _TableCaption[key]) return;
|
|
38
|
+
Object.defineProperty(exports, key, {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function get() {
|
|
41
|
+
return _TableCaption[key];
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
var _TableDataCell = require("@digigov/react-core/TableDataCell");
|
|
47
|
+
|
|
48
|
+
Object.keys(_TableDataCell).forEach(function (key) {
|
|
49
|
+
if (key === "default" || key === "__esModule") return;
|
|
50
|
+
if (key in exports && exports[key] === _TableDataCell[key]) return;
|
|
51
|
+
Object.defineProperty(exports, key, {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function get() {
|
|
54
|
+
return _TableDataCell[key];
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
var _TableHead = require("@digigov/react-core/TableHead");
|
|
60
|
+
|
|
61
|
+
Object.keys(_TableHead).forEach(function (key) {
|
|
62
|
+
if (key === "default" || key === "__esModule") return;
|
|
63
|
+
if (key in exports && exports[key] === _TableHead[key]) return;
|
|
64
|
+
Object.defineProperty(exports, key, {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function get() {
|
|
67
|
+
return _TableHead[key];
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
var _TableHeaderCell = require("@digigov/react-core/TableHeaderCell");
|
|
73
|
+
|
|
74
|
+
Object.keys(_TableHeaderCell).forEach(function (key) {
|
|
75
|
+
if (key === "default" || key === "__esModule") return;
|
|
76
|
+
if (key in exports && exports[key] === _TableHeaderCell[key]) return;
|
|
77
|
+
Object.defineProperty(exports, key, {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function get() {
|
|
80
|
+
return _TableHeaderCell[key];
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
var _TableRow = require("@digigov/react-core/TableRow");
|
|
86
|
+
|
|
87
|
+
Object.keys(_TableRow).forEach(function (key) {
|
|
88
|
+
if (key === "default" || key === "__esModule") return;
|
|
89
|
+
if (key in exports && exports[key] === _TableRow[key]) return;
|
|
90
|
+
Object.defineProperty(exports, key, {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _TableRow[key];
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@digigov/react-core/VisuallyHidden';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _VisuallyHidden = require("@digigov/react-core/VisuallyHidden");
|
|
8
|
+
|
|
9
|
+
Object.keys(_VisuallyHidden).forEach(function (key) {
|
|
10
|
+
if (key === "default" || key === "__esModule") return;
|
|
11
|
+
if (key in exports && exports[key] === _VisuallyHidden[key]) return;
|
|
12
|
+
Object.defineProperty(exports, key, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _VisuallyHidden[key];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
});
|
|
@@ -311,54 +311,26 @@ exports[`renders the WarningText with sample data 1`] = `
|
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
>
|
|
314
|
-
<WarningText>
|
|
314
|
+
<ForwardRef(WarningText)>
|
|
315
315
|
<div
|
|
316
|
-
className="
|
|
316
|
+
className="govgr-warning-text"
|
|
317
317
|
>
|
|
318
|
-
<
|
|
319
|
-
className="
|
|
320
|
-
fontSize="large"
|
|
318
|
+
<span
|
|
319
|
+
className="govgr-warning-text__icon"
|
|
321
320
|
>
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
<ForwardRef(SvgIcon)
|
|
327
|
-
className="MuiWarningText-icon"
|
|
328
|
-
classes={
|
|
329
|
-
Object {
|
|
330
|
-
"colorAction": "MuiSvgIcon-colorAction",
|
|
331
|
-
"colorDisabled": "MuiSvgIcon-colorDisabled",
|
|
332
|
-
"colorError": "MuiSvgIcon-colorError",
|
|
333
|
-
"colorPrimary": "MuiSvgIcon-colorPrimary",
|
|
334
|
-
"colorSecondary": "MuiSvgIcon-colorSecondary",
|
|
335
|
-
"fontSizeInherit": "MuiSvgIcon-fontSizeInherit",
|
|
336
|
-
"fontSizeLarge": "MuiSvgIcon-fontSizeLarge",
|
|
337
|
-
"fontSizeSmall": "MuiSvgIcon-fontSizeSmall",
|
|
338
|
-
"root": "MuiSvgIcon-root",
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
fontSize="large"
|
|
342
|
-
>
|
|
343
|
-
<svg
|
|
344
|
-
aria-hidden={true}
|
|
345
|
-
className="MuiSvgIcon-root MuiWarningText-icon MuiSvgIcon-fontSizeLarge"
|
|
346
|
-
focusable="false"
|
|
347
|
-
viewBox="0 0 24 24"
|
|
348
|
-
>
|
|
349
|
-
<path
|
|
350
|
-
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"
|
|
351
|
-
/>
|
|
352
|
-
</svg>
|
|
353
|
-
</ForwardRef(SvgIcon)>
|
|
354
|
-
</WithStyles(ForwardRef(SvgIcon))>
|
|
355
|
-
</ForwardRef(ErrorIcon)>
|
|
356
|
-
<div
|
|
357
|
-
className="MuiWarningText-text"
|
|
321
|
+
!
|
|
322
|
+
</span>
|
|
323
|
+
<strong
|
|
324
|
+
className="govgr-warning-text__text"
|
|
358
325
|
>
|
|
326
|
+
<span
|
|
327
|
+
className="govgr-warning-text__assistive"
|
|
328
|
+
>
|
|
329
|
+
Προσοχή
|
|
330
|
+
</span>
|
|
359
331
|
this is some random warning text
|
|
360
|
-
</
|
|
332
|
+
</strong>
|
|
361
333
|
</div>
|
|
362
|
-
</WarningText>
|
|
334
|
+
</ForwardRef(WarningText)>
|
|
363
335
|
</ThemeProvider>
|
|
364
336
|
`;
|
|
@@ -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';
|