@flytedan/flytebot-design-system 0.51.1 → 0.51.3

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.1",
3
+ "version": "0.51.3",
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,18 +3041,27 @@
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 column can hold
3045
- both; on a bar too narrow for that (capped at 45% of the main column, so the chips keep the
3046
- rest) Clear all drops under the button, still in this column and never on a row of the
3047
- chips' own. */
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
+ }
3048
3053
  .fd-filterbar-trigger {
3049
- flex: 0 1 auto;
3050
- max-width: 45%;
3054
+ flex: none;
3051
3055
  display: flex;
3052
- flex-wrap: wrap;
3053
3056
  align-items: center;
3054
3057
  gap: var(--s-sm) var(--s-md);
3055
3058
  }
3059
+ @container (max-width: 30rem) {
3060
+ .fd-filterbar-trigger {
3061
+ flex-direction: column;
3062
+ align-items: flex-start;
3063
+ }
3064
+ }
3056
3065
  /* The count of applied filters, inside the Filter button: the kit's blue count pill, shrunk to
3057
3066
  sit beside the button's text without making the button taller. */
3058
3067
  .fd-filterbar-count {