@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.cjs
CHANGED
|
@@ -3159,13 +3159,15 @@ function EntityRow({
|
|
|
3159
3159
|
onPointerDown,
|
|
3160
3160
|
className: ["fd-erow", tone === "danger" ? "fd-erow-danger" : "", className].filter(Boolean).join(" "),
|
|
3161
3161
|
style: {
|
|
3162
|
-
// display/alignItems/gap moved to the .fd-erow stylesheet rule
|
|
3163
|
-
// follow-
|
|
3164
|
-
// specificity or media/container query, which would have made
|
|
3165
|
-
// for the narrow-container rule below to ever switch this row
|
|
3166
|
-
// to a grid
|
|
3162
|
+
// display/alignItems/gap/padding moved to the .fd-erow stylesheet rule
|
|
3163
|
+
// (MP-114 follow-ups): an inline style always wins over a stylesheet rule
|
|
3164
|
+
// regardless of specificity or media/container query, which would have made
|
|
3165
|
+
// it impossible for the narrow-container rule below to ever switch this row
|
|
3166
|
+
// from a flex row to a grid — and padding specifically is also read back by
|
|
3167
|
+
// .fd-tlist-footer's own indent calc(), as --erow-pad-x, so it has to be a
|
|
3168
|
+
// real, readable stylesheet value rather than a number only this component
|
|
3169
|
+
// ever sees.
|
|
3167
3170
|
height: "100%",
|
|
3168
|
-
padding: "0 12px",
|
|
3169
3171
|
cursor: draggable ? "grab" : void 0,
|
|
3170
3172
|
// Own the gesture on touch too — without this, a touch-drag on a draggable row
|
|
3171
3173
|
// starts the page scrolling instead of (or as well as) the pointer drag.
|
|
@@ -3173,7 +3175,12 @@ function EntityRow({
|
|
|
3173
3175
|
...style
|
|
3174
3176
|
},
|
|
3175
3177
|
children: [
|
|
3176
|
-
draggable ?
|
|
3178
|
+
draggable ? (
|
|
3179
|
+
// font-size moved to the .fd-erow-grip stylesheet rule, same reason as the
|
|
3180
|
+
// row's own padding above: .fd-tlist-footer's indent reads it back as
|
|
3181
|
+
// --erow-grip-size.
|
|
3182
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("i", { className: "ph ph-dots-six-vertical fd-erow-grip", "aria-hidden": "true", style: { flex: "none", color: "var(--text-muted)" } })
|
|
3183
|
+
) : null,
|
|
3177
3184
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: "fd-erow-body", children: [
|
|
3178
3185
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: "fd-erow-titleline", children: [
|
|
3179
3186
|
titleIcon ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Tooltip, { label: titleIcon.tooltip, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|