@measured/puck 0.20.0-canary.8c56aa8b → 0.20.0-canary.b2d0f01a

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.
@@ -11,20 +11,23 @@ import {
11
11
  Label,
12
12
  Puck,
13
13
  Render,
14
+ blocksPlugin,
14
15
  createUsePuck,
16
+ outlinePlugin,
15
17
  overrideKeys,
16
- registerOverlayPortal,
17
18
  renderContext,
18
19
  useGetPuck,
19
20
  usePuck
20
- } from "./chunk-5HI4IJHF.mjs";
21
+ } from "./chunk-BXSY5KA5.mjs";
21
22
  import {
22
23
  init_react_import,
23
24
  migrate,
25
+ registerOverlayPortal,
24
26
  resolveAllData,
27
+ setDeep,
25
28
  transformProps,
26
29
  walkTree
27
- } from "./chunk-32MJ3X3H.mjs";
30
+ } from "./chunk-IP64IXIP.mjs";
28
31
 
29
32
  // bundle/no-external.ts
30
33
  init_react_import();
@@ -41,12 +44,15 @@ export {
41
44
  Label,
42
45
  Puck,
43
46
  Render,
47
+ blocksPlugin,
44
48
  createUsePuck,
45
49
  migrate,
50
+ outlinePlugin,
46
51
  overrideKeys,
47
52
  registerOverlayPortal,
48
53
  renderContext,
49
54
  resolveAllData,
55
+ setDeep,
50
56
  transformProps,
51
57
  useGetPuck,
52
58
  usePuck,
package/dist/rsc.css ADDED
@@ -0,0 +1,26 @@
1
+ /* lib/overlay-portal/styles.css */
2
+ [data-puck-overlay-portal],
3
+ [data-puck-overlay-portal] * {
4
+ pointer-events: auto !important;
5
+ }
6
+ [data-puck-overlay-portal]:hover {
7
+ outline: 2px var(--puck-color-azure-09) dashed;
8
+ outline-offset: 2px;
9
+ }
10
+ [data-puck-overlay-portal]:focus-within {
11
+ outline: 2px var(--puck-color-azure-07) solid;
12
+ outline-offset: 2px;
13
+ }
14
+
15
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/InlineTextField/styles.module.css/#css-module-data */
16
+ ._InlineTextField_ilw2a_1 {
17
+ cursor: text;
18
+ display: inline-block;
19
+ }
20
+ [data-dnd-dragging] ._InlineTextField_ilw2a_1 {
21
+ cursor: none;
22
+ caret-color: transparent;
23
+ }
24
+ [data-dnd-dragging] ._InlineTextField_ilw2a_1::selection {
25
+ display: none;
26
+ }
package/dist/rsc.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as Config, U as UserGenerics, M as Metadata } from './walk-tree-mCPqBAls.mjs';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-mCPqBAls.mjs';
2
+ import { C as Config, U as UserGenerics, M as Metadata } from './walk-tree-yh0Fsxem.mjs';
3
+ export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-yh0Fsxem.mjs';
4
4
  import 'react';
5
5
 
6
6
  declare function Render<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>({ config, data, metadata, }: {
package/dist/rsc.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as Config, U as UserGenerics, M as Metadata } from './walk-tree-mCPqBAls.js';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-mCPqBAls.js';
2
+ import { C as Config, U as UserGenerics, M as Metadata } from './walk-tree-yh0Fsxem.js';
3
+ export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-yh0Fsxem.js';
4
4
  import 'react';
5
5
 
6
6
  declare function Render<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>({ config, data, metadata, }: {