@takumi-rs/helpers 0.27.1 → 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-
|
|
2
|
-
export { A as AnyNode, J as JsonValue, N as Node } from './types-
|
|
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-
|
|
2
|
-
export { A as AnyNode, J as JsonValue, N as Node } from './types-
|
|
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;
|
package/dist/jsx/jsx.d.cts
CHANGED
package/dist/jsx/jsx.d.ts
CHANGED
|
@@ -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.
|