@trycourier/react-designer 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/README.md +254 -41
  2. package/dist/cjs/index.js +70 -47
  3. package/dist/cjs/index.js.map +4 -4
  4. package/dist/cjs/styles.css +1609 -480
  5. package/dist/components/BrandEditor/BrandEditor.d.ts +1 -0
  6. package/dist/components/BrandEditor/Editor/BrandFooter/BrandFooter.d.ts +1 -1
  7. package/dist/components/BrandEditor/Editor/Editor.d.ts +16 -0
  8. package/dist/components/Providers/api/template.d.ts +33 -1
  9. package/dist/components/Providers/store.d.ts +6 -0
  10. package/dist/components/Providers/useBrandActions.d.ts +1 -1
  11. package/dist/components/Providers/useTemplateActions.d.ts +4 -2
  12. package/dist/components/TemplateEditor/Channels/Email/Email.d.ts +5 -6
  13. package/dist/components/TemplateEditor/Channels/Email/EmailEditor.d.ts +2 -1
  14. package/dist/components/TemplateEditor/Channels/Email/EmailLayout.d.ts +1 -1
  15. package/dist/components/TemplateEditor/Channels/Email/SideBar/SideBar.d.ts +9 -3
  16. package/dist/components/TemplateEditor/Channels/Email/SideBar/SideBarSortableItemWrapper/SideBarSortableItemWrapper.d.ts +4 -18
  17. package/dist/components/TemplateEditor/Channels/Inbox/Inbox.d.ts +1 -1
  18. package/dist/components/TemplateEditor/Channels/Inbox/InboxLayout.d.ts +1 -1
  19. package/dist/components/TemplateEditor/Channels/MSTeams/MSTeams.d.ts +5 -3
  20. package/dist/components/TemplateEditor/Channels/MSTeams/MSTeamsEditor.d.ts +1 -1
  21. package/dist/components/TemplateEditor/Channels/MSTeams/MSTeamsLayout.d.ts +1 -1
  22. package/dist/components/TemplateEditor/Channels/MSTeams/SideBar/SideBar.d.ts +5 -3
  23. package/dist/components/TemplateEditor/Channels/Push/Push.d.ts +1 -1
  24. package/dist/components/TemplateEditor/Channels/Push/PushLayout.d.ts +1 -1
  25. package/dist/components/TemplateEditor/Channels/SMS/SMS.d.ts +1 -1
  26. package/dist/components/TemplateEditor/Channels/SMS/SMSLayout.d.ts +1 -1
  27. package/dist/components/TemplateEditor/Channels/Slack/SideBar/SideBar.d.ts +5 -3
  28. package/dist/components/TemplateEditor/Channels/Slack/Slack.d.ts +5 -3
  29. package/dist/components/TemplateEditor/Channels/Slack/SlackEditor.d.ts +1 -1
  30. package/dist/components/TemplateEditor/Channels/Slack/SlackLayout.d.ts +1 -1
  31. package/dist/components/TemplateEditor/Channels/useChannels.d.ts +9 -1
  32. package/dist/components/TemplateEditor/TemplateEditor.d.ts +17 -1
  33. package/dist/components/TemplateEditor/hooks/index.d.ts +1 -0
  34. package/dist/components/TemplateEditor/hooks/useDebouncedFlush.d.ts +10 -0
  35. package/dist/components/TemplateEditor/hooks/useDndRef.d.ts +18 -0
  36. package/dist/components/TemplateEditor/hooks/useEditorDnd.d.ts +12 -16
  37. package/dist/components/TemplateEditor/hooks/usePragmaticDnd.d.ts +22 -0
  38. package/dist/components/TemplateEditor/hooks/useSyncEditorItems.d.ts +3 -2
  39. package/dist/components/TemplateEditor/index.d.ts +5 -2
  40. package/dist/components/TemplateEditor/store.d.ts +150 -0
  41. package/dist/components/extensions/Blockquote/Blockquote.types.d.ts +2 -2
  42. package/dist/components/extensions/Button/Button.types.d.ts +18 -24
  43. package/dist/components/extensions/Button/ButtonComponent.d.ts +1 -0
  44. package/dist/components/extensions/ButtonRow/ButtonRowComponent.d.ts +5 -1
  45. package/dist/components/extensions/Column/Column.d.ts +11 -0
  46. package/dist/components/extensions/Column/Column.types.d.ts +44 -0
  47. package/dist/components/extensions/Column/ColumnComponent.d.ts +9 -0
  48. package/dist/components/extensions/Column/ColumnForm.d.ts +8 -0
  49. package/dist/components/extensions/Column/index.d.ts +5 -0
  50. package/dist/components/extensions/ColumnCell/ColumnCell.d.ts +10 -0
  51. package/dist/components/extensions/ColumnCell/ColumnCellComponent.d.ts +2 -0
  52. package/dist/components/extensions/ColumnCell/index.d.ts +2 -0
  53. package/dist/components/extensions/ColumnRow/ColumnRow.d.ts +10 -0
  54. package/dist/components/extensions/ColumnRow/ColumnRowComponent.d.ts +2 -0
  55. package/dist/components/extensions/ColumnRow/index.d.ts +2 -0
  56. package/dist/components/extensions/ImageBlock/ImageBlock.types.d.ts +2 -6
  57. package/dist/components/extensions/Selection/Selection.d.ts +1 -0
  58. package/dist/components/extensions/TextBlock/TextBlock.types.d.ts +4 -12
  59. package/dist/components/extensions/Variable/Variable.d.ts +16 -0
  60. package/dist/components/extensions/Variable/Variable.types.d.ts +22 -18
  61. package/dist/components/extensions/Variable/VariableIcon.d.ts +5 -1
  62. package/dist/components/extensions/Variable/index.d.ts +1 -0
  63. package/dist/components/extensions/extension-kit.d.ts +8 -3
  64. package/dist/components/extensions/index.d.ts +4 -1
  65. package/dist/components/hooks/index.d.ts +2 -0
  66. package/dist/components/hooks/useBlockConfig.d.ts +110 -0
  67. package/dist/components/hooks/useVariables.d.ts +40 -0
  68. package/dist/components/ui/Blocks/ColumnBlock/ColumnBlock.d.ts +3 -0
  69. package/dist/components/ui/Blocks/ColumnBlock/index.d.ts +1 -0
  70. package/dist/components/ui/Blocks/CustomCodeBlock/index.d.ts +1 -1
  71. package/dist/components/ui/Blocks/index.d.ts +1 -0
  72. package/dist/components/ui/ContentIcon/ContentIcon.d.ts +1 -0
  73. package/dist/components/ui/DraggableItem/DraggableItem.d.ts +16 -0
  74. package/dist/components/ui/DraggableItem/index.d.ts +1 -0
  75. package/dist/components/ui/DropIndicatorPlaceholder/DropIndicatorPlaceholder.d.ts +5 -0
  76. package/dist/components/ui/DropIndicatorPlaceholder/index.d.ts +1 -0
  77. package/dist/components/ui/FormHeader/FormHeader.d.ts +2 -1
  78. package/dist/components/ui/MainLayout/MainLayout.d.ts +1 -1
  79. package/dist/components/ui/SortableItemWrapper/SortableItemWrapper.d.ts +11 -8
  80. package/dist/components/ui/TextInput/TextInput.d.ts +0 -1
  81. package/dist/components/ui/TextMenu/config.d.ts +16 -0
  82. package/dist/components/ui/TextMenu/hooks/useConditionalRules.d.ts +18 -0
  83. package/dist/components/ui/TextMenu/hooks/useTextmenuCommands.d.ts +15 -1
  84. package/dist/components/ui/VariableEditor/VariableAutocomplete.d.ts +16 -0
  85. package/dist/components/ui/VariableEditor/VariableChipBase.d.ts +35 -0
  86. package/dist/components/ui/VariableEditor/VariableEditorToolbar.d.ts +15 -0
  87. package/dist/components/ui/VariableEditor/VariableInput.d.ts +13 -0
  88. package/dist/components/ui/VariableEditor/VariableTextarea.d.ts +11 -0
  89. package/dist/components/ui/VariableEditor/index.d.ts +8 -0
  90. package/dist/components/ui/VariableEditor/shared.d.ts +47 -0
  91. package/dist/components/ui-kit/Icon/EmailIcon.d.ts +3 -0
  92. package/dist/components/ui-kit/Icon/MSTeamsIcon.d.ts +1 -1
  93. package/dist/components/ui-kit/Icon/PushIcon.d.ts +1 -1
  94. package/dist/components/ui-kit/Icon/VariableIcon.d.ts +1 -1
  95. package/dist/components/ui-kit/Icon/index.d.ts +1 -0
  96. package/dist/components/ui-kit/ThemeProvider/ThemeProvider.d.ts +1 -1
  97. package/dist/components/ui-kit/Toggle/Toggle.d.ts +2 -2
  98. package/dist/components/ui-kit/ToggleGroup/ToggleGroup.d.ts +2 -2
  99. package/dist/components/utils/extractVariablesFromContent.d.ts +13 -0
  100. package/dist/components/utils/index.d.ts +1 -0
  101. package/dist/components/utils/multipleContainersKeyboardCoordinates.d.ts +1 -2
  102. package/dist/components/utils/validateVariableName.d.ts +9 -0
  103. package/dist/esm/index.js +70 -47
  104. package/dist/esm/index.js.map +4 -4
  105. package/dist/esm/styles.css +1609 -480
  106. package/dist/hooks/useAutoSave.d.ts +2 -1
  107. package/dist/index.d.ts +2 -1
  108. package/dist/lib/utils/image.d.ts +5 -0
  109. package/dist/styles.css +1609 -480
  110. package/dist/types/elemental.schema.d.ts +3 -3
  111. package/dist/types/elemental.types.d.ts +48 -4
  112. package/dist/types/index.d.ts +1 -0
  113. package/dist/types/validation.types.d.ts +53 -0
  114. package/package.json +7 -6
  115. package/dist/cjs/index.css +0 -2
  116. package/dist/cjs/index.css.map +0 -7
  117. package/dist/esm/index.css +0 -2
  118. package/dist/esm/index.css.map +0 -7
@@ -5,17 +5,17 @@ export declare const ElementalSchema: z.ZodObject<{
5
5
  version: z.ZodLiteral<"2022-01-01">;
6
6
  elements: z.ZodArray<z.ZodType<ElementalNode, z.ZodTypeDef, ElementalNode>, "many">;
7
7
  }, "strip", z.ZodTypeAny, {
8
- version: "2022-01-01";
9
8
  elements: ElementalNode[];
10
- }, {
11
9
  version: "2022-01-01";
10
+ }, {
12
11
  elements: ElementalNode[];
12
+ version: "2022-01-01";
13
13
  }>;
14
14
  export declare const validateElemental: (json: unknown) => {
15
15
  success: boolean;
16
16
  data: {
17
- version: "2022-01-01";
18
17
  elements: ElementalNode[];
18
+ version: "2022-01-01";
19
19
  };
20
20
  errors?: undefined;
21
21
  } | {
@@ -45,8 +45,13 @@ export interface IsElementalTextNode extends IsElementalNode {
45
45
  background_color?: string;
46
46
  format?: "markdown";
47
47
  padding?: string;
48
- color?: string;
49
- border?: BorderConfig;
48
+ border_color?: string;
49
+ border_size?: string;
50
+ /**
51
+ * @deprecated Legacy nested border format. Use flat `border_color` and `border_size` instead.
52
+ * Kept for backward compatibility when reading old templates.
53
+ */
54
+ border?: IBorderConfig;
50
55
  locales?: ElementalLocales<{
51
56
  content?: string;
52
57
  }>;
@@ -113,7 +118,16 @@ export interface ElementalImageNode extends IsElementalNode {
113
118
  href?: string;
114
119
  align?: Align;
115
120
  alt_text?: string;
121
+ /** Width in pixels (e.g., "50px") - MJML only supports pixel values */
116
122
  width?: string;
123
+ /** Natural width of the image in pixels - used to convert between percentage (UI) and pixels (storage) */
124
+ image_natural_width?: number;
125
+ border_color?: string;
126
+ border_size?: string;
127
+ /**
128
+ * @deprecated Legacy nested border format. Use flat `border_color` and `border_size` instead.
129
+ * Kept for backward compatibility when reading old templates.
130
+ */
117
131
  border?: IBorderConfig;
118
132
  locales?: ElementalLocales<{
119
133
  href?: string;
@@ -128,10 +142,22 @@ export interface ElementalActionNode extends IsElementalNode {
128
142
  style?: IActionButtonStyle;
129
143
  align?: Align;
130
144
  background_color?: string;
131
- color?: string;
132
- border?: BorderConfig;
145
+ /** Border radius in pixels */
146
+ border_radius?: string;
147
+ /** Border size in pixels (e.g., "1px") */
148
+ border_size?: string;
133
149
  padding?: string;
134
150
  disable_tracking?: boolean;
151
+ /**
152
+ * @deprecated Legacy text color. Not supported by Elemental.
153
+ * Kept for backward compatibility when reading old templates.
154
+ */
155
+ color?: string;
156
+ /**
157
+ * @deprecated Legacy nested border format. Use flat `border_radius` and `border_size` instead.
158
+ * Kept for backward compatibility when reading old templates.
159
+ */
160
+ border?: BorderConfig;
135
161
  locales?: ElementalLocales<{
136
162
  content?: string;
137
163
  href?: string;
@@ -140,12 +166,26 @@ export interface ElementalActionNode extends IsElementalNode {
140
166
  export interface ElementalDividerNode extends IsElementalNode {
141
167
  type: "divider";
142
168
  color?: string;
169
+ /** Border width in pixels (e.g., "15px") */
170
+ border_width?: string;
171
+ /**
172
+ * @deprecated Legacy width property. Use `border_width` instead.
173
+ * Kept for backward compatibility when reading old templates.
174
+ */
143
175
  width?: string;
144
176
  padding?: string;
145
177
  }
146
178
  export interface ElementalGroupNode extends IsElementalNode {
147
179
  type: "group";
148
180
  elements: ElementalNode[];
181
+ border?: {
182
+ color?: string;
183
+ enabled?: boolean;
184
+ size?: string;
185
+ radius?: number;
186
+ };
187
+ padding?: string;
188
+ background_color?: string;
149
189
  locales?: ElementalLocales<{
150
190
  elements?: ElementalNode[];
151
191
  }>;
@@ -155,6 +195,10 @@ export interface ElementalQuoteNode extends IsElementalNode {
155
195
  content: string;
156
196
  align?: Align;
157
197
  border_color?: string;
198
+ border_left_width?: number;
199
+ padding_horizontal?: number;
200
+ padding_vertical?: number;
201
+ background_color?: string;
158
202
  text_style?: "text" | "h1" | "h2" | "subtext";
159
203
  locales?: ElementalLocales<{
160
204
  content?: string;
@@ -1,3 +1,4 @@
1
1
  export * from "./tiptap.types";
2
2
  export * from "./elemental.types";
3
3
  export * from "./elemental.schema";
4
+ export * from "./validation.types";
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Configuration for custom variable validation in the editor.
3
+ * Allows consumers to restrict which variable names are allowed and
4
+ * define the behavior when validation fails.
5
+ */
6
+ export interface VariableValidationConfig {
7
+ /**
8
+ * Custom validator function that runs AFTER built-in format validation passes
9
+ * (unless `overrideFormatValidation` is true).
10
+ *
11
+ * @param variableName - The variable name to validate (without curly braces)
12
+ * @returns true if the variable is allowed, false otherwise
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * // Only allow variables from a predefined list
17
+ * validate: (name) => ['user.name', 'user.email', 'order.total'].includes(name)
18
+ * ```
19
+ */
20
+ validate?: (variableName: string) => boolean;
21
+ /**
22
+ * Behavior when validation fails.
23
+ * - 'mark': Keep the chip with invalid styling (default, shows red styling)
24
+ * - 'remove': Delete the chip entirely
25
+ *
26
+ * @default 'mark'
27
+ */
28
+ onInvalid?: "mark" | "remove";
29
+ /**
30
+ * Message to show as a toast notification when validation fails.
31
+ * Can be a static string or a function that receives the variable name
32
+ * for dynamic messages.
33
+ *
34
+ * @example
35
+ * ```tsx
36
+ * // Static message
37
+ * invalidMessage: "This variable is not available"
38
+ *
39
+ * // Dynamic message
40
+ * invalidMessage: (name) => `Variable "${name}" is not in the allowed list`
41
+ * ```
42
+ */
43
+ invalidMessage?: string | ((variableName: string) => string);
44
+ /**
45
+ * If true, bypasses the built-in format validation entirely.
46
+ * Only the custom `validate` function will be used for validation.
47
+ *
48
+ * Use with caution - invalid formats may cause issues with downstream processing.
49
+ *
50
+ * @default false
51
+ */
52
+ overrideFormatValidation?: boolean;
53
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trycourier/react-designer",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "React-based rich text designer component",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -35,10 +35,10 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@dnd-kit/core": "^6.3.1",
39
- "@dnd-kit/modifiers": "^9.0.0",
40
- "@dnd-kit/sortable": "^10.0.0",
41
- "@dnd-kit/utilities": "^3.2.2",
38
+ "@atlaskit/pragmatic-drag-and-drop": "^1.7.7",
39
+ "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
40
+ "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^2.0.1",
41
+ "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.9",
42
42
  "@hookform/resolvers": "^3.9.1",
43
43
  "@monaco-editor/react": ">=4.0.0 <6.0.0",
44
44
  "@radix-ui/react-alert-dialog": "^1.1.14",
@@ -137,7 +137,8 @@
137
137
  "url": "https://github.com/trycourier/courier-designer/issues"
138
138
  },
139
139
  "scripts": {
140
- "build": "pnpm run lint:src && pnpm run typecheck:src && tsc -p tsconfig.build.json && node build.js",
140
+ "build": "pnpm run lint:src && pnpm run typecheck:src && pnpm run build-code",
141
+ "build-code": "tsc -p tsconfig.build.json && node build.js",
141
142
  "dev": "node build.js --watch",
142
143
  "lint": "eslint \"src/**/*.ts*\"",
143
144
  "lint:src": "eslint \"src/**/*.ts*\" --ignore-pattern \"**/*.test.ts*\" --ignore-pattern \"**/*.spec.ts*\"",
@@ -1,2 +0,0 @@
1
- .ProseMirror{h1{@apply courier-text-3xl;}h2{@apply courier-text-2xl;}h3{@apply courier-text-xl;}h4{@apply courier-text-lg;}h5{@apply courier-text-base;}h6{@apply courier-text-sm;}h1,h2,h3,h4,h5,h6{@apply courier-font-bold first:courier-mt-0 last:courier-mb-0;}h1,h2,h3{@apply courier-mt-12;}h4,h5,h6{@apply courier-mt-8;}a.link{@apply courier-text-blue-700 courier-underline;}mark{@apply courier-bg-red-500 courier-rounded-sm courier-decoration-clone courier-text-inherit courier-py-1 courier-px-0 dark:courier-bg-red-400;}& img{@apply courier-h-auto courier-w-full courier-max-w-full;}[data-type=divider]{@apply courier-py-4 courier-transition-all courier-duration-100 courier-ease-in-out courier-cursor-pointer;&.ProseMirror-selectednode{@apply courier-bg-black/5 dark:courier-bg-white/10;hr{@apply courier-border-t-black/30 dark:courier-border-t-white/30;}}hr{@apply courier-border-0 courier-border-t courier-border-black/20 courier-bg-black/80 courier-m-0 courier-h-px;@apply dark:courier-border-white/20 dark:courier-bg-white/80;}}[data-type=emoji]{display:inline-block;img{width:1em;height:1em;object-fit:cover;display:block}}}.theme-container{--color-scheme: light;--background: #ffffff;--foreground: #404040;--muted: #D9D9D9;--muted-foreground: #A3A3A3;--popover: #ffffff;--popover-foreground: #292929;--border: #DCDEE4;--input: #DCDEE4;--card: #FAF9F8;--card-foreground: #292929;--primary: #ffffff;--primary-foreground: #696F8C;--secondary: #F5F5F5;--secondary-foreground: #171717;--accent: #E5F3FF;--accent-foreground: #1D4ED8;--destructive: #292929;--destructive-foreground: #FF3363;--ring: #80849D;--radius: 6px}.ProseMirror{>*:first-child,[data-type=column]>*{@apply first:courier-mt-0 last:courier-mb-0;}>*+*{margin-top:.75em}.node-imageUpload{@apply courier-rounded courier-border-2 courier-border-dotted courier-border-black courier-border-opacity-10 courier-p-2 dark:courier-border-neutral-500;transition:border .16s cubic-bezier(.45,.05,.55,.95);&:hover{@apply courier-border-opacity-30;}&:has(.is-active),&.has-focus{@apply courier-border-opacity-40;}}[data-type=columns]{&.has-focus [data-type=column],&:hover [data-type=column]{@apply courier-border-neutral-300 dark:courier-border-neutral-700;}[data-type=column].has-focus{@apply courier-border-neutral-400 dark:courier-border-neutral-600;}}[data-type=column]{@apply courier-rounded courier-border-2 courier-border-dotted courier-border-transparent courier-p-1;transition:border .16s cubic-bezier(.45,.05,.55,.95);&:hover{@apply courier-border-neutral-100 dark:courier-border-neutral-900;}&:has(.is-active),&.has-focus{@apply courier-border-neutral-100 dark:courier-border-neutral-900;}}.node-imageBlock{& img{@apply courier-border-2 courier-border-transparent courier-rounded-xl courier-overflow-hidden;}&:hover img{@apply courier-border-2 courier-border-neutral-100 dark:courier-border-neutral-900;}&:has(.is-active) img,&.has-focus img{@apply courier-border-2 courier-border-neutral-800 dark:courier-border-neutral-200;}}.node-aiWriter,.node-aiImage,.node-tableOfContentsNode{&.has-focus [data-node-view-wrapper]>*{@apply courier-shadow-[0_0_0_2px] courier-shadow-black/30 dark:courier-shadow-white/30 courier-transition-all courier-rounded-lg;}}.ProseMirror-gapcursor+.node-imageBlock,.ProseMirror-gapcursor+.node-imageUpload,.ProseMirror-gapcursor+.node-blockquote{@apply courier-outline-neutral-700 hover:courier-outline-neutral-600 dark:courier-outline-neutral-300 dark:hover:courier-outline-neutral-400;}}@tailwind base;@tailwind components;@tailwind utilities;@keyframes pop{0%{transform:scale(1);box-shadow:var(--box-shadow)}to{transform:scale(var(--scale));box-shadow:var(--box-shadow-picked-up)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@layer base{*{@apply courier-border-border courier-outline-ring;}body{@apply courier-font-sans courier-antialiased courier-bg-background courier-text-foreground;}}.courier-main-layout{@apply courier-relative courier-flex-grow courier-rounded-sm courier-border courier-border-border courier-bg-card courier-flex courier-flex-col courier-text-foreground courier-min-w-[812px] courier-h-[700px] courier-overflow-hidden courier-z-10;&:before{@apply courier-absolute courier-inset-0 -courier-z-10;content:"";background:radial-gradient(#0A0A0A32 1px,transparent 1px);background-size:15px 15px}}.courier-editor-container{@apply courier-relative courier-flex-1 courier-flex courier-flex-col courier-p-6 courier-overflow-y-auto courier-transition-all courier-duration-300 courier-ease-in-out;}.courier-editor-sidebar{@apply courier-rounded-br-sm courier-border-border courier-bg-white courier-border-l courier-overflow-y-auto courier-transition-all courier-duration-300 courier-ease-in-out dark:courier-bg-black;}.courier-editor-loading{@apply courier-w-full courier-h-full courier-flex courier-items-center courier-justify-center courier-grow courier-z-50 courier-absolute courier-top-0 courier-left-0 courier-right-0 courier-bottom-0 courier-bg-card;}.courier-brand-editor-readonly{@apply courier-pointer-events-none;.ProseMirror{@apply courier-cursor-default courier-p-0;.react-renderer{@apply courier-cursor-default;&.node-paragraph{p{@apply courier-text-sm;}.is-empty{p{&:after{content:""}}}}.draggable-item{@apply courier-p-0;}}}}.courier-theme-editor-main{@apply courier-bg-white courier-rounded-lg courier-border courier-border-border courier-shadow-sm courier-max-w-2xl courier-select-none courier-self-center courier-w-full;>div{@apply courier-w-full;.ProseMirror{@apply courier-p-0;.react-renderer{&.node-paragraph{.selected-element{.node-element{&:before{@apply courier-hidden;}}.courier-actions-panel{@apply courier-hidden;}}p{@apply courier-text-sm;}.is-empty{p{&:after{content:"Write footer text..."}}}&:hover{.draggable-item{>button{@apply courier-hidden;}}}.draggable-item{@apply courier-p-0;}}}}}}.courier-editor-main{@apply courier-relative courier-bg-white courier-rounded-lg courier-border courier-border-border courier-shadow-sm courier-max-w-2xl courier-select-none courier-self-center courier-w-full;>div{@apply courier-w-full;}}.courier-editor-preview-mode,.courier-editor-readonly{&.courier-editor-preview-mode-mobile{.courier-editor-main{@apply courier-max-w-sm;&:hover{>button{@apply courier-hidden;}}}}.ProseMirror{@apply courier-pointer-events-none;>.react-renderer{&.node-imageBlock,&.node-button,&.node-divider,&.node-paragraph,&.node-heading,&.node-blockquote,&.node-buttonRow,&.node-customCode{*{@apply courier-cursor-default courier-pointer-events-none;}[data-cypress=draggable-handle]{@apply courier-hidden;}.selected-element{.courier-actions-panel{@apply courier-hidden;}.node-element{&:before{@apply courier-hidden;}}}&:hover,&:active{[data-cypress=draggable-handle]{@apply courier-hidden;}.node-element{>div,>hr,&.courier-empty-image{&:before{@apply courier-hidden;}}}}}&.node-imageBlock{.courier-empty-image{@apply courier-hidden;}}&.node-paragraph,&.node-blockquote{.is-empty{p,blockquote{&:after{@apply courier-hidden;}}}}&.node-heading{.is-empty{h1,h2,h3{&:after{@apply courier-hidden;}}}}}}}.courier-sms-editor{@apply courier-flex courier-flex-col courier-py-2 courier-rounded-lg courier-bg-card courier-m-6 courier-mr-14 courier-mt-10;.ProseMirror{@apply courier-p-0;>.react-renderer{.draggable-item{@apply courier-px-4;}&.node-paragraph{.selected-element{.node-element{&:before{@apply courier-hidden;}}.courier-actions-panel{@apply courier-hidden;}}}&:hover{.draggable-item{@apply courier-px-4;}[data-cypress=draggable-handle]{@apply courier-hidden;}.node-element{>div{&:before{@apply courier-hidden;}}}}}}}.courier-push-editor{@apply courier-py-2 courier-pr-4 courier-rounded-lg courier-bg-card courier-m-6 courier-relative;&:before{content:"now";@apply courier-absolute courier-top-3 courier-right-3 courier-z-10 courier-text-xs courier-text-gray-500;}.ProseMirror{@apply courier-p-0 courier-gap-0.5 courier-flex courier-flex-col;>.react-renderer{.node-element{>div{@apply !courier-p-0;}h2,p{@apply courier-text-sm;}}.draggable-item{@apply courier-px-4;}&.node-paragraph,&.node-heading{.selected-element{.node-element{&:before{@apply courier-hidden;}}.courier-actions-panel{@apply courier-hidden;}}}&:hover{.draggable-item{@apply courier-px-4;}[data-cypress=draggable-handle]{@apply courier-hidden;}.node-element{>div{&:before{@apply courier-hidden;}}}}}}}.courier-inbox-editor{@apply courier-overflow-auto courier-flex-1 courier-border-y courier-border-border;max-height:calc(90% - 56px);.ProseMirror{@apply courier-p-4 courier-pr-10 courier-gap-0.5 courier-flex courier-flex-col;&:before{content:"now";@apply courier-absolute courier-top-4 courier-right-4 courier-z-10 courier-text-sm courier-text-gray-500;}>.react-renderer{.node-element{>div{@apply !courier-p-0;}h2,p{@apply courier-text-sm;}}&.node-button{@apply courier-mt-2;.node-element{>div{>div{@apply courier-py-1 courier-px-2 courier-text-sm;}}}}&.node-buttonRow{@apply courier-mt-2;.draggable-item{justify-content:flex-start!important}[data-cypress=draggable-handle]{@apply courier-hidden;}}.draggable-item{@apply courier-p-0;}&.node-paragraph,&.node-heading,&.node-buttonRow{.selected-element{.node-element{&:before{@apply courier-hidden;}}.courier-actions-panel{@apply courier-hidden;}}}&:hover{[data-cypress=draggable-handle]{@apply courier-hidden;}.node-element{>div{&:before{@apply courier-hidden;}}}}}}}.ProseMirror{@apply courier-caret-black dark:courier-caret-white courier-outline-0 courier-pr-10 courier-pl-4 courier-py-10 courier-z-0 lg:courier-pl-2 lg:courier-pr-10 courier-max-w-2xl courier-h-full;.selection{@apply courier-inline;}.selection,*::selection{@apply courier-bg-black/10 dark:courier-bg-white/20 courier-inline;}>.react-renderer{@apply courier-my-12 first:courier-mt-0 last:courier-mb-0;&.node-divider{@apply courier-flex courier-flex-col courier-justify-center;}&.node-variable{@apply courier-inline-block courier-m-0;}&.node-dragPlaceholder{@apply courier-m-0;}&.node-paragraph{@apply courier-m-0;&:focus,&:focus-visible{outline:none}}&.node-paragraph,&.node-blockquote,&.node-customCode{p{>div{@apply courier-block courier-relative courier-cursor-text;&[contenteditable=true]{outline:none;caret-color:currentColor}}}.is-empty{p,blockquote{position:relative;&:after{content:"Write body text...";@apply courier-absolute courier-top-0 courier-left-0 courier-text-neutral-500 dark:courier-text-neutral-400 -courier-z-10;}}.courier-custom-code{&:after{content:"Use the right panel to add custom HTML code...";@apply courier-absolute courier-left-0 courier-text-neutral-500 dark:courier-text-neutral-400 -courier-z-10;}}}}&.node-heading{h1,h2,h3{>div{@apply courier-block courier-relative courier-cursor-text;&[contenteditable=true]{outline:none;caret-color:currentColor}}}.is-empty{h1,h2,h3{position:relative;&:after{content:"Write heading...";@apply courier-absolute courier-top-0 courier-left-0 courier-text-neutral-500 dark:courier-text-neutral-400 -courier-z-10;}}}}&.node-imageBlock,&.node-button,&.node-divider,&.node-paragraph,&.node-heading,&.node-blockquote,&.node-customCode{@apply courier-m-0 courier-relative;[data-cypress=draggable-handle]{@apply courier-invisible;}&:hover,&:active{[data-cypress=draggable-handle]{@apply courier-visible;}.node-element{>div,>hr,&.courier-empty-image{&:before{@apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border-2 courier-border-border courier-absolute courier-content-[""];}}}}.node-element{@apply courier-relative;&:focus,&:focus-visible{outline:none}}.selected-element{.node-element{@apply courier-relative courier-z-20;&:before{@apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border courier-border-[#0085FF] courier-absolute courier-content-[""] -courier-z-10;}.node-element{&:before{@apply courier-hidden;}}}.courier-actions-panel{@apply courier-block;}}}&.node-blockquote{@apply courier-m-0;@apply courier-text-foreground;@apply dark:courier-text-white;&:hover,&:active{[data-cypress=draggable-handle]{@apply courier-visible;}.node-element{&:before{@apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md !courier-border-2 !courier-border-border courier-absolute courier-content-[""] -courier-z-20;}>div{&:before{@apply courier-hidden;}}.node-element{&:before{@apply courier-hidden;}}}.selected-element{.node-element{.node-element{&:before{@apply courier-hidden -courier-z-20;}}}}}}}&.resize-cursor{@apply courier-cursor-col-resize;}.ProseMirror-gapcursor{@apply courier-relative courier-w-full courier-max-w-2xl courier-mx-auto;&:after{@apply courier-border-t-black/40 dark:courier-border-t-white/40 courier-w-full courier-top-[-1.5em] courier-max-w-2xl courier-mx-auto courier-left-0 courier-right-0;}}}.courier-slack-editor,.courier-msteams-editor{.ProseMirror{@apply courier-p-0;>.react-renderer{@apply courier-my-2 first:courier-mt-0 last:courier-mb-0;&.node-dragPlaceholder{@apply courier-m-0;}&.node-button,&.node-divider,&.node-paragraph,&.node-heading,&.node-blockquote,&.node-buttonRow{@apply courier-m-0 courier-relative;&.node-button{.node-element{>div{@apply !courier-justify-start;>div{@apply !courier-bg-transparent !courier-mr-auto !courier-ml-0;border:1px solid #E5E5E5!important;border-radius:6px!important;color:#171717!important;padding:6px 9.6px!important;font-weight:500!important;font-size:14px!important;font-style:normal!important;line-height:24px!important;box-shadow:0 1px 2px #0000000f!important;&:hover{@apply courier-bg-gray-50;}}}}}[data-cypress=draggable-handle]{@apply courier-invisible;}&:hover,&:active{[data-cypress=draggable-handle]{@apply courier-visible;}.node-element{>div,>hr{&:before{@apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border-2 courier-border-border courier-absolute courier-content-[""];}}}}.node-element{@apply courier-relative;&:focus,&:focus-visible{outline:none}}.selected-element{.node-element{@apply courier-relative courier-z-20;&:before{@apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border courier-border-[#0085FF] courier-absolute courier-content-[""] -courier-z-10;}.node-element{&:before{@apply courier-hidden;}}}.courier-actions-panel{@apply courier-block;}}}}}}[data-theme=slash-command]{@apply courier-w-full;}.tiptap{outline:none;:first-child{margin-top:0}ul,ol{padding:0 1rem;margin:1.25rem 1rem 1.25rem .4rem;li p{margin-top:.25em;margin-bottom:.25em}}h1,h2,h3,h4,h5,h6{line-height:1.1;margin-top:2.5rem;text-wrap:pretty}h1,h2{margin-top:3.5rem;margin-bottom:1.5rem}h1{font-size:1.4rem}h2{font-size:1.2rem}h3{font-size:1.1rem}h4,h5,h6{font-size:1rem}code{background-color:var(--purple-light);border-radius:.4rem;color:var(--black);font-size:.85rem;padding:.25em .3em}pre{background:var(--black);border-radius:.5rem;color:var(--white);font-family:JetBrainsMono,monospace;margin:1.5rem 0;padding:.75rem 1rem;code{background:none;color:inherit;font-size:.8rem;padding:0}}}@layer utilities{.animate-pop{animation:pop .2s cubic-bezier(.18,.67,.6,1.22)}.animate-fadeIn{animation:fadeIn .5s ease}.touch-transparent{-webkit-tap-highlight-color:transparent}.courier-editor-preview-mode{&.courier-main-content{flex-grow:1;width:100%}>div:last-child{width:0}}}
2
- /*# sourceMappingURL=index.css.map */
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["css-file:/home/runner/work/courier-designer/courier-designer/packages/react-designer/src/components/typography.css", "css-file:/home/runner/work/courier-designer/courier-designer/packages/react-designer/src/components/generated/theme.css", "css-file:/home/runner/work/courier-designer/courier-designer/packages/react-designer/src/components/editor.css", "css-file:/home/runner/work/courier-designer/courier-designer/packages/react-designer/src/styles.css"],
4
- "sourcesContent": [".ProseMirror {\n /* p {\n @apply leading-relaxed courier-my-3 first:courier-mt-0 last:courier-mb-0;\n }\n\n & > p {\n @apply courier-my-6 first:courier-mt-0 last:courier-mb-0;\n } */\n\n h1 {\n @apply courier-text-3xl;\n }\n\n h2 {\n @apply courier-text-2xl;\n }\n\n h3 {\n @apply courier-text-xl;\n }\n\n h4 {\n @apply courier-text-lg;\n }\n\n h5 {\n @apply courier-text-base;\n }\n\n h6 {\n @apply courier-text-sm;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n @apply courier-font-bold first:courier-mt-0 last:courier-mb-0;\n }\n\n h1,\n h2,\n h3 {\n @apply courier-mt-12;\n }\n\n h4,\n h5,\n h6 {\n @apply courier-mt-8;\n }\n\n a.link {\n @apply courier-text-blue-700 courier-underline;\n }\n\n mark {\n @apply courier-bg-red-500 courier-rounded-sm courier-decoration-clone courier-text-inherit courier-py-1 courier-px-0 dark:courier-bg-red-400;\n }\n\n & img {\n @apply courier-h-auto courier-w-full courier-max-w-full;\n }\n\n [data-type=\"divider\"] {\n @apply courier-py-4 courier-transition-all courier-duration-100 courier-ease-in-out courier-cursor-pointer;\n\n &.ProseMirror-selectednode {\n @apply courier-bg-black/5 dark:courier-bg-white/10;\n\n hr {\n @apply courier-border-t-black/30 dark:courier-border-t-white/30;\n }\n }\n\n /* &:hover:not(&.ProseMirror-selectednode) {\n @apply courier-bg-black/5;\n @apply dark:courier-bg-white/10;\n } */\n\n hr {\n @apply courier-border-0 courier-border-t courier-border-black/20 courier-bg-black/80 courier-m-0 courier-h-px;\n @apply dark:courier-border-white/20 dark:courier-bg-white/80;\n }\n }\n\n [data-type=\"emoji\"] {\n display: inline-block;\n\n img {\n width: 1em;\n height: 1em;\n object-fit: cover;\n display: block;\n }\n }\n}", ".theme-container {\n --color-scheme: light;\n --background: #ffffff;\n --foreground: #404040;\n --muted: #D9D9D9;\n --muted-foreground: #A3A3A3;\n --popover: #ffffff;\n --popover-foreground: #292929;\n --border: #DCDEE4;\n --input: #DCDEE4;\n --card: #FAF9F8;\n --card-foreground: #292929;\n --primary: #ffffff;\n --primary-foreground: #696F8C;\n --secondary: #F5F5F5;\n --secondary-foreground: #171717;\n --accent: #E5F3FF;\n --accent-foreground: #1D4ED8;\n --destructive: #292929;\n --destructive-foreground: #FF3363;\n --ring: #80849D;\n --radius: 6px;\n}\n", "@import \"./typography.css\";\n@import \"./generated/theme.css\";\n\n.ProseMirror {\n /* .is-empty::before {\n @apply courier-text-neutral-500 dark:courier-text-neutral-400;\n content: attr(data-placeholder);\n float: left;\n height: 0;\n pointer-events: none;\n width: 100%;\n } */\n\n &>*:first-child,\n [data-type=\"column\"]>* {\n @apply first:courier-mt-0 last:courier-mb-0;\n }\n\n &>*+* {\n margin-top: 0.75em;\n }\n\n .node-imageUpload {\n @apply courier-rounded courier-border-2 courier-border-dotted courier-border-black courier-border-opacity-10 courier-p-2 dark:courier-border-neutral-500;\n transition: border 160ms cubic-bezier(0.45, 0.05, 0.55, 0.95);\n\n &:hover {\n @apply courier-border-opacity-30;\n }\n\n &:has(.is-active),\n &.has-focus {\n @apply courier-border-opacity-40;\n }\n }\n\n [data-type=\"columns\"] {\n\n &.has-focus [data-type=\"column\"],\n &:hover [data-type=\"column\"] {\n @apply courier-border-neutral-300 dark:courier-border-neutral-700;\n }\n\n [data-type=\"column\"].has-focus {\n @apply courier-border-neutral-400 dark:courier-border-neutral-600;\n }\n }\n\n [data-type=\"column\"] {\n @apply courier-rounded courier-border-2 courier-border-dotted courier-border-transparent courier-p-1;\n transition: border 160ms cubic-bezier(0.45, 0.05, 0.55, 0.95);\n\n &:hover {\n @apply courier-border-neutral-100 dark:courier-border-neutral-900;\n }\n\n &:has(.is-active),\n &.has-focus {\n @apply courier-border-neutral-100 dark:courier-border-neutral-900;\n }\n }\n\n .node-imageBlock {\n & img {\n @apply courier-border-2 courier-border-transparent courier-rounded-xl courier-overflow-hidden;\n }\n\n &:hover img {\n @apply courier-border-2 courier-border-neutral-100 dark:courier-border-neutral-900;\n }\n\n &:has(.is-active) img,\n &.has-focus img {\n @apply courier-border-2 courier-border-neutral-800 dark:courier-border-neutral-200;\n }\n }\n\n .node-aiWriter,\n .node-aiImage,\n .node-tableOfContentsNode {\n &.has-focus [data-node-view-wrapper]>* {\n @apply courier-shadow-[0_0_0_2px] courier-shadow-black/30 dark:courier-shadow-white/30 courier-transition-all courier-rounded-lg;\n }\n }\n\n .ProseMirror-gapcursor+.node-imageBlock,\n .ProseMirror-gapcursor+.node-imageUpload,\n .ProseMirror-gapcursor+.node-blockquote {\n @apply courier-outline-neutral-700 hover:courier-outline-neutral-600 dark:courier-outline-neutral-300 dark:hover:courier-outline-neutral-400;\n }\n}", "@import \"./components/editor.css\";\n\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n@keyframes pop {\n 0% {\n transform: scale(1);\n box-shadow: var(--box-shadow);\n }\n\n 100% {\n transform: scale(var(--scale));\n box-shadow: var(--box-shadow-picked-up);\n }\n}\n\n@keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n/* .theme-container {\n} */\n\n@layer base {\n * {\n @apply courier-border-border courier-outline-ring;\n /* @apply courier-border-border courier-outline-ring/50; */\n }\n\n body {\n @apply courier-font-sans courier-antialiased courier-bg-background courier-text-foreground;\n }\n}\n\n.courier-main-layout {\n @apply courier-relative courier-flex-grow courier-rounded-sm courier-border courier-border-border courier-bg-card courier-flex courier-flex-col courier-text-foreground courier-min-w-[812px] courier-h-[700px] courier-overflow-hidden courier-z-10;\n \n &::before {\n @apply courier-absolute courier-inset-0 -courier-z-10;\n content: '';\n background: radial-gradient(#0A0A0A32 1px, transparent 1px);\n background-size: 15px 15px;\n }\n}\n\n.courier-editor-container {\n @apply courier-relative courier-flex-1 courier-flex courier-flex-col courier-p-6 courier-overflow-y-auto courier-transition-all courier-duration-300 courier-ease-in-out;\n}\n\n.courier-editor-sidebar {\n @apply courier-rounded-br-sm courier-border-border courier-bg-white courier-border-l courier-overflow-y-auto courier-transition-all courier-duration-300 courier-ease-in-out dark:courier-bg-black;\n}\n\n.courier-editor-loading {\n @apply courier-w-full courier-h-full courier-flex courier-items-center courier-justify-center courier-grow courier-z-50 courier-absolute courier-top-0 courier-left-0 courier-right-0 courier-bottom-0 courier-bg-card;\n}\n\n.courier-brand-editor-readonly {\n @apply courier-pointer-events-none;\n\n .ProseMirror {\n @apply courier-cursor-default courier-p-0;\n\n .react-renderer {\n @apply courier-cursor-default;\n\n &.node-paragraph {\n p {\n @apply courier-text-sm;\n }\n\n .is-empty {\n p {\n &::after {\n content: '';\n }\n }\n }\n }\n\n .draggable-item {\n @apply courier-p-0;\n }\n }\n }\n}\n\n.courier-theme-editor-main {\n @apply courier-bg-white courier-rounded-lg courier-border courier-border-border courier-shadow-sm courier-max-w-2xl courier-select-none courier-self-center courier-w-full;\n\n >div {\n @apply courier-w-full;\n\n .ProseMirror {\n @apply courier-p-0;\n\n .react-renderer {\n &.node-paragraph {\n\n .selected-element {\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n .courier-actions-panel {\n @apply courier-hidden;\n }\n }\n\n p {\n @apply courier-text-sm;\n }\n\n .is-empty {\n p {\n &::after {\n content: 'Write footer text...';\n }\n }\n }\n\n &:hover {\n .draggable-item {\n >button {\n @apply courier-hidden;\n }\n }\n }\n\n .draggable-item {\n @apply courier-p-0;\n }\n }\n }\n }\n }\n}\n\n.courier-editor-main {\n @apply courier-relative courier-bg-white courier-rounded-lg courier-border courier-border-border courier-shadow-sm courier-max-w-2xl courier-select-none courier-self-center courier-w-full;\n\n >div {\n @apply courier-w-full;\n }\n}\n\n.courier-editor-preview-mode, .courier-editor-readonly {\n &.courier-editor-preview-mode-mobile {\n .courier-editor-main {\n @apply courier-max-w-sm;\n\n &:hover {\n >button {\n @apply courier-hidden;\n }\n }\n }\n }\n\n .ProseMirror {\n @apply courier-pointer-events-none;\n\n &>.react-renderer {\n\n &.node-imageBlock,\n &.node-button,\n &.node-divider,\n &.node-paragraph,\n &.node-heading,\n &.node-blockquote,\n &.node-buttonRow,\n &.node-customCode {\n\n * {\n @apply courier-cursor-default courier-pointer-events-none;\n }\n\n [data-cypress=\"draggable-handle\"] {\n @apply courier-hidden;\n }\n\n\n .selected-element {\n .courier-actions-panel {\n @apply courier-hidden;\n }\n\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n\n &:hover,\n &:active {\n [data-cypress=\"draggable-handle\"] {\n @apply courier-hidden;\n }\n\n .node-element {\n\n &>div,\n &>hr,\n &.courier-empty-image {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n }\n }\n\n &.node-imageBlock {\n .courier-empty-image {\n @apply courier-hidden;\n }\n }\n\n &.node-paragraph,\n &.node-blockquote {\n .is-empty {\n\n p,\n blockquote {\n &::after {\n @apply courier-hidden;\n }\n }\n }\n }\n\n &.node-heading {\n .is-empty {\n\n h1,\n h2,\n h3 {\n &::after {\n @apply courier-hidden;\n }\n }\n }\n }\n }\n }\n}\n\n.courier-sms-editor {\n @apply courier-flex courier-flex-col courier-py-2 courier-rounded-lg courier-bg-card courier-m-6 courier-mr-14 courier-mt-10;\n\n .ProseMirror {\n @apply courier-p-0;\n\n &>.react-renderer {\n .draggable-item {\n @apply courier-px-4;\n }\n &.node-paragraph {\n .selected-element {\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n .courier-actions-panel {\n @apply courier-hidden;\n }\n }\n }\n &:hover {\n .draggable-item {\n @apply courier-px-4;\n }\n [data-cypress=\"draggable-handle\"] {\n @apply courier-hidden;\n }\n\n .node-element {\n &>div {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n }\n }\n }\n}\n\n.courier-push-editor {\n @apply courier-py-2 courier-pr-4 courier-rounded-lg courier-bg-card courier-m-6 courier-relative;\n\n &::before {\n content: 'now';\n @apply courier-absolute courier-top-3 courier-right-3 courier-z-10 courier-text-xs courier-text-gray-500;\n }\n\n .ProseMirror {\n @apply courier-p-0 courier-gap-0.5 courier-flex courier-flex-col;\n\n &>.react-renderer {\n .node-element {\n &>div {\n @apply !courier-p-0;\n }\n \n h2, p {\n @apply courier-text-sm;\n }\n }\n .draggable-item {\n @apply courier-px-4;\n }\n\n &.node-paragraph, &.node-heading {\n .selected-element {\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n .courier-actions-panel {\n @apply courier-hidden;\n }\n }\n }\n\n &:hover {\n .draggable-item {\n @apply courier-px-4;\n }\n [data-cypress=\"draggable-handle\"] {\n @apply courier-hidden;\n }\n\n .node-element {\n &>div {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n }\n }\n }\n}\n\n.courier-inbox-editor {\n @apply courier-overflow-auto courier-flex-1 courier-border-y courier-border-border;\n max-height: calc(90% - 56px);\n\n .ProseMirror {\n @apply courier-p-4 courier-pr-10 courier-gap-0.5 courier-flex courier-flex-col;\n\n &::before {\n content: 'now';\n @apply courier-absolute courier-top-4 courier-right-4 courier-z-10 courier-text-sm courier-text-gray-500;\n }\n\n &>.react-renderer {\n .node-element {\n &>div {\n @apply !courier-p-0;\n }\n\n h2, p {\n @apply courier-text-sm;\n }\n }\n\n &.node-button {\n @apply courier-mt-2;\n\n .node-element {\n &>div {\n &>div {\n @apply courier-py-1 courier-px-2 courier-text-sm;\n }\n }\n }\n }\n\n &.node-buttonRow {\n @apply courier-mt-2;\n \n /* Override the centering from SortableItemWrapper */\n .draggable-item {\n justify-content: flex-start !important;\n }\n \n [data-cypress=\"draggable-handle\"] {\n @apply courier-hidden;\n }\n }\n\n .draggable-item {\n @apply courier-p-0;\n }\n\n &.node-paragraph, &.node-heading, &.node-buttonRow {\n .selected-element {\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n .courier-actions-panel {\n @apply courier-hidden;\n }\n }\n }\n\n &:hover {\n [data-cypress=\"draggable-handle\"] {\n @apply courier-hidden;\n }\n\n .node-element {\n &>div {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n }\n }\n }\n}\n\n.ProseMirror {\n @apply courier-caret-black dark:courier-caret-white courier-outline-0 courier-pr-10 courier-pl-4 courier-py-10 courier-z-0 lg:courier-pl-2 lg:courier-pr-10 courier-max-w-2xl courier-h-full;\n\n .selection {\n @apply courier-inline;\n }\n\n .selection,\n *::selection {\n @apply courier-bg-black/10 dark:courier-bg-white/20 courier-inline;\n }\n\n &>.react-renderer {\n @apply courier-my-12 first:courier-mt-0 last:courier-mb-0;\n\n &.node-divider {\n @apply courier-flex courier-flex-col courier-justify-center;\n }\n\n &.node-variable {\n @apply courier-inline-block courier-m-0;\n }\n\n &.node-dragPlaceholder {\n @apply courier-m-0;\n }\n\n &.node-paragraph {\n @apply courier-m-0;\n\n &:focus,\n &:focus-visible {\n outline: none;\n }\n }\n\n &.node-paragraph,\n &.node-blockquote,\n &.node-customCode {\n\n p {\n >div {\n @apply courier-block courier-relative courier-cursor-text;\n\n &[contenteditable=\"true\"] {\n outline: none;\n caret-color: currentColor;\n }\n }\n }\n\n .is-empty {\n\n p,\n blockquote {\n position: relative;\n\n &::after {\n content: 'Write body text...';\n @apply courier-absolute courier-top-0 courier-left-0 courier-text-neutral-500 dark:courier-text-neutral-400 -courier-z-10;\n }\n }\n\n .courier-custom-code {\n &::after {\n content: 'Use the right panel to add custom HTML code...';\n @apply courier-absolute courier-left-0 courier-text-neutral-500 dark:courier-text-neutral-400 -courier-z-10;\n }\n }\n }\n }\n\n &.node-heading {\n\n h1,\n h2,\n h3 {\n >div {\n @apply courier-block courier-relative courier-cursor-text;\n\n &[contenteditable=\"true\"] {\n outline: none;\n caret-color: currentColor;\n }\n }\n }\n\n .is-empty {\n\n h1,\n h2,\n h3 {\n position: relative;\n\n &::after {\n content: 'Write heading...';\n @apply courier-absolute courier-top-0 courier-left-0 courier-text-neutral-500 dark:courier-text-neutral-400 -courier-z-10;\n }\n }\n }\n }\n\n\n &.node-imageBlock,\n &.node-button,\n &.node-divider,\n &.node-paragraph,\n &.node-heading,\n &.node-blockquote,\n &.node-customCode {\n @apply courier-m-0 courier-relative;\n\n [data-cypress=\"draggable-handle\"] {\n @apply courier-invisible;\n }\n\n &:hover,\n &:active {\n [data-cypress=\"draggable-handle\"] {\n @apply courier-visible;\n }\n\n .node-element {\n\n &>div,\n &>hr,\n &.courier-empty-image {\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border-2 courier-border-border courier-absolute courier-content-[''];\n }\n }\n }\n }\n\n .node-element {\n @apply courier-relative;\n\n &:focus,\n &:focus-visible {\n outline: none;\n }\n }\n\n .selected-element {\n .node-element {\n @apply courier-relative courier-z-20;\n\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border courier-border-[#0085FF] courier-absolute courier-content-[''] -courier-z-10;\n }\n\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n\n .courier-actions-panel {\n @apply courier-block;\n }\n }\n }\n\n &.node-blockquote {\n @apply courier-m-0;\n @apply courier-text-foreground;\n @apply dark:courier-text-white;\n\n &:hover,\n &:active {\n [data-cypress=\"draggable-handle\"] {\n @apply courier-visible;\n }\n\n .node-element {\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md !courier-border-2 !courier-border-border courier-absolute courier-content-[''] -courier-z-20;\n }\n\n &>div {\n &::before {\n @apply courier-hidden;\n }\n }\n\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n\n .selected-element {\n .node-element {\n .node-element {\n &::before {\n @apply courier-hidden -courier-z-20;\n }\n }\n }\n }\n }\n }\n }\n\n &.resize-cursor {\n @apply courier-cursor-col-resize;\n }\n\n .ProseMirror-gapcursor {\n @apply courier-relative courier-w-full courier-max-w-2xl courier-mx-auto;\n\n &:after {\n @apply courier-border-t-black/40 dark:courier-border-t-white/40 courier-w-full courier-top-[-1.5em] courier-max-w-2xl courier-mx-auto courier-left-0 courier-right-0;\n }\n }\n}\n\n/* Slack Editor Styles */\n.courier-slack-editor {\n .ProseMirror {\n @apply courier-p-0;\n\n &>.react-renderer {\n @apply courier-my-2 first:courier-mt-0 last:courier-mb-0;\n\n &.node-dragPlaceholder {\n @apply courier-m-0;\n }\n\n &.node-button,\n &.node-divider,\n &.node-paragraph,\n &.node-heading,\n &.node-blockquote,\n &.node-buttonRow {\n @apply courier-m-0 courier-relative;\n\n &.node-button {\n .node-element {\n > div {\n @apply !courier-justify-start;\n\n > div {\n @apply !courier-bg-transparent !courier-mr-auto !courier-ml-0;\n border: 1px solid #E5E5E5 !important;\n border-radius: 6px !important;\n color: #171717 !important;\n padding: 6px 9.6px !important;\n font-weight: 500 !important;\n font-size: 14px !important;\n font-style: normal !important;\n line-height: 24px !important;\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;\n\n &:hover {\n @apply courier-bg-gray-50;\n }\n }\n }\n }\n }\n\n [data-cypress=\"draggable-handle\"] {\n @apply courier-invisible;\n }\n\n &:hover,\n &:active {\n [data-cypress=\"draggable-handle\"] {\n @apply courier-visible;\n }\n\n .node-element {\n\n &>div,\n &>hr {\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border-2 courier-border-border courier-absolute courier-content-[''];\n }\n }\n }\n }\n\n .node-element {\n @apply courier-relative;\n\n &:focus,\n &:focus-visible {\n outline: none;\n }\n }\n\n .selected-element {\n .node-element {\n @apply courier-relative courier-z-20;\n\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border courier-border-[#0085FF] courier-absolute courier-content-[''] -courier-z-10;\n }\n\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n\n .courier-actions-panel {\n @apply courier-block;\n }\n }\n }\n }\n }\n}\n\n/* MS Teams Editor Styles */\n.courier-msteams-editor {\n .ProseMirror {\n @apply courier-p-0;\n\n &>.react-renderer {\n @apply courier-my-2 first:courier-mt-0 last:courier-mb-0;\n\n &.node-dragPlaceholder {\n @apply courier-m-0;\n }\n\n &.node-button,\n &.node-divider,\n &.node-paragraph,\n &.node-heading,\n &.node-blockquote,\n &.node-buttonRow {\n @apply courier-m-0 courier-relative;\n\n &.node-button {\n .node-element {\n > div {\n @apply !courier-justify-start;\n\n > div {\n @apply !courier-bg-transparent !courier-mr-auto !courier-ml-0;\n border: 1px solid #E5E5E5 !important;\n border-radius: 6px !important;\n color: #171717 !important;\n padding: 6px 9.6px !important;\n font-weight: 500 !important;\n font-size: 14px !important;\n font-style: normal !important;\n line-height: 24px !important;\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;\n\n &:hover {\n @apply courier-bg-gray-50;\n }\n }\n }\n }\n }\n\n [data-cypress=\"draggable-handle\"] {\n @apply courier-invisible;\n }\n\n &:hover,\n &:active {\n [data-cypress=\"draggable-handle\"] {\n @apply courier-visible;\n }\n\n .node-element {\n\n &>div,\n &>hr {\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border-2 courier-border-border courier-absolute courier-content-[''];\n }\n }\n }\n }\n\n .node-element {\n @apply courier-relative;\n\n &:focus,\n &:focus-visible {\n outline: none;\n }\n }\n\n .selected-element {\n .node-element {\n @apply courier-relative courier-z-20;\n\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border courier-border-[#0085FF] courier-absolute courier-content-[''] -courier-z-10;\n }\n\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n\n .courier-actions-panel {\n @apply courier-block;\n }\n }\n }\n }\n }\n}\n\n[data-theme=\"slash-command\"] {\n @apply courier-w-full;\n}\n\n/* Basic editor styles */\n.tiptap {\n outline: none;\n\n :first-child {\n margin-top: 0;\n }\n\n /* List styles */\n ul,\n ol {\n padding: 0 1rem;\n margin: 1.25rem 1rem 1.25rem 0.4rem;\n\n li p {\n margin-top: 0.25em;\n margin-bottom: 0.25em;\n }\n }\n\n /* Heading styles */\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n line-height: 1.1;\n margin-top: 2.5rem;\n text-wrap: pretty;\n }\n\n h1,\n h2 {\n margin-top: 3.5rem;\n margin-bottom: 1.5rem;\n }\n\n h1 {\n font-size: 1.4rem;\n }\n\n h2 {\n font-size: 1.2rem;\n }\n\n h3 {\n font-size: 1.1rem;\n }\n\n h4,\n h5,\n h6 {\n font-size: 1rem;\n }\n\n /* Code and preformatted text styles */\n code {\n background-color: var(--purple-light);\n border-radius: 0.4rem;\n color: var(--black);\n font-size: 0.85rem;\n padding: 0.25em 0.3em;\n }\n\n pre {\n background: var(--black);\n border-radius: 0.5rem;\n color: var(--white);\n font-family: \"JetBrainsMono\", monospace;\n margin: 1.5rem 0;\n padding: 0.75rem 1rem;\n\n code {\n background: none;\n color: inherit;\n font-size: 0.8rem;\n padding: 0;\n }\n }\n\n /* hr {\n border: none;\n border-top: 1px solid var(--gray-2);\n margin: 2rem 0;\n } */\n}\n\n@layer utilities {\n .animate-pop {\n animation: pop 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);\n }\n\n .animate-fadeIn {\n animation: fadeIn 500ms ease;\n }\n\n .touch-transparent {\n -webkit-tap-highlight-color: transparent;\n }\n\n .courier-editor-preview-mode {\n &.courier-main-content {\n flex-grow: 1;\n width: 100%;\n }\n\n &>div:last-child {\n width: 0;\n }\n }\n}"],
5
- "mappings": "AAAA,CAAC,YASC,GACE,OAAO,iBACT,CAEA,GACE,OAAO,iBACT,CAEA,GACE,OAAO,gBACT,CAEA,GACE,OAAO,gBACT,CAEA,GACE,OAAO,kBACT,CAEA,GACE,OAAO,gBACT,CAEA,GACA,GACA,GACA,GACA,GACA,GACE,OAAO,kBAAkB,KAAK,CAAC,aAAa,IAAI,CAAC,aACnD,CAEA,GACA,GACA,GACE,OAAO,cACT,CAEA,GACA,GACA,GACE,OAAO,aACT,CAEA,CAAC,CAAC,KACA,OAAO,sBAAsB,kBAC/B,CAEA,KACE,OAA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a,IACb,WAAY,OACZ,UAAW,MACb,CAEA,GACA,GACE,WAAY,OACZ,cAAe,MACjB,CAEA,GACE,UAAW,MACb,CAEA,GACE,UAAW,MACb,CAEA,GACE,UAAW,MACb,CAEA,GACA,GACA,GACE,UAAW,IACb,CAGA,KACE,iBAAkB,IAAI,gBAt5B1B,cAu5BmB,MACf,MAAO,IAAI,SACX,UAAW,OAz5Bf,QA05Ba,MAAO,IAClB,CAEA,IACE,WAAY,IAAI,SA95BpB,cA+5BmB,MACf,MAAO,IAAI,SACX,YAAa,aAAe,CAAE,UAj6BlC,OAk6BY,OAAO,EAl6BnB,QAm6Ba,OAAQ,KAEjB,KACE,WAAY,KACZ,MAAO,QACP,UAAW,MAx6BjB,QAy6Be,CACX,CACF,CAOF,CAEA,iBACE,CAAC,YACC,UAAW,IAAI,IAAM,aAAa,GAAI,CAAE,GAAI,CAAE,EAAG,CAAE,KACrD,CAEA,CAAC,eACC,UAAW,OAAO,IAAM,IAC1B,CAEA,CAAC,kBACC,4BAA6B,WAC/B,CAEA,CAtyBD,4BAuyBG,CAAC,CAAC,qBACA,UAAW,EACX,MAAO,IACT,CAEC,CAAC,GAAG,YACH,MAAO,CACT,CACF,CACF",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- .ProseMirror{h1{@apply courier-text-3xl;}h2{@apply courier-text-2xl;}h3{@apply courier-text-xl;}h4{@apply courier-text-lg;}h5{@apply courier-text-base;}h6{@apply courier-text-sm;}h1,h2,h3,h4,h5,h6{@apply courier-font-bold first:courier-mt-0 last:courier-mb-0;}h1,h2,h3{@apply courier-mt-12;}h4,h5,h6{@apply courier-mt-8;}a.link{@apply courier-text-blue-700 courier-underline;}mark{@apply courier-bg-red-500 courier-rounded-sm courier-decoration-clone courier-text-inherit courier-py-1 courier-px-0 dark:courier-bg-red-400;}& img{@apply courier-h-auto courier-w-full courier-max-w-full;}[data-type=divider]{@apply courier-py-4 courier-transition-all courier-duration-100 courier-ease-in-out courier-cursor-pointer;&.ProseMirror-selectednode{@apply courier-bg-black/5 dark:courier-bg-white/10;hr{@apply courier-border-t-black/30 dark:courier-border-t-white/30;}}hr{@apply courier-border-0 courier-border-t courier-border-black/20 courier-bg-black/80 courier-m-0 courier-h-px;@apply dark:courier-border-white/20 dark:courier-bg-white/80;}}[data-type=emoji]{display:inline-block;img{width:1em;height:1em;object-fit:cover;display:block}}}.theme-container{--color-scheme: light;--background: #ffffff;--foreground: #404040;--muted: #D9D9D9;--muted-foreground: #A3A3A3;--popover: #ffffff;--popover-foreground: #292929;--border: #DCDEE4;--input: #DCDEE4;--card: #FAF9F8;--card-foreground: #292929;--primary: #ffffff;--primary-foreground: #696F8C;--secondary: #F5F5F5;--secondary-foreground: #171717;--accent: #E5F3FF;--accent-foreground: #1D4ED8;--destructive: #292929;--destructive-foreground: #FF3363;--ring: #80849D;--radius: 6px}.ProseMirror{>*:first-child,[data-type=column]>*{@apply first:courier-mt-0 last:courier-mb-0;}>*+*{margin-top:.75em}.node-imageUpload{@apply courier-rounded courier-border-2 courier-border-dotted courier-border-black courier-border-opacity-10 courier-p-2 dark:courier-border-neutral-500;transition:border .16s cubic-bezier(.45,.05,.55,.95);&:hover{@apply courier-border-opacity-30;}&:has(.is-active),&.has-focus{@apply courier-border-opacity-40;}}[data-type=columns]{&.has-focus [data-type=column],&:hover [data-type=column]{@apply courier-border-neutral-300 dark:courier-border-neutral-700;}[data-type=column].has-focus{@apply courier-border-neutral-400 dark:courier-border-neutral-600;}}[data-type=column]{@apply courier-rounded courier-border-2 courier-border-dotted courier-border-transparent courier-p-1;transition:border .16s cubic-bezier(.45,.05,.55,.95);&:hover{@apply courier-border-neutral-100 dark:courier-border-neutral-900;}&:has(.is-active),&.has-focus{@apply courier-border-neutral-100 dark:courier-border-neutral-900;}}.node-imageBlock{& img{@apply courier-border-2 courier-border-transparent courier-rounded-xl courier-overflow-hidden;}&:hover img{@apply courier-border-2 courier-border-neutral-100 dark:courier-border-neutral-900;}&:has(.is-active) img,&.has-focus img{@apply courier-border-2 courier-border-neutral-800 dark:courier-border-neutral-200;}}.node-aiWriter,.node-aiImage,.node-tableOfContentsNode{&.has-focus [data-node-view-wrapper]>*{@apply courier-shadow-[0_0_0_2px] courier-shadow-black/30 dark:courier-shadow-white/30 courier-transition-all courier-rounded-lg;}}.ProseMirror-gapcursor+.node-imageBlock,.ProseMirror-gapcursor+.node-imageUpload,.ProseMirror-gapcursor+.node-blockquote{@apply courier-outline-neutral-700 hover:courier-outline-neutral-600 dark:courier-outline-neutral-300 dark:hover:courier-outline-neutral-400;}}@tailwind base;@tailwind components;@tailwind utilities;@keyframes pop{0%{transform:scale(1);box-shadow:var(--box-shadow)}to{transform:scale(var(--scale));box-shadow:var(--box-shadow-picked-up)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@layer base{*{@apply courier-border-border courier-outline-ring;}body{@apply courier-font-sans courier-antialiased courier-bg-background courier-text-foreground;}}.courier-main-layout{@apply courier-relative courier-flex-grow courier-rounded-sm courier-border courier-border-border courier-bg-card courier-flex courier-flex-col courier-text-foreground courier-min-w-[812px] courier-h-[700px] courier-overflow-hidden courier-z-10;&:before{@apply courier-absolute courier-inset-0 -courier-z-10;content:"";background:radial-gradient(#0A0A0A32 1px,transparent 1px);background-size:15px 15px}}.courier-editor-container{@apply courier-relative courier-flex-1 courier-flex courier-flex-col courier-p-6 courier-overflow-y-auto courier-transition-all courier-duration-300 courier-ease-in-out;}.courier-editor-sidebar{@apply courier-rounded-br-sm courier-border-border courier-bg-white courier-border-l courier-overflow-y-auto courier-transition-all courier-duration-300 courier-ease-in-out dark:courier-bg-black;}.courier-editor-loading{@apply courier-w-full courier-h-full courier-flex courier-items-center courier-justify-center courier-grow courier-z-50 courier-absolute courier-top-0 courier-left-0 courier-right-0 courier-bottom-0 courier-bg-card;}.courier-brand-editor-readonly{@apply courier-pointer-events-none;.ProseMirror{@apply courier-cursor-default courier-p-0;.react-renderer{@apply courier-cursor-default;&.node-paragraph{p{@apply courier-text-sm;}.is-empty{p{&:after{content:""}}}}.draggable-item{@apply courier-p-0;}}}}.courier-theme-editor-main{@apply courier-bg-white courier-rounded-lg courier-border courier-border-border courier-shadow-sm courier-max-w-2xl courier-select-none courier-self-center courier-w-full;>div{@apply courier-w-full;.ProseMirror{@apply courier-p-0;.react-renderer{&.node-paragraph{.selected-element{.node-element{&:before{@apply courier-hidden;}}.courier-actions-panel{@apply courier-hidden;}}p{@apply courier-text-sm;}.is-empty{p{&:after{content:"Write footer text..."}}}&:hover{.draggable-item{>button{@apply courier-hidden;}}}.draggable-item{@apply courier-p-0;}}}}}}.courier-editor-main{@apply courier-relative courier-bg-white courier-rounded-lg courier-border courier-border-border courier-shadow-sm courier-max-w-2xl courier-select-none courier-self-center courier-w-full;>div{@apply courier-w-full;}}.courier-editor-preview-mode,.courier-editor-readonly{&.courier-editor-preview-mode-mobile{.courier-editor-main{@apply courier-max-w-sm;&:hover{>button{@apply courier-hidden;}}}}.ProseMirror{@apply courier-pointer-events-none;>.react-renderer{&.node-imageBlock,&.node-button,&.node-divider,&.node-paragraph,&.node-heading,&.node-blockquote,&.node-buttonRow,&.node-customCode{*{@apply courier-cursor-default courier-pointer-events-none;}[data-cypress=draggable-handle]{@apply courier-hidden;}.selected-element{.courier-actions-panel{@apply courier-hidden;}.node-element{&:before{@apply courier-hidden;}}}&:hover,&:active{[data-cypress=draggable-handle]{@apply courier-hidden;}.node-element{>div,>hr,&.courier-empty-image{&:before{@apply courier-hidden;}}}}}&.node-imageBlock{.courier-empty-image{@apply courier-hidden;}}&.node-paragraph,&.node-blockquote{.is-empty{p,blockquote{&:after{@apply courier-hidden;}}}}&.node-heading{.is-empty{h1,h2,h3{&:after{@apply courier-hidden;}}}}}}}.courier-sms-editor{@apply courier-flex courier-flex-col courier-py-2 courier-rounded-lg courier-bg-card courier-m-6 courier-mr-14 courier-mt-10;.ProseMirror{@apply courier-p-0;>.react-renderer{.draggable-item{@apply courier-px-4;}&.node-paragraph{.selected-element{.node-element{&:before{@apply courier-hidden;}}.courier-actions-panel{@apply courier-hidden;}}}&:hover{.draggable-item{@apply courier-px-4;}[data-cypress=draggable-handle]{@apply courier-hidden;}.node-element{>div{&:before{@apply courier-hidden;}}}}}}}.courier-push-editor{@apply courier-py-2 courier-pr-4 courier-rounded-lg courier-bg-card courier-m-6 courier-relative;&:before{content:"now";@apply courier-absolute courier-top-3 courier-right-3 courier-z-10 courier-text-xs courier-text-gray-500;}.ProseMirror{@apply courier-p-0 courier-gap-0.5 courier-flex courier-flex-col;>.react-renderer{.node-element{>div{@apply !courier-p-0;}h2,p{@apply courier-text-sm;}}.draggable-item{@apply courier-px-4;}&.node-paragraph,&.node-heading{.selected-element{.node-element{&:before{@apply courier-hidden;}}.courier-actions-panel{@apply courier-hidden;}}}&:hover{.draggable-item{@apply courier-px-4;}[data-cypress=draggable-handle]{@apply courier-hidden;}.node-element{>div{&:before{@apply courier-hidden;}}}}}}}.courier-inbox-editor{@apply courier-overflow-auto courier-flex-1 courier-border-y courier-border-border;max-height:calc(90% - 56px);.ProseMirror{@apply courier-p-4 courier-pr-10 courier-gap-0.5 courier-flex courier-flex-col;&:before{content:"now";@apply courier-absolute courier-top-4 courier-right-4 courier-z-10 courier-text-sm courier-text-gray-500;}>.react-renderer{.node-element{>div{@apply !courier-p-0;}h2,p{@apply courier-text-sm;}}&.node-button{@apply courier-mt-2;.node-element{>div{>div{@apply courier-py-1 courier-px-2 courier-text-sm;}}}}&.node-buttonRow{@apply courier-mt-2;.draggable-item{justify-content:flex-start!important}[data-cypress=draggable-handle]{@apply courier-hidden;}}.draggable-item{@apply courier-p-0;}&.node-paragraph,&.node-heading,&.node-buttonRow{.selected-element{.node-element{&:before{@apply courier-hidden;}}.courier-actions-panel{@apply courier-hidden;}}}&:hover{[data-cypress=draggable-handle]{@apply courier-hidden;}.node-element{>div{&:before{@apply courier-hidden;}}}}}}}.ProseMirror{@apply courier-caret-black dark:courier-caret-white courier-outline-0 courier-pr-10 courier-pl-4 courier-py-10 courier-z-0 lg:courier-pl-2 lg:courier-pr-10 courier-max-w-2xl courier-h-full;.selection{@apply courier-inline;}.selection,*::selection{@apply courier-bg-black/10 dark:courier-bg-white/20 courier-inline;}>.react-renderer{@apply courier-my-12 first:courier-mt-0 last:courier-mb-0;&.node-divider{@apply courier-flex courier-flex-col courier-justify-center;}&.node-variable{@apply courier-inline-block courier-m-0;}&.node-dragPlaceholder{@apply courier-m-0;}&.node-paragraph{@apply courier-m-0;&:focus,&:focus-visible{outline:none}}&.node-paragraph,&.node-blockquote,&.node-customCode{p{>div{@apply courier-block courier-relative courier-cursor-text;&[contenteditable=true]{outline:none;caret-color:currentColor}}}.is-empty{p,blockquote{position:relative;&:after{content:"Write body text...";@apply courier-absolute courier-top-0 courier-left-0 courier-text-neutral-500 dark:courier-text-neutral-400 -courier-z-10;}}.courier-custom-code{&:after{content:"Use the right panel to add custom HTML code...";@apply courier-absolute courier-left-0 courier-text-neutral-500 dark:courier-text-neutral-400 -courier-z-10;}}}}&.node-heading{h1,h2,h3{>div{@apply courier-block courier-relative courier-cursor-text;&[contenteditable=true]{outline:none;caret-color:currentColor}}}.is-empty{h1,h2,h3{position:relative;&:after{content:"Write heading...";@apply courier-absolute courier-top-0 courier-left-0 courier-text-neutral-500 dark:courier-text-neutral-400 -courier-z-10;}}}}&.node-imageBlock,&.node-button,&.node-divider,&.node-paragraph,&.node-heading,&.node-blockquote,&.node-customCode{@apply courier-m-0 courier-relative;[data-cypress=draggable-handle]{@apply courier-invisible;}&:hover,&:active{[data-cypress=draggable-handle]{@apply courier-visible;}.node-element{>div,>hr,&.courier-empty-image{&:before{@apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border-2 courier-border-border courier-absolute courier-content-[""];}}}}.node-element{@apply courier-relative;&:focus,&:focus-visible{outline:none}}.selected-element{.node-element{@apply courier-relative courier-z-20;&:before{@apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border courier-border-[#0085FF] courier-absolute courier-content-[""] -courier-z-10;}.node-element{&:before{@apply courier-hidden;}}}.courier-actions-panel{@apply courier-block;}}}&.node-blockquote{@apply courier-m-0;@apply courier-text-foreground;@apply dark:courier-text-white;&:hover,&:active{[data-cypress=draggable-handle]{@apply courier-visible;}.node-element{&:before{@apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md !courier-border-2 !courier-border-border courier-absolute courier-content-[""] -courier-z-20;}>div{&:before{@apply courier-hidden;}}.node-element{&:before{@apply courier-hidden;}}}.selected-element{.node-element{.node-element{&:before{@apply courier-hidden -courier-z-20;}}}}}}}&.resize-cursor{@apply courier-cursor-col-resize;}.ProseMirror-gapcursor{@apply courier-relative courier-w-full courier-max-w-2xl courier-mx-auto;&:after{@apply courier-border-t-black/40 dark:courier-border-t-white/40 courier-w-full courier-top-[-1.5em] courier-max-w-2xl courier-mx-auto courier-left-0 courier-right-0;}}}.courier-slack-editor,.courier-msteams-editor{.ProseMirror{@apply courier-p-0;>.react-renderer{@apply courier-my-2 first:courier-mt-0 last:courier-mb-0;&.node-dragPlaceholder{@apply courier-m-0;}&.node-button,&.node-divider,&.node-paragraph,&.node-heading,&.node-blockquote,&.node-buttonRow{@apply courier-m-0 courier-relative;&.node-button{.node-element{>div{@apply !courier-justify-start;>div{@apply !courier-bg-transparent !courier-mr-auto !courier-ml-0;border:1px solid #E5E5E5!important;border-radius:6px!important;color:#171717!important;padding:6px 9.6px!important;font-weight:500!important;font-size:14px!important;font-style:normal!important;line-height:24px!important;box-shadow:0 1px 2px #0000000f!important;&:hover{@apply courier-bg-gray-50;}}}}}[data-cypress=draggable-handle]{@apply courier-invisible;}&:hover,&:active{[data-cypress=draggable-handle]{@apply courier-visible;}.node-element{>div,>hr{&:before{@apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border-2 courier-border-border courier-absolute courier-content-[""];}}}}.node-element{@apply courier-relative;&:focus,&:focus-visible{outline:none}}.selected-element{.node-element{@apply courier-relative courier-z-20;&:before{@apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border courier-border-[#0085FF] courier-absolute courier-content-[""] -courier-z-10;}.node-element{&:before{@apply courier-hidden;}}}.courier-actions-panel{@apply courier-block;}}}}}}[data-theme=slash-command]{@apply courier-w-full;}.tiptap{outline:none;:first-child{margin-top:0}ul,ol{padding:0 1rem;margin:1.25rem 1rem 1.25rem .4rem;li p{margin-top:.25em;margin-bottom:.25em}}h1,h2,h3,h4,h5,h6{line-height:1.1;margin-top:2.5rem;text-wrap:pretty}h1,h2{margin-top:3.5rem;margin-bottom:1.5rem}h1{font-size:1.4rem}h2{font-size:1.2rem}h3{font-size:1.1rem}h4,h5,h6{font-size:1rem}code{background-color:var(--purple-light);border-radius:.4rem;color:var(--black);font-size:.85rem;padding:.25em .3em}pre{background:var(--black);border-radius:.5rem;color:var(--white);font-family:JetBrainsMono,monospace;margin:1.5rem 0;padding:.75rem 1rem;code{background:none;color:inherit;font-size:.8rem;padding:0}}}@layer utilities{.animate-pop{animation:pop .2s cubic-bezier(.18,.67,.6,1.22)}.animate-fadeIn{animation:fadeIn .5s ease}.touch-transparent{-webkit-tap-highlight-color:transparent}.courier-editor-preview-mode{&.courier-main-content{flex-grow:1;width:100%}>div:last-child{width:0}}}
2
- /*# sourceMappingURL=index.css.map */
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["css-file:/home/runner/work/courier-designer/courier-designer/packages/react-designer/src/components/typography.css", "css-file:/home/runner/work/courier-designer/courier-designer/packages/react-designer/src/components/generated/theme.css", "css-file:/home/runner/work/courier-designer/courier-designer/packages/react-designer/src/components/editor.css", "css-file:/home/runner/work/courier-designer/courier-designer/packages/react-designer/src/styles.css"],
4
- "sourcesContent": [".ProseMirror {\n /* p {\n @apply leading-relaxed courier-my-3 first:courier-mt-0 last:courier-mb-0;\n }\n\n & > p {\n @apply courier-my-6 first:courier-mt-0 last:courier-mb-0;\n } */\n\n h1 {\n @apply courier-text-3xl;\n }\n\n h2 {\n @apply courier-text-2xl;\n }\n\n h3 {\n @apply courier-text-xl;\n }\n\n h4 {\n @apply courier-text-lg;\n }\n\n h5 {\n @apply courier-text-base;\n }\n\n h6 {\n @apply courier-text-sm;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n @apply courier-font-bold first:courier-mt-0 last:courier-mb-0;\n }\n\n h1,\n h2,\n h3 {\n @apply courier-mt-12;\n }\n\n h4,\n h5,\n h6 {\n @apply courier-mt-8;\n }\n\n a.link {\n @apply courier-text-blue-700 courier-underline;\n }\n\n mark {\n @apply courier-bg-red-500 courier-rounded-sm courier-decoration-clone courier-text-inherit courier-py-1 courier-px-0 dark:courier-bg-red-400;\n }\n\n & img {\n @apply courier-h-auto courier-w-full courier-max-w-full;\n }\n\n [data-type=\"divider\"] {\n @apply courier-py-4 courier-transition-all courier-duration-100 courier-ease-in-out courier-cursor-pointer;\n\n &.ProseMirror-selectednode {\n @apply courier-bg-black/5 dark:courier-bg-white/10;\n\n hr {\n @apply courier-border-t-black/30 dark:courier-border-t-white/30;\n }\n }\n\n /* &:hover:not(&.ProseMirror-selectednode) {\n @apply courier-bg-black/5;\n @apply dark:courier-bg-white/10;\n } */\n\n hr {\n @apply courier-border-0 courier-border-t courier-border-black/20 courier-bg-black/80 courier-m-0 courier-h-px;\n @apply dark:courier-border-white/20 dark:courier-bg-white/80;\n }\n }\n\n [data-type=\"emoji\"] {\n display: inline-block;\n\n img {\n width: 1em;\n height: 1em;\n object-fit: cover;\n display: block;\n }\n }\n}", ".theme-container {\n --color-scheme: light;\n --background: #ffffff;\n --foreground: #404040;\n --muted: #D9D9D9;\n --muted-foreground: #A3A3A3;\n --popover: #ffffff;\n --popover-foreground: #292929;\n --border: #DCDEE4;\n --input: #DCDEE4;\n --card: #FAF9F8;\n --card-foreground: #292929;\n --primary: #ffffff;\n --primary-foreground: #696F8C;\n --secondary: #F5F5F5;\n --secondary-foreground: #171717;\n --accent: #E5F3FF;\n --accent-foreground: #1D4ED8;\n --destructive: #292929;\n --destructive-foreground: #FF3363;\n --ring: #80849D;\n --radius: 6px;\n}\n", "@import \"./typography.css\";\n@import \"./generated/theme.css\";\n\n.ProseMirror {\n /* .is-empty::before {\n @apply courier-text-neutral-500 dark:courier-text-neutral-400;\n content: attr(data-placeholder);\n float: left;\n height: 0;\n pointer-events: none;\n width: 100%;\n } */\n\n &>*:first-child,\n [data-type=\"column\"]>* {\n @apply first:courier-mt-0 last:courier-mb-0;\n }\n\n &>*+* {\n margin-top: 0.75em;\n }\n\n .node-imageUpload {\n @apply courier-rounded courier-border-2 courier-border-dotted courier-border-black courier-border-opacity-10 courier-p-2 dark:courier-border-neutral-500;\n transition: border 160ms cubic-bezier(0.45, 0.05, 0.55, 0.95);\n\n &:hover {\n @apply courier-border-opacity-30;\n }\n\n &:has(.is-active),\n &.has-focus {\n @apply courier-border-opacity-40;\n }\n }\n\n [data-type=\"columns\"] {\n\n &.has-focus [data-type=\"column\"],\n &:hover [data-type=\"column\"] {\n @apply courier-border-neutral-300 dark:courier-border-neutral-700;\n }\n\n [data-type=\"column\"].has-focus {\n @apply courier-border-neutral-400 dark:courier-border-neutral-600;\n }\n }\n\n [data-type=\"column\"] {\n @apply courier-rounded courier-border-2 courier-border-dotted courier-border-transparent courier-p-1;\n transition: border 160ms cubic-bezier(0.45, 0.05, 0.55, 0.95);\n\n &:hover {\n @apply courier-border-neutral-100 dark:courier-border-neutral-900;\n }\n\n &:has(.is-active),\n &.has-focus {\n @apply courier-border-neutral-100 dark:courier-border-neutral-900;\n }\n }\n\n .node-imageBlock {\n & img {\n @apply courier-border-2 courier-border-transparent courier-rounded-xl courier-overflow-hidden;\n }\n\n &:hover img {\n @apply courier-border-2 courier-border-neutral-100 dark:courier-border-neutral-900;\n }\n\n &:has(.is-active) img,\n &.has-focus img {\n @apply courier-border-2 courier-border-neutral-800 dark:courier-border-neutral-200;\n }\n }\n\n .node-aiWriter,\n .node-aiImage,\n .node-tableOfContentsNode {\n &.has-focus [data-node-view-wrapper]>* {\n @apply courier-shadow-[0_0_0_2px] courier-shadow-black/30 dark:courier-shadow-white/30 courier-transition-all courier-rounded-lg;\n }\n }\n\n .ProseMirror-gapcursor+.node-imageBlock,\n .ProseMirror-gapcursor+.node-imageUpload,\n .ProseMirror-gapcursor+.node-blockquote {\n @apply courier-outline-neutral-700 hover:courier-outline-neutral-600 dark:courier-outline-neutral-300 dark:hover:courier-outline-neutral-400;\n }\n}", "@import \"./components/editor.css\";\n\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n@keyframes pop {\n 0% {\n transform: scale(1);\n box-shadow: var(--box-shadow);\n }\n\n 100% {\n transform: scale(var(--scale));\n box-shadow: var(--box-shadow-picked-up);\n }\n}\n\n@keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n/* .theme-container {\n} */\n\n@layer base {\n * {\n @apply courier-border-border courier-outline-ring;\n /* @apply courier-border-border courier-outline-ring/50; */\n }\n\n body {\n @apply courier-font-sans courier-antialiased courier-bg-background courier-text-foreground;\n }\n}\n\n.courier-main-layout {\n @apply courier-relative courier-flex-grow courier-rounded-sm courier-border courier-border-border courier-bg-card courier-flex courier-flex-col courier-text-foreground courier-min-w-[812px] courier-h-[700px] courier-overflow-hidden courier-z-10;\n \n &::before {\n @apply courier-absolute courier-inset-0 -courier-z-10;\n content: '';\n background: radial-gradient(#0A0A0A32 1px, transparent 1px);\n background-size: 15px 15px;\n }\n}\n\n.courier-editor-container {\n @apply courier-relative courier-flex-1 courier-flex courier-flex-col courier-p-6 courier-overflow-y-auto courier-transition-all courier-duration-300 courier-ease-in-out;\n}\n\n.courier-editor-sidebar {\n @apply courier-rounded-br-sm courier-border-border courier-bg-white courier-border-l courier-overflow-y-auto courier-transition-all courier-duration-300 courier-ease-in-out dark:courier-bg-black;\n}\n\n.courier-editor-loading {\n @apply courier-w-full courier-h-full courier-flex courier-items-center courier-justify-center courier-grow courier-z-50 courier-absolute courier-top-0 courier-left-0 courier-right-0 courier-bottom-0 courier-bg-card;\n}\n\n.courier-brand-editor-readonly {\n @apply courier-pointer-events-none;\n\n .ProseMirror {\n @apply courier-cursor-default courier-p-0;\n\n .react-renderer {\n @apply courier-cursor-default;\n\n &.node-paragraph {\n p {\n @apply courier-text-sm;\n }\n\n .is-empty {\n p {\n &::after {\n content: '';\n }\n }\n }\n }\n\n .draggable-item {\n @apply courier-p-0;\n }\n }\n }\n}\n\n.courier-theme-editor-main {\n @apply courier-bg-white courier-rounded-lg courier-border courier-border-border courier-shadow-sm courier-max-w-2xl courier-select-none courier-self-center courier-w-full;\n\n >div {\n @apply courier-w-full;\n\n .ProseMirror {\n @apply courier-p-0;\n\n .react-renderer {\n &.node-paragraph {\n\n .selected-element {\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n .courier-actions-panel {\n @apply courier-hidden;\n }\n }\n\n p {\n @apply courier-text-sm;\n }\n\n .is-empty {\n p {\n &::after {\n content: 'Write footer text...';\n }\n }\n }\n\n &:hover {\n .draggable-item {\n >button {\n @apply courier-hidden;\n }\n }\n }\n\n .draggable-item {\n @apply courier-p-0;\n }\n }\n }\n }\n }\n}\n\n.courier-editor-main {\n @apply courier-relative courier-bg-white courier-rounded-lg courier-border courier-border-border courier-shadow-sm courier-max-w-2xl courier-select-none courier-self-center courier-w-full;\n\n >div {\n @apply courier-w-full;\n }\n}\n\n.courier-editor-preview-mode, .courier-editor-readonly {\n &.courier-editor-preview-mode-mobile {\n .courier-editor-main {\n @apply courier-max-w-sm;\n\n &:hover {\n >button {\n @apply courier-hidden;\n }\n }\n }\n }\n\n .ProseMirror {\n @apply courier-pointer-events-none;\n\n &>.react-renderer {\n\n &.node-imageBlock,\n &.node-button,\n &.node-divider,\n &.node-paragraph,\n &.node-heading,\n &.node-blockquote,\n &.node-buttonRow,\n &.node-customCode {\n\n * {\n @apply courier-cursor-default courier-pointer-events-none;\n }\n\n [data-cypress=\"draggable-handle\"] {\n @apply courier-hidden;\n }\n\n\n .selected-element {\n .courier-actions-panel {\n @apply courier-hidden;\n }\n\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n\n &:hover,\n &:active {\n [data-cypress=\"draggable-handle\"] {\n @apply courier-hidden;\n }\n\n .node-element {\n\n &>div,\n &>hr,\n &.courier-empty-image {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n }\n }\n\n &.node-imageBlock {\n .courier-empty-image {\n @apply courier-hidden;\n }\n }\n\n &.node-paragraph,\n &.node-blockquote {\n .is-empty {\n\n p,\n blockquote {\n &::after {\n @apply courier-hidden;\n }\n }\n }\n }\n\n &.node-heading {\n .is-empty {\n\n h1,\n h2,\n h3 {\n &::after {\n @apply courier-hidden;\n }\n }\n }\n }\n }\n }\n}\n\n.courier-sms-editor {\n @apply courier-flex courier-flex-col courier-py-2 courier-rounded-lg courier-bg-card courier-m-6 courier-mr-14 courier-mt-10;\n\n .ProseMirror {\n @apply courier-p-0;\n\n &>.react-renderer {\n .draggable-item {\n @apply courier-px-4;\n }\n &.node-paragraph {\n .selected-element {\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n .courier-actions-panel {\n @apply courier-hidden;\n }\n }\n }\n &:hover {\n .draggable-item {\n @apply courier-px-4;\n }\n [data-cypress=\"draggable-handle\"] {\n @apply courier-hidden;\n }\n\n .node-element {\n &>div {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n }\n }\n }\n}\n\n.courier-push-editor {\n @apply courier-py-2 courier-pr-4 courier-rounded-lg courier-bg-card courier-m-6 courier-relative;\n\n &::before {\n content: 'now';\n @apply courier-absolute courier-top-3 courier-right-3 courier-z-10 courier-text-xs courier-text-gray-500;\n }\n\n .ProseMirror {\n @apply courier-p-0 courier-gap-0.5 courier-flex courier-flex-col;\n\n &>.react-renderer {\n .node-element {\n &>div {\n @apply !courier-p-0;\n }\n \n h2, p {\n @apply courier-text-sm;\n }\n }\n .draggable-item {\n @apply courier-px-4;\n }\n\n &.node-paragraph, &.node-heading {\n .selected-element {\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n .courier-actions-panel {\n @apply courier-hidden;\n }\n }\n }\n\n &:hover {\n .draggable-item {\n @apply courier-px-4;\n }\n [data-cypress=\"draggable-handle\"] {\n @apply courier-hidden;\n }\n\n .node-element {\n &>div {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n }\n }\n }\n}\n\n.courier-inbox-editor {\n @apply courier-overflow-auto courier-flex-1 courier-border-y courier-border-border;\n max-height: calc(90% - 56px);\n\n .ProseMirror {\n @apply courier-p-4 courier-pr-10 courier-gap-0.5 courier-flex courier-flex-col;\n\n &::before {\n content: 'now';\n @apply courier-absolute courier-top-4 courier-right-4 courier-z-10 courier-text-sm courier-text-gray-500;\n }\n\n &>.react-renderer {\n .node-element {\n &>div {\n @apply !courier-p-0;\n }\n\n h2, p {\n @apply courier-text-sm;\n }\n }\n\n &.node-button {\n @apply courier-mt-2;\n\n .node-element {\n &>div {\n &>div {\n @apply courier-py-1 courier-px-2 courier-text-sm;\n }\n }\n }\n }\n\n &.node-buttonRow {\n @apply courier-mt-2;\n \n /* Override the centering from SortableItemWrapper */\n .draggable-item {\n justify-content: flex-start !important;\n }\n \n [data-cypress=\"draggable-handle\"] {\n @apply courier-hidden;\n }\n }\n\n .draggable-item {\n @apply courier-p-0;\n }\n\n &.node-paragraph, &.node-heading, &.node-buttonRow {\n .selected-element {\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n .courier-actions-panel {\n @apply courier-hidden;\n }\n }\n }\n\n &:hover {\n [data-cypress=\"draggable-handle\"] {\n @apply courier-hidden;\n }\n\n .node-element {\n &>div {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n }\n }\n }\n}\n\n.ProseMirror {\n @apply courier-caret-black dark:courier-caret-white courier-outline-0 courier-pr-10 courier-pl-4 courier-py-10 courier-z-0 lg:courier-pl-2 lg:courier-pr-10 courier-max-w-2xl courier-h-full;\n\n .selection {\n @apply courier-inline;\n }\n\n .selection,\n *::selection {\n @apply courier-bg-black/10 dark:courier-bg-white/20 courier-inline;\n }\n\n &>.react-renderer {\n @apply courier-my-12 first:courier-mt-0 last:courier-mb-0;\n\n &.node-divider {\n @apply courier-flex courier-flex-col courier-justify-center;\n }\n\n &.node-variable {\n @apply courier-inline-block courier-m-0;\n }\n\n &.node-dragPlaceholder {\n @apply courier-m-0;\n }\n\n &.node-paragraph {\n @apply courier-m-0;\n\n &:focus,\n &:focus-visible {\n outline: none;\n }\n }\n\n &.node-paragraph,\n &.node-blockquote,\n &.node-customCode {\n\n p {\n >div {\n @apply courier-block courier-relative courier-cursor-text;\n\n &[contenteditable=\"true\"] {\n outline: none;\n caret-color: currentColor;\n }\n }\n }\n\n .is-empty {\n\n p,\n blockquote {\n position: relative;\n\n &::after {\n content: 'Write body text...';\n @apply courier-absolute courier-top-0 courier-left-0 courier-text-neutral-500 dark:courier-text-neutral-400 -courier-z-10;\n }\n }\n\n .courier-custom-code {\n &::after {\n content: 'Use the right panel to add custom HTML code...';\n @apply courier-absolute courier-left-0 courier-text-neutral-500 dark:courier-text-neutral-400 -courier-z-10;\n }\n }\n }\n }\n\n &.node-heading {\n\n h1,\n h2,\n h3 {\n >div {\n @apply courier-block courier-relative courier-cursor-text;\n\n &[contenteditable=\"true\"] {\n outline: none;\n caret-color: currentColor;\n }\n }\n }\n\n .is-empty {\n\n h1,\n h2,\n h3 {\n position: relative;\n\n &::after {\n content: 'Write heading...';\n @apply courier-absolute courier-top-0 courier-left-0 courier-text-neutral-500 dark:courier-text-neutral-400 -courier-z-10;\n }\n }\n }\n }\n\n\n &.node-imageBlock,\n &.node-button,\n &.node-divider,\n &.node-paragraph,\n &.node-heading,\n &.node-blockquote,\n &.node-customCode {\n @apply courier-m-0 courier-relative;\n\n [data-cypress=\"draggable-handle\"] {\n @apply courier-invisible;\n }\n\n &:hover,\n &:active {\n [data-cypress=\"draggable-handle\"] {\n @apply courier-visible;\n }\n\n .node-element {\n\n &>div,\n &>hr,\n &.courier-empty-image {\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border-2 courier-border-border courier-absolute courier-content-[''];\n }\n }\n }\n }\n\n .node-element {\n @apply courier-relative;\n\n &:focus,\n &:focus-visible {\n outline: none;\n }\n }\n\n .selected-element {\n .node-element {\n @apply courier-relative courier-z-20;\n\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border courier-border-[#0085FF] courier-absolute courier-content-[''] -courier-z-10;\n }\n\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n\n .courier-actions-panel {\n @apply courier-block;\n }\n }\n }\n\n &.node-blockquote {\n @apply courier-m-0;\n @apply courier-text-foreground;\n @apply dark:courier-text-white;\n\n &:hover,\n &:active {\n [data-cypress=\"draggable-handle\"] {\n @apply courier-visible;\n }\n\n .node-element {\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md !courier-border-2 !courier-border-border courier-absolute courier-content-[''] -courier-z-20;\n }\n\n &>div {\n &::before {\n @apply courier-hidden;\n }\n }\n\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n\n .selected-element {\n .node-element {\n .node-element {\n &::before {\n @apply courier-hidden -courier-z-20;\n }\n }\n }\n }\n }\n }\n }\n\n &.resize-cursor {\n @apply courier-cursor-col-resize;\n }\n\n .ProseMirror-gapcursor {\n @apply courier-relative courier-w-full courier-max-w-2xl courier-mx-auto;\n\n &:after {\n @apply courier-border-t-black/40 dark:courier-border-t-white/40 courier-w-full courier-top-[-1.5em] courier-max-w-2xl courier-mx-auto courier-left-0 courier-right-0;\n }\n }\n}\n\n/* Slack Editor Styles */\n.courier-slack-editor {\n .ProseMirror {\n @apply courier-p-0;\n\n &>.react-renderer {\n @apply courier-my-2 first:courier-mt-0 last:courier-mb-0;\n\n &.node-dragPlaceholder {\n @apply courier-m-0;\n }\n\n &.node-button,\n &.node-divider,\n &.node-paragraph,\n &.node-heading,\n &.node-blockquote,\n &.node-buttonRow {\n @apply courier-m-0 courier-relative;\n\n &.node-button {\n .node-element {\n > div {\n @apply !courier-justify-start;\n\n > div {\n @apply !courier-bg-transparent !courier-mr-auto !courier-ml-0;\n border: 1px solid #E5E5E5 !important;\n border-radius: 6px !important;\n color: #171717 !important;\n padding: 6px 9.6px !important;\n font-weight: 500 !important;\n font-size: 14px !important;\n font-style: normal !important;\n line-height: 24px !important;\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;\n\n &:hover {\n @apply courier-bg-gray-50;\n }\n }\n }\n }\n }\n\n [data-cypress=\"draggable-handle\"] {\n @apply courier-invisible;\n }\n\n &:hover,\n &:active {\n [data-cypress=\"draggable-handle\"] {\n @apply courier-visible;\n }\n\n .node-element {\n\n &>div,\n &>hr {\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border-2 courier-border-border courier-absolute courier-content-[''];\n }\n }\n }\n }\n\n .node-element {\n @apply courier-relative;\n\n &:focus,\n &:focus-visible {\n outline: none;\n }\n }\n\n .selected-element {\n .node-element {\n @apply courier-relative courier-z-20;\n\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border courier-border-[#0085FF] courier-absolute courier-content-[''] -courier-z-10;\n }\n\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n\n .courier-actions-panel {\n @apply courier-block;\n }\n }\n }\n }\n }\n}\n\n/* MS Teams Editor Styles */\n.courier-msteams-editor {\n .ProseMirror {\n @apply courier-p-0;\n\n &>.react-renderer {\n @apply courier-my-2 first:courier-mt-0 last:courier-mb-0;\n\n &.node-dragPlaceholder {\n @apply courier-m-0;\n }\n\n &.node-button,\n &.node-divider,\n &.node-paragraph,\n &.node-heading,\n &.node-blockquote,\n &.node-buttonRow {\n @apply courier-m-0 courier-relative;\n\n &.node-button {\n .node-element {\n > div {\n @apply !courier-justify-start;\n\n > div {\n @apply !courier-bg-transparent !courier-mr-auto !courier-ml-0;\n border: 1px solid #E5E5E5 !important;\n border-radius: 6px !important;\n color: #171717 !important;\n padding: 6px 9.6px !important;\n font-weight: 500 !important;\n font-size: 14px !important;\n font-style: normal !important;\n line-height: 24px !important;\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;\n\n &:hover {\n @apply courier-bg-gray-50;\n }\n }\n }\n }\n }\n\n [data-cypress=\"draggable-handle\"] {\n @apply courier-invisible;\n }\n\n &:hover,\n &:active {\n [data-cypress=\"draggable-handle\"] {\n @apply courier-visible;\n }\n\n .node-element {\n\n &>div,\n &>hr {\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border-2 courier-border-border courier-absolute courier-content-[''];\n }\n }\n }\n }\n\n .node-element {\n @apply courier-relative;\n\n &:focus,\n &:focus-visible {\n outline: none;\n }\n }\n\n .selected-element {\n .node-element {\n @apply courier-relative courier-z-20;\n\n &::before {\n @apply courier-left-[-12px] courier-right-[-12px] courier-top-0 courier-bottom-0 courier-rounded-md courier-border courier-border-[#0085FF] courier-absolute courier-content-[''] -courier-z-10;\n }\n\n .node-element {\n &::before {\n @apply courier-hidden;\n }\n }\n }\n\n .courier-actions-panel {\n @apply courier-block;\n }\n }\n }\n }\n }\n}\n\n[data-theme=\"slash-command\"] {\n @apply courier-w-full;\n}\n\n/* Basic editor styles */\n.tiptap {\n outline: none;\n\n :first-child {\n margin-top: 0;\n }\n\n /* List styles */\n ul,\n ol {\n padding: 0 1rem;\n margin: 1.25rem 1rem 1.25rem 0.4rem;\n\n li p {\n margin-top: 0.25em;\n margin-bottom: 0.25em;\n }\n }\n\n /* Heading styles */\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n line-height: 1.1;\n margin-top: 2.5rem;\n text-wrap: pretty;\n }\n\n h1,\n h2 {\n margin-top: 3.5rem;\n margin-bottom: 1.5rem;\n }\n\n h1 {\n font-size: 1.4rem;\n }\n\n h2 {\n font-size: 1.2rem;\n }\n\n h3 {\n font-size: 1.1rem;\n }\n\n h4,\n h5,\n h6 {\n font-size: 1rem;\n }\n\n /* Code and preformatted text styles */\n code {\n background-color: var(--purple-light);\n border-radius: 0.4rem;\n color: var(--black);\n font-size: 0.85rem;\n padding: 0.25em 0.3em;\n }\n\n pre {\n background: var(--black);\n border-radius: 0.5rem;\n color: var(--white);\n font-family: \"JetBrainsMono\", monospace;\n margin: 1.5rem 0;\n padding: 0.75rem 1rem;\n\n code {\n background: none;\n color: inherit;\n font-size: 0.8rem;\n padding: 0;\n }\n }\n\n /* hr {\n border: none;\n border-top: 1px solid var(--gray-2);\n margin: 2rem 0;\n } */\n}\n\n@layer utilities {\n .animate-pop {\n animation: pop 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);\n }\n\n .animate-fadeIn {\n animation: fadeIn 500ms ease;\n }\n\n .touch-transparent {\n -webkit-tap-highlight-color: transparent;\n }\n\n .courier-editor-preview-mode {\n &.courier-main-content {\n flex-grow: 1;\n width: 100%;\n }\n\n &>div:last-child {\n width: 0;\n }\n }\n}"],
5
- "mappings": "AAAA,CAAC,YASC,GACE,OAAO,iBACT,CAEA,GACE,OAAO,iBACT,CAEA,GACE,OAAO,gBACT,CAEA,GACE,OAAO,gBACT,CAEA,GACE,OAAO,kBACT,CAEA,GACE,OAAO,gBACT,CAEA,GACA,GACA,GACA,GACA,GACA,GACE,OAAO,kBAAkB,KAAK,CAAC,aAAa,IAAI,CAAC,aACnD,CAEA,GACA,GACA,GACE,OAAO,cACT,CAEA,GACA,GACA,GACE,OAAO,aACT,CAEA,CAAC,CAAC,KACA,OAAO,sBAAsB,kBAC/B,CAEA,KACE,OAAO,mBAAmB,mBAAmB,yBAAyB,qBAAqB,aAAa,aAAa,IAAI,CAAC,mBAC5H,CAEA,EAAE,IACA,OAAO,eAAe,eAAe,mBACvC,CA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