@trycourier/react-designer 0.0.0-canary-20251205172857 → 0.0.0-canary-20251207160907

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.
@@ -1015,6 +1015,10 @@ body {
1015
1015
  .courier-m-6 {
1016
1016
  margin: 1.5rem;
1017
1017
  }
1018
+ .\!courier-my-1 {
1019
+ margin-top: 0.25rem !important;
1020
+ margin-bottom: 0.25rem !important;
1021
+ }
1018
1022
  .-courier-mx-4 {
1019
1023
  margin-left: -1rem;
1020
1024
  margin-right: -1rem;
package/dist/styles.css CHANGED
@@ -1015,6 +1015,10 @@ body {
1015
1015
  .courier-m-6 {
1016
1016
  margin: 1.5rem;
1017
1017
  }
1018
+ .\!courier-my-1 {
1019
+ margin-top: 0.25rem !important;
1020
+ margin-bottom: 0.25rem !important;
1021
+ }
1018
1022
  .-courier-mx-4 {
1019
1023
  margin-left: -1rem;
1020
1024
  margin-right: -1rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trycourier/react-designer",
3
- "version": "0.0.0-canary-20251205172857",
3
+ "version": "0.0.0-canary-20251207160907",
4
4
  "description": "React-based rich text designer component",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -1,28 +0,0 @@
1
- import * as React from "react";
2
- export interface VariableInputProps {
3
- /** The current value with {{variable}} syntax */
4
- value?: string;
5
- /** Called when the value changes */
6
- onChange?: (value: string) => void;
7
- /** List of available variable names for autocomplete */
8
- variables?: string[];
9
- /** Placeholder text */
10
- placeholder?: string;
11
- /** Additional CSS classes */
12
- className?: string;
13
- /** Whether the input is disabled */
14
- disabled?: boolean;
15
- /** Whether the input is read-only */
16
- readOnly?: boolean;
17
- /** Whether to disable variable autocomplete suggestions */
18
- disableVariableAutocomplete?: boolean;
19
- /** Called when the input gains focus */
20
- onFocus?: () => void;
21
- /** Called when the input loses focus */
22
- onBlur?: () => void;
23
- }
24
- /**
25
- * A single-line input that renders {{variable}} patterns as styled chips.
26
- * Uses a minimal TipTap editor under the hood for rich content rendering.
27
- */
28
- export declare const VariableInput: React.ForwardRefExoticComponent<VariableInputProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,2 +0,0 @@
1
- export { VariableInput } from "./VariableInput";
2
- export type { VariableInputProps } from "./VariableInput";
@@ -1,26 +0,0 @@
1
- import * as React from "react";
2
- export interface VariableTextareaProps {
3
- /** The current value with {{variable}} syntax */
4
- value?: string;
5
- /** Called when the value changes */
6
- onChange?: (value: string) => void;
7
- /** List of available variable names for autocomplete */
8
- variables?: string[];
9
- /** Placeholder text */
10
- placeholder?: string;
11
- /** Additional CSS classes */
12
- className?: string;
13
- /** Whether the input is disabled */
14
- disabled?: boolean;
15
- /** Whether to disable variable autocomplete suggestions */
16
- disableVariableAutocomplete?: boolean;
17
- /** Called when the input gains focus */
18
- onFocus?: () => void;
19
- /** Called when the input loses focus */
20
- onBlur?: () => void;
21
- }
22
- /**
23
- * A textarea-like input that renders {{variable}} patterns as styled chips.
24
- * Uses a minimal TipTap editor under the hood for rich content rendering.
25
- */
26
- export declare const VariableTextarea: React.ForwardRefExoticComponent<VariableTextareaProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,2 +0,0 @@
1
- export { VariableTextarea } from "./VariableTextarea";
2
- export type { VariableTextareaProps } from "./VariableTextarea";