@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/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +16 -7
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -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
|
|
3045
|
-
both
|
|
3046
|
-
|
|
3047
|
-
chips
|
|
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:
|
|
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 {
|