@cord-sdk/jsx
Advanced tools
Comparing version 0.0.41 to 0.0.42
import type { DetailedHTMLProps, HTMLAttributes } from 'react'; | ||
import type { componentAttributes, componentNames, ElementName } from '@cord-sdk/components'; | ||
declare type CordComponentReactInterface<T extends string> = DetailedHTMLProps<HTMLAttributes<HTMLElement> & { | ||
type CordComponentReactInterface<T extends string> = DetailedHTMLProps<HTMLAttributes<HTMLElement> & { | ||
[P in T]?: string; | ||
@@ -8,6 +8,6 @@ } & { | ||
}, HTMLElement>; | ||
declare type AttributeNames = { | ||
type AttributeNames = { | ||
[N in ElementName]: keyof (typeof componentAttributes)[(typeof componentNames)[N]]; | ||
}; | ||
declare type CordElements = { | ||
type CordElements = { | ||
[N in ElementName]: CordComponentReactInterface<AttributeNames[N]>; | ||
@@ -14,0 +14,0 @@ }; |
{ | ||
"name": "@cord-sdk/jsx", | ||
"description": "JSX declarations of the Cord web components", | ||
"version": "0.0.41", | ||
"version": "0.0.42", | ||
"homepage": "https://docs.cord.com/", | ||
@@ -22,3 +22,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@cord-sdk/components": "0.0.41" | ||
"@cord-sdk/components": "0.0.42" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
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
3719
+ Added@cord-sdk/components@0.0.42(transitive)
+ Added@cord-sdk/types@0.0.42(transitive)
- Removed@cord-sdk/components@0.0.41(transitive)
- Removed@cord-sdk/types@0.0.41(transitive)
Updated@cord-sdk/components@0.0.42