@flytedan/flytebot-design-system 0.52.0 → 0.53.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/README.md +2 -2
- package/dist/index.cjs +14 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/styles/components.css +2 -0
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ TypeScript interfaces, a live interactive example, and a usage snippet — in
|
|
|
69
69
|
the docs site included in this repo (not yet published as a hosted site):
|
|
70
70
|
|
|
71
71
|
```bash
|
|
72
|
-
git clone git@github.com:
|
|
72
|
+
git clone git@github.com:Flytedesk/flytebot-design-system.git
|
|
73
73
|
cd flytebot-design-system
|
|
74
74
|
pnpm install
|
|
75
75
|
pnpm run docs
|
|
@@ -94,7 +94,7 @@ whatever a builder happens to be mid-edit on.
|
|
|
94
94
|
One-time setup, once per machine:
|
|
95
95
|
|
|
96
96
|
```bash
|
|
97
|
-
git clone git@github.com:
|
|
97
|
+
git clone git@github.com:Flytedesk/flytebot-design-system.git C:/Users/newms/deploy/flytebot-design-system
|
|
98
98
|
cd C:/Users/newms/deploy/flytebot-design-system
|
|
99
99
|
touch .deploy-clone-marker # git-ignored; scripts/release.sh refuses to run without it
|
|
100
100
|
```
|
package/dist/index.cjs
CHANGED
|
@@ -3037,19 +3037,6 @@ function FunnelChart({
|
|
|
3037
3037
|
const color = chartColor(i);
|
|
3038
3038
|
const detail = `${s.label} \u2014 ${valueFormat(value)} \xB7 ${formatPercent(Math.round(pctFirst))} of ${steps[0]?.label || "first step"}` + (stepRate != null ? ` \xB7 ${formatPercent(Math.round(stepRate))} of ${steps[i - 1].label}` : "");
|
|
3039
3039
|
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("li", { className: "fd-funnel-row", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Tooltip, { label: detail, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("button", { type: "button", className: "fd-funnel-btn", children: [
|
|
3040
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "fd-funnel-shape-wrap", style: { height: barHeight }, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
3041
|
-
"span",
|
|
3042
|
-
{
|
|
3043
|
-
className: "fd-funnel-shape",
|
|
3044
|
-
role: "img",
|
|
3045
|
-
"aria-label": detail,
|
|
3046
|
-
style: {
|
|
3047
|
-
width: widthPct + "%",
|
|
3048
|
-
background: color,
|
|
3049
|
-
clipPath: `polygon(${insetTop}% 0, ${100 - insetTop}% 0, ${100 - insetBottom}% 100%, ${insetBottom}% 100%)`
|
|
3050
|
-
}
|
|
3051
|
-
}
|
|
3052
|
-
) }),
|
|
3053
3040
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: "fd-funnel-meta", children: [
|
|
3054
3041
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "fd-funnel-label", title: truncationTitle(s.label), children: s.label }),
|
|
3055
3042
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "fd-funnel-value fd-tabular", children: valueFormat(value) }),
|
|
@@ -3063,7 +3050,20 @@ function FunnelChart({
|
|
|
3063
3050
|
" of first"
|
|
3064
3051
|
] })
|
|
3065
3052
|
] })
|
|
3066
|
-
] })
|
|
3053
|
+
] }),
|
|
3054
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "fd-funnel-shape-wrap", style: { height: barHeight }, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
3055
|
+
"span",
|
|
3056
|
+
{
|
|
3057
|
+
className: "fd-funnel-shape",
|
|
3058
|
+
role: "img",
|
|
3059
|
+
"aria-label": detail,
|
|
3060
|
+
style: {
|
|
3061
|
+
width: widthPct + "%",
|
|
3062
|
+
background: color,
|
|
3063
|
+
clipPath: `polygon(${insetTop}% 0, ${100 - insetTop}% 0, ${100 - insetBottom}% 100%, ${insetBottom}% 100%)`
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
) })
|
|
3067
3067
|
] }) }) }, s.id);
|
|
3068
3068
|
}) }),
|
|
3069
3069
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|