@flytedan/flytebot-design-system 0.25.0 → 0.26.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 +57 -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,60 @@
|
|
|
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 match the kit's existing spacing
|
|
3171
|
+
* scale's smaller steps (8/12/16/20px); min-width sizes are named, not
|
|
3172
|
+
* arbitrary, so a consumer picks "sm"/"md" rather than inventing a pixel
|
|
3173
|
+
* value. */
|
|
3174
|
+
.fd-gap-xs {
|
|
3175
|
+
gap: 8px;
|
|
3176
|
+
}
|
|
3177
|
+
.fd-gap-sm {
|
|
3178
|
+
gap: 12px;
|
|
3179
|
+
}
|
|
3180
|
+
.fd-gap-md {
|
|
3181
|
+
gap: 16px;
|
|
3182
|
+
}
|
|
3183
|
+
.fd-gap-lg {
|
|
3184
|
+
gap: 20px;
|
|
3185
|
+
}
|
|
3186
|
+
.fd-wrap {
|
|
3187
|
+
flex-wrap: wrap;
|
|
3188
|
+
}
|
|
3189
|
+
.fd-align-start {
|
|
3190
|
+
align-items: flex-start;
|
|
3191
|
+
}
|
|
3192
|
+
.fd-align-center {
|
|
3193
|
+
align-items: center;
|
|
3194
|
+
}
|
|
3195
|
+
.fd-align-end {
|
|
3196
|
+
align-items: flex-end;
|
|
3197
|
+
}
|
|
3198
|
+
.fd-flex-1 {
|
|
3199
|
+
flex: 1 1 0%;
|
|
3200
|
+
}
|
|
3201
|
+
.fd-min-w-sm {
|
|
3202
|
+
min-width: 200px;
|
|
3203
|
+
}
|
|
3204
|
+
.fd-min-w-md {
|
|
3205
|
+
min-width: 280px;
|
|
3206
|
+
}
|
|
3207
|
+
/* A full-viewport centered region — the loading/error shell around a
|
|
3208
|
+
* signed-in app's auth gate, before the real chrome (Shell/Topbar) mounts. */
|
|
3209
|
+
.fd-center-viewport {
|
|
3210
|
+
display: grid;
|
|
3211
|
+
place-items: center;
|
|
3212
|
+
height: 100vh;
|
|
3213
|
+
}
|
|
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
|
+
}
|
|
3164
3221
|
.fd-grid-stats {
|
|
3165
3222
|
display: grid;
|
|
3166
3223
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
|