@wallarm-org/design-system 1.10.0 → 1.10.1-rc-fix-operator-menu-trust-ops.2

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.
@@ -9,7 +9,13 @@ import { useKeyboardNav } from "./hooks/useKeyboardNav.js";
9
9
  import { MenuEmptyState } from "./MenuEmptyState.js";
10
10
  const filterOperatorGroups = (groups, operators)=>{
11
11
  const allowed = new Set(operators);
12
- return groups.map((group)=>group.filter((op)=>allowed.has(op))).filter((group)=>group.length > 0);
12
+ const filtered = groups.map((group)=>group.filter((op)=>allowed.has(op))).filter((group)=>group.length > 0);
13
+ const known = new Set(groups.flat());
14
+ const extras = operators.filter((op)=>!known.has(op));
15
+ return extras.length > 0 ? [
16
+ ...filtered,
17
+ extras
18
+ ] : filtered;
13
19
  };
14
20
  const HIDE_SYMBOLS_FOR = new Set([
15
21
  'boolean'
@@ -52,6 +52,7 @@ const OPERATOR_LABELS_BY_TYPE = {
52
52
  '=': 'is',
53
53
  '!=': 'is not',
54
54
  in: 'in',
55
+ not_in: 'not in',
55
56
  like: 'like',
56
57
  not_like: 'not like',
57
58
  is_null: 'is not set',
@@ -64,7 +65,8 @@ const OPERATOR_LABELS_BY_TYPE = {
64
65
  '<': 'less',
65
66
  '>=': 'greater or equal',
66
67
  '<=': 'less or equal',
67
- in: 'in'
68
+ in: 'in',
69
+ not_in: 'not in'
68
70
  },
69
71
  float: {
70
72
  '=': 'is',
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.9.0",
3
- "generatedAt": "2026-08-27T14:32:57.789Z",
2
+ "version": "1.10.0",
3
+ "generatedAt": "2026-08-31T12:37:08.385Z",
4
4
  "components": [
5
5
  {
6
6
  "name": "Accordion",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wallarm-org/design-system",
3
- "version": "1.10.0",
3
+ "version": "1.10.1-rc-fix-operator-menu-trust-ops.2",
4
4
  "description": "Core design system library with React components and Storybook documentation",
5
5
  "publishConfig": {
6
6
  "access": "public",