@flytedan/flytebot-design-system 0.12.10 → 0.12.11
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 +14 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +106 -37
package/dist/index.js
CHANGED
|
@@ -2955,13 +2955,15 @@ function EntityRow({
|
|
|
2955
2955
|
onPointerDown,
|
|
2956
2956
|
className: ["fd-erow", tone === "danger" ? "fd-erow-danger" : "", className].filter(Boolean).join(" "),
|
|
2957
2957
|
style: {
|
|
2958
|
-
// display/alignItems/gap moved to the .fd-erow stylesheet rule
|
|
2959
|
-
// follow-
|
|
2960
|
-
// specificity or media/container query, which would have made
|
|
2961
|
-
// for the narrow-container rule below to ever switch this row
|
|
2962
|
-
// to a grid
|
|
2958
|
+
// display/alignItems/gap/padding moved to the .fd-erow stylesheet rule
|
|
2959
|
+
// (MP-114 follow-ups): an inline style always wins over a stylesheet rule
|
|
2960
|
+
// regardless of specificity or media/container query, which would have made
|
|
2961
|
+
// it impossible for the narrow-container rule below to ever switch this row
|
|
2962
|
+
// from a flex row to a grid — and padding specifically is also read back by
|
|
2963
|
+
// .fd-tlist-footer's own indent calc(), as --erow-pad-x, so it has to be a
|
|
2964
|
+
// real, readable stylesheet value rather than a number only this component
|
|
2965
|
+
// ever sees.
|
|
2963
2966
|
height: "100%",
|
|
2964
|
-
padding: "0 12px",
|
|
2965
2967
|
cursor: draggable ? "grab" : void 0,
|
|
2966
2968
|
// Own the gesture on touch too — without this, a touch-drag on a draggable row
|
|
2967
2969
|
// starts the page scrolling instead of (or as well as) the pointer drag.
|
|
@@ -2969,7 +2971,12 @@ function EntityRow({
|
|
|
2969
2971
|
...style
|
|
2970
2972
|
},
|
|
2971
2973
|
children: [
|
|
2972
|
-
draggable ?
|
|
2974
|
+
draggable ? (
|
|
2975
|
+
// font-size moved to the .fd-erow-grip stylesheet rule, same reason as the
|
|
2976
|
+
// row's own padding above: .fd-tlist-footer's indent reads it back as
|
|
2977
|
+
// --erow-grip-size.
|
|
2978
|
+
/* @__PURE__ */ jsx39("i", { className: "ph ph-dots-six-vertical fd-erow-grip", "aria-hidden": "true", style: { flex: "none", color: "var(--text-muted)" } })
|
|
2979
|
+
) : null,
|
|
2973
2980
|
/* @__PURE__ */ jsxs36("span", { className: "fd-erow-body", children: [
|
|
2974
2981
|
/* @__PURE__ */ jsxs36("span", { className: "fd-erow-titleline", children: [
|
|
2975
2982
|
titleIcon ? /* @__PURE__ */ jsx39(Tooltip, { label: titleIcon.tooltip, children: /* @__PURE__ */ jsxs36(
|