@meowdown/react 0.17.0 → 0.17.2

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 (2) hide show
  1. package/dist/index.js +1 -144
  2. package/package.json +3 -2
package/dist/index.js CHANGED
@@ -12,6 +12,7 @@ import { canUseRegexLookbehind, createEditor, defineDocChangeHandler, union } fr
12
12
  import { Selection, TextSelection } from "@prosekit/pm/state";
13
13
  import { ProseKit, defineReactNodeView, useEditor, useEditor as useEditor$1, useEditorDerivedValue, useExtension, useExtension as useExtension$1, useKeymap } from "@prosekit/react";
14
14
  import { Combobox } from "@base-ui/react/combobox";
15
+ import { CheckIcon, ChevronsUpDownIcon, CopyIcon, GripHorizontalIcon, GripVerticalIcon } from "lucide-react";
15
16
  import { BlockHandleDraggable, BlockHandlePopup, BlockHandlePositioner, BlockHandleRoot } from "@prosekit/react/block-handle";
16
17
  import { DropIndicator } from "@prosekit/react/drop-indicator";
17
18
  import { AutocompleteEmpty, AutocompleteItem, AutocompletePopup, AutocompletePositioner, AutocompleteRoot } from "@prosekit/react/autocomplete";
@@ -152,58 +153,6 @@ var code_block_view_module_default = {
152
153
  "TriggerIcon": "meow_TriggerIcon_D3j_9q"
153
154
  };
154
155
 
155
- //#endregion
156
- //#region src/components/icons/check-icon.tsx
157
- function CheckIcon() {
158
- return /* @__PURE__ */ jsx("svg", {
159
- viewBox: "0 0 24 24",
160
- fill: "none",
161
- stroke: "currentColor",
162
- strokeWidth: 2,
163
- strokeLinecap: "round",
164
- strokeLinejoin: "round",
165
- "aria-hidden": "true",
166
- children: /* @__PURE__ */ jsx("path", { d: "M20 6 9 17l-5-5" })
167
- });
168
- }
169
-
170
- //#endregion
171
- //#region src/components/icons/chevrons-up-down-icon.tsx
172
- function ChevronsUpDownIcon() {
173
- return /* @__PURE__ */ jsxs("svg", {
174
- viewBox: "0 0 24 24",
175
- fill: "none",
176
- stroke: "currentColor",
177
- strokeWidth: 2,
178
- strokeLinecap: "round",
179
- strokeLinejoin: "round",
180
- "aria-hidden": "true",
181
- children: [/* @__PURE__ */ jsx("path", { d: "m7 15 5 5 5-5" }), /* @__PURE__ */ jsx("path", { d: "m7 9 5-5 5 5" })]
182
- });
183
- }
184
-
185
- //#endregion
186
- //#region src/components/icons/copy-icon.tsx
187
- function CopyIcon() {
188
- return /* @__PURE__ */ jsxs("svg", {
189
- viewBox: "0 0 24 24",
190
- fill: "none",
191
- stroke: "currentColor",
192
- strokeWidth: 2,
193
- strokeLinecap: "round",
194
- strokeLinejoin: "round",
195
- "aria-hidden": "true",
196
- children: [/* @__PURE__ */ jsx("rect", {
197
- width: "14",
198
- height: "14",
199
- x: "8",
200
- y: "8",
201
- rx: "2",
202
- ry: "2"
203
- }), /* @__PURE__ */ jsx("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })]
204
- });
205
- }
206
-
207
156
  //#endregion
208
157
  //#region src/components/code-block-view.tsx
209
158
  const COPIED_RESET_MS = 1500;
@@ -338,52 +287,6 @@ var block_handle_module_default = {
338
287
  "Positioner": "meow_Positioner_EvUpOG"
339
288
  };
340
289
 
341
- //#endregion
342
- //#region src/components/icons/grip-vertical-icon.tsx
343
- function GripVerticalIcon() {
344
- return /* @__PURE__ */ jsxs("svg", {
345
- viewBox: "0 0 24 24",
346
- fill: "none",
347
- stroke: "currentColor",
348
- strokeWidth: 2,
349
- strokeLinecap: "round",
350
- strokeLinejoin: "round",
351
- "aria-hidden": "true",
352
- children: [
353
- /* @__PURE__ */ jsx("circle", {
354
- cx: "9",
355
- cy: "5",
356
- r: "1"
357
- }),
358
- /* @__PURE__ */ jsx("circle", {
359
- cx: "9",
360
- cy: "12",
361
- r: "1"
362
- }),
363
- /* @__PURE__ */ jsx("circle", {
364
- cx: "9",
365
- cy: "19",
366
- r: "1"
367
- }),
368
- /* @__PURE__ */ jsx("circle", {
369
- cx: "15",
370
- cy: "5",
371
- r: "1"
372
- }),
373
- /* @__PURE__ */ jsx("circle", {
374
- cx: "15",
375
- cy: "12",
376
- r: "1"
377
- }),
378
- /* @__PURE__ */ jsx("circle", {
379
- cx: "15",
380
- cy: "19",
381
- r: "1"
382
- })
383
- ]
384
- });
385
- }
386
-
387
290
  //#endregion
388
291
  //#region src/components/block-handle.tsx
389
292
  function BlockHandle() {
@@ -554,52 +457,6 @@ function SlashMenu() {
554
457
  });
555
458
  }
556
459
 
557
- //#endregion
558
- //#region src/components/icons/grip-horizontal-icon.tsx
559
- function GripHorizontalIcon() {
560
- return /* @__PURE__ */ jsxs("svg", {
561
- viewBox: "0 0 24 24",
562
- fill: "none",
563
- stroke: "currentColor",
564
- strokeWidth: 2,
565
- strokeLinecap: "round",
566
- strokeLinejoin: "round",
567
- "aria-hidden": "true",
568
- children: [
569
- /* @__PURE__ */ jsx("circle", {
570
- cx: "12",
571
- cy: "9",
572
- r: "1"
573
- }),
574
- /* @__PURE__ */ jsx("circle", {
575
- cx: "19",
576
- cy: "9",
577
- r: "1"
578
- }),
579
- /* @__PURE__ */ jsx("circle", {
580
- cx: "5",
581
- cy: "9",
582
- r: "1"
583
- }),
584
- /* @__PURE__ */ jsx("circle", {
585
- cx: "12",
586
- cy: "15",
587
- r: "1"
588
- }),
589
- /* @__PURE__ */ jsx("circle", {
590
- cx: "19",
591
- cy: "15",
592
- r: "1"
593
- }),
594
- /* @__PURE__ */ jsx("circle", {
595
- cx: "5",
596
- cy: "15",
597
- r: "1"
598
- })
599
- ]
600
- });
601
- }
602
-
603
460
  //#endregion
604
461
  //#region src/components/table-handle.module.css
605
462
  var table_handle_module_default = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meowdown/react",
3
3
  "type": "module",
4
- "version": "0.17.0",
4
+ "version": "0.17.2",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -28,7 +28,8 @@
28
28
  "@prosekit/pm": "^0.1.19-beta.0",
29
29
  "@prosekit/react": "^0.8.0-beta.7",
30
30
  "clsx": "^2.1.1",
31
- "@meowdown/core": "0.17.0"
31
+ "lucide-react": "^1.21.0",
32
+ "@meowdown/core": "0.17.2"
32
33
  },
33
34
  "peerDependencies": {
34
35
  "react": "^19.0.0",