@smui/segmented-button
Advanced tools
Comparing version 5.0.0-beta.0 to 5.0.0-beta.1
@@ -0,4 +1,5 @@ | ||
/// <reference types="svelte" /> | ||
/// <reference types="svelte2tsx/svelte-jsx" /> | ||
declare namespace svelte.JSX { | ||
interface HTMLAttributes<T> {} | ||
interface HTMLProps<T extends EventTarget> extends HTMLAttributes<T> { | ||
@@ -14,5 +15,1 @@ ['onSMUISegmentedButtonSegment:mount']?: ( | ||
} | ||
declare module '*.svelte' { | ||
export { SvelteComponentDev as default } from 'svelte/internal'; | ||
} |
@@ -6,2 +6,14 @@ # Change Log | ||
# [5.0.0-beta.1](https://github.com/hperrin/svelte-material-ui/compare/v5.0.0-beta.0...v5.0.0-beta.1) (2021-09-14) | ||
### Bug Fixes | ||
* correctly provide html attributes ([048a11d](https://github.com/hperrin/svelte-material-ui/commit/048a11d0d84707a90a0ccde794b7c31155b71ca9)) | ||
* some type issues and simpler ambient declarations ([44e2cea](https://github.com/hperrin/svelte-material-ui/commit/44e2cea7764733c97e629fa3d2498516cd0756b1)) | ||
# [5.0.0-beta.0](https://github.com/hperrin/svelte-material-ui/compare/v4.2.0...v5.0.0-beta.0) (2021-09-14) | ||
@@ -8,0 +20,0 @@ |
{ | ||
"name": "@smui/segmented-button", | ||
"version": "5.0.0-beta.0", | ||
"version": "5.0.0-beta.1", | ||
"description": "Svelte Material UI - Segmented Button", | ||
@@ -21,2 +21,3 @@ "type": "module", | ||
"build:sass": "sass --no-source-map -I node_modules -I ../../node_modules _style.scss bare.css", | ||
"clean": "git status --ignored -u --porcelain . | grep -v node_modules/ | grep -e '^!! ' | sed 's/^!! packages\\/[a-z-]*\\///g' | tr '\\n' ' ' | xargs rm", | ||
"prepare": "npm run build", | ||
@@ -39,4 +40,5 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
"@material/segmented-button": "^11.0.0", | ||
"@smui/common": "^5.0.0-beta.0", | ||
"@smui/ripple": "^5.0.0-beta.0" | ||
"@smui/common": "^5.0.0-beta.1", | ||
"@smui/ripple": "^5.0.0-beta.1", | ||
"svelte2tsx": "^0.4.6" | ||
}, | ||
@@ -49,3 +51,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "64f517242b78ff75df7865fc80f16d1a5c39bcaf" | ||
"gitHead": "d3dd658904e6955c1e0b3d57a849fb645d93e8a1" | ||
} |
@@ -0,1 +1,2 @@ | ||
/// <reference types="svelte2tsx/svelte-jsx" /> | ||
import type Component from './Segment.svelte'; | ||
@@ -9,3 +10,3 @@ export declare class SegmentComponentDev extends Component { | ||
*/ | ||
$$prop_def: Omit<Partial<svelte.JSX.HTMLAttributes<HTMLButtonElement>>, keyof Component['$$prop_def']> & Component['$$prop_def']; | ||
$$prop_def: Omit<Partial<svelte.JSX.HTMLAttributes<HTMLButtonElement>>, 'use' | 'class' | 'style' | 'segment' | 'ripple' | 'touch'> & Component['$$prop_def']; | ||
} | ||
@@ -12,0 +13,0 @@ export interface SMUISegmentedButtonSegmentAccessor { |
@@ -12,3 +12,3 @@ import type Component from './Segment.svelte'; | ||
Partial<svelte.JSX.HTMLAttributes<HTMLButtonElement>>, | ||
keyof Component['$$prop_def'] | ||
'use' | 'class' | 'style' | 'segment' | 'ripple' | 'touch' | ||
> & | ||
@@ -15,0 +15,0 @@ Component['$$prop_def']; |
@@ -0,1 +1,2 @@ | ||
/// <reference types="svelte2tsx/svelte-jsx" /> | ||
import type Component from './SegmentedButton.svelte'; | ||
@@ -9,3 +10,3 @@ export declare class SegmentedButtonComponentDev extends Component { | ||
*/ | ||
$$prop_def: Omit<Partial<svelte.JSX.HTMLAttributes<HTMLDivElement>>, keyof Component['$$prop_def']> & Component['$$prop_def']; | ||
$$prop_def: Omit<Partial<svelte.JSX.HTMLAttributes<HTMLDivElement>>, 'use' | 'class' | 'segments' | 'key' | 'singleSelect' | 'selected'> & Component['$$prop_def']; | ||
} |
@@ -12,5 +12,5 @@ import type Component from './SegmentedButton.svelte'; | ||
Partial<svelte.JSX.HTMLAttributes<HTMLDivElement>>, | ||
keyof Component['$$prop_def'] | ||
'use' | 'class' | 'segments' | 'key' | 'singleSelect' | 'selected' | ||
> & | ||
Component['$$prop_def']; | ||
} |
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
49989
4
+ Addedsvelte2tsx@^0.4.6
Updated@smui/common@^5.0.0-beta.1
Updated@smui/ripple@^5.0.0-beta.1