@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/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +13 -6
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -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;
|
|
3070
|
-
|
|
3071
|
-
exactly as wide as what is in it either way, so
|
|
3072
|
-
switch is a container query on the main column, not
|
|
3073
|
-
its cap as its width and leaves a hole beside the
|
|
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 (
|
|
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:
|