@uniformdev/mesh-sdk-react 19.152.0 → 19.152.2-alpha.9

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
@@ -10,7 +10,7 @@ export * from '@uniformdev/mesh-sdk';
10
10
  import { DataVariableDefinition, DataResourceVariables, DataType } from '@uniformdev/canvas';
11
11
  import { Emitter } from 'mitt';
12
12
  import { BadgeThemeProps, InputSelectProps, IconType } from '@uniformdev/design-system';
13
- export { AddListButton, AddListButtonProps, Button, ButtonProps, Callout, CalloutProps, DrawerContent, Heading, HeadingProps, Input, InputComboBox, InputComboBoxProps, InputKeywordSearch, InputProps, InputSelect, InputToggle, InputToggleProps, Label, LabelProps, LoadingIndicator, LoadingOverlay, Menu, MenuItem, MenuItemProps, MenuProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, Switch, SwitchProps, Textarea, TextareaProps, Theme, ThemeProps, useParameterShell } from '@uniformdev/design-system';
13
+ export { AddListButton, AddListButtonProps, Button, ButtonProps, Callout, CalloutProps, DrawerContent, Heading, HeadingProps, Input, InputComboBox, InputComboBoxProps, InputKeywordSearch, InputProps, InputSelect, InputToggle, InputToggleProps, Label, LabelProps, LoadingIndicator, LoadingOverlay, Menu, MenuItem, MenuItemProps, MenuProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, Switch, SwitchProps, Textarea, TextareaProps, Theme, ThemeProps, useParameterShell, utilityColors } from '@uniformdev/design-system';
14
14
  import * as lexical from 'lexical';
15
15
  import { SerializedEditorState, SerializedLexicalNode, Spread, DecoratorNode, NodeKey, LexicalNode, LexicalEditor, EditorState } from 'lexical';
16
16
  import { MenuOption } from '@lexical/react/LexicalTypeaheadMenuPlugin';
@@ -423,6 +423,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
423
423
  type: TLocationType;
424
424
  }> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
425
425
  type: TLocationType;
426
+ }> | Extract<_uniformdev_mesh_sdk.CanvasEditorToolsLocation, {
427
+ type: TLocationType;
426
428
  }> | Extract<_uniformdev_mesh_sdk.AIPromptMetadataLocation, {
427
429
  type: TLocationType;
428
430
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
@@ -444,6 +446,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
444
446
  type: TLocationType;
445
447
  }> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
446
448
  type: TLocationType;
449
+ }> | Extract<_uniformdev_mesh_sdk.CanvasEditorToolsLocation, {
450
+ type: TLocationType;
447
451
  }> | Extract<_uniformdev_mesh_sdk.AIPromptMetadataLocation, {
448
452
  type: TLocationType;
449
453
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
@@ -464,6 +468,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
464
468
  type: TLocationType;
465
469
  }> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
466
470
  type: TLocationType;
471
+ }> | Extract<_uniformdev_mesh_sdk.CanvasEditorToolsLocation, {
472
+ type: TLocationType;
467
473
  }> | Extract<_uniformdev_mesh_sdk.AIPromptMetadataLocation, {
468
474
  type: TLocationType;
469
475
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ export * from '@uniformdev/mesh-sdk';
10
10
  import { DataVariableDefinition, DataResourceVariables, DataType } from '@uniformdev/canvas';
11
11
  import { Emitter } from 'mitt';
12
12
  import { BadgeThemeProps, InputSelectProps, IconType } from '@uniformdev/design-system';
13
- export { AddListButton, AddListButtonProps, Button, ButtonProps, Callout, CalloutProps, DrawerContent, Heading, HeadingProps, Input, InputComboBox, InputComboBoxProps, InputKeywordSearch, InputProps, InputSelect, InputToggle, InputToggleProps, Label, LabelProps, LoadingIndicator, LoadingOverlay, Menu, MenuItem, MenuItemProps, MenuProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, Switch, SwitchProps, Textarea, TextareaProps, Theme, ThemeProps, useParameterShell } from '@uniformdev/design-system';
13
+ export { AddListButton, AddListButtonProps, Button, ButtonProps, Callout, CalloutProps, DrawerContent, Heading, HeadingProps, Input, InputComboBox, InputComboBoxProps, InputKeywordSearch, InputProps, InputSelect, InputToggle, InputToggleProps, Label, LabelProps, LoadingIndicator, LoadingOverlay, Menu, MenuItem, MenuItemProps, MenuProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, Switch, SwitchProps, Textarea, TextareaProps, Theme, ThemeProps, useParameterShell, utilityColors } from '@uniformdev/design-system';
14
14
  import * as lexical from 'lexical';
15
15
  import { SerializedEditorState, SerializedLexicalNode, Spread, DecoratorNode, NodeKey, LexicalNode, LexicalEditor, EditorState } from 'lexical';
16
16
  import { MenuOption } from '@lexical/react/LexicalTypeaheadMenuPlugin';
@@ -423,6 +423,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
423
423
  type: TLocationType;
424
424
  }> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
425
425
  type: TLocationType;
426
+ }> | Extract<_uniformdev_mesh_sdk.CanvasEditorToolsLocation, {
427
+ type: TLocationType;
426
428
  }> | Extract<_uniformdev_mesh_sdk.AIPromptMetadataLocation, {
427
429
  type: TLocationType;
428
430
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
@@ -444,6 +446,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
444
446
  type: TLocationType;
445
447
  }> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
446
448
  type: TLocationType;
449
+ }> | Extract<_uniformdev_mesh_sdk.CanvasEditorToolsLocation, {
450
+ type: TLocationType;
447
451
  }> | Extract<_uniformdev_mesh_sdk.AIPromptMetadataLocation, {
448
452
  type: TLocationType;
449
453
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
@@ -464,6 +468,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
464
468
  type: TLocationType;
465
469
  }> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
466
470
  type: TLocationType;
471
+ }> | Extract<_uniformdev_mesh_sdk.CanvasEditorToolsLocation, {
472
+ type: TLocationType;
467
473
  }> | Extract<_uniformdev_mesh_sdk.AIPromptMetadataLocation, {
468
474
  type: TLocationType;
469
475
  }> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
package/dist/index.esm.js CHANGED
@@ -5702,6 +5702,7 @@ function RequestBody() {
5702
5702
  // src/components/Request/RequestHeaders.tsx
5703
5703
  import {
5704
5704
  Input as Input3,
5705
+ InputToggle,
5705
5706
  Table as Table2,
5706
5707
  TableBody as TableBody2,
5707
5708
  TableCellData as TableCellData2,
@@ -5783,8 +5784,11 @@ function RequestHeaders({
5783
5784
  }
5784
5785
  ) : null }),
5785
5786
  addOmitIfEmpty ? /* @__PURE__ */ jsx50(TableCellData2, { width: "50%", children: header.key ? /* @__PURE__ */ jsx50(
5786
- Input3,
5787
+ InputToggle,
5787
5788
  {
5789
+ label: "Omit if empty",
5790
+ showLabel: false,
5791
+ name: "omitIfEmpty",
5788
5792
  type: "checkbox",
5789
5793
  checked: header.omitIfEmpty,
5790
5794
  "data-testid": "header-omitifempty",
@@ -5829,6 +5833,7 @@ function RequestMethodSelect(props) {
5829
5833
  // src/components/Request/RequestParameters.tsx
5830
5834
  import {
5831
5835
  Input as Input4,
5836
+ InputToggle as InputToggle2,
5832
5837
  Table as Table3,
5833
5838
  TableBody as TableBody3,
5834
5839
  TableCellData as TableCellData3,
@@ -5920,8 +5925,11 @@ function RequestParameters({
5920
5925
  }
5921
5926
  ) : null }),
5922
5927
  addOmitIfEmpty ? /* @__PURE__ */ jsx52(TableCellData3, { width: "50%", children: parameter.key ? /* @__PURE__ */ jsx52(
5923
- Input4,
5928
+ InputToggle2,
5924
5929
  {
5930
+ label: "Omit if empty",
5931
+ showLabel: false,
5932
+ name: "omitIfEmpty",
5925
5933
  type: "checkbox",
5926
5934
  checked: parameter.omitIfEmpty,
5927
5935
  "data-testid": "parameter-omitifempty",
@@ -7341,7 +7349,7 @@ var NUMBER_OPERATORS = [
7341
7349
  ];
7342
7350
  var DATE_OPERATORS = [
7343
7351
  {
7344
- label: "is...",
7352
+ label: "is",
7345
7353
  value: "eq",
7346
7354
  editorType: "date"
7347
7355
  },
@@ -7376,7 +7384,7 @@ var DATE_OPERATORS = [
7376
7384
  editorType: "empty"
7377
7385
  },
7378
7386
  {
7379
- label: "is not...",
7387
+ label: "is not",
7380
7388
  value: "neq",
7381
7389
  editorType: "date"
7382
7390
  },
@@ -7393,7 +7401,7 @@ var TEXTBOX_OPERATORS = [
7393
7401
  editorType: "text"
7394
7402
  },
7395
7403
  {
7396
- label: "is...",
7404
+ label: "is",
7397
7405
  value: "eq",
7398
7406
  editorType: "text"
7399
7407
  },
@@ -7408,7 +7416,7 @@ var TEXTBOX_OPERATORS = [
7408
7416
  editorType: "text"
7409
7417
  },
7410
7418
  {
7411
- label: "is not...",
7419
+ label: "is not",
7412
7420
  value: "neq",
7413
7421
  editorType: "text"
7414
7422
  },
@@ -7425,7 +7433,7 @@ var USER_OPERATORS = [
7425
7433
  editorType: "text"
7426
7434
  },
7427
7435
  {
7428
- label: "is...",
7436
+ label: "is",
7429
7437
  value: "eq",
7430
7438
  editorType: "text"
7431
7439
  },
@@ -7435,14 +7443,14 @@ var USER_OPERATORS = [
7435
7443
  editorType: "text"
7436
7444
  },
7437
7445
  {
7438
- label: "is not...",
7446
+ label: "is not",
7439
7447
  value: "neq",
7440
7448
  editorType: "text"
7441
7449
  }
7442
7450
  ];
7443
7451
  var SYSTEM_DATE_OPERATORS = [
7444
7452
  {
7445
- label: "is...",
7453
+ label: "is",
7446
7454
  value: "sys-date-eq",
7447
7455
  editorType: "date"
7448
7456
  },
@@ -7472,7 +7480,7 @@ var SYSTEM_DATE_OPERATORS = [
7472
7480
  editorType: "date"
7473
7481
  },
7474
7482
  {
7475
- label: "is not...",
7483
+ label: "is not",
7476
7484
  value: "sys-date-neq",
7477
7485
  editorType: "date"
7478
7486
  }
@@ -7501,19 +7509,19 @@ var RICHTEXT_OPERATORS = [
7501
7509
  ];
7502
7510
  var CHECKBOX_OPERATORS = [
7503
7511
  {
7504
- label: "is checked...",
7512
+ label: "is checked",
7505
7513
  value: "def",
7506
7514
  editorType: "empty"
7507
7515
  },
7508
7516
  {
7509
- label: "is not checked...",
7517
+ label: "is not checked",
7510
7518
  value: "ndef",
7511
7519
  editorType: "empty"
7512
7520
  }
7513
7521
  ];
7514
7522
  var SYSTEM_FIELD_OPERATORS = [
7515
7523
  {
7516
- label: "is...",
7524
+ label: "is",
7517
7525
  value: "eq",
7518
7526
  editorType: "singleChoice"
7519
7527
  },
@@ -7523,7 +7531,7 @@ var SYSTEM_FIELD_OPERATORS = [
7523
7531
  editorType: "multiChoice"
7524
7532
  },
7525
7533
  {
7526
- label: "is not...",
7534
+ label: "is not",
7527
7535
  value: "neq",
7528
7536
  editorType: "singleChoice"
7529
7537
  },
@@ -7535,7 +7543,7 @@ var SYSTEM_FIELD_OPERATORS = [
7535
7543
  ];
7536
7544
  var PUBLISH_STATUS_FIELD_OPERATORS = [
7537
7545
  {
7538
- label: "is...",
7546
+ label: "is",
7539
7547
  value: "eq",
7540
7548
  editorType: "statusSingleChoice"
7541
7549
  },
@@ -7545,7 +7553,7 @@ var PUBLISH_STATUS_FIELD_OPERATORS = [
7545
7553
  editorType: "statusMultiChoice"
7546
7554
  },
7547
7555
  {
7548
- label: "is not...",
7556
+ label: "is not",
7549
7557
  value: "neq",
7550
7558
  editorType: "statusSingleChoice"
7551
7559
  },
@@ -7557,7 +7565,7 @@ var PUBLISH_STATUS_FIELD_OPERATORS = [
7557
7565
  ];
7558
7566
  var SELECT_OPERATORS = [
7559
7567
  {
7560
- label: "is...",
7568
+ label: "is",
7561
7569
  value: "eq",
7562
7570
  editorType: "singleChoice"
7563
7571
  },
@@ -7582,7 +7590,7 @@ var SELECT_OPERATORS = [
7582
7590
  editorType: "text"
7583
7591
  },
7584
7592
  {
7585
- label: "is not...",
7593
+ label: "is not",
7586
7594
  value: "neq",
7587
7595
  editorType: "singleChoice"
7588
7596
  },
@@ -9404,7 +9412,7 @@ import {
9404
9412
  InputComboBox as InputComboBox4,
9405
9413
  InputKeywordSearch as InputKeywordSearch4,
9406
9414
  InputSelect as InputSelect9,
9407
- InputToggle,
9415
+ InputToggle as InputToggle3,
9408
9416
  Label,
9409
9417
  LoadingIndicator as LoadingIndicator5,
9410
9418
  LoadingOverlay as LoadingOverlay2,
@@ -9428,7 +9436,8 @@ import {
9428
9436
  ScrollableListItem,
9429
9437
  Switch,
9430
9438
  Textarea,
9431
- Theme as Theme3
9439
+ Theme as Theme3,
9440
+ utilityColors
9432
9441
  } from "@uniformdev/design-system";
9433
9442
  export * from "@uniformdev/mesh-sdk";
9434
9443
  export {
@@ -9470,7 +9479,7 @@ export {
9470
9479
  InputComboBox4 as InputComboBox,
9471
9480
  InputKeywordSearch4 as InputKeywordSearch,
9472
9481
  InputSelect9 as InputSelect,
9473
- InputToggle,
9482
+ InputToggle3 as InputToggle,
9474
9483
  InputVariables,
9475
9484
  Label,
9476
9485
  LinkButton,
@@ -9646,6 +9655,7 @@ export {
9646
9655
  useVariableEditor,
9647
9656
  useVariables,
9648
9657
  useVariablesMenu,
9658
+ utilityColors,
9649
9659
  variableDefaultTextValue,
9650
9660
  variablePrefix,
9651
9661
  variableSuffix,
package/dist/index.js CHANGED
@@ -245,6 +245,7 @@ __export(src_exports, {
245
245
  useVariableEditor: () => useVariableEditor,
246
246
  useVariables: () => useVariables,
247
247
  useVariablesMenu: () => useVariablesMenu,
248
+ utilityColors: () => import_design_system53.utilityColors,
248
249
  variableDefaultTextValue: () => variableDefaultTextValue,
249
250
  variablePrefix: () => variablePrefix,
250
251
  variableSuffix: () => variableSuffix,
@@ -5958,8 +5959,11 @@ function RequestHeaders({
5958
5959
  }
5959
5960
  ) : null }),
5960
5961
  addOmitIfEmpty ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_design_system28.TableCellData, { width: "50%", children: header.key ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5961
- import_design_system28.Input,
5962
+ import_design_system28.InputToggle,
5962
5963
  {
5964
+ label: "Omit if empty",
5965
+ showLabel: false,
5966
+ name: "omitIfEmpty",
5963
5967
  type: "checkbox",
5964
5968
  checked: header.omitIfEmpty,
5965
5969
  "data-testid": "header-omitifempty",
@@ -6086,8 +6090,11 @@ function RequestParameters({
6086
6090
  }
6087
6091
  ) : null }),
6088
6092
  addOmitIfEmpty ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_design_system30.TableCellData, { width: "50%", children: parameter.key ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
6089
- import_design_system30.Input,
6093
+ import_design_system30.InputToggle,
6090
6094
  {
6095
+ label: "Omit if empty",
6096
+ showLabel: false,
6097
+ name: "omitIfEmpty",
6091
6098
  type: "checkbox",
6092
6099
  checked: parameter.omitIfEmpty,
6093
6100
  "data-testid": "parameter-omitifempty",
@@ -7500,7 +7507,7 @@ var NUMBER_OPERATORS = [
7500
7507
  ];
7501
7508
  var DATE_OPERATORS = [
7502
7509
  {
7503
- label: "is...",
7510
+ label: "is",
7504
7511
  value: "eq",
7505
7512
  editorType: "date"
7506
7513
  },
@@ -7535,7 +7542,7 @@ var DATE_OPERATORS = [
7535
7542
  editorType: "empty"
7536
7543
  },
7537
7544
  {
7538
- label: "is not...",
7545
+ label: "is not",
7539
7546
  value: "neq",
7540
7547
  editorType: "date"
7541
7548
  },
@@ -7552,7 +7559,7 @@ var TEXTBOX_OPERATORS = [
7552
7559
  editorType: "text"
7553
7560
  },
7554
7561
  {
7555
- label: "is...",
7562
+ label: "is",
7556
7563
  value: "eq",
7557
7564
  editorType: "text"
7558
7565
  },
@@ -7567,7 +7574,7 @@ var TEXTBOX_OPERATORS = [
7567
7574
  editorType: "text"
7568
7575
  },
7569
7576
  {
7570
- label: "is not...",
7577
+ label: "is not",
7571
7578
  value: "neq",
7572
7579
  editorType: "text"
7573
7580
  },
@@ -7584,7 +7591,7 @@ var USER_OPERATORS = [
7584
7591
  editorType: "text"
7585
7592
  },
7586
7593
  {
7587
- label: "is...",
7594
+ label: "is",
7588
7595
  value: "eq",
7589
7596
  editorType: "text"
7590
7597
  },
@@ -7594,14 +7601,14 @@ var USER_OPERATORS = [
7594
7601
  editorType: "text"
7595
7602
  },
7596
7603
  {
7597
- label: "is not...",
7604
+ label: "is not",
7598
7605
  value: "neq",
7599
7606
  editorType: "text"
7600
7607
  }
7601
7608
  ];
7602
7609
  var SYSTEM_DATE_OPERATORS = [
7603
7610
  {
7604
- label: "is...",
7611
+ label: "is",
7605
7612
  value: "sys-date-eq",
7606
7613
  editorType: "date"
7607
7614
  },
@@ -7631,7 +7638,7 @@ var SYSTEM_DATE_OPERATORS = [
7631
7638
  editorType: "date"
7632
7639
  },
7633
7640
  {
7634
- label: "is not...",
7641
+ label: "is not",
7635
7642
  value: "sys-date-neq",
7636
7643
  editorType: "date"
7637
7644
  }
@@ -7660,19 +7667,19 @@ var RICHTEXT_OPERATORS = [
7660
7667
  ];
7661
7668
  var CHECKBOX_OPERATORS = [
7662
7669
  {
7663
- label: "is checked...",
7670
+ label: "is checked",
7664
7671
  value: "def",
7665
7672
  editorType: "empty"
7666
7673
  },
7667
7674
  {
7668
- label: "is not checked...",
7675
+ label: "is not checked",
7669
7676
  value: "ndef",
7670
7677
  editorType: "empty"
7671
7678
  }
7672
7679
  ];
7673
7680
  var SYSTEM_FIELD_OPERATORS = [
7674
7681
  {
7675
- label: "is...",
7682
+ label: "is",
7676
7683
  value: "eq",
7677
7684
  editorType: "singleChoice"
7678
7685
  },
@@ -7682,7 +7689,7 @@ var SYSTEM_FIELD_OPERATORS = [
7682
7689
  editorType: "multiChoice"
7683
7690
  },
7684
7691
  {
7685
- label: "is not...",
7692
+ label: "is not",
7686
7693
  value: "neq",
7687
7694
  editorType: "singleChoice"
7688
7695
  },
@@ -7694,7 +7701,7 @@ var SYSTEM_FIELD_OPERATORS = [
7694
7701
  ];
7695
7702
  var PUBLISH_STATUS_FIELD_OPERATORS = [
7696
7703
  {
7697
- label: "is...",
7704
+ label: "is",
7698
7705
  value: "eq",
7699
7706
  editorType: "statusSingleChoice"
7700
7707
  },
@@ -7704,7 +7711,7 @@ var PUBLISH_STATUS_FIELD_OPERATORS = [
7704
7711
  editorType: "statusMultiChoice"
7705
7712
  },
7706
7713
  {
7707
- label: "is not...",
7714
+ label: "is not",
7708
7715
  value: "neq",
7709
7716
  editorType: "statusSingleChoice"
7710
7717
  },
@@ -7716,7 +7723,7 @@ var PUBLISH_STATUS_FIELD_OPERATORS = [
7716
7723
  ];
7717
7724
  var SELECT_OPERATORS = [
7718
7725
  {
7719
- label: "is...",
7726
+ label: "is",
7720
7727
  value: "eq",
7721
7728
  editorType: "singleChoice"
7722
7729
  },
@@ -7741,7 +7748,7 @@ var SELECT_OPERATORS = [
7741
7748
  editorType: "text"
7742
7749
  },
7743
7750
  {
7744
- label: "is not...",
7751
+ label: "is not",
7745
7752
  value: "neq",
7746
7753
  editorType: "singleChoice"
7747
7754
  },
@@ -9763,6 +9770,7 @@ __reExport(src_exports, require("@uniformdev/mesh-sdk"), module.exports);
9763
9770
  useVariableEditor,
9764
9771
  useVariables,
9765
9772
  useVariablesMenu,
9773
+ utilityColors,
9766
9774
  variableDefaultTextValue,
9767
9775
  variablePrefix,
9768
9776
  variableSuffix,
package/dist/index.mjs CHANGED
@@ -5702,6 +5702,7 @@ function RequestBody() {
5702
5702
  // src/components/Request/RequestHeaders.tsx
5703
5703
  import {
5704
5704
  Input as Input3,
5705
+ InputToggle,
5705
5706
  Table as Table2,
5706
5707
  TableBody as TableBody2,
5707
5708
  TableCellData as TableCellData2,
@@ -5783,8 +5784,11 @@ function RequestHeaders({
5783
5784
  }
5784
5785
  ) : null }),
5785
5786
  addOmitIfEmpty ? /* @__PURE__ */ jsx50(TableCellData2, { width: "50%", children: header.key ? /* @__PURE__ */ jsx50(
5786
- Input3,
5787
+ InputToggle,
5787
5788
  {
5789
+ label: "Omit if empty",
5790
+ showLabel: false,
5791
+ name: "omitIfEmpty",
5788
5792
  type: "checkbox",
5789
5793
  checked: header.omitIfEmpty,
5790
5794
  "data-testid": "header-omitifempty",
@@ -5829,6 +5833,7 @@ function RequestMethodSelect(props) {
5829
5833
  // src/components/Request/RequestParameters.tsx
5830
5834
  import {
5831
5835
  Input as Input4,
5836
+ InputToggle as InputToggle2,
5832
5837
  Table as Table3,
5833
5838
  TableBody as TableBody3,
5834
5839
  TableCellData as TableCellData3,
@@ -5920,8 +5925,11 @@ function RequestParameters({
5920
5925
  }
5921
5926
  ) : null }),
5922
5927
  addOmitIfEmpty ? /* @__PURE__ */ jsx52(TableCellData3, { width: "50%", children: parameter.key ? /* @__PURE__ */ jsx52(
5923
- Input4,
5928
+ InputToggle2,
5924
5929
  {
5930
+ label: "Omit if empty",
5931
+ showLabel: false,
5932
+ name: "omitIfEmpty",
5925
5933
  type: "checkbox",
5926
5934
  checked: parameter.omitIfEmpty,
5927
5935
  "data-testid": "parameter-omitifempty",
@@ -7341,7 +7349,7 @@ var NUMBER_OPERATORS = [
7341
7349
  ];
7342
7350
  var DATE_OPERATORS = [
7343
7351
  {
7344
- label: "is...",
7352
+ label: "is",
7345
7353
  value: "eq",
7346
7354
  editorType: "date"
7347
7355
  },
@@ -7376,7 +7384,7 @@ var DATE_OPERATORS = [
7376
7384
  editorType: "empty"
7377
7385
  },
7378
7386
  {
7379
- label: "is not...",
7387
+ label: "is not",
7380
7388
  value: "neq",
7381
7389
  editorType: "date"
7382
7390
  },
@@ -7393,7 +7401,7 @@ var TEXTBOX_OPERATORS = [
7393
7401
  editorType: "text"
7394
7402
  },
7395
7403
  {
7396
- label: "is...",
7404
+ label: "is",
7397
7405
  value: "eq",
7398
7406
  editorType: "text"
7399
7407
  },
@@ -7408,7 +7416,7 @@ var TEXTBOX_OPERATORS = [
7408
7416
  editorType: "text"
7409
7417
  },
7410
7418
  {
7411
- label: "is not...",
7419
+ label: "is not",
7412
7420
  value: "neq",
7413
7421
  editorType: "text"
7414
7422
  },
@@ -7425,7 +7433,7 @@ var USER_OPERATORS = [
7425
7433
  editorType: "text"
7426
7434
  },
7427
7435
  {
7428
- label: "is...",
7436
+ label: "is",
7429
7437
  value: "eq",
7430
7438
  editorType: "text"
7431
7439
  },
@@ -7435,14 +7443,14 @@ var USER_OPERATORS = [
7435
7443
  editorType: "text"
7436
7444
  },
7437
7445
  {
7438
- label: "is not...",
7446
+ label: "is not",
7439
7447
  value: "neq",
7440
7448
  editorType: "text"
7441
7449
  }
7442
7450
  ];
7443
7451
  var SYSTEM_DATE_OPERATORS = [
7444
7452
  {
7445
- label: "is...",
7453
+ label: "is",
7446
7454
  value: "sys-date-eq",
7447
7455
  editorType: "date"
7448
7456
  },
@@ -7472,7 +7480,7 @@ var SYSTEM_DATE_OPERATORS = [
7472
7480
  editorType: "date"
7473
7481
  },
7474
7482
  {
7475
- label: "is not...",
7483
+ label: "is not",
7476
7484
  value: "sys-date-neq",
7477
7485
  editorType: "date"
7478
7486
  }
@@ -7501,19 +7509,19 @@ var RICHTEXT_OPERATORS = [
7501
7509
  ];
7502
7510
  var CHECKBOX_OPERATORS = [
7503
7511
  {
7504
- label: "is checked...",
7512
+ label: "is checked",
7505
7513
  value: "def",
7506
7514
  editorType: "empty"
7507
7515
  },
7508
7516
  {
7509
- label: "is not checked...",
7517
+ label: "is not checked",
7510
7518
  value: "ndef",
7511
7519
  editorType: "empty"
7512
7520
  }
7513
7521
  ];
7514
7522
  var SYSTEM_FIELD_OPERATORS = [
7515
7523
  {
7516
- label: "is...",
7524
+ label: "is",
7517
7525
  value: "eq",
7518
7526
  editorType: "singleChoice"
7519
7527
  },
@@ -7523,7 +7531,7 @@ var SYSTEM_FIELD_OPERATORS = [
7523
7531
  editorType: "multiChoice"
7524
7532
  },
7525
7533
  {
7526
- label: "is not...",
7534
+ label: "is not",
7527
7535
  value: "neq",
7528
7536
  editorType: "singleChoice"
7529
7537
  },
@@ -7535,7 +7543,7 @@ var SYSTEM_FIELD_OPERATORS = [
7535
7543
  ];
7536
7544
  var PUBLISH_STATUS_FIELD_OPERATORS = [
7537
7545
  {
7538
- label: "is...",
7546
+ label: "is",
7539
7547
  value: "eq",
7540
7548
  editorType: "statusSingleChoice"
7541
7549
  },
@@ -7545,7 +7553,7 @@ var PUBLISH_STATUS_FIELD_OPERATORS = [
7545
7553
  editorType: "statusMultiChoice"
7546
7554
  },
7547
7555
  {
7548
- label: "is not...",
7556
+ label: "is not",
7549
7557
  value: "neq",
7550
7558
  editorType: "statusSingleChoice"
7551
7559
  },
@@ -7557,7 +7565,7 @@ var PUBLISH_STATUS_FIELD_OPERATORS = [
7557
7565
  ];
7558
7566
  var SELECT_OPERATORS = [
7559
7567
  {
7560
- label: "is...",
7568
+ label: "is",
7561
7569
  value: "eq",
7562
7570
  editorType: "singleChoice"
7563
7571
  },
@@ -7582,7 +7590,7 @@ var SELECT_OPERATORS = [
7582
7590
  editorType: "text"
7583
7591
  },
7584
7592
  {
7585
- label: "is not...",
7593
+ label: "is not",
7586
7594
  value: "neq",
7587
7595
  editorType: "singleChoice"
7588
7596
  },
@@ -9404,7 +9412,7 @@ import {
9404
9412
  InputComboBox as InputComboBox4,
9405
9413
  InputKeywordSearch as InputKeywordSearch4,
9406
9414
  InputSelect as InputSelect9,
9407
- InputToggle,
9415
+ InputToggle as InputToggle3,
9408
9416
  Label,
9409
9417
  LoadingIndicator as LoadingIndicator5,
9410
9418
  LoadingOverlay as LoadingOverlay2,
@@ -9428,7 +9436,8 @@ import {
9428
9436
  ScrollableListItem,
9429
9437
  Switch,
9430
9438
  Textarea,
9431
- Theme as Theme3
9439
+ Theme as Theme3,
9440
+ utilityColors
9432
9441
  } from "@uniformdev/design-system";
9433
9442
  export * from "@uniformdev/mesh-sdk";
9434
9443
  export {
@@ -9470,7 +9479,7 @@ export {
9470
9479
  InputComboBox4 as InputComboBox,
9471
9480
  InputKeywordSearch4 as InputKeywordSearch,
9472
9481
  InputSelect9 as InputSelect,
9473
- InputToggle,
9482
+ InputToggle3 as InputToggle,
9474
9483
  InputVariables,
9475
9484
  Label,
9476
9485
  LinkButton,
@@ -9646,6 +9655,7 @@ export {
9646
9655
  useVariableEditor,
9647
9656
  useVariables,
9648
9657
  useVariablesMenu,
9658
+ utilityColors,
9649
9659
  variableDefaultTextValue,
9650
9660
  variablePrefix,
9651
9661
  variableSuffix,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.152.0",
3
+ "version": "19.152.2-alpha.9+a99c710d2a",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -50,9 +50,9 @@
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/v5.2.1/react-icons-all-files-5.2.1.tgz",
53
- "@uniformdev/canvas": "19.152.0",
54
- "@uniformdev/design-system": "19.152.0",
55
- "@uniformdev/mesh-sdk": "19.152.0",
53
+ "@uniformdev/canvas": "19.152.2-alpha.9+a99c710d2a",
54
+ "@uniformdev/design-system": "19.152.2-alpha.9+a99c710d2a",
55
+ "@uniformdev/mesh-sdk": "19.152.2-alpha.9+a99c710d2a",
56
56
  "dequal": "^2.0.3",
57
57
  "lexical": "^0.12.0",
58
58
  "mitt": "^3.0.0",
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "access": "public"
88
88
  },
89
- "gitHead": "145c537745d0f56e39ea4a2799fae475336818ca"
89
+ "gitHead": "a99c710d2aecec9e6d590301b75ef89d82da520c"
90
90
  }