Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clay-link

Package Overview
Dependencies
Maintainers
4
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clay-link - npm Package Compare versions

Comparing version 2.0.0-rc.9 to 2.0.0-rc.10

63

lib/ClayLink.js

@@ -38,2 +38,3 @@ 'use strict';

* Implementation of the Metal Clay Link.
* @extends ClayComponent
*/

@@ -62,6 +63,6 @@ var ClayLink = function (_ClayComponent) {

* Aria label attribute for the anchor element.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -72,6 +73,6 @@ ariaLabel: _metalState.Config.string(),

* Aria Expanded attribute for the anchor element.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?bool|undefined}
* @default undefined
* @type {?(bool|undefined)}
*/

@@ -83,6 +84,6 @@ ariaExpanded: _metalState.Config.bool(),

* ignored.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -93,6 +94,6 @@ buttonStyle: _metalState.Config.oneOf(['link', 'primary', 'secondary']),

* Data to add to the element.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?object}
* @default undefined
*/

@@ -103,6 +104,6 @@ data: _metalState.Config.object(),

* Sets the download attribute on the anchor tag.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -113,6 +114,6 @@ download: _metalState.Config.string(),

* CSS classes to be applied to the element.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -123,6 +124,6 @@ elementClasses: _metalState.Config.string(),

* Sets the HTML attribute href on the anchor tag.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -133,6 +134,6 @@ href: _metalState.Config.string(),

* Icon to be rendered in the link.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -143,6 +144,6 @@ icon: _metalState.Config.string(),

* Render position of the ClayIcon in the ClayLink element.
* @default left
* @instance
* @memberof ClayLink
* @type {?string}
* @default left
*/

@@ -153,6 +154,6 @@ iconAlignment: _metalState.Config.oneOf(['left', 'right']).value('left'),

* Id to be applied to the element.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -163,6 +164,6 @@ id: _metalState.Config.string(),

* Alternative text of the image to be rendered inside the link.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -173,6 +174,6 @@ imageAlt: _metalState.Config.string(),

* Source of the image to be rendered inside the link.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -183,6 +184,6 @@ imageSrc: _metalState.Config.string(),

* Sets the text or HTML to be rendered inside the anchor tag.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?html|string|undefined}
* @default undefined
* @type {?(html|string|undefined)}
*/

@@ -193,6 +194,6 @@ label: _metalState.Config.any(),

* The path to the SVG spritemap file containing the icons.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
*/

@@ -203,6 +204,6 @@ spritemap: _metalState.Config.string(),

* The css class that colors the button.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -213,6 +214,6 @@ style: _metalState.Config.oneOf(['secondary']),

* Sets the HTML attribute target on the anchor tag.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -223,6 +224,6 @@ target: _metalState.Config.oneOf(['_blank', '_self']),

* Sets the HTML attribute title on the anchor tag.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -229,0 +230,0 @@ title: _metalState.Config.string()

{
"name": "clay-link",
"version": "2.0.0-rc.9",
"version": "2.0.0-rc.10",
"description": "Clay Link Component",

@@ -30,4 +30,4 @@ "license": "BSD",

"dependencies": {
"clay-component": "^2.0.0-rc.9",
"clay-icon": "^2.0.0-rc.9",
"clay-component": "^2.0.0-rc.10",
"clay-icon": "^2.0.0-rc.10",
"metal": "^2.16.0",

@@ -45,4 +45,4 @@ "metal-component": "^2.16.0",

"babel-preset-env": "^1.6.0",
"browserslist-config-clay-components": "^2.0.0-rc.9",
"clay": "^2.0.0-rc.9",
"browserslist-config-clay-components": "^2.0.0-rc.10",
"clay": "^2.0.0-rc.10",
"metal-dom": "^2.16.0",

@@ -49,0 +49,0 @@ "metal-tools-soy": "^6.0.0",

@@ -11,2 +11,3 @@ import 'clay-icon';

* Implementation of the Metal Clay Link.
* @extends ClayComponent
*/

@@ -23,6 +24,6 @@ class ClayLink extends ClayComponent {}

* Aria label attribute for the anchor element.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -33,6 +34,6 @@ ariaLabel: Config.string(),

* Aria Expanded attribute for the anchor element.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?bool|undefined}
* @default undefined
* @type {?(bool|undefined)}
*/

@@ -44,6 +45,6 @@ ariaExpanded: Config.bool(),

* ignored.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -54,6 +55,6 @@ buttonStyle: Config.oneOf(['link', 'primary', 'secondary']),

* Data to add to the element.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?object}
* @default undefined
*/

@@ -64,6 +65,6 @@ data: Config.object(),

* Sets the download attribute on the anchor tag.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -74,6 +75,6 @@ download: Config.string(),

* CSS classes to be applied to the element.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -84,6 +85,6 @@ elementClasses: Config.string(),

* Sets the HTML attribute href on the anchor tag.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -94,6 +95,6 @@ href: Config.string(),

* Icon to be rendered in the link.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -104,6 +105,6 @@ icon: Config.string(),

* Render position of the ClayIcon in the ClayLink element.
* @default left
* @instance
* @memberof ClayLink
* @type {?string}
* @default left
*/

@@ -114,6 +115,6 @@ iconAlignment: Config.oneOf(['left', 'right']).value('left'),

* Id to be applied to the element.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -124,6 +125,6 @@ id: Config.string(),

* Alternative text of the image to be rendered inside the link.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -134,6 +135,6 @@ imageAlt: Config.string(),

* Source of the image to be rendered inside the link.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -144,6 +145,6 @@ imageSrc: Config.string(),

* Sets the text or HTML to be rendered inside the anchor tag.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?html|string|undefined}
* @default undefined
* @type {?(html|string|undefined)}
*/

@@ -154,6 +155,6 @@ label: Config.any(),

* The path to the SVG spritemap file containing the icons.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
*/

@@ -164,6 +165,6 @@ spritemap: Config.string(),

* The css class that colors the button.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -174,6 +175,6 @@ style: Config.oneOf(['secondary']),

* Sets the HTML attribute target on the anchor tag.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -184,6 +185,6 @@ target: Config.oneOf(['_blank', '_self']),

* Sets the HTML attribute title on the anchor tag.
* @default undefined
* @instance
* @memberof ClayLink
* @type {?string|undefined}
* @default undefined
* @type {?(string|undefined)}
*/

@@ -190,0 +191,0 @@ title: Config.string(),

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc