@smui/common
Advanced tools
Comparing version 7.0.0-beta.1 to 7.0.0-beta.2
@@ -6,2 +6,14 @@ # Change Log | ||
# [7.0.0-beta.2](https://github.com/hperrin/svelte-material-ui/compare/v7.0.0-beta.1...v7.0.0-beta.2) (2023-04-06) | ||
### Bug Fixes | ||
* exported type of ClassAdder component ([7f35915](https://github.com/hperrin/svelte-material-ui/commit/7f35915ca257ddbbcebe4f610e1f8474bb6d6429)) | ||
* never confuse an exported function type with an html attr type ([d00860a](https://github.com/hperrin/svelte-material-ui/commit/d00860ac03a2c660819079bb7bb11c945d580c30)), closes [#575](https://github.com/hperrin/svelte-material-ui/issues/575) | ||
# [7.0.0-beta.1](https://github.com/hperrin/svelte-material-ui/compare/v7.0.0-beta.0...v7.0.0-beta.1) (2023-04-04) | ||
@@ -8,0 +20,0 @@ |
/// <reference types="svelte2tsx/svelte-jsx" /> | ||
export type SmuiAttrs<T extends keyof SmuiElementPropMap, OwnProps extends Object> = { | ||
[P in keyof Omit<SmuiElementPropMap[T], keyof OwnProps>]?: SmuiElementPropMap[T][P]; | ||
export type SmuiAttrs<T extends keyof SmuiElementPropMap, OwnProps extends Object, RestOmmissions extends string> = { | ||
[P in keyof Omit<SmuiElementPropMap[T], keyof OwnProps | RestOmmissions>]?: SmuiElementPropMap[T][P]; | ||
} & SvelteAttrs & DataAttrs; | ||
export type SmuiSvgAttrs<OwnProps extends Object> = { | ||
[P in keyof Omit<svelte.JSX.SVGProps<SVGSVGElement>, keyof OwnProps>]?: svelte.JSX.SVGProps<SVGSVGElement>[P]; | ||
export type SmuiSvgAttrs<OwnProps extends Object, RestOmmissions extends string> = { | ||
[P in keyof Omit<svelte.JSX.SVGProps<SVGSVGElement>, keyof OwnProps | RestOmmissions>]?: svelte.JSX.SVGProps<SVGSVGElement>[P]; | ||
} & SvelteAttrs & DataAttrs; | ||
@@ -8,0 +8,0 @@ export type SvelteAttrs = { |
{ | ||
"name": "@smui/common", | ||
"version": "7.0.0-beta.1", | ||
"version": "7.0.0-beta.2", | ||
"description": "Svelte Material UI - Common", | ||
@@ -68,3 +68,3 @@ "type": "module", | ||
}, | ||
"gitHead": "100210800e859db06a9658cbec649837e03fcda6" | ||
"gitHead": "344e9534c4dad98d5b95641f112ffba2f665dd7c" | ||
} |
export type SmuiAttrs< | ||
T extends keyof SmuiElementPropMap, | ||
OwnProps extends Object | ||
OwnProps extends Object, | ||
RestOmmissions extends string | ||
> = { | ||
[P in keyof Omit< | ||
SmuiElementPropMap[T], | ||
keyof OwnProps | ||
keyof OwnProps | RestOmmissions | ||
>]?: SmuiElementPropMap[T][P]; | ||
@@ -12,6 +13,9 @@ } & SvelteAttrs & | ||
export type SmuiSvgAttrs<OwnProps extends Object> = { | ||
export type SmuiSvgAttrs< | ||
OwnProps extends Object, | ||
RestOmmissions extends string | ||
> = { | ||
[P in keyof Omit< | ||
svelte.JSX.SVGProps<SVGSVGElement>, | ||
keyof OwnProps | ||
keyof OwnProps | RestOmmissions | ||
>]?: svelte.JSX.SVGProps<SVGSVGElement>[P]; | ||
@@ -18,0 +22,0 @@ } & SvelteAttrs & |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
144075
1354