Skip to content

Commit

Permalink
test(visual): update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-ico authored Sep 11, 2023
1 parent 93eee56 commit e05f8ef
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 9 deletions.
35 changes: 26 additions & 9 deletions packages/components/src/components/icon-button/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,25 @@

## Properties

| Property | Attribute | Description | Type | Default |
| --------------- | ---------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------- |
| `active` | `active` | (optional) Set the element to active state | `boolean` | `undefined` |
| `download` | `download` | (optional) Name of a file to be downloaded | `string` | `undefined` |
| `innerTabindex` | `inner-tabindex` | (optional) Set `tabindex` in the inner button or link element | `number` | `undefined` |
| `name` | `name` | (optional) The name of the button, submitted as a pair with the button's `value` as part of the form data | `string` | `undefined` |
| `size` | `size` | (optional) The size of the element | `"medium" \| "small"` | `'medium'` |
| `type` | `type` | (optional) Button type | `"button" \| "reset" \| "submit"` | `undefined` |
| `value` | `value` | (optional) Defines the value associated with the button's `name` | `string` | `undefined` |
| Property | Attribute | Description | Type | Default |
| ---------------- | ----------------- | --------------------------------------------------------------------------------------------------------- | -------------------------------------- | ------------ |
| `active` | `active` | (optional) Set the element to active state | `boolean` | `undefined` |
| `disabled` | `disabled` | (optional) If `true`, the button is disabled | `boolean` | `false` |
| `download` | `download` | (optional) Name of a file to be downloaded | `string` | `undefined` |
| `innerTabindex` | `inner-tabindex` | (optional) Set `tabindex` in the inner button or link element | `number` | `undefined` |
| `label` | `label` | (optional) Element label | `string` | `undefined` |
| `labelPlacement` | `label-placement` | (optional) Label placement | `"bottom" \| "right"` | `'bottom'` |
| `name` | `name` | (optional) The name of the button, submitted as a pair with the button's `value` as part of the form data | `string` | `undefined` |
| `size` | `size` | (optional) The size of the element | `"large" \| "small" \| "standard"` | `'standard'` |
| `type` | `type` | (optional) Button type | `"activate" \| "standard" \| "toggle"` | `'standard'` |
| `value` | `value` | (optional) Defines the value associated with the button's `name` | `string` | `undefined` |


## Events

| Event | Description | Type |
| -------------- | ----------------------------------- | ------------------ |
| `scale-change` | Emitted when the switch was clicked | `CustomEvent<any>` |


## Methods
Expand All @@ -31,6 +41,13 @@ Type: `Promise<void>`



## Shadow Parts

| Part | Description |
| ------------------------------ | ----------- |
| `"icon-button--label-wrapper"` | |


## Dependencies

### Used by
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e05f8ef

Please sign in to comment.