@flytedan/flytebot-design-system 0.51.5 → 0.51.6

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.51.5",
3
+ "version": "0.51.6",
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",
@@ -3066,11 +3066,13 @@
3066
3066
  display: none;
3067
3067
  }
3068
3068
  /* The Filter button, and Clear all right after it. Beside each other while the main column has
3069
- room for both and a chip; below 30rem (the two, a gap and one chip at its max) Clear all stacks
3070
- under the button, still in this column and never on a row of the chips' own. The column is
3071
- exactly as wide as what is in it either way, so the chips always start one gap from it. The
3072
- switch is a container query on the main column, not a wrapping flex row: a wrapped row takes
3073
- its cap as its width and leaves a hole beside the button. */
3069
+ room for both and a chip; when the actions beside the main column leave it under 30rem (the two,
3070
+ a gap and one chip at its max) Clear all stacks under the button, still in this column and
3071
+ never on a row of the chips' own. The column is exactly as wide as what is in it either way, so
3072
+ the chips always start one gap from it. The switch is a container query on the main column, not
3073
+ a wrapping flex row: a wrapped row takes its cap as its width and leaves a hole beside the
3074
+ button. A bar under 30rem wide is the phone layout below, which puts Clear all beside the
3075
+ button again. */
3074
3076
  .fd-filterbar-main {
3075
3077
  container-type: inline-size;
3076
3078
  }
@@ -3080,7 +3082,7 @@
3080
3082
  align-items: center;
3081
3083
  gap: var(--s-sm) var(--s-md);
3082
3084
  }
3083
- @container (max-width: 30rem) {
3085
+ @container (width < 30rem) {
3084
3086
  .fd-filterbar-trigger {
3085
3087
  flex-direction: column;
3086
3088
  align-items: flex-start;
@@ -3127,11 +3129,16 @@
3127
3129
  .fd-filterbar-trigger {
3128
3130
  flex-direction: row;
3129
3131
  flex-wrap: wrap;
3132
+ align-items: center;
3130
3133
  }
3131
3134
  .fd-filterbar-chips {
3132
3135
  flex: none;
3133
3136
  min-height: 0;
3134
3137
  }
3138
+ /* No chips, no row: an empty chips area would still add a row gap under the button. */
3139
+ .fd-filterbar-chips:empty {
3140
+ display: none;
3141
+ }
3135
3142
  }
3136
3143
  /* MP-282: seen live at 375px — a chip whose value is long (a full campaign name) painted
3137
3144
  637px wide inside a 297px-wide bar instead of respecting it, because .fd-tag is `flex: