@takumi-rs/helpers 0.40.1 → 0.41.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/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-
|
|
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 ColorInput } from './types-Bx3KvFan.cjs';
|
|
2
|
+
export { A as AnyNode, J as JsonValue, N as Node } from './types-Bx3KvFan.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-
|
|
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 ColorInput } from './types-Bx3KvFan.js';
|
|
2
|
+
export { A as AnyNode, J as JsonValue, N as Node } from './types-Bx3KvFan.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
|
@@ -172,13 +172,7 @@ type PositionKeywordY = "top" | "center" | "bottom";
|
|
|
172
172
|
/**
|
|
173
173
|
* A single `background-position` component for an axis.
|
|
174
174
|
*/
|
|
175
|
-
type PositionComponent =
|
|
176
|
-
"keyword-x": PositionKeywordX;
|
|
177
|
-
} | {
|
|
178
|
-
"keyword-y": PositionKeywordY;
|
|
179
|
-
} | {
|
|
180
|
-
length: LengthUnit;
|
|
181
|
-
};
|
|
175
|
+
type PositionComponent = PositionKeywordX | PositionKeywordY | LengthUnit;
|
|
182
176
|
|
|
183
177
|
/**
|
|
184
178
|
* Parsed `background-position` value for one layer.
|
|
@@ -885,7 +879,7 @@ type Translate = {
|
|
|
885
879
|
*
|
|
886
880
|
* Corresponds to CSS word-break property.
|
|
887
881
|
*/
|
|
888
|
-
type WordBreak = "normal" | "break-all" | "keep-all";
|
|
882
|
+
type WordBreak = "normal" | "break-all" | "keep-all" | "break-word";
|
|
889
883
|
|
|
890
884
|
/**
|
|
891
885
|
* Defines the style of an element.
|
|
@@ -172,13 +172,7 @@ type PositionKeywordY = "top" | "center" | "bottom";
|
|
|
172
172
|
/**
|
|
173
173
|
* A single `background-position` component for an axis.
|
|
174
174
|
*/
|
|
175
|
-
type PositionComponent =
|
|
176
|
-
"keyword-x": PositionKeywordX;
|
|
177
|
-
} | {
|
|
178
|
-
"keyword-y": PositionKeywordY;
|
|
179
|
-
} | {
|
|
180
|
-
length: LengthUnit;
|
|
181
|
-
};
|
|
175
|
+
type PositionComponent = PositionKeywordX | PositionKeywordY | LengthUnit;
|
|
182
176
|
|
|
183
177
|
/**
|
|
184
178
|
* Parsed `background-position` value for one layer.
|
|
@@ -885,7 +879,7 @@ type Translate = {
|
|
|
885
879
|
*
|
|
886
880
|
* Corresponds to CSS word-break property.
|
|
887
881
|
*/
|
|
888
|
-
type WordBreak = "normal" | "break-all" | "keep-all";
|
|
882
|
+
type WordBreak = "normal" | "break-all" | "keep-all" | "break-word";
|
|
889
883
|
|
|
890
884
|
/**
|
|
891
885
|
* Defines the style of an element.
|