Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #233 from illright/release
Browse files Browse the repository at this point in the history
v3.1.0
  • Loading branch information
illright authored Jan 22, 2021
2 parents e0d54ab + d4ab621 commit 7c6896a
Show file tree
Hide file tree
Showing 19 changed files with 180 additions and 128 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented here.

The format is based on [Keep a Changelog](https://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/).

## [Unreleased]
## [3.1.0] - 2021-01-22

### Added

Expand Down Expand Up @@ -130,7 +130,8 @@ Minor documentation and bug fixes.
First stable release with proper documentation.
Previous, undocumented, releases can be found in [the releases section](https://github.com/illright/attractions/releases).

[unreleased]: https://github.com/illright/attractions/compare/v3.0.0...HEAD
[unreleased]: https://github.com/illright/attractions/compare/v3.1.0...HEAD
[3.1.0]: https://github.com/illright/attractions/releases/tag/v3.1.0
[3.0.0]: https://github.com/illright/attractions/releases/tag/v3.0.0
[2.3.1]: https://github.com/illright/attractions/releases/tag/v2.3.1
[2.3.0]: https://github.com/illright/attractions/releases/tag/v2.3.0
Expand Down
3 changes: 2 additions & 1 deletion attractions/autocomplete/more-horizontal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round">
stroke-linejoin="round"
>
<circle cx="12" cy="12" r="1" />
<circle cx="19" cy="12" r="1" />
<circle cx="5" cy="12" r="1" />
Expand Down
6 changes: 4 additions & 2 deletions attractions/button/button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@
on:click={e => dispatch('click', { nativeEvent: e })}
use:eventsAction={events}
use:ripple={{ disabled: noRipple || disabled }}
{...$$restProps}>
{...$$restProps}
>
<slot />
</a>
{:else}
Expand All @@ -134,7 +135,8 @@
on:click={e => dispatch('click', { nativeEvent: e })}
use:ripple={{ disabled: noRipple || disabled }}
use:eventsAction={events}
{...$$restProps}>
{...$$restProps}
>
<slot />
</button>
{/if}
Expand Down
3 changes: 2 additions & 1 deletion attractions/date-picker/chevron-left.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round">
stroke-linejoin="round"
>
<polyline points="15 18 9 12 15 6" />
</svg>
3 changes: 2 additions & 1 deletion attractions/date-picker/chevron-right.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round">
stroke-linejoin="round"
>
<polyline points="9 18 15 12 9 6" />
</svg>
3 changes: 2 additions & 1 deletion attractions/dialog/x.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round">
stroke-linejoin="round"
>
<line x1="18" y1="6" x2="6" y2="18" />
<line x1="6" y1="6" x2="18" y2="18" />
</svg>
3 changes: 2 additions & 1 deletion attractions/file-input/file-dropzone.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@
class:has-content={files && files.length !== 0}
class:wrong-type={wrongType}
class:disabled={disabled || files.length >= max}
on:click={blockOnTiles}>
on:click={blockOnTiles}
>
<input
type="file"
multiple
Expand Down
3 changes: 2 additions & 1 deletion attractions/file-input/paperclip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class={classes(_class)}>
class={classes(_class)}
>
<path
d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"
/>
Expand Down
3 changes: 2 additions & 1 deletion attractions/file-input/plus.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class={classes(_class)}>
class={classes(_class)}
>
<line x1="12" y1="5" x2="12" y2="19" />
<line x1="5" y1="12" x2="19" y2="12" />
</svg>
3 changes: 2 additions & 1 deletion attractions/file-input/trash-2.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round">
stroke-linejoin="round"
>
<polyline points="3 6 5 6 21 6" />
<path
d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"
Expand Down
20 changes: 10 additions & 10 deletions attractions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "attractions",
"version": "3.0.0",
"version": "3.1.0",
"description": "A UI kit for Svelte",
"homepage": "https://illright.github.io/attractions/",
"bugs": "https://github.com/illright/attractions/issues",
Expand Down Expand Up @@ -35,19 +35,19 @@
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.12.11",
"@rollup/plugin-node-resolve": "^11.0.1",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"eslint": "^7.17.0",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"eslint": "^7.18.0",
"pkg-versions": "^2.1.0",
"prettier-plugin-svelte": "^2.0.3",
"rollup": "^2.36.1",
"rollup-plugin-svelte": "^7.0.0",
"prettier-plugin-svelte": "^2.1.1",
"rollup": "^2.37.1",
"rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.32.2",
"stylelint": "^13.6.1",
"sass": "^1.32.5",
"stylelint": "^13.9.0",
"sveld": "^0.6.1",
"svelte": "^3.31.2",
"svelte-preprocess": "^4.5.2",
"svelte-preprocess": "^4.6.3",
"typescript": "^4.1.3"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion attractions/pagination/pagination.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
}
}
function tryNavigate(e) {
function tryNavigate(_event) {
const parsed = parseInt(inputValue);
if (!isNaN(parsed)) {
goTo(parsed);
Expand Down
3 changes: 2 additions & 1 deletion attractions/popover/popover-button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
type="button"
class={classes('popover-button', _class)}
on:click={e => dispatch('click', { nativeEvent: e })}
{...$$restProps}>
{...$$restProps}
>
<slot />
</button>

Expand Down
3 changes: 2 additions & 1 deletion attractions/star-rating/star-rating.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
<label
class={classes(starClass)}
for={`${name}-${i}`}
use:ripple={{ disabled }}>
use:ripple={{ disabled }}
>
<slot name="icon">
<Star />
</slot>
Expand Down
3 changes: 2 additions & 1 deletion attractions/star-rating/star.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round">
stroke-linejoin="round"
>
<polygon
points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
/>
Expand Down
3 changes: 2 additions & 1 deletion attractions/time-picker/clock.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round">
stroke-linejoin="round"
>
<circle cx="12" cy="12" r="10" />
<polyline points="12 6 12 12 16 14" />
</svg>
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
"@rollup/plugin-node-resolve": "^11.0.1",
"@rollup/plugin-replace": "^2.2.0",
"attractions": "^3.0.0",
"eslint-config-prettier": "^7.1.0",
"eslint-config-prettier": "^7.2.0",
"mdsvex": "^0.8.7",
"postcss": "^8.2.4",
"prettier": "2.2.1",
"prism-svelte": "^0.4.6",
"remark-heading-id": "^1.0.0",
"rollup": "^2.36.1",
"rollup-plugin-svelte": "^7.0.0",
"rollup": "^2.37.1",
"rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.0",
"sapper": "^0.28.0",
"sass": "^1.32.2",
"sass": "^1.32.5",
"svelte": "^3.31.2",
"svelte-feather-icons": "^3.2.2",
"svelte-preprocess": "^4.0.8"
"svelte-preprocess": "^4.6.3"
}
}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@
"@babel/preset-env": "^7.12.11",
"@babel/runtime": "^7.10.5",
"@sveltejs/eslint-config": "sveltejs/eslint-config",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.17.0",
"eslint": "^7.18.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^7.1.0",
"eslint-config-prettier": "^7.2.0",
"eslint-formatter-pretty": "^4.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-svelte3": "^3.0.0",
"husky": "^5.0.4",
"is-ci": "^2.0.0",
"lint-staged": "^10.2.11",
"pinst": "^2.1.1",
"pinst": "^2.1.2",
"prettier": "2.2.1",
"prettier-plugin-svelte": "^2.0.3",
"stylelint": "^13.6.1",
"prettier-plugin-svelte": "^2.1.1",
"stylelint": "^13.9.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-sass-guidelines": "^7.0.0",
"svelte": "^3.31.2",
Expand Down
Loading

0 comments on commit 7c6896a

Please sign in to comment.