@flytedan/flytebot-design-system 0.25.0 → 0.27.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 +9 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +64 -0
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -1789,6 +1789,9 @@
|
|
|
1789
1789
|
.fd-stat-delta-down {
|
|
1790
1790
|
color: var(--danger-text);
|
|
1791
1791
|
}
|
|
1792
|
+
.fd-stat-delta-neutral {
|
|
1793
|
+
color: var(--text-muted);
|
|
1794
|
+
}
|
|
1792
1795
|
|
|
1793
1796
|
/* ============ Meter / progress ============ */
|
|
1794
1797
|
.fd-meterbar {
|
|
@@ -3161,6 +3164,67 @@
|
|
|
3161
3164
|
display: flex;
|
|
3162
3165
|
align-items: center;
|
|
3163
3166
|
}
|
|
3167
|
+
/* Layout utility modifiers for .fd-stack/.fd-row (SMS-7 Q1): the gap/wrap/
|
|
3168
|
+
* align/min-width/flex values every consumer app was reaching for inline —
|
|
3169
|
+
* pulled out here once so no app hand-rolls `style={{ gap, flexWrap,
|
|
3170
|
+
* alignItems, ... }}` again. Gap sizes are the spacing scale's own sm/md/lg/xl
|
|
3171
|
+
* steps (tokens/space.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
|
|
3176
|
+
* arbitrary, so a consumer picks "sm"/"md" rather than inventing a pixel
|
|
3177
|
+
* value. */
|
|
3178
|
+
.fd-gap-sm {
|
|
3179
|
+
gap: var(--s-sm);
|
|
3180
|
+
}
|
|
3181
|
+
.fd-gap-md {
|
|
3182
|
+
gap: var(--s-md);
|
|
3183
|
+
}
|
|
3184
|
+
.fd-gap-lg {
|
|
3185
|
+
gap: var(--s-lg);
|
|
3186
|
+
}
|
|
3187
|
+
.fd-gap-xl {
|
|
3188
|
+
gap: var(--s-xl);
|
|
3189
|
+
}
|
|
3190
|
+
.fd-wrap {
|
|
3191
|
+
flex-wrap: wrap;
|
|
3192
|
+
}
|
|
3193
|
+
.fd-align-start {
|
|
3194
|
+
align-items: flex-start;
|
|
3195
|
+
}
|
|
3196
|
+
.fd-align-center {
|
|
3197
|
+
align-items: center;
|
|
3198
|
+
}
|
|
3199
|
+
.fd-align-end {
|
|
3200
|
+
align-items: flex-end;
|
|
3201
|
+
}
|
|
3202
|
+
.fd-flex-1 {
|
|
3203
|
+
flex: 1 1 0%;
|
|
3204
|
+
}
|
|
3205
|
+
.fd-min-w-sm {
|
|
3206
|
+
min-width: 200px;
|
|
3207
|
+
}
|
|
3208
|
+
.fd-min-w-md {
|
|
3209
|
+
min-width: 280px;
|
|
3210
|
+
}
|
|
3211
|
+
/* A full-viewport centered region — the loading/error shell around a
|
|
3212
|
+
* signed-in app's auth gate, before the real chrome (Shell/Topbar) mounts. */
|
|
3213
|
+
.fd-center-viewport {
|
|
3214
|
+
display: grid;
|
|
3215
|
+
place-items: center;
|
|
3216
|
+
height: 100vh;
|
|
3217
|
+
}
|
|
3218
|
+
/* An actions row above a page's main content, right-aligned — e.g. a single
|
|
3219
|
+
* secondary action sitting above an EmptyState. Pure alignment only: a screen
|
|
3220
|
+
* that also needs padding around the row applies it itself (a spacing token
|
|
3221
|
+
* inline, e.g. `padding: var(--s-lg) var(--s-lg) 0`), since that padding is
|
|
3222
|
+
* that screen's own layout choice, not something every consumer of this
|
|
3223
|
+
* class wants baked in. */
|
|
3224
|
+
.fd-toolbar-end {
|
|
3225
|
+
display: flex;
|
|
3226
|
+
justify-content: flex-end;
|
|
3227
|
+
}
|
|
3164
3228
|
.fd-grid-stats {
|
|
3165
3229
|
display: grid;
|
|
3166
3230
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
|