@trackunit/filters-filter-bar 2.6.48 → 2.6.50
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 -1
- package/index.esm.js +3 -2
- package/package.json +12 -12
- package/migrations/entry.js.map +0 -1
package/index.cjs.js
CHANGED
|
@@ -1155,7 +1155,8 @@ const RenderHierarchicalOption = ({ option, filterDefinition, filterBarActions,
|
|
|
1155
1155
|
});
|
|
1156
1156
|
return (jsxRuntime.jsxs(react.Fragment, { children: [jsxRuntime.jsx("div", { className: cvaOptionItem({ indentationLevel: level > 6 ? 6 : level }), children: jsxRuntime.jsx(reactFilterComponents.CheckBoxFilterItem, { checked: isChecked, className: "rounded-none", "data-testid": `hierarchical-filter-check-box-${option.key}`, indeterminate: isIndeterminate, itemCount: showCount ? option.count : undefined, label: option.label, name: `hierarchical-filter-check-box-${option.key}`, onChange: handleSelect }) }), option.children?.map(child => (jsxRuntime.jsx(RenderHierarchicalOption, { cascadeSelection: cascadeSelection, filterBarActions: filterBarActions, filterDefinition: filterDefinition, logEvent: logEvent, option: child, optionsMap: optionsMap, selectedValues: selectedValues, setValue: setValue, showCount: showCount }, child.key)))] }, option.key));
|
|
1157
1157
|
};
|
|
1158
|
-
const cvaOptionItem = cssClassVarianceUtilities.
|
|
1158
|
+
const cvaOptionItem = cssClassVarianceUtilities.cva({
|
|
1159
|
+
base: ["m-1"],
|
|
1159
1160
|
variants: {
|
|
1160
1161
|
indentationLevel: {
|
|
1161
1162
|
0: ["pl-0"],
|
package/index.esm.js
CHANGED
|
@@ -11,7 +11,7 @@ import { Search, NumberField, RadioGroup } from '@trackunit/react-form-component
|
|
|
11
11
|
import { DayRangePicker } from '@trackunit/react-date-and-time-components';
|
|
12
12
|
import { nonNullable, capitalize as capitalize$1, objectValues, truthy, objectKeys, readLocalStorageValue, writeLocalStorageValue } from '@trackunit/shared-utils';
|
|
13
13
|
import { customFieldFilterKey } from '@trackunit/iris-app-api';
|
|
14
|
-
import {
|
|
14
|
+
import { cva } from '@trackunit/css-class-variance-utilities';
|
|
15
15
|
import { dequal } from 'dequal';
|
|
16
16
|
import { geoJsonPolygonSchema, geoJsonMultiPolygonSchema } from '@trackunit/geo-json-utils';
|
|
17
17
|
import { z } from 'zod';
|
|
@@ -1153,7 +1153,8 @@ const RenderHierarchicalOption = ({ option, filterDefinition, filterBarActions,
|
|
|
1153
1153
|
});
|
|
1154
1154
|
return (jsxs(Fragment$1, { children: [jsx("div", { className: cvaOptionItem({ indentationLevel: level > 6 ? 6 : level }), children: jsx(CheckBoxFilterItem, { checked: isChecked, className: "rounded-none", "data-testid": `hierarchical-filter-check-box-${option.key}`, indeterminate: isIndeterminate, itemCount: showCount ? option.count : undefined, label: option.label, name: `hierarchical-filter-check-box-${option.key}`, onChange: handleSelect }) }), option.children?.map(child => (jsx(RenderHierarchicalOption, { cascadeSelection: cascadeSelection, filterBarActions: filterBarActions, filterDefinition: filterDefinition, logEvent: logEvent, option: child, optionsMap: optionsMap, selectedValues: selectedValues, setValue: setValue, showCount: showCount }, child.key)))] }, option.key));
|
|
1155
1155
|
};
|
|
1156
|
-
const cvaOptionItem =
|
|
1156
|
+
const cvaOptionItem = cva({
|
|
1157
|
+
base: ["m-1"],
|
|
1157
1158
|
variants: {
|
|
1158
1159
|
indentationLevel: {
|
|
1159
1160
|
0: ["pl-0"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/filters-filter-bar",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.50",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
"tailwind-merge": "^2.0.0",
|
|
12
12
|
"string-ts": "^2.0.0",
|
|
13
13
|
"zod": "^3.25.76",
|
|
14
|
-
"@trackunit/iris-app-api": "2.4.
|
|
15
|
-
"@trackunit/react-core-hooks": "1.21.
|
|
16
|
-
"@trackunit/react-filter-components": "2.6.
|
|
17
|
-
"@trackunit/react-date-and-time-components": "2.6.
|
|
18
|
-
"@trackunit/shared-utils": "1.16.
|
|
19
|
-
"@trackunit/react-form-components": "2.6.
|
|
20
|
-
"@trackunit/iris-app-runtime-core-api": "1.17.
|
|
21
|
-
"@trackunit/geo-json-utils": "1.15.
|
|
22
|
-
"@trackunit/i18n-library-translation": "2.4.
|
|
23
|
-
"@trackunit/css-class-variance-utilities": "
|
|
24
|
-
"@trackunit/react-components": "2.
|
|
14
|
+
"@trackunit/iris-app-api": "2.4.32",
|
|
15
|
+
"@trackunit/react-core-hooks": "1.21.42",
|
|
16
|
+
"@trackunit/react-filter-components": "2.6.49",
|
|
17
|
+
"@trackunit/react-date-and-time-components": "2.6.49",
|
|
18
|
+
"@trackunit/shared-utils": "1.16.33",
|
|
19
|
+
"@trackunit/react-form-components": "2.6.49",
|
|
20
|
+
"@trackunit/iris-app-runtime-core-api": "1.17.42",
|
|
21
|
+
"@trackunit/geo-json-utils": "1.15.32",
|
|
22
|
+
"@trackunit/i18n-library-translation": "2.4.42",
|
|
23
|
+
"@trackunit/css-class-variance-utilities": "2.0.0",
|
|
24
|
+
"@trackunit/react-components": "2.13.1"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@apollo/client": "^3.13.8",
|
package/migrations/entry.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../../../libs/filters/filter-bar/migrations/entry.ts"],"names":[],"mappings":"","sourcesContent":["export {};\n"]}
|