@evoke-platform/ui-components 1.0.0-dev.154 → 1.0.0-dev.155

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.
@@ -103,23 +103,23 @@ export const customValueEditorWithPresets = (props) => {
103
103
  }, options: presetValues !== null && presetValues !== void 0 ? presetValues : [
104
104
  {
105
105
  label: 'User ID',
106
- value: { name: '{{user.id}}', label: 'UserId', sublabel: 'Currently logged in user' },
106
+ value: { name: '{{{user.id}}}', label: 'UserId', sublabel: 'Currently logged in user' },
107
107
  },
108
108
  ], isOptionEqualToValue: (option, value) => {
109
109
  return option === value;
110
110
  }, getOptionLabel: (option) => {
111
111
  var _a;
112
- if (option === '{{user.id}}')
112
+ if (option === '{{{user.id}}}')
113
113
  return 'User ID';
114
114
  return (_a = option.label) !== null && _a !== void 0 ? _a : option;
115
- }, disabled: ['null', 'notNull'].includes(props.operator), renderInput: (params) => (React.createElement(TextField, Object.assign({}, params, { size: "small", placeholder: 'Value', readOnly: value.startsWith('{{') && value.endsWith('}}'), onChange: (event) => {
115
+ }, disabled: ['null', 'notNull'].includes(props.operator), renderInput: (params) => (React.createElement(TextField, Object.assign({}, params, { size: "small", placeholder: 'Value', readOnly: value.includes('{{{') && value.includes('}}}'), onChange: (event) => {
116
116
  handleOnChange(event.target.value);
117
117
  } }))), renderOption: (props, option) => {
118
118
  return (React.createElement(MenuItem, Object.assign({}, props, { sx: { padding: '0px 8px' } }),
119
119
  React.createElement(Box, { padding: 0, margin: 0 },
120
120
  React.createElement(Typography, { fontSize: '14px', fontWeight: 500 }, option.label),
121
121
  option.value.sublabel && React.createElement(Typography, { fontSize: '14px', fontWeight: 500, color: 'rgba(145, 158, 171, 1)' }, option.value.sublabel))));
122
- }, componentsProps: { popper: { style: { width: 'fit-content' } } }, sx: { width: '33%' } }));
122
+ }, componentsProps: { popper: { style: { minWidth: '200px', width: 'fit-content' } } }, sx: { width: '33%' } }));
123
123
  return determineValueEditor(valueEditor, props);
124
124
  };
125
125
  export const customValueEditor = (props) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/ui-components",
3
- "version": "1.0.0-dev.154",
3
+ "version": "1.0.0-dev.155",
4
4
  "description": "",
5
5
  "main": "dist/published/index.js",
6
6
  "module": "dist/published/index.js",