Skip to content

Commit

Permalink
feat: event update
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed May 30, 2023
1 parent c0d1930 commit c44ba6b
Show file tree
Hide file tree
Showing 294 changed files with 3,806 additions and 2,639 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ All notable changes to this project will be documented in this file. See [standa

## [3.9.0](https://github.com/shinokada/svelte-heros/compare/v3.8.0...v3.9.0) (2023-05-30)


### Features

* add ariaLabel ([1dbb1f3](https://github.com/shinokada/svelte-heros/commit/1dbb1f3b01499c65f1e8db441bebe77b99d3abc0))
- add ariaLabel ([1dbb1f3](https://github.com/shinokada/svelte-heros/commit/1dbb1f3b01499c65f1e8db441bebe77b99d3abc0))

## [3.8.0](https://github.com/shinokada/svelte-heros/compare/v3.7.0...v3.8.0) (2023-05-30)

Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,15 @@ If you want to make an icon unfocusable, add `tabindex="-1"`.

All icons have the following events:

```
on:click
on:mouseenter
on:mouseleave
on:mouseover
on:mouseout
on:blur
on:focus
```
- on:click
- on:keydown
- on:keyup
- on:focus
- on:blur
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout

## Passing down other attributes

Expand Down
22 changes: 13 additions & 9 deletions src/lib/AcademicCap.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
{viewBox}
stroke-width="2"
on:click
on:keydown
on:keyup
on:focus
on:blur
on:mouseenter
on:mouseleave
on:mouseover
on:mouseout
on:blur
on:focus
>
{#if variation === 'outline'}
<path
Expand Down Expand Up @@ -58,11 +60,13 @@
@prop viewBox: string = '0 0 24 24';
@prop ariaLabel = 'icon file name';
## Event
- on:click
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
- on:blur
- on:focus
- on:click
- on:keydown
- on:keyup
- on:focus
- on:blur
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
-->
22 changes: 13 additions & 9 deletions src/lib/AdjustmentsHorizontal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
{viewBox}
stroke-width="2"
on:click
on:keydown
on:keyup
on:focus
on:blur
on:mouseenter
on:mouseleave
on:mouseover
on:mouseout
on:blur
on:focus
>
{#if variation === 'outline'}
<path
Expand Down Expand Up @@ -82,11 +84,13 @@
@prop viewBox: string = '0 0 24 24';
@prop ariaLabel = 'icon file name';
## Event
- on:click
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
- on:blur
- on:focus
- on:click
- on:keydown
- on:keyup
- on:focus
- on:blur
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
-->
22 changes: 13 additions & 9 deletions src/lib/AdjustmentsVertical.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
{viewBox}
stroke-width="2"
on:click
on:keydown
on:keyup
on:focus
on:blur
on:mouseenter
on:mouseleave
on:mouseover
on:mouseout
on:blur
on:focus
>
{#if variation === 'outline'}
<path
Expand Down Expand Up @@ -82,11 +84,13 @@
@prop viewBox: string = '0 0 24 24';
@prop ariaLabel = 'icon file name';
## Event
- on:click
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
- on:blur
- on:focus
- on:click
- on:keydown
- on:keyup
- on:focus
- on:blur
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
-->
22 changes: 13 additions & 9 deletions src/lib/ArchiveBox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
{viewBox}
stroke-width="2"
on:click
on:keydown
on:keyup
on:focus
on:blur
on:mouseenter
on:mouseleave
on:mouseover
on:mouseout
on:blur
on:focus
>
{#if variation === 'outline'}
<path
Expand Down Expand Up @@ -56,11 +58,13 @@
@prop viewBox: string = '0 0 24 24';
@prop ariaLabel = 'icon file name';
## Event
- on:click
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
- on:blur
- on:focus
- on:click
- on:keydown
- on:keyup
- on:focus
- on:blur
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
-->
22 changes: 13 additions & 9 deletions src/lib/ArchiveBoxArrowDown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
{viewBox}
stroke-width="2"
on:click
on:keydown
on:keyup
on:focus
on:blur
on:mouseenter
on:mouseleave
on:mouseover
on:mouseout
on:blur
on:focus
>
{#if variation === 'outline'}
<path
Expand Down Expand Up @@ -56,11 +58,13 @@
@prop viewBox: string = '0 0 24 24';
@prop ariaLabel = 'icon file name';
## Event
- on:click
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
- on:blur
- on:focus
- on:click
- on:keydown
- on:keyup
- on:focus
- on:blur
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
-->
22 changes: 13 additions & 9 deletions src/lib/ArchiveBoxXMark.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
{viewBox}
stroke-width="2"
on:click
on:keydown
on:keyup
on:focus
on:blur
on:mouseenter
on:mouseleave
on:mouseover
on:mouseout
on:blur
on:focus
>
{#if variation === 'outline'}
<path
Expand Down Expand Up @@ -56,11 +58,13 @@
@prop viewBox: string = '0 0 24 24';
@prop ariaLabel = 'icon file name';
## Event
- on:click
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
- on:blur
- on:focus
- on:click
- on:keydown
- on:keyup
- on:focus
- on:blur
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
-->
22 changes: 13 additions & 9 deletions src/lib/ArrowDown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
{viewBox}
stroke-width="2"
on:click
on:keydown
on:keyup
on:focus
on:blur
on:mouseenter
on:mouseleave
on:mouseover
on:mouseout
on:blur
on:focus
>
{#if variation === 'outline'}
<path
Expand Down Expand Up @@ -52,11 +54,13 @@
@prop viewBox: string = '0 0 24 24';
@prop ariaLabel = 'icon file name';
## Event
- on:click
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
- on:blur
- on:focus
- on:click
- on:keydown
- on:keyup
- on:focus
- on:blur
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
-->
22 changes: 13 additions & 9 deletions src/lib/ArrowDownCircle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
{viewBox}
stroke-width="2"
on:click
on:keydown
on:keyup
on:focus
on:blur
on:mouseenter
on:mouseleave
on:mouseover
on:mouseout
on:blur
on:focus
>
{#if variation === 'outline'}
<path
Expand Down Expand Up @@ -52,11 +54,13 @@
@prop viewBox: string = '0 0 24 24';
@prop ariaLabel = 'icon file name';
## Event
- on:click
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
- on:blur
- on:focus
- on:click
- on:keydown
- on:keyup
- on:focus
- on:blur
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
-->
22 changes: 13 additions & 9 deletions src/lib/ArrowDownLeft.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
{viewBox}
stroke-width="2"
on:click
on:keydown
on:keyup
on:focus
on:blur
on:mouseenter
on:mouseleave
on:mouseover
on:mouseout
on:blur
on:focus
>
{#if variation === 'outline'}
<path
Expand Down Expand Up @@ -52,11 +54,13 @@
@prop viewBox: string = '0 0 24 24';
@prop ariaLabel = 'icon file name';
## Event
- on:click
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
- on:blur
- on:focus
- on:click
- on:keydown
- on:keyup
- on:focus
- on:blur
- on:mouseenter
- on:mouseleave
- on:mouseover
- on:mouseout
-->
Loading

0 comments on commit c44ba6b

Please sign in to comment.