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

@cord-sdk/components

Package Overview
Dependencies
Maintainers
11
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cord-sdk/components - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

24

dist/cjs/index.js

@@ -26,5 +26,5 @@ 'use strict';

'cord-avatar': 'Avatar',
'cord-add-reaction': 'AddReaction',
'cord-reaction-list': 'ReactionList',
'cord-reactions': 'Reactions',
'cord-notification': 'Notification',
'cord-timestamp': 'Timestamp',
};

@@ -181,12 +181,7 @@ const InboxSharedAttributes = {

},
AddReaction: {
Reactions: {
'thread-id': 'string',
'message-id': 'string',
'enable-tooltip': 'boolean',
disabled: 'boolean',
},
ReactionList: {
'thread-id': 'string',
'message-id': 'string',
'show-add-reaction-button': 'boolean',
'show-reaction-list': 'boolean',
},

@@ -196,2 +191,13 @@ Notification: {

},
Timestamp: {
value: 'string',
relative: 'boolean',
verbose: 'boolean',
},
ThreadedComments: {
location: 'json',
'message-order': 'string',
'composer-position': 'string',
'composer-expanded': 'boolean',
},
};

@@ -198,0 +204,0 @@ const enumAttributeConverter = (possibleValues) => (value) => value === null

@@ -23,5 +23,5 @@ import type { BadgeStyle, ComposerSize, JsonValue, Orientation } from '@cord-sdk/types';

readonly 'cord-avatar': "Avatar";
readonly 'cord-add-reaction': "AddReaction";
readonly 'cord-reaction-list': "ReactionList";
readonly 'cord-reactions': "Reactions";
readonly 'cord-notification': "Notification";
readonly 'cord-timestamp': "Timestamp";
};

@@ -178,12 +178,7 @@ export type ElementName = keyof typeof componentNames;

};
readonly AddReaction: {
readonly Reactions: {
readonly 'thread-id': "string";
readonly 'message-id': "string";
readonly 'enable-tooltip': "boolean";
readonly disabled: "boolean";
};
readonly ReactionList: {
readonly 'thread-id': "string";
readonly 'message-id': "string";
readonly 'show-add-reaction-button': "boolean";
readonly 'show-reaction-list': "boolean";
};

@@ -193,2 +188,13 @@ readonly Notification: {

};
readonly Timestamp: {
readonly value: "string";
readonly relative: "boolean";
readonly verbose: "boolean";
};
readonly ThreadedComments: {
readonly location: "json";
readonly 'message-order': "string";
readonly 'composer-position': "string";
readonly 'composer-expanded': "boolean";
};
};

@@ -195,0 +201,0 @@ export type PropertyTypes = {

@@ -22,5 +22,5 @@ const componentNames = {

'cord-avatar': 'Avatar',
'cord-add-reaction': 'AddReaction',
'cord-reaction-list': 'ReactionList',
'cord-reactions': 'Reactions',
'cord-notification': 'Notification',
'cord-timestamp': 'Timestamp',
};

@@ -177,12 +177,7 @@ const InboxSharedAttributes = {

},
AddReaction: {
Reactions: {
'thread-id': 'string',
'message-id': 'string',
'enable-tooltip': 'boolean',
disabled: 'boolean',
},
ReactionList: {
'thread-id': 'string',
'message-id': 'string',
'show-add-reaction-button': 'boolean',
'show-reaction-list': 'boolean',
},

@@ -192,2 +187,13 @@ Notification: {

},
Timestamp: {
value: 'string',
relative: 'boolean',
verbose: 'boolean',
},
ThreadedComments: {
location: 'json',
'message-order': 'string',
'composer-position': 'string',
'composer-expanded': 'boolean',
},
};

@@ -194,0 +200,0 @@ const enumAttributeConverter = (possibleValues) => (value) => value === null

{
"name": "@cord-sdk/components",
"description": "Structured information about the Cord web components",
"version": "1.0.0",
"version": "1.1.0",
"homepage": "https://docs.cord.com/",

@@ -22,3 +22,3 @@ "license": "MIT",

"dependencies": {
"@cord-sdk/types": "1.0.0"
"@cord-sdk/types": "1.1.0"
},

@@ -25,0 +25,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

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