@flytedan/flytebot-design-system 0.51.0 → 0.51.2

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.0",
3
+ "version": "0.51.2",
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",
@@ -3041,8 +3041,26 @@
3041
3041
  .fd-filterbar-main:not(:has(.fd-filterbar-trigger, .fd-tag)) {
3042
3042
  display: none;
3043
3043
  }
3044
+ /* The Filter button, and Clear all right after it. Beside each other while the main column has
3045
+ room for both and a chip; below 30rem (the two, a gap and one chip at its max) Clear all stacks
3046
+ under the button, still in this column and never on a row of the chips' own. The column is
3047
+ exactly as wide as what is in it either way, so the chips always start one gap from it. The
3048
+ switch is a container query on the main column, not a wrapping flex row: a wrapped row takes
3049
+ its cap as its width and leaves a hole beside the button. */
3050
+ .fd-filterbar-main {
3051
+ container-type: inline-size;
3052
+ }
3044
3053
  .fd-filterbar-trigger {
3045
3054
  flex: none;
3055
+ display: flex;
3056
+ align-items: center;
3057
+ gap: var(--s-sm) var(--s-md);
3058
+ }
3059
+ @container (max-width: 30rem) {
3060
+ .fd-filterbar-trigger {
3061
+ flex-direction: column;
3062
+ align-items: flex-start;
3063
+ }
3046
3064
  }
3047
3065
  /* The count of applied filters, inside the Filter button: the kit's blue count pill, shrunk to
3048
3066
  sit beside the button's text without making the button taller. */