@puckeditor/core 0.23.0-canary.9bf3e00a → 0.23.0-canary.e7fef140

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 (43) hide show
  1. package/dist/{Editor-ZZW3KF2T.css → Editor-T7TKW6NT.css} +7 -7
  2. package/dist/{Editor-BJP5AFD5.mjs → Editor-Z6P5UAVB.mjs} +8 -8
  3. package/dist/{actions-Csn3gOP8.d.mts → actions-3w-1VzY_.d.mts} +7 -1
  4. package/dist/{actions-Csn3gOP8.d.ts → actions-3w-1VzY_.d.ts} +7 -1
  5. package/dist/{chunk-WQV7W7OC.mjs → chunk-3OLRWMRO.mjs} +7 -7
  6. package/dist/{chunk-JNJJ2M57.mjs → chunk-3TERNOIP.mjs} +1 -1
  7. package/dist/{chunk-JHNG6XYK.mjs → chunk-DIYX54ZO.mjs} +19 -5
  8. package/dist/{chunk-HB4CVO3I.mjs → chunk-L73ATZ55.mjs} +1 -1
  9. package/dist/{chunk-WUO7D6OQ.mjs → chunk-NPAYGEG5.mjs} +1 -0
  10. package/dist/{chunk-MU6IPW26.mjs → chunk-OCFR2FFG.mjs} +1 -1
  11. package/dist/{chunk-EYJW64M2.mjs → chunk-OSPG5CWL.mjs} +1 -1
  12. package/dist/{chunk-BMRBP3ET.mjs → chunk-PJYHZPJK.mjs} +3 -3
  13. package/dist/{chunk-Q6WCB6GM.mjs → chunk-S3CSGIQ3.mjs} +1844 -714
  14. package/dist/{chunk-25QAPMLH.mjs → chunk-UAWUZ45G.mjs} +41 -18
  15. package/dist/{full-7ONH7UPJ.mjs → full-67VCA5MX.mjs} +7 -7
  16. package/dist/{full-S3QQ2IBQ.css → full-AAZK6KLI.css} +7 -7
  17. package/dist/{index-De5Tn61v.d.mts → index-KWLAZybR.d.ts} +8 -3
  18. package/dist/{index-t7c1w81O.d.ts → index-l1l-a8tj.d.mts} +8 -3
  19. package/dist/index.css +308 -111
  20. package/dist/index.d.mts +6 -8
  21. package/dist/index.d.ts +6 -8
  22. package/dist/index.js +1948 -732
  23. package/dist/index.mjs +10 -10
  24. package/dist/internal.d.mts +2 -2
  25. package/dist/internal.d.ts +2 -2
  26. package/dist/internal.js +40 -18
  27. package/dist/internal.mjs +1 -1
  28. package/dist/{loaded-PF5Y4VWH.mjs → loaded-4XVG2RKQ.mjs} +4 -4
  29. package/dist/{loaded-FVWRAJR3.css → loaded-CA3Q7UHH.css} +7 -7
  30. package/dist/{loaded-35D7XAOE.mjs → loaded-LM723CWI.mjs} +4 -4
  31. package/dist/{loaded-6YDNF4HS.mjs → loaded-VBJBTUSI.mjs} +4 -4
  32. package/dist/no-external.css +308 -111
  33. package/dist/no-external.d.mts +3 -3
  34. package/dist/no-external.d.ts +3 -3
  35. package/dist/no-external.js +1948 -732
  36. package/dist/no-external.mjs +10 -10
  37. package/dist/rsc.d.mts +2 -2
  38. package/dist/rsc.d.ts +2 -2
  39. package/dist/rsc.js +1 -0
  40. package/dist/rsc.mjs +2 -2
  41. package/dist/{walk-tree-CWrsBHHe.d.ts → walk-tree-ConR82Y6.d.ts} +1 -1
  42. package/dist/{walk-tree-BrW9VQ_t.d.mts → walk-tree-DJMo6GTF.d.mts} +1 -1
  43. package/package.json +1 -1
@@ -41,7 +41,7 @@
41
41
  }
42
42
 
43
43
  /* css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css/#css-module-data */
44
- ._IconButton_yuha3_1 {
44
+ ._IconButton_1pxxt_1 {
45
45
  align-items: center;
46
46
  background: var(--puck-iconbutton-color-bg, transparent);
47
47
  border: none;
@@ -53,26 +53,26 @@
53
53
  padding: var(--puck-iconbutton-space, var(--puck-space-1));
54
54
  transition: background-color var(--puck-duration-fast) var(--puck-ease-exit), color var(--puck-duration-fast) var(--puck-ease-exit);
55
55
  }
56
- ._IconButton--active_yuha3_15 {
56
+ ._IconButton--active_1pxxt_15 {
57
57
  color: var( --puck-iconbutton-color-icon-active, var(--puck-color-interactive) );
58
58
  }
59
- ._IconButton_yuha3_1:focus-visible {
59
+ ._IconButton_1pxxt_1:focus-visible {
60
60
  outline: var(--puck-border-width-focus) solid var(--puck-color-focus-ring);
61
61
  outline-offset: calc(var(--puck-border-width-focus) * -1);
62
62
  }
63
63
  @media (hover: hover) and (pointer: fine) {
64
- ._IconButton_yuha3_1:hover:not(._IconButton--disabled_yuha3_28) {
65
- background: var( --puck-iconbutton-color-bg-hover, var(--puck-color-interactive-neutral-hover) );
64
+ ._IconButton_1pxxt_1:hover:not(._IconButton--disabled_1pxxt_28) {
65
+ background: var( --_puck-iconbutton-color-bg-hover, var( --puck-iconbutton-color-bg-hover, var(--puck-color-interactive-neutral-hover) ) );
66
66
  color: var( --puck-iconbutton-color-icon-hover, var(--puck-color-interactive) );
67
67
  cursor: pointer;
68
68
  transition: none;
69
69
  }
70
70
  }
71
- ._IconButton_yuha3_1:active {
71
+ ._IconButton_1pxxt_1:active {
72
72
  background: var( --puck-iconbutton-color-bg-active, var(--puck-color-interactive-soft) );
73
73
  transition: none;
74
74
  }
75
- ._IconButton--disabled_yuha3_28 {
75
+ ._IconButton--disabled_1pxxt_28 {
76
76
  color: var( --puck-iconbutton-color-icon-disabled, var(--puck-color-text-subtle) );
77
77
  }
78
78
 
@@ -4,18 +4,18 @@ import {
4
4
  import {
5
5
  EditorInner,
6
6
  LoadedRichTextMenu
7
- } from "./chunk-BMRBP3ET.mjs";
7
+ } from "./chunk-PJYHZPJK.mjs";
8
8
  import "./chunk-H635BA2V.mjs";
9
- import "./chunk-WQV7W7OC.mjs";
10
- import "./chunk-EYJW64M2.mjs";
11
- import "./chunk-MU6IPW26.mjs";
12
- import "./chunk-HB4CVO3I.mjs";
9
+ import "./chunk-3OLRWMRO.mjs";
10
+ import "./chunk-OSPG5CWL.mjs";
11
+ import "./chunk-OCFR2FFG.mjs";
12
+ import "./chunk-L73ATZ55.mjs";
13
13
  import {
14
14
  useAppStore,
15
15
  useAppStoreApi
16
- } from "./chunk-JHNG6XYK.mjs";
17
- import "./chunk-25QAPMLH.mjs";
18
- import "./chunk-WUO7D6OQ.mjs";
16
+ } from "./chunk-DIYX54ZO.mjs";
17
+ import "./chunk-UAWUZ45G.mjs";
18
+ import "./chunk-NPAYGEG5.mjs";
19
19
  import "./chunk-Y2EFNT5P.mjs";
20
20
  import "./chunk-QHQD3BMI.mjs";
21
21
  import {
@@ -556,6 +556,8 @@ type UiState = {
556
556
  expanded?: boolean;
557
557
  }>;
558
558
  isDragging: boolean;
559
+ /** Outline items whose children are shown, keyed by item id */
560
+ itemExpanded?: Record<string, boolean>;
559
561
  viewports: {
560
562
  current: {
561
563
  width: number | "100%";
@@ -736,6 +738,10 @@ type IframeConfig = {
736
738
  waitForStyles?: boolean;
737
739
  syncHostStyles?: boolean;
738
740
  };
741
+ type DndConfig = {
742
+ disableAutoScroll?: boolean;
743
+ disableOutlineDrag?: boolean;
744
+ };
739
745
  type OnAction<UserData extends Data = Data> = (action: PuckAction, appState: AppState<UserData>, prevAppState: AppState<UserData>) => void;
740
746
  type Plugin<UserConfig extends Config = Config> = {
741
747
  name?: string;
@@ -837,4 +843,4 @@ type PuckAction = {
837
843
  recordHistory?: boolean;
838
844
  } & (ReorderAction | InsertAction | MoveAction | ReplaceAction | ReplaceRootAction | RemoveAction | DuplicateAction | SetAction | SetDataAction | SetUiAction | RegisterZoneAction | UnregisterZoneAction);
839
845
 
840
- export { type Permissions as $, type Adaptor as A, type BaseData as B, type CacheOpts as C, type Data as D, type ExternalField as E, type ExtractConfigParams as F, type ExtractField as G, type Field as H, type FieldMetadata as I, type FieldProps as J, type FieldRenderFunctions as K, type FieldTransformFn as L, type FieldTransformFnParams as M, type FieldTransforms as N, type Fields as O, type History as P, type IframeConfig as Q, type InitialHistory as R, type ItemSelector as S, type ItemWithId as T, type MappedItem as U, type Metadata as V, type NumberField as W, type ObjectField as X, type OnAction as Y, type OverrideKey as Z, type Overrides as _, type AppState as a, type Plugin as a0, type PluginInternal as a1, type PrivateAppState as a2, type PuckAction as a3, type PuckComponent as a4, type PuckContext as a5, type PuckMetadata as a6, type RadioField as a7, type ResolveDataTrigger as a8, type RichText as a9, type RichtextField as aa, type RootConfig as ab, type RootData as ac, type RootDataWithProps as ad, type RootDataWithoutProps as ae, type SelectField as af, type Slot as ag, type SlotComponent as ah, type SlotField as ai, type TextField as aj, type TextareaField as ak, type UiState as al, type UserGenerics as am, type Viewport as an, type Viewports as ao, type WithChildren as ap, type WithId as aq, type WithPuckProps as ar, type WithSlotProps as as, overrideKeys as at, type ArrayField as b, type ArrayState as c, type AsFieldProps as d, type BaseField as e, type ComponentConfig as f, type ComponentConfigExtensions as g, type ComponentConfigParams as h, type ComponentData as i, type ComponentDataMap as j, type ComponentDataOptionalId as k, type ComponentMetadata as l, type Config as m, type ConfigParams as n, type Content as o, type CustomField as p, type CustomFieldRender as q, type DefaultComponentProps as r, type DefaultComponents as s, type DefaultRootFieldProps as t, type DefaultRootProps as u, type DefaultRootRenderProps as v, type Direction as w, type DragAxis as x, type DropZoneProps as y, type ExternalFieldWithAdaptor as z };
846
+ export { type Overrides as $, type Adaptor as A, type BaseData as B, type CacheOpts as C, type Data as D, type ExternalField as E, type ExternalFieldWithAdaptor as F, type ExtractConfigParams as G, type ExtractField as H, type Field as I, type FieldMetadata as J, type FieldProps as K, type FieldRenderFunctions as L, type FieldTransformFn as M, type FieldTransformFnParams as N, type FieldTransforms as O, type Fields as P, type History as Q, type IframeConfig as R, type InitialHistory as S, type ItemSelector as T, type ItemWithId as U, type MappedItem as V, type Metadata as W, type NumberField as X, type ObjectField as Y, type OnAction as Z, type OverrideKey as _, type AppState as a, type Permissions as a0, type Plugin as a1, type PluginInternal as a2, type PrivateAppState as a3, type PuckAction as a4, type PuckComponent as a5, type PuckContext as a6, type PuckMetadata as a7, type RadioField as a8, type ResolveDataTrigger as a9, type RichText as aa, type RichtextField as ab, type RootConfig as ac, type RootData as ad, type RootDataWithProps as ae, type RootDataWithoutProps as af, type SelectField as ag, type Slot as ah, type SlotComponent as ai, type SlotField as aj, type TextField as ak, type TextareaField as al, type UiState as am, type UserGenerics as an, type Viewport as ao, type Viewports as ap, type WithChildren as aq, type WithId as ar, type WithPuckProps as as, type WithSlotProps as at, overrideKeys as au, type ArrayField as b, type ArrayState as c, type AsFieldProps as d, type BaseField as e, type ComponentConfig as f, type ComponentConfigExtensions as g, type ComponentConfigParams as h, type ComponentData as i, type ComponentDataMap as j, type ComponentDataOptionalId as k, type ComponentMetadata as l, type Config as m, type ConfigParams as n, type Content as o, type CustomField as p, type CustomFieldRender as q, type DefaultComponentProps as r, type DefaultComponents as s, type DefaultRootFieldProps as t, type DefaultRootProps as u, type DefaultRootRenderProps as v, type Direction as w, type DndConfig as x, type DragAxis as y, type DropZoneProps as z };
@@ -556,6 +556,8 @@ type UiState = {
556
556
  expanded?: boolean;
557
557
  }>;
558
558
  isDragging: boolean;
559
+ /** Outline items whose children are shown, keyed by item id */
560
+ itemExpanded?: Record<string, boolean>;
559
561
  viewports: {
560
562
  current: {
561
563
  width: number | "100%";
@@ -736,6 +738,10 @@ type IframeConfig = {
736
738
  waitForStyles?: boolean;
737
739
  syncHostStyles?: boolean;
738
740
  };
741
+ type DndConfig = {
742
+ disableAutoScroll?: boolean;
743
+ disableOutlineDrag?: boolean;
744
+ };
739
745
  type OnAction<UserData extends Data = Data> = (action: PuckAction, appState: AppState<UserData>, prevAppState: AppState<UserData>) => void;
740
746
  type Plugin<UserConfig extends Config = Config> = {
741
747
  name?: string;
@@ -837,4 +843,4 @@ type PuckAction = {
837
843
  recordHistory?: boolean;
838
844
  } & (ReorderAction | InsertAction | MoveAction | ReplaceAction | ReplaceRootAction | RemoveAction | DuplicateAction | SetAction | SetDataAction | SetUiAction | RegisterZoneAction | UnregisterZoneAction);
839
845
 
840
- export { type Permissions as $, type Adaptor as A, type BaseData as B, type CacheOpts as C, type Data as D, type ExternalField as E, type ExtractConfigParams as F, type ExtractField as G, type Field as H, type FieldMetadata as I, type FieldProps as J, type FieldRenderFunctions as K, type FieldTransformFn as L, type FieldTransformFnParams as M, type FieldTransforms as N, type Fields as O, type History as P, type IframeConfig as Q, type InitialHistory as R, type ItemSelector as S, type ItemWithId as T, type MappedItem as U, type Metadata as V, type NumberField as W, type ObjectField as X, type OnAction as Y, type OverrideKey as Z, type Overrides as _, type AppState as a, type Plugin as a0, type PluginInternal as a1, type PrivateAppState as a2, type PuckAction as a3, type PuckComponent as a4, type PuckContext as a5, type PuckMetadata as a6, type RadioField as a7, type ResolveDataTrigger as a8, type RichText as a9, type RichtextField as aa, type RootConfig as ab, type RootData as ac, type RootDataWithProps as ad, type RootDataWithoutProps as ae, type SelectField as af, type Slot as ag, type SlotComponent as ah, type SlotField as ai, type TextField as aj, type TextareaField as ak, type UiState as al, type UserGenerics as am, type Viewport as an, type Viewports as ao, type WithChildren as ap, type WithId as aq, type WithPuckProps as ar, type WithSlotProps as as, overrideKeys as at, type ArrayField as b, type ArrayState as c, type AsFieldProps as d, type BaseField as e, type ComponentConfig as f, type ComponentConfigExtensions as g, type ComponentConfigParams as h, type ComponentData as i, type ComponentDataMap as j, type ComponentDataOptionalId as k, type ComponentMetadata as l, type Config as m, type ConfigParams as n, type Content as o, type CustomField as p, type CustomFieldRender as q, type DefaultComponentProps as r, type DefaultComponents as s, type DefaultRootFieldProps as t, type DefaultRootProps as u, type DefaultRootRenderProps as v, type Direction as w, type DragAxis as x, type DropZoneProps as y, type ExternalFieldWithAdaptor as z };
846
+ export { type Overrides as $, type Adaptor as A, type BaseData as B, type CacheOpts as C, type Data as D, type ExternalField as E, type ExternalFieldWithAdaptor as F, type ExtractConfigParams as G, type ExtractField as H, type Field as I, type FieldMetadata as J, type FieldProps as K, type FieldRenderFunctions as L, type FieldTransformFn as M, type FieldTransformFnParams as N, type FieldTransforms as O, type Fields as P, type History as Q, type IframeConfig as R, type InitialHistory as S, type ItemSelector as T, type ItemWithId as U, type MappedItem as V, type Metadata as W, type NumberField as X, type ObjectField as Y, type OnAction as Z, type OverrideKey as _, type AppState as a, type Permissions as a0, type Plugin as a1, type PluginInternal as a2, type PrivateAppState as a3, type PuckAction as a4, type PuckComponent as a5, type PuckContext as a6, type PuckMetadata as a7, type RadioField as a8, type ResolveDataTrigger as a9, type RichText as aa, type RichtextField as ab, type RootConfig as ac, type RootData as ad, type RootDataWithProps as ae, type RootDataWithoutProps as af, type SelectField as ag, type Slot as ah, type SlotComponent as ai, type SlotField as aj, type TextField as ak, type TextareaField as al, type UiState as am, type UserGenerics as an, type Viewport as ao, type Viewports as ap, type WithChildren as aq, type WithId as ar, type WithPuckProps as as, type WithSlotProps as at, overrideKeys as au, type ArrayField as b, type ArrayState as c, type AsFieldProps as d, type BaseField as e, type ComponentConfig as f, type ComponentConfigExtensions as g, type ComponentConfigParams as h, type ComponentData as i, type ComponentDataMap as j, type ComponentDataOptionalId as k, type ComponentMetadata as l, type Config as m, type ConfigParams as n, type Content as o, type CustomField as p, type CustomFieldRender as q, type DefaultComponentProps as r, type DefaultComponents as s, type DefaultRootFieldProps as t, type DefaultRootProps as u, type DefaultRootRenderProps as v, type Direction as w, type DndConfig as x, type DragAxis as y, type DropZoneProps as z };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  useAlignOptions
3
- } from "./chunk-EYJW64M2.mjs";
3
+ } from "./chunk-OSPG5CWL.mjs";
4
4
  import {
5
5
  useHeadingOptions
6
- } from "./chunk-MU6IPW26.mjs";
6
+ } from "./chunk-OCFR2FFG.mjs";
7
7
  import {
8
8
  useListOptions
9
- } from "./chunk-HB4CVO3I.mjs";
9
+ } from "./chunk-L73ATZ55.mjs";
10
10
  import {
11
11
  Action,
12
12
  AlignCenter,
@@ -29,7 +29,7 @@ import {
29
29
  Underline,
30
30
  useControlContext,
31
31
  useMessage
32
- } from "./chunk-JHNG6XYK.mjs";
32
+ } from "./chunk-DIYX54ZO.mjs";
33
33
  import {
34
34
  get_class_name_factory_default
35
35
  } from "./chunk-Y2EFNT5P.mjs";
@@ -204,7 +204,7 @@ function AlignSelectFallback() {
204
204
  // components/RichTextMenu/controls/AlignSelect/index.tsx
205
205
  import { jsx as jsx7 } from "react/jsx-runtime";
206
206
  var AlignSelectLoaded = lazy(
207
- () => import("./loaded-PF5Y4VWH.mjs").then((m) => ({
207
+ () => import("./loaded-4XVG2RKQ.mjs").then((m) => ({
208
208
  default: m.AlignSelectLoaded
209
209
  }))
210
210
  );
@@ -445,7 +445,7 @@ function HeadingSelectFallback() {
445
445
  // components/RichTextMenu/controls/HeadingSelect/index.tsx
446
446
  import { jsx as jsx19 } from "react/jsx-runtime";
447
447
  var HeadingSelectLoaded = lazy2(
448
- () => import("./loaded-6YDNF4HS.mjs").then((m) => ({
448
+ () => import("./loaded-VBJBTUSI.mjs").then((m) => ({
449
449
  default: m.HeadingSelectLoaded
450
450
  }))
451
451
  );
@@ -477,7 +477,7 @@ function ListSelectFallback() {
477
477
  // components/RichTextMenu/controls/ListSelect/index.tsx
478
478
  import { jsx as jsx21 } from "react/jsx-runtime";
479
479
  var ListSelectLoaded = lazy3(
480
- () => import("./loaded-35D7XAOE.mjs").then((m) => ({
480
+ () => import("./loaded-LM723CWI.mjs").then((m) => ({
481
481
  default: m.ListSelectLoaded
482
482
  }))
483
483
  );
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  defaultAppState,
6
6
  resolveComponentData
7
- } from "./chunk-WUO7D6OQ.mjs";
7
+ } from "./chunk-NPAYGEG5.mjs";
8
8
  import {
9
9
  get_class_name_factory_default
10
10
  } from "./chunk-Y2EFNT5P.mjs";
@@ -3,13 +3,13 @@ import {
3
3
  generateId,
4
4
  getItem,
5
5
  makeStatePublic
6
- } from "./chunk-25QAPMLH.mjs";
6
+ } from "./chunk-UAWUZ45G.mjs";
7
7
  import {
8
8
  defaultAppState,
9
9
  defaultViewports,
10
10
  getChanged,
11
11
  resolveComponentData
12
- } from "./chunk-WUO7D6OQ.mjs";
12
+ } from "./chunk-NPAYGEG5.mjs";
13
13
  import {
14
14
  get_class_name_factory_default
15
15
  } from "./chunk-Y2EFNT5P.mjs";
@@ -243,6 +243,13 @@ var ChevronRight = createLucideIcon("ChevronRight", [
243
243
  init_react_import();
244
244
  var ChevronUp = createLucideIcon("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
245
245
 
246
+ // ../../node_modules/lucide-react/dist/esm/icons/chevrons-down-up.js
247
+ init_react_import();
248
+ var ChevronsDownUp = createLucideIcon("ChevronsDownUp", [
249
+ ["path", { d: "m7 20 5-5 5 5", key: "13a0gw" }],
250
+ ["path", { d: "m7 4 5 5 5-5", key: "1kwcof" }]
251
+ ]);
252
+
246
253
  // ../../node_modules/lucide-react/dist/esm/icons/circle-check-big.js
247
254
  init_react_import();
248
255
  var CircleCheckBig = createLucideIcon("CircleCheckBig", [
@@ -1246,6 +1253,7 @@ var createAppStore = (initialAppStore) => create2()(
1246
1253
  _experimentalVirtualization: false,
1247
1254
  metadata: {},
1248
1255
  dictionary: {},
1256
+ dnd: {},
1249
1257
  fieldTransforms: {}
1250
1258
  }, initialAppStore), {
1251
1259
  fields: createFieldsSlice(set, get),
@@ -1429,7 +1437,7 @@ import { forwardRef as forwardRef4, useState } from "react";
1429
1437
 
1430
1438
  // css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css#css-module
1431
1439
  init_react_import();
1432
- var IconButton_module_default = { "IconButton": "_IconButton_yuha3_1", "IconButton--active": "_IconButton--active_yuha3_15", "IconButton--disabled": "_IconButton--disabled_yuha3_28" };
1440
+ var IconButton_module_default = { "IconButton": "_IconButton_1pxxt_1", "IconButton--active": "_IconButton--active_1pxxt_15", "IconButton--disabled": "_IconButton--disabled_1pxxt_28" };
1433
1441
 
1434
1442
  // components/Loader/index.tsx
1435
1443
  init_react_import();
@@ -1654,8 +1662,12 @@ var defaultDictionary = {
1654
1662
  "label-component": "Component",
1655
1663
  // Outline
1656
1664
  "outline-empty": "No items",
1657
- "outline-collapse": "Collapse",
1658
- "outline-expand": "Expand",
1665
+ "outline-item-collapse": "Collapse",
1666
+ "outline-item-expand": "Expand",
1667
+ "outline-header-title": "Outline",
1668
+ "outline-header-collapseall": "Collapse all",
1669
+ "outline-item-duplicate": "Duplicate",
1670
+ "outline-item-delete": "Delete",
1659
1671
  // Drawer (component list)
1660
1672
  "drawer-category-collapse": "Collapse {title}",
1661
1673
  "drawer-category-expand": "Expand {title}",
@@ -1974,6 +1986,7 @@ export {
1974
1986
  ChevronDown,
1975
1987
  ChevronRight,
1976
1988
  ChevronUp,
1989
+ ChevronsDownUp,
1977
1990
  CircleCheckBig,
1978
1991
  Code,
1979
1992
  Copy,
@@ -2059,6 +2072,7 @@ lucide-react/dist/esm/icons/bold.js:
2059
2072
  lucide-react/dist/esm/icons/chevron-down.js:
2060
2073
  lucide-react/dist/esm/icons/chevron-right.js:
2061
2074
  lucide-react/dist/esm/icons/chevron-up.js:
2075
+ lucide-react/dist/esm/icons/chevrons-down-up.js:
2062
2076
  lucide-react/dist/esm/icons/circle-check-big.js:
2063
2077
  lucide-react/dist/esm/icons/code.js:
2064
2078
  lucide-react/dist/esm/icons/copy.js:
@@ -2,7 +2,7 @@ import {
2
2
  List,
3
3
  ListOrdered,
4
4
  useMessage
5
- } from "./chunk-JHNG6XYK.mjs";
5
+ } from "./chunk-DIYX54ZO.mjs";
6
6
  import {
7
7
  init_react_import
8
8
  } from "./chunk-M6W7YEVX.mjs";
@@ -124,6 +124,7 @@ var defaultAppState = {
124
124
  itemSelector: null,
125
125
  componentList: {},
126
126
  isDragging: false,
127
+ itemExpanded: {},
127
128
  previewMode: "edit",
128
129
  viewports: {
129
130
  current: {
@@ -6,7 +6,7 @@ import {
6
6
  Heading5,
7
7
  Heading6,
8
8
  useMessage
9
- } from "./chunk-JHNG6XYK.mjs";
9
+ } from "./chunk-DIYX54ZO.mjs";
10
10
  import {
11
11
  init_react_import
12
12
  } from "./chunk-M6W7YEVX.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  AlignLeft,
5
5
  AlignRight,
6
6
  useMessage
7
- } from "./chunk-JHNG6XYK.mjs";
7
+ } from "./chunk-DIYX54ZO.mjs";
8
8
  import {
9
9
  init_react_import
10
10
  } from "./chunk-M6W7YEVX.mjs";
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-H635BA2V.mjs";
4
4
  import {
5
5
  LoadedRichTextMenuInner
6
- } from "./chunk-WQV7W7OC.mjs";
6
+ } from "./chunk-3OLRWMRO.mjs";
7
7
  import {
8
8
  useAppStore,
9
9
  useAppStoreApi
10
- } from "./chunk-JHNG6XYK.mjs";
10
+ } from "./chunk-DIYX54ZO.mjs";
11
11
  import {
12
12
  get_class_name_factory_default
13
13
  } from "./chunk-Y2EFNT5P.mjs";
@@ -100,7 +100,7 @@ init_react_import();
100
100
  import { lazy, Suspense } from "react";
101
101
  import { jsx as jsx2 } from "react/jsx-runtime";
102
102
  var LoadedRichTextMenuFull = lazy(
103
- () => import("./full-7ONH7UPJ.mjs").then((m) => ({
103
+ () => import("./full-67VCA5MX.mjs").then((m) => ({
104
104
  default: m.LoadedRichTextMenuFull
105
105
  }))
106
106
  );