Skip to content

Commit

Permalink
Fix types package
Browse files Browse the repository at this point in the history
  • Loading branch information
f-elix committed May 16, 2024
1 parent 4d7ccd9 commit 21c3a5c
Show file tree
Hide file tree
Showing 77 changed files with 271 additions and 69 deletions.
9 changes: 9 additions & 0 deletions packages/animations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @288-toolkit/animations

## 4.1.1

### Patch Changes

- Updated dependencies
- @288-toolkit/types@3.1.0
- @288-toolkit/device@4.0.1
- @288-toolkit/page-transition@3.0.2

## 4.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/animations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@288-toolkit/animations",
"version": "4.1.0",
"version": "4.1.1",
"author": "DeuxHuitHuit",
"license": "MIT",
"type": "module",
Expand Down
7 changes: 7 additions & 0 deletions packages/component-loader/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @288-toolkit/component-loader

## 1.0.2

### Patch Changes

- Updated dependencies
- @288-toolkit/types@3.1.0

## 1.0.1

### Patch Changes
Expand Down
5 changes: 3 additions & 2 deletions packages/component-loader/dist/ComponentSelector.svelte.d.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import { SvelteComponent } from "svelte";
import type { Maybe } from '@288-toolkit/types';
import type { DynamicImportEntryWithSvelteComponent } from './createComponentLoader';
declare class __sveltets_Render<TEntry extends DynamicImportEntryWithSvelteComponent> {
props(): {
entries?: Maybe<TEntry_1>[] | undefined;
entries?: Maybe<TEntry>[] | undefined;
};
events(): {} & {
[evt: string]: CustomEvent<any>;
};
slots(): {
default: {
component: any;
entry: Maybe<TEntry_1>;
entry: Maybe<TEntry>;
};
};
}
Expand Down
2 changes: 1 addition & 1 deletion packages/component-loader/dist/createComponentLoader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ export type DynamicImport<TEntry extends DynamicImportEntry = DynamicImportEntry
default: ComponentType;
}>;
};
export declare const createComponentLoader: (dynamicImports: DynamicImport[]) => <TEntry extends AnonymousObject>(entry: TEntry) => Promise<TEntry>;
export declare const createComponentLoader: (dynamicImports: DynamicImport[]) => <TEntry extends DynamicImportEntry>(entry: TEntry) => Promise<DynamicImportEntryWithSvelteComponent<TEntry>>;
2 changes: 1 addition & 1 deletion packages/component-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@288-toolkit/component-loader",
"version": "1.0.1",
"version": "1.0.2",
"author": "DeuxHuitHuit",
"license": "MIT",
"type": "module",
Expand Down
6 changes: 6 additions & 0 deletions packages/components/back-to-top/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @288-toolkit/back-to-top

## 3.0.4

### Patch Changes

- @288-toolkit/ui@5.2.1

## 3.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/back-to-top/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@288-toolkit/back-to-top",
"version": "3.0.3",
"version": "3.0.4",
"author": "DeuxHuitHuit",
"license": "MIT",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions packages/components/cookie-popup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @288-toolkit/cookie-popup

## 3.0.5

### Patch Changes

- Updated dependencies
- @288-toolkit/types@3.1.0
- @288-toolkit/dismissable@3.0.5

## 3.0.4

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { SvelteComponent } from "svelte";
import type { Maybe } from '@288-toolkit/types';
declare const __propDef: {
props: {
/**
* The consent event pushed to the dataLayer when the user accepts cookies
*/ gtmConsentEvent?: any;
*/ gtmConsentEvent?: Maybe<string> | undefined;
/**
* The storage key used to persist the popup dismissal. Must be unique across projects.
*/ key: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/components/cookie-popup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@288-toolkit/cookie-popup",
"version": "3.0.4",
"version": "3.0.5",
"author": "DeuxHuitHuit",
"license": "MIT",
"type": "module",
Expand Down
6 changes: 6 additions & 0 deletions packages/components/dev-error-page/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @288-toolkit/dev-error-page

## 1.0.4

### Patch Changes

- @288-toolkit/dismissable@3.0.5

## 1.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/dev-error-page/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@288-toolkit/dev-error-page",
"version": "1.0.3",
"version": "1.0.4",
"author": "DeuxHuitHuit",
"license": "MIT",
"type": "module",
Expand Down
7 changes: 7 additions & 0 deletions packages/components/dismissable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @288-toolkit/dismissable

## 3.0.5

### Patch Changes

- Updated dependencies
- @288-toolkit/types@3.1.0

## 3.0.4

### Patch Changes
Expand Down
3 changes: 2 additions & 1 deletion packages/components/dismissable/dist/Dismissable.svelte.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { SvelteComponent } from "svelte";
import type { Maybe } from '@288-toolkit/types';
declare const __propDef: {
props: {
/**
Expand All @@ -9,7 +10,7 @@ declare const __propDef: {
*/ timeout?: number | undefined;
/**
* The date of the last update of the content.
*/ lastUpdatedAt?: any;
*/ lastUpdatedAt?: Maybe<Date> | undefined;
/**
* The maximum age of the dismissal in seconds.
* The content will show up again after this time has past.
Expand Down
2 changes: 1 addition & 1 deletion packages/components/dismissable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@288-toolkit/dismissable",
"version": "3.0.4",
"version": "3.0.5",
"author": "DeuxHuitHuit",
"license": "MIT",
"type": "module",
Expand Down
9 changes: 9 additions & 0 deletions packages/components/html-elements/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @288-toolkit/html-elements

## 3.0.12

### Patch Changes

- Updated dependencies
- @288-toolkit/types@3.1.0
- @288-toolkit/format@4.0.10
- @288-toolkit/url@4.1.2

## 3.0.11

### Patch Changes
Expand Down
5 changes: 3 additions & 2 deletions packages/components/html-elements/dist/HtmlAnchor.svelte.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { SvelteComponent } from "svelte";
import type { Maybe } from '@288-toolkit/types';
declare const __propDef: {
props: {
[x: string]: any;
href: string;
rel?: any;
target?: any;
rel?: Maybe<string> | undefined;
target?: Maybe<string> | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
Expand Down
5 changes: 3 additions & 2 deletions packages/components/html-elements/dist/HtmlImg.svelte.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { SvelteComponent } from "svelte";
import type { Maybe } from '@288-toolkit/types';
declare const __propDef: {
props: {
[x: string]: any;
src: Maybe<string>;
srcset?: any;
alt?: any;
srcset?: Maybe<string> | undefined;
alt?: Maybe<string> | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
Expand Down
2 changes: 1 addition & 1 deletion packages/components/html-elements/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@288-toolkit/html-elements",
"version": "3.0.11",
"version": "3.0.12",
"author": "DeuxHuitHuit",
"license": "MIT",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions packages/components/minimap/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @288-toolkit/minimap

## 3.0.1

### Patch Changes

- Updated dependencies
- @288-toolkit/types@3.1.0
- @288-toolkit/device@4.0.1

## 3.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/minimap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@288-toolkit/minimap",
"version": "3.0.0",
"version": "3.0.1",
"author": "DeuxHuitHuit",
"license": "MIT",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions packages/components/pagination/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @288-toolkit/pagination

## 3.1.4

### Patch Changes

- @288-toolkit/forms@4.2.2
- @288-toolkit/i18n@8.1.1
- @288-toolkit/ui@5.2.1

## 3.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/pagination/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@288-toolkit/pagination",
"version": "3.1.3",
"version": "3.1.4",
"author": "DeuxHuitHuit",
"license": "MIT",
"type": "module",
Expand Down
6 changes: 6 additions & 0 deletions packages/components/slideshow/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @288-toolkit/slideshow

## 3.1.1

### Patch Changes

- @288-toolkit/i18n@8.1.1

## 3.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/slideshow/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@288-toolkit/slideshow",
"version": "3.1.0",
"version": "3.1.1",
"author": "DeuxHuitHuit",
"license": "MIT",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions packages/components/sprite-animation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @288-toolkit/sprite-animation

## 3.0.1

### Patch Changes

- Updated dependencies
- @288-toolkit/types@3.1.0
- @288-toolkit/device@4.0.1

## 3.0.0

### Major Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { SvelteComponent } from "svelte";
import type { Maybe } from '@288-toolkit/types';
declare const __propDef: {
props: {
/**
Expand All @@ -24,7 +25,7 @@ declare const __propDef: {
*/ loop?: boolean | undefined;
/**
* The still image to show when the animation is not running.
*/ still?: any;
*/ still?: Maybe<string> | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
Expand Down
2 changes: 1 addition & 1 deletion packages/components/sprite-animation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@288-toolkit/sprite-animation",
"version": "3.0.0",
"version": "3.0.1",
"author": "DeuxHuitHuit",
"license": "MIT",
"type": "module",
Expand Down
9 changes: 9 additions & 0 deletions packages/components/video-embed/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @288-toolkit/video-embed

## 3.1.1

### Patch Changes

- Updated dependencies
- @288-toolkit/types@3.1.0
- @288-toolkit/html-elements@3.0.12
- @288-toolkit/i18n@8.1.1

## 3.1.0

### Minor Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface VideoEmbedApi {
export declare const getVideoEmbedContext: any;
declare const __propDef: {
props: {
url?: any;
url?: Maybe<string> | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
import { SvelteComponent } from "svelte";
import YtEmbed from './YoutubeEmbed.svelte';
import VimeoEmbed from './VimeoEmbed.svelte';
import type { Maybe } from '@288-toolkit/types';
declare const __propDef: {
props: {
/**
* The url of the video. Already provided if this component is used inside an EmbedGroup.
*/ url?: any;
*/ url?: Maybe<string> | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {
provider: Maybe<"youtube" | "vimeo">;
EmbedComponent: any;
EmbedComponent: typeof YtEmbed | typeof VimeoEmbed | null;
};
};
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { SvelteComponent } from "svelte";
import type { Maybe } from '@288-toolkit/types';
declare const __propDef: {
props: {
/**
* The url of the video. Already provided if this component is used inside an EmbedGroup.
*/ url?: any;
*/ url?: Maybe<string> | undefined;
/**
* The alt text for the image.
*/ alt?: any;
*/ alt?: Maybe<string> | undefined;
/**
* The classes to apply to the img element.
*/ class?: string | undefined;
Expand Down
Loading

0 comments on commit 21c3a5c

Please sign in to comment.