@bitrise/bitkit 12.119.0 → 12.121.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/package.json
CHANGED
|
@@ -27,12 +27,23 @@ export interface FilterProps extends Omit<BoxProps, 'onChange'> {
|
|
|
27
27
|
isLoading?: boolean;
|
|
28
28
|
onChange: (state: FilterState) => void;
|
|
29
29
|
showAdd?: boolean;
|
|
30
|
+
showFilterIcon?: boolean;
|
|
30
31
|
showSearch?: boolean;
|
|
31
32
|
state: FilterState;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
const Filter = (props: FilterProps) => {
|
|
35
|
-
const {
|
|
36
|
+
const {
|
|
37
|
+
data,
|
|
38
|
+
filtersDependOn,
|
|
39
|
+
isLoading,
|
|
40
|
+
onChange,
|
|
41
|
+
showAdd = true,
|
|
42
|
+
showFilterIcon = true,
|
|
43
|
+
showSearch,
|
|
44
|
+
state,
|
|
45
|
+
...rest
|
|
46
|
+
} = props;
|
|
36
47
|
|
|
37
48
|
const isInited = useRef<boolean>(false);
|
|
38
49
|
|
|
@@ -133,7 +144,7 @@ const Filter = (props: FilterProps) => {
|
|
|
133
144
|
{isPopoverOpen && <ModalOverlay />}
|
|
134
145
|
</Modal>
|
|
135
146
|
<Box sx={filterStyle.content}>
|
|
136
|
-
<Icon name="Filter" sx={filterStyle.icon} />
|
|
147
|
+
{showFilterIcon && <Icon name="Filter" sx={filterStyle.icon} />}
|
|
137
148
|
|
|
138
149
|
{Object.keys(filters.switch).map((category) => (
|
|
139
150
|
<FilterSwitchAdapter key={category} category={category} />
|
|
@@ -1176,16 +1176,16 @@
|
|
|
1176
1176
|
"fontSize": "3",
|
|
1177
1177
|
"textDecoration": "underline"
|
|
1178
1178
|
},
|
|
1179
|
-
"comp/
|
|
1179
|
+
"comp/data/sm": {
|
|
1180
1180
|
"lineHeight": "size-3",
|
|
1181
1181
|
"fontSize": "3"
|
|
1182
1182
|
},
|
|
1183
|
-
"comp/
|
|
1183
|
+
"comp/data/md": {
|
|
1184
1184
|
"fontWeight": "semibold",
|
|
1185
1185
|
"lineHeight": "size-5",
|
|
1186
1186
|
"fontSize": "5"
|
|
1187
1187
|
},
|
|
1188
|
-
"comp/
|
|
1188
|
+
"comp/data/lg": {
|
|
1189
1189
|
"fontWeight": "semibold",
|
|
1190
1190
|
"lineHeight": "size-6",
|
|
1191
1191
|
"fontSize": "6"
|