@uniformdev/mesh-sdk-react 19.134.3-alpha.28 → 19.136.0

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/dist/index.esm.js CHANGED
@@ -4055,14 +4055,7 @@ function $isTargetWithinDecorator(target) {
4055
4055
  }
4056
4056
 
4057
4057
  // src/components/Variables/InputVariables.tsx
4058
- import { css as css24 } from "@emotion/react";
4059
- import {
4060
- Caption,
4061
- ErrorMessage,
4062
- HorizontalRhythm as HorizontalRhythm4,
4063
- InfoMessage,
4064
- WarningMessage
4065
- } from "@uniformdev/design-system";
4058
+ import { Caption, ErrorMessage, InfoMessage, WarningMessage } from "@uniformdev/design-system";
4066
4059
  import { useState as useState13 } from "react";
4067
4060
  import { v4 as v42 } from "uuid";
4068
4061
 
@@ -4187,99 +4180,6 @@ var placeholderCompact = css21`
4187
4180
  inset: var(--spacing-sm) var(--spacing-lg) var(--spacing-sm) var(--spacing-base);
4188
4181
  `;
4189
4182
 
4190
- // src/components/Variables/styles/ParameterVariables.styles.ts
4191
- import { css as css22 } from "@emotion/react";
4192
- import { scrollbarStyles as scrollbarStyles3 } from "@uniformdev/design-system";
4193
- var variableBindButton = css22`
4194
- align-items: center;
4195
- border: none;
4196
- border-radius: var(--rounded-base);
4197
- background: none;
4198
- display: flex;
4199
- height: 1.2rem;
4200
- padding: var(--spacing-2xs);
4201
- transition: background var(--duration-fast) var(--timing-ease-out),
4202
- color var(--duration-fast) var(--timing-ease-out);
4203
- width: 1.2rem;
4204
-
4205
- &:hover,
4206
- &[aria-pressed='true']:not(:disabled) {
4207
- background: var(--brand-secondary-3);
4208
- color: var(--white);
4209
- }
4210
-
4211
- &[aria-disabled='true'] {
4212
- background: none;
4213
- color: currentColor;
4214
- }
4215
-
4216
- // fixes menu resizing issue within iframes
4217
- // see https://linear.app/uniform/issue/UNI-3068/mesh-integration-resizing-with-menus
4218
- + [role='menu'] {
4219
- max-height: unset;
4220
- }
4221
- `;
4222
- var input2 = css22`
4223
- display: block;
4224
- appearance: none;
4225
- box-sizing: border-box;
4226
- background: var(--white);
4227
- border: 1px solid var(--gray-200);
4228
- border-radius: var(--rounded-sm);
4229
- color: var(--gray-700);
4230
- font-size: var(--fs-sm);
4231
- line-height: 1.5;
4232
- min-height: 2rem;
4233
- padding: var(--spacing-sm);
4234
- width: 100%;
4235
- position: relative;
4236
- white-space: normal;
4237
- transition-property: background, border-color, color, box-shadow, border-radius;
4238
- transition-duration: var(--duration-fast);
4239
- transition-timing-function: var(--timing-ease-out);
4240
-
4241
- &::placeholder {
4242
- color: var(--gray-400);
4243
- }
4244
-
4245
- &:focus,
4246
- &:focus-within {
4247
- border-radius: var(--rounded-sm);
4248
- box-shadow: var(--elevation-100);
4249
- border: 1px solid var(--accent-dark-active);
4250
- outline: none;
4251
- }
4252
- &:hover {
4253
- border: 1px solid var(--accent-dark-hover);
4254
- }
4255
-
4256
- &:disabled,
4257
- &:disabled::placeholder,
4258
- &:disabled:hover {
4259
- border-radius: var(--rounded-sm);
4260
- cursor: not-allowed;
4261
- color: var(--gray-400);
4262
- }
4263
-
4264
- &[readonly],
4265
- &[contenteditable='false'] {
4266
- cursor: not-allowed;
4267
- color: var(--gray-400);
4268
- }
4269
-
4270
- > p {
4271
- margin: 0;
4272
- }
4273
- `;
4274
- var inputMultiLine = (lines) => css22`
4275
- ${scrollbarStyles3}
4276
- // 1.5 = line height, spacing-sm = top and bottom padding + spacing-xs to give a slight increase in height
4277
- // as the text looked to close to the bottom of the input
4278
- height: calc(${lines * 1.5}em + var(--spacing-sm) + var(--spacing-xs));
4279
- resize: vertical;
4280
- overflow: auto;
4281
- `;
4282
-
4283
4183
  // src/components/Variables/toolbox/InputVariablesProvider.tsx
4284
4184
  import * as React10 from "react";
4285
4185
  import { useMemo as useMemo9 } from "react";
@@ -4358,15 +4258,15 @@ function useInputVariablesState({
4358
4258
  }
4359
4259
 
4360
4260
  // src/components/Variables/toolbox/VariableField.styles.ts
4361
- import { css as css23 } from "@emotion/react";
4362
- var labelText = css23`
4261
+ import { css as css22 } from "@emotion/react";
4262
+ var labelText = css22`
4363
4263
  align-items: center;
4364
4264
  display: flex;
4365
4265
  gap: var(--spacing-xs);
4366
4266
  font-weight: var(--fw-regular);
4367
4267
  margin: 0 0 var(--spacing-xs);
4368
4268
  `;
4369
- var variableBindButton2 = css23`
4269
+ var variableBindButton = css22`
4370
4270
  align-items: center;
4371
4271
  border: none;
4372
4272
  border-radius: var(--rounded-base);
@@ -4529,7 +4429,7 @@ function VariableField({
4529
4429
  VariablesComposerVariableMenu,
4530
4430
  {
4531
4431
  ...selectVariableMenuOptions,
4532
- buttonCss: [variableBindButton2, selectVariableMenuOptions == null ? void 0 : selectVariableMenuOptions.buttonCss],
4432
+ buttonCss: [variableBindButton, selectVariableMenuOptions == null ? void 0 : selectVariableMenuOptions.buttonCss],
4533
4433
  buttonProps: isActive ? { "aria-pressed": "true" } : void 0
4534
4434
  }
4535
4435
  ) : null;
@@ -4691,7 +4591,7 @@ import {
4691
4591
  import { useEffect as useEffect13 } from "react";
4692
4592
  import { Fragment as Fragment9, jsx as jsx39, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
4693
4593
  function VariablesComposerInput({
4694
- css: css38,
4594
+ css: css37,
4695
4595
  placeholder,
4696
4596
  ...contentEditableProps
4697
4597
  }) {
@@ -4794,7 +4694,6 @@ function InputVariables(props) {
4794
4694
  value,
4795
4695
  enableEditingVariables,
4796
4696
  disableInlineMenu,
4797
- showMenuPosition,
4798
4697
  onChange,
4799
4698
  transformPaste,
4800
4699
  showAddVariableMenuOption,
@@ -4828,58 +4727,34 @@ function InputVariables(props) {
4828
4727
  },
4829
4728
  css: disabled ? inputDisabled : "",
4830
4729
  children: [
4831
- /* @__PURE__ */ jsxs23(
4832
- HorizontalRhythm4,
4730
+ useInputWithNoVariables ? inputWhenNoVariables : /* @__PURE__ */ jsx40(
4731
+ InputVariablesOverlayMenu,
4833
4732
  {
4834
- align: "center",
4835
- gap: "xs",
4836
- css: css24`
4837
- & > div:first-child {
4838
- flex-grow: 1;
4839
- }
4840
- `,
4841
- children: [
4842
- useInputWithNoVariables ? inputWhenNoVariables : /* @__PURE__ */ jsx40(
4843
- InputVariablesOverlayMenu,
4844
- {
4845
- ...sharedMenuProps,
4846
- disabled: disableVariablesForReals || showMenuPosition && showMenuPosition !== "label" || disableInlineMenu === true || disableInlineMenu === "by-input",
4847
- portal: renderMenuInPortal,
4848
- replaceValueOnVariableInsert: useInputWithNoVariables,
4849
- useInputWhenNoVariables: useInputWithNoVariables,
4850
- children: /* @__PURE__ */ jsx40(
4851
- VariablesComposerInput,
4852
- {
4853
- id: finalId,
4854
- "aria-label": ariaLabel,
4855
- "data-testid": dataTestId ? dataTestId : "input-container",
4856
- "data-text-value": value,
4857
- css: [input, styleVariant === "compact" ? inputCompact : null],
4858
- placeholder: placeholder ? /* @__PURE__ */ jsx40(
4859
- Caption,
4860
- {
4861
- css: [
4862
- placeholderCaption,
4863
- styleVariant === "compact" ? placeholderCompact : null
4864
- ],
4865
- children: placeholder
4866
- }
4867
- ) : void 0
4868
- }
4869
- )
4870
- }
4871
- ),
4872
- disableVariablesForReals || showMenuPosition !== "inline-right" ? null : /* @__PURE__ */ jsx40(
4873
- VariablesComposerVariableMenu,
4874
- {
4875
- ...sharedMenuProps,
4876
- buttonCss: variableBindButton,
4877
- tip: useInputWithNoVariables ? void 0 : "Tip: access this list by typing $$",
4878
- buttonProps: hadVariablesInValue ? { "aria-pressed": "true" } : void 0,
4879
- replaceValueOnVariableInsert: useInputWithNoVariables
4880
- }
4881
- )
4882
- ]
4733
+ ...sharedMenuProps,
4734
+ disabled: disableVariablesForReals || disableInlineMenu === true || disableInlineMenu === "by-input",
4735
+ portal: renderMenuInPortal,
4736
+ replaceValueOnVariableInsert: useInputWithNoVariables,
4737
+ useInputWhenNoVariables: useInputWithNoVariables,
4738
+ children: /* @__PURE__ */ jsx40(
4739
+ VariablesComposerInput,
4740
+ {
4741
+ id: finalId,
4742
+ "aria-label": ariaLabel,
4743
+ "data-testid": dataTestId ? dataTestId : "input-container",
4744
+ "data-text-value": value,
4745
+ css: [input, styleVariant === "compact" ? inputCompact : null],
4746
+ placeholder: placeholder ? /* @__PURE__ */ jsx40(
4747
+ Caption,
4748
+ {
4749
+ css: [
4750
+ placeholderCaption,
4751
+ styleVariant === "compact" ? placeholderCompact : null
4752
+ ],
4753
+ children: placeholder
4754
+ }
4755
+ ) : void 0
4756
+ }
4757
+ )
4883
4758
  }
4884
4759
  ),
4885
4760
  caption ? /* @__PURE__ */ jsx40(Caption, { children: caption }) : null,
@@ -4901,7 +4776,7 @@ function InputVariables(props) {
4901
4776
  },
4902
4777
  id: finalId,
4903
4778
  isActive: hadVariablesInValue,
4904
- disableVariables: disableVariablesForReals || showMenuPosition && showMenuPosition !== "label" || disableInlineMenu === true || disableInlineMenu === "by-label",
4779
+ disableVariables: disableVariablesForReals || disableInlineMenu === "by-label",
4905
4780
  children: input3
4906
4781
  }
4907
4782
  );
@@ -4956,8 +4831,103 @@ function InputVariablesOverlayMenu({
4956
4831
  // src/components/Variables/ParameterConnectionIndicator.tsx
4957
4832
  import { CgUsbC as CgUsbC2 } from "@react-icons/all-files/cg/CgUsbC";
4958
4833
  import { bindVariablesToObject } from "@uniformdev/canvas";
4959
- import { HorizontalRhythm as HorizontalRhythm5, Menu as Menu3 } from "@uniformdev/design-system";
4834
+ import { HorizontalRhythm as HorizontalRhythm4, Menu as Menu3 } from "@uniformdev/design-system";
4960
4835
  import { useMemo as useMemo11 } from "react";
4836
+
4837
+ // src/components/Variables/styles/ParameterVariables.styles.ts
4838
+ import { css as css23 } from "@emotion/react";
4839
+ import { scrollbarStyles as scrollbarStyles3 } from "@uniformdev/design-system";
4840
+ var variableBindButton2 = css23`
4841
+ align-items: center;
4842
+ border: none;
4843
+ border-radius: var(--rounded-base);
4844
+ background: none;
4845
+ display: flex;
4846
+ height: 1.2rem;
4847
+ padding: var(--spacing-2xs);
4848
+ transition: background var(--duration-fast) var(--timing-ease-out),
4849
+ color var(--duration-fast) var(--timing-ease-out);
4850
+ width: 1.2rem;
4851
+
4852
+ &:hover,
4853
+ &[aria-pressed='true']:not(:disabled) {
4854
+ background: var(--brand-secondary-3);
4855
+ color: var(--white);
4856
+ }
4857
+
4858
+ &[aria-disabled='true'] {
4859
+ background: none;
4860
+ color: currentColor;
4861
+ }
4862
+
4863
+ // fixes menu resizing issue within iframes
4864
+ // see https://linear.app/uniform/issue/UNI-3068/mesh-integration-resizing-with-menus
4865
+ + [role='menu'] {
4866
+ max-height: unset;
4867
+ }
4868
+ `;
4869
+ var input2 = css23`
4870
+ display: block;
4871
+ appearance: none;
4872
+ box-sizing: border-box;
4873
+ background: var(--white);
4874
+ border: 1px solid var(--gray-200);
4875
+ border-radius: var(--rounded-sm);
4876
+ color: var(--gray-700);
4877
+ font-size: var(--fs-sm);
4878
+ line-height: 1.5;
4879
+ min-height: 2rem;
4880
+ padding: var(--spacing-sm);
4881
+ width: 100%;
4882
+ position: relative;
4883
+ white-space: normal;
4884
+ transition-property: background, border-color, color, box-shadow, border-radius;
4885
+ transition-duration: var(--duration-fast);
4886
+ transition-timing-function: var(--timing-ease-out);
4887
+
4888
+ &::placeholder {
4889
+ color: var(--gray-400);
4890
+ }
4891
+
4892
+ &:focus,
4893
+ &:focus-within {
4894
+ border-radius: var(--rounded-sm);
4895
+ box-shadow: var(--elevation-100);
4896
+ border: 1px solid var(--accent-dark-active);
4897
+ outline: none;
4898
+ }
4899
+ &:hover {
4900
+ border: 1px solid var(--accent-dark-hover);
4901
+ }
4902
+
4903
+ &:disabled,
4904
+ &:disabled::placeholder,
4905
+ &:disabled:hover {
4906
+ border-radius: var(--rounded-sm);
4907
+ cursor: not-allowed;
4908
+ color: var(--gray-400);
4909
+ }
4910
+
4911
+ &[readonly],
4912
+ &[contenteditable='false'] {
4913
+ cursor: not-allowed;
4914
+ color: var(--gray-400);
4915
+ }
4916
+
4917
+ > p {
4918
+ margin: 0;
4919
+ }
4920
+ `;
4921
+ var inputMultiLine = (lines) => css23`
4922
+ ${scrollbarStyles3}
4923
+ // 1.5 = line height, spacing-sm = top and bottom padding + spacing-xs to give a slight increase in height
4924
+ // as the text looked to close to the bottom of the input
4925
+ height: calc(${lines * 1.5}em + var(--spacing-sm) + var(--spacing-xs));
4926
+ resize: vertical;
4927
+ overflow: auto;
4928
+ `;
4929
+
4930
+ // src/components/Variables/ParameterConnectionIndicator.tsx
4961
4931
  import { jsx as jsx41, jsxs as jsxs24 } from "@emotion/react/jsx-runtime";
4962
4932
  function ParameterConnectionIndicator({
4963
4933
  children,
@@ -4977,7 +4947,7 @@ function ParameterConnectionIndicator({
4977
4947
  });
4978
4948
  return result;
4979
4949
  }, [value]);
4980
- return /* @__PURE__ */ jsxs24(HorizontalRhythm5, { align: "center", gap: "xs", css: { width: "100%" }, children: [
4950
+ return /* @__PURE__ */ jsxs24(HorizontalRhythm4, { align: "center", gap: "xs", css: { width: "100%" }, children: [
4981
4951
  /* @__PURE__ */ jsx41("div", { css: { flex: 1 }, children }),
4982
4952
  disabled ? null : /* @__PURE__ */ jsx41(
4983
4953
  Menu3,
@@ -4989,7 +4959,7 @@ function ParameterConnectionIndicator({
4989
4959
  {
4990
4960
  title: menuTooltip,
4991
4961
  "aria-pressed": hasVariablesInValue,
4992
- css: [menuBtn, variableBindButton],
4962
+ css: [menuBtn, variableBindButton2],
4993
4963
  type: "button",
4994
4964
  children: /* @__PURE__ */ jsx41(CgUsbC2, { size: "1.4rem" })
4995
4965
  }
@@ -5002,7 +4972,7 @@ function ParameterConnectionIndicator({
5002
4972
  }
5003
4973
 
5004
4974
  // src/components/Variables/ParameterOrSingleVariable.tsx
5005
- import { HorizontalRhythm as HorizontalRhythm6 } from "@uniformdev/design-system";
4975
+ import { HorizontalRhythm as HorizontalRhythm5 } from "@uniformdev/design-system";
5006
4976
  import { useCallback as useCallback4 } from "react";
5007
4977
 
5008
4978
  // src/components/Variables/composer/OnDisconnectPlugin.tsx
@@ -5088,7 +5058,7 @@ function ParameterOrSingleVariable(props) {
5088
5058
  /* @__PURE__ */ jsx42(OnDisconnectPlugin, { onDisconnect: handleDisconnect }),
5089
5059
  editorRef ? /* @__PURE__ */ jsx42(EditorRefPlugin, { editorRef }) : null,
5090
5060
  /* @__PURE__ */ jsx42(ControlledValuePlugin, { enabled: true, value }),
5091
- /* @__PURE__ */ jsxs25(HorizontalRhythm6, { align: "center", gap: "xs", css: { width: "100%" }, children: [
5061
+ /* @__PURE__ */ jsxs25(HorizontalRhythm5, { align: "center", gap: "xs", css: { width: "100%" }, children: [
5092
5062
  /* @__PURE__ */ jsx42("div", { css: { flex: 1 }, children: inputWhenNoVariables && !hadVariablesInValue ? inputWhenNoVariables : /* @__PURE__ */ jsx42(
5093
5063
  VariablesComposerInput,
5094
5064
  {
@@ -5101,7 +5071,7 @@ function ParameterOrSingleVariable(props) {
5101
5071
  VariablesComposerVariableMenu,
5102
5072
  {
5103
5073
  ...sharedMenuProps,
5104
- buttonCss: [variableBindButton],
5074
+ buttonCss: [variableBindButton2],
5105
5075
  buttonProps: hasVariablesInValue ? { "aria-pressed": "true" } : void 0,
5106
5076
  replaceValueOnVariableInsert: true,
5107
5077
  filterVariable
@@ -5115,8 +5085,8 @@ function ParameterOrSingleVariable(props) {
5115
5085
  }
5116
5086
 
5117
5087
  // src/components/Variables/ParameterVariables.tsx
5118
- import { css as css25 } from "@emotion/react";
5119
- import { HorizontalRhythm as HorizontalRhythm7 } from "@uniformdev/design-system";
5088
+ import { css as css24 } from "@emotion/react";
5089
+ import { HorizontalRhythm as HorizontalRhythm6 } from "@uniformdev/design-system";
5120
5090
  import { jsx as jsx43, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
5121
5091
  function ParameterVariables(props) {
5122
5092
  const {
@@ -5155,7 +5125,7 @@ function ParameterVariables(props) {
5155
5125
  editorRef ? /* @__PURE__ */ jsx43(EditorRefPlugin, { editorRef }) : null,
5156
5126
  /* @__PURE__ */ jsx43(ControlledValuePlugin, { value, enabled: useInputWhenNoVariables }),
5157
5127
  /* @__PURE__ */ jsxs26(
5158
- HorizontalRhythm7,
5128
+ HorizontalRhythm6,
5159
5129
  {
5160
5130
  align: "center",
5161
5131
  gap: "xs",
@@ -5174,8 +5144,8 @@ function ParameterVariables(props) {
5174
5144
  "data-text-value": value,
5175
5145
  css: [
5176
5146
  input2,
5177
- typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(2) : css25``,
5178
- inputCss != null ? inputCss : css25``
5147
+ typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(2) : css24``,
5148
+ inputCss != null ? inputCss : css24``
5179
5149
  ]
5180
5150
  }
5181
5151
  ) }),
@@ -5183,7 +5153,7 @@ function ParameterVariables(props) {
5183
5153
  VariablesComposerVariableMenu,
5184
5154
  {
5185
5155
  ...sharedMenuProps,
5186
- buttonCss: [variableBindButton],
5156
+ buttonCss: [variableBindButton2],
5187
5157
  tip: useInputWhenNoVariables ? void 0 : "Tip: access this list by typing $$",
5188
5158
  buttonProps: hasVariablesInValue ? { "aria-pressed": "true" } : void 0,
5189
5159
  replaceValueOnVariableInsert: useInputWhenNoVariables
@@ -5211,7 +5181,7 @@ ${prettifyBindExpression(bindExpression)}`
5211
5181
  }
5212
5182
 
5213
5183
  // src/components/Variables/VariablesList.tsx
5214
- import { css as css27 } from "@emotion/react";
5184
+ import { css as css26 } from "@emotion/react";
5215
5185
  import {
5216
5186
  AddListButton,
5217
5187
  button,
@@ -5226,8 +5196,8 @@ import {
5226
5196
  import { Draggable as Draggable2, Droppable as Droppable2 } from "react-beautiful-dnd";
5227
5197
 
5228
5198
  // src/components/Variables/styles/VariablesList.styles.ts
5229
- import { css as css26 } from "@emotion/react";
5230
- var tableRow = (isDragging) => css26`
5199
+ import { css as css25 } from "@emotion/react";
5200
+ var tableRow = (isDragging) => css25`
5231
5201
  position: relative;
5232
5202
  ${isDragging ? `
5233
5203
  display: table;
@@ -5235,7 +5205,7 @@ var tableRow = (isDragging) => css26`
5235
5205
  top: auto !important;
5236
5206
  ` : void 0}
5237
5207
  `;
5238
- var tableCellDragIcon = css26`
5208
+ var tableCellDragIcon = css25`
5239
5209
  &::after {
5240
5210
  content: '';
5241
5211
  display: block;
@@ -5253,7 +5223,7 @@ var tableCellDragIcon = css26`
5253
5223
  opacity: 1;
5254
5224
  }
5255
5225
  `;
5256
- var variableName = css26`
5226
+ var variableName = css25`
5257
5227
  border: none;
5258
5228
  font-weight: var(--fw-medium);
5259
5229
  padding: 0;
@@ -5263,7 +5233,7 @@ var variableName = css26`
5263
5233
  white-space: nowrap;
5264
5234
  max-width: 20ch;
5265
5235
  `;
5266
- var variableValue = css26`
5236
+ var variableValue = css25`
5267
5237
  overflow: hidden;
5268
5238
  text-overflow: ellipsis;
5269
5239
  white-space: nowrap;
@@ -5340,7 +5310,7 @@ function VariablesList() {
5340
5310
  title: `delete ${text}`,
5341
5311
  css: [
5342
5312
  button,
5343
- css27`
5313
+ css26`
5344
5314
  background: transparent;
5345
5315
  `
5346
5316
  ],
@@ -5469,7 +5439,7 @@ function TextVariableRenderer({ definition, value, setValue }) {
5469
5439
  }
5470
5440
 
5471
5441
  // src/components/Request/RequestBody.tsx
5472
- import { css as css29 } from "@emotion/react";
5442
+ import { css as css28 } from "@emotion/react";
5473
5443
  import { InputSelect as InputSelect4, JsonEditor } from "@uniformdev/design-system";
5474
5444
  import { useState as useState14 } from "react";
5475
5445
 
@@ -5555,11 +5525,11 @@ function useRequest() {
5555
5525
  }
5556
5526
 
5557
5527
  // src/components/Request/styles/Request.styles.ts
5558
- import { css as css28 } from "@emotion/react";
5559
- var innerContentStyles = css28`
5528
+ import { css as css27 } from "@emotion/react";
5529
+ var innerContentStyles = css27`
5560
5530
  background: var(--white);
5561
5531
  `;
5562
- var requestTypeContainer = (bgColor) => css28`
5532
+ var requestTypeContainer = (bgColor) => css27`
5563
5533
  align-items: start;
5564
5534
  background: ${bgColor};
5565
5535
  display: grid;
@@ -5601,7 +5571,7 @@ function RequestBody() {
5601
5571
  return /* @__PURE__ */ jsxs28(
5602
5572
  "div",
5603
5573
  {
5604
- css: css29`
5574
+ css: css28`
5605
5575
  background: var(--white);
5606
5576
  `,
5607
5577
  children: [
@@ -5609,7 +5579,7 @@ function RequestBody() {
5609
5579
  RequestTypeContainer,
5610
5580
  {
5611
5581
  bgColor: "var(--gray-100)",
5612
- css: css29`
5582
+ css: css28`
5613
5583
  padding: var(--spacing-sm) var(--spacing-base);
5614
5584
  `,
5615
5585
  children: /* @__PURE__ */ jsx49(
@@ -5898,7 +5868,7 @@ function RequestParameters({
5898
5868
  }
5899
5869
 
5900
5870
  // src/components/Request/RequestUrl.tsx
5901
- import { css as css30 } from "@emotion/react";
5871
+ import { css as css29 } from "@emotion/react";
5902
5872
  import { useMemo as useMemo13 } from "react";
5903
5873
 
5904
5874
  // src/components/Request/urlEncodeRequestParameter.ts
@@ -5935,7 +5905,7 @@ function RequestUrl() {
5935
5905
  return /* @__PURE__ */ jsxs31(
5936
5906
  "small",
5937
5907
  {
5938
- css: css30`
5908
+ css: css29`
5939
5909
  display: inline-block;
5940
5910
  margin-bottom: var(--spacing-xs);
5941
5911
  word-break: break-word;
@@ -6236,7 +6206,7 @@ var MeshApp = ({
6236
6206
  };
6237
6207
 
6238
6208
  // src/components/ObjectSearch/DataRefreshButton.tsx
6239
- import { css as css31 } from "@emotion/react";
6209
+ import { css as css30 } from "@emotion/react";
6240
6210
  import { Button as Button3, LoadingIndicator as LoadingIndicator4 } from "@uniformdev/design-system";
6241
6211
  import { jsx as jsx58, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
6242
6212
  var DataRefreshButton = ({
@@ -6249,7 +6219,7 @@ var DataRefreshButton = ({
6249
6219
  !isLoading ? null : /* @__PURE__ */ jsx58(
6250
6220
  LoadingIndicator4,
6251
6221
  {
6252
- css: css31`
6222
+ css: css30`
6253
6223
  ${isLoading ? "opacity: 0.2;" : void 0}
6254
6224
  `
6255
6225
  }
@@ -6259,7 +6229,7 @@ var DataRefreshButton = ({
6259
6229
  };
6260
6230
 
6261
6231
  // src/components/ObjectSearch/ObjectSearchContainer.tsx
6262
- import { css as css33 } from "@emotion/react";
6232
+ import { css as css32 } from "@emotion/react";
6263
6233
  import { bindVariables } from "@uniformdev/canvas";
6264
6234
  import { Callout as Callout5, Container, IconsProvider, ScrollableList, VerticalRhythm as VerticalRhythm2 } from "@uniformdev/design-system";
6265
6235
 
@@ -6385,9 +6355,9 @@ function bindQuery(query, inputs) {
6385
6355
  import { Chip, Popover } from "@uniformdev/design-system";
6386
6356
 
6387
6357
  // src/components/ObjectSearch/styles/ObjectSearchListItem.styles.ts
6388
- import { css as css32 } from "@emotion/react";
6358
+ import { css as css31 } from "@emotion/react";
6389
6359
  import { skeletonLoading } from "@uniformdev/design-system";
6390
- var ObjectListItemContainer = css32`
6360
+ var ObjectListItemContainer = css31`
6391
6361
  align-items: center;
6392
6362
  border: 1px solid var(--gray-300);
6393
6363
  border-radius: var(--rounded-base);
@@ -6396,11 +6366,11 @@ var ObjectListItemContainer = css32`
6396
6366
  grid-template-columns: 1fr auto;
6397
6367
  padding: var(--spacing-sm);
6398
6368
  `;
6399
- var ObjectListItemContainerDisabled = css32`
6369
+ var ObjectListItemContainerDisabled = css31`
6400
6370
  opacity: var(--opacity-50);
6401
6371
  pointer-events: none;
6402
6372
  `;
6403
- var ObjectListItemLoading = css32`
6373
+ var ObjectListItemLoading = css31`
6404
6374
  animation: ${skeletonLoading} 1s linear infinite alternate;
6405
6375
  border-color: transparent;
6406
6376
  min-height: 42px;
@@ -6424,36 +6394,36 @@ var ObjectListItemLoading = css32`
6424
6394
  width: 1rem;
6425
6395
  }
6426
6396
  `;
6427
- var ObjectListItemHeadingGroup = css32`
6397
+ var ObjectListItemHeadingGroup = css31`
6428
6398
  align-items: center;
6429
6399
  display: grid;
6430
6400
  `;
6431
- var ObjectListItemThumbnail = css32`
6401
+ var ObjectListItemThumbnail = css31`
6432
6402
  width: 30px;
6433
6403
  object-fit: contain;
6434
6404
  `;
6435
- var ObjectListItemTitle = css32`
6405
+ var ObjectListItemTitle = css31`
6436
6406
  color: var(--typography-base);
6437
6407
  display: block;
6438
6408
  font-size: var(--fs-sm);
6439
6409
  `;
6440
- var ObjectListItemSubtitle = css32`
6410
+ var ObjectListItemSubtitle = css31`
6441
6411
  color: var(--gray-500);
6442
6412
  display: block;
6443
6413
  font-size: var(--fs-xs);
6444
6414
  line-height: 1;
6445
6415
  `;
6446
- var ObjectListItemInfoContainer = css32`
6416
+ var ObjectListItemInfoContainer = css31`
6447
6417
  align-items: center;
6448
6418
  display: flex;
6449
6419
  gap: var(--spacing-sm);
6450
6420
  justify-content: center;
6451
6421
  `;
6452
- var ObjectListItemControlledContent = css32`
6422
+ var ObjectListItemControlledContent = css31`
6453
6423
  display: flex;
6454
6424
  gap: var(--spacing-sm);
6455
6425
  `;
6456
- var ObjectListItemUnControlledContent = css32`
6426
+ var ObjectListItemUnControlledContent = css31`
6457
6427
  margin-top: var(--spacing-sm);
6458
6428
  grid-column: 1 / -1;
6459
6429
  `;
@@ -6540,7 +6510,7 @@ var ObjectSearchContainer = ({
6540
6510
  ScrollableList,
6541
6511
  {
6542
6512
  role: "list",
6543
- css: css33`
6513
+ css: css32`
6544
6514
  > div {
6545
6515
  transition: max-height var(--duration-slow) var(--timing-ease-out);
6546
6516
  max-height: ${selectedListItems.length === 0 ? "50vh" : "184px"};
@@ -6616,8 +6586,8 @@ import { DebouncedInputKeywordSearch, InputSelect as InputSelect6 } from "@unifo
6616
6586
  import { useMemo as useMemo15, useState as useState17 } from "react";
6617
6587
 
6618
6588
  // src/components/ObjectSearch/styles/ObjectSearchFilterContainer.styles.ts
6619
- import { css as css34 } from "@emotion/react";
6620
- var ObjectSearchFilterContainerLabel = css34`
6589
+ import { css as css33 } from "@emotion/react";
6590
+ var ObjectSearchFilterContainerLabel = css33`
6621
6591
  align-items: center;
6622
6592
  display: flex;
6623
6593
  font-size: var(--fs-sm);
@@ -6625,11 +6595,11 @@ var ObjectSearchFilterContainerLabel = css34`
6625
6595
  line-height: 1rem;
6626
6596
  margin-bottom: var(--spacing-sm);
6627
6597
  `;
6628
- var ObjectSearchFilterContainer = css34`
6598
+ var ObjectSearchFilterContainer = css33`
6629
6599
  display: grid;
6630
6600
  gap: var(--spacing-base);
6631
6601
  `;
6632
- var ObjectSearchFilterGrid = (gridColumns) => css34`
6602
+ var ObjectSearchFilterGrid = (gridColumns) => css33`
6633
6603
  display: grid;
6634
6604
  grid-template-columns: ${gridColumns};
6635
6605
  gap: var(--spacing-base);
@@ -6715,9 +6685,9 @@ import { Badge, Button as Button4, Popover as Popover2 } from "@uniformdev/desig
6715
6685
  import { format as timeagoFormat } from "timeago.js";
6716
6686
 
6717
6687
  // src/components/ObjectSearch/styles/ObjectSearchResultItemButton.styles.ts
6718
- import { css as css35 } from "@emotion/react";
6688
+ import { css as css34 } from "@emotion/react";
6719
6689
  import { button as button2 } from "@uniformdev/design-system";
6720
- var ButtonStyles = css35`
6690
+ var ButtonStyles = css34`
6721
6691
  ${button2}
6722
6692
  background: transparent;
6723
6693
  border: 1px solid var(--typography-base);
@@ -6744,7 +6714,7 @@ var ButtonStyles = css35`
6744
6714
  text-decoration: none;
6745
6715
  }
6746
6716
  `;
6747
- var ButtonIcon = css35`
6717
+ var ButtonIcon = css34`
6748
6718
  width: 1rem;
6749
6719
  height: 1rem;
6750
6720
  `;
@@ -6773,8 +6743,8 @@ var LinkButton = ({
6773
6743
  };
6774
6744
 
6775
6745
  // src/components/ObjectSearch/styles/ObjectSearchResultItem.styles.ts
6776
- import { css as css36 } from "@emotion/react";
6777
- var ObjectSearchResultItemContainer = css36`
6746
+ import { css as css35 } from "@emotion/react";
6747
+ var ObjectSearchResultItemContainer = css35`
6778
6748
  align-items: center;
6779
6749
  border: 1px solid var(--gray-300);
6780
6750
  border-radius: var(--rounded-base);
@@ -6790,7 +6760,7 @@ var ObjectSearchResultItemContainer = css36`
6790
6760
  }
6791
6761
  }
6792
6762
  `;
6793
- var ObjectSearchDragHandle = css36`
6763
+ var ObjectSearchDragHandle = css35`
6794
6764
  border-left: 2px dotted var(--gray-300);
6795
6765
  border-right: 2px dotted var(--gray-300);
6796
6766
  position: absolute;
@@ -6799,35 +6769,35 @@ var ObjectSearchDragHandle = css36`
6799
6769
  transition: opacity var(--duration-fast) var(--timing-ease-out);
6800
6770
  opacity: 0;
6801
6771
  `;
6802
- var ObjectSearchResultItemSubtitle = css36`
6772
+ var ObjectSearchResultItemSubtitle = css35`
6803
6773
  color: var(--gray-500);
6804
6774
  display: block;
6805
6775
  font-size: var(--fs-xs);
6806
6776
  line-height: 1;
6807
6777
  `;
6808
- var ObjectSearchResultItemTitle = css36`
6778
+ var ObjectSearchResultItemTitle = css35`
6809
6779
  align-items: center;
6810
6780
  color: var(--typography-base);
6811
6781
  display: flex;
6812
6782
  gap: var(--spacing-xs);
6813
6783
  `;
6814
- var ObjectSearchResultItemTimeStamp = css36`
6784
+ var ObjectSearchResultItemTimeStamp = css35`
6815
6785
  color: var(--gray-500);
6816
6786
  font-size: var(--fs-xs);
6817
6787
  `;
6818
- var ObjectSearchAuthorStateGroup = css36`
6788
+ var ObjectSearchAuthorStateGroup = css35`
6819
6789
  align-items: center;
6820
6790
  display: flex;
6821
6791
  gap: var(--spacing-sm);
6822
6792
  `;
6823
- var ObjectSearchUpdateGroup = css36`
6793
+ var ObjectSearchUpdateGroup = css35`
6824
6794
  display: grid;
6825
6795
  `;
6826
- var ObjectSearchContentContainer = css36`
6796
+ var ObjectSearchContentContainer = css35`
6827
6797
  display: flex;
6828
6798
  gap: var(--spacing-base);
6829
6799
  `;
6830
- var ObjectSearchImage = css36`
6800
+ var ObjectSearchImage = css35`
6831
6801
  width: 56px;
6832
6802
  object-fit: contain;
6833
6803
  `;
@@ -6895,26 +6865,26 @@ import { Button as Button5, Counter } from "@uniformdev/design-system";
6895
6865
  import { Draggable as Draggable3, Droppable as Droppable3 } from "react-beautiful-dnd";
6896
6866
 
6897
6867
  // src/components/ObjectSearch/styles/ObjectSearchResultList.styles.ts
6898
- import { css as css37 } from "@emotion/react";
6899
- var ObjectSearchResultListContainer = css37`
6868
+ import { css as css36 } from "@emotion/react";
6869
+ var ObjectSearchResultListContainer = css36`
6900
6870
  align-items: center;
6901
6871
  display: flex;
6902
6872
  gap: var(--spacing-sm);
6903
6873
  justify-content: space-between;
6904
6874
  `;
6905
- var ObjectSearchDragContainer = css37`
6875
+ var ObjectSearchDragContainer = css36`
6906
6876
  margin: 0 0 var(--spacing-sm);
6907
6877
  `;
6908
- var ObjectSearchContainerDragging = css37`
6878
+ var ObjectSearchContainerDragging = css36`
6909
6879
  box-shadow: var(--shadow-base);
6910
6880
  opacity: var(--opacity-50);
6911
6881
  `;
6912
- var ObjectSearchResultListCounterContainer = css37`
6882
+ var ObjectSearchResultListCounterContainer = css36`
6913
6883
  align-items: center;
6914
6884
  display: flex;
6915
6885
  gap: var(--spacing-sm);
6916
6886
  `;
6917
- var ObjectSearchResultListTitle = css37`
6887
+ var ObjectSearchResultListTitle = css36`
6918
6888
  font-weight: var(--fw-bold);
6919
6889
  line-height: 1;
6920
6890
  `;
@@ -7238,60 +7208,6 @@ var JsonMeshVariableEditor = ({
7238
7208
  return null;
7239
7209
  };
7240
7210
 
7241
- // src/components/SearchAndFilter/filtersMapper.tsx
7242
- import {
7243
- filterMapper,
7244
- FilterMultiChoiceEditor
7245
- } from "@uniformdev/design-system";
7246
- import { DateEditor, FilterSingleChoiceEditor, NumberEditor, TextEditor } from "@uniformdev/design-system";
7247
- import { jsx as jsx69 } from "@emotion/react/jsx-runtime";
7248
- function withInputVariables(WrappedComponent) {
7249
- const WithInputVariables = (props) => {
7250
- if (Array.isArray(props.value) || !props.bindable) {
7251
- return /* @__PURE__ */ jsx69(WrappedComponent, { ...props });
7252
- }
7253
- return /* @__PURE__ */ jsx69(
7254
- InputVariables,
7255
- {
7256
- disableInlineMenu: true,
7257
- showMenuPosition: "inline-right",
7258
- onChange: (newValue) => props.onChange(newValue != null ? newValue : ""),
7259
- value: props.value,
7260
- disabled: props.disabled,
7261
- inputWhenNoVariables: /* @__PURE__ */ jsx69(WrappedComponent, { ...props })
7262
- }
7263
- );
7264
- };
7265
- return WithInputVariables;
7266
- }
7267
- function withInputVariablesForMultiValue(WrappedComponent) {
7268
- const WithInputVariables = (props) => {
7269
- var _a;
7270
- if (!props.bindable || props.disabled || props.readOnly) {
7271
- return /* @__PURE__ */ jsx69(WrappedComponent, { ...props });
7272
- }
7273
- return /* @__PURE__ */ jsx69(
7274
- InputVariables,
7275
- {
7276
- disableInlineMenu: true,
7277
- showMenuPosition: "inline-right",
7278
- onChange: (newValue) => props.onChange(newValue ? [newValue] : []),
7279
- value: (_a = props.value) == null ? void 0 : _a[0],
7280
- inputWhenNoVariables: /* @__PURE__ */ jsx69(WrappedComponent, { ...props })
7281
- }
7282
- );
7283
- };
7284
- return WithInputVariables;
7285
- }
7286
- var bindableFiltersMapper = {
7287
- ...filterMapper,
7288
- multiChoice: withInputVariablesForMultiValue(FilterMultiChoiceEditor),
7289
- singleChoice: withInputVariables(FilterSingleChoiceEditor),
7290
- date: withInputVariables(DateEditor),
7291
- text: withInputVariables(TextEditor),
7292
- number: withInputVariables(NumberEditor)
7293
- };
7294
-
7295
7211
  // src/utils/createLocationValidator.ts
7296
7212
  function createLocationValidator(setValue, validate) {
7297
7213
  return (dispatch) => setValue((previous) => {
@@ -7455,7 +7371,6 @@ export {
7455
7371
  VariablesPlugin,
7456
7372
  VariablesProvider,
7457
7373
  badgeIcon,
7458
- bindableFiltersMapper,
7459
7374
  convertConnectedDataToVariable,
7460
7375
  createLocationValidator,
7461
7376
  damSelectItemImage,