@uniformdev/mesh-sdk-react 19.60.1-alpha.6 → 19.61.1-alpha.13

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.d.mts CHANGED
@@ -429,7 +429,9 @@ declare function DataResourceDynamicInputProvider(props: DataResourceDynamicInpu
429
429
  *
430
430
  * You can also combine (2) and (3) to get both explicit value typing and assertion of the location.
431
431
  */
432
- declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLocationValue = unknown, TLocationSetValue = TLocationValue>(expectedLocation?: TLocationType): Omit<Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
432
+ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLocationValue = unknown, TLocationSetValue = TLocationValue>(expectedLocation?: TLocationType): Omit<Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
433
+ type: TLocationType;
434
+ }> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
433
435
  type: TLocationType;
434
436
  }> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
435
437
  type: TLocationType;
@@ -444,7 +446,9 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
444
446
  }> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
445
447
  type: TLocationType;
446
448
  }>, "setValue"> & {
447
- setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
449
+ setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
450
+ type: TLocationType;
451
+ }> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
448
452
  type: TLocationType;
449
453
  }> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
450
454
  type: TLocationType;
@@ -458,7 +462,9 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
458
462
  type: TLocationType;
459
463
  }> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
460
464
  type: TLocationType;
461
- }>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
465
+ }>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
466
+ type: TLocationType;
467
+ }> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
462
468
  type: TLocationType;
463
469
  }> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
464
470
  type: TLocationType;
@@ -795,6 +801,8 @@ type InputVariablesProps<TEditorContext = unknown> = {
795
801
  warningMessage?: string;
796
802
  /** (optional) sets and shows the the info message value */
797
803
  infoMessage?: string;
804
+ /** (optional) sets placeholder when there is no value */
805
+ placeholder?: string;
798
806
  /** (optional) sets caption text value */
799
807
  caption?: string;
800
808
  /** Disables editing the value of the input, editing variables, and adding variables */
package/dist/index.d.ts CHANGED
@@ -429,7 +429,9 @@ declare function DataResourceDynamicInputProvider(props: DataResourceDynamicInpu
429
429
  *
430
430
  * You can also combine (2) and (3) to get both explicit value typing and assertion of the location.
431
431
  */
432
- declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLocationValue = unknown, TLocationSetValue = TLocationValue>(expectedLocation?: TLocationType): Omit<Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
432
+ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLocationValue = unknown, TLocationSetValue = TLocationValue>(expectedLocation?: TLocationType): Omit<Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
433
+ type: TLocationType;
434
+ }> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
433
435
  type: TLocationType;
434
436
  }> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
435
437
  type: TLocationType;
@@ -444,7 +446,9 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
444
446
  }> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
445
447
  type: TLocationType;
446
448
  }>, "setValue"> & {
447
- setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
449
+ setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
450
+ type: TLocationType;
451
+ }> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
448
452
  type: TLocationType;
449
453
  }> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
450
454
  type: TLocationType;
@@ -458,7 +462,9 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
458
462
  type: TLocationType;
459
463
  }> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
460
464
  type: TLocationType;
461
- }>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
465
+ }>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
466
+ type: TLocationType;
467
+ }> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
462
468
  type: TLocationType;
463
469
  }> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
464
470
  type: TLocationType;
@@ -795,6 +801,8 @@ type InputVariablesProps<TEditorContext = unknown> = {
795
801
  warningMessage?: string;
796
802
  /** (optional) sets and shows the the info message value */
797
803
  infoMessage?: string;
804
+ /** (optional) sets placeholder when there is no value */
805
+ placeholder?: string;
798
806
  /** (optional) sets caption text value */
799
807
  caption?: string;
800
808
  /** Disables editing the value of the input, editing variables, and adding variables */
package/dist/index.esm.js CHANGED
@@ -4083,6 +4083,18 @@ var inputCompact = css21`
4083
4083
  padding-block: var(--spacing-sm);
4084
4084
  font-size: var(--fs-sm);
4085
4085
  `;
4086
+ var placeholderCaption = css21`
4087
+ position: absolute;
4088
+ color: var(--gray-400);
4089
+ inset: var(--spacing-base) var(--spacing-lg) var(--spacing-base) var(--spacing-base);
4090
+ overflow: hidden;
4091
+ text-overflow: ellipsis;
4092
+ white-space: nowrap;
4093
+ pointer-events: none;
4094
+ `;
4095
+ var placeholderCompact = css21`
4096
+ inset: var(--spacing-sm) var(--spacing-lg) var(--spacing-sm) var(--spacing-base);
4097
+ `;
4086
4098
 
4087
4099
  // src/components/Variables/toolbox/InputVariablesProvider.tsx
4088
4100
  import * as React10 from "react";
@@ -4491,14 +4503,18 @@ import {
4491
4503
  PASTE_COMMAND as PASTE_COMMAND2
4492
4504
  } from "lexical";
4493
4505
  import { useEffect as useEffect13 } from "react";
4494
- import { jsx as jsx38, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
4495
- function VariablesComposerInput({ css: css37, ...contentEditableProps }) {
4506
+ import { Fragment as Fragment9, jsx as jsx38, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
4507
+ function VariablesComposerInput({
4508
+ css: css37,
4509
+ placeholder,
4510
+ ...contentEditableProps
4511
+ }) {
4496
4512
  return /* @__PURE__ */ jsxs22("div", { children: [
4497
4513
  /* @__PURE__ */ jsx38(
4498
4514
  PlainTextPlugin,
4499
4515
  {
4500
4516
  contentEditable: /* @__PURE__ */ jsx38(ContentEditable, { ...contentEditableProps }),
4501
- placeholder: null,
4517
+ placeholder: placeholder ? /* @__PURE__ */ jsx38(Fragment9, { children: placeholder }) : null,
4502
4518
  ErrorBoundary: LexicalErrorBoundary
4503
4519
  }
4504
4520
  ),
@@ -4583,7 +4599,7 @@ function RichishCopyAndPastePlugin() {
4583
4599
  }
4584
4600
 
4585
4601
  // src/components/Variables/InputVariables.tsx
4586
- import { Fragment as Fragment9, jsx as jsx39, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
4602
+ import { Fragment as Fragment10, jsx as jsx39, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
4587
4603
  function InputVariables(props) {
4588
4604
  const {
4589
4605
  id,
@@ -4596,6 +4612,7 @@ function InputVariables(props) {
4596
4612
  transformPaste,
4597
4613
  showAddVariableMenuOption,
4598
4614
  inputWhenNoVariables,
4615
+ placeholder,
4599
4616
  caption,
4600
4617
  errorMessage,
4601
4618
  warningMessage,
@@ -4636,7 +4653,17 @@ function InputVariables(props) {
4636
4653
  "aria-label": ariaLabel,
4637
4654
  "data-testid": dataTestId ? dataTestId : "input-container",
4638
4655
  "data-text-value": value,
4639
- css: [input, styleVariant === "compact" ? inputCompact : null]
4656
+ css: [input, styleVariant === "compact" ? inputCompact : null],
4657
+ placeholder: placeholder ? /* @__PURE__ */ jsx39(
4658
+ Caption,
4659
+ {
4660
+ css: [
4661
+ placeholderCaption,
4662
+ styleVariant === "compact" ? placeholderCompact : null
4663
+ ],
4664
+ children: placeholder
4665
+ }
4666
+ ) : void 0
4640
4667
  }
4641
4668
  )
4642
4669
  }
@@ -4695,7 +4722,7 @@ function InputVariablesOverlayMenu({
4695
4722
  ...props
4696
4723
  }) {
4697
4724
  if (disabled) {
4698
- return /* @__PURE__ */ jsx39(Fragment9, { children });
4725
+ return /* @__PURE__ */ jsx39(Fragment10, { children });
4699
4726
  }
4700
4727
  return /* @__PURE__ */ jsxs23("div", { css: menuContainer, children: [
4701
4728
  children,
@@ -4718,6 +4745,7 @@ import { useMemo as useMemo11 } from "react";
4718
4745
 
4719
4746
  // src/components/Variables/styles/ParameterVariables.styles.ts
4720
4747
  import { css as css23 } from "@emotion/react";
4748
+ import { scrollbarStyles as scrollbarStyles3 } from "@uniformdev/design-system";
4721
4749
  var variableBindButton2 = css23`
4722
4750
  align-items: center;
4723
4751
  border: none;
@@ -4797,8 +4825,10 @@ var input2 = css23`
4797
4825
  }
4798
4826
  `;
4799
4827
  var inputMultiLine = (lines) => css23`
4800
- // 1.5 = line height, spacing-md = top and bottom padding
4801
- height: calc(${lines * 1.5}em + var(--spacing-md));
4828
+ ${scrollbarStyles3}
4829
+ // 1.5 = line height, spacing-sm = top and bottom padding + spacing-xs to give a slight increase in height
4830
+ // as the text looked to close to the bottom of the input
4831
+ height: calc(${lines * 1.5}em + var(--spacing-sm) + var(--spacing-xs));
4802
4832
  resize: vertical;
4803
4833
  overflow: auto;
4804
4834
  `;
@@ -5020,7 +5050,7 @@ function ParameterVariables(props) {
5020
5050
  "data-text-value": value,
5021
5051
  css: [
5022
5052
  input2,
5023
- typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(4) : css24``,
5053
+ typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(2) : css24``,
5024
5054
  inputCss != null ? inputCss : css24``
5025
5055
  ]
5026
5056
  }
@@ -5118,7 +5148,7 @@ var variableValue = css25`
5118
5148
  `;
5119
5149
 
5120
5150
  // src/components/Variables/VariablesList.tsx
5121
- import { Fragment as Fragment10, jsx as jsx43, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
5151
+ import { Fragment as Fragment11, jsx as jsx43, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
5122
5152
  function VariablesList() {
5123
5153
  const { variables, dispatch } = useVariables();
5124
5154
  const sorted = variablesToList(variables);
@@ -5139,7 +5169,7 @@ function VariablesList() {
5139
5169
  return result;
5140
5170
  }
5141
5171
  };
5142
- return /* @__PURE__ */ jsxs27(Fragment10, { children: [
5172
+ return /* @__PURE__ */ jsxs27(Fragment11, { children: [
5143
5173
  /* @__PURE__ */ jsx43(DragDropContext2, { onDragEnd: (res) => onDragEnd(res), children: /* @__PURE__ */ jsx43(Droppable2, { droppableId: "variables-table", children: (provided) => /* @__PURE__ */ jsxs27(Table, { ...provided.droppableProps, ref: provided.innerRef, children: [
5144
5174
  /* @__PURE__ */ jsx43(TableHead, { children: /* @__PURE__ */ jsxs27(TableRow, { children: [
5145
5175
  /* @__PURE__ */ jsx43(TableCellHead, { children: "Name" }),
@@ -5767,7 +5797,7 @@ function decodeVariablesInUrlEncodedString(string, varValues) {
5767
5797
  }
5768
5798
 
5769
5799
  // src/components/Request/RequestUrl.tsx
5770
- import { Fragment as Fragment11, jsx as jsx52, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
5800
+ import { Fragment as Fragment12, jsx as jsx52, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
5771
5801
  function RequestUrl() {
5772
5802
  var _a, _b;
5773
5803
  const { variables } = useVariables();
@@ -5791,7 +5821,7 @@ function RequestUrl() {
5791
5821
  request.baseRequest ? /* @__PURE__ */ jsx52("span", { children: (_b = request.baseRequest) == null ? void 0 : _b.baseUrl }) : null,
5792
5822
  /* @__PURE__ */ jsxs31("span", { css: { fontWeight: request.baseRequest ? "bold" : "inherit" }, children: [
5793
5823
  urlEncodeRequestUrl(request.relativeUrl, variables),
5794
- mergedParameters.length > 0 ? /* @__PURE__ */ jsxs31(Fragment11, { children: [
5824
+ mergedParameters.length > 0 ? /* @__PURE__ */ jsxs31(Fragment12, { children: [
5795
5825
  "?",
5796
5826
  mergedParameters.map((param, index) => {
5797
5827
  const encoded = urlEncodeRequestParameter(param, variables);
@@ -6746,7 +6776,7 @@ var ObjectSearchResultListTitle = css36`
6746
6776
  `;
6747
6777
 
6748
6778
  // src/components/ObjectSearch/ObjectSearchResultList.tsx
6749
- import { Fragment as Fragment12, jsx as jsx65, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
6779
+ import { Fragment as Fragment13, jsx as jsx65, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
6750
6780
  function ObjectSearchResultList({
6751
6781
  resultLabelText = "Selected",
6752
6782
  removeButtonText = "Remove all",
@@ -6773,7 +6803,7 @@ function ObjectSearchResultList({
6773
6803
  return result;
6774
6804
  }
6775
6805
  };
6776
- return /* @__PURE__ */ jsxs40(Fragment12, { children: [
6806
+ return /* @__PURE__ */ jsxs40(Fragment13, { children: [
6777
6807
  /* @__PURE__ */ jsxs40("div", { role: "group", css: ObjectSearchResultListContainer, children: [
6778
6808
  /* @__PURE__ */ jsxs40("div", { role: "note", css: ObjectSearchResultListCounterContainer, children: [
6779
6809
  /* @__PURE__ */ jsx65("span", { css: ObjectSearchResultListTitle, children: resultLabelText }),
package/dist/index.js CHANGED
@@ -33,9 +33,9 @@ var src_exports = {};
33
33
  __export(src_exports, {
34
34
  $createVariableNode: () => $createVariableNode,
35
35
  $isVariableNode: () => $isVariableNode,
36
- AddListButton: () => import_design_system40.AddListButton,
37
- Button: () => import_design_system40.Button,
38
- Callout: () => import_design_system40.Callout,
36
+ AddListButton: () => import_design_system41.AddListButton,
37
+ Button: () => import_design_system41.Button,
38
+ Callout: () => import_design_system41.Callout,
39
39
  ControlledValuePlugin: () => ControlledValuePlugin,
40
40
  DISCONNECT_VARIABLE_COMMAND: () => DISCONNECT_VARIABLE_COMMAND,
41
41
  DamSelectedItem: () => DamSelectedItem,
@@ -47,24 +47,24 @@ __export(src_exports, {
47
47
  DataTypeEditor: () => DataTypeEditor,
48
48
  DefaultSearchRow: () => DefaultSearchRow,
49
49
  DefaultSelectedItem: () => DefaultSelectedItem,
50
- DrawerContent: () => import_design_system40.DrawerContent,
50
+ DrawerContent: () => import_design_system41.DrawerContent,
51
51
  EDIT_VARIABLE_COMMAND: () => EDIT_VARIABLE_COMMAND,
52
52
  EntrySearch: () => EntrySearch,
53
- Heading: () => import_design_system40.Heading,
53
+ Heading: () => import_design_system41.Heading,
54
54
  INSERT_VARIABLE_COMMAND: () => INSERT_VARIABLE_COMMAND,
55
55
  Icons: () => icons_exports,
56
- Input: () => import_design_system40.Input,
57
- InputComboBox: () => import_design_system40.InputComboBox,
58
- InputKeywordSearch: () => import_design_system40.InputKeywordSearch,
59
- InputSelect: () => import_design_system40.InputSelect,
60
- InputToggle: () => import_design_system40.InputToggle,
56
+ Input: () => import_design_system41.Input,
57
+ InputComboBox: () => import_design_system41.InputComboBox,
58
+ InputKeywordSearch: () => import_design_system41.InputKeywordSearch,
59
+ InputSelect: () => import_design_system41.InputSelect,
60
+ InputToggle: () => import_design_system41.InputToggle,
61
61
  InputVariables: () => InputVariables,
62
- Label: () => import_design_system40.Label,
62
+ Label: () => import_design_system41.Label,
63
63
  LinkButton: () => LinkButton,
64
- LoadingIndicator: () => import_design_system40.LoadingIndicator,
65
- LoadingOverlay: () => import_design_system40.LoadingOverlay,
66
- Menu: () => import_design_system40.Menu,
67
- MenuItem: () => import_design_system40.MenuItem,
64
+ LoadingIndicator: () => import_design_system41.LoadingIndicator,
65
+ LoadingOverlay: () => import_design_system41.LoadingOverlay,
66
+ Menu: () => import_design_system41.Menu,
67
+ MenuItem: () => import_design_system41.MenuItem,
68
68
  MeshApp: () => MeshApp,
69
69
  OPEN_INSERT_VARIABLE_COMMAND: () => OPEN_INSERT_VARIABLE_COMMAND,
70
70
  ObjectSearchContainer: () => ObjectSearchContainer,
@@ -78,22 +78,22 @@ __export(src_exports, {
78
78
  ObjectSearchResultList: () => ObjectSearchResultList,
79
79
  ParamTypeDynamicDataProvider: () => ParamTypeDynamicDataProvider,
80
80
  ParameterConnectionIndicator: () => ParameterConnectionIndicator,
81
- ParameterGroup: () => import_design_system40.ParameterGroup,
82
- ParameterImage: () => import_design_system40.ParameterImage,
83
- ParameterImageInner: () => import_design_system40.ParameterImageInner,
84
- ParameterInput: () => import_design_system40.ParameterInput,
85
- ParameterInputInner: () => import_design_system40.ParameterInputInner,
86
- ParameterLabel: () => import_design_system40.ParameterLabel,
87
- ParameterMenuButton: () => import_design_system40.ParameterMenuButton,
81
+ ParameterGroup: () => import_design_system41.ParameterGroup,
82
+ ParameterImage: () => import_design_system41.ParameterImage,
83
+ ParameterImageInner: () => import_design_system41.ParameterImageInner,
84
+ ParameterInput: () => import_design_system41.ParameterInput,
85
+ ParameterInputInner: () => import_design_system41.ParameterInputInner,
86
+ ParameterLabel: () => import_design_system41.ParameterLabel,
87
+ ParameterMenuButton: () => import_design_system41.ParameterMenuButton,
88
88
  ParameterOrSingleVariable: () => ParameterOrSingleVariable,
89
- ParameterSelect: () => import_design_system40.ParameterSelect,
90
- ParameterSelectInner: () => import_design_system40.ParameterSelectInner,
91
- ParameterShell: () => import_design_system40.ParameterShell,
89
+ ParameterSelect: () => import_design_system41.ParameterSelect,
90
+ ParameterSelectInner: () => import_design_system41.ParameterSelectInner,
91
+ ParameterShell: () => import_design_system41.ParameterShell,
92
92
  ParameterShellContext: () => import_design_system14.ParameterShellContext,
93
- ParameterTextarea: () => import_design_system40.ParameterTextarea,
94
- ParameterTextareaInner: () => import_design_system40.ParameterTextareaInner,
95
- ParameterToggle: () => import_design_system40.ParameterToggle,
96
- ParameterToggleInner: () => import_design_system40.ParameterToggleInner,
93
+ ParameterTextarea: () => import_design_system41.ParameterTextarea,
94
+ ParameterTextareaInner: () => import_design_system41.ParameterTextareaInner,
95
+ ParameterToggle: () => import_design_system41.ParameterToggle,
96
+ ParameterToggleInner: () => import_design_system41.ParameterToggleInner,
97
97
  ParameterVariables: () => ParameterVariables,
98
98
  ProductPreviewList: () => ProductPreviewList,
99
99
  ProductQuery: () => ProductQuery,
@@ -112,13 +112,13 @@ __export(src_exports, {
112
112
  RequestUrl: () => RequestUrl,
113
113
  RequestUrlInput: () => RequestUrlInput,
114
114
  ResolvableLoadingValue: () => ResolvableLoadingValue,
115
- ScrollableList: () => import_design_system40.ScrollableList,
116
- ScrollableListItem: () => import_design_system40.ScrollableListItem,
115
+ ScrollableList: () => import_design_system41.ScrollableList,
116
+ ScrollableListItem: () => import_design_system41.ScrollableListItem,
117
117
  SelectionField: () => SelectionField,
118
- Switch: () => import_design_system40.Switch,
118
+ Switch: () => import_design_system41.Switch,
119
119
  TextVariableRenderer: () => TextVariableRenderer,
120
- Textarea: () => import_design_system40.Textarea,
121
- Theme: () => import_design_system40.Theme,
120
+ Textarea: () => import_design_system41.Textarea,
121
+ Theme: () => import_design_system41.Theme,
122
122
  VariableEditor: () => VariableEditor,
123
123
  VariableNode: () => VariableNode,
124
124
  VariablesList: () => VariablesList,
@@ -4261,6 +4261,18 @@ var inputCompact = import_react41.css`
4261
4261
  padding-block: var(--spacing-sm);
4262
4262
  font-size: var(--fs-sm);
4263
4263
  `;
4264
+ var placeholderCaption = import_react41.css`
4265
+ position: absolute;
4266
+ color: var(--gray-400);
4267
+ inset: var(--spacing-base) var(--spacing-lg) var(--spacing-base) var(--spacing-base);
4268
+ overflow: hidden;
4269
+ text-overflow: ellipsis;
4270
+ white-space: nowrap;
4271
+ pointer-events: none;
4272
+ `;
4273
+ var placeholderCompact = import_react41.css`
4274
+ inset: var(--spacing-sm) var(--spacing-lg) var(--spacing-sm) var(--spacing-base);
4275
+ `;
4264
4276
 
4265
4277
  // src/components/Variables/toolbox/InputVariablesProvider.tsx
4266
4278
  var React10 = __toESM(require("react"));
@@ -4658,13 +4670,17 @@ var import_utils4 = require("@lexical/utils");
4658
4670
  var import_lexical9 = require("lexical");
4659
4671
  var import_react48 = require("react");
4660
4672
  var import_jsx_runtime38 = require("@emotion/react/jsx-runtime");
4661
- function VariablesComposerInput({ css: css37, ...contentEditableProps }) {
4673
+ function VariablesComposerInput({
4674
+ css: css37,
4675
+ placeholder,
4676
+ ...contentEditableProps
4677
+ }) {
4662
4678
  return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { children: [
4663
4679
  /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
4664
4680
  import_LexicalPlainTextPlugin.PlainTextPlugin,
4665
4681
  {
4666
4682
  contentEditable: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_LexicalContentEditable.ContentEditable, { ...contentEditableProps }),
4667
- placeholder: null,
4683
+ placeholder: placeholder ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_jsx_runtime38.Fragment, { children: placeholder }) : null,
4668
4684
  ErrorBoundary: import_LexicalErrorBoundary.default
4669
4685
  }
4670
4686
  ),
@@ -4762,6 +4778,7 @@ function InputVariables(props) {
4762
4778
  transformPaste,
4763
4779
  showAddVariableMenuOption,
4764
4780
  inputWhenNoVariables,
4781
+ placeholder,
4765
4782
  caption,
4766
4783
  errorMessage,
4767
4784
  warningMessage,
@@ -4802,7 +4819,17 @@ function InputVariables(props) {
4802
4819
  "aria-label": ariaLabel,
4803
4820
  "data-testid": dataTestId ? dataTestId : "input-container",
4804
4821
  "data-text-value": value,
4805
- css: [input, styleVariant === "compact" ? inputCompact : null]
4822
+ css: [input, styleVariant === "compact" ? inputCompact : null],
4823
+ placeholder: placeholder ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4824
+ import_design_system20.Caption,
4825
+ {
4826
+ css: [
4827
+ placeholderCaption,
4828
+ styleVariant === "compact" ? placeholderCompact : null
4829
+ ],
4830
+ children: placeholder
4831
+ }
4832
+ ) : void 0
4806
4833
  }
4807
4834
  )
4808
4835
  }
@@ -4879,11 +4906,12 @@ function InputVariablesOverlayMenu({
4879
4906
  // src/components/Variables/ParameterConnectionIndicator.tsx
4880
4907
  var import_CgUsbC2 = require("@react-icons/all-files/cg/CgUsbC");
4881
4908
  var import_canvas6 = require("@uniformdev/canvas");
4882
- var import_design_system21 = require("@uniformdev/design-system");
4909
+ var import_design_system22 = require("@uniformdev/design-system");
4883
4910
  var import_react51 = require("react");
4884
4911
 
4885
4912
  // src/components/Variables/styles/ParameterVariables.styles.ts
4886
4913
  var import_react50 = require("@emotion/react");
4914
+ var import_design_system21 = require("@uniformdev/design-system");
4887
4915
  var variableBindButton2 = import_react50.css`
4888
4916
  align-items: center;
4889
4917
  border: none;
@@ -4963,8 +4991,10 @@ var input2 = import_react50.css`
4963
4991
  }
4964
4992
  `;
4965
4993
  var inputMultiLine = (lines) => import_react50.css`
4966
- // 1.5 = line height, spacing-md = top and bottom padding
4967
- height: calc(${lines * 1.5}em + var(--spacing-md));
4994
+ ${import_design_system21.scrollbarStyles}
4995
+ // 1.5 = line height, spacing-sm = top and bottom padding + spacing-xs to give a slight increase in height
4996
+ // as the text looked to close to the bottom of the input
4997
+ height: calc(${lines * 1.5}em + var(--spacing-sm) + var(--spacing-xs));
4968
4998
  resize: vertical;
4969
4999
  overflow: auto;
4970
5000
  `;
@@ -4989,10 +5019,10 @@ function ParameterConnectionIndicator({
4989
5019
  });
4990
5020
  return result;
4991
5021
  }, [value]);
4992
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_design_system21.HorizontalRhythm, { align: "center", gap: "xs", css: { width: "100%" }, children: [
5022
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_design_system22.HorizontalRhythm, { align: "center", gap: "xs", css: { width: "100%" }, children: [
4993
5023
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { css: { flex: 1 }, children }),
4994
5024
  disabled ? null : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4995
- import_design_system21.Menu,
5025
+ import_design_system22.Menu,
4996
5026
  {
4997
5027
  placement: "bottom-start",
4998
5028
  withoutPortal: true,
@@ -5014,7 +5044,7 @@ function ParameterConnectionIndicator({
5014
5044
  }
5015
5045
 
5016
5046
  // src/components/Variables/ParameterOrSingleVariable.tsx
5017
- var import_design_system22 = require("@uniformdev/design-system");
5047
+ var import_design_system23 = require("@uniformdev/design-system");
5018
5048
  var import_react53 = require("react");
5019
5049
 
5020
5050
  // src/components/Variables/composer/OnDisconnectPlugin.tsx
@@ -5100,7 +5130,7 @@ function ParameterOrSingleVariable(props) {
5100
5130
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(OnDisconnectPlugin, { onDisconnect: handleDisconnect }),
5101
5131
  editorRef ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(EditorRefPlugin, { editorRef }) : null,
5102
5132
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ControlledValuePlugin, { enabled: true, value }),
5103
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_design_system22.HorizontalRhythm, { align: "center", gap: "xs", css: { width: "100%" }, children: [
5133
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_design_system23.HorizontalRhythm, { align: "center", gap: "xs", css: { width: "100%" }, children: [
5104
5134
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { css: { flex: 1 }, children: inputWhenNoVariables && !hadVariablesInValue ? inputWhenNoVariables : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5105
5135
  VariablesComposerInput,
5106
5136
  {
@@ -5128,7 +5158,7 @@ function ParameterOrSingleVariable(props) {
5128
5158
 
5129
5159
  // src/components/Variables/ParameterVariables.tsx
5130
5160
  var import_react54 = require("@emotion/react");
5131
- var import_design_system23 = require("@uniformdev/design-system");
5161
+ var import_design_system24 = require("@uniformdev/design-system");
5132
5162
  var import_jsx_runtime42 = require("@emotion/react/jsx-runtime");
5133
5163
  function ParameterVariables(props) {
5134
5164
  const {
@@ -5167,7 +5197,7 @@ function ParameterVariables(props) {
5167
5197
  editorRef ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(EditorRefPlugin, { editorRef }) : null,
5168
5198
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ControlledValuePlugin, { value, enabled: useInputWhenNoVariables }),
5169
5199
  /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
5170
- import_design_system23.HorizontalRhythm,
5200
+ import_design_system24.HorizontalRhythm,
5171
5201
  {
5172
5202
  align: "center",
5173
5203
  gap: "xs",
@@ -5186,7 +5216,7 @@ function ParameterVariables(props) {
5186
5216
  "data-text-value": value,
5187
5217
  css: [
5188
5218
  input2,
5189
- typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(4) : import_react54.css``,
5219
+ typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(2) : import_react54.css``,
5190
5220
  inputCss != null ? inputCss : import_react54.css``
5191
5221
  ]
5192
5222
  }
@@ -5224,7 +5254,7 @@ ${prettifyBindExpression(bindExpression)}`
5224
5254
 
5225
5255
  // src/components/Variables/VariablesList.tsx
5226
5256
  var import_react56 = require("@emotion/react");
5227
- var import_design_system24 = require("@uniformdev/design-system");
5257
+ var import_design_system25 = require("@uniformdev/design-system");
5228
5258
  var import_react_beautiful_dnd2 = require("react-beautiful-dnd");
5229
5259
 
5230
5260
  // src/components/Variables/styles/VariablesList.styles.ts
@@ -5296,13 +5326,13 @@ function VariablesList() {
5296
5326
  }
5297
5327
  };
5298
5328
  return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
5299
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_beautiful_dnd2.DragDropContext, { onDragEnd: (res) => onDragEnd(res), children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_beautiful_dnd2.Droppable, { droppableId: "variables-table", children: (provided) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_design_system24.Table, { ...provided.droppableProps, ref: provided.innerRef, children: [
5300
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system24.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_design_system24.TableRow, { children: [
5301
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system24.TableCellHead, { children: "Name" }),
5302
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system24.TableCellHead, { children: "Default Value" }),
5303
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system24.TableCellHead, {})
5329
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_beautiful_dnd2.DragDropContext, { onDragEnd: (res) => onDragEnd(res), children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_beautiful_dnd2.Droppable, { droppableId: "variables-table", children: (provided) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_design_system25.Table, { ...provided.droppableProps, ref: provided.innerRef, children: [
5330
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system25.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_design_system25.TableRow, { children: [
5331
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system25.TableCellHead, { children: "Name" }),
5332
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system25.TableCellHead, { children: "Default Value" }),
5333
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system25.TableCellHead, {})
5304
5334
  ] }) }),
5305
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_design_system24.TableBody, { children: [
5335
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_design_system25.TableBody, { children: [
5306
5336
  sorted.map(({ name, displayName, default: defaultValue, readOnly }, index) => {
5307
5337
  const text = displayName != null ? displayName : name;
5308
5338
  const textValue = variableDefaultTextValue(defaultValue);
@@ -5313,7 +5343,7 @@ function VariablesList() {
5313
5343
  index,
5314
5344
  isDragDisabled: sorted.length === 1,
5315
5345
  children: (provided2, snapshot) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
5316
- import_design_system24.TableRow,
5346
+ import_design_system25.TableRow,
5317
5347
  {
5318
5348
  ref: provided2.innerRef,
5319
5349
  ...provided2.dragHandleProps,
@@ -5322,7 +5352,7 @@ function VariablesList() {
5322
5352
  css: tableRow(snapshot.isDragging),
5323
5353
  "data-dragging": snapshot.isDragging,
5324
5354
  children: [
5325
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system24.TableCellData, { css: sorted.length > 1 ? tableCellDragIcon : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5355
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system25.TableCellData, { css: sorted.length > 1 ? tableCellDragIcon : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5326
5356
  "button",
5327
5357
  {
5328
5358
  css: variableName,
@@ -5335,21 +5365,21 @@ function VariablesList() {
5335
5365
  children: text
5336
5366
  }
5337
5367
  ) }),
5338
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system24.TableCellData, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { css: variableValue, title: textValue, children: textValue }) }),
5339
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system24.TableCellData, { align: "right", children: readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5368
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system25.TableCellData, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { css: variableValue, title: textValue, children: textValue }) }),
5369
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system25.TableCellData, { align: "right", children: readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5340
5370
  "button",
5341
5371
  {
5342
5372
  type: "button",
5343
5373
  title: `delete ${text}`,
5344
5374
  css: [
5345
- import_design_system24.button,
5375
+ import_design_system25.button,
5346
5376
  import_react56.css`
5347
5377
  background: transparent;
5348
5378
  `
5349
5379
  ],
5350
5380
  "aria-controls": text,
5351
5381
  onClick: () => dispatch({ type: "remove", variable: name }),
5352
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system24.Icon, { icon: "trash", iconColor: "red" })
5382
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_design_system25.Icon, { icon: "trash", iconColor: "red" })
5353
5383
  }
5354
5384
  ) })
5355
5385
  ]
@@ -5363,7 +5393,7 @@ function VariablesList() {
5363
5393
  ] })
5364
5394
  ] }) }) }),
5365
5395
  /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5366
- import_design_system24.AddListButton,
5396
+ import_design_system25.AddListButton,
5367
5397
  {
5368
5398
  onButtonClick: () => dispatch({ type: "edit", variable: "" }),
5369
5399
  "aria-label": "Add variable",
@@ -5399,7 +5429,7 @@ function DataResourceDynamicInputProviderRenderer({
5399
5429
  }
5400
5430
 
5401
5431
  // src/components/DataResourceVariablesList.tsx
5402
- var import_design_system25 = require("@uniformdev/design-system");
5432
+ var import_design_system26 = require("@uniformdev/design-system");
5403
5433
  var import_jsx_runtime45 = require("@emotion/react/jsx-runtime");
5404
5434
  function DataResourceVariablesList(props) {
5405
5435
  const {
@@ -5429,9 +5459,9 @@ function DataResourceVariablesListExplicit({
5429
5459
  if (NoVariablesComponent) {
5430
5460
  return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(NoVariablesComponent, {});
5431
5461
  }
5432
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_design_system25.Callout, { type: "note", children: "No settings are required." });
5462
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_design_system26.Callout, { type: "note", children: "No settings are required." });
5433
5463
  }
5434
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(DataResourceDynamicInputProvider, { dynamicInputs, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_design_system25.VerticalRhythm, { children: variableDefinitions.map((variableDefinition) => {
5464
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(DataResourceDynamicInputProvider, { dynamicInputs, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_design_system26.VerticalRhythm, { children: variableDefinitions.map((variableDefinition) => {
5435
5465
  var _a, _b, _c;
5436
5466
  const VariableRenderer = variableDefinition.type ? (_a = typeRenderers == null ? void 0 : typeRenderers[variableDefinition.type]) != null ? _a : TextVariableRenderer : TextVariableRenderer;
5437
5467
  return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
@@ -5473,7 +5503,7 @@ function TextVariableRenderer({ definition, value, setValue }) {
5473
5503
 
5474
5504
  // src/components/Request/RequestBody.tsx
5475
5505
  var import_react58 = require("@emotion/react");
5476
- var import_design_system26 = require("@uniformdev/design-system");
5506
+ var import_design_system27 = require("@uniformdev/design-system");
5477
5507
  var import_react59 = require("react");
5478
5508
 
5479
5509
  // src/components/Request/RequestProvider.tsx
@@ -5616,7 +5646,7 @@ function RequestBody() {
5616
5646
  padding: var(--spacing-sm) var(--spacing-base);
5617
5647
  `,
5618
5648
  children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5619
- import_design_system26.InputSelect,
5649
+ import_design_system27.InputSelect,
5620
5650
  {
5621
5651
  label: "Language",
5622
5652
  showLabel: false,
@@ -5639,7 +5669,7 @@ function RequestBody() {
5639
5669
  }
5640
5670
  ),
5641
5671
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5642
- import_design_system26.JsonEditor,
5672
+ import_design_system27.JsonEditor,
5643
5673
  {
5644
5674
  height: 200,
5645
5675
  defaultValue: request.body,
@@ -5656,7 +5686,7 @@ function RequestBody() {
5656
5686
  }
5657
5687
 
5658
5688
  // src/components/Request/RequestHeaders.tsx
5659
- var import_design_system27 = require("@uniformdev/design-system");
5689
+ var import_design_system28 = require("@uniformdev/design-system");
5660
5690
  var import_jsx_runtime49 = require("@emotion/react/jsx-runtime");
5661
5691
  function RequestHeaders({
5662
5692
  disableVariables,
@@ -5676,30 +5706,30 @@ function RequestHeaders({
5676
5706
  index
5677
5707
  });
5678
5708
  };
5679
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { css: innerContentStyles, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system27.Table, { children: [
5680
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system27.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system27.TableRow, { children: [
5681
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system27.TableCellHead, { children: "Name" }),
5682
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system27.TableCellHead, { children: "Value" }),
5683
- addOmitIfEmpty ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system27.TableCellHead, { children: "Omit If Empty" }) : null
5709
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { css: innerContentStyles, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system28.Table, { children: [
5710
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system28.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system28.TableRow, { children: [
5711
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system28.TableCellHead, { children: "Name" }),
5712
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system28.TableCellHead, { children: "Value" }),
5713
+ addOmitIfEmpty ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system28.TableCellHead, { children: "Omit If Empty" }) : null
5684
5714
  ] }) }),
5685
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system27.TableBody, { children: [
5715
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system28.TableBody, { children: [
5686
5716
  (_b = (_a = request.baseRequest) == null ? void 0 : _a.headers) == null ? void 0 : _b.map((baseHeader) => {
5687
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system27.TableRow, { children: [
5688
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system27.TableCellData, { width: "50%", children: [
5717
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system28.TableRow, { children: [
5718
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system28.TableCellData, { width: "50%", children: [
5689
5719
  baseHeader.key,
5690
5720
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("br", {}),
5691
5721
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("i", { css: { color: "var(--gray-500)" }, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("small", { children: "from data source" }) })
5692
5722
  ] }),
5693
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system27.TableCellData, { width: "50%", children: [
5723
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system28.TableCellData, { width: "50%", children: [
5694
5724
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("i", { css: { color: "var(--gray-500)" }, children: baseHeader.value }),
5695
- request.headers.find((p) => p.key === baseHeader.key) ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system27.WarningMessage, { message: "overridden below" }) : null
5725
+ request.headers.find((p) => p.key === baseHeader.key) ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system28.WarningMessage, { message: "overridden below" }) : null
5696
5726
  ] })
5697
5727
  ] }, baseHeader.key);
5698
5728
  }),
5699
5729
  deezHeaders.map((header, index) => {
5700
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system27.TableRow, { children: [
5701
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system27.TableCellData, { width: "50%", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5702
- import_design_system27.Input,
5730
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_design_system28.TableRow, { children: [
5731
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system28.TableCellData, { width: "50%", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5732
+ import_design_system28.Input,
5703
5733
  {
5704
5734
  label: header.key,
5705
5735
  value: header.key,
@@ -5718,7 +5748,7 @@ function RequestHeaders({
5718
5748
  "data-testid": "header-key"
5719
5749
  }
5720
5750
  ) }),
5721
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system27.TableCellData, { width: "50%", children: header.key ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5751
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system28.TableCellData, { width: "50%", children: header.key ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5722
5752
  InputVariables,
5723
5753
  {
5724
5754
  value: header.value,
@@ -5729,8 +5759,8 @@ function RequestHeaders({
5729
5759
  "data-testid": "header-value"
5730
5760
  }
5731
5761
  ) : null }),
5732
- addOmitIfEmpty ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system27.TableCellData, { width: "50%", children: header.key ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5733
- import_design_system27.Input,
5762
+ addOmitIfEmpty ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_design_system28.TableCellData, { width: "50%", children: header.key ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5763
+ import_design_system28.Input,
5734
5764
  {
5735
5765
  type: "checkbox",
5736
5766
  checked: header.omitIfEmpty,
@@ -5753,13 +5783,13 @@ function RequestHeaders({
5753
5783
  }
5754
5784
 
5755
5785
  // src/components/Request/RequestMethodSelect.tsx
5756
- var import_design_system28 = require("@uniformdev/design-system");
5786
+ var import_design_system29 = require("@uniformdev/design-system");
5757
5787
  var import_jsx_runtime50 = require("@emotion/react/jsx-runtime");
5758
5788
  function RequestMethodSelect(props) {
5759
5789
  var _a;
5760
5790
  const { request, dispatch } = useRequest();
5761
5791
  return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5762
- import_design_system28.InputSelect,
5792
+ import_design_system29.InputSelect,
5763
5793
  {
5764
5794
  ...props,
5765
5795
  options: [
@@ -5774,7 +5804,7 @@ function RequestMethodSelect(props) {
5774
5804
  }
5775
5805
 
5776
5806
  // src/components/Request/RequestParameters.tsx
5777
- var import_design_system29 = require("@uniformdev/design-system");
5807
+ var import_design_system30 = require("@uniformdev/design-system");
5778
5808
  var import_jsx_runtime51 = require("@emotion/react/jsx-runtime");
5779
5809
  function RequestParameters({
5780
5810
  disableVariables,
@@ -5795,30 +5825,30 @@ function RequestParameters({
5795
5825
  index
5796
5826
  });
5797
5827
  };
5798
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { css: innerContentStyles, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system29.Table, { children: [
5799
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system29.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system29.TableRow, { children: [
5800
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system29.TableCellHead, { children: "Name" }),
5801
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system29.TableCellHead, { children: "Value" }),
5802
- addOmitIfEmpty ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system29.TableCellHead, { children: "Omit If Empty" }) : null
5828
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { css: innerContentStyles, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system30.Table, { children: [
5829
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system30.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system30.TableRow, { children: [
5830
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system30.TableCellHead, { children: "Name" }),
5831
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system30.TableCellHead, { children: "Value" }),
5832
+ addOmitIfEmpty ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system30.TableCellHead, { children: "Omit If Empty" }) : null
5803
5833
  ] }) }),
5804
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system29.TableBody, { children: [
5834
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system30.TableBody, { children: [
5805
5835
  (_b = (_a = request.baseRequest) == null ? void 0 : _a.parameters) == null ? void 0 : _b.map((baseParameter) => {
5806
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system29.TableRow, { children: [
5807
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system29.TableCellData, { width: "50%", children: [
5836
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system30.TableRow, { children: [
5837
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system30.TableCellData, { width: "50%", children: [
5808
5838
  baseParameter.key,
5809
5839
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("br", {}),
5810
5840
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("i", { css: { color: "var(--gray-500)" }, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("small", { children: "from data source" }) })
5811
5841
  ] }),
5812
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system29.TableCellData, { width: "50%", children: [
5842
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system30.TableCellData, { width: "50%", children: [
5813
5843
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("i", { css: { color: "var(--gray-500)" }, children: baseParameter.value }),
5814
- request.parameters.find((p) => p.key === baseParameter.key) ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system29.WarningMessage, { message: "overridden below" }) : null
5844
+ request.parameters.find((p) => p.key === baseParameter.key) ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system30.WarningMessage, { message: "overridden below" }) : null
5815
5845
  ] })
5816
5846
  ] }, baseParameter.key);
5817
5847
  }),
5818
5848
  deezParameters.map((parameter, index) => {
5819
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system29.TableRow, { children: [
5820
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system29.TableCellData, { width: "50%", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5821
- import_design_system29.Input,
5849
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_design_system30.TableRow, { children: [
5850
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system30.TableCellData, { width: "50%", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5851
+ import_design_system30.Input,
5822
5852
  {
5823
5853
  label: parameter.key,
5824
5854
  value: parameter.key,
@@ -5841,7 +5871,7 @@ function RequestParameters({
5841
5871
  "data-testid": "parameter-key"
5842
5872
  }
5843
5873
  ) }),
5844
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system29.TableCellData, { width: "50%", children: parameter.key ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5874
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system30.TableCellData, { width: "50%", children: parameter.key ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5845
5875
  InputVariables,
5846
5876
  {
5847
5877
  value: parameter.value,
@@ -5857,8 +5887,8 @@ function RequestParameters({
5857
5887
  enableEditingVariables: true
5858
5888
  }
5859
5889
  ) : null }),
5860
- addOmitIfEmpty ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system29.TableCellData, { width: "50%", children: parameter.key ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5861
- import_design_system29.Input,
5890
+ addOmitIfEmpty ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_design_system30.TableCellData, { width: "50%", children: parameter.key ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5891
+ import_design_system30.Input,
5862
5892
  {
5863
5893
  type: "checkbox",
5864
5894
  checked: parameter.omitIfEmpty,
@@ -6154,7 +6184,7 @@ function convertRequestDataToDataType(dataType, requestData) {
6154
6184
  }
6155
6185
 
6156
6186
  // src/components/MeshApp.tsx
6157
- var import_design_system30 = require("@uniformdev/design-system");
6187
+ var import_design_system31 = require("@uniformdev/design-system");
6158
6188
 
6159
6189
  // src/hooks/useInitializeUniformMeshSdk.ts
6160
6190
  var import_mesh_sdk = require("@uniformdev/mesh-sdk");
@@ -6205,7 +6235,7 @@ var MeshApp = ({
6205
6235
  const { initializing, error, sdk } = useInitializeUniformMeshSdk();
6206
6236
  if (initializing || !sdk) {
6207
6237
  const LoadingComponent = loadingComponent;
6208
- return LoadingComponent ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(LoadingComponent, {}) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_design_system30.LoadingIndicator, {});
6238
+ return LoadingComponent ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(LoadingComponent, {}) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_design_system31.LoadingIndicator, {});
6209
6239
  }
6210
6240
  if (error) {
6211
6241
  const ErrorComponent = errorComponent;
@@ -6215,14 +6245,14 @@ var MeshApp = ({
6215
6245
  throw error;
6216
6246
  }
6217
6247
  return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(UniformMeshSdkContext.Provider, { value: { sdk }, children: [
6218
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_design_system30.Theme, {}),
6248
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_design_system31.Theme, {}),
6219
6249
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(UniformMeshLocationContextProvider, { children })
6220
6250
  ] });
6221
6251
  };
6222
6252
 
6223
6253
  // src/components/ObjectSearch/DataRefreshButton.tsx
6224
6254
  var import_react63 = require("@emotion/react");
6225
- var import_design_system31 = require("@uniformdev/design-system");
6255
+ var import_design_system32 = require("@uniformdev/design-system");
6226
6256
  var import_jsx_runtime57 = require("@emotion/react/jsx-runtime");
6227
6257
  var DataRefreshButton = ({
6228
6258
  buttonText,
@@ -6230,9 +6260,9 @@ var DataRefreshButton = ({
6230
6260
  onRefreshData,
6231
6261
  ...props
6232
6262
  }) => {
6233
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_design_system31.Button, { buttonType: "primaryInvert", onClick: onRefreshData, disabled: isLoading, ...props, children: [
6263
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_design_system32.Button, { buttonType: "primaryInvert", onClick: onRefreshData, disabled: isLoading, ...props, children: [
6234
6264
  !isLoading ? null : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6235
- import_design_system31.LoadingIndicator,
6265
+ import_design_system32.LoadingIndicator,
6236
6266
  {
6237
6267
  css: import_react63.css`
6238
6268
  ${isLoading ? "opacity: 0.2;" : void 0}
@@ -6246,7 +6276,7 @@ var DataRefreshButton = ({
6246
6276
  // src/components/ObjectSearch/ObjectSearchContainer.tsx
6247
6277
  var import_react65 = require("@emotion/react");
6248
6278
  var import_canvas8 = require("@uniformdev/canvas");
6249
- var import_design_system32 = require("@uniformdev/design-system");
6279
+ var import_design_system33 = require("@uniformdev/design-system");
6250
6280
 
6251
6281
  // src/components/ObjectSearch/hooks/ObjectSearchContext.tsx
6252
6282
  var import_canvas7 = require("@uniformdev/canvas");
@@ -6363,10 +6393,10 @@ var ObjectSearchContainer = ({
6363
6393
  const { onSelectItem, selectedListItems, list } = useObjectSearchContext();
6364
6394
  const { flatVariables } = useVariables(true);
6365
6395
  const inputValue = (_b = (_a = selectedListItems == null ? void 0 : selectedListItems[0]) == null ? void 0 : _a.id) != null ? _b : "";
6366
- const body = /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_design_system32.VerticalRhythm, { children: [
6396
+ const body = /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_design_system33.VerticalRhythm, { children: [
6367
6397
  searchFilters,
6368
6398
  !resultList ? null : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6369
- import_design_system32.ScrollableList,
6399
+ import_design_system33.ScrollableList,
6370
6400
  {
6371
6401
  role: "list",
6372
6402
  css: import_react65.css`
@@ -6406,8 +6436,8 @@ var ObjectSearchContainer = ({
6406
6436
  }
6407
6437
  ]);
6408
6438
  };
6409
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_design_system32.IconsProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_design_system32.VerticalRhythm, { children: [
6410
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_design_system32.Container, { backgroundColor: "gray-50", padding: "var(--spacing-base)", border: true, children: label ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6439
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_design_system33.IconsProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_design_system33.VerticalRhythm, { children: [
6440
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_design_system33.Container, { backgroundColor: "gray-50", padding: "var(--spacing-base)", border: true, children: label ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6411
6441
  InputVariables,
6412
6442
  {
6413
6443
  label,
@@ -6427,7 +6457,7 @@ var ObjectSearchContainer = ({
6427
6457
  };
6428
6458
 
6429
6459
  // src/components/ObjectSearch/ObjectSearchFilter.tsx
6430
- var import_design_system33 = require("@uniformdev/design-system");
6460
+ var import_design_system34 = require("@uniformdev/design-system");
6431
6461
  var import_react67 = require("react");
6432
6462
 
6433
6463
  // src/components/ObjectSearch/styles/ObjectSearchFilterContainer.styles.ts
@@ -6493,7 +6523,7 @@ var ObjectSearchFilter = ({
6493
6523
  ],
6494
6524
  children: [
6495
6525
  memoizedSelectOptions.length ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
6496
- import_design_system33.InputSelect,
6526
+ import_design_system34.InputSelect,
6497
6527
  {
6498
6528
  label: selectLabel,
6499
6529
  showLabel: false,
@@ -6503,7 +6533,7 @@ var ObjectSearchFilter = ({
6503
6533
  }
6504
6534
  ) : null,
6505
6535
  /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
6506
- import_design_system33.InputKeywordSearch,
6536
+ import_design_system34.InputKeywordSearch,
6507
6537
  {
6508
6538
  inputFieldName: searchInputName,
6509
6539
  placeholder: searchInputPlaceholderText,
@@ -6528,11 +6558,11 @@ var ObjectSearchFilterContainer2 = ({ label, children }) => {
6528
6558
  };
6529
6559
 
6530
6560
  // src/components/ObjectSearch/ObjectSearchListItem.tsx
6531
- var import_design_system35 = require("@uniformdev/design-system");
6561
+ var import_design_system36 = require("@uniformdev/design-system");
6532
6562
 
6533
6563
  // src/components/ObjectSearch/styles/ObjectSearchListItem.styles.ts
6534
6564
  var import_react68 = require("@emotion/react");
6535
- var import_design_system34 = require("@uniformdev/design-system");
6565
+ var import_design_system35 = require("@uniformdev/design-system");
6536
6566
  var ObjectListItemContainer = import_react68.css`
6537
6567
  align-items: center;
6538
6568
  border: 1px solid var(--gray-300);
@@ -6547,7 +6577,7 @@ var ObjectListItemContainerDisabled = import_react68.css`
6547
6577
  pointer-events: none;
6548
6578
  `;
6549
6579
  var ObjectListItemLoading = import_react68.css`
6550
- animation: ${import_design_system34.skeletonLoading} 1s linear infinite alternate;
6580
+ animation: ${import_design_system35.skeletonLoading} 1s linear infinite alternate;
6551
6581
  border-color: transparent;
6552
6582
  min-height: 42px;
6553
6583
  position: relative;
@@ -6655,8 +6685,8 @@ var ObjectSearchListItem = ({
6655
6685
  }
6656
6686
  ),
6657
6687
  /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { css: ObjectListItemInfoContainer, children: [
6658
- selected ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_design_system35.Chip, { text: "selected", size: "xs" }) : null,
6659
- !popoverData ? null : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_design_system35.Popover, { baseId: title, ariaLabel: title, buttonText: `See ${title} details`, iconColor: "default", children: popoverData })
6688
+ selected ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_design_system36.Chip, { text: "selected", size: "xs" }) : null,
6689
+ !popoverData ? null : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_design_system36.Popover, { baseId: title, ariaLabel: title, buttonText: `See ${title} details`, iconColor: "default", children: popoverData })
6660
6690
  ] }),
6661
6691
  !children ? null : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { css: ObjectListItemUnControlledContent, children })
6662
6692
  ]
@@ -6668,14 +6698,14 @@ var ObjectSearchListItemLoadingSkeleton = () => {
6668
6698
  };
6669
6699
 
6670
6700
  // src/components/ObjectSearch/ObjectSearchResultItem.tsx
6671
- var import_design_system37 = require("@uniformdev/design-system");
6701
+ var import_design_system38 = require("@uniformdev/design-system");
6672
6702
  var import_timeago3 = require("timeago.js");
6673
6703
 
6674
6704
  // src/components/ObjectSearch/styles/ObjectSearchResultItemButton.styles.ts
6675
6705
  var import_react69 = require("@emotion/react");
6676
- var import_design_system36 = require("@uniformdev/design-system");
6706
+ var import_design_system37 = require("@uniformdev/design-system");
6677
6707
  var ButtonStyles = import_react69.css`
6678
- ${import_design_system36.button}
6708
+ ${import_design_system37.button}
6679
6709
  background: transparent;
6680
6710
  border: 1px solid var(--brand-secondary-1);
6681
6711
  color: var(--brand-secondary-1);
@@ -6822,10 +6852,10 @@ var ObjectSearchResultItem = ({
6822
6852
  /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { css: ObjectSearchResultItemSubtitle, children: formatedContentType }),
6823
6853
  /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("span", { role: "heading", css: ObjectSearchResultItemTitle, children: [
6824
6854
  title != null ? title : name,
6825
- !popoverData ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_design_system37.Popover, { baseId: title, ariaLabel: title, buttonText: `See ${title} details`, children: popoverData })
6855
+ !popoverData ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_design_system38.Popover, { baseId: title, ariaLabel: title, buttonText: `See ${title} details`, children: popoverData })
6826
6856
  ] }),
6827
6857
  !createdAt && !publishStatus ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { css: ObjectSearchAuthorStateGroup, children: [
6828
- !(publishStatus == null ? void 0 : publishStatus.text) ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_design_system37.Badge, { ...publishStatus, size: "sm", uppercaseText: true }),
6858
+ !(publishStatus == null ? void 0 : publishStatus.text) ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_design_system38.Badge, { ...publishStatus, size: "sm", uppercaseText: true }),
6829
6859
  !createdAt && !publishedAt ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { css: ObjectSearchUpdateGroup, children: [
6830
6860
  !createdAt ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("small", { css: ObjectSearchResultItemTimeStamp, children: [
6831
6861
  /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("strong", { children: "Last updated: " }),
@@ -6842,13 +6872,13 @@ var ObjectSearchResultItem = ({
6842
6872
  ] }) }),
6843
6873
  !editLink && hideRemoveButton ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { css: ObjectSearchAuthorStateGroup, children: [
6844
6874
  !editLink ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(LinkButton, { text: "Edit", href: editLink, icon: editLinkIcon }),
6845
- hideRemoveButton ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_design_system37.Button, { buttonType: "ghostDestructive", onClick: onRemoveItem, children: "Remove" })
6875
+ hideRemoveButton ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_design_system38.Button, { buttonType: "ghostDestructive", onClick: onRemoveItem, children: "Remove" })
6846
6876
  ] })
6847
6877
  ] });
6848
6878
  };
6849
6879
 
6850
6880
  // src/components/ObjectSearch/ObjectSearchResultList.tsx
6851
- var import_design_system38 = require("@uniformdev/design-system");
6881
+ var import_design_system39 = require("@uniformdev/design-system");
6852
6882
  var import_react_beautiful_dnd3 = require("react-beautiful-dnd");
6853
6883
 
6854
6884
  // src/components/ObjectSearch/styles/ObjectSearchResultList.styles.ts
@@ -6909,12 +6939,12 @@ function ObjectSearchResultList({
6909
6939
  /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { role: "note", css: ObjectSearchResultListCounterContainer, children: [
6910
6940
  /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { css: ObjectSearchResultListTitle, children: resultLabelText }),
6911
6941
  " ",
6912
- !selectedListItems.length ? null : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_design_system38.Counter, { count: selectedListItems.length })
6942
+ !selectedListItems.length ? null : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_design_system39.Counter, { count: selectedListItems.length })
6913
6943
  ] }),
6914
6944
  /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { css: ObjectSearchResultListCounterContainer, children: [
6915
6945
  additionalButtons,
6916
6946
  hideRemoveButton ? null : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6917
- import_design_system38.Button,
6947
+ import_design_system39.Button,
6918
6948
  {
6919
6949
  buttonType: "ghostDestructive",
6920
6950
  size: "xs",
@@ -6959,7 +6989,7 @@ function ObjectSearchResultList({
6959
6989
  }
6960
6990
 
6961
6991
  // src/components/ObjectSearch/QueryFilter.tsx
6962
- var import_design_system39 = require("@uniformdev/design-system");
6992
+ var import_design_system40 = require("@uniformdev/design-system");
6963
6993
  var import_react72 = require("react");
6964
6994
  var import_jsx_runtime66 = require("@emotion/react/jsx-runtime");
6965
6995
  var QueryFilter = ({
@@ -7008,7 +7038,7 @@ var QueryFilter = ({
7008
7038
  }, [onSetQuery, queryState]);
7009
7039
  return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("fieldset", { children: [
7010
7040
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { css: ObjectSearchFilterContainerLabel, children: queryFilterTitle }),
7011
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { css: ObjectSearchFilterContainer, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_design_system39.VerticalRhythm, { children: [
7041
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { css: ObjectSearchFilterContainer, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_design_system40.VerticalRhythm, { children: [
7012
7042
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
7013
7043
  InputVariables,
7014
7044
  {
@@ -7018,7 +7048,7 @@ var QueryFilter = ({
7018
7048
  disableInlineMenu: true,
7019
7049
  id: "qf_searchText",
7020
7050
  inputWhenNoVariables: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
7021
- import_design_system39.InputKeywordSearch,
7051
+ import_design_system40.InputKeywordSearch,
7022
7052
  {
7023
7053
  id: "qf_searchText",
7024
7054
  inputFieldName: searchInputName,
@@ -7041,7 +7071,7 @@ var QueryFilter = ({
7041
7071
  onChange: (newType) => handleFilterChange({ contentType: newType }),
7042
7072
  disableInlineMenu: true,
7043
7073
  inputWhenNoVariables: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
7044
- import_design_system39.InputSelect,
7074
+ import_design_system40.InputSelect,
7045
7075
  {
7046
7076
  id: "qf_contentType",
7047
7077
  label: contentTypeLabel,
@@ -7068,7 +7098,7 @@ var QueryFilter = ({
7068
7098
  onChange: (newCount) => handleFilterChange({ count: newCount }),
7069
7099
  disableInlineMenu: true,
7070
7100
  inputWhenNoVariables: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
7071
- import_design_system39.Input,
7101
+ import_design_system40.Input,
7072
7102
  {
7073
7103
  id: "qf_count",
7074
7104
  label: countLabel,
@@ -7092,7 +7122,7 @@ var QueryFilter = ({
7092
7122
  onChange: (newSortBy) => handleFilterChange({ sortBy: newSortBy }),
7093
7123
  disableInlineMenu: true,
7094
7124
  inputWhenNoVariables: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
7095
- import_design_system39.InputSelect,
7125
+ import_design_system40.InputSelect,
7096
7126
  {
7097
7127
  label: sortLabel,
7098
7128
  id: "qf_sortBy",
@@ -7122,7 +7152,7 @@ var QueryFilter = ({
7122
7152
  onChange: (newSort) => handleFilterChange({ sortOrder: newSort }),
7123
7153
  disableInlineMenu: true,
7124
7154
  inputWhenNoVariables: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
7125
- import_design_system39.InputSelect,
7155
+ import_design_system40.InputSelect,
7126
7156
  {
7127
7157
  label: sortOrderLabel,
7128
7158
  id: "qf_sortOrder",
@@ -7207,7 +7237,7 @@ function createLocationValidator(setValue, validate) {
7207
7237
  }
7208
7238
 
7209
7239
  // src/index.ts
7210
- var import_design_system40 = require("@uniformdev/design-system");
7240
+ var import_design_system41 = require("@uniformdev/design-system");
7211
7241
  __reExport(src_exports, require("@uniformdev/mesh-sdk"), module.exports);
7212
7242
  // Annotate the CommonJS export names for ESM import in node:
7213
7243
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -4083,6 +4083,18 @@ var inputCompact = css21`
4083
4083
  padding-block: var(--spacing-sm);
4084
4084
  font-size: var(--fs-sm);
4085
4085
  `;
4086
+ var placeholderCaption = css21`
4087
+ position: absolute;
4088
+ color: var(--gray-400);
4089
+ inset: var(--spacing-base) var(--spacing-lg) var(--spacing-base) var(--spacing-base);
4090
+ overflow: hidden;
4091
+ text-overflow: ellipsis;
4092
+ white-space: nowrap;
4093
+ pointer-events: none;
4094
+ `;
4095
+ var placeholderCompact = css21`
4096
+ inset: var(--spacing-sm) var(--spacing-lg) var(--spacing-sm) var(--spacing-base);
4097
+ `;
4086
4098
 
4087
4099
  // src/components/Variables/toolbox/InputVariablesProvider.tsx
4088
4100
  import * as React10 from "react";
@@ -4491,14 +4503,18 @@ import {
4491
4503
  PASTE_COMMAND as PASTE_COMMAND2
4492
4504
  } from "lexical";
4493
4505
  import { useEffect as useEffect13 } from "react";
4494
- import { jsx as jsx38, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
4495
- function VariablesComposerInput({ css: css37, ...contentEditableProps }) {
4506
+ import { Fragment as Fragment9, jsx as jsx38, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
4507
+ function VariablesComposerInput({
4508
+ css: css37,
4509
+ placeholder,
4510
+ ...contentEditableProps
4511
+ }) {
4496
4512
  return /* @__PURE__ */ jsxs22("div", { children: [
4497
4513
  /* @__PURE__ */ jsx38(
4498
4514
  PlainTextPlugin,
4499
4515
  {
4500
4516
  contentEditable: /* @__PURE__ */ jsx38(ContentEditable, { ...contentEditableProps }),
4501
- placeholder: null,
4517
+ placeholder: placeholder ? /* @__PURE__ */ jsx38(Fragment9, { children: placeholder }) : null,
4502
4518
  ErrorBoundary: LexicalErrorBoundary
4503
4519
  }
4504
4520
  ),
@@ -4583,7 +4599,7 @@ function RichishCopyAndPastePlugin() {
4583
4599
  }
4584
4600
 
4585
4601
  // src/components/Variables/InputVariables.tsx
4586
- import { Fragment as Fragment9, jsx as jsx39, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
4602
+ import { Fragment as Fragment10, jsx as jsx39, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
4587
4603
  function InputVariables(props) {
4588
4604
  const {
4589
4605
  id,
@@ -4596,6 +4612,7 @@ function InputVariables(props) {
4596
4612
  transformPaste,
4597
4613
  showAddVariableMenuOption,
4598
4614
  inputWhenNoVariables,
4615
+ placeholder,
4599
4616
  caption,
4600
4617
  errorMessage,
4601
4618
  warningMessage,
@@ -4636,7 +4653,17 @@ function InputVariables(props) {
4636
4653
  "aria-label": ariaLabel,
4637
4654
  "data-testid": dataTestId ? dataTestId : "input-container",
4638
4655
  "data-text-value": value,
4639
- css: [input, styleVariant === "compact" ? inputCompact : null]
4656
+ css: [input, styleVariant === "compact" ? inputCompact : null],
4657
+ placeholder: placeholder ? /* @__PURE__ */ jsx39(
4658
+ Caption,
4659
+ {
4660
+ css: [
4661
+ placeholderCaption,
4662
+ styleVariant === "compact" ? placeholderCompact : null
4663
+ ],
4664
+ children: placeholder
4665
+ }
4666
+ ) : void 0
4640
4667
  }
4641
4668
  )
4642
4669
  }
@@ -4695,7 +4722,7 @@ function InputVariablesOverlayMenu({
4695
4722
  ...props
4696
4723
  }) {
4697
4724
  if (disabled) {
4698
- return /* @__PURE__ */ jsx39(Fragment9, { children });
4725
+ return /* @__PURE__ */ jsx39(Fragment10, { children });
4699
4726
  }
4700
4727
  return /* @__PURE__ */ jsxs23("div", { css: menuContainer, children: [
4701
4728
  children,
@@ -4718,6 +4745,7 @@ import { useMemo as useMemo11 } from "react";
4718
4745
 
4719
4746
  // src/components/Variables/styles/ParameterVariables.styles.ts
4720
4747
  import { css as css23 } from "@emotion/react";
4748
+ import { scrollbarStyles as scrollbarStyles3 } from "@uniformdev/design-system";
4721
4749
  var variableBindButton2 = css23`
4722
4750
  align-items: center;
4723
4751
  border: none;
@@ -4797,8 +4825,10 @@ var input2 = css23`
4797
4825
  }
4798
4826
  `;
4799
4827
  var inputMultiLine = (lines) => css23`
4800
- // 1.5 = line height, spacing-md = top and bottom padding
4801
- height: calc(${lines * 1.5}em + var(--spacing-md));
4828
+ ${scrollbarStyles3}
4829
+ // 1.5 = line height, spacing-sm = top and bottom padding + spacing-xs to give a slight increase in height
4830
+ // as the text looked to close to the bottom of the input
4831
+ height: calc(${lines * 1.5}em + var(--spacing-sm) + var(--spacing-xs));
4802
4832
  resize: vertical;
4803
4833
  overflow: auto;
4804
4834
  `;
@@ -5020,7 +5050,7 @@ function ParameterVariables(props) {
5020
5050
  "data-text-value": value,
5021
5051
  css: [
5022
5052
  input2,
5023
- typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(4) : css24``,
5053
+ typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(2) : css24``,
5024
5054
  inputCss != null ? inputCss : css24``
5025
5055
  ]
5026
5056
  }
@@ -5118,7 +5148,7 @@ var variableValue = css25`
5118
5148
  `;
5119
5149
 
5120
5150
  // src/components/Variables/VariablesList.tsx
5121
- import { Fragment as Fragment10, jsx as jsx43, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
5151
+ import { Fragment as Fragment11, jsx as jsx43, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
5122
5152
  function VariablesList() {
5123
5153
  const { variables, dispatch } = useVariables();
5124
5154
  const sorted = variablesToList(variables);
@@ -5139,7 +5169,7 @@ function VariablesList() {
5139
5169
  return result;
5140
5170
  }
5141
5171
  };
5142
- return /* @__PURE__ */ jsxs27(Fragment10, { children: [
5172
+ return /* @__PURE__ */ jsxs27(Fragment11, { children: [
5143
5173
  /* @__PURE__ */ jsx43(DragDropContext2, { onDragEnd: (res) => onDragEnd(res), children: /* @__PURE__ */ jsx43(Droppable2, { droppableId: "variables-table", children: (provided) => /* @__PURE__ */ jsxs27(Table, { ...provided.droppableProps, ref: provided.innerRef, children: [
5144
5174
  /* @__PURE__ */ jsx43(TableHead, { children: /* @__PURE__ */ jsxs27(TableRow, { children: [
5145
5175
  /* @__PURE__ */ jsx43(TableCellHead, { children: "Name" }),
@@ -5767,7 +5797,7 @@ function decodeVariablesInUrlEncodedString(string, varValues) {
5767
5797
  }
5768
5798
 
5769
5799
  // src/components/Request/RequestUrl.tsx
5770
- import { Fragment as Fragment11, jsx as jsx52, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
5800
+ import { Fragment as Fragment12, jsx as jsx52, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
5771
5801
  function RequestUrl() {
5772
5802
  var _a, _b;
5773
5803
  const { variables } = useVariables();
@@ -5791,7 +5821,7 @@ function RequestUrl() {
5791
5821
  request.baseRequest ? /* @__PURE__ */ jsx52("span", { children: (_b = request.baseRequest) == null ? void 0 : _b.baseUrl }) : null,
5792
5822
  /* @__PURE__ */ jsxs31("span", { css: { fontWeight: request.baseRequest ? "bold" : "inherit" }, children: [
5793
5823
  urlEncodeRequestUrl(request.relativeUrl, variables),
5794
- mergedParameters.length > 0 ? /* @__PURE__ */ jsxs31(Fragment11, { children: [
5824
+ mergedParameters.length > 0 ? /* @__PURE__ */ jsxs31(Fragment12, { children: [
5795
5825
  "?",
5796
5826
  mergedParameters.map((param, index) => {
5797
5827
  const encoded = urlEncodeRequestParameter(param, variables);
@@ -6746,7 +6776,7 @@ var ObjectSearchResultListTitle = css36`
6746
6776
  `;
6747
6777
 
6748
6778
  // src/components/ObjectSearch/ObjectSearchResultList.tsx
6749
- import { Fragment as Fragment12, jsx as jsx65, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
6779
+ import { Fragment as Fragment13, jsx as jsx65, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
6750
6780
  function ObjectSearchResultList({
6751
6781
  resultLabelText = "Selected",
6752
6782
  removeButtonText = "Remove all",
@@ -6773,7 +6803,7 @@ function ObjectSearchResultList({
6773
6803
  return result;
6774
6804
  }
6775
6805
  };
6776
- return /* @__PURE__ */ jsxs40(Fragment12, { children: [
6806
+ return /* @__PURE__ */ jsxs40(Fragment13, { children: [
6777
6807
  /* @__PURE__ */ jsxs40("div", { role: "group", css: ObjectSearchResultListContainer, children: [
6778
6808
  /* @__PURE__ */ jsxs40("div", { role: "note", css: ObjectSearchResultListCounterContainer, children: [
6779
6809
  /* @__PURE__ */ jsx65("span", { css: ObjectSearchResultListTitle, children: resultLabelText }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.60.1-alpha.6+ac384b46c",
3
+ "version": "19.61.1-alpha.13+9ea7c72e6",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -44,24 +44,24 @@
44
44
  "document": "api-extractor run --local"
45
45
  },
46
46
  "dependencies": {
47
- "@hookform/resolvers": "^3.0.1",
47
+ "@hookform/resolvers": "^3.3.1",
48
48
  "@lexical/clipboard": "^0.12.0",
49
49
  "@lexical/react": "^0.12.0",
50
50
  "@lexical/selection": "^0.12.0",
51
51
  "@lexical/utils": "^0.12.0",
52
52
  "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v4.10.1/react-icons-all-files-4.10.1.tgz",
53
- "@uniformdev/canvas": "19.60.1-alpha.6+ac384b46c",
54
- "@uniformdev/design-system": "19.60.1-alpha.6+ac384b46c",
55
- "@uniformdev/mesh-sdk": "19.60.1-alpha.6+ac384b46c",
53
+ "@uniformdev/canvas": "19.61.1-alpha.13+9ea7c72e6",
54
+ "@uniformdev/design-system": "19.61.1-alpha.13+9ea7c72e6",
55
+ "@uniformdev/mesh-sdk": "19.61.1-alpha.13+9ea7c72e6",
56
56
  "dequal": "^2.0.3",
57
57
  "lexical": "^0.12.0",
58
58
  "mitt": "^3.0.0",
59
59
  "react-beautiful-dnd": "13.1.1",
60
- "react-hook-form": "^7.43.9",
60
+ "react-hook-form": "^7.47.0",
61
61
  "react-use": "17.4.0",
62
62
  "timeago.js": "4.0.2",
63
63
  "uuid": "9.0.1",
64
- "zod": "^3.21.4"
64
+ "zod": "3.22.4"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "@emotion/react": ">=11.8.0",
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "access": "public"
88
88
  },
89
- "gitHead": "ac384b46c7694dbecf4983cb04cd66dc8904c5fa"
89
+ "gitHead": "9ea7c72e685bf1dd690149aa40a9b7a443d2ad28"
90
90
  }