@gisce/react-ooui 1.1.28-rc.0 → 1.1.28

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": "@gisce/react-ooui",
3
- "version": "1.1.28-rc.0",
3
+ "version": "1.1.28",
4
4
  "files": [
5
5
  "dist",
6
6
  "src",
@@ -153,9 +153,24 @@ function TreeActionBar(props: Props) {
153
153
  }
154
154
  }}
155
155
  />
156
+ {!treeExpandable && (
157
+ <ButtonWithBadge
158
+ icon={
159
+ <FilterOutlined
160
+ style={{ color: searchVisible ? "white" : undefined }}
161
+ />
162
+ }
163
+ tooltip={t("advanced_search")}
164
+ type={searchVisible ? "primary" : "default"}
165
+ onClick={() => {
166
+ setSearchVisible?.(!searchVisible);
167
+ }}
168
+ disabled={duplicatingItem || removingItem || treeIsLoading}
169
+ badgeNumber={searchParams?.length}
170
+ />
171
+ )}
156
172
  {separator()}
157
173
  <NewButton disabled={treeIsLoading} />
158
- {separator()}
159
174
  <ActionButton
160
175
  icon={<CopyOutlined />}
161
176
  tooltip={t("duplicate")}
@@ -181,22 +196,6 @@ function TreeActionBar(props: Props) {
181
196
  {separator()}
182
197
  </>
183
198
  )}
184
- {!treeExpandable && (
185
- <ButtonWithBadge
186
- icon={
187
- <FilterOutlined
188
- style={{ color: searchVisible ? "white" : undefined }}
189
- />
190
- }
191
- tooltip={t("advanced_search")}
192
- type={searchVisible ? "primary" : "default"}
193
- onClick={() => {
194
- setSearchVisible?.(!searchVisible);
195
- }}
196
- disabled={duplicatingItem || removingItem || treeIsLoading}
197
- badgeNumber={searchParams?.length}
198
- />
199
- )}
200
199
  <ActionButton
201
200
  icon={<InfoCircleOutlined />}
202
201
  tooltip={t("showLogs")}