@daisychainapp/maily-to-core 0.2.12 → 0.3.5

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.
@@ -140,12 +140,12 @@ declare const LogoExtension: _tiptap_react.Node<_tiptap_extension_image.ImageOpt
140
140
  declare const DEFAULT_BUTTON_ALIGNMENT: AllowedLogoAlignment;
141
141
  declare const DEFAULT_BUTTON_VARIANT: AllowedButtonVariant;
142
142
  declare const DEFAULT_BUTTON_BORDER_RADIUS: AllowedButtonBorderRadius;
143
- declare const DEFAULT_BUTTON_BACKGROUND_COLOR = "#000000";
144
- declare const DEFAULT_BUTTON_TEXT_COLOR = "#ffffff";
145
- declare const DEFAULT_BUTTON_PADDING_TOP = 10;
146
- declare const DEFAULT_BUTTON_PADDING_RIGHT = 32;
147
- declare const DEFAULT_BUTTON_PADDING_BOTTOM = 10;
148
- declare const DEFAULT_BUTTON_PADDING_LEFT = 32;
143
+ declare const DEFAULT_BUTTON_BACKGROUND_COLOR: null;
144
+ declare const DEFAULT_BUTTON_TEXT_COLOR: null;
145
+ declare const DEFAULT_BUTTON_PADDING_TOP: null;
146
+ declare const DEFAULT_BUTTON_PADDING_RIGHT: null;
147
+ declare const DEFAULT_BUTTON_PADDING_BOTTOM: null;
148
+ declare const DEFAULT_BUTTON_PADDING_LEFT: null;
149
149
  declare const allowedButtonVariant: readonly ["filled", "outline"];
150
150
  type AllowedButtonVariant = (typeof allowedButtonVariant)[number];
151
151
  declare const allowedButtonBorderRadius: readonly ["sharp", "smooth", "round"];
@@ -329,6 +329,8 @@ type Variable = {
329
329
  name: string;
330
330
  required?: boolean;
331
331
  valid?: boolean;
332
+ hideDefaultValue?: boolean;
333
+ label?: string;
332
334
  };
333
335
  type VariableFunctionOptions = {
334
336
  query: string;
@@ -369,6 +371,12 @@ type VariableOptions = {
369
371
  * @default VariableSuggestionPopover
370
372
  */
371
373
  variableSuggestionsPopover: VariableSuggestionsPopoverType;
374
+ /**
375
+ * Disable input is the boolean that will be used to disable the input of the variable
376
+ * when the variable is selected.
377
+ * @default false
378
+ */
379
+ disableInput: boolean;
372
380
  };
373
381
  type VariableStorage = {
374
382
  popover: boolean;
@@ -380,6 +388,8 @@ type VariableListProps = {
380
388
  command: (params: {
381
389
  id: string;
382
390
  required: boolean;
391
+ hideDefaultValue: boolean;
392
+ label?: string;
383
393
  }) => void;
384
394
  items: Variable[];
385
395
  } & SuggestionOptions;
@@ -387,6 +397,8 @@ declare const VariableList: react.ForwardRefExoticComponent<{
387
397
  command: (params: {
388
398
  id: string;
389
399
  required: boolean;
400
+ hideDefaultValue: boolean;
401
+ label?: string;
390
402
  }) => void;
391
403
  items: Variable[];
392
404
  } & SuggestionOptions<any, any> & react.RefAttributes<unknown>>;
@@ -140,12 +140,12 @@ declare const LogoExtension: _tiptap_react.Node<_tiptap_extension_image.ImageOpt
140
140
  declare const DEFAULT_BUTTON_ALIGNMENT: AllowedLogoAlignment;
141
141
  declare const DEFAULT_BUTTON_VARIANT: AllowedButtonVariant;
142
142
  declare const DEFAULT_BUTTON_BORDER_RADIUS: AllowedButtonBorderRadius;
143
- declare const DEFAULT_BUTTON_BACKGROUND_COLOR = "#000000";
144
- declare const DEFAULT_BUTTON_TEXT_COLOR = "#ffffff";
145
- declare const DEFAULT_BUTTON_PADDING_TOP = 10;
146
- declare const DEFAULT_BUTTON_PADDING_RIGHT = 32;
147
- declare const DEFAULT_BUTTON_PADDING_BOTTOM = 10;
148
- declare const DEFAULT_BUTTON_PADDING_LEFT = 32;
143
+ declare const DEFAULT_BUTTON_BACKGROUND_COLOR: null;
144
+ declare const DEFAULT_BUTTON_TEXT_COLOR: null;
145
+ declare const DEFAULT_BUTTON_PADDING_TOP: null;
146
+ declare const DEFAULT_BUTTON_PADDING_RIGHT: null;
147
+ declare const DEFAULT_BUTTON_PADDING_BOTTOM: null;
148
+ declare const DEFAULT_BUTTON_PADDING_LEFT: null;
149
149
  declare const allowedButtonVariant: readonly ["filled", "outline"];
150
150
  type AllowedButtonVariant = (typeof allowedButtonVariant)[number];
151
151
  declare const allowedButtonBorderRadius: readonly ["sharp", "smooth", "round"];
@@ -329,6 +329,8 @@ type Variable = {
329
329
  name: string;
330
330
  required?: boolean;
331
331
  valid?: boolean;
332
+ hideDefaultValue?: boolean;
333
+ label?: string;
332
334
  };
333
335
  type VariableFunctionOptions = {
334
336
  query: string;
@@ -369,6 +371,12 @@ type VariableOptions = {
369
371
  * @default VariableSuggestionPopover
370
372
  */
371
373
  variableSuggestionsPopover: VariableSuggestionsPopoverType;
374
+ /**
375
+ * Disable input is the boolean that will be used to disable the input of the variable
376
+ * when the variable is selected.
377
+ * @default false
378
+ */
379
+ disableInput: boolean;
372
380
  };
373
381
  type VariableStorage = {
374
382
  popover: boolean;
@@ -380,6 +388,8 @@ type VariableListProps = {
380
388
  command: (params: {
381
389
  id: string;
382
390
  required: boolean;
391
+ hideDefaultValue: boolean;
392
+ label?: string;
383
393
  }) => void;
384
394
  items: Variable[];
385
395
  } & SuggestionOptions;
@@ -387,6 +397,8 @@ declare const VariableList: react.ForwardRefExoticComponent<{
387
397
  command: (params: {
388
398
  id: string;
389
399
  required: boolean;
400
+ hideDefaultValue: boolean;
401
+ label?: string;
390
402
  }) => void;
391
403
  items: Variable[];
392
404
  } & SuggestionOptions<any, any> & react.RefAttributes<unknown>>;