@digigov/nextjs 0.6.22 → 1.0.0-rc

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/App.js CHANGED
@@ -25,13 +25,13 @@ var _app = _interopRequireDefault(require("next/app"));
25
25
 
26
26
  var _head = _interopRequireDefault(require("next/head"));
27
27
 
28
- var _Link = require("@digigov/ui/core/Link");
28
+ var _Link = require("@digigov/ui/navigation/Link");
29
29
 
30
30
  var _Link2 = _interopRequireDefault(require("@digigov/nextjs/Link"));
31
31
 
32
32
  var _dynamic = _interopRequireDefault(require("next/dynamic"));
33
33
 
34
- var _i18n = require("@digigov/ui/app/i18n");
34
+ var _i18n = require("@digigov/ui/i18n");
35
35
 
36
36
  var _reactI18next = require("react-i18next");
37
37
 
package/README.md CHANGED
@@ -7,7 +7,7 @@ Included,
7
7
  * common `_app` and `_document` components with support for,
8
8
  - SSR style handling.
9
9
  - `@digigov/ui/app/App` component.
10
- - use `@digigov/ui/core/Link/LinkProvider` to set `next/Link` as the default
10
+ - use `@digigov/ui/navigation/Link/LinkProvider` to set `next/Link` as the default
11
11
  Link component across app.
12
12
 
13
13
  * react-i18next initializer
package/es/App.js CHANGED
@@ -11,10 +11,10 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
11
11
  import React from 'react';
12
12
  import App from 'next/app';
13
13
  import Head from 'next/head';
14
- import { LinkProvider } from '@digigov/ui/core/Link';
14
+ import { LinkProvider } from '@digigov/ui/navigation/Link';
15
15
  import NextLink from '@digigov/nextjs/Link';
16
16
  import dynamic from 'next/dynamic';
17
- import { I18NProvider } from '@digigov/ui/app/i18n';
17
+ import { I18NProvider } from '@digigov/ui/i18n';
18
18
  import { withTranslation } from 'react-i18next';
19
19
  var DigiGOVApp = dynamic(function () {
20
20
  return import('@digigov/ui/app/App');
package/esm/App.js CHANGED
@@ -11,10 +11,10 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
11
11
  import React from 'react';
12
12
  import App from 'next/app';
13
13
  import Head from 'next/head';
14
- import { LinkProvider } from '@digigov/ui/core/Link';
14
+ import { LinkProvider } from '@digigov/ui/navigation/Link';
15
15
  import NextLink from '@digigov/nextjs/Link';
16
16
  import dynamic from 'next/dynamic';
17
- import { I18NProvider } from '@digigov/ui/app/i18n';
17
+ import { I18NProvider } from '@digigov/ui/i18n';
18
18
  import { withTranslation } from 'react-i18next';
19
19
  var DigiGOVApp = dynamic(function () {
20
20
  return import('@digigov/ui/app/App');
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Digigov v0.6.22
1
+ /** @license Digigov v1.0.0-rc
2
2
  *
3
3
  * This source code is licensed under the BSD-2-Clause license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { LinkProps } from '@digigov/ui/core/Link';
2
+ import { LinkProps } from '@digigov/ui/navigation/Link';
3
3
  declare const _default: React.ForwardRefExoticComponent<Pick<LinkProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "href" | "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" | "children" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "printVisible" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "underline"> & React.RefAttributes<HTMLAnchorElement>>;
4
4
  export default _default;
@@ -33,6 +33,7 @@ export declare type BaseProps<C extends React.ElementType> = PolymorphicComponen
33
33
  paddingRight?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
34
34
  /** printHidden is optional. Default value is false. When true, the component is hidden at print. */
35
35
  printHidden?: boolean;
36
+ /** printVisible is optional. When block, the component is displayed as block. When inline, the component is displayed as inline.*/
36
37
  printVisible?: 'block' | 'inline';
37
38
  /** Components will be hidden from 'xs' screen size and up. */
38
39
  xsUpHidden?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/nextjs",
3
- "version": "0.6.22",
3
+ "version": "1.0.0-rc",
4
4
  "description": "next specific utilities for @digigov apps",
5
5
  "author": "GRNET Developers <devs@lists.grnet.gr>",
6
6
  "license": "BSD-2-Clause",
@@ -10,7 +10,7 @@
10
10
  "main": "dist/index.js"
11
11
  },
12
12
  "peerDependencies": {
13
- "@digigov/ui": "0.35.4",
13
+ "@digigov/ui": "1.0.0-rc",
14
14
  "@material-ui/core": "4.11.3",
15
15
  "@material-ui/icons": "4.11.2",
16
16
  "clsx": "1.1.1",
package/src/App.tsx CHANGED
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import App from 'next/app';
3
3
  import Head from 'next/head';
4
- import { LinkProvider } from '@digigov/ui/core/Link';
4
+ import { LinkProvider } from '@digigov/ui/navigation/Link';
5
5
  import NextLink from '@digigov/nextjs/Link';
6
6
  import dynamic from 'next/dynamic';
7
7
  import type { AppProps } from '@digigov/ui/app/App';
8
- import { I18NProvider } from '@digigov/ui/app/i18n';
8
+ import { I18NProvider } from '@digigov/ui/i18n';
9
9
  import { withTranslation, WithTranslation } from 'react-i18next';
10
10
  import { i18n } from 'i18next';
11
11
 
package/src/Link.tsx CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { LinkProps } from '@digigov/ui/core/Link';
2
+ import { LinkProps } from '@digigov/ui/navigation/Link';
3
3
  import Link from 'next/link';
4
4
  import LinkBase from '@digigov/react-core/LinkBase';
5
5
 
File without changes
File without changes