@takumi-rs/helpers 0.27.2 → 0.27.4
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-BsvAnIiU.cjs';
|
|
2
|
+
export { A as AnyNode, J as JsonValue, N as Node } from './types-BsvAnIiU.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-BsvAnIiU.js';
|
|
2
|
+
export { A as AnyNode, J as JsonValue, N as Node } from './types-BsvAnIiU.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
|
@@ -603,6 +603,26 @@ type Style = {
|
|
|
603
603
|
* How much the flex item should shrink relative to other flex items when negative free space is distributed.
|
|
604
604
|
*/
|
|
605
605
|
flexShrink: number;
|
|
606
|
+
/**
|
|
607
|
+
* Shorthand border radius (top-left, top-right, bottom-right, bottom-left).
|
|
608
|
+
*/
|
|
609
|
+
borderRadius?: Sides<LengthUnit>;
|
|
610
|
+
/**
|
|
611
|
+
* Longhand: top-left border radius. Overrides `border_radius` top-left value.
|
|
612
|
+
*/
|
|
613
|
+
borderTopLeftRadius?: LengthUnit;
|
|
614
|
+
/**
|
|
615
|
+
* Longhand: top-right border radius. Overrides `border_radius` top-right value.
|
|
616
|
+
*/
|
|
617
|
+
borderTopRightRadius?: LengthUnit;
|
|
618
|
+
/**
|
|
619
|
+
* Longhand: bottom-right border radius. Overrides `border_radius` bottom-right value.
|
|
620
|
+
*/
|
|
621
|
+
borderBottomRightRadius?: LengthUnit;
|
|
622
|
+
/**
|
|
623
|
+
* Longhand: bottom-left border radius. Overrides `border_radius` bottom-left value.
|
|
624
|
+
*/
|
|
625
|
+
borderBottomLeftRadius?: LengthUnit;
|
|
606
626
|
/**
|
|
607
627
|
* Width of the element's border on each side (top, right, bottom, left).
|
|
608
628
|
*/
|
|
@@ -727,26 +747,6 @@ type Style = {
|
|
|
727
747
|
* Maximum number of lines for text before truncation.
|
|
728
748
|
*/
|
|
729
749
|
lineClamp?: number;
|
|
730
|
-
/**
|
|
731
|
-
* Shorthand border radius (top, right, bottom, left).
|
|
732
|
-
*/
|
|
733
|
-
borderRadius?: Sides<LengthUnit>;
|
|
734
|
-
/**
|
|
735
|
-
* Longhand: top border radius. Overrides `border_radius` top value.
|
|
736
|
-
*/
|
|
737
|
-
borderRadiusTop?: LengthUnit;
|
|
738
|
-
/**
|
|
739
|
-
* Longhand: right border radius. Overrides `border_radius` right value.
|
|
740
|
-
*/
|
|
741
|
-
borderRadiusRight?: LengthUnit;
|
|
742
|
-
/**
|
|
743
|
-
* Longhand: bottom border radius. Overrides `border_radius` bottom value.
|
|
744
|
-
*/
|
|
745
|
-
borderRadiusBottom?: LengthUnit;
|
|
746
|
-
/**
|
|
747
|
-
* Longhand: left border radius. Overrides `border_radius` left value.
|
|
748
|
-
*/
|
|
749
|
-
borderRadiusLeft?: LengthUnit;
|
|
750
750
|
/**
|
|
751
751
|
* Text alignment within the element.
|
|
752
752
|
*/
|
|
@@ -603,6 +603,26 @@ type Style = {
|
|
|
603
603
|
* How much the flex item should shrink relative to other flex items when negative free space is distributed.
|
|
604
604
|
*/
|
|
605
605
|
flexShrink: number;
|
|
606
|
+
/**
|
|
607
|
+
* Shorthand border radius (top-left, top-right, bottom-right, bottom-left).
|
|
608
|
+
*/
|
|
609
|
+
borderRadius?: Sides<LengthUnit>;
|
|
610
|
+
/**
|
|
611
|
+
* Longhand: top-left border radius. Overrides `border_radius` top-left value.
|
|
612
|
+
*/
|
|
613
|
+
borderTopLeftRadius?: LengthUnit;
|
|
614
|
+
/**
|
|
615
|
+
* Longhand: top-right border radius. Overrides `border_radius` top-right value.
|
|
616
|
+
*/
|
|
617
|
+
borderTopRightRadius?: LengthUnit;
|
|
618
|
+
/**
|
|
619
|
+
* Longhand: bottom-right border radius. Overrides `border_radius` bottom-right value.
|
|
620
|
+
*/
|
|
621
|
+
borderBottomRightRadius?: LengthUnit;
|
|
622
|
+
/**
|
|
623
|
+
* Longhand: bottom-left border radius. Overrides `border_radius` bottom-left value.
|
|
624
|
+
*/
|
|
625
|
+
borderBottomLeftRadius?: LengthUnit;
|
|
606
626
|
/**
|
|
607
627
|
* Width of the element's border on each side (top, right, bottom, left).
|
|
608
628
|
*/
|
|
@@ -727,26 +747,6 @@ type Style = {
|
|
|
727
747
|
* Maximum number of lines for text before truncation.
|
|
728
748
|
*/
|
|
729
749
|
lineClamp?: number;
|
|
730
|
-
/**
|
|
731
|
-
* Shorthand border radius (top, right, bottom, left).
|
|
732
|
-
*/
|
|
733
|
-
borderRadius?: Sides<LengthUnit>;
|
|
734
|
-
/**
|
|
735
|
-
* Longhand: top border radius. Overrides `border_radius` top value.
|
|
736
|
-
*/
|
|
737
|
-
borderRadiusTop?: LengthUnit;
|
|
738
|
-
/**
|
|
739
|
-
* Longhand: right border radius. Overrides `border_radius` right value.
|
|
740
|
-
*/
|
|
741
|
-
borderRadiusRight?: LengthUnit;
|
|
742
|
-
/**
|
|
743
|
-
* Longhand: bottom border radius. Overrides `border_radius` bottom value.
|
|
744
|
-
*/
|
|
745
|
-
borderRadiusBottom?: LengthUnit;
|
|
746
|
-
/**
|
|
747
|
-
* Longhand: left border radius. Overrides `border_radius` left value.
|
|
748
|
-
*/
|
|
749
|
-
borderRadiusLeft?: LengthUnit;
|
|
750
750
|
/**
|
|
751
751
|
* Text alignment within the element.
|
|
752
752
|
*/
|