@takumi-rs/helpers 0.40.0 → 0.40.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 ColorInput } from './types-RqXjP68o.cjs';
2
- export { A as AnyNode, J as JsonValue, N as Node } from './types-RqXjP68o.cjs';
1
+ import { C as ContainerNode, P as PartialStyle, T as TextNode, I as ImageNode, S as Style, a as ColorInput } from './types-BkZQvNqZ.cjs';
2
+ export { A as AnyNode, J as JsonValue, N as Node } from './types-BkZQvNqZ.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 ColorInput } from './types-RqXjP68o.js';
2
- export { A as AnyNode, J as JsonValue, N as Node } from './types-RqXjP68o.js';
1
+ import { C as ContainerNode, P as PartialStyle, T as TextNode, I as ImageNode, S as Style, a as ColorInput } from './types-BkZQvNqZ.js';
2
+ export { A as AnyNode, J as JsonValue, N as Node } from './types-BkZQvNqZ.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-RqXjP68o.cjs';
2
+ import { N as Node } from '../types-BkZQvNqZ.cjs';
3
3
 
4
4
  type ReactElementLike = {
5
5
  type: string | symbol | ((props: unknown) => ReactElementLike) | ReactElementLike;
package/dist/jsx/jsx.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { N as Node } from '../types-RqXjP68o.js';
2
+ import { N as Node } from '../types-BkZQvNqZ.js';
3
3
 
4
4
  type ReactElementLike = {
5
5
  type: string | symbol | ((props: unknown) => ReactElementLike) | ReactElementLike;
@@ -885,7 +885,7 @@ type Translate = {
885
885
  *
886
886
  * Corresponds to CSS word-break property.
887
887
  */
888
- type WordBreak = "normal" | "break-all" | "keep-all";
888
+ type WordBreak = "normal" | "break-all" | "keep-all" | "break-word";
889
889
 
890
890
  /**
891
891
  * Defines the style of an element.
@@ -885,7 +885,7 @@ type Translate = {
885
885
  *
886
886
  * Corresponds to CSS word-break property.
887
887
  */
888
- type WordBreak = "normal" | "break-all" | "keep-all";
888
+ type WordBreak = "normal" | "break-all" | "keep-all" | "break-word";
889
889
 
890
890
  /**
891
891
  * Defines the style of an element.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takumi-rs/helpers",
3
- "version": "0.40.0",
3
+ "version": "0.40.2",
4
4
  "author": {
5
5
  "email": "me@kane.tw",
6
6
  "name": "Kane Wang",