From ea38cd2568c1a2470b97e8f9f4335ede99890e12 Mon Sep 17 00:00:00 2001 From: metonym Date: Sat, 9 Apr 2022 14:13:56 -0700 Subject: [PATCH] feat(types): support `sveltekit:prefetch`, `sveltekit:noscroll` attributes in type definitions (#1234) * chore(deps-dev): upgrade sveld to 0.14.0 * Run "yarn build:docs" --- package.json | 2 +- types/Accordion/Accordion.svelte.d.ts | 4 +- types/Accordion/AccordionItem.svelte.d.ts | 2 +- types/Accordion/AccordionSkeleton.svelte.d.ts | 2 +- types/AspectRatio/AspectRatio.svelte.d.ts | 2 +- types/Breadcrumb/Breadcrumb.svelte.d.ts | 4 +- types/Breadcrumb/BreadcrumbItem.svelte.d.ts | 2 +- .../Breadcrumb/BreadcrumbSkeleton.svelte.d.ts | 2 +- types/Breakpoint/Breakpoint.svelte.d.ts | 2 +- types/Button/Button.svelte.d.ts | 20 ++++- types/Button/ButtonSet.svelte.d.ts | 2 +- types/Button/ButtonSkeleton.svelte.d.ts | 18 ++++- types/Checkbox/Checkbox.svelte.d.ts | 2 +- types/Checkbox/CheckboxSkeleton.svelte.d.ts | 2 +- types/CodeSnippet/CodeSnippet.svelte.d.ts | 2 +- .../CodeSnippetSkeleton.svelte.d.ts | 2 +- types/ComboBox/ComboBox.svelte.d.ts | 2 +- types/ComposedModal/ComposedModal.svelte.d.ts | 2 +- types/ComposedModal/ModalBody.svelte.d.ts | 2 +- types/ComposedModal/ModalFooter.svelte.d.ts | 2 +- types/ComposedModal/ModalHeader.svelte.d.ts | 2 +- .../ContentSwitcher.svelte.d.ts | 2 +- types/ContentSwitcher/Switch.svelte.d.ts | 2 +- types/ContextMenu/ContextMenu.svelte.d.ts | 2 +- .../ContextMenuDivider.svelte.d.ts | 2 +- .../ContextMenu/ContextMenuGroup.svelte.d.ts | 2 +- .../ContextMenu/ContextMenuOption.svelte.d.ts | 2 +- .../ContextMenuRadioGroup.svelte.d.ts | 2 +- types/CopyButton/CopyButton.svelte.d.ts | 2 +- types/DataTable/DataTable.svelte.d.ts | 2 +- types/DataTable/DataTableSkeleton.svelte.d.ts | 4 +- types/DataTable/Table.svelte.d.ts | 2 +- types/DataTable/TableBody.svelte.d.ts | 2 +- types/DataTable/TableCell.svelte.d.ts | 2 +- types/DataTable/TableContainer.svelte.d.ts | 2 +- types/DataTable/TableHead.svelte.d.ts | 2 +- types/DataTable/TableHeader.svelte.d.ts | 2 +- types/DataTable/TableRow.svelte.d.ts | 2 +- types/DataTable/Toolbar.svelte.d.ts | 2 +- .../DataTable/ToolbarBatchActions.svelte.d.ts | 2 +- types/DataTable/ToolbarContent.svelte.d.ts | 2 +- types/DataTable/ToolbarMenu.svelte.d.ts | 4 +- types/DataTable/ToolbarMenuItem.svelte.d.ts | 4 +- types/DataTable/ToolbarSearch.svelte.d.ts | 2 +- types/DatePicker/DatePicker.svelte.d.ts | 2 +- types/DatePicker/DatePickerInput.svelte.d.ts | 2 +- .../DatePicker/DatePickerSkeleton.svelte.d.ts | 2 +- types/Dropdown/Dropdown.svelte.d.ts | 2 +- types/Dropdown/DropdownSkeleton.svelte.d.ts | 2 +- types/FileUploader/FileUploader.svelte.d.ts | 2 +- .../FileUploaderButton.svelte.d.ts | 2 +- .../FileUploaderDropContainer.svelte.d.ts | 2 +- .../FileUploader/FileUploaderItem.svelte.d.ts | 2 +- .../FileUploaderSkeleton.svelte.d.ts | 2 +- types/FileUploader/Filename.svelte.d.ts | 2 +- types/FluidForm/FluidForm.svelte.d.ts | 2 +- types/Form/Form.svelte.d.ts | 2 +- types/FormGroup/FormGroup.svelte.d.ts | 2 +- types/FormItem/FormItem.svelte.d.ts | 2 +- types/FormLabel/FormLabel.svelte.d.ts | 2 +- types/Grid/Column.svelte.d.ts | 2 +- types/Grid/Grid.svelte.d.ts | 2 +- types/Grid/Row.svelte.d.ts | 2 +- types/ImageLoader/ImageLoader.svelte.d.ts | 2 +- types/InlineLoading/InlineLoading.svelte.d.ts | 2 +- types/Link/Link.svelte.d.ts | 18 ++++- types/Link/OutboundLink.svelte.d.ts | 4 +- types/ListBox/ListBox.svelte.d.ts | 2 +- types/ListBox/ListBoxField.svelte.d.ts | 2 +- types/ListBox/ListBoxMenu.svelte.d.ts | 2 +- types/ListBox/ListBoxMenuIcon.svelte.d.ts | 2 +- types/ListBox/ListBoxMenuItem.svelte.d.ts | 2 +- types/ListBox/ListBoxSelection.svelte.d.ts | 2 +- types/ListItem/ListItem.svelte.d.ts | 2 +- types/Loading/Loading.svelte.d.ts | 2 +- types/LocalStorage/LocalStorage.svelte.d.ts | 2 +- types/Modal/Modal.svelte.d.ts | 2 +- types/MultiSelect/MultiSelect.svelte.d.ts | 2 +- .../InlineNotification.svelte.d.ts | 2 +- .../NotificationActionButton.svelte.d.ts | 2 +- .../NotificationButton.svelte.d.ts | 2 +- .../Notification/NotificationIcon.svelte.d.ts | 2 +- .../ToastNotification.svelte.d.ts | 2 +- types/NumberInput/NumberInput.svelte.d.ts | 2 +- .../NumberInputSkeleton.svelte.d.ts | 2 +- types/OrderedList/OrderedList.svelte.d.ts | 2 +- types/OverflowMenu/OverflowMenu.svelte.d.ts | 2 +- .../OverflowMenu/OverflowMenuItem.svelte.d.ts | 2 +- types/Pagination/Pagination.svelte.d.ts | 2 +- .../Pagination/PaginationSkeleton.svelte.d.ts | 2 +- types/PaginationNav/PaginationNav.svelte.d.ts | 2 +- types/Popover/Popover.svelte.d.ts | 2 +- types/ProgressBar/ProgressBar.svelte.d.ts | 2 +- .../ProgressIndicator.svelte.d.ts | 2 +- .../ProgressIndicatorSkeleton.svelte.d.ts | 2 +- .../ProgressStep.svelte.d.ts | 2 +- types/RadioButton/RadioButton.svelte.d.ts | 2 +- .../RadioButtonSkeleton.svelte.d.ts | 2 +- .../RadioButtonGroup.svelte.d.ts | 2 +- types/RecursiveList/RecursiveList.svelte.d.ts | 2 +- types/Search/Search.svelte.d.ts | 2 +- types/Search/SearchSkeleton.svelte.d.ts | 2 +- types/Select/Select.svelte.d.ts | 2 +- types/Select/SelectItem.svelte.d.ts | 2 +- types/Select/SelectItemGroup.svelte.d.ts | 2 +- types/Select/SelectSkeleton.svelte.d.ts | 2 +- .../SkeletonPlaceholder.svelte.d.ts | 2 +- types/SkeletonText/SkeletonText.svelte.d.ts | 2 +- types/Slider/Slider.svelte.d.ts | 2 +- types/Slider/SliderSkeleton.svelte.d.ts | 2 +- .../StructuredList/StructuredList.svelte.d.ts | 2 +- .../StructuredListBody.svelte.d.ts | 2 +- .../StructuredListCell.svelte.d.ts | 2 +- .../StructuredListHead.svelte.d.ts | 2 +- .../StructuredListInput.svelte.d.ts | 2 +- .../StructuredListRow.svelte.d.ts | 2 +- .../StructuredListSkeleton.svelte.d.ts | 2 +- types/Tabs/Tab.svelte.d.ts | 2 +- types/Tabs/TabContent.svelte.d.ts | 2 +- types/Tabs/Tabs.svelte.d.ts | 2 +- types/Tabs/TabsSkeleton.svelte.d.ts | 2 +- types/Tag/Tag.svelte.d.ts | 2 +- types/Tag/TagSkeleton.svelte.d.ts | 2 +- types/TextArea/TextArea.svelte.d.ts | 2 +- types/TextArea/TextAreaSkeleton.svelte.d.ts | 2 +- types/TextInput/PasswordInput.svelte.d.ts | 2 +- types/TextInput/TextInput.svelte.d.ts | 2 +- types/TextInput/TextInputSkeleton.svelte.d.ts | 2 +- types/Theme/Theme.svelte.d.ts | 2 +- types/Tile/ClickableTile.svelte.d.ts | 18 ++++- types/Tile/ExpandableTile.svelte.d.ts | 2 +- types/Tile/RadioTile.svelte.d.ts | 2 +- types/Tile/SelectableTile.svelte.d.ts | 2 +- types/Tile/Tile.svelte.d.ts | 2 +- types/Tile/TileGroup.svelte.d.ts | 2 +- types/TimePicker/TimePicker.svelte.d.ts | 2 +- types/TimePicker/TimePickerSelect.svelte.d.ts | 2 +- types/Toggle/Toggle.svelte.d.ts | 2 +- types/Toggle/ToggleSkeleton.svelte.d.ts | 2 +- types/Tooltip/Tooltip.svelte.d.ts | 2 +- types/Tooltip/TooltipFooter.svelte.d.ts | 2 +- .../TooltipDefinition.svelte.d.ts | 2 +- types/TooltipIcon/TooltipIcon.svelte.d.ts | 2 +- types/TreeView/TreeView.svelte.d.ts | 2 +- types/Truncate/Truncate.svelte.d.ts | 2 +- types/UIShell/Content.svelte.d.ts | 2 +- types/UIShell/Header.svelte.d.ts | 18 ++++- types/UIShell/HeaderAction.svelte.d.ts | 2 +- types/UIShell/HeaderActionLink.svelte.d.ts | 18 ++++- types/UIShell/HeaderGlobalAction.svelte.d.ts | 2 +- types/UIShell/HeaderNav.svelte.d.ts | 2 +- types/UIShell/HeaderNavItem.svelte.d.ts | 18 ++++- types/UIShell/HeaderNavMenu.svelte.d.ts | 18 ++++- types/UIShell/HeaderPanelDivider.svelte.d.ts | 2 +- types/UIShell/HeaderPanelLink.svelte.d.ts | 18 ++++- types/UIShell/HeaderPanelLinks.svelte.d.ts | 2 +- types/UIShell/HeaderSearch.svelte.d.ts | 2 +- types/UIShell/HeaderUtilities.svelte.d.ts | 2 +- types/UIShell/SideNav.svelte.d.ts | 2 +- types/UIShell/SideNavDivider.svelte.d.ts | 2 +- types/UIShell/SideNavItems.svelte.d.ts | 2 +- types/UIShell/SideNavLink.svelte.d.ts | 18 ++++- types/UIShell/SideNavMenu.svelte.d.ts | 2 +- types/UIShell/SideNavMenuItem.svelte.d.ts | 18 ++++- types/UIShell/SkipToContent.svelte.d.ts | 18 ++++- types/UnorderedList/UnorderedList.svelte.d.ts | 2 +- yarn.lock | 78 +++++++++---------- 167 files changed, 400 insertions(+), 216 deletions(-) diff --git a/package.json b/package.json index 46340300..54464a26 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "rollup-plugin-svelte": "^7.1.0", "rollup-plugin-terser": "^7.0.2", "sass": "^1.49.11", - "sveld": "^0.13.4", + "sveld": "^0.14.0", "svelte": "^3.46.6", "svelte-check": "^2.4.6", "typescript": "^4.6.3" diff --git a/types/Accordion/Accordion.svelte.d.ts b/types/Accordion/Accordion.svelte.d.ts index e1f35470..8a9a8c10 100644 --- a/types/Accordion/Accordion.svelte.d.ts +++ b/types/Accordion/Accordion.svelte.d.ts @@ -1,6 +1,6 @@ /// -import { SvelteComponentTyped } from "svelte"; -import { AccordionSkeletonProps } from "./AccordionSkeleton.svelte"; +import type { SvelteComponentTyped } from "svelte"; +import type { AccordionSkeletonProps } from "./AccordionSkeleton.svelte"; export interface AccordionProps extends AccordionSkeletonProps { /** diff --git a/types/Accordion/AccordionItem.svelte.d.ts b/types/Accordion/AccordionItem.svelte.d.ts index eca4c772..cfdd9073 100644 --- a/types/Accordion/AccordionItem.svelte.d.ts +++ b/types/Accordion/AccordionItem.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface AccordionItemProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Accordion/AccordionSkeleton.svelte.d.ts b/types/Accordion/AccordionSkeleton.svelte.d.ts index 6a5fa19f..deab5da7 100644 --- a/types/Accordion/AccordionSkeleton.svelte.d.ts +++ b/types/Accordion/AccordionSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface AccordionSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/AspectRatio/AspectRatio.svelte.d.ts b/types/AspectRatio/AspectRatio.svelte.d.ts index c714dbe3..76e7c5b2 100644 --- a/types/AspectRatio/AspectRatio.svelte.d.ts +++ b/types/AspectRatio/AspectRatio.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface AspectRatioProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Breadcrumb/Breadcrumb.svelte.d.ts b/types/Breadcrumb/Breadcrumb.svelte.d.ts index abcc735e..c4964716 100644 --- a/types/Breadcrumb/Breadcrumb.svelte.d.ts +++ b/types/Breadcrumb/Breadcrumb.svelte.d.ts @@ -1,6 +1,6 @@ /// -import { SvelteComponentTyped } from "svelte"; -import { BreadcrumbSkeletonProps } from "./BreadcrumbSkeleton.svelte"; +import type { SvelteComponentTyped } from "svelte"; +import type { BreadcrumbSkeletonProps } from "./BreadcrumbSkeleton.svelte"; export interface BreadcrumbProps extends BreadcrumbSkeletonProps { /** diff --git a/types/Breadcrumb/BreadcrumbItem.svelte.d.ts b/types/Breadcrumb/BreadcrumbItem.svelte.d.ts index 866f279d..adee0e60 100644 --- a/types/Breadcrumb/BreadcrumbItem.svelte.d.ts +++ b/types/Breadcrumb/BreadcrumbItem.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface BreadcrumbItemProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Breadcrumb/BreadcrumbSkeleton.svelte.d.ts b/types/Breadcrumb/BreadcrumbSkeleton.svelte.d.ts index c675990e..4bb333a1 100644 --- a/types/Breadcrumb/BreadcrumbSkeleton.svelte.d.ts +++ b/types/Breadcrumb/BreadcrumbSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface BreadcrumbSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Breakpoint/Breakpoint.svelte.d.ts b/types/Breakpoint/Breakpoint.svelte.d.ts index 3fd72642..2b514e3c 100644 --- a/types/Breakpoint/Breakpoint.svelte.d.ts +++ b/types/Breakpoint/Breakpoint.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export type BreakpointSize = "sm" | "md" | "lg" | "xlg" | "max"; diff --git a/types/Button/Button.svelte.d.ts b/types/Button/Button.svelte.d.ts index e50c7111..a8bf27de 100644 --- a/types/Button/Button.svelte.d.ts +++ b/types/Button/Button.svelte.d.ts @@ -1,6 +1,6 @@ /// -import { SvelteComponentTyped } from "svelte"; -import { ButtonSkeletonProps } from "./ButtonSkeleton.svelte"; +import type { SvelteComponentTyped } from "svelte"; +import type { ButtonSkeletonProps } from "./ButtonSkeleton.svelte"; export interface ButtonProps extends ButtonSkeletonProps, @@ -105,6 +105,22 @@ export interface ButtonProps * @default null */ ref?: null | HTMLAnchorElement | HTMLButtonElement; + + /** + * SvelteKit attribute to enable data prefetching + * if a link is hovered over or touched on mobile. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:prefetch"?: boolean; + + /** + * SvelteKit attribute to prevent scrolling + * after the link is clicked. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:noscroll"?: boolean; } export default class Button extends SvelteComponentTyped< diff --git a/types/Button/ButtonSet.svelte.d.ts b/types/Button/ButtonSet.svelte.d.ts index d5eb59fd..af5ab7ec 100644 --- a/types/Button/ButtonSet.svelte.d.ts +++ b/types/Button/ButtonSet.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ButtonSetProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Button/ButtonSkeleton.svelte.d.ts b/types/Button/ButtonSkeleton.svelte.d.ts index 162d6102..4af810f5 100644 --- a/types/Button/ButtonSkeleton.svelte.d.ts +++ b/types/Button/ButtonSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ButtonSkeletonProps extends svelte.JSX.HTMLAttributes { @@ -14,6 +14,22 @@ export interface ButtonSkeletonProps * @default "default" */ size?: "default" | "field" | "small" | "lg" | "xl"; + + /** + * SvelteKit attribute to enable data prefetching + * if a link is hovered over or touched on mobile. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:prefetch"?: boolean; + + /** + * SvelteKit attribute to prevent scrolling + * after the link is clicked. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:noscroll"?: boolean; } export default class ButtonSkeleton extends SvelteComponentTyped< diff --git a/types/Checkbox/Checkbox.svelte.d.ts b/types/Checkbox/Checkbox.svelte.d.ts index 854696a3..ad151f07 100644 --- a/types/Checkbox/Checkbox.svelte.d.ts +++ b/types/Checkbox/Checkbox.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface CheckboxProps { /** diff --git a/types/Checkbox/CheckboxSkeleton.svelte.d.ts b/types/Checkbox/CheckboxSkeleton.svelte.d.ts index 0e3994d1..ee232f5a 100644 --- a/types/Checkbox/CheckboxSkeleton.svelte.d.ts +++ b/types/Checkbox/CheckboxSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface CheckboxSkeletonProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/CodeSnippet/CodeSnippet.svelte.d.ts b/types/CodeSnippet/CodeSnippet.svelte.d.ts index 05cd59b2..e80d5353 100644 --- a/types/CodeSnippet/CodeSnippet.svelte.d.ts +++ b/types/CodeSnippet/CodeSnippet.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface CodeSnippetProps { /** diff --git a/types/CodeSnippet/CodeSnippetSkeleton.svelte.d.ts b/types/CodeSnippet/CodeSnippetSkeleton.svelte.d.ts index 7e0c3422..65e28064 100644 --- a/types/CodeSnippet/CodeSnippetSkeleton.svelte.d.ts +++ b/types/CodeSnippet/CodeSnippetSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface CodeSnippetSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ComboBox/ComboBox.svelte.d.ts b/types/ComboBox/ComboBox.svelte.d.ts index 10ebbfd9..e9a46156 100644 --- a/types/ComboBox/ComboBox.svelte.d.ts +++ b/types/ComboBox/ComboBox.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export type ComboBoxItemId = any; diff --git a/types/ComposedModal/ComposedModal.svelte.d.ts b/types/ComposedModal/ComposedModal.svelte.d.ts index daa9c97a..6f512eb4 100644 --- a/types/ComposedModal/ComposedModal.svelte.d.ts +++ b/types/ComposedModal/ComposedModal.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ComposedModalProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ComposedModal/ModalBody.svelte.d.ts b/types/ComposedModal/ModalBody.svelte.d.ts index c74d879e..2202b6c9 100644 --- a/types/ComposedModal/ModalBody.svelte.d.ts +++ b/types/ComposedModal/ModalBody.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ModalBodyProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ComposedModal/ModalFooter.svelte.d.ts b/types/ComposedModal/ModalFooter.svelte.d.ts index c5be342e..1b0fc2c8 100644 --- a/types/ComposedModal/ModalFooter.svelte.d.ts +++ b/types/ComposedModal/ModalFooter.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ModalFooterProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ComposedModal/ModalHeader.svelte.d.ts b/types/ComposedModal/ModalHeader.svelte.d.ts index 0dde3b49..30fd7e10 100644 --- a/types/ComposedModal/ModalHeader.svelte.d.ts +++ b/types/ComposedModal/ModalHeader.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ModalHeaderProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ContentSwitcher/ContentSwitcher.svelte.d.ts b/types/ContentSwitcher/ContentSwitcher.svelte.d.ts index a75f5723..af6159bb 100644 --- a/types/ContentSwitcher/ContentSwitcher.svelte.d.ts +++ b/types/ContentSwitcher/ContentSwitcher.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ContentSwitcherProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ContentSwitcher/Switch.svelte.d.ts b/types/ContentSwitcher/Switch.svelte.d.ts index daefebea..2937b02e 100644 --- a/types/ContentSwitcher/Switch.svelte.d.ts +++ b/types/ContentSwitcher/Switch.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SwitchProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ContextMenu/ContextMenu.svelte.d.ts b/types/ContextMenu/ContextMenu.svelte.d.ts index 505265d5..82a5062a 100644 --- a/types/ContextMenu/ContextMenu.svelte.d.ts +++ b/types/ContextMenu/ContextMenu.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ContextMenuProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ContextMenu/ContextMenuDivider.svelte.d.ts b/types/ContextMenu/ContextMenuDivider.svelte.d.ts index 24aa8ed7..a94d6bc3 100644 --- a/types/ContextMenu/ContextMenuDivider.svelte.d.ts +++ b/types/ContextMenu/ContextMenuDivider.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ContextMenuDividerProps {} diff --git a/types/ContextMenu/ContextMenuGroup.svelte.d.ts b/types/ContextMenu/ContextMenuGroup.svelte.d.ts index bbe0f5d3..13a86ada 100644 --- a/types/ContextMenu/ContextMenuGroup.svelte.d.ts +++ b/types/ContextMenu/ContextMenuGroup.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ContextMenuGroupProps { /** diff --git a/types/ContextMenu/ContextMenuOption.svelte.d.ts b/types/ContextMenu/ContextMenuOption.svelte.d.ts index 45267811..bf6e3ef8 100644 --- a/types/ContextMenu/ContextMenuOption.svelte.d.ts +++ b/types/ContextMenu/ContextMenuOption.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ContextMenuOptionProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ContextMenu/ContextMenuRadioGroup.svelte.d.ts b/types/ContextMenu/ContextMenuRadioGroup.svelte.d.ts index 8ea1c9a7..dc1f93dd 100644 --- a/types/ContextMenu/ContextMenuRadioGroup.svelte.d.ts +++ b/types/ContextMenu/ContextMenuRadioGroup.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ContextMenuRadioGroupProps { /** diff --git a/types/CopyButton/CopyButton.svelte.d.ts b/types/CopyButton/CopyButton.svelte.d.ts index 68e357eb..5332e328 100644 --- a/types/CopyButton/CopyButton.svelte.d.ts +++ b/types/CopyButton/CopyButton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface CopyButtonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/DataTable/DataTable.svelte.d.ts b/types/DataTable/DataTable.svelte.d.ts index 6ba564e1..c56c8a21 100644 --- a/types/DataTable/DataTable.svelte.d.ts +++ b/types/DataTable/DataTable.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export type DataTableKey = string; diff --git a/types/DataTable/DataTableSkeleton.svelte.d.ts b/types/DataTable/DataTableSkeleton.svelte.d.ts index b3763c3d..e2d01de2 100644 --- a/types/DataTable/DataTableSkeleton.svelte.d.ts +++ b/types/DataTable/DataTableSkeleton.svelte.d.ts @@ -1,6 +1,6 @@ /// -import { SvelteComponentTyped } from "svelte"; -import { DataTableHeader } from "./DataTable.svelte"; +import type { SvelteComponentTyped } from "svelte"; +import type { DataTableHeader } from "./DataTable.svelte"; export interface DataTableSkeletonProps extends DataTableHeader, diff --git a/types/DataTable/Table.svelte.d.ts b/types/DataTable/Table.svelte.d.ts index f3731dc4..7a896276 100644 --- a/types/DataTable/Table.svelte.d.ts +++ b/types/DataTable/Table.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TableProps extends svelte.JSX.HTMLAttributes { diff --git a/types/DataTable/TableBody.svelte.d.ts b/types/DataTable/TableBody.svelte.d.ts index 7737f2a4..42d4dc2d 100644 --- a/types/DataTable/TableBody.svelte.d.ts +++ b/types/DataTable/TableBody.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TableBodyProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/DataTable/TableCell.svelte.d.ts b/types/DataTable/TableCell.svelte.d.ts index 1aa1de31..5070c63d 100644 --- a/types/DataTable/TableCell.svelte.d.ts +++ b/types/DataTable/TableCell.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TableCellProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/DataTable/TableContainer.svelte.d.ts b/types/DataTable/TableContainer.svelte.d.ts index 533e057a..30e14585 100644 --- a/types/DataTable/TableContainer.svelte.d.ts +++ b/types/DataTable/TableContainer.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TableContainerProps extends svelte.JSX.HTMLAttributes { diff --git a/types/DataTable/TableHead.svelte.d.ts b/types/DataTable/TableHead.svelte.d.ts index 3dd59ca6..6137a62b 100644 --- a/types/DataTable/TableHead.svelte.d.ts +++ b/types/DataTable/TableHead.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TableHeadProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/DataTable/TableHeader.svelte.d.ts b/types/DataTable/TableHeader.svelte.d.ts index 70926487..170a1f03 100644 --- a/types/DataTable/TableHeader.svelte.d.ts +++ b/types/DataTable/TableHeader.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TableHeaderProps extends svelte.JSX.HTMLAttributes { diff --git a/types/DataTable/TableRow.svelte.d.ts b/types/DataTable/TableRow.svelte.d.ts index e88c052a..a6ce033f 100644 --- a/types/DataTable/TableRow.svelte.d.ts +++ b/types/DataTable/TableRow.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TableRowProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/DataTable/Toolbar.svelte.d.ts b/types/DataTable/Toolbar.svelte.d.ts index 32e59fc8..0347c99b 100644 --- a/types/DataTable/Toolbar.svelte.d.ts +++ b/types/DataTable/Toolbar.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ToolbarProps extends svelte.JSX.HTMLAttributes { diff --git a/types/DataTable/ToolbarBatchActions.svelte.d.ts b/types/DataTable/ToolbarBatchActions.svelte.d.ts index 3c1f46a6..9cf7306b 100644 --- a/types/DataTable/ToolbarBatchActions.svelte.d.ts +++ b/types/DataTable/ToolbarBatchActions.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ToolbarBatchActionsProps extends svelte.JSX.HTMLAttributes { diff --git a/types/DataTable/ToolbarContent.svelte.d.ts b/types/DataTable/ToolbarContent.svelte.d.ts index ee8bb0a6..e6980bde 100644 --- a/types/DataTable/ToolbarContent.svelte.d.ts +++ b/types/DataTable/ToolbarContent.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ToolbarContentProps {} diff --git a/types/DataTable/ToolbarMenu.svelte.d.ts b/types/DataTable/ToolbarMenu.svelte.d.ts index 2404e315..ba8cb7d6 100644 --- a/types/DataTable/ToolbarMenu.svelte.d.ts +++ b/types/DataTable/ToolbarMenu.svelte.d.ts @@ -1,6 +1,6 @@ /// -import { SvelteComponentTyped } from "svelte"; -import { OverflowMenuProps } from "../OverflowMenu/OverflowMenu.svelte"; +import type { SvelteComponentTyped } from "svelte"; +import type { OverflowMenuProps } from "../OverflowMenu/OverflowMenu.svelte"; export interface ToolbarMenuProps extends OverflowMenuProps {} diff --git a/types/DataTable/ToolbarMenuItem.svelte.d.ts b/types/DataTable/ToolbarMenuItem.svelte.d.ts index 1da05185..caee2861 100644 --- a/types/DataTable/ToolbarMenuItem.svelte.d.ts +++ b/types/DataTable/ToolbarMenuItem.svelte.d.ts @@ -1,6 +1,6 @@ /// -import { SvelteComponentTyped } from "svelte"; -import { OverflowMenuItemProps } from "../OverflowMenu/OverflowMenuItem.svelte"; +import type { SvelteComponentTyped } from "svelte"; +import type { OverflowMenuItemProps } from "../OverflowMenu/OverflowMenuItem.svelte"; export interface ToolbarMenuItemProps extends OverflowMenuItemProps {} diff --git a/types/DataTable/ToolbarSearch.svelte.d.ts b/types/DataTable/ToolbarSearch.svelte.d.ts index 83653277..33debaf1 100644 --- a/types/DataTable/ToolbarSearch.svelte.d.ts +++ b/types/DataTable/ToolbarSearch.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ToolbarSearchProps extends svelte.JSX.HTMLAttributes { diff --git a/types/DatePicker/DatePicker.svelte.d.ts b/types/DatePicker/DatePicker.svelte.d.ts index 9ea553ee..6ab96175 100644 --- a/types/DatePicker/DatePicker.svelte.d.ts +++ b/types/DatePicker/DatePicker.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface DatePickerProps extends svelte.JSX.HTMLAttributes { diff --git a/types/DatePicker/DatePickerInput.svelte.d.ts b/types/DatePicker/DatePickerInput.svelte.d.ts index f7ed48a5..1655a221 100644 --- a/types/DatePicker/DatePickerInput.svelte.d.ts +++ b/types/DatePicker/DatePickerInput.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface DatePickerInputProps extends svelte.JSX.HTMLAttributes { diff --git a/types/DatePicker/DatePickerSkeleton.svelte.d.ts b/types/DatePicker/DatePickerSkeleton.svelte.d.ts index bae0692e..88d592a6 100644 --- a/types/DatePicker/DatePickerSkeleton.svelte.d.ts +++ b/types/DatePicker/DatePickerSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface DatePickerSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Dropdown/Dropdown.svelte.d.ts b/types/Dropdown/Dropdown.svelte.d.ts index 2140b9bd..c51cd2be 100644 --- a/types/Dropdown/Dropdown.svelte.d.ts +++ b/types/Dropdown/Dropdown.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export type DropdownItemId = any; diff --git a/types/Dropdown/DropdownSkeleton.svelte.d.ts b/types/Dropdown/DropdownSkeleton.svelte.d.ts index 3cb8daf3..b7222215 100644 --- a/types/Dropdown/DropdownSkeleton.svelte.d.ts +++ b/types/Dropdown/DropdownSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface DropdownSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/FileUploader/FileUploader.svelte.d.ts b/types/FileUploader/FileUploader.svelte.d.ts index 2df994a3..2a78fcbd 100644 --- a/types/FileUploader/FileUploader.svelte.d.ts +++ b/types/FileUploader/FileUploader.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface FileUploaderProps extends svelte.JSX.HTMLAttributes { diff --git a/types/FileUploader/FileUploaderButton.svelte.d.ts b/types/FileUploader/FileUploaderButton.svelte.d.ts index 5daf2c33..5099a2c9 100644 --- a/types/FileUploader/FileUploaderButton.svelte.d.ts +++ b/types/FileUploader/FileUploaderButton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface FileUploaderButtonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/FileUploader/FileUploaderDropContainer.svelte.d.ts b/types/FileUploader/FileUploaderDropContainer.svelte.d.ts index a8345102..382003cb 100644 --- a/types/FileUploader/FileUploaderDropContainer.svelte.d.ts +++ b/types/FileUploader/FileUploaderDropContainer.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface FileUploaderDropContainerProps extends svelte.JSX.HTMLAttributes { diff --git a/types/FileUploader/FileUploaderItem.svelte.d.ts b/types/FileUploader/FileUploaderItem.svelte.d.ts index 562554af..d434ee5d 100644 --- a/types/FileUploader/FileUploaderItem.svelte.d.ts +++ b/types/FileUploader/FileUploaderItem.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface FileUploaderItemProps extends svelte.JSX.HTMLAttributes { diff --git a/types/FileUploader/FileUploaderSkeleton.svelte.d.ts b/types/FileUploader/FileUploaderSkeleton.svelte.d.ts index 5c2025fe..fd90c1ab 100644 --- a/types/FileUploader/FileUploaderSkeleton.svelte.d.ts +++ b/types/FileUploader/FileUploaderSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface FileUploaderSkeletonProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/FileUploader/Filename.svelte.d.ts b/types/FileUploader/Filename.svelte.d.ts index 1e97af5c..af4bfd4c 100644 --- a/types/FileUploader/Filename.svelte.d.ts +++ b/types/FileUploader/Filename.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface FilenameProps { /** diff --git a/types/FluidForm/FluidForm.svelte.d.ts b/types/FluidForm/FluidForm.svelte.d.ts index a3634eb6..0474b869 100644 --- a/types/FluidForm/FluidForm.svelte.d.ts +++ b/types/FluidForm/FluidForm.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface FluidFormProps {} diff --git a/types/Form/Form.svelte.d.ts b/types/Form/Form.svelte.d.ts index 3b5f28bd..cedf8229 100644 --- a/types/Form/Form.svelte.d.ts +++ b/types/Form/Form.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface FormProps extends svelte.JSX.HTMLAttributes { diff --git a/types/FormGroup/FormGroup.svelte.d.ts b/types/FormGroup/FormGroup.svelte.d.ts index 15fd6c07..45edff3d 100644 --- a/types/FormGroup/FormGroup.svelte.d.ts +++ b/types/FormGroup/FormGroup.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface FormGroupProps extends svelte.JSX.HTMLAttributes { diff --git a/types/FormItem/FormItem.svelte.d.ts b/types/FormItem/FormItem.svelte.d.ts index 543f568d..d1408fea 100644 --- a/types/FormItem/FormItem.svelte.d.ts +++ b/types/FormItem/FormItem.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface FormItemProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/FormLabel/FormLabel.svelte.d.ts b/types/FormLabel/FormLabel.svelte.d.ts index 60ccc79f..354ba19b 100644 --- a/types/FormLabel/FormLabel.svelte.d.ts +++ b/types/FormLabel/FormLabel.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface FormLabelProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Grid/Column.svelte.d.ts b/types/Grid/Column.svelte.d.ts index 1fc48b20..2950e900 100644 --- a/types/Grid/Column.svelte.d.ts +++ b/types/Grid/Column.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export type ColumnSize = boolean | number; diff --git a/types/Grid/Grid.svelte.d.ts b/types/Grid/Grid.svelte.d.ts index bcab6463..106fa6fe 100644 --- a/types/Grid/Grid.svelte.d.ts +++ b/types/Grid/Grid.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface GridProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Grid/Row.svelte.d.ts b/types/Grid/Row.svelte.d.ts index 2c2a6e78..fdcda919 100644 --- a/types/Grid/Row.svelte.d.ts +++ b/types/Grid/Row.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface RowProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ImageLoader/ImageLoader.svelte.d.ts b/types/ImageLoader/ImageLoader.svelte.d.ts index 5c774e40..54155ec0 100644 --- a/types/ImageLoader/ImageLoader.svelte.d.ts +++ b/types/ImageLoader/ImageLoader.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ImageLoaderProps extends svelte.JSX.HTMLAttributes { diff --git a/types/InlineLoading/InlineLoading.svelte.d.ts b/types/InlineLoading/InlineLoading.svelte.d.ts index 61bd8295..bce7232e 100644 --- a/types/InlineLoading/InlineLoading.svelte.d.ts +++ b/types/InlineLoading/InlineLoading.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface InlineLoadingProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Link/Link.svelte.d.ts b/types/Link/Link.svelte.d.ts index c1054041..30411e43 100644 --- a/types/Link/Link.svelte.d.ts +++ b/types/Link/Link.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface LinkProps extends svelte.JSX.HTMLAttributes, @@ -46,6 +46,22 @@ export interface LinkProps * @default null */ ref?: null | HTMLAnchorElement | HTMLParagraphElement; + + /** + * SvelteKit attribute to enable data prefetching + * if a link is hovered over or touched on mobile. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:prefetch"?: boolean; + + /** + * SvelteKit attribute to prevent scrolling + * after the link is clicked. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:noscroll"?: boolean; } export default class Link extends SvelteComponentTyped< diff --git a/types/Link/OutboundLink.svelte.d.ts b/types/Link/OutboundLink.svelte.d.ts index d4838a72..5ac5d7de 100644 --- a/types/Link/OutboundLink.svelte.d.ts +++ b/types/Link/OutboundLink.svelte.d.ts @@ -1,6 +1,6 @@ /// -import { SvelteComponentTyped } from "svelte"; -import { LinkProps } from "./Link.svelte"; +import type { SvelteComponentTyped } from "svelte"; +import type { LinkProps } from "./Link.svelte"; export interface OutboundLinkProps extends LinkProps {} diff --git a/types/ListBox/ListBox.svelte.d.ts b/types/ListBox/ListBox.svelte.d.ts index 2a08eccc..2fc23a1a 100644 --- a/types/ListBox/ListBox.svelte.d.ts +++ b/types/ListBox/ListBox.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ListBoxProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ListBox/ListBoxField.svelte.d.ts b/types/ListBox/ListBoxField.svelte.d.ts index 6023da90..f4d8fdba 100644 --- a/types/ListBox/ListBoxField.svelte.d.ts +++ b/types/ListBox/ListBoxField.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export type ListBoxFieldTranslationId = "close" | "open"; diff --git a/types/ListBox/ListBoxMenu.svelte.d.ts b/types/ListBox/ListBoxMenu.svelte.d.ts index c301eee2..fdad9d41 100644 --- a/types/ListBox/ListBoxMenu.svelte.d.ts +++ b/types/ListBox/ListBoxMenu.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ListBoxMenuProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ListBox/ListBoxMenuIcon.svelte.d.ts b/types/ListBox/ListBoxMenuIcon.svelte.d.ts index d7f3c351..a8fa539c 100644 --- a/types/ListBox/ListBoxMenuIcon.svelte.d.ts +++ b/types/ListBox/ListBoxMenuIcon.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export type ListBoxMenuIconTranslationId = "close" | "open"; diff --git a/types/ListBox/ListBoxMenuItem.svelte.d.ts b/types/ListBox/ListBoxMenuItem.svelte.d.ts index 9b0c1faa..4b0e31b3 100644 --- a/types/ListBox/ListBoxMenuItem.svelte.d.ts +++ b/types/ListBox/ListBoxMenuItem.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ListBoxMenuItemProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ListBox/ListBoxSelection.svelte.d.ts b/types/ListBox/ListBoxSelection.svelte.d.ts index ceaa25d6..65276d89 100644 --- a/types/ListBox/ListBoxSelection.svelte.d.ts +++ b/types/ListBox/ListBoxSelection.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export type ListBoxSelectionTranslationId = "clearAll" | "clearSelection"; diff --git a/types/ListItem/ListItem.svelte.d.ts b/types/ListItem/ListItem.svelte.d.ts index b5f05e66..7413713b 100644 --- a/types/ListItem/ListItem.svelte.d.ts +++ b/types/ListItem/ListItem.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ListItemProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/Loading/Loading.svelte.d.ts b/types/Loading/Loading.svelte.d.ts index 0a7cab4b..725d10b6 100644 --- a/types/Loading/Loading.svelte.d.ts +++ b/types/Loading/Loading.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface LoadingProps extends svelte.JSX.HTMLAttributes { diff --git a/types/LocalStorage/LocalStorage.svelte.d.ts b/types/LocalStorage/LocalStorage.svelte.d.ts index 03fdb83b..bd83a3e5 100644 --- a/types/LocalStorage/LocalStorage.svelte.d.ts +++ b/types/LocalStorage/LocalStorage.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface LocalStorageProps { /** diff --git a/types/Modal/Modal.svelte.d.ts b/types/Modal/Modal.svelte.d.ts index 2d198b4f..a7ed215d 100644 --- a/types/Modal/Modal.svelte.d.ts +++ b/types/Modal/Modal.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ModalProps extends svelte.JSX.HTMLAttributes { diff --git a/types/MultiSelect/MultiSelect.svelte.d.ts b/types/MultiSelect/MultiSelect.svelte.d.ts index 4282f202..4861185f 100644 --- a/types/MultiSelect/MultiSelect.svelte.d.ts +++ b/types/MultiSelect/MultiSelect.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export type MultiSelectItemId = any; diff --git a/types/Notification/InlineNotification.svelte.d.ts b/types/Notification/InlineNotification.svelte.d.ts index 4e6ccd17..882dab94 100644 --- a/types/Notification/InlineNotification.svelte.d.ts +++ b/types/Notification/InlineNotification.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface InlineNotificationProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Notification/NotificationActionButton.svelte.d.ts b/types/Notification/NotificationActionButton.svelte.d.ts index 5317510d..247d0bcc 100644 --- a/types/Notification/NotificationActionButton.svelte.d.ts +++ b/types/Notification/NotificationActionButton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface NotificationActionButtonProps {} diff --git a/types/Notification/NotificationButton.svelte.d.ts b/types/Notification/NotificationButton.svelte.d.ts index 9bf3b372..86abad88 100644 --- a/types/Notification/NotificationButton.svelte.d.ts +++ b/types/Notification/NotificationButton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface NotificationButtonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Notification/NotificationIcon.svelte.d.ts b/types/Notification/NotificationIcon.svelte.d.ts index 06fceb5b..c75da8b9 100644 --- a/types/Notification/NotificationIcon.svelte.d.ts +++ b/types/Notification/NotificationIcon.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface NotificationIconProps { /** diff --git a/types/Notification/ToastNotification.svelte.d.ts b/types/Notification/ToastNotification.svelte.d.ts index 03e341b7..dd22e4aa 100644 --- a/types/Notification/ToastNotification.svelte.d.ts +++ b/types/Notification/ToastNotification.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ToastNotificationProps extends svelte.JSX.HTMLAttributes { diff --git a/types/NumberInput/NumberInput.svelte.d.ts b/types/NumberInput/NumberInput.svelte.d.ts index cfe55699..59afb093 100644 --- a/types/NumberInput/NumberInput.svelte.d.ts +++ b/types/NumberInput/NumberInput.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export type NumberInputTranslationId = "increment" | "decrement"; diff --git a/types/NumberInput/NumberInputSkeleton.svelte.d.ts b/types/NumberInput/NumberInputSkeleton.svelte.d.ts index 590d1769..a5f53fa7 100644 --- a/types/NumberInput/NumberInputSkeleton.svelte.d.ts +++ b/types/NumberInput/NumberInputSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface NumberInputSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/OrderedList/OrderedList.svelte.d.ts b/types/OrderedList/OrderedList.svelte.d.ts index 23c58485..8f1c9d39 100644 --- a/types/OrderedList/OrderedList.svelte.d.ts +++ b/types/OrderedList/OrderedList.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface OrderedListProps extends svelte.JSX.HTMLAttributes { diff --git a/types/OverflowMenu/OverflowMenu.svelte.d.ts b/types/OverflowMenu/OverflowMenu.svelte.d.ts index 584d4d4d..a9807a10 100644 --- a/types/OverflowMenu/OverflowMenu.svelte.d.ts +++ b/types/OverflowMenu/OverflowMenu.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface OverflowMenuProps extends svelte.JSX.HTMLAttributes { diff --git a/types/OverflowMenu/OverflowMenuItem.svelte.d.ts b/types/OverflowMenu/OverflowMenuItem.svelte.d.ts index ac834b4e..3e52531b 100644 --- a/types/OverflowMenu/OverflowMenuItem.svelte.d.ts +++ b/types/OverflowMenu/OverflowMenuItem.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface OverflowMenuItemProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Pagination/Pagination.svelte.d.ts b/types/Pagination/Pagination.svelte.d.ts index 3918f385..7c2bdd65 100644 --- a/types/Pagination/Pagination.svelte.d.ts +++ b/types/Pagination/Pagination.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface PaginationProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Pagination/PaginationSkeleton.svelte.d.ts b/types/Pagination/PaginationSkeleton.svelte.d.ts index f3058ab4..45b3215a 100644 --- a/types/Pagination/PaginationSkeleton.svelte.d.ts +++ b/types/Pagination/PaginationSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface PaginationSkeletonProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/PaginationNav/PaginationNav.svelte.d.ts b/types/PaginationNav/PaginationNav.svelte.d.ts index b874be1b..f2f005ab 100644 --- a/types/PaginationNav/PaginationNav.svelte.d.ts +++ b/types/PaginationNav/PaginationNav.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface PaginationNavProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Popover/Popover.svelte.d.ts b/types/Popover/Popover.svelte.d.ts index f8feec0d..6a1eda37 100644 --- a/types/Popover/Popover.svelte.d.ts +++ b/types/Popover/Popover.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface PopoverProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ProgressBar/ProgressBar.svelte.d.ts b/types/ProgressBar/ProgressBar.svelte.d.ts index d2f44f28..fa016e1d 100644 --- a/types/ProgressBar/ProgressBar.svelte.d.ts +++ b/types/ProgressBar/ProgressBar.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ProgressBarProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ProgressIndicator/ProgressIndicator.svelte.d.ts b/types/ProgressIndicator/ProgressIndicator.svelte.d.ts index 34e9f609..2bcbf6fa 100644 --- a/types/ProgressIndicator/ProgressIndicator.svelte.d.ts +++ b/types/ProgressIndicator/ProgressIndicator.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ProgressIndicatorProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ProgressIndicator/ProgressIndicatorSkeleton.svelte.d.ts b/types/ProgressIndicator/ProgressIndicatorSkeleton.svelte.d.ts index 1e0a71c5..b21fc03b 100644 --- a/types/ProgressIndicator/ProgressIndicatorSkeleton.svelte.d.ts +++ b/types/ProgressIndicator/ProgressIndicatorSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ProgressIndicatorSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/ProgressIndicator/ProgressStep.svelte.d.ts b/types/ProgressIndicator/ProgressStep.svelte.d.ts index 67b78913..6ba197d5 100644 --- a/types/ProgressIndicator/ProgressStep.svelte.d.ts +++ b/types/ProgressIndicator/ProgressStep.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ProgressStepProps extends svelte.JSX.HTMLAttributes { diff --git a/types/RadioButton/RadioButton.svelte.d.ts b/types/RadioButton/RadioButton.svelte.d.ts index ef6fda53..b04d012c 100644 --- a/types/RadioButton/RadioButton.svelte.d.ts +++ b/types/RadioButton/RadioButton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface RadioButtonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/RadioButton/RadioButtonSkeleton.svelte.d.ts b/types/RadioButton/RadioButtonSkeleton.svelte.d.ts index bb4d6425..3f4ac20f 100644 --- a/types/RadioButton/RadioButtonSkeleton.svelte.d.ts +++ b/types/RadioButton/RadioButtonSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface RadioButtonSkeletonProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/RadioButtonGroup/RadioButtonGroup.svelte.d.ts b/types/RadioButtonGroup/RadioButtonGroup.svelte.d.ts index 0e92290b..84f2a278 100644 --- a/types/RadioButtonGroup/RadioButtonGroup.svelte.d.ts +++ b/types/RadioButtonGroup/RadioButtonGroup.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface RadioButtonGroupProps extends svelte.JSX.HTMLAttributes { diff --git a/types/RecursiveList/RecursiveList.svelte.d.ts b/types/RecursiveList/RecursiveList.svelte.d.ts index 346e0e56..cad7b2d0 100644 --- a/types/RecursiveList/RecursiveList.svelte.d.ts +++ b/types/RecursiveList/RecursiveList.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface RecursiveListNode { text?: string; diff --git a/types/Search/Search.svelte.d.ts b/types/Search/Search.svelte.d.ts index 8a774f2b..f1f2970f 100644 --- a/types/Search/Search.svelte.d.ts +++ b/types/Search/Search.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SearchProps { /** diff --git a/types/Search/SearchSkeleton.svelte.d.ts b/types/Search/SearchSkeleton.svelte.d.ts index 9076275b..20bfaedc 100644 --- a/types/Search/SearchSkeleton.svelte.d.ts +++ b/types/Search/SearchSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SearchSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Select/Select.svelte.d.ts b/types/Select/Select.svelte.d.ts index 05fcc27b..b2be24a6 100644 --- a/types/Select/Select.svelte.d.ts +++ b/types/Select/Select.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SelectProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Select/SelectItem.svelte.d.ts b/types/Select/SelectItem.svelte.d.ts index b26d5581..65201248 100644 --- a/types/Select/SelectItem.svelte.d.ts +++ b/types/Select/SelectItem.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SelectItemProps { /** diff --git a/types/Select/SelectItemGroup.svelte.d.ts b/types/Select/SelectItemGroup.svelte.d.ts index ff563428..e8258c6d 100644 --- a/types/Select/SelectItemGroup.svelte.d.ts +++ b/types/Select/SelectItemGroup.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SelectItemGroupProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Select/SelectSkeleton.svelte.d.ts b/types/Select/SelectSkeleton.svelte.d.ts index 4440e750..7bd4ed5e 100644 --- a/types/Select/SelectSkeleton.svelte.d.ts +++ b/types/Select/SelectSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SelectSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/SkeletonPlaceholder/SkeletonPlaceholder.svelte.d.ts b/types/SkeletonPlaceholder/SkeletonPlaceholder.svelte.d.ts index 83780094..9d8c933b 100644 --- a/types/SkeletonPlaceholder/SkeletonPlaceholder.svelte.d.ts +++ b/types/SkeletonPlaceholder/SkeletonPlaceholder.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SkeletonPlaceholderProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/SkeletonText/SkeletonText.svelte.d.ts b/types/SkeletonText/SkeletonText.svelte.d.ts index 0d5134d0..fbf8bcfa 100644 --- a/types/SkeletonText/SkeletonText.svelte.d.ts +++ b/types/SkeletonText/SkeletonText.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SkeletonTextProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Slider/Slider.svelte.d.ts b/types/Slider/Slider.svelte.d.ts index ba367757..776ea3a4 100644 --- a/types/Slider/Slider.svelte.d.ts +++ b/types/Slider/Slider.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SliderProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Slider/SliderSkeleton.svelte.d.ts b/types/Slider/SliderSkeleton.svelte.d.ts index 48e7fc0b..58315c0c 100644 --- a/types/Slider/SliderSkeleton.svelte.d.ts +++ b/types/Slider/SliderSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SliderSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/StructuredList/StructuredList.svelte.d.ts b/types/StructuredList/StructuredList.svelte.d.ts index 40dd5247..b1f04093 100644 --- a/types/StructuredList/StructuredList.svelte.d.ts +++ b/types/StructuredList/StructuredList.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface StructuredListProps extends svelte.JSX.HTMLAttributes { diff --git a/types/StructuredList/StructuredListBody.svelte.d.ts b/types/StructuredList/StructuredListBody.svelte.d.ts index 4420d56e..ec0eff57 100644 --- a/types/StructuredList/StructuredListBody.svelte.d.ts +++ b/types/StructuredList/StructuredListBody.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface StructuredListBodyProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/StructuredList/StructuredListCell.svelte.d.ts b/types/StructuredList/StructuredListCell.svelte.d.ts index 52badf55..8ee2009c 100644 --- a/types/StructuredList/StructuredListCell.svelte.d.ts +++ b/types/StructuredList/StructuredListCell.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface StructuredListCellProps extends svelte.JSX.HTMLAttributes { diff --git a/types/StructuredList/StructuredListHead.svelte.d.ts b/types/StructuredList/StructuredListHead.svelte.d.ts index a5d0635e..f269ac20 100644 --- a/types/StructuredList/StructuredListHead.svelte.d.ts +++ b/types/StructuredList/StructuredListHead.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface StructuredListHeadProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/StructuredList/StructuredListInput.svelte.d.ts b/types/StructuredList/StructuredListInput.svelte.d.ts index 8fd7fb24..5d0b8377 100644 --- a/types/StructuredList/StructuredListInput.svelte.d.ts +++ b/types/StructuredList/StructuredListInput.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface StructuredListInputProps extends svelte.JSX.HTMLAttributes { diff --git a/types/StructuredList/StructuredListRow.svelte.d.ts b/types/StructuredList/StructuredListRow.svelte.d.ts index f5f4c31b..25f1575b 100644 --- a/types/StructuredList/StructuredListRow.svelte.d.ts +++ b/types/StructuredList/StructuredListRow.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface StructuredListRowProps extends svelte.JSX.HTMLAttributes { diff --git a/types/StructuredList/StructuredListSkeleton.svelte.d.ts b/types/StructuredList/StructuredListSkeleton.svelte.d.ts index c396f9c0..82c3f970 100644 --- a/types/StructuredList/StructuredListSkeleton.svelte.d.ts +++ b/types/StructuredList/StructuredListSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface StructuredListSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Tabs/Tab.svelte.d.ts b/types/Tabs/Tab.svelte.d.ts index 43b4f92b..fd6601e6 100644 --- a/types/Tabs/Tab.svelte.d.ts +++ b/types/Tabs/Tab.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TabProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Tabs/TabContent.svelte.d.ts b/types/Tabs/TabContent.svelte.d.ts index 04acd9ee..abe5e815 100644 --- a/types/Tabs/TabContent.svelte.d.ts +++ b/types/Tabs/TabContent.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TabContentProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Tabs/Tabs.svelte.d.ts b/types/Tabs/Tabs.svelte.d.ts index af27d978..68ceffed 100644 --- a/types/Tabs/Tabs.svelte.d.ts +++ b/types/Tabs/Tabs.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TabsProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Tabs/TabsSkeleton.svelte.d.ts b/types/Tabs/TabsSkeleton.svelte.d.ts index d9ff46dd..120efd38 100644 --- a/types/Tabs/TabsSkeleton.svelte.d.ts +++ b/types/Tabs/TabsSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TabsSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Tag/Tag.svelte.d.ts b/types/Tag/Tag.svelte.d.ts index 08337d25..a21ff89a 100644 --- a/types/Tag/Tag.svelte.d.ts +++ b/types/Tag/Tag.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TagProps extends svelte.JSX.HTMLAttributes, diff --git a/types/Tag/TagSkeleton.svelte.d.ts b/types/Tag/TagSkeleton.svelte.d.ts index 139968bd..f63dd01e 100644 --- a/types/Tag/TagSkeleton.svelte.d.ts +++ b/types/Tag/TagSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TagSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/TextArea/TextArea.svelte.d.ts b/types/TextArea/TextArea.svelte.d.ts index fab23273..341483a3 100644 --- a/types/TextArea/TextArea.svelte.d.ts +++ b/types/TextArea/TextArea.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TextAreaProps extends svelte.JSX.HTMLAttributes { diff --git a/types/TextArea/TextAreaSkeleton.svelte.d.ts b/types/TextArea/TextAreaSkeleton.svelte.d.ts index 75845295..6e5b104d 100644 --- a/types/TextArea/TextAreaSkeleton.svelte.d.ts +++ b/types/TextArea/TextAreaSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TextAreaSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/TextInput/PasswordInput.svelte.d.ts b/types/TextInput/PasswordInput.svelte.d.ts index b705039b..90a186dd 100644 --- a/types/TextInput/PasswordInput.svelte.d.ts +++ b/types/TextInput/PasswordInput.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface PasswordInputProps extends svelte.JSX.HTMLAttributes { diff --git a/types/TextInput/TextInput.svelte.d.ts b/types/TextInput/TextInput.svelte.d.ts index 43020f0a..4410db31 100644 --- a/types/TextInput/TextInput.svelte.d.ts +++ b/types/TextInput/TextInput.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TextInputProps extends svelte.JSX.HTMLAttributes { diff --git a/types/TextInput/TextInputSkeleton.svelte.d.ts b/types/TextInput/TextInputSkeleton.svelte.d.ts index cecb3ad7..ecd017dd 100644 --- a/types/TextInput/TextInputSkeleton.svelte.d.ts +++ b/types/TextInput/TextInputSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TextInputSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Theme/Theme.svelte.d.ts b/types/Theme/Theme.svelte.d.ts index 211e180a..343e9aa9 100644 --- a/types/Theme/Theme.svelte.d.ts +++ b/types/Theme/Theme.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export type CarbonTheme = "white" | "g10" | "g80" | "g90" | "g100"; diff --git a/types/Tile/ClickableTile.svelte.d.ts b/types/Tile/ClickableTile.svelte.d.ts index 0a2b43ed..cfa2bbd3 100644 --- a/types/Tile/ClickableTile.svelte.d.ts +++ b/types/Tile/ClickableTile.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ClickableTileProps extends svelte.JSX.HTMLAttributes, @@ -27,6 +27,22 @@ export interface ClickableTileProps * @default undefined */ href?: string; + + /** + * SvelteKit attribute to enable data prefetching + * if a link is hovered over or touched on mobile. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:prefetch"?: boolean; + + /** + * SvelteKit attribute to prevent scrolling + * after the link is clicked. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:noscroll"?: boolean; } export default class ClickableTile extends SvelteComponentTyped< diff --git a/types/Tile/ExpandableTile.svelte.d.ts b/types/Tile/ExpandableTile.svelte.d.ts index ca40a525..653f81df 100644 --- a/types/Tile/ExpandableTile.svelte.d.ts +++ b/types/Tile/ExpandableTile.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ExpandableTileProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Tile/RadioTile.svelte.d.ts b/types/Tile/RadioTile.svelte.d.ts index 2810bfe6..898746aa 100644 --- a/types/Tile/RadioTile.svelte.d.ts +++ b/types/Tile/RadioTile.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface RadioTileProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Tile/SelectableTile.svelte.d.ts b/types/Tile/SelectableTile.svelte.d.ts index f50a2755..c8287768 100644 --- a/types/Tile/SelectableTile.svelte.d.ts +++ b/types/Tile/SelectableTile.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SelectableTileProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Tile/Tile.svelte.d.ts b/types/Tile/Tile.svelte.d.ts index 69cf890f..fb4a1d5e 100644 --- a/types/Tile/Tile.svelte.d.ts +++ b/types/Tile/Tile.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TileProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Tile/TileGroup.svelte.d.ts b/types/Tile/TileGroup.svelte.d.ts index fdd0124f..dddc2d04 100644 --- a/types/Tile/TileGroup.svelte.d.ts +++ b/types/Tile/TileGroup.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TileGroupProps extends svelte.JSX.HTMLAttributes { diff --git a/types/TimePicker/TimePicker.svelte.d.ts b/types/TimePicker/TimePicker.svelte.d.ts index e39d6d7a..dc2e1b51 100644 --- a/types/TimePicker/TimePicker.svelte.d.ts +++ b/types/TimePicker/TimePicker.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TimePickerProps extends svelte.JSX.HTMLAttributes { diff --git a/types/TimePicker/TimePickerSelect.svelte.d.ts b/types/TimePicker/TimePickerSelect.svelte.d.ts index f4391c23..e3213c94 100644 --- a/types/TimePicker/TimePickerSelect.svelte.d.ts +++ b/types/TimePicker/TimePickerSelect.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TimePickerSelectProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Toggle/Toggle.svelte.d.ts b/types/Toggle/Toggle.svelte.d.ts index 2fe9b233..4f7fef94 100644 --- a/types/Toggle/Toggle.svelte.d.ts +++ b/types/Toggle/Toggle.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ToggleProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Toggle/ToggleSkeleton.svelte.d.ts b/types/Toggle/ToggleSkeleton.svelte.d.ts index f578b959..13ba7b8e 100644 --- a/types/Toggle/ToggleSkeleton.svelte.d.ts +++ b/types/Toggle/ToggleSkeleton.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ToggleSkeletonProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Tooltip/Tooltip.svelte.d.ts b/types/Tooltip/Tooltip.svelte.d.ts index 3ecb8bf8..cfc49d5e 100644 --- a/types/Tooltip/Tooltip.svelte.d.ts +++ b/types/Tooltip/Tooltip.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TooltipProps extends svelte.JSX.HTMLAttributes { diff --git a/types/Tooltip/TooltipFooter.svelte.d.ts b/types/Tooltip/TooltipFooter.svelte.d.ts index 928a64c4..2bfb3a65 100644 --- a/types/Tooltip/TooltipFooter.svelte.d.ts +++ b/types/Tooltip/TooltipFooter.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TooltipFooterProps { /** diff --git a/types/TooltipDefinition/TooltipDefinition.svelte.d.ts b/types/TooltipDefinition/TooltipDefinition.svelte.d.ts index f28fc677..a69b6628 100644 --- a/types/TooltipDefinition/TooltipDefinition.svelte.d.ts +++ b/types/TooltipDefinition/TooltipDefinition.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TooltipDefinitionProps extends svelte.JSX.HTMLAttributes { diff --git a/types/TooltipIcon/TooltipIcon.svelte.d.ts b/types/TooltipIcon/TooltipIcon.svelte.d.ts index bfa44f51..c6ebd113 100644 --- a/types/TooltipIcon/TooltipIcon.svelte.d.ts +++ b/types/TooltipIcon/TooltipIcon.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TooltipIconProps extends svelte.JSX.HTMLAttributes { diff --git a/types/TreeView/TreeView.svelte.d.ts b/types/TreeView/TreeView.svelte.d.ts index bf75c883..f6a41319 100644 --- a/types/TreeView/TreeView.svelte.d.ts +++ b/types/TreeView/TreeView.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export type TreeNodeId = string | number; diff --git a/types/Truncate/Truncate.svelte.d.ts b/types/Truncate/Truncate.svelte.d.ts index 9977769b..362fe7a1 100644 --- a/types/Truncate/Truncate.svelte.d.ts +++ b/types/Truncate/Truncate.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface TruncateProps extends svelte.JSX.HTMLAttributes { diff --git a/types/UIShell/Content.svelte.d.ts b/types/UIShell/Content.svelte.d.ts index b774d0bb..75a2ab8f 100644 --- a/types/UIShell/Content.svelte.d.ts +++ b/types/UIShell/Content.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface ContentProps extends svelte.JSX.HTMLAttributes { diff --git a/types/UIShell/Header.svelte.d.ts b/types/UIShell/Header.svelte.d.ts index 2db5e635..13fd6785 100644 --- a/types/UIShell/Header.svelte.d.ts +++ b/types/UIShell/Header.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface HeaderProps extends svelte.JSX.HTMLAttributes { @@ -77,6 +77,22 @@ export interface HeaderProps * @default undefined */ iconClose?: typeof import("svelte").SvelteComponent; + + /** + * SvelteKit attribute to enable data prefetching + * if a link is hovered over or touched on mobile. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:prefetch"?: boolean; + + /** + * SvelteKit attribute to prevent scrolling + * after the link is clicked. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:noscroll"?: boolean; } export default class Header extends SvelteComponentTyped< diff --git a/types/UIShell/HeaderAction.svelte.d.ts b/types/UIShell/HeaderAction.svelte.d.ts index 32dc0c8d..89c801c0 100644 --- a/types/UIShell/HeaderAction.svelte.d.ts +++ b/types/UIShell/HeaderAction.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface HeaderActionProps extends svelte.JSX.HTMLAttributes { diff --git a/types/UIShell/HeaderActionLink.svelte.d.ts b/types/UIShell/HeaderActionLink.svelte.d.ts index 692fa04f..8d75e49e 100644 --- a/types/UIShell/HeaderActionLink.svelte.d.ts +++ b/types/UIShell/HeaderActionLink.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface HeaderActionLinkProps extends svelte.JSX.HTMLAttributes { @@ -26,6 +26,22 @@ export interface HeaderActionLinkProps * @default null */ ref?: null | HTMLAnchorElement; + + /** + * SvelteKit attribute to enable data prefetching + * if a link is hovered over or touched on mobile. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:prefetch"?: boolean; + + /** + * SvelteKit attribute to prevent scrolling + * after the link is clicked. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:noscroll"?: boolean; } export default class HeaderActionLink extends SvelteComponentTyped< diff --git a/types/UIShell/HeaderGlobalAction.svelte.d.ts b/types/UIShell/HeaderGlobalAction.svelte.d.ts index 6161050f..d4b68d3c 100644 --- a/types/UIShell/HeaderGlobalAction.svelte.d.ts +++ b/types/UIShell/HeaderGlobalAction.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface HeaderGlobalActionProps extends svelte.JSX.HTMLAttributes { diff --git a/types/UIShell/HeaderNav.svelte.d.ts b/types/UIShell/HeaderNav.svelte.d.ts index ee6ec604..6a22ab19 100644 --- a/types/UIShell/HeaderNav.svelte.d.ts +++ b/types/UIShell/HeaderNav.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface HeaderNavProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/UIShell/HeaderNavItem.svelte.d.ts b/types/UIShell/HeaderNavItem.svelte.d.ts index db31521f..a795a783 100644 --- a/types/UIShell/HeaderNavItem.svelte.d.ts +++ b/types/UIShell/HeaderNavItem.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface HeaderNavItemProps extends svelte.JSX.HTMLAttributes { @@ -26,6 +26,22 @@ export interface HeaderNavItemProps * @default null */ ref?: null | HTMLAnchorElement; + + /** + * SvelteKit attribute to enable data prefetching + * if a link is hovered over or touched on mobile. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:prefetch"?: boolean; + + /** + * SvelteKit attribute to prevent scrolling + * after the link is clicked. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:noscroll"?: boolean; } export default class HeaderNavItem extends SvelteComponentTyped< diff --git a/types/UIShell/HeaderNavMenu.svelte.d.ts b/types/UIShell/HeaderNavMenu.svelte.d.ts index 95a49b5c..a1a1921e 100644 --- a/types/UIShell/HeaderNavMenu.svelte.d.ts +++ b/types/UIShell/HeaderNavMenu.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface HeaderNavMenuProps extends svelte.JSX.HTMLAttributes { @@ -26,6 +26,22 @@ export interface HeaderNavMenuProps * @default null */ ref?: null | HTMLAnchorElement; + + /** + * SvelteKit attribute to enable data prefetching + * if a link is hovered over or touched on mobile. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:prefetch"?: boolean; + + /** + * SvelteKit attribute to prevent scrolling + * after the link is clicked. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:noscroll"?: boolean; } export default class HeaderNavMenu extends SvelteComponentTyped< diff --git a/types/UIShell/HeaderPanelDivider.svelte.d.ts b/types/UIShell/HeaderPanelDivider.svelte.d.ts index 79d1b001..b0e7f991 100644 --- a/types/UIShell/HeaderPanelDivider.svelte.d.ts +++ b/types/UIShell/HeaderPanelDivider.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface HeaderPanelDividerProps {} diff --git a/types/UIShell/HeaderPanelLink.svelte.d.ts b/types/UIShell/HeaderPanelLink.svelte.d.ts index 13e9e3a3..c6760184 100644 --- a/types/UIShell/HeaderPanelLink.svelte.d.ts +++ b/types/UIShell/HeaderPanelLink.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface HeaderPanelLinkProps extends svelte.JSX.HTMLAttributes { @@ -14,6 +14,22 @@ export interface HeaderPanelLinkProps * @default null */ ref?: null | HTMLAnchorElement; + + /** + * SvelteKit attribute to enable data prefetching + * if a link is hovered over or touched on mobile. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:prefetch"?: boolean; + + /** + * SvelteKit attribute to prevent scrolling + * after the link is clicked. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:noscroll"?: boolean; } export default class HeaderPanelLink extends SvelteComponentTyped< diff --git a/types/UIShell/HeaderPanelLinks.svelte.d.ts b/types/UIShell/HeaderPanelLinks.svelte.d.ts index a5f656d7..c9aa3d47 100644 --- a/types/UIShell/HeaderPanelLinks.svelte.d.ts +++ b/types/UIShell/HeaderPanelLinks.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface HeaderPanelLinksProps {} diff --git a/types/UIShell/HeaderSearch.svelte.d.ts b/types/UIShell/HeaderSearch.svelte.d.ts index 21f1e9b3..f4fc09f1 100644 --- a/types/UIShell/HeaderSearch.svelte.d.ts +++ b/types/UIShell/HeaderSearch.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface HeaderSearchResult { href: string; diff --git a/types/UIShell/HeaderUtilities.svelte.d.ts b/types/UIShell/HeaderUtilities.svelte.d.ts index d75eccab..ba64e170 100644 --- a/types/UIShell/HeaderUtilities.svelte.d.ts +++ b/types/UIShell/HeaderUtilities.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface HeaderUtilitiesProps {} diff --git a/types/UIShell/SideNav.svelte.d.ts b/types/UIShell/SideNav.svelte.d.ts index 6e27c28e..6b5c2174 100644 --- a/types/UIShell/SideNav.svelte.d.ts +++ b/types/UIShell/SideNav.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SideNavProps extends svelte.JSX.HTMLAttributes { diff --git a/types/UIShell/SideNavDivider.svelte.d.ts b/types/UIShell/SideNavDivider.svelte.d.ts index b880e27c..cf04a6ab 100644 --- a/types/UIShell/SideNavDivider.svelte.d.ts +++ b/types/UIShell/SideNavDivider.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SideNavDividerProps extends svelte.JSX.HTMLAttributes {} diff --git a/types/UIShell/SideNavItems.svelte.d.ts b/types/UIShell/SideNavItems.svelte.d.ts index e8790062..91300c3a 100644 --- a/types/UIShell/SideNavItems.svelte.d.ts +++ b/types/UIShell/SideNavItems.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SideNavItemsProps {} diff --git a/types/UIShell/SideNavLink.svelte.d.ts b/types/UIShell/SideNavLink.svelte.d.ts index 665abda2..22249904 100644 --- a/types/UIShell/SideNavLink.svelte.d.ts +++ b/types/UIShell/SideNavLink.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SideNavLinkProps extends svelte.JSX.HTMLAttributes { @@ -32,6 +32,22 @@ export interface SideNavLinkProps * @default null */ ref?: null | HTMLAnchorElement; + + /** + * SvelteKit attribute to enable data prefetching + * if a link is hovered over or touched on mobile. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:prefetch"?: boolean; + + /** + * SvelteKit attribute to prevent scrolling + * after the link is clicked. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:noscroll"?: boolean; } export default class SideNavLink extends SvelteComponentTyped< diff --git a/types/UIShell/SideNavMenu.svelte.d.ts b/types/UIShell/SideNavMenu.svelte.d.ts index 5e3aa0c0..d56c1812 100644 --- a/types/UIShell/SideNavMenu.svelte.d.ts +++ b/types/UIShell/SideNavMenu.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SideNavMenuProps extends svelte.JSX.HTMLAttributes { diff --git a/types/UIShell/SideNavMenuItem.svelte.d.ts b/types/UIShell/SideNavMenuItem.svelte.d.ts index 9e761e73..ab6f988b 100644 --- a/types/UIShell/SideNavMenuItem.svelte.d.ts +++ b/types/UIShell/SideNavMenuItem.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SideNavMenuItemProps extends svelte.JSX.HTMLAttributes { @@ -26,6 +26,22 @@ export interface SideNavMenuItemProps * @default null */ ref?: null | HTMLAnchorElement; + + /** + * SvelteKit attribute to enable data prefetching + * if a link is hovered over or touched on mobile. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:prefetch"?: boolean; + + /** + * SvelteKit attribute to prevent scrolling + * after the link is clicked. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:noscroll"?: boolean; } export default class SideNavMenuItem extends SvelteComponentTyped< diff --git a/types/UIShell/SkipToContent.svelte.d.ts b/types/UIShell/SkipToContent.svelte.d.ts index ec8b52ea..0e27527b 100644 --- a/types/UIShell/SkipToContent.svelte.d.ts +++ b/types/UIShell/SkipToContent.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface SkipToContentProps extends svelte.JSX.HTMLAttributes { @@ -14,6 +14,22 @@ export interface SkipToContentProps * @default "0" */ tabindex?: string; + + /** + * SvelteKit attribute to enable data prefetching + * if a link is hovered over or touched on mobile. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:prefetch"?: boolean; + + /** + * SvelteKit attribute to prevent scrolling + * after the link is clicked. + * @see https://kit.svelte.dev/docs/a-options#sveltekit-prefetch + * @default false + */ + "sveltekit:noscroll"?: boolean; } export default class SkipToContent extends SvelteComponentTyped< diff --git a/types/UnorderedList/UnorderedList.svelte.d.ts b/types/UnorderedList/UnorderedList.svelte.d.ts index 440c5387..98dc6808 100644 --- a/types/UnorderedList/UnorderedList.svelte.d.ts +++ b/types/UnorderedList/UnorderedList.svelte.d.ts @@ -1,5 +1,5 @@ /// -import { SvelteComponentTyped } from "svelte"; +import type { SvelteComponentTyped } from "svelte"; export interface UnorderedListProps extends svelte.JSX.HTMLAttributes { diff --git a/yarn.lock b/yarn.lock index 9370d0aa..83edcd96 100644 --- a/yarn.lock +++ b/yarn.lock @@ -292,7 +292,7 @@ dependencies: "@types/node" "*" -acorn@^8.4.1: +acorn@^8.7.0: version "8.7.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.0.tgz#90951fde0f8f09df93549481e5fc141445b791cf" integrity sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ== @@ -635,10 +635,10 @@ commander@^6.2.0: resolved "https://registry.npmjs.org/commander/-/commander-6.2.0.tgz#b990bfb8ac030aedc6d11bc04d1488ffef56db75" integrity sha512-zP4jEKbe8SHzKJYQmq8Y9gYjtO/POJLgIdKgV7B9qNmABVFVc+ctqSX6iXh4mCpJfRBOabiZ2YKPg8ciDw6C+Q== -comment-parser@^0.7.6: - version "0.7.6" - resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-0.7.6.tgz#0e743a53c8e646c899a1323db31f6cd337b10f12" - integrity sha512-GKNxVA7/iuTnAqGADlTWX4tkhzxZKXp5fLJqKTlQLHkE65XDUKutZ3BHaJC5IGcper2tT3QRD1xr4o3jNpgXXg== +comment-parser@^1.3.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.3.1.tgz#3d7ea3adaf9345594aedee6563f422348f165c1b" + integrity sha512-B52sN2VNghyq5ofvUsqZjmk6YkihBX5vMSChmSK9v4ShjKf3Vk5Xcmgpw4o+iIgtrnM/u5FiMpz9VKb8lpBveA== commondir@^1.0.1: version "1.0.1" @@ -819,6 +819,17 @@ execa@^4.1.0: signal-exit "^3.0.2" strip-final-newline "^2.0.0" +fast-glob@^3.2.11, fast-glob@^3.2.7: + version "3.2.11" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" + integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-glob@^3.2.4: version "3.2.5" resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.5.tgz#7939af2a656de79a4f1901903ee8adcaa7cb9661" @@ -831,17 +842,6 @@ fast-glob@^3.2.4: micromatch "^4.0.2" picomatch "^2.2.1" -fast-glob@^3.2.7: - version "3.2.11" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" - integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.2" - merge2 "^1.3.0" - micromatch "^4.0.4" - fast-safe-stringify@^2.0.4: version "2.0.7" resolved "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz#124aa885899261f68aedb42a7c080de9da608743" @@ -1785,14 +1785,7 @@ rollup-pluginutils@^2.8.2: dependencies: estree-walker "^0.6.1" -rollup@^2.66.0: - version "2.66.0" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.66.0.tgz#ee529ea15a20485d579039637fec3050bad03bbb" - integrity sha512-L6mKOkdyP8HK5kKJXaiWG7KZDumPJjuo1P+cfyHOJPNNTK3Moe7zCH5+fy7v8pVmHXtlxorzaBjvkBMB23s98g== - optionalDependencies: - fsevents "~2.3.2" - -rollup@^2.70.1: +rollup@^2.68.0, rollup@^2.70.1: version "2.70.1" resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.70.1.tgz#824b1f1f879ea396db30b0fc3ae8d2fead93523e" integrity sha512-CRYsI5EuzLbXdxC6RnYhOuRdtz4bhejPMSWjsFLfVM/7w/85n2szZv6yExqUXsBdz5KT8eoubeyDUDjhLHEslA== @@ -2041,21 +2034,20 @@ supports-color@^7.0.0, supports-color@^7.1.0: dependencies: has-flag "^4.0.0" -sveld@^0.13.4: - version "0.13.4" - resolved "https://registry.yarnpkg.com/sveld/-/sveld-0.13.4.tgz#0824e7b59b36704ef45f622c42f9268ebb3d5229" - integrity sha512-LY9G/4aNv+WYnybqHfRFVHN3JZzDcnJEYX5/LYpD+/Jgr+Iby5bBSwm/YMtM7D4tvV7tPchv1Z0T7P3RiJIiJA== +sveld@^0.14.0: + version "0.14.0" + resolved "https://registry.yarnpkg.com/sveld/-/sveld-0.14.0.tgz#427f77ea95bd5d3c1c347bdf303aab1129511931" + integrity sha512-XhBp3OjkBzuIxnKUX5zS6zNB9XjNMUvn6lCueDP/Abrx9Gt/k3elgFOdcO4mQaKMyoMk3OGNpA1a1iMfonjN2w== dependencies: "@rollup/plugin-node-resolve" "^11.0.1" - acorn "^8.4.1" - comment-parser "^0.7.6" - fast-glob "^3.2.7" - fs-extra "^9.0.1" + acorn "^8.7.0" + comment-parser "^1.3.0" + fast-glob "^3.2.11" prettier "^2.5.1" - rollup "^2.66.0" + rollup "^2.68.0" rollup-plugin-svelte "^7.1.0" - svelte "^3.46.2" - svelte-preprocess "^4.10.2" + svelte "^3.46.4" + svelte-preprocess "^4.10.4" typescript "^4.5.5" svelte-check@^2.4.6: @@ -2083,10 +2075,10 @@ svelte-preprocess@^4.0.0: detect-indent "^6.0.0" strip-indent "^3.0.0" -svelte-preprocess@^4.10.2: - version "4.10.2" - resolved "https://registry.yarnpkg.com/svelte-preprocess/-/svelte-preprocess-4.10.2.tgz#2405689e57161916947b8360679051a56eddd5c6" - integrity sha512-aPpkCreSo8EL/y8kJSa1trhiX0oyAtTjlNNM7BNjRAsMJ8Yy2LtqHt0zyd4pQPXt+D4PzbO3qTjjio3kwOxDlA== +svelte-preprocess@^4.10.4: + version "4.10.5" + resolved "https://registry.yarnpkg.com/svelte-preprocess/-/svelte-preprocess-4.10.5.tgz#c4d20fd67b92559e5cac80281154c813c1c17353" + integrity sha512-VKXPRScCzAZqeBZOGq4LLwtNrAu++mVn7XvQox3eFDV7Ciq0Lg70Q8QWjH9iXF7J+pMlXhPsSFwpCb2E+hoeyA== dependencies: "@types/pug" "^2.0.4" "@types/sass" "^1.16.0" @@ -2095,10 +2087,10 @@ svelte-preprocess@^4.10.2: sorcery "^0.10.0" strip-indent "^3.0.0" -svelte@^3.46.2: - version "3.46.2" - resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.46.2.tgz#f0ffbffaea3a9a760edcbefc0902b41998a686ad" - integrity sha512-RXSAtYNefe01Sb1lXtZ2I+gzn3t/h/59hoaRNeRrm8IkMIu6BSiAkbpi41xb+C44x54YKnbk9+dtfs3pM4hECA== +svelte@^3.46.4: + version "3.47.0" + resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.47.0.tgz#ba46fe4aea99fc650d6939c215cd4694f5325a19" + integrity sha512-4JaJp3HEoTCGARRWZQIZDUanhYv0iyoHikklVHVLH9xFE9db22g4TDv7CPeNA8HD1JgjXI1vlhR1JZvvhaTu2Q== svelte@^3.46.6: version "3.46.6"