@tradeshift/elements.modal
Advanced tools
Comparing version 0.31.1 to 0.32.0
@@ -5,2 +5,8 @@ # Change Log | ||
# [0.32.0](https://github.com/Tradeshift/elements/compare/v0.31.1...v0.32.0) (2022-01-10) | ||
### Features | ||
- [PEAA-851] add an autogeneration of types for elements ([ba15ab6](https://github.com/Tradeshift/elements/commit/ba15ab68bafd40d9210886a5b527180c113c3712)) | ||
## [0.31.1](https://github.com/Tradeshift/elements/compare/v0.31.0...v0.31.1) (2021-11-03) | ||
@@ -7,0 +13,0 @@ |
{ | ||
"name": "@tradeshift/elements.modal", | ||
"version": "0.31.1", | ||
"version": "0.32.0", | ||
"repository": { | ||
@@ -18,9 +18,9 @@ "type": "git", | ||
"dependencies": { | ||
"@tradeshift/elements": "^0.31.1", | ||
"@tradeshift/elements.button": "^0.31.1", | ||
"@tradeshift/elements.cover": "^0.31.1", | ||
"@tradeshift/elements.header": "^0.31.1" | ||
"@tradeshift/elements": "^0.32.0", | ||
"@tradeshift/elements.button": "^0.32.0", | ||
"@tradeshift/elements.cover": "^0.32.0", | ||
"@tradeshift/elements.header": "^0.32.0" | ||
}, | ||
"src": "src/modal.js", | ||
"gitHead": "5e52055a8076853673363f4395088fb514f105ec" | ||
"gitHead": "386b7f06b3413b482723ffc615fa92049fe9ed72" | ||
} |
@@ -1,14 +0,47 @@ | ||
export { customEventNames, sizes } from './utils'; | ||
export interface TSModalHTMLAttributes { | ||
/** Direction 'rtl' or 'ltr' */ | ||
"data-dir"?: string; | ||
export declare class TSModal { | ||
'data-dir'?: 'rtl' | 'ltr' | 'auto'; | ||
'data-size'?: string; | ||
'data-title'?: string; | ||
'data-visible'?: boolean; | ||
'no-close-on-esc-key'?: boolean; | ||
'hide-header'?: boolean; | ||
'no-padding'?: boolean; | ||
/** Size of the modal. Available variants: 'large', 'medium', 'small' */ | ||
"data-size"?: string; | ||
open(): void; | ||
close(): void; | ||
/** Modal header text */ | ||
"data-title"?: string; | ||
/** Show/hide the modal */ | ||
"data-visible"?: boolean; | ||
/** Disable the functionality to close the modal on press of escape key */ | ||
"no-close-on-esc-key"?: boolean; | ||
/** Show/hide the title of the modal */ | ||
"hide-header"?: boolean; | ||
/** Add/remove standard paddings to the main content */ | ||
"no-padding"?: boolean; | ||
} | ||
export interface TSModal { | ||
/** Direction 'rtl' or 'ltr' */ | ||
dir?: string; | ||
/** Size of the modal. Available variants: 'large', 'medium', 'small' */ | ||
size?: string; | ||
/** Modal header text */ | ||
title?: string; | ||
/** Show/hide the modal */ | ||
visible?: boolean; | ||
/** Disable the functionality to close the modal on press of escape key */ | ||
noCloseOnEscKey?: boolean; | ||
/** Show/hide the title of the modal */ | ||
hideHeader?: boolean; | ||
/** Add/remove standard paddings to the main content */ | ||
noPadding?: boolean; | ||
} |
97060
342
+ Added@tradeshift/elements@0.32.0(transitive)
+ Added@tradeshift/elements.app-icon@0.32.0(transitive)
+ Added@tradeshift/elements.button@0.32.0(transitive)
+ Added@tradeshift/elements.cover@0.32.0(transitive)
+ Added@tradeshift/elements.header@0.32.0(transitive)
+ Added@tradeshift/elements.icon@0.32.0(transitive)
- Removed@tradeshift/elements@0.31.1(transitive)
- Removed@tradeshift/elements.app-icon@0.31.1(transitive)
- Removed@tradeshift/elements.button@0.31.1(transitive)
- Removed@tradeshift/elements.cover@0.31.1(transitive)
- Removed@tradeshift/elements.header@0.31.1(transitive)
- Removed@tradeshift/elements.icon@0.31.1(transitive)
Updated@tradeshift/elements@^0.32.0