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 #326 from illright/hotfix/sveld-types
Browse files Browse the repository at this point in the history
Hotfix: sveld-generated types
  • Loading branch information
aabounegm authored Nov 20, 2021
2 parents 84d0d9b + 058b84f commit 866531b
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 21 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ 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/).

## [3.5.1] - 2021-11-20

### Fixed

- Fixed a minor regression in the types of components that extend other components ([#325](https://github.com/illright/attractions/issues/325)).

## [3.5.0] - 2021-11-08

### Added
Expand Down
2 changes: 1 addition & 1 deletion attractions/autocomplete/autocomplete-field.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script>
/**
* @typedef {typeof import('./autocomplete-option').Option} Option
* @typedef {import('./autocomplete-option.svelte').Option} Option
* @typedef {(q: string) => Generator<Promise<Option[]>, never, never>} OptionsGetter
* @slot {{ loadMoreOptions: (click?: CustomEvent<{ nativeEvent: MouseEvent }>) => void }} more-options
* @event {{ value: Option[] }} change
Expand Down
5 changes: 2 additions & 3 deletions attractions/autocomplete/autocomplete.svelte
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<script>
/**
* @typedef {import('./autocomplete-field').OptionsGetter} OptionsGetter
* @typedef {import('./autocomplete-option').Option} Option
* @typedef {import('./autocomplete-option.svelte').Option} Option
* @slot {{ }} loading-options
* @slot {{ loadMoreOptions: (click?: CustomEvent<{ nativeEvent: MouseEvent }>) => void }} more-options
* @slot {{ }} not-enough-input
* @slot {{ }} too-many-options
* @event {{ value: Option[] }} change
* @extends {'./autocomplete-field'} AutocompleteFieldProps
* @extends {'./autocomplete-field.svelte'} AutocompleteFieldProps
*/
import { createEventDispatcher } from 'svelte';
import Button from '../button/button.svelte';
Expand Down
2 changes: 1 addition & 1 deletion attractions/checkbox/checkbox-group.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
/**
* @event {{ value: string; checked: boolean; nativeEvent: Event }} change
* @extends {'./checkbox'} CheckboxProps
* @extends {'./checkbox.svelte'} CheckboxProps
*/
import classes from '../utils/classes.js';
import getColorPickerStyles from '../utils/color-picker-styles.js';
Expand Down
2 changes: 1 addition & 1 deletion attractions/chip/checkbox-chip-group.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
/**
* @event {{ value: string; checked: boolean; nativeEvent: Event }} change
* @extends {'./checkbox-chip'} CheckboxChipProps
* @extends {'./checkbox-chip.svelte'} CheckboxChipProps
*/
import s from '../utils/plural-s.js';
import classes from '../utils/classes.js';
Expand Down
2 changes: 1 addition & 1 deletion attractions/chip/radio-chip-group.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
/**
* @event {{ value: string; nativeEvent: Event }} change
* @extends {'./radio-chip'} RadioChipProps
* @extends {'./radio-chip.svelte'} RadioChipProps
*/
import classes from '../utils/classes.js';
import RadioChip from './radio-chip.svelte';
Expand Down
2 changes: 1 addition & 1 deletion attractions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "attractions",
"version": "3.5.0",
"version": "3.5.1",
"description": "A UI kit for Svelte",
"homepage": "https://illright.github.io/attractions/",
"bugs": "https://github.com/illright/attractions/issues",
Expand Down
2 changes: 1 addition & 1 deletion attractions/radio-button/radio-group.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
/**
* @event {{ value: string; nativeEvent: Event }} change
* @extends {'./radio-button'} RadioButtonProps
* @extends {'./radio-button.svelte'} RadioButtonProps
*/
import classes from '../utils/classes.js';
import getColorPickerStyles from '../utils/color-picker-styles.js';
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-replace": "^3.0.0",
"attractions": "workspace:^3.5.0",
"attractions": "workspace:^3.5.1",
"eslint-config-prettier": "^8.3.0",
"mdsvex": "^0.9.8",
"postcss": "^8.3.11",
Expand Down
13 changes: 2 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 866531b

Please sign in to comment.