From 21c3a5c7bb26fbff3a0323c67b06e8282a48f3a8 Mon Sep 17 00:00:00 2001 From: f-elix Date: Thu, 16 May 2024 10:52:00 -0400 Subject: [PATCH] Fix types package --- packages/animations/CHANGELOG.md | 9 +++++++++ packages/animations/package.json | 2 +- packages/component-loader/CHANGELOG.md | 7 +++++++ .../dist/ComponentSelector.svelte.d.ts | 5 +++-- .../dist/createComponentLoader.d.ts | 2 +- packages/component-loader/package.json | 2 +- packages/components/back-to-top/CHANGELOG.md | 6 ++++++ packages/components/back-to-top/package.json | 2 +- packages/components/cookie-popup/CHANGELOG.md | 8 ++++++++ .../cookie-popup/dist/CookiePopup.svelte.d.ts | 3 ++- packages/components/cookie-popup/package.json | 2 +- packages/components/dev-error-page/CHANGELOG.md | 6 ++++++ packages/components/dev-error-page/package.json | 2 +- packages/components/dismissable/CHANGELOG.md | 7 +++++++ .../dismissable/dist/Dismissable.svelte.d.ts | 3 ++- packages/components/dismissable/package.json | 2 +- packages/components/html-elements/CHANGELOG.md | 9 +++++++++ .../html-elements/dist/HtmlAnchor.svelte.d.ts | 5 +++-- .../html-elements/dist/HtmlImg.svelte.d.ts | 5 +++-- packages/components/html-elements/package.json | 2 +- packages/components/minimap/CHANGELOG.md | 8 ++++++++ packages/components/minimap/package.json | 2 +- packages/components/pagination/CHANGELOG.md | 8 ++++++++ packages/components/pagination/package.json | 2 +- packages/components/slideshow/CHANGELOG.md | 6 ++++++ packages/components/slideshow/package.json | 2 +- packages/components/sprite-animation/CHANGELOG.md | 8 ++++++++ .../dist/SpriteAnimation.svelte.d.ts | 3 ++- packages/components/sprite-animation/package.json | 2 +- packages/components/video-embed/CHANGELOG.md | 9 +++++++++ .../video-embed/dist/EmbedGroup.svelte.d.ts | 2 +- .../video-embed/dist/EmbedSelector.svelte.d.ts | 7 +++++-- .../video-embed/dist/EmbedThumbnail.svelte.d.ts | 5 +++-- .../video-embed/dist/VimeoEmbed.svelte.d.ts | 5 +++-- .../video-embed/dist/YoutubeEmbed.svelte.d.ts | 7 ++++--- packages/components/video-embed/dist/vimeo.d.ts | 1 + packages/components/video-embed/dist/youtube.d.ts | 1 + packages/components/video-embed/package.json | 2 +- packages/dates/CHANGELOG.md | 8 ++++++++ packages/dates/package.json | 2 +- packages/device/CHANGELOG.md | 7 +++++++ packages/device/dist/media/runOnMatchMedia.d.ts | 1 + packages/device/package.json | 2 +- packages/format/CHANGELOG.md | 8 ++++++++ packages/format/package.json | 2 +- packages/forms/CHANGELOG.md | 8 ++++++++ packages/forms/dist/createNewsletterForm.d.ts | 9 ++++++--- packages/forms/dist/createPostForm.d.ts | 6 +++--- packages/forms/package.json | 2 +- packages/hooks/CHANGELOG.md | 7 +++++++ packages/hooks/package.json | 2 +- packages/html-parser/CHANGELOG.md | 7 +++++++ packages/html-parser/package.json | 2 +- packages/http/CHANGELOG.md | 7 +++++++ packages/http/dist/parseAcceptLanguage.d.ts | 1 + packages/http/package.json | 2 +- packages/i18n/CHANGELOG.md | 8 ++++++++ .../dist/translations/client/createTranslate.d.ts | 1 + packages/i18n/dist/translations/pluralize.d.ts | 5 ++++- .../dist/translations/server/createTranslate.d.ts | 1 + packages/i18n/dist/translations/translate.d.ts | 1 + packages/i18n/dist/types/index.d.ts | 1 - packages/i18n/package.json | 2 +- packages/page-transition/CHANGELOG.md | 7 +++++++ packages/page-transition/dist/index.d.ts | 12 ++++++------ packages/page-transition/package.json | 2 +- packages/shares/CHANGELOG.md | 7 +++++++ packages/shares/dist/nativeShare.d.ts | 1 + packages/shares/package.json | 2 +- packages/types/CHANGELOG.md | 6 ++++++ packages/types/{src => }/index.d.ts | 2 ++ packages/types/package.json | 13 ++----------- packages/types/{src => }/timezones.d.ts | 0 packages/ui/CHANGELOG.md | 6 ++++++ packages/ui/package.json | 2 +- packages/url/CHANGELOG.md | 7 +++++++ packages/url/package.json | 2 +- 77 files changed, 271 insertions(+), 69 deletions(-) rename packages/types/{src => }/index.d.ts (98%) rename packages/types/{src => }/timezones.d.ts (100%) diff --git a/packages/animations/CHANGELOG.md b/packages/animations/CHANGELOG.md index a2827150..0bb632d6 100644 --- a/packages/animations/CHANGELOG.md +++ b/packages/animations/CHANGELOG.md @@ -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 diff --git a/packages/animations/package.json b/packages/animations/package.json index 131f784f..7ac929a1 100644 --- a/packages/animations/package.json +++ b/packages/animations/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/animations", - "version": "4.1.0", + "version": "4.1.1", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/component-loader/CHANGELOG.md b/packages/component-loader/CHANGELOG.md index 65d8be9e..5657cbf0 100644 --- a/packages/component-loader/CHANGELOG.md +++ b/packages/component-loader/CHANGELOG.md @@ -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 diff --git a/packages/component-loader/dist/ComponentSelector.svelte.d.ts b/packages/component-loader/dist/ComponentSelector.svelte.d.ts index 746c3a9d..4f3ae3fe 100644 --- a/packages/component-loader/dist/ComponentSelector.svelte.d.ts +++ b/packages/component-loader/dist/ComponentSelector.svelte.d.ts @@ -1,8 +1,9 @@ import { SvelteComponent } from "svelte"; +import type { Maybe } from '@288-toolkit/types'; import type { DynamicImportEntryWithSvelteComponent } from './createComponentLoader'; declare class __sveltets_Render { props(): { - entries?: Maybe[] | undefined; + entries?: Maybe[] | undefined; }; events(): {} & { [evt: string]: CustomEvent; @@ -10,7 +11,7 @@ declare class __sveltets_Render; + entry: Maybe; }; }; } diff --git a/packages/component-loader/dist/createComponentLoader.d.ts b/packages/component-loader/dist/createComponentLoader.d.ts index 78b2b740..4fddb21b 100644 --- a/packages/component-loader/dist/createComponentLoader.d.ts +++ b/packages/component-loader/dist/createComponentLoader.d.ts @@ -10,4 +10,4 @@ export type DynamicImport; }; -export declare const createComponentLoader: (dynamicImports: DynamicImport[]) => (entry: TEntry) => Promise; +export declare const createComponentLoader: (dynamicImports: DynamicImport[]) => (entry: TEntry) => Promise>; diff --git a/packages/component-loader/package.json b/packages/component-loader/package.json index ae302ad3..e8a0f46c 100644 --- a/packages/component-loader/package.json +++ b/packages/component-loader/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/component-loader", - "version": "1.0.1", + "version": "1.0.2", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/components/back-to-top/CHANGELOG.md b/packages/components/back-to-top/CHANGELOG.md index 26848744..48ec072c 100644 --- a/packages/components/back-to-top/CHANGELOG.md +++ b/packages/components/back-to-top/CHANGELOG.md @@ -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 diff --git a/packages/components/back-to-top/package.json b/packages/components/back-to-top/package.json index 6009e0a4..d0ece310 100644 --- a/packages/components/back-to-top/package.json +++ b/packages/components/back-to-top/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/back-to-top", - "version": "3.0.3", + "version": "3.0.4", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/components/cookie-popup/CHANGELOG.md b/packages/components/cookie-popup/CHANGELOG.md index 3aa0831d..03e77eaf 100644 --- a/packages/components/cookie-popup/CHANGELOG.md +++ b/packages/components/cookie-popup/CHANGELOG.md @@ -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 diff --git a/packages/components/cookie-popup/dist/CookiePopup.svelte.d.ts b/packages/components/cookie-popup/dist/CookiePopup.svelte.d.ts index cd69f8ef..79fef0d5 100644 --- a/packages/components/cookie-popup/dist/CookiePopup.svelte.d.ts +++ b/packages/components/cookie-popup/dist/CookiePopup.svelte.d.ts @@ -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 | undefined; /** * The storage key used to persist the popup dismissal. Must be unique across projects. */ key: string; diff --git a/packages/components/cookie-popup/package.json b/packages/components/cookie-popup/package.json index 83ca9ed7..7ca71ed2 100644 --- a/packages/components/cookie-popup/package.json +++ b/packages/components/cookie-popup/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/cookie-popup", - "version": "3.0.4", + "version": "3.0.5", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/components/dev-error-page/CHANGELOG.md b/packages/components/dev-error-page/CHANGELOG.md index 1ff87b90..99ae8c1e 100644 --- a/packages/components/dev-error-page/CHANGELOG.md +++ b/packages/components/dev-error-page/CHANGELOG.md @@ -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 diff --git a/packages/components/dev-error-page/package.json b/packages/components/dev-error-page/package.json index 3ba5941a..bbd927bc 100644 --- a/packages/components/dev-error-page/package.json +++ b/packages/components/dev-error-page/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/dev-error-page", - "version": "1.0.3", + "version": "1.0.4", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/components/dismissable/CHANGELOG.md b/packages/components/dismissable/CHANGELOG.md index 26a595fd..d69985ad 100644 --- a/packages/components/dismissable/CHANGELOG.md +++ b/packages/components/dismissable/CHANGELOG.md @@ -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 diff --git a/packages/components/dismissable/dist/Dismissable.svelte.d.ts b/packages/components/dismissable/dist/Dismissable.svelte.d.ts index fc6550a1..e8e04d2a 100644 --- a/packages/components/dismissable/dist/Dismissable.svelte.d.ts +++ b/packages/components/dismissable/dist/Dismissable.svelte.d.ts @@ -1,4 +1,5 @@ import { SvelteComponent } from "svelte"; +import type { Maybe } from '@288-toolkit/types'; declare const __propDef: { props: { /** @@ -9,7 +10,7 @@ declare const __propDef: { */ timeout?: number | undefined; /** * The date of the last update of the content. - */ lastUpdatedAt?: any; + */ lastUpdatedAt?: Maybe | undefined; /** * The maximum age of the dismissal in seconds. * The content will show up again after this time has past. diff --git a/packages/components/dismissable/package.json b/packages/components/dismissable/package.json index f77dc8a6..ec889705 100644 --- a/packages/components/dismissable/package.json +++ b/packages/components/dismissable/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/dismissable", - "version": "3.0.4", + "version": "3.0.5", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/components/html-elements/CHANGELOG.md b/packages/components/html-elements/CHANGELOG.md index 6637958b..c3592b78 100644 --- a/packages/components/html-elements/CHANGELOG.md +++ b/packages/components/html-elements/CHANGELOG.md @@ -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 diff --git a/packages/components/html-elements/dist/HtmlAnchor.svelte.d.ts b/packages/components/html-elements/dist/HtmlAnchor.svelte.d.ts index fa150bfb..b9cd7b2f 100644 --- a/packages/components/html-elements/dist/HtmlAnchor.svelte.d.ts +++ b/packages/components/html-elements/dist/HtmlAnchor.svelte.d.ts @@ -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 | undefined; + target?: Maybe | undefined; }; events: { [evt: string]: CustomEvent; diff --git a/packages/components/html-elements/dist/HtmlImg.svelte.d.ts b/packages/components/html-elements/dist/HtmlImg.svelte.d.ts index f743460c..4c780200 100644 --- a/packages/components/html-elements/dist/HtmlImg.svelte.d.ts +++ b/packages/components/html-elements/dist/HtmlImg.svelte.d.ts @@ -1,10 +1,11 @@ import { SvelteComponent } from "svelte"; +import type { Maybe } from '@288-toolkit/types'; declare const __propDef: { props: { [x: string]: any; src: Maybe; - srcset?: any; - alt?: any; + srcset?: Maybe | undefined; + alt?: Maybe | undefined; }; events: { [evt: string]: CustomEvent; diff --git a/packages/components/html-elements/package.json b/packages/components/html-elements/package.json index 494f3686..c3418e30 100644 --- a/packages/components/html-elements/package.json +++ b/packages/components/html-elements/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/html-elements", - "version": "3.0.11", + "version": "3.0.12", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/components/minimap/CHANGELOG.md b/packages/components/minimap/CHANGELOG.md index ea380600..8fbc6a7b 100644 --- a/packages/components/minimap/CHANGELOG.md +++ b/packages/components/minimap/CHANGELOG.md @@ -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 diff --git a/packages/components/minimap/package.json b/packages/components/minimap/package.json index e450658d..c9aa0abf 100644 --- a/packages/components/minimap/package.json +++ b/packages/components/minimap/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/minimap", - "version": "3.0.0", + "version": "3.0.1", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/components/pagination/CHANGELOG.md b/packages/components/pagination/CHANGELOG.md index ffaacdcd..db953d28 100644 --- a/packages/components/pagination/CHANGELOG.md +++ b/packages/components/pagination/CHANGELOG.md @@ -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 diff --git a/packages/components/pagination/package.json b/packages/components/pagination/package.json index dd03c5db..cc225d8b 100644 --- a/packages/components/pagination/package.json +++ b/packages/components/pagination/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/pagination", - "version": "3.1.3", + "version": "3.1.4", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/components/slideshow/CHANGELOG.md b/packages/components/slideshow/CHANGELOG.md index 3ff211c0..ebd303be 100644 --- a/packages/components/slideshow/CHANGELOG.md +++ b/packages/components/slideshow/CHANGELOG.md @@ -1,5 +1,11 @@ # @288-toolkit/slideshow +## 3.1.1 + +### Patch Changes + +- @288-toolkit/i18n@8.1.1 + ## 3.1.0 ### Minor Changes diff --git a/packages/components/slideshow/package.json b/packages/components/slideshow/package.json index 298b6e1c..631dc905 100644 --- a/packages/components/slideshow/package.json +++ b/packages/components/slideshow/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/slideshow", - "version": "3.1.0", + "version": "3.1.1", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/components/sprite-animation/CHANGELOG.md b/packages/components/sprite-animation/CHANGELOG.md index 46a33242..a761923f 100644 --- a/packages/components/sprite-animation/CHANGELOG.md +++ b/packages/components/sprite-animation/CHANGELOG.md @@ -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 diff --git a/packages/components/sprite-animation/dist/SpriteAnimation.svelte.d.ts b/packages/components/sprite-animation/dist/SpriteAnimation.svelte.d.ts index 71d09224..e539cc65 100644 --- a/packages/components/sprite-animation/dist/SpriteAnimation.svelte.d.ts +++ b/packages/components/sprite-animation/dist/SpriteAnimation.svelte.d.ts @@ -1,4 +1,5 @@ import { SvelteComponent } from "svelte"; +import type { Maybe } from '@288-toolkit/types'; declare const __propDef: { props: { /** @@ -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 | undefined; }; events: { [evt: string]: CustomEvent; diff --git a/packages/components/sprite-animation/package.json b/packages/components/sprite-animation/package.json index e4ea292b..9a6bbcf6 100644 --- a/packages/components/sprite-animation/package.json +++ b/packages/components/sprite-animation/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/sprite-animation", - "version": "3.0.0", + "version": "3.0.1", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/components/video-embed/CHANGELOG.md b/packages/components/video-embed/CHANGELOG.md index 8cddaf7b..ad5549b0 100644 --- a/packages/components/video-embed/CHANGELOG.md +++ b/packages/components/video-embed/CHANGELOG.md @@ -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 diff --git a/packages/components/video-embed/dist/EmbedGroup.svelte.d.ts b/packages/components/video-embed/dist/EmbedGroup.svelte.d.ts index 4e61d566..ba5b9781 100644 --- a/packages/components/video-embed/dist/EmbedGroup.svelte.d.ts +++ b/packages/components/video-embed/dist/EmbedGroup.svelte.d.ts @@ -26,7 +26,7 @@ export interface VideoEmbedApi { export declare const getVideoEmbedContext: any; declare const __propDef: { props: { - url?: any; + url?: Maybe | undefined; }; events: { [evt: string]: CustomEvent; diff --git a/packages/components/video-embed/dist/EmbedSelector.svelte.d.ts b/packages/components/video-embed/dist/EmbedSelector.svelte.d.ts index d655f586..bbc7702e 100644 --- a/packages/components/video-embed/dist/EmbedSelector.svelte.d.ts +++ b/packages/components/video-embed/dist/EmbedSelector.svelte.d.ts @@ -1,9 +1,12 @@ 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 | undefined; }; events: { [evt: string]: CustomEvent; @@ -11,7 +14,7 @@ declare const __propDef: { slots: { default: { provider: Maybe<"youtube" | "vimeo">; - EmbedComponent: any; + EmbedComponent: typeof YtEmbed | typeof VimeoEmbed | null; }; }; }; diff --git a/packages/components/video-embed/dist/EmbedThumbnail.svelte.d.ts b/packages/components/video-embed/dist/EmbedThumbnail.svelte.d.ts index d2ee6dfc..824ae7b3 100644 --- a/packages/components/video-embed/dist/EmbedThumbnail.svelte.d.ts +++ b/packages/components/video-embed/dist/EmbedThumbnail.svelte.d.ts @@ -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 | undefined; /** * The alt text for the image. - */ alt?: any; + */ alt?: Maybe | undefined; /** * The classes to apply to the img element. */ class?: string | undefined; diff --git a/packages/components/video-embed/dist/VimeoEmbed.svelte.d.ts b/packages/components/video-embed/dist/VimeoEmbed.svelte.d.ts index b43988e2..672238af 100644 --- a/packages/components/video-embed/dist/VimeoEmbed.svelte.d.ts +++ b/packages/components/video-embed/dist/VimeoEmbed.svelte.d.ts @@ -8,14 +8,15 @@ export type VimeoEmbedOptions = { background?: boolean; }; export declare const VIMEO_DEFAULTS: VimeoEmbedOptions; +import type { Maybe } from '@288-toolkit/types'; declare const __propDef: { props: { url: Maybe; - title?: any; + title?: Maybe | undefined; muted?: boolean | undefined; autoplay?: boolean | undefined; loop?: boolean | undefined; - start?: any; + start?: Maybe | undefined; options?: VimeoEmbedOptions | undefined; }; events: { diff --git a/packages/components/video-embed/dist/YoutubeEmbed.svelte.d.ts b/packages/components/video-embed/dist/YoutubeEmbed.svelte.d.ts index af04cbb3..9d385436 100644 --- a/packages/components/video-embed/dist/YoutubeEmbed.svelte.d.ts +++ b/packages/components/video-embed/dist/YoutubeEmbed.svelte.d.ts @@ -21,15 +21,16 @@ export type YoutubeEmbedOptions = { widget_referrer?: string; }; export declare const YOUTUBE_DEFAULTS: YoutubeEmbedOptions; +import type { Maybe } from '@288-toolkit/types'; declare const __propDef: { props: { url: Maybe; - title?: any; + title?: Maybe | undefined; muted?: boolean | undefined; autoplay?: boolean | undefined; loop?: boolean | undefined; - start?: any; - options?: any; + start?: Maybe | undefined; + options?: Maybe | undefined; }; events: { [evt: string]: CustomEvent; diff --git a/packages/components/video-embed/dist/vimeo.d.ts b/packages/components/video-embed/dist/vimeo.d.ts index 967f1992..99644720 100644 --- a/packages/components/video-embed/dist/vimeo.d.ts +++ b/packages/components/video-embed/dist/vimeo.d.ts @@ -1,3 +1,4 @@ +import type { Maybe } from '@288-toolkit/types'; export type ThumbnailOptions = { width: string; height?: string; diff --git a/packages/components/video-embed/dist/youtube.d.ts b/packages/components/video-embed/dist/youtube.d.ts index 5c4e8da8..9019abdc 100644 --- a/packages/components/video-embed/dist/youtube.d.ts +++ b/packages/components/video-embed/dist/youtube.d.ts @@ -1,3 +1,4 @@ +import type { Maybe } from '@288-toolkit/types'; export type YtThumbnailFormat = 'default' | 'mqdefault' | 'hqdefault' | 'sddefault' | 'maxresdefault'; /** * Check if a URL is a valid YouTube URL diff --git a/packages/components/video-embed/package.json b/packages/components/video-embed/package.json index b78c2fd1..484fe6cd 100644 --- a/packages/components/video-embed/package.json +++ b/packages/components/video-embed/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/video-embed", - "version": "3.1.0", + "version": "3.1.1", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/dates/CHANGELOG.md b/packages/dates/CHANGELOG.md index 71a3dd8b..6444011d 100644 --- a/packages/dates/CHANGELOG.md +++ b/packages/dates/CHANGELOG.md @@ -1,5 +1,13 @@ # @288-toolkit/dates +## 4.0.11 + +### Patch Changes + +- Updated dependencies + - @288-toolkit/types@3.1.0 + - @288-toolkit/format@4.0.10 + ## 4.0.10 ### Patch Changes diff --git a/packages/dates/package.json b/packages/dates/package.json index c4dac13b..0b9b9cec 100644 --- a/packages/dates/package.json +++ b/packages/dates/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/dates", - "version": "4.0.10", + "version": "4.0.11", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/device/CHANGELOG.md b/packages/device/CHANGELOG.md index d2e54be4..e8141530 100644 --- a/packages/device/CHANGELOG.md +++ b/packages/device/CHANGELOG.md @@ -1,5 +1,12 @@ # @288-toolkit/device +## 4.0.1 + +### Patch Changes + +- Updated dependencies + - @288-toolkit/types@3.1.0 + ## 4.0.0 ### Major Changes diff --git a/packages/device/dist/media/runOnMatchMedia.d.ts b/packages/device/dist/media/runOnMatchMedia.d.ts index e5188b48..ada7516f 100644 --- a/packages/device/dist/media/runOnMatchMedia.d.ts +++ b/packages/device/dist/media/runOnMatchMedia.d.ts @@ -1,4 +1,5 @@ /// +import type { AnonymousObject } from '@288-toolkit/types'; import type { Action } from 'svelte/action'; export type RunOnMatchMediaCleanUpFn = void | undefined | (() => void); export type RunOnMatchMediaCallback = () => RunOnMatchMediaCleanUpFn; diff --git a/packages/device/package.json b/packages/device/package.json index ca019838..eb42a033 100644 --- a/packages/device/package.json +++ b/packages/device/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/device", - "version": "4.0.0", + "version": "4.0.1", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/format/CHANGELOG.md b/packages/format/CHANGELOG.md index a8dda711..791d2c33 100644 --- a/packages/format/CHANGELOG.md +++ b/packages/format/CHANGELOG.md @@ -1,5 +1,13 @@ # @288-toolkit/format +## 4.0.10 + +### Patch Changes + +- Updated dependencies + - @288-toolkit/types@3.1.0 + - @288-toolkit/i18n@8.1.1 + ## 4.0.9 ### Patch Changes diff --git a/packages/format/package.json b/packages/format/package.json index bef2d5b0..4005b3d5 100644 --- a/packages/format/package.json +++ b/packages/format/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/format", - "version": "4.0.9", + "version": "4.0.10", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/forms/CHANGELOG.md b/packages/forms/CHANGELOG.md index c994ec81..e767ab78 100644 --- a/packages/forms/CHANGELOG.md +++ b/packages/forms/CHANGELOG.md @@ -1,5 +1,13 @@ # @288-toolkit/forms +## 4.2.2 + +### Patch Changes + +- Updated dependencies + - @288-toolkit/types@3.1.0 + - @288-toolkit/i18n@8.1.1 + ## 4.2.1 ### Patch Changes diff --git a/packages/forms/dist/createNewsletterForm.d.ts b/packages/forms/dist/createNewsletterForm.d.ts index 9d73df3b..9d56e525 100644 --- a/packages/forms/dist/createNewsletterForm.d.ts +++ b/packages/forms/dist/createNewsletterForm.d.ts @@ -1,4 +1,5 @@ /// +import type { Maybe } from '@288-toolkit/types'; import { type CreatePostFormOptions } from './createPostForm.js'; export type NewsletterFormOptions = CreatePostFormOptions; export declare const createNewsletterForm: (options: NewsletterFormOptions) => { @@ -36,9 +37,11 @@ export declare const createNewsletterForm: (options: NewsletterFormOptions) => { emailError: import("svelte/store").Readable; emailValue: import("svelte/store").Readable; submit: () => void; - data: import("svelte/store").Readable<{}>; - values: import("svelte/store").Readable; - errors: import("svelte/store").Readable; + data: import("svelte/store").Readable | undefined; + }>>; + values: import("svelte/store").Readable; + errors: import("svelte/store").Readable; }; states: { state: { diff --git a/packages/forms/dist/createPostForm.d.ts b/packages/forms/dist/createPostForm.d.ts index 0ee2bd8d..60cdc048 100644 --- a/packages/forms/dist/createPostForm.d.ts +++ b/packages/forms/dist/createPostForm.d.ts @@ -53,8 +53,8 @@ export declare const createPostForm: (options?: C }; helpers: { submit: () => void; - data: import("svelte/store").Readable<{}>; - values: import("svelte/store").Readable; - errors: import("svelte/store").Readable; + data: import("svelte/store").Readable>; + values: import("svelte/store").Readable; + errors: import("svelte/store").Readable; }; }; diff --git a/packages/forms/package.json b/packages/forms/package.json index b270fdec..3f89ab70 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/forms", - "version": "4.2.1", + "version": "4.2.2", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/hooks/CHANGELOG.md b/packages/hooks/CHANGELOG.md index d3965f1f..04df4be4 100644 --- a/packages/hooks/CHANGELOG.md +++ b/packages/hooks/CHANGELOG.md @@ -1,5 +1,12 @@ # @288-toolkit/hooks +## 1.0.2 + +### Patch Changes + +- Updated dependencies + - @288-toolkit/types@3.1.0 + ## 1.0.1 ### Patch Changes diff --git a/packages/hooks/package.json b/packages/hooks/package.json index c6228fc7..5dd2682a 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/hooks", - "version": "1.0.1", + "version": "1.0.2", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/html-parser/CHANGELOG.md b/packages/html-parser/CHANGELOG.md index 3c31d6b1..835d63a7 100644 --- a/packages/html-parser/CHANGELOG.md +++ b/packages/html-parser/CHANGELOG.md @@ -1,5 +1,12 @@ # @288-toolkit/html-parser +## 1.0.2 + +### Patch Changes + +- Updated dependencies + - @288-toolkit/types@3.1.0 + ## 1.0.1 ### Patch Changes diff --git a/packages/html-parser/package.json b/packages/html-parser/package.json index 0012f53d..bd458b64 100644 --- a/packages/html-parser/package.json +++ b/packages/html-parser/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/html-parser", - "version": "1.0.1", + "version": "1.0.2", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/http/CHANGELOG.md b/packages/http/CHANGELOG.md index 46b7aa1d..4619e278 100644 --- a/packages/http/CHANGELOG.md +++ b/packages/http/CHANGELOG.md @@ -1,5 +1,12 @@ # @288-toolkit/http +## 4.1.1 + +### Patch Changes + +- Updated dependencies + - @288-toolkit/types@3.1.0 + ## 4.1.0 ### Minor Changes diff --git a/packages/http/dist/parseAcceptLanguage.d.ts b/packages/http/dist/parseAcceptLanguage.d.ts index 72578501..d37163c5 100644 --- a/packages/http/dist/parseAcceptLanguage.d.ts +++ b/packages/http/dist/parseAcceptLanguage.d.ts @@ -1,3 +1,4 @@ +import type { Maybe } from '@288-toolkit/types'; export type AcceptLanguageEntry = { lang: string; priority: number; diff --git a/packages/http/package.json b/packages/http/package.json index 24b74419..b79f960d 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/http", - "version": "4.1.0", + "version": "4.1.1", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/i18n/CHANGELOG.md b/packages/i18n/CHANGELOG.md index 9d54488b..e20fae55 100644 --- a/packages/i18n/CHANGELOG.md +++ b/packages/i18n/CHANGELOG.md @@ -1,5 +1,13 @@ # @288-toolkit/i18n +## 8.1.1 + +### Patch Changes + +- Updated dependencies + - @288-toolkit/types@3.1.0 + - @288-toolkit/http@4.1.1 + ## 8.1.0 ### Minor Changes diff --git a/packages/i18n/dist/translations/client/createTranslate.d.ts b/packages/i18n/dist/translations/client/createTranslate.d.ts index b7c7cca3..c04bbbe5 100644 --- a/packages/i18n/dist/translations/client/createTranslate.d.ts +++ b/packages/i18n/dist/translations/client/createTranslate.d.ts @@ -1,2 +1,3 @@ +import type { AnonymousObject, PropertyStringPath } from '@288-toolkit/types'; import type { DataType, TranslateParams, Translation } from '../../types'; export declare const createTranslate: (translationKey: Translation['key']) => (path: PropertyStringPath, data?: TranslateParams) => TInferredOrString; diff --git a/packages/i18n/dist/translations/pluralize.d.ts b/packages/i18n/dist/translations/pluralize.d.ts index 8938de35..8c957267 100644 --- a/packages/i18n/dist/translations/pluralize.d.ts +++ b/packages/i18n/dist/translations/pluralize.d.ts @@ -1,7 +1,10 @@ +import type { Maybe } from '@288-toolkit/types'; import type { TranslateParams } from '../types'; export declare const USER_LOCALE: unique symbol; +type USER_LOCALE = typeof USER_LOCALE; export type PluralizeRule = number | `${number}-${number}` | Intl.LDMLPluralRule; /** * Pluralize a message according to the count provided in the data. */ -export declare const pluralize: (message: string, data: TranslateParams, locale?: Maybe) => string; +export declare const pluralize: (message: string, data: TranslateParams, locale?: Maybe) => string; +export {}; diff --git a/packages/i18n/dist/translations/server/createTranslate.d.ts b/packages/i18n/dist/translations/server/createTranslate.d.ts index 8e74c81c..108502ad 100644 --- a/packages/i18n/dist/translations/server/createTranslate.d.ts +++ b/packages/i18n/dist/translations/server/createTranslate.d.ts @@ -1,2 +1,3 @@ +import type { AnonymousObject, PropertyStringPath } from '@288-toolkit/types'; import type { DataType, TranslateParams, Translation } from '../../types'; export declare const createTranslate: (translation: Translation, language: Language) => Promise<((path: PropertyStringPath, data?: TranslateParams) => TInferredOrString)>; diff --git a/packages/i18n/dist/translations/translate.d.ts b/packages/i18n/dist/translations/translate.d.ts index 753513cc..83e88020 100644 --- a/packages/i18n/dist/translations/translate.d.ts +++ b/packages/i18n/dist/translations/translate.d.ts @@ -1,3 +1,4 @@ +import type { AnonymousObject, PropertyStringPath } from '@288-toolkit/types'; import type { DataType, TranslateParams } from '../types'; /** * Translates a specific key, from a specific translation object. diff --git a/packages/i18n/dist/types/index.d.ts b/packages/i18n/dist/types/index.d.ts index 753f45fd..fa2ba41d 100644 --- a/packages/i18n/dist/types/index.d.ts +++ b/packages/i18n/dist/types/index.d.ts @@ -1,6 +1,5 @@ import { AnonymousObject } from '@288-toolkit/types'; import type { createTranslate } from '../translations/client/createTranslate'; -export * from '@288-toolkit/types'; export type Locale = `${string}-${string}`; diff --git a/packages/i18n/package.json b/packages/i18n/package.json index b575e47b..06cae269 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/i18n", - "version": "8.1.0", + "version": "8.1.1", "scripts": { "build": "svelte-package", "test": "vitest run", diff --git a/packages/page-transition/CHANGELOG.md b/packages/page-transition/CHANGELOG.md index 8702b0d0..e0aac927 100644 --- a/packages/page-transition/CHANGELOG.md +++ b/packages/page-transition/CHANGELOG.md @@ -1,5 +1,12 @@ # @288-toolkit/page-transition +## 3.0.2 + +### Patch Changes + +- Updated dependencies + - @288-toolkit/types@3.1.0 + ## 3.0.1 ### Patch Changes diff --git a/packages/page-transition/dist/index.d.ts b/packages/page-transition/dist/index.d.ts index cebfcb1a..71d0469e 100644 --- a/packages/page-transition/dist/index.d.ts +++ b/packages/page-transition/dist/index.d.ts @@ -28,7 +28,11 @@ type EndTransitionParam = EndTransitionCallback | Event; * happening. The `key` of the `Transition` object will always be the key that was passed to the * function. That way, the store is scoped to this particular transition. */ -export declare const registerTransition: (key: TKey, ...args: TKey extends typeof DEFAULT ? [options: TransitionOptions] | [] : [options: TransitionOptions]) => import("svelte/store").Readable; +export declare const registerTransition: (key: TKey, ...args: TKey extends typeof DEFAULT ? [options: TransitionOptions] | [] : [options: TransitionOptions]) => import("svelte/store").Readable<{ + from: Maybe; + to: Maybe; + key: TransitionKey; +} | null>; /** * Skips all transition if the condition is `true`. * @param {function} condition A function that determines wether navigation condition matches. If `true`, the transition will be skipped. @@ -45,9 +49,5 @@ export declare const endTransition: (callback?: EndTransitionParam) => void; * This is useful if you want to easily run some code for a transition outside of the component that * has registered it, or for several transitions with similar keys, for example. */ -export declare const transitioning: import("svelte/store").Readable; - to: Maybe; - key: TransitionKey; -}>>; +export declare const transitioning: import("svelte/store").Readable; export {}; diff --git a/packages/page-transition/package.json b/packages/page-transition/package.json index 26f6e242..8fe2948d 100644 --- a/packages/page-transition/package.json +++ b/packages/page-transition/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/page-transition", - "version": "3.0.1", + "version": "3.0.2", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/shares/CHANGELOG.md b/packages/shares/CHANGELOG.md index c83032d7..9088cc0b 100644 --- a/packages/shares/CHANGELOG.md +++ b/packages/shares/CHANGELOG.md @@ -1,5 +1,12 @@ # @288-toolkit/shares +## 4.0.1 + +### Patch Changes + +- Updated dependencies + - @288-toolkit/types@3.1.0 + ## 4.0.0 ### Major Changes diff --git a/packages/shares/dist/nativeShare.d.ts b/packages/shares/dist/nativeShare.d.ts index eefa5158..ed8a97c2 100644 --- a/packages/shares/dist/nativeShare.d.ts +++ b/packages/shares/dist/nativeShare.d.ts @@ -1,4 +1,5 @@ /// +import type { MaybeUndefined } from '@288-toolkit/types'; import type { ActionReturn } from 'svelte/action'; type Attributes = { 'on:nativesharesunsupported'?: (e: CustomEvent<{ diff --git a/packages/shares/package.json b/packages/shares/package.json index 21bfe1aa..4259c409 100644 --- a/packages/shares/package.json +++ b/packages/shares/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/shares", - "version": "4.0.0", + "version": "4.0.1", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 65460988..98f54f99 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,11 @@ # @288-toolkit/types +## 3.1.0 + +### Minor Changes + +- Fix types package + ## 3.0.0 ### Major Changes diff --git a/packages/types/src/index.d.ts b/packages/types/index.d.ts similarity index 98% rename from packages/types/src/index.d.ts rename to packages/types/index.d.ts index 5df547fd..d963c25b 100644 --- a/packages/types/src/index.d.ts +++ b/packages/types/index.d.ts @@ -1,3 +1,5 @@ +export * from './timezones'; + /** * Allow `null` to be a valid value for `T`. */ diff --git a/packages/types/package.json b/packages/types/package.json index 7e40d722..e135b7ff 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,18 +1,9 @@ { "name": "@288-toolkit/types", - "version": "3.0.0", - "scripts": {}, + "version": "3.1.0", "author": "DeuxHuitHuit", "license": "MIT", - "exports": { - ".": { - "types": "./src/index.d.ts" - }, - "./timezones": { - "types": "./src/timezones.d.ts" - } - }, "files": [ - "./src" + "./*.d.ts" ] } diff --git a/packages/types/src/timezones.d.ts b/packages/types/timezones.d.ts similarity index 100% rename from packages/types/src/timezones.d.ts rename to packages/types/timezones.d.ts diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 1a7beecf..cecc35da 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,11 @@ # @288-toolkit/ui +## 5.2.1 + +### Patch Changes + +- @288-toolkit/device@4.0.1 + ## 5.2.0 ### Minor Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index 9b95d362..a4e85b15 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/ui", - "version": "5.2.0", + "version": "5.2.1", "author": "DeuxHuitHuit", "license": "MIT", "type": "module", diff --git a/packages/url/CHANGELOG.md b/packages/url/CHANGELOG.md index 8053f4e9..00e2289f 100644 --- a/packages/url/CHANGELOG.md +++ b/packages/url/CHANGELOG.md @@ -1,5 +1,12 @@ # @288-toolkit/url +## 4.1.2 + +### Patch Changes + +- Updated dependencies + - @288-toolkit/types@3.1.0 + ## 4.1.1 ### Patch Changes diff --git a/packages/url/package.json b/packages/url/package.json index 1827a2d9..491dd11b 100644 --- a/packages/url/package.json +++ b/packages/url/package.json @@ -1,6 +1,6 @@ { "name": "@288-toolkit/url", - "version": "4.1.1", + "version": "4.1.2", "author": "DeuxHuitHuit", "license": "MIT", "type": "module",