shop-components 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/device-viewer/scene.d.ts +0 -1
- package/dist/device-viewer/slot/css.d.ts +0 -0
- package/dist/device-viewer/slot/slot-item.d.ts +18 -0
- package/dist/device-viewer/slot.d.ts +1 -0
- package/dist/shop-components.mjs +4785 -4725
- package/dist/shop-components.umd.js +307 -290
- package/package.json +9 -9
- package/dist/device-viewer/slot-item.d.ts +0 -8
- package/dist/style.css +0 -1
|
@@ -10,7 +10,6 @@ import Stats from 'stats-fps.js';
|
|
|
10
10
|
import { Pane } from 'tweakpane';
|
|
11
11
|
import { Slot, SLOT_EVENTS } from './slot';
|
|
12
12
|
import { DeviceLines, Line } from './lines';
|
|
13
|
-
import './style.styl';
|
|
14
13
|
export { Slot, DeviceLines, Line, SLOT_EVENTS };
|
|
15
14
|
export interface Logo {
|
|
16
15
|
name: string;
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface SlotItemProps {
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class SlotItem extends LitElement {
|
|
6
|
+
props: SlotItemProps;
|
|
7
|
+
static styles: import("lit").CSSResult;
|
|
8
|
+
constructor(props: SlotItemProps);
|
|
9
|
+
selected: boolean;
|
|
10
|
+
hasError: boolean;
|
|
11
|
+
canInstall: boolean;
|
|
12
|
+
hide: boolean;
|
|
13
|
+
disable: boolean;
|
|
14
|
+
filled: boolean;
|
|
15
|
+
slot: any;
|
|
16
|
+
onClick(e: MouseEvent): void;
|
|
17
|
+
protected render(): unknown;
|
|
18
|
+
}
|
|
@@ -23,6 +23,7 @@ export declare class Slot extends CSS2DObject {
|
|
|
23
23
|
private props;
|
|
24
24
|
private _emitter;
|
|
25
25
|
private _slotContainer;
|
|
26
|
+
private _slotUI;
|
|
26
27
|
private _hasError;
|
|
27
28
|
addEventListener: <T extends string | symbol>(event: T, fn: (...args: any[]) => void, context?: any) => EventEmitter<string | symbol, any>;
|
|
28
29
|
removeEventListener: <T extends string | symbol>(event: T, fn?: ((...args: any[]) => void) | undefined, context?: any, once?: boolean | undefined) => EventEmitter<string | symbol, any>;
|