@cord-sdk/components
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28492
717
+ Added@cord-sdk/types@1.1.0(transitive)
- Removed@cord-sdk/types@1.0.0(transitive)
Updated@cord-sdk/types@1.1.0