@flytedan/flytebot-design-system 0.26.0 → 0.27.1
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/package.json +1 -1
- package/styles/components.css +13 -16
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -3164,24 +3164,28 @@
|
|
|
3164
3164
|
display: flex;
|
|
3165
3165
|
align-items: center;
|
|
3166
3166
|
}
|
|
3167
|
-
/*
|
|
3167
|
+
/* SMS-7: layout utility modifiers for .fd-stack/.fd-row — the gap/wrap/
|
|
3168
3168
|
* align/min-width/flex values every consumer app was reaching for inline —
|
|
3169
3169
|
* pulled out here once so no app hand-rolls `style={{ gap, flexWrap,
|
|
3170
|
-
* alignItems, ... }}` again. Gap sizes
|
|
3171
|
-
*
|
|
3170
|
+
* alignItems, ... }}` again. Gap sizes are the spacing scale's own sm/md/lg/xl
|
|
3171
|
+
* steps (styles/tokens.css) — each class name is that token's tier, so
|
|
3172
|
+
* `fd-gap-md` is always `var(--s-md)`, never a value only that class knows
|
|
3173
|
+
* about. There is no bare `fd-gap-xs`: the scale's xs step (4px) hasn't had a
|
|
3174
|
+
* consumer yet, so it isn't exposed as an unused utility (add it, at
|
|
3175
|
+
* `var(--s-xs)`, the day something needs it). min-width sizes are named, not
|
|
3172
3176
|
* arbitrary, so a consumer picks "sm"/"md" rather than inventing a pixel
|
|
3173
3177
|
* value. */
|
|
3174
|
-
.fd-gap-xs {
|
|
3175
|
-
gap: 8px;
|
|
3176
|
-
}
|
|
3177
3178
|
.fd-gap-sm {
|
|
3178
|
-
gap:
|
|
3179
|
+
gap: var(--s-sm);
|
|
3179
3180
|
}
|
|
3180
3181
|
.fd-gap-md {
|
|
3181
|
-
gap:
|
|
3182
|
+
gap: var(--s-md);
|
|
3182
3183
|
}
|
|
3183
3184
|
.fd-gap-lg {
|
|
3184
|
-
gap:
|
|
3185
|
+
gap: var(--s-lg);
|
|
3186
|
+
}
|
|
3187
|
+
.fd-gap-xl {
|
|
3188
|
+
gap: var(--s-xl);
|
|
3185
3189
|
}
|
|
3186
3190
|
.fd-wrap {
|
|
3187
3191
|
flex-wrap: wrap;
|
|
@@ -3211,13 +3215,6 @@
|
|
|
3211
3215
|
place-items: center;
|
|
3212
3216
|
height: 100vh;
|
|
3213
3217
|
}
|
|
3214
|
-
/* An actions row above a page's main content, right-aligned — e.g. a single
|
|
3215
|
-
* secondary action sitting above an EmptyState. */
|
|
3216
|
-
.fd-toolbar-end {
|
|
3217
|
-
display: flex;
|
|
3218
|
-
justify-content: flex-end;
|
|
3219
|
-
padding: 16px 16px 0;
|
|
3220
|
-
}
|
|
3221
3218
|
.fd-grid-stats {
|
|
3222
3219
|
display: grid;
|
|
3223
3220
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
|