@evoke-platform/ui-components 1.0.1-dev.1 → 1.0.1-dev.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.
@@ -333,7 +333,10 @@ const CriteriaBuilder = (props) => {
333
333
  ruleProcessor: (rule, options) => {
334
334
  let newRule = rule;
335
335
  const isPresetValue = typeof rule.value === 'string' && rule.value.startsWith('{{') && rule.value.endsWith('}}');
336
- if (!disableRegexEscapeChars &&
336
+ if (rule.operator !== 'null' && rule.operator !== 'notNull' && rule.value === null) {
337
+ newRule = { ...rule, value: '' };
338
+ }
339
+ else if (!disableRegexEscapeChars &&
337
340
  ['contains', 'beginsWith', 'endsWith'].includes(rule.operator) &&
338
341
  !isPresetValue) {
339
342
  newRule = { ...rule, value: escape(rule.value) };
@@ -195,10 +195,7 @@ CriteriaBuilder.args = {
195
195
  name: { $in: ['Jane', 'John', 'Jack'] },
196
196
  },
197
197
  {
198
- //TODO: the fix in CDR-2082 should allow for a preexisting configuration like below to show greater than on the UI
199
- licenseeName: {
200
- $gt: 'k',
201
- },
198
+ inState: null,
202
199
  },
203
200
  {
204
201
  amountOfInspections: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/ui-components",
3
- "version": "1.0.1-dev.1",
3
+ "version": "1.0.1-dev.2",
4
4
  "description": "",
5
5
  "main": "dist/published/index.js",
6
6
  "module": "dist/published/index.js",