@thisway/base
Advanced tools
Comparing version 0.12.0 to 0.13.0
10
index.js
@@ -0,1 +1,7 @@ | ||
var __defProp = Object.defineProperty; | ||
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
const LAYOUT_MODE_1 = "mode-1"; | ||
@@ -62,2 +68,6 @@ const LAYOUT_MODE_2 = "mode-2"; | ||
class NoElement { | ||
constructor() { | ||
// @ts-expect-error phantom data | ||
__publicField(this, "phantomData"); | ||
} | ||
} | ||
@@ -64,0 +74,0 @@ const NO_ELEMENT = new NoElement(); |
import type { ScrollOffset, Size, Transform } from '@thisway/utils'; | ||
import type { ComponentType } from 'svelte'; | ||
import type { Component } from 'svelte'; | ||
import type { Readable, Writable } from 'svelte/store'; | ||
@@ -151,3 +151,3 @@ import type { LayoutMode } from './layout'; | ||
getTotalCount(stepsStore: IStepsStore<T>): Readable<number>; | ||
getComponent(slot: ComponentSlots, step: T, options: TourOptions): ComponentType; | ||
getComponent(slot: ComponentSlots, step: T, options: TourOptions): Component; | ||
} | ||
@@ -154,0 +154,0 @@ export interface CommonPopoverOptions { |
{ | ||
"name": "@thisway/base", | ||
"version": "0.12.0", | ||
"version": "0.13.0", | ||
"type": "module", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"@thisway/utils": "^0.7.0", | ||
"@thisway/utils": "^0.8.0", | ||
"type-fest": "^4.7.0", | ||
"svelte": "^4.2.1" | ||
"svelte": "^5.17.3" | ||
}, | ||
@@ -11,0 +11,0 @@ "main": "./index.cjs", |
Sorry, the diff of this file is not supported yet
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
18377
504
1
+ Added@thisway/utils@0.8.0(transitive)
+ Addedacorn-typescript@1.4.13(transitive)
+ Addedclsx@2.1.1(transitive)
+ Addedesm-env@1.2.2(transitive)
+ Addedesrap@1.4.3(transitive)
+ Addedsvelte@5.19.0(transitive)
+ Addedzimmerframe@1.1.2(transitive)
- Removed@thisway/utils@0.7.0(transitive)
- Removedcode-red@1.0.4(transitive)
- Removedcss-tree@2.3.1(transitive)
- Removedestree-walker@3.0.3(transitive)
- Removedmdn-data@2.0.30(transitive)
- Removedperiscopic@3.1.0(transitive)
- Removedsource-map-js@1.2.1(transitive)
- Removedsvelte@4.2.19(transitive)
Updated@thisway/utils@^0.8.0
Updatedsvelte@^5.17.3