@zealicsolutions/web-ui 1.0.140-beta.123 → 1.0.140-beta.124
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/cjs/containers/types/moleculeTypes.d.ts +4 -4
- package/dist/cjs/contexts/OrganismContext/OrganismContext.d.ts +1 -0
- package/dist/cjs/helpers/utils.d.ts +2 -0
- package/dist/cjs/index.js +32 -32
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/containers/ReplicatorContainer/ReplicatorContainer.js.map +1 -1
- package/dist/esm/containers/types/moleculeTypes.d.ts +4 -4
- package/dist/esm/contexts/OrganismContext/OrganismContext.d.ts +1 -0
- package/dist/esm/contexts/OrganismContext/OrganismContext.js.map +1 -1
- package/dist/esm/helpers/utils.d.ts +2 -0
- package/dist/esm/helpers/utils.js +1 -1
- package/dist/esm/helpers/utils.js.map +1 -1
- package/dist/esm/molecules/Button/hooks/useButtonAction.js +1 -1
- package/dist/esm/molecules/Button/hooks/useButtonAction.js.map +1 -1
- package/dist/esm/molecules/Link/Link.js +1 -1
- package/dist/esm/molecules/Link/Link.js.map +1 -1
- package/dist/esm/molecules/Menu/Menu.js +1 -1
- package/dist/esm/molecules/Menu/Menu.js.map +1 -1
- package/package.json +1 -1
|
@@ -114,10 +114,10 @@ export interface LinkProperties {
|
|
|
114
114
|
externalLink?: Nullable<string>;
|
|
115
115
|
name?: string;
|
|
116
116
|
required?: boolean;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
dataDrivenLinkType?: string;
|
|
118
|
+
internalLinkFieldId?: string;
|
|
119
|
+
externalLinkFieldId?: string;
|
|
120
|
+
rwoRecordIdFieldId?: string;
|
|
121
121
|
}
|
|
122
122
|
export interface BooleanProperties {
|
|
123
123
|
attributeType: 'boolean';
|
|
@@ -37,6 +37,7 @@ export type OrganismContextType = {
|
|
|
37
37
|
currentContentProperties: Record<string, string>;
|
|
38
38
|
onInternalNavigation: (args: {
|
|
39
39
|
link: string;
|
|
40
|
+
webpageAlias?: string;
|
|
40
41
|
state?: Record<string, unknown>;
|
|
41
42
|
query?: Record<string, string | number | boolean | undefined>;
|
|
42
43
|
}) => void;
|
|
@@ -52,6 +52,8 @@ export interface ResolvedDataDrivenLink {
|
|
|
52
52
|
isExternal: boolean;
|
|
53
53
|
/** Optional record ID to pass to destination (internal only) */
|
|
54
54
|
recordId?: string;
|
|
55
|
+
/** Optional page alias (internal) to allow host to resolve webpageId */
|
|
56
|
+
webpageAlias?: string;
|
|
55
57
|
}
|
|
56
58
|
/**
|
|
57
59
|
* Resolves a data-driven link to its destination and determines navigation type
|