@prosekit/lit 0.0.17 → 0.0.19

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.
@@ -447,7 +447,7 @@ declare const propNames_5: never[];
447
447
  export { propNames_5 as propNames_alias_11 }
448
448
  export { propNames_5 as propNames_alias_12 }
449
449
 
450
- export declare const propNames_alias_13: string[];
450
+ export declare const propNames_alias_13: readonly ["active", "reference", "options", "autoUpdate", "autoUpdateOptions"];
451
451
 
452
452
  export declare const propNames_alias_5: readonly ["editor", "regex", "popoverOptions"];
453
453
 
@@ -6,9 +6,6 @@ import {
6
6
  blockComponentStyles
7
7
  } from "./chunk-3UDA5JEW.js";
8
8
 
9
- // src/components/popover/options.ts
10
- import "@floating-ui/dom";
11
-
12
9
  // src/components/popover/index.ts
13
10
  import {
14
11
  autoUpdate,
@@ -25,12 +22,24 @@ function roundByDPR(value) {
25
22
 
26
23
  // src/components/popover/default-popover-options.ts
27
24
  import { offset, shift } from "@floating-ui/dom";
25
+
26
+ // src/components/popover/options.ts
27
+ import "@floating-ui/dom";
28
+
29
+ // src/components/popover/default-popover-options.ts
28
30
  var defaultPopoverOptions = {
29
31
  placement: "bottom",
30
32
  middleware: [offset(4), shift({ padding: 8 })]
31
33
  };
32
34
 
33
35
  // src/components/popover/index.ts
36
+ var propNames = [
37
+ "active",
38
+ "reference",
39
+ "options",
40
+ "autoUpdate",
41
+ "autoUpdateOptions"
42
+ ];
34
43
  var Popover = class extends LightBlockElement {
35
44
  /** @hidden */
36
45
  constructor() {
@@ -116,5 +125,6 @@ Popover = __decorateClass([
116
125
  ], Popover);
117
126
 
118
127
  export {
128
+ propNames,
119
129
  Popover
120
130
  };
@@ -4,7 +4,7 @@ import {
4
4
  import "./chunk-RTIPZK6D.js";
5
5
  import "./chunk-6P3YKUWI.js";
6
6
  import "./chunk-PCXKL6TA.js";
7
- import "./chunk-G5KPDHDH.js";
7
+ import "./chunk-KA7LSXZQ.js";
8
8
  import "./chunk-TRZW33VF.js";
9
9
  import {
10
10
  __decorateClass,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Popover
3
- } from "./chunk-G5KPDHDH.js";
3
+ } from "./chunk-KA7LSXZQ.js";
4
4
  import "./chunk-TRZW33VF.js";
5
5
  import {
6
6
  __decorateClass
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-PCXKL6TA.js";
5
5
  import {
6
6
  Popover
7
- } from "./chunk-G5KPDHDH.js";
7
+ } from "./chunk-KA7LSXZQ.js";
8
8
  import {
9
9
  comboBoxContext
10
10
  } from "./chunk-C4MW43I4.js";
@@ -0,0 +1,5 @@
1
+ export { AutoUpdateOptions } from './_tsup-dts-rollup';
2
+ export { PopoverOptions_alias_1 as PopoverOptions } from './_tsup-dts-rollup';
3
+ export { propNames_alias_13 as propNames } from './_tsup-dts-rollup';
4
+ export { PopoverProps } from './_tsup-dts-rollup';
5
+ export { Popover } from './_tsup-dts-rollup';
@@ -0,0 +1,10 @@
1
+ import {
2
+ Popover,
3
+ propNames
4
+ } from "./chunk-KA7LSXZQ.js";
5
+ import "./chunk-TRZW33VF.js";
6
+ import "./chunk-3UDA5JEW.js";
7
+ export {
8
+ Popover,
9
+ propNames
10
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/lit",
3
3
  "type": "module",
4
- "version": "0.0.17",
4
+ "version": "0.0.19",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -74,6 +74,11 @@
74
74
  "types": "./dist/prosekit-lit-combo-box-list.d.ts",
75
75
  "import": "./dist/prosekit-lit-combo-box-list.js",
76
76
  "default": "./dist/prosekit-lit-combo-box-list.js"
77
+ },
78
+ "./popover": {
79
+ "types": "./dist/prosekit-lit-popover.d.ts",
80
+ "import": "./dist/prosekit-lit-popover.js",
81
+ "default": "./dist/prosekit-lit-popover.js"
77
82
  }
78
83
  },
79
84
  "files": [
@@ -82,8 +87,8 @@
82
87
  "dependencies": {
83
88
  "@floating-ui/dom": "^1.5.3",
84
89
  "@lit/context": "^1.0.0",
85
- "@prosekit/core": "^0.0.13",
86
- "@prosekit/extensions": "^0.0.15",
90
+ "@prosekit/core": "^0.0.15",
91
+ "@prosekit/extensions": "^0.0.17",
87
92
  "@prosekit/pm": "^0.0.6",
88
93
  "@superhuman/command-score": "^0.5.0",
89
94
  "lit": "^3.0.0"
@@ -132,6 +137,9 @@
132
137
  ],
133
138
  "combo-box-list": [
134
139
  "./dist/prosekit-lit-combo-box-list.d.ts"
140
+ ],
141
+ "popover": [
142
+ "./dist/prosekit-lit-popover.d.ts"
135
143
  ]
136
144
  }
137
145
  }