@pyreon/document-primitives 0.33.0 → 0.34.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/README.md CHANGED
@@ -86,7 +86,7 @@ Every primitive is themeable via rocketstyle's `.theme()` and `.attrs()` chain
86
86
  The same accessor pattern works for reactive children — pass a thunk inside the JSX slot and the extractor resolves it on each extraction:
87
87
 
88
88
  ```tsx
89
- <DocText>{() => store.summary()}</DocText>
89
+ <DocText>{store.summary()}</DocText>
90
90
  ```
91
91
 
92
92
  ## Export helpers
package/lib/index.d.ts CHANGED
@@ -77,10 +77,10 @@ declare const DocButton: import("@pyreon/rocketstyle").RocketStyleComponent<Part
77
77
  }> & import("@pyreon/core").PyreonHTMLAttributes<HTMLElement>, {
78
78
  href?: string;
79
79
  }, {}, {
80
+ padding: string;
80
81
  borderRadius: number;
81
82
  fontSize: number;
82
83
  fontWeight: string;
83
- padding: string;
84
84
  textAlign: string;
85
85
  textDecoration: string;
86
86
  }, {
@@ -114,10 +114,10 @@ declare const DocCode: import("@pyreon/rocketstyle").RocketStyleComponent<Partia
114
114
  language?: string;
115
115
  }, {}, {
116
116
  backgroundColor: string;
117
+ padding: string;
117
118
  borderRadius: number;
118
119
  fontFamily: string;
119
120
  fontSize: number;
120
- padding: string;
121
121
  }, {
122
122
  _documentType: "code";
123
123
  }, {}, {
@@ -419,9 +419,9 @@ declare const DocImage: import("@pyreon/rocketstyle").RocketStyleComponent<Parti
419
419
  beforeContentCss: import("@pyreon/elements").ExtendCss;
420
420
  afterContentCss: import("@pyreon/elements").ExtendCss;
421
421
  }> & import("@pyreon/core").PyreonHTMLAttributes<HTMLElement>, {
422
- height?: number | string;
423
422
  width?: number | string;
424
423
  caption?: string;
424
+ height?: number | string;
425
425
  src?: string;
426
426
  alt?: string;
427
427
  }, {}, {}, {
@@ -696,10 +696,10 @@ declare const DocQuote: import("@pyreon/rocketstyle").RocketStyleComponent<Parti
696
696
  }> & import("@pyreon/core").PyreonHTMLAttributes<HTMLElement>, {
697
697
  borderColor?: string;
698
698
  }, {}, {
699
+ padding: string;
699
700
  borderColor: string;
700
701
  color: string;
701
702
  fontStyle: string;
702
- padding: string;
703
703
  }, {
704
704
  _documentType: "quote";
705
705
  }, {}, {
@@ -757,8 +757,8 @@ declare const DocRow: import("@pyreon/rocketstyle").RocketStyleComponent<Partial
757
757
  afterContentCss: import("@pyreon/elements").ExtendCss;
758
758
  }> & import("@pyreon/core").PyreonHTMLAttributes<HTMLElement>, {
759
759
  tag: string;
760
- direction: "inline";
761
760
  gap: number;
761
+ direction: "inline";
762
762
  _documentProps: {};
763
763
  }, {}, {}, {
764
764
  _documentType: "row";
@@ -928,9 +928,9 @@ declare const DocTable: import("@pyreon/rocketstyle").RocketStyleComponent<Parti
928
928
  beforeContentCss: import("@pyreon/elements").ExtendCss;
929
929
  afterContentCss: import("@pyreon/elements").ExtendCss;
930
930
  }> & import("@pyreon/core").PyreonHTMLAttributes<HTMLElement>, {
931
- columns?: unknown[];
932
931
  caption?: string;
933
932
  rows?: unknown[];
933
+ columns?: unknown[];
934
934
  headerStyle?: Record<string, unknown>;
935
935
  striped?: boolean;
936
936
  bordered?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pyreon/document-primitives",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "description": "Rocketstyle document components — render in browser, export to 18 formats",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/pyreon/pyreon/tree/main/packages/ui-system/document-primitives#readme",
@@ -40,23 +40,23 @@
40
40
  "typecheck": "tsc --noEmit"
41
41
  },
42
42
  "peerDependencies": {
43
- "@pyreon/core": "^0.33.0"
43
+ "@pyreon/core": "^0.34.0"
44
44
  },
45
45
  "dependencies": {
46
- "@pyreon/connector-document": "^0.33.0",
47
- "@pyreon/document": "^0.33.0",
48
- "@pyreon/elements": "^0.33.0",
49
- "@pyreon/rocketstyle": "^0.33.0",
50
- "@pyreon/styler": "^0.33.0",
51
- "@pyreon/ui-core": "^0.33.0",
52
- "@pyreon/unistyle": "^0.33.0"
46
+ "@pyreon/connector-document": "^0.34.0",
47
+ "@pyreon/document": "^0.34.0",
48
+ "@pyreon/elements": "^0.34.0",
49
+ "@pyreon/rocketstyle": "^0.34.0",
50
+ "@pyreon/styler": "^0.34.0",
51
+ "@pyreon/ui-core": "^0.34.0",
52
+ "@pyreon/unistyle": "^0.34.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@pyreon/manifest": "0.13.2",
56
- "@pyreon/reactivity": "^0.33.0",
57
- "@pyreon/runtime-dom": "^0.33.0",
58
- "@pyreon/test-utils": "^0.13.21",
59
- "@pyreon/typescript": "^0.33.0",
56
+ "@pyreon/reactivity": "^0.34.0",
57
+ "@pyreon/runtime-dom": "^0.34.0",
58
+ "@pyreon/test-utils": "^0.13.22",
59
+ "@pyreon/typescript": "^0.34.0",
60
60
  "@pyreon/vitest-config": "0.13.3",
61
61
  "@vitest/browser-playwright": "^4.1.8",
62
62
  "@vitus-labs/tools-rolldown": "^2.5.0"