@tmf_ciclica/ciclicastorybook 1.2.172 → 1.2.173

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.es.js CHANGED
@@ -10916,18 +10916,14 @@ const cs = ["#a8d8cf", "#3bbfa0", "#5dd4b8", "#7ed4c2", "#2aa88a"], Ia = ({
10916
10916
  opacity: 0.9
10917
10917
  }, children: f.title }),
10918
10918
  /* @__PURE__ */ T("div", { style: {
10919
- display: "flex",
10920
- alignItems: "center",
10921
- gap: "10px"
10919
+ position: "relative",
10920
+ height: `${o}px`,
10921
+ background: "transparent"
10922
+ // no overflow:hidden here — the fill's own border-radius
10923
+ // shapes it, and the label needs to sit outside the fill
10924
+ // without being clipped
10922
10925
  }, children: [
10923
10926
  /* @__PURE__ */ u("div", { style: {
10924
- position: "relative",
10925
- flex: 1,
10926
- height: `${o}px`,
10927
- background: "transparent",
10928
- borderRadius: g,
10929
- overflow: "hidden"
10930
- }, children: /* @__PURE__ */ u("div", { style: {
10931
10927
  position: "absolute",
10932
10928
  left: 0,
10933
10929
  top: 0,
@@ -10936,15 +10932,19 @@ const cs = ["#a8d8cf", "#3bbfa0", "#5dd4b8", "#7ed4c2", "#2aa88a"], Ia = ({
10936
10932
  background: x,
10937
10933
  borderRadius: g,
10938
10934
  transition: s ? "width 0.8s cubic-bezier(0.16, 1, 0.3, 1)" : "none"
10939
- } }) }),
10935
+ } }),
10940
10936
  /* @__PURE__ */ u("span", { style: {
10937
+ position: "absolute",
10938
+ left: `calc(${w}% + 10px)`,
10939
+ top: "50%",
10940
+ transform: "translateY(-50%)",
10941
10941
  color: b,
10942
10942
  fontSize: "18px",
10943
10943
  fontWeight: "700",
10944
10944
  pointerEvents: "none",
10945
10945
  letterSpacing: "-0.3px",
10946
- minWidth: "2ch",
10947
- textAlign: "left",
10946
+ whiteSpace: "nowrap",
10947
+ transition: s ? "left 0.8s cubic-bezier(0.16, 1, 0.3, 1)" : "none",
10948
10948
  // text-stroke for the outline effect
10949
10949
  ...d ? {
10950
10950
  WebkitTextStroke: `1px ${d}`,