@shoplflow/base 0.32.10 → 0.32.12

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.cjs CHANGED
@@ -652,6 +652,7 @@ var StyledText = styled6__default.default.span`
652
652
  ${({ lineClamp }) => lineClamp && setEllipsis(lineClamp)};
653
653
  text-align: ${({ textAlign }) => textAlign && textAlign};
654
654
  white-space: ${({ whiteSpace }) => whiteSpace && whiteSpace};
655
+ text-overflow: ${({ textOverflow }) => textOverflow && textOverflow};
655
656
  ${({ textDecorations }) => textDecorations && react$1.css`
656
657
  text-decoration: ${textDecorations};
657
658
  `};
@@ -671,6 +672,7 @@ var Text = React3.forwardRef(
671
672
  color = "neutral700",
672
673
  display = "inline-block",
673
674
  textAlign = "start",
675
+ textOverflow,
674
676
  className,
675
677
  as
676
678
  } = _b, rest = __objRest(_b, [
@@ -680,6 +682,7 @@ var Text = React3.forwardRef(
680
682
  "color",
681
683
  "display",
682
684
  "textAlign",
685
+ "textOverflow",
683
686
  "className",
684
687
  "as"
685
688
  ]);
@@ -692,6 +695,7 @@ var Text = React3.forwardRef(
692
695
  color,
693
696
  display,
694
697
  textAlign,
698
+ textOverflow,
695
699
  as
696
700
  }, rest), {
697
701
  "data-shoplflow": "Text",
@@ -5774,57 +5778,6 @@ var WeekDatepicker = ({
5774
5778
  ] });
5775
5779
  };
5776
5780
  exports.WeekDatepicker = WeekDatepicker;
5777
- var Title = ({
5778
- title,
5779
- titleTypography = "body1_700",
5780
- titleColor = "neutral700",
5781
- total,
5782
- description,
5783
- tooltipPlacement = "right",
5784
- isRequired,
5785
- isShowHelpIcon,
5786
- tooltipOffsetValue,
5787
- tooltipMessage = "",
5788
- rightSource
5789
- }) => {
5790
- const domain = exports.getDomain();
5791
- const descriptionTypography = domain === "hada" ? "body2_400" : "body1_400";
5792
- return /* @__PURE__ */ jsxRuntime.jsxs(exports.Stack.Vertical, { width: "100%", children: [
5793
- /* @__PURE__ */ jsxRuntime.jsxs(
5794
- exports.StackContainer,
5795
- {
5796
- direction: "row",
5797
- align: "center",
5798
- width: "100%",
5799
- minHeight: "40px",
5800
- height: "auto",
5801
- justify: "space-between",
5802
- children: [
5803
- /* @__PURE__ */ jsxRuntime.jsxs(exports.Stack.Horizontal, { align: "center", spacing: "spacing04", children: [
5804
- /* @__PURE__ */ jsxRuntime.jsxs(exports.Text, { color: titleColor, typography: titleTypography, wordBreak: "break-all", children: [
5805
- title,
5806
- " ",
5807
- isRequired && /* @__PURE__ */ jsxRuntime.jsx(exports.Text, { typography: "body1_700", color: "red300", children: "*" })
5808
- ] }),
5809
- /* @__PURE__ */ jsxRuntime.jsx(exports.Text, { color: "primary300", typography: "body1_700", children: total }),
5810
- isShowHelpIcon && /* @__PURE__ */ jsxRuntime.jsx(
5811
- exports.Tooltip,
5812
- {
5813
- placement: tooltipPlacement,
5814
- offset: tooltipOffsetValue,
5815
- trigger: /* @__PURE__ */ jsxRuntime.jsx(ShoplAssets.HelpIcon, { width: 20, height: 20 }),
5816
- popper: /* @__PURE__ */ jsxRuntime.jsx(exports.Tooltip.Content, { content: tooltipMessage })
5817
- }
5818
- )
5819
- ] }),
5820
- rightSource && rightSource
5821
- ]
5822
- }
5823
- ),
5824
- description && /* @__PURE__ */ jsxRuntime.jsx(exports.StackContainer, { minHeight: "30px", height: "auto", children: /* @__PURE__ */ jsxRuntime.jsx(exports.Text, { typography: descriptionTypography, color: "neutral500", wordBreak: "break-all", children: description }) })
5825
- ] });
5826
- };
5827
- exports.Title = Title;
5828
5781
  var SpaceMarginWrapper = styled6__default.default(framerMotion.motion.div)`
5829
5782
  position: relative;
5830
5783
  display: flex;