@digigov/ui 0.9.1 → 0.10.2
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 +25 -1
- package/{libs/ui/src/api → api}/APIErrors.d.ts +0 -0
- package/api/APIErrors.js +1 -1
- package/{libs/ui/src/api → api}/APIProvider.d.ts +0 -0
- package/{libs/ui/src/api → api}/fetchAPI.d.ts +0 -0
- package/{libs/ui/src/api → api}/index.d.ts +0 -0
- package/{libs/ui/src/api → api}/index.spec.d.ts +0 -0
- package/{libs/ui/src/api → api}/useResource.d.ts +0 -0
- package/{libs/ui/src/api → api}/useResourceAction.d.ts +0 -0
- package/{libs/ui/src/api → api}/useResourceQuery.d.ts +0 -0
- package/{libs/ui/src/api → api}/utils.d.ts +0 -0
- package/{libs/ui/src/app → app}/App.d.ts +0 -0
- package/{libs/ui/src/app → app}/Header/HeaderLogo.d.ts +0 -0
- package/{libs/ui/src/app → app}/Header/HeaderSection.d.ts +0 -0
- package/{libs/ui/src/app → app}/Header/HeaderTitle.d.ts +0 -0
- package/{libs/ui/src/app → app}/Header/index.d.ts +0 -0
- package/{libs/ui/src/app → app}/Header/index.spec.d.ts +0 -0
- package/{libs/ui/src/app → app}/NotFound/index.d.ts +0 -0
- package/app/NotFound/index.js +5 -9
- package/{libs/ui/src/app → app}/OutdatedBrowserBanner.d.ts +0 -0
- package/app/OutdatedBrowserBanner.js +2 -2
- package/{libs/ui/src/app → app}/PageTitle.d.ts +0 -0
- package/{libs/ui/src/app → app}/QrCodeScanner/index.d.ts +0 -0
- package/{libs/ui/src/app → app}/QrCodeScanner/index.spec.d.ts +0 -0
- package/{libs/ui/src/app → app}/i18n.d.ts +0 -0
- package/{libs/ui/src/app → app}/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/Accordion/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/Accordion/index.spec.d.ts +0 -0
- package/{libs/ui/src/core → core}/Blockquote/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/Blockquote/index.spec.d.ts +0 -0
- package/{libs/ui/src/core → core}/Button/BackButton.d.ts +0 -0
- package/{libs/ui/src/core → core}/Button/ButtonLink.d.ts +0 -0
- package/{libs/ui/src/core → core}/Button/CallToAction.d.ts +0 -0
- package/{libs/ui/src/core → core}/Button/Icon.d.ts +0 -0
- package/{libs-ui/react-core/src/AccordionSectionHeader → core/Button}/index.d.ts +12 -7
- package/{libs/ui/src/core → core}/Button/index.spec.d.ts +0 -0
- package/{libs/ui/src/core → core}/Details/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/Details/index.spec.d.ts +0 -0
- package/{libs/ui/src/core → core}/Divider/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/ErrorSummary/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/ErrorSummary/index.spec.d.ts +0 -0
- package/{libs/ui/src/core → core}/Link/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/Link/index.spec.d.ts +0 -0
- package/{libs/ui/src/core → core}/List/List.d.ts +0 -0
- package/{libs/ui/src/core → core}/List/ListItem.d.ts +0 -0
- package/{libs/ui/src/core → core}/List/ListItemContent.d.ts +0 -0
- package/{libs/ui/src/core → core}/List/ListItemIcon.d.ts +0 -0
- package/{libs/ui/src/core → core}/List/ListItemText.d.ts +0 -0
- package/{libs/ui/src/core → core}/List/ListItemTitle.d.ts +0 -0
- package/{libs/ui/src/core → core}/List/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/List/index.spec.d.ts +0 -0
- package/{libs/ui/src/core → core}/NavList/NavList.d.ts +0 -0
- package/{libs/ui/src/core → core}/NavList/NavListContext.d.ts +0 -0
- package/{libs/ui/src/core → core}/NavList/NavListItem.d.ts +0 -0
- package/{libs/ui/src/core → core}/NavList/NavListItemBase.d.ts +1 -1
- package/{libs/ui/src/core → core}/NavList/NavListSubMenu.d.ts +0 -0
- package/{libs/ui/src/core → core}/NavList/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/NavList/index.spec.d.ts +0 -0
- package/{libs/ui/src/core → core}/NotificationBanner/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/NotificationBanner/index.spec.d.ts +0 -0
- package/{libs/ui/src/core → core}/ServiceBadge/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/SummaryList/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/SummaryList/index.spec.d.ts +0 -0
- package/{libs/ui/src/core → core}/Tabs/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/WarningText/index.d.ts +0 -0
- package/{libs/ui/src/core → core}/WarningText/index.spec.d.ts +0 -0
- package/{libs/ui/src/core → core}/index.d.ts +0 -0
- package/es/api/APIErrors.js +1 -1
- package/es/app/NotFound/index.js +3 -2
- package/es/app/OutdatedBrowserBanner.js +1 -1
- package/es/govgr/Footer/index.js +0 -77
- package/es/utils/withDeprecation.js +12 -2
- package/esm/api/APIErrors.js +1 -1
- package/esm/app/NotFound/index.js +3 -2
- package/esm/app/OutdatedBrowserBanner.js +1 -1
- package/esm/govgr/Footer/index.js +0 -77
- package/esm/index.js +1 -1
- package/esm/utils/withDeprecation.js +12 -2
- package/{libs/ui/src/govgr → govgr}/Footer/Copyright.d.ts +0 -0
- package/{libs/ui/src/govgr → govgr}/Footer/HellenicRepublicLogo.d.ts +0 -0
- package/{libs/ui/src/govgr → govgr}/Footer/LicenseCCSA.d.ts +0 -0
- package/{libs/ui/src/govgr → govgr}/Footer/index.d.ts +0 -4
- package/govgr/Footer/index.js +1 -88
- package/{libs/ui/src/govgr → govgr}/Footer/logo.d.ts +0 -0
- package/{libs-ui/react-core/src/HellenicRepublicLogo → govgr/Footer/logos}/logo-el.d.ts +0 -0
- package/{libs-ui/react-core/src/HellenicRepublicLogo → govgr/Footer/logos}/logo-en.d.ts +0 -0
- package/{libs/ui/src/govgr → govgr}/Logo/index.d.ts +0 -0
- package/{libs/ui/src/govgr → govgr}/Logo/logo.d.ts +0 -0
- package/{libs/ui/src/govgr → govgr}/index.d.ts +0 -0
- package/{libs/ui/src/hooks → hooks}/useDebounce.d.ts +0 -0
- package/{libs/ui/src/hooks → hooks}/useLatest.d.ts +0 -0
- package/{libs/ui/src/hooks → hooks}/useOutdatedBrowserCheck.d.ts +0 -0
- package/{libs/ui/src/hooks → hooks}/useSearch.d.ts +0 -0
- package/{libs/ui/src/hooks → hooks}/useTogglableSections.d.ts +0 -0
- package/{libs/ui/src/index.d.ts → index.d.ts} +0 -0
- package/{libs/ui/src/layouts → layouts}/Basic/Bottom/index.d.ts +0 -0
- package/{libs/ui/src/layouts → layouts}/Basic/Content/index.d.ts +1 -1
- package/{libs/ui/src/layouts → layouts}/Basic/Main/index.d.ts +0 -0
- package/{libs/ui/src/layouts → layouts}/Basic/Masthead/index.d.ts +0 -0
- package/{libs/ui/src/layouts → layouts}/Basic/Side/index.d.ts +0 -0
- package/{libs/ui/src/layouts → layouts}/Basic/Top/index.d.ts +0 -0
- package/{libs/ui/src/layouts → layouts}/Basic/index.d.ts +0 -0
- package/{libs/ui/src/layouts → layouts}/Basic/index.spec.d.ts +0 -0
- package/{libs/ui/src/layouts → layouts}/index.d.ts +0 -0
- package/{libs/ui/src/locales → locales}/el.d.ts +0 -0
- package/{libs/ui/src/locales → locales}/en.d.ts +0 -0
- package/package.json +2 -2
- package/{libs/ui/src/router → router}/index.d.ts +0 -0
- package/{libs/ui/src/test-utils → test-utils}/delay.d.ts +0 -0
- package/{libs/ui/src/test-utils → test-utils}/mountWithTheme.d.ts +0 -0
- package/{libs/ui/src/themes → themes}/govgr.d.ts +0 -0
- package/{libs/ui/src/themes → themes}/grnet.d.ts +0 -0
- package/{libs/ui/src/themes → themes}/index.d.ts +0 -0
- package/{libs/ui/src/typography → typography}/Caption.d.ts +0 -0
- package/{libs/ui/src/typography → typography}/NormalText.d.ts +0 -0
- package/{libs/ui/src/typography → typography}/Paragraph.d.ts +0 -0
- package/{libs/ui/src/typography → typography}/Title.d.ts +0 -0
- package/{libs/ui/src/typography → typography}/index.d.ts +0 -0
- package/{libs/ui/src/utils → utils}/evaluateBrowserVersion.d.ts +0 -0
- package/{libs/ui/src/utils → utils}/withDeprecation.d.ts +0 -0
- package/utils/withDeprecation.js +13 -2
- package/libs/ui/src/core/Button/index.d.ts +0 -14
- package/libs/ui/src/govgr/Footer/logos/logo-el.d.ts +0 -2
- package/libs/ui/src/govgr/Footer/logos/logo-en.d.ts +0 -2
- package/libs-ui/react-core/src/Accordion/index.d.ts +0 -10
- package/libs-ui/react-core/src/AccordionControls/index.d.ts +0 -9
- package/libs-ui/react-core/src/AccordionSection/index.d.ts +0 -15
- package/libs-ui/react-core/src/AccordionSectionContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/Aside/index.d.ts +0 -10
- package/libs-ui/react-core/src/BackLink/index.d.ts +0 -13
- package/libs-ui/react-core/src/Blockquote/index.d.ts +0 -9
- package/libs-ui/react-core/src/Bottom/index.d.ts +0 -9
- package/libs-ui/react-core/src/Button/index.d.ts +0 -21
- package/libs-ui/react-core/src/ButtonLink/index.d.ts +0 -17
- package/libs-ui/react-core/src/CallToAction/index.d.ts +0 -10
- package/libs-ui/react-core/src/Container/index.d.ts +0 -9
- package/libs-ui/react-core/src/Copyright/index.d.ts +0 -10
- package/libs-ui/react-core/src/Details/index.d.ts +0 -10
- package/libs-ui/react-core/src/DetailsContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/DetailsSummary/index.d.ts +0 -9
- package/libs-ui/react-core/src/ErrorSummary/index.d.ts +0 -9
- package/libs-ui/react-core/src/Footer/index.d.ts +0 -9
- package/libs-ui/react-core/src/FooterContainer/index.d.ts +0 -9
- package/libs-ui/react-core/src/FooterMeta/index.d.ts +0 -11
- package/libs-ui/react-core/src/FooterMetaItem/index.d.ts +0 -14
- package/libs-ui/react-core/src/GovGRLogo/index.d.ts +0 -9
- package/libs-ui/react-core/src/Grid/index.d.ts +0 -20
- package/libs-ui/react-core/src/Header/index.d.ts +0 -10
- package/libs-ui/react-core/src/HeaderLogo/index.d.ts +0 -17
- package/libs-ui/react-core/src/HeaderSection/index.d.ts +0 -9
- package/libs-ui/react-core/src/HeaderSubtitle/index.d.ts +0 -9
- package/libs-ui/react-core/src/HeaderTitle/index.d.ts +0 -13
- package/libs-ui/react-core/src/Heading/index.d.ts +0 -21
- package/libs-ui/react-core/src/HeadingCaption/index.d.ts +0 -15
- package/libs-ui/react-core/src/HellenicRepublicLogo/index.d.ts +0 -20
- package/libs-ui/react-core/src/Layout/index.d.ts +0 -10
- package/libs-ui/react-core/src/List/index.d.ts +0 -18
- package/libs-ui/react-core/src/ListItem/index.d.ts +0 -9
- package/libs-ui/react-core/src/Main/index.d.ts +0 -9
- package/libs-ui/react-core/src/Masthead/index.d.ts +0 -9
- package/libs-ui/react-core/src/MastheadBody/index.d.ts +0 -9
- package/libs-ui/react-core/src/NormalText/index.d.ts +0 -28
- package/libs-ui/react-core/src/NotificationBanner/index.d.ts +0 -17
- package/libs-ui/react-core/src/NotificationBannerContent/index.d.ts +0 -12
- package/libs-ui/react-core/src/NotificationBannerHeader/index.d.ts +0 -11
- package/libs-ui/react-core/src/NotificationBannerHeading/index.d.ts +0 -11
- package/libs-ui/react-core/src/Paragraph/index.d.ts +0 -26
- package/libs-ui/react-core/src/PhaseBanner/index.d.ts +0 -15
- package/libs-ui/react-core/src/PhaseBannerTag/index.d.ts +0 -9
- package/libs-ui/react-core/src/SectionBreak/index.d.ts +0 -18
- package/libs-ui/react-core/src/SummaryList/index.d.ts +0 -10
- package/libs-ui/react-core/src/SummaryListItem/index.d.ts +0 -10
- package/libs-ui/react-core/src/SummaryListItemAction/index.d.ts +0 -10
- package/libs-ui/react-core/src/SummaryListItemKey/index.d.ts +0 -10
- package/libs-ui/react-core/src/SummaryListItemValue/index.d.ts +0 -9
- package/libs-ui/react-core/src/Tabs/index.d.ts +0 -10
- package/libs-ui/react-core/src/TabsHeading/index.d.ts +0 -15
- package/libs-ui/react-core/src/TabsList/index.d.ts +0 -10
- package/libs-ui/react-core/src/TabsListItem/index.d.ts +0 -20
- package/libs-ui/react-core/src/TabsPanel/index.d.ts +0 -16
- package/libs-ui/react-core/src/Top/index.d.ts +0 -9
- package/libs-ui/react-core/src/WarningText/index.d.ts +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
# Change Log - @digigov/ui
|
|
2
2
|
|
|
3
|
-
This log was last generated on Thu,
|
|
3
|
+
This log was last generated on Thu, 03 Feb 2022 15:47:05 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.10.2
|
|
6
|
+
Thu, 03 Feb 2022 15:47:05 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
9
|
+
|
|
10
|
+
## 0.10.1
|
|
11
|
+
Wed, 02 Feb 2022 15:44:29 GMT
|
|
12
|
+
|
|
13
|
+
_Version update only_
|
|
14
|
+
|
|
15
|
+
## 0.10.0
|
|
16
|
+
Fri, 28 Jan 2022 13:37:24 GMT
|
|
17
|
+
|
|
18
|
+
### Minor changes
|
|
19
|
+
|
|
20
|
+
- Remove Feedback-related code
|
|
21
|
+
|
|
22
|
+
## 0.9.2
|
|
23
|
+
Thu, 30 Dec 2021 14:56:45 GMT
|
|
24
|
+
|
|
25
|
+
### Patches
|
|
26
|
+
|
|
27
|
+
- handle depracation logs better
|
|
4
28
|
|
|
5
29
|
## 0.9.1
|
|
6
30
|
Thu, 30 Dec 2021 14:11:34 GMT
|
|
File without changes
|
package/api/APIErrors.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/app/NotFound/index.js
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
-
|
|
7
5
|
Object.defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
@@ -11,21 +9,19 @@ exports["default"] = exports.NotFound = void 0;
|
|
|
11
9
|
|
|
12
10
|
var _react = _interopRequireDefault(require("react"));
|
|
13
11
|
|
|
14
|
-
var _PageTitle =
|
|
15
|
-
|
|
16
|
-
var _typography = require("@digigov/ui/typography");
|
|
12
|
+
var _PageTitle = _interopRequireDefault(require("@digigov/react-core/PageTitle"));
|
|
17
13
|
|
|
18
|
-
var
|
|
14
|
+
var _PageTitleHeading = _interopRequireDefault(require("@digigov/react-core/PageTitleHeading"));
|
|
19
15
|
|
|
20
|
-
|
|
16
|
+
var _Paragraph = _interopRequireDefault(require("@digigov/react-core/Paragraph"));
|
|
21
17
|
|
|
22
|
-
|
|
18
|
+
var _app = require("@digigov/ui/app");
|
|
23
19
|
|
|
24
20
|
var NotFound = function NotFound() {
|
|
25
21
|
var _useTranslation = (0, _app.useTranslation)(),
|
|
26
22
|
t = _useTranslation.t;
|
|
27
23
|
|
|
28
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_PageTitle["default"], null, /*#__PURE__*/_react["default"].createElement(
|
|
24
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_PageTitle["default"], null, /*#__PURE__*/_react["default"].createElement(_PageTitleHeading["default"], null, t('notfound.page_not_found'))), /*#__PURE__*/_react["default"].createElement(_Paragraph["default"], null, t('notfound.wrong_key_address')), /*#__PURE__*/_react["default"].createElement(_Paragraph["default"], null, t('notfound.wrong_cp_address')), /*#__PURE__*/_react["default"].createElement(_Paragraph["default"], null, t('notfound.service_contact')));
|
|
29
25
|
};
|
|
30
26
|
|
|
31
27
|
exports.NotFound = NotFound;
|
|
File without changes
|
|
@@ -13,7 +13,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
13
13
|
|
|
14
14
|
var _WarningText = require("@digigov/ui/core/WarningText");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _Paragraph = _interopRequireDefault(require("@digigov/ui/typography/Paragraph"));
|
|
17
17
|
|
|
18
18
|
var _useOutdatedBrowserCheck = _interopRequireDefault(require("@digigov/ui/hooks/useOutdatedBrowserCheck"));
|
|
19
19
|
|
|
@@ -34,7 +34,7 @@ function OutdatedBrowserBanner() {
|
|
|
34
34
|
var _useTranslation = (0, _app.useTranslation)(),
|
|
35
35
|
t = _useTranslation.t;
|
|
36
36
|
|
|
37
|
-
return /*#__PURE__*/_react["default"].createElement(_WarningText.WarningText, null, shouldUpdate ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, mob.any() ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(
|
|
37
|
+
return /*#__PURE__*/_react["default"].createElement(_WarningText.WarningText, null, shouldUpdate ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, mob.any() ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Paragraph["default"], null, t('outdated.mobile'))) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Paragraph["default"], null, t('outdated.web'), /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
38
38
|
href: updateLink,
|
|
39
39
|
target: "_blank"
|
|
40
40
|
}, updateLink, ' ')))) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null));
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
export
|
|
2
|
+
import { ButtonProps as CoreButtonProps } from '@digigov/react-core/Button';
|
|
3
|
+
export declare type ButtonProps = CoreButtonProps;
|
|
4
|
+
export declare const Button: React.ForwardRefExoticComponent<Pick<CoreButtonProps, "color" | "variant" | "disabled" | "className" | "children" | "key" | "autoFocus" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
export default Button;
|
|
6
|
+
export interface ContinueButtonProps extends ButtonProps {
|
|
7
|
+
label?: string;
|
|
8
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
4
9
|
}
|
|
5
|
-
|
|
6
|
-
*
|
|
7
|
-
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
+
export declare const ContinueButton: React.FC<ContinueButtonProps>;
|
|
11
|
+
export * from '@digigov/ui/core/Button/BackButton';
|
|
12
|
+
export * from '@digigov/ui/core/Button/CallToAction';
|
|
13
|
+
export * from '@digigov/ui/core/Button/ButtonLink';
|
|
14
|
+
export * from '@digigov/ui/core/Button/Icon';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const useNavListItemBaseStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"
|
|
2
|
+
export declare const useNavListItemBaseStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"link" | "label" | "horizontal" | "vertical" | "open" | "root" | "icon" | "selected" | "submenu">;
|
|
3
3
|
export interface NavListItemBaseProps {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
href?: string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/es/api/APIErrors.js
CHANGED
package/es/app/NotFound/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PageTitle
|
|
3
|
-
import
|
|
2
|
+
import PageTitle from '@digigov/react-core/PageTitle';
|
|
3
|
+
import PageTitleHeading from '@digigov/react-core/PageTitleHeading';
|
|
4
|
+
import Paragraph from '@digigov/react-core/Paragraph';
|
|
4
5
|
import { useTranslation } from '@digigov/ui/app';
|
|
5
6
|
export var NotFound = function NotFound() {
|
|
6
7
|
var _useTranslation = useTranslation(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { WarningText } from '@digigov/ui/core/WarningText';
|
|
4
|
-
import
|
|
4
|
+
import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
5
5
|
import useOutdatedBrowserCheck from '@digigov/ui/hooks/useOutdatedBrowserCheck';
|
|
6
6
|
import Link from '@digigov/ui/core/Link';
|
|
7
7
|
import { isMobile } from '@digigov/ui/utils/evaluateBrowserVersion';
|
package/es/govgr/Footer/index.js
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
|
-
var _excluded = ["reportBugs"];
|
|
3
1
|
import React from 'react';
|
|
4
|
-
import clsx from 'clsx';
|
|
5
|
-
import { makeStyles } from '@material-ui/core/styles';
|
|
6
|
-
import Grid from '@digigov/react-core/Grid';
|
|
7
|
-
import { Content } from '@digigov/ui/layouts/Basic';
|
|
8
|
-
import Button from '@digigov/ui/core/Button';
|
|
9
|
-
import Title from '@digigov/ui/typography/Title';
|
|
10
2
|
import Copyright from '@digigov/ui/govgr/Footer/Copyright';
|
|
11
3
|
import HellenicRepublicLogo from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
12
4
|
import Footer from '@digigov/react-core/Footer';
|
|
@@ -26,73 +18,4 @@ export var GovGRFooter = function GovGRFooter(_ref) {
|
|
|
26
18
|
minDigitalCopyright: minDigitalCopyright
|
|
27
19
|
})), _ref2)));
|
|
28
20
|
};
|
|
29
|
-
var useFeedbackStyles = makeStyles(function (theme) {
|
|
30
|
-
return {
|
|
31
|
-
root: {
|
|
32
|
-
width: '100%',
|
|
33
|
-
background: theme.palette.primary.main,
|
|
34
|
-
padding: theme.spacing(2),
|
|
35
|
-
color: theme.palette.getContrastText(theme.palette.primary.main)
|
|
36
|
-
},
|
|
37
|
-
title: {
|
|
38
|
-
margin: 0,
|
|
39
|
-
display: 'inline',
|
|
40
|
-
fontWeight: 'normal',
|
|
41
|
-
marginRight: theme.spacing(4),
|
|
42
|
-
lineHeight: '1.5rem'
|
|
43
|
-
},
|
|
44
|
-
link: {
|
|
45
|
-
margin: theme.spacing(0, 1, 2, 1),
|
|
46
|
-
padding: theme.spacing(1, 4),
|
|
47
|
-
border: "1px solid ".concat(theme.palette.common.white),
|
|
48
|
-
color: theme.palette.common.white,
|
|
49
|
-
background: theme.palette.primary.light,
|
|
50
|
-
'&:hover': {
|
|
51
|
-
background: theme.palette.primary.dark
|
|
52
|
-
},
|
|
53
|
-
'&:visited': {
|
|
54
|
-
color: theme.palette.common.white
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
wrong: {}
|
|
58
|
-
};
|
|
59
|
-
}, {
|
|
60
|
-
name: 'MuiFeedback'
|
|
61
|
-
});
|
|
62
|
-
export var Feedback = function Feedback(_ref3) {
|
|
63
|
-
var _ref3$reportBugs = _ref3.reportBugs,
|
|
64
|
-
reportBugs = _ref3$reportBugs === void 0 ? false : _ref3$reportBugs,
|
|
65
|
-
props = _objectWithoutProperties(_ref3, _excluded);
|
|
66
|
-
|
|
67
|
-
var classes = useFeedbackStyles();
|
|
68
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
69
|
-
className: classes.root
|
|
70
|
-
}, /*#__PURE__*/React.createElement(Content, props, /*#__PURE__*/React.createElement(Grid, {
|
|
71
|
-
container: true
|
|
72
|
-
}, /*#__PURE__*/React.createElement(Grid, {
|
|
73
|
-
item: true,
|
|
74
|
-
xs: 12,
|
|
75
|
-
sm: 6,
|
|
76
|
-
md: 6
|
|
77
|
-
}, /*#__PURE__*/React.createElement(Title, {
|
|
78
|
-
className: classes.title,
|
|
79
|
-
size: "sm"
|
|
80
|
-
}, "\u0395\u03AF\u03BD\u03B1\u03B9 \u03C7\u03C1\u03AE\u03C3\u03B9\u03BC\u03B7 \u03B1\u03C5\u03C4\u03AE \u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1;")), /*#__PURE__*/React.createElement(Grid, {
|
|
81
|
-
item: true,
|
|
82
|
-
xs: 12,
|
|
83
|
-
sm: 6,
|
|
84
|
-
md: 6
|
|
85
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
86
|
-
className: classes.link
|
|
87
|
-
}, "\u039D\u03B1\u03B9"), /*#__PURE__*/React.createElement(Button, {
|
|
88
|
-
className: classes.link
|
|
89
|
-
}, "\u038C\u03C7\u03B9")), reportBugs && /*#__PURE__*/React.createElement(Grid, {
|
|
90
|
-
item: true,
|
|
91
|
-
xs: 12,
|
|
92
|
-
sm: 12,
|
|
93
|
-
md: 4
|
|
94
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
95
|
-
className: clsx(classes.link, classes.wrong)
|
|
96
|
-
}, "\u03A5\u03C0\u03AC\u03C1\u03C7\u03B5\u03B9 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF \u03BB\u03AC\u03B8\u03BF\u03C2 \u03C3\u03C4\u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1")))));
|
|
97
|
-
};
|
|
98
21
|
export default GovGRFooter;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
1
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
3
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
3
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -27,9 +28,11 @@ var DigigovError = /*#__PURE__*/function (_Error) {
|
|
|
27
28
|
return _this;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
return DigigovError;
|
|
31
|
+
return _createClass(DigigovError);
|
|
31
32
|
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
32
33
|
|
|
34
|
+
var loggedDeprecations = new Set();
|
|
35
|
+
|
|
33
36
|
var handleErrorWarning = function handleErrorWarning(componentName, name, _ref, type) {
|
|
34
37
|
var error = _ref.error,
|
|
35
38
|
warning = _ref.warning;
|
|
@@ -52,9 +55,16 @@ export default function withDeprecation(Component, deprecations) {
|
|
|
52
55
|
|
|
53
56
|
var componentName = // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
54
57
|
// @ts-ignore
|
|
55
|
-
deprecations.name || Component.name || (Component === null || Component === void 0 ? void 0 : (_Component$render = Component.render) === null || _Component$render === void 0 ? void 0 : _Component$render.name);
|
|
58
|
+
deprecations.name || Component.name || (Component === null || Component === void 0 ? void 0 : (_Component$render = Component.render) === null || _Component$render === void 0 ? void 0 : _Component$render.name);
|
|
59
|
+
|
|
60
|
+
if (loggedDeprecations.has(componentName)) {
|
|
61
|
+
return Component;
|
|
62
|
+
} else {
|
|
63
|
+
loggedDeprecations.add(componentName);
|
|
64
|
+
} // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
56
65
|
// @ts-ignore
|
|
57
66
|
|
|
67
|
+
|
|
58
68
|
return function withDeprecationComponent(props) {
|
|
59
69
|
if (deprecations.rename) {
|
|
60
70
|
console.warn("\u267B\uFE0F ".concat(componentName, " is renamed to ").concat(deprecations.rename, "\n"));
|
package/esm/api/APIErrors.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PageTitle
|
|
3
|
-
import
|
|
2
|
+
import PageTitle from '@digigov/react-core/PageTitle';
|
|
3
|
+
import PageTitleHeading from '@digigov/react-core/PageTitleHeading';
|
|
4
|
+
import Paragraph from '@digigov/react-core/Paragraph';
|
|
4
5
|
import { useTranslation } from '@digigov/ui/app';
|
|
5
6
|
export var NotFound = function NotFound() {
|
|
6
7
|
var _useTranslation = useTranslation(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { WarningText } from '@digigov/ui/core/WarningText';
|
|
4
|
-
import
|
|
4
|
+
import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
5
5
|
import useOutdatedBrowserCheck from '@digigov/ui/hooks/useOutdatedBrowserCheck';
|
|
6
6
|
import Link from '@digigov/ui/core/Link';
|
|
7
7
|
import { isMobile } from '@digigov/ui/utils/evaluateBrowserVersion';
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
|
-
var _excluded = ["reportBugs"];
|
|
3
1
|
import React from 'react';
|
|
4
|
-
import clsx from 'clsx';
|
|
5
|
-
import { makeStyles } from '@material-ui/core/styles';
|
|
6
|
-
import Grid from '@digigov/react-core/Grid';
|
|
7
|
-
import { Content } from '@digigov/ui/layouts/Basic';
|
|
8
|
-
import Button from '@digigov/ui/core/Button';
|
|
9
|
-
import Title from '@digigov/ui/typography/Title';
|
|
10
2
|
import Copyright from '@digigov/ui/govgr/Footer/Copyright';
|
|
11
3
|
import HellenicRepublicLogo from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
|
|
12
4
|
import Footer from '@digigov/react-core/Footer';
|
|
@@ -26,73 +18,4 @@ export var GovGRFooter = function GovGRFooter(_ref) {
|
|
|
26
18
|
minDigitalCopyright: minDigitalCopyright
|
|
27
19
|
})), _ref2)));
|
|
28
20
|
};
|
|
29
|
-
var useFeedbackStyles = makeStyles(function (theme) {
|
|
30
|
-
return {
|
|
31
|
-
root: {
|
|
32
|
-
width: '100%',
|
|
33
|
-
background: theme.palette.primary.main,
|
|
34
|
-
padding: theme.spacing(2),
|
|
35
|
-
color: theme.palette.getContrastText(theme.palette.primary.main)
|
|
36
|
-
},
|
|
37
|
-
title: {
|
|
38
|
-
margin: 0,
|
|
39
|
-
display: 'inline',
|
|
40
|
-
fontWeight: 'normal',
|
|
41
|
-
marginRight: theme.spacing(4),
|
|
42
|
-
lineHeight: '1.5rem'
|
|
43
|
-
},
|
|
44
|
-
link: {
|
|
45
|
-
margin: theme.spacing(0, 1, 2, 1),
|
|
46
|
-
padding: theme.spacing(1, 4),
|
|
47
|
-
border: "1px solid ".concat(theme.palette.common.white),
|
|
48
|
-
color: theme.palette.common.white,
|
|
49
|
-
background: theme.palette.primary.light,
|
|
50
|
-
'&:hover': {
|
|
51
|
-
background: theme.palette.primary.dark
|
|
52
|
-
},
|
|
53
|
-
'&:visited': {
|
|
54
|
-
color: theme.palette.common.white
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
wrong: {}
|
|
58
|
-
};
|
|
59
|
-
}, {
|
|
60
|
-
name: 'MuiFeedback'
|
|
61
|
-
});
|
|
62
|
-
export var Feedback = function Feedback(_ref3) {
|
|
63
|
-
var _ref3$reportBugs = _ref3.reportBugs,
|
|
64
|
-
reportBugs = _ref3$reportBugs === void 0 ? false : _ref3$reportBugs,
|
|
65
|
-
props = _objectWithoutProperties(_ref3, _excluded);
|
|
66
|
-
|
|
67
|
-
var classes = useFeedbackStyles();
|
|
68
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
69
|
-
className: classes.root
|
|
70
|
-
}, /*#__PURE__*/React.createElement(Content, props, /*#__PURE__*/React.createElement(Grid, {
|
|
71
|
-
container: true
|
|
72
|
-
}, /*#__PURE__*/React.createElement(Grid, {
|
|
73
|
-
item: true,
|
|
74
|
-
xs: 12,
|
|
75
|
-
sm: 6,
|
|
76
|
-
md: 6
|
|
77
|
-
}, /*#__PURE__*/React.createElement(Title, {
|
|
78
|
-
className: classes.title,
|
|
79
|
-
size: "sm"
|
|
80
|
-
}, "\u0395\u03AF\u03BD\u03B1\u03B9 \u03C7\u03C1\u03AE\u03C3\u03B9\u03BC\u03B7 \u03B1\u03C5\u03C4\u03AE \u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1;")), /*#__PURE__*/React.createElement(Grid, {
|
|
81
|
-
item: true,
|
|
82
|
-
xs: 12,
|
|
83
|
-
sm: 6,
|
|
84
|
-
md: 6
|
|
85
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
86
|
-
className: classes.link
|
|
87
|
-
}, "\u039D\u03B1\u03B9"), /*#__PURE__*/React.createElement(Button, {
|
|
88
|
-
className: classes.link
|
|
89
|
-
}, "\u038C\u03C7\u03B9")), reportBugs && /*#__PURE__*/React.createElement(Grid, {
|
|
90
|
-
item: true,
|
|
91
|
-
xs: 12,
|
|
92
|
-
sm: 12,
|
|
93
|
-
md: 4
|
|
94
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
95
|
-
className: clsx(classes.link, classes.wrong)
|
|
96
|
-
}, "\u03A5\u03C0\u03AC\u03C1\u03C7\u03B5\u03B9 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF \u03BB\u03AC\u03B8\u03BF\u03C2 \u03C3\u03C4\u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1")))));
|
|
97
|
-
};
|
|
98
21
|
export default GovGRFooter;
|
package/esm/index.js
CHANGED