@gooddata/sdk-ui-filters 11.41.0-alpha.5 → 11.41.0
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/esm/AttributeFilter/Components/Dropdown/AttributeFilterDropdown.d.ts.map +1 -1
- package/esm/AttributeFilter/Components/Dropdown/AttributeFilterDropdown.js +1 -1
- package/esm/AttributeFilter/Components/DropdownButton/AttributeFilterDropdownButton.d.ts +13 -1
- package/esm/AttributeFilter/Components/DropdownButton/AttributeFilterDropdownButton.d.ts.map +1 -1
- package/esm/AttributeFilter/Components/DropdownButton/AttributeFilterDropdownButton.js +2 -2
- package/esm/FilterGroup/FilterGroup.d.ts.map +1 -1
- package/esm/FilterGroup/FilterGroup.js +4 -4
- package/esm/sdk-ui-filters.d.ts +13 -1
- package/package.json +12 -12
- package/styles/css/attributeFilter.css +23 -29
- package/styles/css/attributeFilter.css.map +1 -1
- package/styles/css/attributeFilterNext/attributeFilterDropdownButton.css +19 -29
- package/styles/css/attributeFilterNext/attributeFilterDropdownButton.css.map +1 -1
- package/styles/css/attributeFilterNext/attributeFilterError.css +4 -0
- package/styles/css/attributeFilterNext/attributeFilterError.css.map +1 -1
- package/styles/css/attributeFilterNext.css +23 -29
- package/styles/css/attributeFilterNext.css.map +1 -1
- package/styles/css/filterGroup.css +1 -4
- package/styles/css/filterGroup.css.map +1 -1
- package/styles/css/main.css +24 -33
- package/styles/css/main.css.map +1 -1
- package/styles/scss/attributeFilterNext/attributeFilterDropdownButton.scss +24 -38
- package/styles/scss/attributeFilterNext/attributeFilterError.scss +6 -0
- package/styles/scss/filterGroup.scss +2 -6
|
@@ -16,9 +16,6 @@
|
|
|
16
16
|
.gd-attribute-filter-dropdown-button__next,
|
|
17
17
|
.gd-mvf-dashboard-filter-button__next {
|
|
18
18
|
position: relative;
|
|
19
|
-
max-width: 230px;
|
|
20
|
-
padding: 5px 10px;
|
|
21
|
-
font-size: 12px;
|
|
22
19
|
line-height: 16px;
|
|
23
20
|
|
|
24
21
|
&::after {
|
|
@@ -92,6 +89,18 @@
|
|
|
92
89
|
@include typo-mixins.gd-font-base;
|
|
93
90
|
}
|
|
94
91
|
|
|
92
|
+
.gd-attribute-filter-dropdown-button__next:not(.gd-ui-kit-control-button),
|
|
93
|
+
.gd-mvf-dashboard-filter-button__next:not(.gd-ui-kit-control-button) {
|
|
94
|
+
max-width: 230px;
|
|
95
|
+
padding: 5px 10px;
|
|
96
|
+
font-size: 12px;
|
|
97
|
+
|
|
98
|
+
// Keep room for the drag handle.
|
|
99
|
+
&.gd-is-draggable {
|
|
100
|
+
padding-left: 23px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
95
104
|
.gd-attribute-filter-mobile-button-wrapper {
|
|
96
105
|
display: flex;
|
|
97
106
|
align-items: center;
|
|
@@ -106,7 +115,6 @@
|
|
|
106
115
|
}
|
|
107
116
|
|
|
108
117
|
.gd-ui-kit-control-button__content {
|
|
109
|
-
padding-right: 20px;
|
|
110
118
|
flex-direction: row;
|
|
111
119
|
align-items: center;
|
|
112
120
|
}
|
|
@@ -123,14 +131,22 @@
|
|
|
123
131
|
background-color: #fff;
|
|
124
132
|
background-image: none;
|
|
125
133
|
}
|
|
126
|
-
|
|
127
|
-
.gd-ui-kit-control-button__subtitle-row::after {
|
|
128
|
-
right: 0;
|
|
129
|
-
}
|
|
130
134
|
}
|
|
131
135
|
}
|
|
132
136
|
}
|
|
133
137
|
|
|
138
|
+
// The error tooltip wraps the chip in a `gd-bubble-trigger` span (inline by default). On mobile the
|
|
139
|
+
// chip stretches to the full row width, so the wrapper and the trigger must not collapse it.
|
|
140
|
+
.gd-is-mobile .gd-attribute-filter-button-wrapper {
|
|
141
|
+
flex: 1;
|
|
142
|
+
min-width: 0;
|
|
143
|
+
|
|
144
|
+
.gd-bubble-trigger {
|
|
145
|
+
display: block;
|
|
146
|
+
width: 100%;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
134
150
|
// When the mobile menu (three-dot button) is present next to the filter button,
|
|
135
151
|
// flatten the button to a clean bar without border/radius.
|
|
136
152
|
.gd-is-mobile--with-menu {
|
|
@@ -138,8 +154,6 @@
|
|
|
138
154
|
border-bottom: 1px solid var(--gd-palette-complementary-4, #ccd8e2);
|
|
139
155
|
|
|
140
156
|
.gd-attribute-filter-dropdown-button__next.gd-is-active {
|
|
141
|
-
height: 45px;
|
|
142
|
-
padding: 0 10px;
|
|
143
157
|
border-radius: 0;
|
|
144
158
|
background-color: var(--gd-palette-complementary-0, #fff);
|
|
145
159
|
|
|
@@ -214,34 +228,6 @@
|
|
|
214
228
|
display: none;
|
|
215
229
|
}
|
|
216
230
|
|
|
217
|
-
// Overlay context (mobile filter overlay): title becomes a label with ":" separator;
|
|
218
|
-
// subtitle expands and its chevron is absolutely positioned at the row's right edge.
|
|
219
|
-
.overlay .gd-attribute-filter-dropdown-button__next {
|
|
220
|
-
.gd-ui-kit-control-button__title {
|
|
221
|
-
flex: 0 0 auto;
|
|
222
|
-
max-width: 100%;
|
|
223
|
-
margin-right: 5px;
|
|
224
|
-
color: variables.$gd-color-label;
|
|
225
|
-
|
|
226
|
-
&::after {
|
|
227
|
-
content: ":";
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.gd-ui-kit-control-button__subtitle-row {
|
|
232
|
-
flex: 1 1 auto;
|
|
233
|
-
max-width: none;
|
|
234
|
-
|
|
235
|
-
&::after {
|
|
236
|
-
position: absolute;
|
|
237
|
-
top: 50%;
|
|
238
|
-
right: -20px;
|
|
239
|
-
font-size: 18px;
|
|
240
|
-
transform: translateY(-50%);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
231
|
.gd-attribute-filter-dropdown-button-selected-items__next,
|
|
246
232
|
.gd-measure-value-filter-dropdown-button-selected-items__next {
|
|
247
233
|
display: inline-block;
|
|
@@ -18,3 +18,9 @@
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
// On mobile the error chip fills the full row width instead of the compact desktop width.
|
|
23
|
+
// Declared last so it wins over both width rules above for the mobile context.
|
|
24
|
+
.gd-is-mobile .gd-attribute-filter-dropdown-button__next.gd-message.error {
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
@@ -50,13 +50,9 @@
|
|
|
50
50
|
.gd-mobile-dropdown-content .gd-infinite-list.gd-filter-group-body {
|
|
51
51
|
& .gd-ui-kit-paged-virtual-list__item {
|
|
52
52
|
& .gd-attribute-filter-dropdown-button__next {
|
|
53
|
-
|
|
54
|
-
border: none;
|
|
55
|
-
border-bottom: 1px solid var(--gd-palette-complementary-3);
|
|
56
|
-
border-radius: 0;
|
|
57
|
-
box-shadow: none;
|
|
58
|
-
}
|
|
53
|
+
border-bottom: 1px solid var(--gd-palette-complementary-3);
|
|
59
54
|
}
|
|
55
|
+
// Hide open/close chevron while the filter sits in the list;
|
|
60
56
|
& .gd-ui-kit-control-button__subtitle-row {
|
|
61
57
|
&::after {
|
|
62
58
|
display: none;
|