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

@cord-sdk/components

Package Overview
Dependencies
Maintainers
12
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 0.0.35 to 0.0.36

23

dist/cjs/index.js

@@ -22,5 +22,6 @@ 'use strict';

'cord-message': 'Message',
'cord-thread-facepile': 'ThreadFacepile',
'cord-facepile': 'Facepile',
'cord-notification-list-launcher': 'NotificationListLauncher',
'cord-pin': 'Pin',
'cord-avatar': 'Avatar',
};

@@ -38,2 +39,3 @@ const InboxSharedAttributes = {

'show-placeholder': 'boolean',
filter: 'json',
};

@@ -110,2 +112,3 @@ const componentAttributes = {

'highlight-open-floating-thread': 'boolean',
'highlight-thread-id': 'string',
mode: 'string',

@@ -120,2 +123,4 @@ 'show-placeholder': 'boolean',

'show-expanded': 'boolean',
'show-close-button': 'boolean',
size: 'composer-size',
},

@@ -153,7 +158,4 @@ InboxLauncher: {

},
ThreadFacepile: {
'thread-id': 'string',
'max-users': 'number',
'show-extra-users-numbers': 'boolean',
orientation: 'orientation',
Facepile: {
users: 'array',
},

@@ -172,2 +174,5 @@ NotificationListLauncher: {

},
Avatar: {
'user-id': 'string',
},
};

@@ -191,2 +196,7 @@ const enumAttributeConverter = (possibleValues) => (value) => value === null

orientation: enumAttributeConverter(['vertical', 'horizontal']),
'composer-size': enumAttributeConverter([
'small',
'medium',
'large',
]),
};

@@ -201,2 +211,3 @@ const propertyToAttributeConverters = {

orientation: (value) => (value === undefined ? undefined : value || ''),
'composer-size': (value) => (value === undefined ? undefined : value || ''),
};

@@ -203,0 +214,0 @@ function attributeNameToPropName(attributeName) {

@@ -1,2 +0,2 @@

import type { BadgeStyle, JsonValue, Orientation } from '@cord-sdk/types';
import type { BadgeStyle, ComposerSize, JsonValue, Orientation } from '@cord-sdk/types';
export declare const componentNames: {

@@ -19,5 +19,6 @@ readonly 'cord-multiple-cursors': "MultipleCursors";

readonly 'cord-message': "Message";
readonly 'cord-thread-facepile': "ThreadFacepile";
readonly 'cord-facepile': "Facepile";
readonly 'cord-notification-list-launcher': "NotificationListLauncher";
readonly 'cord-pin': "Pin";
readonly 'cord-avatar': "Avatar";
};

@@ -96,2 +97,3 @@ export declare type ElementName = keyof typeof componentNames;

readonly 'highlight-open-floating-thread': "boolean";
readonly 'highlight-thread-id': "string";
readonly mode: "string";

@@ -106,2 +108,4 @@ readonly 'show-placeholder': "boolean";

readonly 'show-expanded': "boolean";
readonly 'show-close-button': "boolean";
readonly size: "composer-size";
};

@@ -141,2 +145,3 @@ readonly InboxLauncher: {

readonly 'show-placeholder': "boolean";
readonly filter: "json";
};

@@ -147,7 +152,4 @@ readonly Message: {

};
readonly ThreadFacepile: {
readonly 'thread-id': "string";
readonly 'max-users': "number";
readonly 'show-extra-users-numbers': "boolean";
readonly orientation: "orientation";
readonly Facepile: {
readonly users: "array";
};

@@ -158,2 +160,3 @@ readonly NotificationListLauncher: {

readonly 'show-placeholder': "boolean";
readonly filter: "json";
readonly label: "string";

@@ -169,2 +172,5 @@ readonly 'icon-url': "string";

};
readonly Avatar: {
readonly 'user-id': "string";
};
};

@@ -179,2 +185,3 @@ export declare type PropertyTypes = {

orientation: Orientation;
'composer-size': ComposerSize;
};

@@ -181,0 +188,0 @@ export declare const attributeToPropertyConverters: {

@@ -18,5 +18,6 @@ const componentNames = {

'cord-message': 'Message',
'cord-thread-facepile': 'ThreadFacepile',
'cord-facepile': 'Facepile',
'cord-notification-list-launcher': 'NotificationListLauncher',
'cord-pin': 'Pin',
'cord-avatar': 'Avatar',
};

@@ -34,2 +35,3 @@ const InboxSharedAttributes = {

'show-placeholder': 'boolean',
filter: 'json',
};

@@ -106,2 +108,3 @@ const componentAttributes = {

'highlight-open-floating-thread': 'boolean',
'highlight-thread-id': 'string',
mode: 'string',

@@ -116,2 +119,4 @@ 'show-placeholder': 'boolean',

'show-expanded': 'boolean',
'show-close-button': 'boolean',
size: 'composer-size',
},

@@ -149,7 +154,4 @@ InboxLauncher: {

},
ThreadFacepile: {
'thread-id': 'string',
'max-users': 'number',
'show-extra-users-numbers': 'boolean',
orientation: 'orientation',
Facepile: {
users: 'array',
},

@@ -168,2 +170,5 @@ NotificationListLauncher: {

},
Avatar: {
'user-id': 'string',
},
};

@@ -187,2 +192,7 @@ const enumAttributeConverter = (possibleValues) => (value) => value === null

orientation: enumAttributeConverter(['vertical', 'horizontal']),
'composer-size': enumAttributeConverter([
'small',
'medium',
'large',
]),
};

@@ -197,2 +207,3 @@ const propertyToAttributeConverters = {

orientation: (value) => (value === undefined ? undefined : value || ''),
'composer-size': (value) => (value === undefined ? undefined : value || ''),
};

@@ -199,0 +210,0 @@ function attributeNameToPropName(attributeName) {

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

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

"dependencies": {
"@cord-sdk/types": "0.0.35"
"@cord-sdk/types": "0.0.36"
},

@@ -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