@dpc-sdp/ripple-link
Advanced tools
Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4
{ | ||
"name": "@dpc-sdp/ripple-link", | ||
"version": "1.0.0-alpha.3", | ||
"description": "Ripple link", | ||
"version": "1.0.0-alpha.4", | ||
"description": "Components for creating page links in plain text, and with accompanying icon. External links open in a new window by default.", | ||
"main": "index.js", | ||
"dependencies": { | ||
"@dpc-sdp/ripple-global": "1.0.0-alpha.3", | ||
"@dpc-sdp/ripple-icon": "1.0.0-alpha.3" | ||
"@dpc-sdp/ripple-global": "1.0.0-alpha.4", | ||
"@dpc-sdp/ripple-icon": "1.0.0-alpha.4" | ||
} | ||
} |
# @dpc-sdp/ripple-link | ||
Link. | ||
> Components for creating page links in plain text, and with accompanying icon. | ||
External links open in a new window by default. | ||
If `rplOptions.nuxt` of `RplGlobal` is set to `true` and the `href` prop value is a relative url, then this component will generate a `<nuxt-link>` instead of a standard link (`<a>`) element. | ||
-------------------------------------------------------------------------------- | ||
## Install | ||
`npm install @dpc-sdp/ripple-link --save` | ||
## Usage | ||
```shell | ||
npm install @dpc-sdp/ripple-link --save | ||
``` | ||
import RplLink from '@dpc-sdp/ripple-link' | ||
-------------------------------------------------------------------------------- | ||
## Dependency graph | ||
```shell | ||
@dpc-sdp/ripple-link | ||
├── @dpc-sdp/ripple-global | ||
└── @dpc-sdp/ripple-icon | ||
``` | ||
-------------------------------------------------------------------------------- | ||
## Usage and Tests | ||
See [Storybook/Link](https://ripple-ripple-develop.lagoon.vicsdp.amazee.io/?selectedKind=Atoms/Link&selectedStory=Link). | ||
See [Storybook/Text Link](https://ripple-ripple-develop.lagoon.vicsdp.amazee.io/?selectedKind=Atoms/Link&selectedStory=Text%20Link). | ||
-------------------------------------------------------------------------------- | ||
## Release History | ||
See [CHANGELOG.md](./CHANGELOG.md). | ||
-------------------------------------------------------------------------------- | ||
## License | ||
Licensed under the GPL-2.0+ License. |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6449
43
1
+ Added@dpc-sdp/ripple-global@1.0.0-alpha.4(transitive)
+ Added@dpc-sdp/ripple-icon@1.0.0-alpha.4(transitive)
- Removed@dpc-sdp/ripple-global@1.0.0-alpha.3(transitive)
- Removed@dpc-sdp/ripple-icon@1.0.0-alpha.3(transitive)