@measured/puck 0.21.0-canary.7dca3a5a → 0.21.0-canary.7ed9655b
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.
- package/dist/{chunk-6SIKCDJJ.mjs → chunk-IDP5ATXM.mjs} +11 -10
- package/dist/{chunk-FKDVYRQW.mjs → chunk-QOZ6ZSWO.mjs} +1001 -1080
- package/dist/index.css +35 -34
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1282 -1368
- package/dist/index.mjs +2 -2
- package/dist/no-external.css +35 -34
- package/dist/no-external.d.mts +1 -1
- package/dist/no-external.d.ts +1 -1
- package/dist/no-external.js +1279 -1365
- package/dist/no-external.mjs +2 -2
- package/dist/rsc.d.mts +2 -2
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.js +11 -10
- package/dist/rsc.mjs +1 -1
- package/dist/{walk-tree-DS1xB387.d.mts → walk-tree-CI7CLsRf.d.mts} +9 -5
- package/dist/{walk-tree-DS1xB387.d.ts → walk-tree-CI7CLsRf.d.ts} +9 -5
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1567,24 +1567,25 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
|
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
1569
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Layout/styles.module.css/#css-module-data */
|
|
1570
|
-
.
|
|
1570
|
+
._Puck_lqzmv_19 {
|
|
1571
1571
|
--puck-space-px: 16px;
|
|
1572
1572
|
font-family: var(--puck-font-family);
|
|
1573
|
+
height: 100%;
|
|
1573
1574
|
overflow-x: hidden;
|
|
1574
1575
|
}
|
|
1575
1576
|
@media (min-width: 766px) {
|
|
1576
|
-
.
|
|
1577
|
+
._Puck_lqzmv_19 {
|
|
1577
1578
|
overflow-x: auto;
|
|
1578
1579
|
}
|
|
1579
1580
|
}
|
|
1580
|
-
._Puck-
|
|
1581
|
+
._Puck-portal_lqzmv_32 {
|
|
1581
1582
|
position: relative;
|
|
1582
1583
|
z-index: 2;
|
|
1583
1584
|
}
|
|
1584
|
-
.
|
|
1585
|
-
height:
|
|
1585
|
+
._PuckLayout_lqzmv_37 {
|
|
1586
|
+
height: 100dvh;
|
|
1586
1587
|
}
|
|
1587
|
-
._PuckLayout-
|
|
1588
|
+
._PuckLayout-inner_lqzmv_41 {
|
|
1588
1589
|
--puck-frame-width: auto;
|
|
1589
1590
|
--puck-side-nav-width: min-content;
|
|
1590
1591
|
--puck-side-bar-width: 0px;
|
|
@@ -1602,87 +1603,87 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
|
|
|
1602
1603
|
overflow: hidden;
|
|
1603
1604
|
}
|
|
1604
1605
|
@media (min-width: 638px) {
|
|
1605
|
-
._PuckLayout-
|
|
1606
|
+
._PuckLayout-inner_lqzmv_41 {
|
|
1606
1607
|
--puck-side-nav-width: 68px;
|
|
1607
1608
|
grid-template-areas: "header header header header" "sidenav left editor right";
|
|
1608
1609
|
grid-template-columns: var(--puck-side-nav-width) 0 var(--puck-frame-width) 0;
|
|
1609
1610
|
grid-template-rows: min-content auto;
|
|
1610
1611
|
}
|
|
1611
1612
|
}
|
|
1612
|
-
._PuckLayout--
|
|
1613
|
+
._PuckLayout--mounted_lqzmv_74 ._PuckLayout-inner_lqzmv_41 {
|
|
1613
1614
|
--puck-side-bar-width: 186px;
|
|
1614
1615
|
}
|
|
1615
|
-
._PuckLayout--
|
|
1616
|
+
._PuckLayout--mobilePanelHeightToggle_lqzmv_78._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-inner_lqzmv_41 {
|
|
1616
1617
|
grid-template-rows: 0 auto 30% 0 var(--puck-side-nav-width);
|
|
1617
1618
|
}
|
|
1618
|
-
._PuckLayout--
|
|
1619
|
+
._PuckLayout--mobilePanelHeightToggle_lqzmv_78._PuckLayout--leftSideBarVisible_lqzmv_78._PuckLayout--isExpanded_lqzmv_84 ._PuckLayout-inner_lqzmv_41 {
|
|
1619
1620
|
grid-template-rows: 0 auto 55% 0 var(--puck-side-nav-width);
|
|
1620
1621
|
}
|
|
1621
1622
|
@media (min-width: 638px) {
|
|
1622
|
-
._PuckLayout--
|
|
1623
|
+
._PuckLayout--mobilePanelHeightToggle_lqzmv_78._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-inner_lqzmv_41 {
|
|
1623
1624
|
grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) 0;
|
|
1624
1625
|
grid-template-rows: min-content auto;
|
|
1625
1626
|
}
|
|
1626
1627
|
}
|
|
1627
|
-
._PuckLayout--
|
|
1628
|
-
._PuckLayout--
|
|
1628
|
+
._PuckLayout--mobilePanelHeightMinContent_lqzmv_102._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-inner_lqzmv_41,
|
|
1629
|
+
._PuckLayout--mobilePanelHeightMinContent_lqzmv_102._PuckLayout--leftSideBarVisible_lqzmv_78._PuckLayout--isExpanded_lqzmv_84 ._PuckLayout-inner_lqzmv_41 {
|
|
1629
1630
|
grid-template-rows: 0 auto min-content 0 var(--puck-side-nav-width);
|
|
1630
1631
|
}
|
|
1631
1632
|
@media (min-width: 638px) {
|
|
1632
|
-
._PuckLayout--
|
|
1633
|
-
._PuckLayout--
|
|
1634
|
-
._PuckLayout--
|
|
1635
|
-
._PuckLayout--
|
|
1633
|
+
._PuckLayout--mobilePanelHeightToggle_lqzmv_78._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-inner_lqzmv_41,
|
|
1634
|
+
._PuckLayout--mobilePanelHeightToggle_lqzmv_78._PuckLayout--leftSideBarVisible_lqzmv_78._PuckLayout--isExpanded_lqzmv_84 ._PuckLayout-inner_lqzmv_41,
|
|
1635
|
+
._PuckLayout--mobilePanelHeightMinContent_lqzmv_102._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-inner_lqzmv_41,
|
|
1636
|
+
._PuckLayout--mobilePanelHeightMinContent_lqzmv_102._PuckLayout--leftSideBarVisible_lqzmv_78._PuckLayout--isExpanded_lqzmv_84 ._PuckLayout-inner_lqzmv_41 {
|
|
1636
1637
|
grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) 0;
|
|
1637
1638
|
grid-template-rows: min-content auto;
|
|
1638
1639
|
}
|
|
1639
1640
|
}
|
|
1640
1641
|
@media (min-width: 638px) {
|
|
1641
|
-
._PuckLayout--
|
|
1642
|
+
._PuckLayout--rightSideBarVisible_lqzmv_129 ._PuckLayout-inner_lqzmv_41 {
|
|
1642
1643
|
grid-template-columns: var(--puck-side-nav-width) 0 var(--puck-frame-width) var(--puck-right-side-bar-width);
|
|
1643
1644
|
}
|
|
1644
1645
|
}
|
|
1645
1646
|
@media (min-width: 638px) {
|
|
1646
|
-
._PuckLayout--
|
|
1647
|
+
._PuckLayout--leftSideBarVisible_lqzmv_78._PuckLayout--rightSideBarVisible_lqzmv_129 ._PuckLayout-inner_lqzmv_41 {
|
|
1647
1648
|
grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) var(--puck-right-side-bar-width);
|
|
1648
1649
|
}
|
|
1649
1650
|
}
|
|
1650
1651
|
@media (min-width: 458px) {
|
|
1651
|
-
._PuckLayout-
|
|
1652
|
+
._PuckLayout-mounted_lqzmv_148 ._PuckLayout-inner_lqzmv_41 {
|
|
1652
1653
|
--puck-frame-width: minmax(266px, auto);
|
|
1653
1654
|
}
|
|
1654
1655
|
}
|
|
1655
1656
|
@media (min-width: 638px) {
|
|
1656
|
-
.
|
|
1657
|
+
._PuckLayout_lqzmv_37 ._PuckLayout-inner_lqzmv_41 {
|
|
1657
1658
|
--puck-side-bar-width: minmax(186px, 250px);
|
|
1658
1659
|
}
|
|
1659
1660
|
}
|
|
1660
1661
|
@media (min-width: 766px) {
|
|
1661
|
-
.
|
|
1662
|
+
._PuckLayout_lqzmv_37 ._PuckLayout-inner_lqzmv_41 {
|
|
1662
1663
|
--puck-frame-width: auto;
|
|
1663
1664
|
}
|
|
1664
1665
|
}
|
|
1665
1666
|
@media (min-width: 990px) {
|
|
1666
|
-
.
|
|
1667
|
+
._PuckLayout_lqzmv_37 ._PuckLayout-inner_lqzmv_41 {
|
|
1667
1668
|
--puck-side-bar-width: 256px;
|
|
1668
1669
|
}
|
|
1669
1670
|
}
|
|
1670
1671
|
@media (min-width: 1198px) {
|
|
1671
|
-
.
|
|
1672
|
+
._PuckLayout_lqzmv_37 ._PuckLayout-inner_lqzmv_41 {
|
|
1672
1673
|
--puck-side-bar-width: 274px;
|
|
1673
1674
|
}
|
|
1674
1675
|
}
|
|
1675
1676
|
@media (min-width: 1398px) {
|
|
1676
|
-
.
|
|
1677
|
+
._PuckLayout_lqzmv_37 ._PuckLayout-inner_lqzmv_41 {
|
|
1677
1678
|
--puck-side-bar-width: 290px;
|
|
1678
1679
|
}
|
|
1679
1680
|
}
|
|
1680
1681
|
@media (min-width: 1598px) {
|
|
1681
|
-
.
|
|
1682
|
+
._PuckLayout_lqzmv_37 ._PuckLayout-inner_lqzmv_41 {
|
|
1682
1683
|
--puck-side-bar-width: 320px;
|
|
1683
1684
|
}
|
|
1684
1685
|
}
|
|
1685
|
-
._PuckLayout-
|
|
1686
|
+
._PuckLayout-nav_lqzmv_189 {
|
|
1686
1687
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
1687
1688
|
background-color: var(--puck-color-grey-12);
|
|
1688
1689
|
grid-area: sidenav;
|
|
@@ -1690,33 +1691,33 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
|
|
|
1690
1691
|
width: 100%;
|
|
1691
1692
|
}
|
|
1692
1693
|
@media (min-width: 638px) {
|
|
1693
|
-
._PuckLayout-
|
|
1694
|
+
._PuckLayout-nav_lqzmv_189 {
|
|
1694
1695
|
border-top: 0;
|
|
1695
1696
|
border-right: 1px solid var(--puck-color-grey-09);
|
|
1696
1697
|
box-sizing: border-box;
|
|
1697
1698
|
}
|
|
1698
1699
|
}
|
|
1699
|
-
._PuckLayout-
|
|
1700
|
+
._PuckLayout-header_lqzmv_205 {
|
|
1700
1701
|
grid-area: header;
|
|
1701
1702
|
}
|
|
1702
|
-
._PuckLayout--
|
|
1703
|
+
._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-header_lqzmv_205 {
|
|
1703
1704
|
overflow: hidden;
|
|
1704
1705
|
}
|
|
1705
1706
|
@media (min-width: 638px) {
|
|
1706
|
-
._PuckLayout--
|
|
1707
|
+
._PuckLayout--leftSideBarVisible_lqzmv_78 ._PuckLayout-header_lqzmv_205 {
|
|
1707
1708
|
overflow: auto;
|
|
1708
1709
|
}
|
|
1709
1710
|
}
|
|
1710
|
-
.
|
|
1711
|
+
._PuckPluginTab_lqzmv_219 {
|
|
1711
1712
|
display: none;
|
|
1712
1713
|
flex-grow: 1;
|
|
1713
1714
|
overflow: hidden;
|
|
1714
1715
|
}
|
|
1715
|
-
._PuckPluginTab--
|
|
1716
|
+
._PuckPluginTab--visible_lqzmv_225 {
|
|
1716
1717
|
display: flex;
|
|
1717
1718
|
flex-direction: column;
|
|
1718
1719
|
}
|
|
1719
|
-
._PuckPluginTab-
|
|
1720
|
+
._PuckPluginTab-body_lqzmv_230 {
|
|
1720
1721
|
flex-grow: 1;
|
|
1721
1722
|
overflow: hidden;
|
|
1722
1723
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as History, P as Permissions, a as ComponentData, C as Config, U as UserGenerics, F as Fields, b as PuckAction, R as RootDataWithProps, c as ResolveDataTrigger, d as Plugin, O as Overrides, V as Viewports, I as IframeConfig, e as UiState, f as ComponentConfig, A as AppState, M as Metadata, g as FieldTransforms, h as Field, i as FieldProps, D as DropZoneProps, j as Data, k as OnAction, l as InitialHistory, n as ItemSelector, o as PluginInternal } from './walk-tree-
|
|
2
|
-
export { ae as Adaptor, ac as ArrayField, E as ArrayState, as as AsFieldProps, Y as BaseData, a6 as BaseField, ag as CacheOpts, K as ComponentConfigExtensions, X as ComponentConfigParams, a1 as ComponentDataMap, $ as ComponentDataOptionalId, a4 as ComponentMetadata, T as ConfigParams, a2 as Content, aj as CustomField, ai as CustomFieldRender, ap as DefaultComponentProps, N as DefaultComponents, am as DefaultRootFieldProps, ao as DefaultRootProps, an as DefaultRootRenderProps, p as Direction, q as DragAxis, ah as ExternalField, af as ExternalFieldWithAdaptor, Q as ExtractConfigParams, au as ExtractField, a5 as FieldMetadata, z as FieldRenderFunctions, v as FieldTransformFn, u as FieldTransformFnParams, B as ItemWithId, a0 as MappedItem, a8 as NumberField, ad as ObjectField, y as OverrideKey, J as PuckComponent, al as PuckContext, a3 as PuckMetadata, ab as RadioField, L as RootConfig, _ as RootData, Z as RootDataWithoutProps, aa as SelectField, S as Slot, G as SlotComponent, ak as SlotField, a7 as TextField, a9 as TextareaField, s as Viewport, at as WithChildren, aq as WithId, ar as WithPuckProps, W as WithSlotProps, m as migrate, x as overrideKeys, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-
|
|
1
|
+
import { H as History, P as Permissions, a as ComponentData, C as Config, U as UserGenerics, F as Fields, b as PuckAction, R as RootDataWithProps, c as ResolveDataTrigger, d as Plugin, O as Overrides, V as Viewports, I as IframeConfig, e as UiState, f as ComponentConfig, A as AppState, M as Metadata, g as FieldTransforms, h as Field, i as FieldProps, D as DropZoneProps, j as Data, k as OnAction, l as InitialHistory, n as ItemSelector, o as PluginInternal } from './walk-tree-CI7CLsRf.mjs';
|
|
2
|
+
export { ae as Adaptor, ac as ArrayField, E as ArrayState, as as AsFieldProps, Y as BaseData, a6 as BaseField, ag as CacheOpts, K as ComponentConfigExtensions, X as ComponentConfigParams, a1 as ComponentDataMap, $ as ComponentDataOptionalId, a4 as ComponentMetadata, T as ConfigParams, a2 as Content, aj as CustomField, ai as CustomFieldRender, ap as DefaultComponentProps, N as DefaultComponents, am as DefaultRootFieldProps, ao as DefaultRootProps, an as DefaultRootRenderProps, p as Direction, q as DragAxis, ah as ExternalField, af as ExternalFieldWithAdaptor, Q as ExtractConfigParams, au as ExtractField, a5 as FieldMetadata, z as FieldRenderFunctions, v as FieldTransformFn, u as FieldTransformFnParams, B as ItemWithId, a0 as MappedItem, a8 as NumberField, ad as ObjectField, y as OverrideKey, J as PuckComponent, al as PuckContext, a3 as PuckMetadata, ab as RadioField, L as RootConfig, _ as RootData, Z as RootDataWithoutProps, aa as SelectField, S as Slot, G as SlotComponent, ak as SlotField, a7 as TextField, a9 as TextareaField, s as Viewport, at as WithChildren, aq as WithId, ar as WithPuckProps, W as WithSlotProps, m as migrate, x as overrideKeys, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-CI7CLsRf.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import react__default, { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
|
|
@@ -47,6 +47,7 @@ type RefreshPermissions<UserConfig extends Config = Config> = (params?: Permissi
|
|
|
47
47
|
type Cache = Record<string, {
|
|
48
48
|
lastPermissions: Partial<Permissions>;
|
|
49
49
|
lastData: ComponentData | null;
|
|
50
|
+
lastParentId: string | null;
|
|
50
51
|
}>;
|
|
51
52
|
type PermissionsSlice = {
|
|
52
53
|
cache: Cache;
|
|
@@ -275,6 +276,7 @@ type UsePuckData<UserConfig extends Config = Config, G extends UserGenerics<User
|
|
|
275
276
|
getItemBySelector: (selector: ItemSelector) => G["UserComponentData"] | undefined;
|
|
276
277
|
getItemById: (id: string) => G["UserComponentData"] | undefined;
|
|
277
278
|
getSelectorForId: (id: string) => Required<ItemSelector> | undefined;
|
|
279
|
+
getParentById: (id: string) => ComponentData | undefined;
|
|
278
280
|
history: {
|
|
279
281
|
back: HistorySlice["back"];
|
|
280
282
|
forward: HistorySlice["forward"];
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as History, P as Permissions, a as ComponentData, C as Config, U as UserGenerics, F as Fields, b as PuckAction, R as RootDataWithProps, c as ResolveDataTrigger, d as Plugin, O as Overrides, V as Viewports, I as IframeConfig, e as UiState, f as ComponentConfig, A as AppState, M as Metadata, g as FieldTransforms, h as Field, i as FieldProps, D as DropZoneProps, j as Data, k as OnAction, l as InitialHistory, n as ItemSelector, o as PluginInternal } from './walk-tree-
|
|
2
|
-
export { ae as Adaptor, ac as ArrayField, E as ArrayState, as as AsFieldProps, Y as BaseData, a6 as BaseField, ag as CacheOpts, K as ComponentConfigExtensions, X as ComponentConfigParams, a1 as ComponentDataMap, $ as ComponentDataOptionalId, a4 as ComponentMetadata, T as ConfigParams, a2 as Content, aj as CustomField, ai as CustomFieldRender, ap as DefaultComponentProps, N as DefaultComponents, am as DefaultRootFieldProps, ao as DefaultRootProps, an as DefaultRootRenderProps, p as Direction, q as DragAxis, ah as ExternalField, af as ExternalFieldWithAdaptor, Q as ExtractConfigParams, au as ExtractField, a5 as FieldMetadata, z as FieldRenderFunctions, v as FieldTransformFn, u as FieldTransformFnParams, B as ItemWithId, a0 as MappedItem, a8 as NumberField, ad as ObjectField, y as OverrideKey, J as PuckComponent, al as PuckContext, a3 as PuckMetadata, ab as RadioField, L as RootConfig, _ as RootData, Z as RootDataWithoutProps, aa as SelectField, S as Slot, G as SlotComponent, ak as SlotField, a7 as TextField, a9 as TextareaField, s as Viewport, at as WithChildren, aq as WithId, ar as WithPuckProps, W as WithSlotProps, m as migrate, x as overrideKeys, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-
|
|
1
|
+
import { H as History, P as Permissions, a as ComponentData, C as Config, U as UserGenerics, F as Fields, b as PuckAction, R as RootDataWithProps, c as ResolveDataTrigger, d as Plugin, O as Overrides, V as Viewports, I as IframeConfig, e as UiState, f as ComponentConfig, A as AppState, M as Metadata, g as FieldTransforms, h as Field, i as FieldProps, D as DropZoneProps, j as Data, k as OnAction, l as InitialHistory, n as ItemSelector, o as PluginInternal } from './walk-tree-CI7CLsRf.js';
|
|
2
|
+
export { ae as Adaptor, ac as ArrayField, E as ArrayState, as as AsFieldProps, Y as BaseData, a6 as BaseField, ag as CacheOpts, K as ComponentConfigExtensions, X as ComponentConfigParams, a1 as ComponentDataMap, $ as ComponentDataOptionalId, a4 as ComponentMetadata, T as ConfigParams, a2 as Content, aj as CustomField, ai as CustomFieldRender, ap as DefaultComponentProps, N as DefaultComponents, am as DefaultRootFieldProps, ao as DefaultRootProps, an as DefaultRootRenderProps, p as Direction, q as DragAxis, ah as ExternalField, af as ExternalFieldWithAdaptor, Q as ExtractConfigParams, au as ExtractField, a5 as FieldMetadata, z as FieldRenderFunctions, v as FieldTransformFn, u as FieldTransformFnParams, B as ItemWithId, a0 as MappedItem, a8 as NumberField, ad as ObjectField, y as OverrideKey, J as PuckComponent, al as PuckContext, a3 as PuckMetadata, ab as RadioField, L as RootConfig, _ as RootData, Z as RootDataWithoutProps, aa as SelectField, S as Slot, G as SlotComponent, ak as SlotField, a7 as TextField, a9 as TextareaField, s as Viewport, at as WithChildren, aq as WithId, ar as WithPuckProps, W as WithSlotProps, m as migrate, x as overrideKeys, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-CI7CLsRf.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import react__default, { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
|
|
@@ -47,6 +47,7 @@ type RefreshPermissions<UserConfig extends Config = Config> = (params?: Permissi
|
|
|
47
47
|
type Cache = Record<string, {
|
|
48
48
|
lastPermissions: Partial<Permissions>;
|
|
49
49
|
lastData: ComponentData | null;
|
|
50
|
+
lastParentId: string | null;
|
|
50
51
|
}>;
|
|
51
52
|
type PermissionsSlice = {
|
|
52
53
|
cache: Cache;
|
|
@@ -275,6 +276,7 @@ type UsePuckData<UserConfig extends Config = Config, G extends UserGenerics<User
|
|
|
275
276
|
getItemBySelector: (selector: ItemSelector) => G["UserComponentData"] | undefined;
|
|
276
277
|
getItemById: (id: string) => G["UserComponentData"] | undefined;
|
|
277
278
|
getSelectorForId: (id: string) => Required<ItemSelector> | undefined;
|
|
279
|
+
getParentById: (id: string) => ComponentData | undefined;
|
|
278
280
|
history: {
|
|
279
281
|
back: HistorySlice["back"];
|
|
280
282
|
forward: HistorySlice["forward"];
|