@tradeshift/elements.button
Advanced tools
Comparing version 0.27.0 to 0.27.2
{ | ||
"name": "@tradeshift/elements.button", | ||
"version": "0.27.0", | ||
"version": "0.27.2", | ||
"repository": { | ||
@@ -18,7 +18,7 @@ "type": "git", | ||
"dependencies": { | ||
"@tradeshift/elements": "^0.27.0", | ||
"@tradeshift/elements.icon": "^0.27.0" | ||
"@tradeshift/elements": "^0.27.2", | ||
"@tradeshift/elements.icon": "^0.27.2" | ||
}, | ||
"src": "src/button.js", | ||
"gitHead": "a11a27abc355ec5cca791ff7353068f97f0872c7" | ||
"gitHead": "bd49caa355a07257efd18228a55185ce788f7bce" | ||
} |
@@ -36,18 +36,18 @@ <h1 align="center"> | ||
| Property | Attribute | Type | Default | Description | | ||
| -------- | --------- | ------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- | | ||
| type | type | String | | Button type to have different style `primary`, `secondary`, `text`, `accept`, `warning`, `danger` | | ||
| size | size | String | | Size of the button, `macro`, `micro` | | ||
| busy | busy | Boolean | false | Show busy/loading animation | | ||
| icon | icon | String | | Icon name, see the list of available icons in ts-icon component. Also note that it will hide the slot content unless the type is text | | ||
| disabled | disabled | Boolean | false | Determine if the button is disabled. `button-click` event won't be dispatched | | ||
| grouped | grouped | Boolean | false | For internal use in `ts-button-group` component | | ||
| focused | focused | Boolean | false | Make the button focused | | ||
| dir | dir | String | ltr | Direction of the component 'rtl' or 'ltr' | | ||
| Property | Attribute | Type | Default | Description | | ||
| --- | --- | --- | --- | --- | | ||
| type | type | String | | Button type to have different style `primary`, `secondary`, `text`, `accept`, `warning`, `danger` | | ||
| size | size | String | | Size of the button, `macro`, `micro` | | ||
| busy | busy | Boolean | false | Show busy/loading animation | | ||
| icon | icon | String | | Icon name, see the list of available icons in ts-icon component. Also note that it will hide the slot content unless the type is text | | ||
| disabled | disabled | Boolean | false | Determine if the button is disabled. `button-click` event won't be dispatched | | ||
| grouped | grouped | Boolean | false | For internal use in `ts-button-group` component | | ||
| focused | focused | Boolean | false | Make the button focused | | ||
| dir | dir | String | ltr | Direction of the component 'rtl' or 'ltr' | | ||
## ➤ Slots | ||
| Name | Description | | ||
| ------- | ------------------------------------------------------------------- | | ||
| default | Text of the button should be wrapped around \`ts-button\` element | | ||
| Name | Description | | ||
| ------- | ----------------------------------------------------------------- | | ||
| default | Text of the button should be wrapped around \`ts-button\` element | | ||
@@ -54,0 +54,0 @@ ## ➤ Events |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
147400
0