@thisway/next
Advanced tools
Comparing version 0.2.0-beta.0 to 0.2.0
@@ -13,1 +13,2 @@ export * from './lib/context'; | ||
export * from '@thisway/base'; | ||
export { parsePlacement } from './lib/placement'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="svelte" /> | ||
import type { HighlightOptionsWithDefaultValues, IComputePlacementState, IForeignViewContext, ITourDelegate, NoElement, PopoverOptionsWithDefaultValues, Step, ThemeOptions, TourOptions } from '@thisway/base'; | ||
@@ -3,0 +2,0 @@ import type { Size } from '@thisway/utils'; |
import type { Rect } from '@thisway/base'; | ||
export declare const calculateMaskCommand: (bounding: Rect | undefined, borderWidth: number, padding: number, showBorder: boolean) => string; | ||
import type { Size } from '@thisway/utils'; | ||
export declare const calculateMaskCommand: (bounding: Rect | undefined, borderWidth: number, padding: number, showBorder: boolean, viewportSize: Size) => string; |
import type { Alignment, IComputePlacementState, NoElement, Orientation, PopoverPlacement, PopoverPosition, PopoverPositionParsed } from '@thisway/base'; | ||
import { type Size } from '@thisway/utils'; | ||
import type { Readable } from 'svelte/store'; | ||
export declare const parsePlacement: (position: PopoverPosition | PopoverPositionParsed | string | undefined) => PopoverPositionParsed | undefined; | ||
export declare const parsePlacement: (position: PopoverPosition | PopoverPositionParsed | string | undefined) => PopoverPositionParsed; | ||
export declare const getOrientation: (elementRect: DOMRect, popoverRect: Size, preferredOrientation: Orientation | undefined, offset: number, viewport: Size) => Orientation; | ||
@@ -13,3 +13,4 @@ export declare const EMPTY_POPOVER_PLACEMENT: PopoverPlacement; | ||
* @param popoverSize | ||
* @param offset - the distance from popover to element | ||
* @param popoverOffset - the distance from popover to element | ||
* @param highlightOption | ||
* @param viewport | ||
@@ -16,0 +17,0 @@ * @returns |
@@ -1,3 +0,2 @@ | ||
/// <reference types="svelte" /> | ||
import type { Action } from 'svelte/action'; | ||
export declare const styleObject: Action<HTMLElement, Partial<CSSStyleDeclaration>>; |
{ | ||
"name": "@thisway/next", | ||
"version": "0.2.0-beta.0", | ||
"version": "0.2.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
124875
2950