@flytedan/flytebot-design-system 0.26.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flytedan/flytebot-design-system",
3
- "version": "0.26.0",
3
+ "version": "0.27.0",
4
4
  "description": "flytedesk Design System — shared component library, tokens, and business-logic kits for flytedesk apps.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -3167,21 +3167,25 @@
3167
3167
  /* Layout utility modifiers for .fd-stack/.fd-row (SMS-7 Q1): 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 match the kit's existing spacing
3171
- * scale's smaller steps (8/12/16/20px); min-width sizes are named, not
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
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: 12px;
3179
+ gap: var(--s-sm);
3179
3180
  }
3180
3181
  .fd-gap-md {
3181
- gap: 16px;
3182
+ gap: var(--s-md);
3182
3183
  }
3183
3184
  .fd-gap-lg {
3184
- gap: 20px;
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;
@@ -3212,11 +3216,14 @@
3212
3216
  height: 100vh;
3213
3217
  }
3214
3218
  /* An actions row above a page's main content, right-aligned — e.g. a single
3215
- * secondary action sitting above an EmptyState. */
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. */
3216
3224
  .fd-toolbar-end {
3217
3225
  display: flex;
3218
3226
  justify-content: flex-end;
3219
- padding: 16px 16px 0;
3220
3227
  }
3221
3228
  .fd-grid-stats {
3222
3229
  display: grid;