@pyreon/elements 0.19.0 → 0.20.0

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/lib/index.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import { Provider } from "@pyreon/unistyle";
2
- import * as _$_pyreon_core0 from "@pyreon/core";
3
2
  import { ComponentFn, PyreonHTMLAttributes, VNodeChild } from "@pyreon/core";
4
3
  import { BreakpointKeys, HTMLTags, HTMLTextTags, config, render } from "@pyreon/ui-core";
5
- import * as _$_pyreon_reactivity0 from "@pyreon/reactivity";
6
4
 
7
5
  //#region src/types.d.ts
8
6
  type ExtractNullableKeys<T> = { [P in keyof T as T[P] extends null | undefined ? never : P]: T[P] };
@@ -313,7 +311,7 @@ interface OverlayContext {
313
311
  }
314
312
  declare const Component$2: (props: OverlayContext & {
315
313
  children: VNodeChild;
316
- }) => _$_pyreon_core0.VNode;
314
+ }) => import("@pyreon/core").VNode;
317
315
  //#endregion
318
316
  //#region src/Overlay/positioning.d.ts
319
317
  type Align$1 = 'bottom' | 'top' | 'left' | 'right';
@@ -361,10 +359,10 @@ declare const useOverlay: ({
361
359
  }?: Partial<UseOverlayProps>) => {
362
360
  triggerRef: (node: HTMLElement | null) => void;
363
361
  contentRef: (node: HTMLElement | null) => void;
364
- active: _$_pyreon_reactivity0.Signal<boolean>;
362
+ active: import("@pyreon/reactivity").Signal<boolean>;
365
363
  align: Align$1;
366
- alignX: _$_pyreon_reactivity0.Signal<AlignX$2>;
367
- alignY: _$_pyreon_reactivity0.Signal<AlignY$2>;
364
+ alignX: import("@pyreon/reactivity").Signal<AlignX$2>;
365
+ alignY: import("@pyreon/reactivity").Signal<AlignY$2>;
368
366
  showContent: () => void;
369
367
  hideContent: () => void;
370
368
  blocked: () => boolean;
@@ -372,8 +370,8 @@ declare const useOverlay: ({
372
370
  setUnblocked: () => void;
373
371
  setupListeners: () => () => void;
374
372
  Provider: (props: OverlayContext & {
375
- children: _$_pyreon_core0.VNodeChild;
376
- }) => _$_pyreon_core0.VNode;
373
+ children: import("@pyreon/core").VNodeChild;
374
+ }) => import("@pyreon/core").VNode;
377
375
  };
378
376
  //#endregion
379
377
  //#region src/Overlay/component.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pyreon/elements",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "Foundational UI components for Pyreon",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,12 +42,12 @@
42
42
  "typecheck": "tsc --noEmit"
43
43
  },
44
44
  "devDependencies": {
45
- "@pyreon/core": "^0.19.0",
45
+ "@pyreon/core": "^0.20.0",
46
46
  "@pyreon/manifest": "0.13.1",
47
- "@pyreon/reactivity": "^0.19.0",
48
- "@pyreon/runtime-dom": "^0.19.0",
49
- "@pyreon/test-utils": "^0.13.6",
50
- "@pyreon/typescript": "^0.19.0",
47
+ "@pyreon/reactivity": "^0.20.0",
48
+ "@pyreon/runtime-dom": "^0.20.0",
49
+ "@pyreon/test-utils": "^0.13.7",
50
+ "@pyreon/typescript": "^0.20.0",
51
51
  "@vitest/browser-playwright": "^4.1.4",
52
52
  "@vitus-labs/tools-rolldown": "^2.3.0"
53
53
  },
@@ -55,9 +55,9 @@
55
55
  "node": ">= 22"
56
56
  },
57
57
  "dependencies": {
58
- "@pyreon/core": "^0.19.0",
59
- "@pyreon/reactivity": "^0.19.0",
60
- "@pyreon/ui-core": "^0.19.0",
61
- "@pyreon/unistyle": "^0.19.0"
58
+ "@pyreon/core": "^0.20.0",
59
+ "@pyreon/reactivity": "^0.20.0",
60
+ "@pyreon/ui-core": "^0.20.0",
61
+ "@pyreon/unistyle": "^0.20.0"
62
62
  }
63
63
  }
@@ -3,7 +3,6 @@ import { h } from '@pyreon/core'
3
3
  import { describe, expect, it } from 'vitest'
4
4
  import { Element } from '../Element'
5
5
  import Content from '../helpers/Content/component'
6
- import Wrapper from '../helpers/Wrapper/component'
7
6
 
8
7
  const asVNode = (v: unknown) => v as VNode
9
8