@takumi-rs/helpers 0.27.0 → 0.27.2

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/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ContainerNode, P as PartialStyle, T as TextNode, I as ImageNode, S as Style, a as Color } from './types-CHKaewqR.cjs';
2
- export { A as AnyNode, J as JsonValue, N as Node } from './types-CHKaewqR.cjs';
1
+ import { C as ContainerNode, P as PartialStyle, T as TextNode, I as ImageNode, S as Style, a as Color } from './types-C_k2hNOx.cjs';
2
+ export { A as AnyNode, J as JsonValue, N as Node } from './types-C_k2hNOx.cjs';
3
3
 
4
4
  declare function container(props: Omit<ContainerNode, "type">): ContainerNode;
5
5
  declare function text(text: string, style?: PartialStyle): TextNode;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ContainerNode, P as PartialStyle, T as TextNode, I as ImageNode, S as Style, a as Color } from './types-CHKaewqR.js';
2
- export { A as AnyNode, J as JsonValue, N as Node } from './types-CHKaewqR.js';
1
+ import { C as ContainerNode, P as PartialStyle, T as TextNode, I as ImageNode, S as Style, a as Color } from './types-C_k2hNOx.js';
2
+ export { A as AnyNode, J as JsonValue, N as Node } from './types-C_k2hNOx.js';
3
3
 
4
4
  declare function container(props: Omit<ContainerNode, "type">): ContainerNode;
5
5
  declare function text(text: string, style?: PartialStyle): TextNode;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { N as Node } from '../types-CHKaewqR.cjs';
2
+ import { N as Node } from '../types-C_k2hNOx.cjs';
3
3
 
4
4
  declare function fromJsx(element: ReactNode): Promise<Node>;
5
5
 
package/dist/jsx/jsx.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { N as Node } from '../types-CHKaewqR.js';
2
+ import { N as Node } from '../types-C_k2hNOx.js';
3
3
 
4
4
  declare function fromJsx(element: ReactNode): Promise<Node>;
5
5
 
@@ -277,7 +277,7 @@ type FontFamily = "sans-serif" | "serif" | "monospace" | "cursive" | "fantasy" |
277
277
  * 400 (normal), 500 (medium), 600 (semi bold), 700 (bold),
278
278
  * 800 (extra bold), 900 (black).
279
279
  */
280
- type FontWeight = number;
280
+ type FontWeight = number | string;
281
281
 
282
282
  /**
283
283
  * Represents spacing between flex items.
@@ -277,7 +277,7 @@ type FontFamily = "sans-serif" | "serif" | "monospace" | "cursive" | "fantasy" |
277
277
  * 400 (normal), 500 (medium), 600 (semi bold), 700 (bold),
278
278
  * 800 (extra bold), 900 (black).
279
279
  */
280
- type FontWeight = number;
280
+ type FontWeight = number | string;
281
281
 
282
282
  /**
283
283
  * Represents spacing between flex items.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takumi-rs/helpers",
3
- "version": "0.27.0",
3
+ "version": "0.27.2",
4
4
  "author": {
5
5
  "email": "me@kane.tw",
6
6
  "name": "Kane Wang",