@trackunit/filters-asset-filter-definitions 1.3.89 → 1.3.92
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/index.cjs.js +2 -2
- package/index.esm.js +2 -2
- package/package.json +16 -16
package/index.cjs.js
CHANGED
|
@@ -3083,11 +3083,11 @@ const SearchFilterInline = ({ filterBarActions, filterState, filterDefinition, l
|
|
|
3083
3083
|
});
|
|
3084
3084
|
filterDefinition?.filterKey && filterBarActions.setStringValue(filterDefinition.filterKey, value);
|
|
3085
3085
|
}, [filterDefinition?.filterKey, filterBarActions, logEvent, setRecentSearches]);
|
|
3086
|
-
return (jsxRuntime.jsxs(reactComponents.Popover, { activation: defaultActivation => ({ ...defaultActivation, keyboardHandlers: false }), dataTestId: dataTestId ? `${dataTestId}-popover` : undefined, placement: "bottom-start", children: [jsxRuntime.jsx(reactComponents.PopoverTrigger, { children: jsxRuntime.jsx("div", { "data-testid": "filters-menu-search-field-container", children: jsxRuntime.jsx(reactFormComponents.Search
|
|
3086
|
+
return (jsxRuntime.jsxs(reactComponents.Popover, { activation: defaultActivation => ({ ...defaultActivation, keyboardHandlers: false }), dataTestId: dataTestId ? `${dataTestId}-popover` : undefined, placement: "bottom-start", children: [jsxRuntime.jsx(reactComponents.PopoverTrigger, { children: jsxRuntime.jsx("div", { className: "flex-grow", "data-testid": "filters-menu-search-field-container", children: jsxRuntime.jsx(reactFormComponents.Search
|
|
3087
3087
|
//TODO: [Buss] remove height restriction once baseinput sizes matches buttons
|
|
3088
3088
|
, {
|
|
3089
3089
|
//TODO: [Buss] remove height restriction once baseinput sizes matches buttons
|
|
3090
|
-
className: tailwindMerge.twMerge(className, "h-7 min-w-32 max-w-
|
|
3090
|
+
className: tailwindMerge.twMerge(className, "h-7 min-w-32 max-w-none shrink grow basis-32"), dataTestId: "filterbar-search", fieldSize: "small", onChange: e => {
|
|
3091
3091
|
const parsedValue = zod.z.string().safeParse(e.target.value);
|
|
3092
3092
|
parsedValue.success ? setSearchString(parsedValue.data) : setSearchString("");
|
|
3093
3093
|
}, onClear: () => setSearchString(""), onKeyDown: e => {
|
package/index.esm.js
CHANGED
|
@@ -3081,11 +3081,11 @@ const SearchFilterInline = ({ filterBarActions, filterState, filterDefinition, l
|
|
|
3081
3081
|
});
|
|
3082
3082
|
filterDefinition?.filterKey && filterBarActions.setStringValue(filterDefinition.filterKey, value);
|
|
3083
3083
|
}, [filterDefinition?.filterKey, filterBarActions, logEvent, setRecentSearches]);
|
|
3084
|
-
return (jsxs(Popover, { activation: defaultActivation => ({ ...defaultActivation, keyboardHandlers: false }), dataTestId: dataTestId ? `${dataTestId}-popover` : undefined, placement: "bottom-start", children: [jsx(PopoverTrigger, { children: jsx("div", { "data-testid": "filters-menu-search-field-container", children: jsx(Search
|
|
3084
|
+
return (jsxs(Popover, { activation: defaultActivation => ({ ...defaultActivation, keyboardHandlers: false }), dataTestId: dataTestId ? `${dataTestId}-popover` : undefined, placement: "bottom-start", children: [jsx(PopoverTrigger, { children: jsx("div", { className: "flex-grow", "data-testid": "filters-menu-search-field-container", children: jsx(Search
|
|
3085
3085
|
//TODO: [Buss] remove height restriction once baseinput sizes matches buttons
|
|
3086
3086
|
, {
|
|
3087
3087
|
//TODO: [Buss] remove height restriction once baseinput sizes matches buttons
|
|
3088
|
-
className: twMerge(className, "h-7 min-w-32 max-w-
|
|
3088
|
+
className: twMerge(className, "h-7 min-w-32 max-w-none shrink grow basis-32"), dataTestId: "filterbar-search", fieldSize: "small", onChange: e => {
|
|
3089
3089
|
const parsedValue = z.string().safeParse(e.target.value);
|
|
3090
3090
|
parsedValue.success ? setSearchString(parsedValue.data) : setSearchString("");
|
|
3091
3091
|
}, onClear: () => setSearchString(""), onKeyDown: e => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/filters-asset-filter-definitions",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.92",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -17,21 +17,21 @@
|
|
|
17
17
|
"@tanstack/react-router": "1.47.1",
|
|
18
18
|
"string-ts": "^2.0.0",
|
|
19
19
|
"tailwind-merge": "^2.0.0",
|
|
20
|
-
"@trackunit/iris-app-build-utilities": "1.3.
|
|
21
|
-
"@trackunit/filters-filter-bar": "1.3.
|
|
22
|
-
"@trackunit/react-core-hooks": "1.3.
|
|
23
|
-
"@trackunit/react-filter-components": "1.3.
|
|
24
|
-
"@trackunit/react-form-components": "1.3.
|
|
25
|
-
"@trackunit/filters-graphql-hook": "1.3.
|
|
26
|
-
"@trackunit/utilization-indicator": "1.3.
|
|
27
|
-
"@trackunit/geo-json-utils": "1.3.
|
|
28
|
-
"@trackunit/react-components": "1.4.
|
|
29
|
-
"@trackunit/shared-utils": "1.5.
|
|
30
|
-
"@trackunit/translations-machine-type": "1.3.
|
|
31
|
-
"@trackunit/criticality-indicator": "1.3.
|
|
32
|
-
"@trackunit/iris-app-api": "1.3.
|
|
33
|
-
"@trackunit/react-core-contexts-test": "1.3.
|
|
34
|
-
"@trackunit/i18n-library-translation": "1.3.
|
|
20
|
+
"@trackunit/iris-app-build-utilities": "1.3.51",
|
|
21
|
+
"@trackunit/filters-filter-bar": "1.3.84",
|
|
22
|
+
"@trackunit/react-core-hooks": "1.3.52",
|
|
23
|
+
"@trackunit/react-filter-components": "1.3.69",
|
|
24
|
+
"@trackunit/react-form-components": "1.3.69",
|
|
25
|
+
"@trackunit/filters-graphql-hook": "1.3.84",
|
|
26
|
+
"@trackunit/utilization-indicator": "1.3.64",
|
|
27
|
+
"@trackunit/geo-json-utils": "1.3.50",
|
|
28
|
+
"@trackunit/react-components": "1.4.60",
|
|
29
|
+
"@trackunit/shared-utils": "1.5.49",
|
|
30
|
+
"@trackunit/translations-machine-type": "1.3.55",
|
|
31
|
+
"@trackunit/criticality-indicator": "1.3.64",
|
|
32
|
+
"@trackunit/iris-app-api": "1.3.51",
|
|
33
|
+
"@trackunit/react-core-contexts-test": "1.3.52",
|
|
34
|
+
"@trackunit/i18n-library-translation": "1.3.54"
|
|
35
35
|
},
|
|
36
36
|
"module": "./index.esm.js",
|
|
37
37
|
"main": "./index.cjs.js",
|