@pyreon/document-primitives 0.15.0 → 0.16.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
@@ -535,7 +535,10 @@ declare const DocListItem: _$_pyreon_rocketstyle0.RocketStyleComponent<Partial<{
535
535
  paragraph: boolean;
536
536
  tag: _$_pyreon_ui_core0.HTMLTextTags;
537
537
  css: _$_pyreon_elements0.ExtendCss;
538
- }> & _$_pyreon_core0.PyreonHTMLAttributes<HTMLElement>, {}, {}, {
538
+ }> & _$_pyreon_core0.PyreonHTMLAttributes<HTMLElement>, {
539
+ tag: string;
540
+ _documentProps: {};
541
+ }, {}, {
539
542
  fontSize: number;
540
543
  lineHeight: number;
541
544
  }, {
@@ -642,7 +645,10 @@ declare const DocPageBreak: _$_pyreon_rocketstyle0.RocketStyleComponent<Partial<
642
645
  contentCss: _$_pyreon_elements0.ExtendCss;
643
646
  beforeContentCss: _$_pyreon_elements0.ExtendCss;
644
647
  afterContentCss: _$_pyreon_elements0.ExtendCss;
645
- }> & _$_pyreon_core0.PyreonHTMLAttributes<HTMLElement>, {}, {}, {}, {
648
+ }> & _$_pyreon_core0.PyreonHTMLAttributes<HTMLElement>, {
649
+ tag: string;
650
+ _documentProps: {};
651
+ }, {}, {}, {
646
652
  _documentType: "page-break";
647
653
  }, {}, {
648
654
  readonly states: "state";
@@ -753,7 +759,12 @@ declare const DocRow: _$_pyreon_rocketstyle0.RocketStyleComponent<Partial<{
753
759
  contentCss: _$_pyreon_elements0.ExtendCss;
754
760
  beforeContentCss: _$_pyreon_elements0.ExtendCss;
755
761
  afterContentCss: _$_pyreon_elements0.ExtendCss;
756
- }> & _$_pyreon_core0.PyreonHTMLAttributes<HTMLElement>, {}, {}, {}, {
762
+ }> & _$_pyreon_core0.PyreonHTMLAttributes<HTMLElement>, {
763
+ tag: string;
764
+ gap: number;
765
+ direction: "inline";
766
+ _documentProps: {};
767
+ }, {}, {}, {
757
768
  _documentType: "row";
758
769
  }, {}, {
759
770
  readonly states: "state";
@@ -943,7 +954,10 @@ declare const DocText: _$_pyreon_rocketstyle0.RocketStyleComponent<Partial<{
943
954
  paragraph: boolean;
944
955
  tag: _$_pyreon_ui_core0.HTMLTextTags;
945
956
  css: _$_pyreon_elements0.ExtendCss;
946
- }> & _$_pyreon_core0.PyreonHTMLAttributes<HTMLElement>, {}, {}, {
957
+ }> & _$_pyreon_core0.PyreonHTMLAttributes<HTMLElement>, {
958
+ tag: string;
959
+ _documentProps: {};
960
+ }, {}, {
947
961
  color: string;
948
962
  lineHeight: number;
949
963
  marginBottom: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pyreon/document-primitives",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Rocketstyle document components — render in browser, export to 18 formats",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,30 +42,28 @@
42
42
  "typecheck": "tsc --noEmit"
43
43
  },
44
44
  "dependencies": {
45
- "@pyreon/connector-document": "^0.15.0"
45
+ "@pyreon/connector-document": "^0.16.0",
46
+ "@pyreon/core": "^0.16.0",
47
+ "@pyreon/document": "^0.16.0",
48
+ "@pyreon/elements": "^0.16.0",
49
+ "@pyreon/rocketstyle": "^0.16.0",
50
+ "@pyreon/styler": "^0.16.0",
51
+ "@pyreon/ui-core": "^0.16.0"
46
52
  },
47
53
  "devDependencies": {
48
- "@pyreon/core": "^0.15.0",
49
- "@pyreon/elements": "^0.15.0",
54
+ "@pyreon/core": "^0.16.0",
55
+ "@pyreon/elements": "^0.16.0",
50
56
  "@pyreon/manifest": "0.13.1",
51
- "@pyreon/reactivity": "^0.15.0",
52
- "@pyreon/rocketstyle": "^0.15.0",
53
- "@pyreon/runtime-dom": "^0.15.0",
54
- "@pyreon/styler": "^0.15.0",
55
- "@pyreon/test-utils": "^0.13.2",
56
- "@pyreon/typescript": "^0.15.0",
57
- "@pyreon/ui-core": "^0.15.0",
57
+ "@pyreon/reactivity": "^0.16.0",
58
+ "@pyreon/rocketstyle": "^0.16.0",
59
+ "@pyreon/runtime-dom": "^0.16.0",
60
+ "@pyreon/styler": "^0.16.0",
61
+ "@pyreon/test-utils": "^0.13.3",
62
+ "@pyreon/typescript": "^0.16.0",
63
+ "@pyreon/ui-core": "^0.16.0",
58
64
  "@vitest/browser-playwright": "^4.1.4",
59
65
  "@vitus-labs/tools-rolldown": "^2.3.0"
60
66
  },
61
- "peerDependencies": {
62
- "@pyreon/core": "^0.15.0",
63
- "@pyreon/document": "^0.15.0",
64
- "@pyreon/elements": "^0.15.0",
65
- "@pyreon/rocketstyle": "^0.15.0",
66
- "@pyreon/styler": "^0.15.0",
67
- "@pyreon/ui-core": "^0.15.0"
68
- },
69
67
  "engines": {
70
68
  "node": ">= 22"
71
69
  }
@@ -1,5 +1,11 @@
1
1
  import { initTestConfig, renderProps } from '@pyreon/test-utils'
2
- import { afterAll, beforeAll, describe, expect, it } from 'vitest'
2
+ import { afterAll, beforeAll, describe, expect, it, vi } from 'vitest'
3
+
4
+ // Each test dynamically imports a primitive module which transitively
5
+ // pulls in @pyreon/rocketstyle + @pyreon/attrs + @pyreon/styler chain.
6
+ // First-load on slow CI runners takes 5-30s per primitive. The default
7
+ // 5000ms timeout was hitting these on every cold load.
8
+ vi.setConfig({ testTimeout: 60_000 })
3
9
 
4
10
  let cleanup: () => void
5
11
  beforeAll(() => {
@@ -217,7 +217,7 @@ describe('DocDocument reactive metadata (D1 integration)', () => {
217
217
  // compilation, rocketstyle wrapping, etc.) which takes 5+
218
218
  // seconds on slow CI runners on first hit. The default 5000ms
219
219
  // timeout fails reliably on CI.
220
- it('DocDocument with accessor title produces live values across multiple extractions', { timeout: 30_000 }, async () => {
220
+ it('DocDocument with accessor title produces live values across multiple extractions', { timeout: 60_000 }, async () => {
221
221
  // Use happy-dom + initTestConfig like the rest of the test suite
222
222
  const { initTestConfig } = await import('@pyreon/test-utils')
223
223
  const { h } = await import('@pyreon/core')