@flytedan/flytebot-design-system 0.67.3 → 0.68.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/dist/index.cjs +73 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -2
- package/dist/index.d.ts +16 -2
- package/dist/index.js +73 -38
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +31 -8
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -2230,28 +2230,51 @@
|
|
|
2230
2230
|
color: var(--brand);
|
|
2231
2231
|
font-size: 9px;
|
|
2232
2232
|
}
|
|
2233
|
-
|
|
2233
|
+
/* A card and, when the row has an action of its own, that action beside it: siblings, so the action is
|
|
2234
|
+
never inside the card's button. The item carries the hairline between rows. */
|
|
2235
|
+
.fd-dt-item {
|
|
2234
2236
|
display: flex;
|
|
2235
|
-
|
|
2236
|
-
gap: 3px;
|
|
2237
|
+
align-items: center;
|
|
2237
2238
|
min-width: 0;
|
|
2238
|
-
padding: 12px 14px;
|
|
2239
2239
|
border-bottom: 1px solid var(--border);
|
|
2240
2240
|
transition:
|
|
2241
2241
|
background var(--dur-fast) var(--ease),
|
|
2242
2242
|
box-shadow var(--dur-fast) var(--ease);
|
|
2243
2243
|
}
|
|
2244
|
-
.fd-dt-
|
|
2244
|
+
.fd-dt-item:last-child {
|
|
2245
2245
|
border-bottom: 0;
|
|
2246
2246
|
}
|
|
2247
|
+
.fd-dt-item > .fd-dt-card {
|
|
2248
|
+
flex: 1 1 auto;
|
|
2249
|
+
align-self: stretch;
|
|
2250
|
+
}
|
|
2251
|
+
.fd-dt-action {
|
|
2252
|
+
flex: none;
|
|
2253
|
+
padding-right: 8px;
|
|
2254
|
+
}
|
|
2255
|
+
/* The table's form of a row action: the row's last cell, as narrow as its button. */
|
|
2256
|
+
.fd-table td.fd-table-action,
|
|
2257
|
+
.fd-table th.fd-table-action-head {
|
|
2258
|
+
width: 1%;
|
|
2259
|
+
white-space: nowrap;
|
|
2260
|
+
text-align: right;
|
|
2261
|
+
}
|
|
2262
|
+
.fd-dt-card {
|
|
2263
|
+
display: flex;
|
|
2264
|
+
flex-direction: column;
|
|
2265
|
+
gap: 3px;
|
|
2266
|
+
min-width: 0;
|
|
2267
|
+
padding: 12px 14px;
|
|
2268
|
+
}
|
|
2247
2269
|
.fd-dt-card[data-clickable] {
|
|
2248
2270
|
cursor: pointer;
|
|
2249
2271
|
}
|
|
2250
|
-
|
|
2251
|
-
.fd-dt-card[data-
|
|
2272
|
+
/* The item is tinted, not the card, so the strip under a row's action is tinted with it. */
|
|
2273
|
+
.fd-dt-item:has(> .fd-dt-card[data-clickable]):hover,
|
|
2274
|
+
.fd-dt-item:has(> .fd-dt-card[data-selected="true"]) {
|
|
2252
2275
|
background: var(--surface-brand);
|
|
2253
2276
|
}
|
|
2254
|
-
.fd-dt-card[data-selected="true"] {
|
|
2277
|
+
.fd-dt-item:has(> .fd-dt-card[data-selected="true"]) {
|
|
2255
2278
|
box-shadow: inset 2px 0 0 var(--brand);
|
|
2256
2279
|
}
|
|
2257
2280
|
.fd-dt-card-title {
|