@tridion-sites/extensions 3.0.0 → 3.2.0

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/CHANGELOG.md CHANGED
@@ -1,83 +1,122 @@
1
1
  # @tridion-sites/extensions
2
2
 
3
+ ## 3.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - edc11cc: Add proccessing state for Ok button of the Modal footer component
8
+ - 3512d64: Add new accessibility variables and colors
9
+ - 4788821: Add info menu extension point
10
+ - e99c6e4: Add AccessControl extension point and it's dependencies.
11
+ - a4fda02: Add `revertProcess` activitiesExplorerActionId
12
+ - afdf8b0: deprecate `onUpdate` in favor of `updateItem`
13
+ - cf7b3ba: Add `finishprocess` activitiesExplorerActionId
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [c8abfb1], [482b9d1], [bc98a17], [a7a8cd6], [68fd3dc], [77cdc6c], [a4fda02], [cf7b3ba]
18
+ - @tridion-sites/models@2.2.0
19
+ - @tridion-sites/open-api-client@4.2.0
20
+
21
+ ## 3.1.0
22
+
23
+ ### Minor Changes
24
+
25
+ - 54bfc05: add search panel id, align naming for panel types
26
+ - a26e909: add favorites management actions
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies
31
+ - @tridion-sites/open-api-client@4.1.0
32
+ - @tridion-sites/models@2.1.0
33
+
34
+ ## 3.0.1
35
+
36
+ ### Patch Changes
37
+
38
+ - Fix bug in mapToModel()
39
+ - Updated dependencies
40
+ - @tridion-sites/models@2.0.1
41
+
3
42
  ## 3.0.0
4
43
 
5
44
  ### Major Changes
6
45
 
7
- - f0e6de6: Update TinyMCE to version 7.3.0
8
- - [BREAKING!] Models: map `Link`s inside content and metadata
9
- - 458cdf6: [BREAKING!] Make `useEditor().schema` property optional
10
- - 1de8ac4: react-query@5.0.0 upgrade
11
- - 4fe96e1: Remove deprecated `containerId` property of mutations
12
- - 2a39e32: Remove callbacks no longer supported in react-query@5.0.0
13
- - 23bcf5a: Align API of `useModal()`, `useConfirmation()` and the rest of the hooks
14
- - e21ab79: `userProfile` returned by `useUserProfile()` can be `undefined`
15
- - 7cf79a9: OpenAPI v3 update
46
+ - f0e6de6: Update TinyMCE to version 7.3.0
47
+ - [BREAKING!] Models: map `Link`s inside content and metadata
48
+ - 458cdf6: [BREAKING!] Make `useEditor().schema` property optional
49
+ - 1de8ac4: react-query@5.0.0 upgrade
50
+ - 4fe96e1: Remove deprecated `containerId` property of mutations
51
+ - 2a39e32: Remove callbacks no longer supported in react-query@5.0.0
52
+ - 23bcf5a: Align API of `useModal()`, `useConfirmation()` and the rest of the hooks
53
+ - e21ab79: `userProfile` returned by `useUserProfile()` can be `undefined`
54
+ - 7cf79a9: OpenAPI v3 update
16
55
 
17
56
  ### Minor Changes
18
57
 
19
- - f220975: Add `isDisabled` prop to field extensions
20
- - 083504a: Add `demote` action
21
- - a273c4e: Add `newChildPublication` action
22
- - 75944cc: Add `removeParentPublication` action
23
- - ce528c5: Add `promote` action
24
- - e733693: Add `pasteInContainer` action
25
- - fed1499: Add optional `boolean` parameters for filtering the `/uses` and `/usedBy` requests
26
- - 774d7e3: Add `yellow10` to color palette
27
- - 458cdf6: Add `onUpdate` callback to `useEditor()` hook
28
- - 8562ee8: Add `Modal` components and `useModal()` hook
29
- - c3ba102: Add `primaryItem` to `ItemBlueprintHierarchy`
30
- - e514a9a: Add new OpenAPI v3 error type `ValidationApiError`
31
- - 928cab3: Add `useContainerItemsQuery()` query
32
- - 37b7603: Add `includeLocalCopies` parameter for `/usedBy` list
33
- - 191f8b8: Add required for some item types parameter of `useItemDefaultDataQuery()`
34
- - 457e67a: Align `containerItem` api across mutations
35
- - 1cf9db9: Allow control of a failure trigger for demote mutation
36
- - 527c39f: Make `fieldDefinition` type more specific for `useRichTextField()` hook
37
- - 871a645: Update major `styled-components`
38
- - 051b91a: Extensions: Add custom content editor endpoint `ExtensionBuilder.contentEditor.addItemEditor()`
39
- - 6ff5e58: Models: add generic `ListInfo` type to `IdentifiableObject`
58
+ - f220975: Add `isDisabled` prop to field extensions
59
+ - 083504a: Add `demote` action
60
+ - a273c4e: Add `newChildPublication` action
61
+ - 75944cc: Add `removeParentPublication` action
62
+ - ce528c5: Add `promote` action
63
+ - e733693: Add `pasteInContainer` action
64
+ - fed1499: Add optional `boolean` parameters for filtering the `/uses` and `/usedBy` requests
65
+ - 774d7e3: Add `yellow10` to color palette
66
+ - 458cdf6: Add `onUpdate` callback to `useEditor()` hook
67
+ - 8562ee8: Add `Modal` components and `useModal()` hook
68
+ - c3ba102: Add `primaryItem` to `ItemBlueprintHierarchy`
69
+ - e514a9a: Add new OpenAPI v3 error type `ValidationApiError`
70
+ - 928cab3: Add `useContainerItemsQuery()` query
71
+ - 37b7603: Add `includeLocalCopies` parameter for `/usedBy` list
72
+ - 191f8b8: Add required for some item types parameter of `useItemDefaultDataQuery()`
73
+ - 457e67a: Align `containerItem` api across mutations
74
+ - 1cf9db9: Allow control of a failure trigger for demote mutation
75
+ - 527c39f: Make `fieldDefinition` type more specific for `useRichTextField()` hook
76
+ - 871a645: Update major `styled-components`
77
+ - 051b91a: Extensions: Add custom content editor endpoint `ExtensionBuilder.contentEditor.addItemEditor()`
78
+ - 6ff5e58: Models: add generic `ListInfo` type to `IdentifiableObject`
40
79
 
41
80
  ### Patch Changes
42
81
 
43
- - c7a65bc: Models: Update model mapper to fallback to regular component when it can not be distinguished by `ComponentType`
44
- Update Extensions API to make new option queries available
45
- - 82f1c93: Add non localizable fields schema sync api support
46
- - 2532518: Models: Fix default value for `ItemFieldDefinition.isLocalizable`
47
- - 1b0165e: Update axios to avoid vulnerability
48
- - b4d732a: Update to @tridion/graphene@2.6.0
49
- - ee208c1: Update 3rd party dependencies
82
+ - c7a65bc: Models: Update model mapper to fallback to regular component when it can not be distinguished by `ComponentType`
83
+ Update Extensions API to make new option queries available
84
+ - 82f1c93: Add non localizable fields schema sync api support
85
+ - 2532518: Models: Fix default value for `ItemFieldDefinition.isLocalizable`
86
+ - 1b0165e: Update axios to avoid vulnerability
87
+ - b4d732a: Update to @tridion/graphene@2.6.0
88
+ - ee208c1: Update 3rd party dependencies
50
89
 
51
90
  ## 2.0.1
52
91
 
53
92
  ### Patch Changes
54
93
 
55
- - Updated dependencies [c78d191530]
56
- - @tridion-sites/models@1.1.1
94
+ - Updated dependencies [c78d191530]
95
+ - @tridion-sites/models@1.1.1
57
96
 
58
97
  ## 2.0.0
59
98
 
60
99
  ### Minor Changes
61
100
 
62
- - 334d76210f: dependency update @tridion/graphene@1.35
63
- - 9e7f89cdc1: - add query `usePublishTransactionsQuery`;
64
- - add to `useActivityInstancesQuery` parameters `ownerId` and `assigneeId`;
65
- - add to `useItemsInProgressQuery` parameter `lockUserId`;
101
+ - 334d76210f: dependency update @tridion/graphene@1.35
102
+ - 9e7f89cdc1: - add query `usePublishTransactionsQuery`;
103
+ - add to `useActivityInstancesQuery` parameters `ownerId` and `assigneeId`;
104
+ - add to `useItemsInProgressQuery` parameter `lockUserId`;
66
105
 
67
106
  ### Patch Changes
68
107
 
69
- - d0875fe171: update dependencies
70
- - 151fa1d3b2: add InsightsPanel mount point for ActivitiesExplorer
71
- - a6face574b9: add InsightsPanel mount point for PublishingQueueExplorer
72
- - cc40577cf7: add InsightsPanel mount point for ContentExplorer
73
- - Updated dependencies [d398729dce]
74
- - Updated dependencies [b37272386a]
75
- - Updated dependencies [d0875fe171]
76
- - Updated dependencies [151fa1d3b2]
77
- - Updated dependencies [7ff24d55b8]
78
- - Updated dependencies [14288f4588]
79
- - Updated dependencies [c75025f64f]
80
- - Updated dependencies [334d76210f]
81
- - Updated dependencies [1b257d330c]
82
- - @tridion-sites/open-api-client@3.0.0
83
- - @tridion-sites/models@1.1.0
108
+ - d0875fe171: update dependencies
109
+ - 151fa1d3b2: add InsightsPanel mount point for ActivitiesExplorer
110
+ - a6face574b9: add InsightsPanel mount point for PublishingQueueExplorer
111
+ - cc40577cf7: add InsightsPanel mount point for ContentExplorer
112
+ - Updated dependencies [d398729dce]
113
+ - Updated dependencies [b37272386a]
114
+ - Updated dependencies [d0875fe171]
115
+ - Updated dependencies [151fa1d3b2]
116
+ - Updated dependencies [7ff24d55b8]
117
+ - Updated dependencies [14288f4588]
118
+ - Updated dependencies [c75025f64f]
119
+ - Updated dependencies [334d76210f]
120
+ - Updated dependencies [1b257d330c]
121
+ - @tridion-sites/open-api-client@3.0.0
122
+ - @tridion-sites/models@1.1.0
package/dist/index.d.ts CHANGED
@@ -63,6 +63,22 @@ import type { UserProfile } from '@tridion-sites/models';
63
63
  import type { VersionedItem } from '@tridion-sites/models';
64
64
  import type { XhtmlFieldDefinition } from '@tridion-sites/models';
65
65
 
66
+ /**
67
+ * @public
68
+ */
69
+ export declare interface AccessControlExtensions {
70
+ commandRights: CommandRightExtension[];
71
+ }
72
+
73
+ /**
74
+ * @public
75
+ */
76
+ export declare class AccessControlExtensionsBuilder {
77
+ private _commandRights;
78
+ addCommandRight: (commandRightExtension: CommandRightExtension) => this;
79
+ build: () => AccessControlExtensions;
80
+ }
81
+
66
82
  /**
67
83
  * Accessibility-related props
68
84
  * @public
@@ -228,6 +244,7 @@ export declare type ActivitiesExplorerActionGroupId = ValuesOfArray<typeof activ
228
244
  * @public
229
245
  */
230
246
  export declare const activitiesExplorerActionGroupId: {
247
+ processInstance: "processInstance";
231
248
  exporting: "exporting";
232
249
  refreshing: "refreshing";
233
250
  workflow: "workflow";
@@ -236,7 +253,7 @@ export declare const activitiesExplorerActionGroupId: {
236
253
  /**
237
254
  * @public
238
255
  */
239
- export declare const activitiesExplorerActionGroupIds: readonly ["exporting", "refreshing", "workflow"];
256
+ export declare const activitiesExplorerActionGroupIds: readonly ["exporting", "refreshing", "workflow", "processInstance"];
240
257
 
241
258
  /**
242
259
  * @public
@@ -252,15 +269,17 @@ export declare const activitiesExplorerActionId: {
252
269
  assignActivity: "assignActivity";
253
270
  startActivity: "startActivity";
254
271
  finishActivity: "finishActivity";
272
+ finishProcess: "finishProcess";
255
273
  restartActivity: "restartActivity";
256
274
  export: "export";
257
275
  refresh: "refresh";
276
+ revertProcess: "revertProcess";
258
277
  };
259
278
 
260
279
  /**
261
280
  * @public
262
281
  */
263
- export declare const activitiesExplorerActionIds: readonly ["export", "refresh", "startActivity", "finishActivity", "restartActivity", "assignActivity"];
282
+ export declare const activitiesExplorerActionIds: readonly ["export", "refresh", "startActivity", "finishActivity", "restartActivity", "assignActivity", "revertProcess", "finishProcess"];
264
283
 
265
284
  /**
266
285
  * @internal
@@ -608,7 +627,7 @@ export declare interface AriaProps {
608
627
  /**
609
628
  * @public
610
629
  */
611
- export declare type AriaRole = 'button' | 'columnheader' | 'combobox' | 'grid' | 'gridcell' | 'group' | 'list' | 'listbox' | 'listitem' | 'menu' | 'menubar' | 'menuitem' | 'none' | 'option' | 'radiogroup' | 'row' | 'rowgroup' | 'rowheader' | 'tree' | 'treeitem';
630
+ export declare type AriaRole = 'alert' | 'button' | 'columnheader' | 'combobox' | 'grid' | 'gridcell' | 'group' | 'list' | 'listbox' | 'listitem' | 'menu' | 'menubar' | 'menuitem' | 'none' | 'option' | 'radiogroup' | 'row' | 'rowgroup' | 'rowheader' | 'tree' | 'treeitem';
612
631
 
613
632
  /**
614
633
  * @public
@@ -978,6 +997,7 @@ export declare interface ColorPalette {
978
997
  brandPrimary: string;
979
998
  brandAccessible: string;
980
999
  brandDark: string;
1000
+ brand140: string;
981
1001
  gray0: string;
982
1002
  gray10: string;
983
1003
  gray20: string;
@@ -991,6 +1011,7 @@ export declare interface ColorPalette {
991
1011
  red50: string;
992
1012
  red100: string;
993
1013
  red120: string;
1014
+ red140: string;
994
1015
  orange50: string;
995
1016
  orange100: string;
996
1017
  magenta50: string;
@@ -1022,6 +1043,41 @@ declare interface ColorProps_2 {
1022
1043
  color?: Color_2 | 'inherit';
1023
1044
  }
1024
1045
 
1046
+ /**
1047
+ * @public
1048
+ */
1049
+ export declare type CommandRightExtension = () => CommandRightExtensionConfiguration;
1050
+
1051
+ /**
1052
+ * @public
1053
+ */
1054
+ export declare interface CommandRightExtensionConfiguration {
1055
+ commandId: string;
1056
+ useCommand: CommandRightExtensionHook;
1057
+ }
1058
+
1059
+ /**
1060
+ * @public
1061
+ */
1062
+ export declare type CommandRightExtensionHook = () => CommandRightExtensionHookResult;
1063
+
1064
+ /**
1065
+ * @public
1066
+ */
1067
+ export declare interface CommandRightExtensionHookResult {
1068
+ /**
1069
+ * Callback will be executed for each item passed to the command.
1070
+ * @param item - The item to check.
1071
+ * @returns Whether the command is applicable to the item.
1072
+ */
1073
+ isItemApplicable?: (item: IdentifiableObject) => boolean;
1074
+ /**
1075
+ * Whether the command is available regardless of the items.
1076
+ * This will not override `isAvailable: false` from built-in command.
1077
+ */
1078
+ isCommandAvailable?: boolean;
1079
+ }
1080
+
1025
1081
  /**
1026
1082
  * @internal
1027
1083
  */
@@ -1330,12 +1386,13 @@ export declare const contentExplorerActionGroupId: {
1330
1386
  exporting: "exporting";
1331
1387
  refreshing: "refreshing";
1332
1388
  workflow: "workflow";
1389
+ blueprinting: "blueprinting";
1333
1390
  browsing: "browsing";
1334
1391
  clipboard: "clipboard";
1335
1392
  creation: "creation";
1336
1393
  deletion: "deletion";
1337
1394
  editing: "editing";
1338
- blueprinting: "blueprinting";
1395
+ favorites: "favorites";
1339
1396
  publishing: "publishing";
1340
1397
  translation: "translation";
1341
1398
  };
@@ -1343,7 +1400,7 @@ export declare const contentExplorerActionGroupId: {
1343
1400
  /**
1344
1401
  * @public
1345
1402
  */
1346
- export declare const contentExplorerActionGroupIds: readonly ["browsing", "bundle", "classification", "clipboard", "creation", "deletion", "editing", "exporting", "blueprinting", "publishing", "refreshing", "translation", "workflow"];
1403
+ export declare const contentExplorerActionGroupIds: readonly ["blueprinting", "browsing", "bundle", "classification", "clipboard", "creation", "deletion", "editing", "exporting", "favorites", "publishing", "refreshing", "translation", "workflow"];
1347
1404
 
1348
1405
  /**
1349
1406
  * @public
@@ -1369,6 +1426,7 @@ export declare const contentExplorerActionId: {
1369
1426
  addParentPublication: "addParentPublication";
1370
1427
  addSelectedItemsToBundle: "addSelectedItemsToBundle";
1371
1428
  addToBundle: "addToBundle";
1429
+ addToFavorites: "addToFavorites";
1372
1430
  autoClassify: "autoClassify";
1373
1431
  finishEditing: "finishEditing";
1374
1432
  newBundle: "newBundle";
@@ -1387,6 +1445,7 @@ export declare const contentExplorerActionId: {
1387
1445
  openTranslationQueue: "openTranslationQueue";
1388
1446
  pasteInContainer: "pasteInContainer";
1389
1447
  removeFromBundle: "removeFromBundle";
1448
+ removeFromFavorites: "removeFromFavorites";
1390
1449
  removeParentPublication: "removeParentPublication";
1391
1450
  revert: "revert";
1392
1451
  startWorkflow: "startWorkflow";
@@ -1400,7 +1459,7 @@ export declare const contentExplorerActionId: {
1400
1459
  /**
1401
1460
  * @public
1402
1461
  */
1403
- export declare const contentExplorerActionIds: readonly ["addParentPublication", "addSelectedItemsToBundle", "addToBundle", "autoClassify", "copy", "cut", "delete", "demote", "export", "finishEditing", "localize", "newBundle", "newCategory", "newChildPublication", "newComponent", "newFolder", "newKeyword", "newMultimediaComponent", "newPage", "newStructureGroup", "open", "openEditor", "openEditorInNewTab", "openPublishingQueue", "openTranslationQueue", "paste", "pasteInContainer", "promote", "publish", "refresh", "removeFromBundle", "removeParentPublication", "revert", "startWorkflow", "translate", "translateTarget", "unlocalize", "unpublish", "uploadMultimediaComponent"];
1462
+ export declare const contentExplorerActionIds: readonly ["addParentPublication", "addSelectedItemsToBundle", "addToBundle", "addToFavorites", "autoClassify", "copy", "cut", "delete", "demote", "export", "finishEditing", "localize", "newBundle", "newCategory", "newChildPublication", "newComponent", "newFolder", "newKeyword", "newMultimediaComponent", "newPage", "newStructureGroup", "open", "openEditor", "openEditorInNewTab", "openPublishingQueue", "openTranslationQueue", "paste", "pasteInContainer", "promote", "publish", "refresh", "removeFromBundle", "removeFromFavorites", "removeParentPublication", "revert", "startWorkflow", "translate", "translateTarget", "unlocalize", "unpublish", "uploadMultimediaComponent"];
1404
1463
 
1405
1464
  /**
1406
1465
  * @internal
@@ -1600,6 +1659,38 @@ export declare interface ContentExplorerHooksApiStorage {
1600
1659
  useOptionalContentExplorerTree: OptionalContentExplorerTreeHook;
1601
1660
  }
1602
1661
 
1662
+ /**
1663
+ * Type represents ID of a built-in panel of the Content Explorer.
1664
+ *
1665
+ * @public
1666
+ */
1667
+ export declare type ContentExplorerInsightsPanelId = ValuesOfArray<typeof contentExplorerInsightsPanelIds>;
1668
+
1669
+ /**
1670
+ * All available built-in Content Explorer panel IDs.
1671
+ *
1672
+ * @public
1673
+ */
1674
+ export declare const contentExplorerInsightsPanelId: {
1675
+ information: "information";
1676
+ history: "history";
1677
+ search: "search";
1678
+ general: "general";
1679
+ metadata: "metadata";
1680
+ blueprint: "blueprint";
1681
+ "where-used": "where-used";
1682
+ "view-on-site": "view-on-site";
1683
+ "published-to": "published-to";
1684
+ translations: "translations";
1685
+ };
1686
+
1687
+ /**
1688
+ * List of all built-in panel IDs of the Content Explorer.
1689
+ *
1690
+ * @public
1691
+ */
1692
+ export declare const contentExplorerInsightsPanelIds: readonly ["search", "information", "general", "metadata", "history", "blueprint", "where-used", "view-on-site", "published-to", "translations"];
1693
+
1603
1694
  /**
1604
1695
  * @public
1605
1696
  */
@@ -1700,20 +1791,23 @@ export declare interface ContentExplorerNodeData {
1700
1791
  }
1701
1792
 
1702
1793
  /**
1703
- * Type represents ID of a built-in panel of the Content Explorer.
1794
+ * Backwards compatibility for `ContentExplorerInsightsPanelId`
1704
1795
  *
1705
1796
  * @public
1797
+ * @deprecated use `ContentExplorerInsightsPanelId` instead
1706
1798
  */
1707
- export declare type ContentExplorerPanelId = ValuesOfArray<typeof contentExplorerPanelIds>;
1799
+ export declare type ContentExplorerPanelId = ContentExplorerInsightsPanelId;
1708
1800
 
1709
1801
  /**
1710
- * All available built-in Content Explorer panel IDs.
1802
+ * Backwards compatibility for `contentExplorerInsightsPanelId`
1711
1803
  *
1712
1804
  * @public
1805
+ * @deprecated use `contentExplorerInsightsPanelId` instead
1713
1806
  */
1714
1807
  export declare const contentExplorerPanelId: {
1715
1808
  information: "information";
1716
1809
  history: "history";
1810
+ search: "search";
1717
1811
  general: "general";
1718
1812
  metadata: "metadata";
1719
1813
  blueprint: "blueprint";
@@ -1724,11 +1818,12 @@ export declare const contentExplorerPanelId: {
1724
1818
  };
1725
1819
 
1726
1820
  /**
1727
- * List of all built-in panel IDs of the Content Explorer.
1821
+ * Backwards compatibility for `contentExplorerInsightsPanelIds`
1728
1822
  *
1729
1823
  * @public
1824
+ * @deprecated use `contentExplorerInsightsPanelIds` instead
1730
1825
  */
1731
- export declare const contentExplorerPanelIds: readonly ["information", "general", "metadata", "history", "blueprint", "where-used", "view-on-site", "published-to", "translations"];
1826
+ export declare const contentExplorerPanelIds: readonly ["search", "information", "general", "metadata", "history", "blueprint", "where-used", "view-on-site", "published-to", "translations"];
1732
1827
 
1733
1828
  /**
1734
1829
  * Content Explorer hierarchy node that has list of publications as a children.
@@ -2107,7 +2202,11 @@ export declare interface EditorHookResult {
2107
2202
  */
2108
2203
  isEditing: boolean;
2109
2204
  /**
2110
- * Callback to update internal editor state.
2205
+ * Callback to update item in the editor state.
2206
+ */
2207
+ updateItem: (item: Bundle | KeywordCategory | Component | MultimediaComponent | Folder | Keyword | Page | StructureGroup) => void;
2208
+ /**
2209
+ * @deprecated have been renamed to `updateItem`.
2111
2210
  */
2112
2211
  onUpdate: (item: Bundle | KeywordCategory | Component | MultimediaComponent | Folder | Keyword | Page | StructureGroup) => void;
2113
2212
  }
@@ -2181,6 +2280,10 @@ export declare class ExtensionBuilder {
2181
2280
  * Provides a mechanism for customizing Publishing Queue Explorer.
2182
2281
  */
2183
2282
  readonly publishingQueueExplorer: PublishingQueueExplorerExtensionsBuilder;
2283
+ /**
2284
+ * Provides a mechanism for customizing Access Control.
2285
+ */
2286
+ readonly accessControl: AccessControlExtensionsBuilder;
2184
2287
  build: () => ExtensionPoints;
2185
2288
  }
2186
2289
 
@@ -2211,6 +2314,7 @@ export declare interface ExtensionPoints {
2211
2314
  activitiesExplorer: ActivitiesExplorerExtensions;
2212
2315
  translations: TranslationExtensions;
2213
2316
  publishingQueueExplorer: PublishingQueueExplorerExtensions;
2317
+ accessControl: AccessControlExtensions;
2214
2318
  }
2215
2319
 
2216
2320
  /**
@@ -2630,6 +2734,7 @@ export declare const getZIndex: ZIndexGetter;
2630
2734
  */
2631
2735
  export declare interface HeaderExtensions {
2632
2736
  navigation: NavigationExtensions;
2737
+ infoMenu: InfoMenuExtensions;
2633
2738
  }
2634
2739
 
2635
2740
  /**
@@ -2640,6 +2745,10 @@ export declare class HeaderExtensionsBuilder {
2640
2745
  * Provides a mechanism for customizing navigation items.
2641
2746
  */
2642
2747
  readonly navigation: NavigationExtensionsBuilder;
2748
+ /**
2749
+ * Provides a mechanism for customizing the configuration of info menu items.
2750
+ */
2751
+ readonly infoMenu: InfoMenuExtensionsBuilder;
2643
2752
  build: () => HeaderExtensions;
2644
2753
  }
2645
2754
 
@@ -2679,6 +2788,85 @@ export declare interface IconProps extends TooltipProps, SpaceProps, SizeProps,
2679
2788
  declare interface IconProps_2 extends SvgProps, Partial<IconDefaultProps> {
2680
2789
  }
2681
2790
 
2791
+ /**
2792
+ * @public
2793
+ */
2794
+ export declare type InfoMenuExtension = () => InfoMenuExtensionConfiguration;
2795
+
2796
+ /**
2797
+ * @public
2798
+ */
2799
+ export declare interface InfoMenuExtensionConfiguration {
2800
+ readonly id: string;
2801
+ readonly useInfoMenuItem: InfoMenuItemHook;
2802
+ }
2803
+
2804
+ /**
2805
+ * @public
2806
+ */
2807
+ export declare interface InfoMenuExtensions {
2808
+ items: ReadonlyArray<InfoMenuExtension>;
2809
+ config: ReadonlyArray<ListBuilderConfigurationExtension<string>>;
2810
+ }
2811
+
2812
+ /**
2813
+ * @public
2814
+ */
2815
+ export declare class InfoMenuExtensionsBuilder {
2816
+ private _infoMenuExtensions;
2817
+ /**
2818
+ * Provides a mechanism for customizing the configuration of info menu items.
2819
+ */
2820
+ readonly config: ListBuilder<string>;
2821
+ /**
2822
+ * Registers a new info menu item.
2823
+ *
2824
+ * @remarks
2825
+ * This method only registers the info menu item and does not automatically make it visible in the application.
2826
+ * To add the info menu item to the application, use {@link InfoMenuExtensionsBuilder.config}.
2827
+ *
2828
+ * @param item - info menu item to be registered
2829
+ */
2830
+ register: (item: InfoMenuExtension) => this;
2831
+ build: () => InfoMenuExtensions;
2832
+ }
2833
+
2834
+ /**
2835
+ * @public
2836
+ */
2837
+ export declare type InfoMenuItemHook = () => InfoMenuItemHookResult;
2838
+
2839
+ /**
2840
+ * @public
2841
+ */
2842
+ export declare type InfoMenuItemHookResult = MenuItem;
2843
+
2844
+ /**
2845
+ * Type represents ID of a built-in info menu item.
2846
+ *
2847
+ * @public
2848
+ */
2849
+ export declare type InfoMenuItemId = ValuesOfArray<typeof infoMenuItemIds>;
2850
+
2851
+ /**
2852
+ * All available built-in info menu item IDs.
2853
+ *
2854
+ * @public
2855
+ */
2856
+ export declare const infoMenuItemId: {
2857
+ documentation: "documentation";
2858
+ classicUI: "classicUI";
2859
+ accessManagement: "accessManagement";
2860
+ about: "about";
2861
+ };
2862
+
2863
+ /**
2864
+ * List of all built-in info menu item IDs.
2865
+ *
2866
+ * @public
2867
+ */
2868
+ export declare const infoMenuItemIds: readonly ["documentation", "classicUI", "accessManagement", "about"];
2869
+
2682
2870
  /**
2683
2871
  * @public
2684
2872
  */
@@ -2870,6 +3058,60 @@ export declare interface ItemClassifiedItemsQueryProps {
2870
3058
  resultLimit?: number;
2871
3059
  }
2872
3060
 
3061
+ /**
3062
+ * @public
3063
+ */
3064
+ export declare type ItemCommandId = ValuesOfArray<typeof itemCommandIds>;
3065
+
3066
+ /**
3067
+ * @public
3068
+ */
3069
+ export declare const itemCommandId: {
3070
+ startActivity: "startActivity";
3071
+ finishActivity: "finishActivity";
3072
+ addParentPublication: "addParentPublication";
3073
+ addSelectedItemsToBundle: "addSelectedItemsToBundle";
3074
+ addToBundle: "addToBundle";
3075
+ addToFavorites: "addToFavorites";
3076
+ finishEditing: "finishEditing";
3077
+ removeFromBundle: "removeFromBundle";
3078
+ removeFromFavorites: "removeFromFavorites";
3079
+ assignActivities: "assignActivities";
3080
+ autoClassifyItems: "autoClassifyItems";
3081
+ cloneTranslationJobs: "cloneTranslationJobs";
3082
+ createChildPublication: "createChildPublication";
3083
+ deleteItems: "deleteItems";
3084
+ deleteTranslationJobs: "deleteTranslationJobs";
3085
+ demoteItems: "demoteItems";
3086
+ exportItems: "exportItems";
3087
+ finishProcesses: "finishProcesses";
3088
+ localizeItems: "localizeItems";
3089
+ openItemsInEditor: "openItemsInEditor";
3090
+ openTranslationJob: "openTranslationJob";
3091
+ promoteItems: "promoteItems";
3092
+ publishItems: "publishItems";
3093
+ redoPublishTransactions: "redoPublishTransactions";
3094
+ removePublicationFromParents: "removePublicationFromParents";
3095
+ removeItemsFromTranslationJob: "removeItemsFromTranslationJob";
3096
+ restartActivities: "restartActivities";
3097
+ retryTranslationJob: "retryTranslationJob";
3098
+ revertItems: "revertItems";
3099
+ revertProcesses: "revertProcesses";
3100
+ rollbackItem: "rollbackItem";
3101
+ sendForTranslation: "sendForTranslation";
3102
+ startBundleWorkflow: "startBundleWorkflow";
3103
+ translateItems: "translateItems";
3104
+ unlocalizeItems: "unlocalizeItems";
3105
+ unpublishItems: "unpublishItems";
3106
+ updateParentPublicationPriority: "updateParentPublicationPriority";
3107
+ viewInExplorer: "viewInExplorer";
3108
+ };
3109
+
3110
+ /**
3111
+ * @public
3112
+ */
3113
+ export declare const itemCommandIds: readonly ["addParentPublication", "addSelectedItemsToBundle", "addToBundle", "addToFavorites", "assignActivities", "autoClassifyItems", "cloneTranslationJobs", "createChildPublication", "deleteItems", "deleteTranslationJobs", "demoteItems", "exportItems", "finishActivity", "finishEditing", "finishProcesses", "localizeItems", "openItemsInEditor", "openTranslationJob", "promoteItems", "publishItems", "redoPublishTransactions", "removeFromBundle", "removeFromFavorites", "removePublicationFromParents", "removeItemsFromTranslationJob", "restartActivities", "retryTranslationJob", "revertItems", "revertProcesses", "rollbackItem", "sendForTranslation", "startActivity", "startBundleWorkflow", "translateItems", "unlocalizeItems", "unpublishItems", "updateParentPublicationPriority", "viewInExplorer"];
3114
+
2873
3115
  /**
2874
3116
  * @public
2875
3117
  */
@@ -3244,6 +3486,17 @@ export declare interface LocalizeItemsRequest {
3244
3486
  */
3245
3487
  export declare type MainAxisAlignment = 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch';
3246
3488
 
3489
+ /**
3490
+ * @public
3491
+ */
3492
+ export declare interface MenuItem {
3493
+ readonly title: string;
3494
+ readonly tooltip?: string;
3495
+ readonly icon: ReactNode;
3496
+ readonly onClick: () => void;
3497
+ readonly isAvailable: boolean;
3498
+ }
3499
+
3247
3500
  /**
3248
3501
  * A component to render Content of a Modal
3249
3502
  *
@@ -3302,6 +3555,10 @@ export declare interface ModalFooterComponentProps {
3302
3555
  * Boolean that indicates disabled state of the Ok button.
3303
3556
  */
3304
3557
  isOkButtonDisabled?: boolean;
3558
+ /**
3559
+ * Boolean that indicates processing state of the Ok button.
3560
+ */
3561
+ isOkButtonProcessing?: boolean;
3305
3562
  /**
3306
3563
  * Label for the Ok button of the Modal.
3307
3564
  */
@@ -3694,12 +3951,13 @@ export declare const navigationItemId: {
3694
3951
  activitiesExplorer: "activitiesExplorer";
3695
3952
  contentExplorer: "contentExplorer";
3696
3953
  publishingQueueExplorer: "publishingQueueExplorer";
3954
+ translationsExplorer: "translationsExplorer";
3697
3955
  };
3698
3956
 
3699
3957
  /**
3700
3958
  * @public
3701
3959
  */
3702
- export declare const navigationItemIds: readonly ["activitiesExplorer", "contentExplorer", "publishingQueueExplorer"];
3960
+ export declare const navigationItemIds: readonly ["activitiesExplorer", "contentExplorer", "publishingQueueExplorer", "translationsExplorer"];
3703
3961
 
3704
3962
  /**
3705
3963
  * @public
@@ -4027,6 +4285,7 @@ declare const palette: {
4027
4285
  brandPrimary: string;
4028
4286
  brandAccessible: string;
4029
4287
  brandDark: string;
4288
+ brand140: string;
4030
4289
  gray0: string;
4031
4290
  gray10: string;
4032
4291
  gray20: string;
@@ -4040,6 +4299,7 @@ declare const palette: {
4040
4299
  red50: string;
4041
4300
  red100: string;
4042
4301
  red120: string;
4302
+ red140: string;
4043
4303
  orange50: string;
4044
4304
  orange100: string;
4045
4305
  magenta50: string;
package/dist/index.js CHANGED
@@ -26,7 +26,8 @@ const activitiesExplorerPanelId = createEnumObject(activitiesExplorerPanelIds);
26
26
  *
27
27
  * @public
28
28
  */
29
- const contentExplorerPanelIds = [
29
+ const contentExplorerInsightsPanelIds = [
30
+ 'search',
30
31
  'information',
31
32
  'general',
32
33
  'metadata',
@@ -42,7 +43,21 @@ const contentExplorerPanelIds = [
42
43
  *
43
44
  * @public
44
45
  */
45
- const contentExplorerPanelId = createEnumObject(contentExplorerPanelIds);
46
+ const contentExplorerInsightsPanelId = createEnumObject(contentExplorerInsightsPanelIds);
47
+ /**
48
+ * Backwards compatibility for `contentExplorerInsightsPanelIds`
49
+ *
50
+ * @public
51
+ * @deprecated use `contentExplorerInsightsPanelIds` instead
52
+ */
53
+ const contentExplorerPanelIds = contentExplorerInsightsPanelIds;
54
+ /**
55
+ * Backwards compatibility for `contentExplorerInsightsPanelId`
56
+ *
57
+ * @public
58
+ * @deprecated use `contentExplorerInsightsPanelId` instead
59
+ */
60
+ const contentExplorerPanelId = contentExplorerInsightsPanelId;
46
61
 
47
62
  /**
48
63
  * List of all built-in panel IDs of the Publishing Queue Explorer.
@@ -555,6 +570,8 @@ const activitiesExplorerActionIds = [
555
570
  'finishActivity',
556
571
  'restartActivity',
557
572
  'assignActivity',
573
+ 'revertProcess',
574
+ 'finishProcess',
558
575
  ];
559
576
  /**
560
577
  * All built-in action IDs available in Activities Explorer.
@@ -565,7 +582,7 @@ const activitiesExplorerActionId = createEnumObject(activitiesExplorerActionIds)
565
582
  /**
566
583
  * @public
567
584
  */
568
- const activitiesExplorerActionGroupIds = ['exporting', 'refreshing', 'workflow'];
585
+ const activitiesExplorerActionGroupIds = ['exporting', 'refreshing', 'workflow', 'processInstance'];
569
586
  /**
570
587
  * All built-in action group IDs available in Activities Explorer.
571
588
  *
@@ -881,6 +898,7 @@ const contentExplorerActionIds = [
881
898
  'addParentPublication',
882
899
  'addSelectedItemsToBundle',
883
900
  'addToBundle',
901
+ 'addToFavorites',
884
902
  'autoClassify',
885
903
  'copy',
886
904
  'cut',
@@ -909,6 +927,7 @@ const contentExplorerActionIds = [
909
927
  'publish',
910
928
  'refresh',
911
929
  'removeFromBundle',
930
+ 'removeFromFavorites',
912
931
  'removeParentPublication',
913
932
  'revert',
914
933
  'startWorkflow',
@@ -928,6 +947,7 @@ const contentExplorerActionId = createEnumObject(contentExplorerActionIds);
928
947
  * @public
929
948
  */
930
949
  const contentExplorerActionGroupIds = [
950
+ 'blueprinting',
931
951
  'browsing',
932
952
  'bundle',
933
953
  'classification',
@@ -936,7 +956,7 @@ const contentExplorerActionGroupIds = [
936
956
  'deletion',
937
957
  'editing',
938
958
  'exporting',
939
- 'blueprinting',
959
+ 'favorites',
940
960
  'publishing',
941
961
  'refreshing',
942
962
  'translation',
@@ -1017,6 +1037,87 @@ class ContentExplorerExtensionsBuilder {
1017
1037
  }
1018
1038
  }
1019
1039
 
1040
+ /**
1041
+ * @public
1042
+ */
1043
+ class AccessControlExtensionsBuilder {
1044
+ constructor() {
1045
+ Object.defineProperty(this, "_commandRights", {
1046
+ enumerable: true,
1047
+ configurable: true,
1048
+ writable: true,
1049
+ value: []
1050
+ });
1051
+ Object.defineProperty(this, "addCommandRight", {
1052
+ enumerable: true,
1053
+ configurable: true,
1054
+ writable: true,
1055
+ value: (commandRightExtension) => {
1056
+ this._commandRights.push(commandRightExtension);
1057
+ return this;
1058
+ }
1059
+ });
1060
+ Object.defineProperty(this, "build", {
1061
+ enumerable: true,
1062
+ configurable: true,
1063
+ writable: true,
1064
+ value: () => {
1065
+ return {
1066
+ commandRights: this._commandRights,
1067
+ };
1068
+ }
1069
+ });
1070
+ }
1071
+ }
1072
+
1073
+ /**
1074
+ * @public
1075
+ */
1076
+ const itemCommandIds = [
1077
+ 'addParentPublication',
1078
+ 'addSelectedItemsToBundle',
1079
+ 'addToBundle',
1080
+ 'addToFavorites',
1081
+ 'assignActivities',
1082
+ 'autoClassifyItems',
1083
+ 'cloneTranslationJobs',
1084
+ 'createChildPublication',
1085
+ 'deleteItems',
1086
+ 'deleteTranslationJobs',
1087
+ 'demoteItems',
1088
+ 'exportItems',
1089
+ 'finishActivity',
1090
+ 'finishEditing',
1091
+ 'finishProcesses',
1092
+ 'localizeItems',
1093
+ 'openItemsInEditor',
1094
+ 'openTranslationJob',
1095
+ 'promoteItems',
1096
+ 'publishItems',
1097
+ 'redoPublishTransactions',
1098
+ 'removeFromBundle',
1099
+ 'removeFromFavorites',
1100
+ 'removePublicationFromParents',
1101
+ 'removeItemsFromTranslationJob',
1102
+ 'restartActivities',
1103
+ 'retryTranslationJob',
1104
+ 'revertItems',
1105
+ 'revertProcesses',
1106
+ 'rollbackItem',
1107
+ 'sendForTranslation',
1108
+ 'startActivity',
1109
+ 'startBundleWorkflow',
1110
+ 'translateItems',
1111
+ 'unlocalizeItems',
1112
+ 'unpublishItems',
1113
+ 'updateParentPublicationPriority',
1114
+ 'viewInExplorer',
1115
+ ];
1116
+ /**
1117
+ * @public
1118
+ */
1119
+ const itemCommandId = createEnumObject(itemCommandIds);
1120
+
1020
1121
  /**
1021
1122
  * @public
1022
1123
  */
@@ -1072,7 +1173,12 @@ class NavigationExtensionsBuilder {
1072
1173
  /**
1073
1174
  * @public
1074
1175
  */
1075
- const navigationItemIds = ['activitiesExplorer', 'contentExplorer', 'publishingQueueExplorer'];
1176
+ const navigationItemIds = [
1177
+ 'activitiesExplorer',
1178
+ 'contentExplorer',
1179
+ 'publishingQueueExplorer',
1180
+ 'translationsExplorer',
1181
+ ];
1076
1182
  /**
1077
1183
  * All available built-in navigation item IDs.
1078
1184
  *
@@ -1080,6 +1186,71 @@ const navigationItemIds = ['activitiesExplorer', 'contentExplorer', 'publishingQ
1080
1186
  */
1081
1187
  const navigationItemId = createEnumObject(navigationItemIds);
1082
1188
 
1189
+ /**
1190
+ * @public
1191
+ */
1192
+ class InfoMenuExtensionsBuilder {
1193
+ constructor() {
1194
+ Object.defineProperty(this, "_infoMenuExtensions", {
1195
+ enumerable: true,
1196
+ configurable: true,
1197
+ writable: true,
1198
+ value: []
1199
+ });
1200
+ /**
1201
+ * Provides a mechanism for customizing the configuration of info menu items.
1202
+ */
1203
+ Object.defineProperty(this, "config", {
1204
+ enumerable: true,
1205
+ configurable: true,
1206
+ writable: true,
1207
+ value: new ListBuilder(itemId => itemId)
1208
+ });
1209
+ /**
1210
+ * Registers a new info menu item.
1211
+ *
1212
+ * @remarks
1213
+ * This method only registers the info menu item and does not automatically make it visible in the application.
1214
+ * To add the info menu item to the application, use {@link InfoMenuExtensionsBuilder.config}.
1215
+ *
1216
+ * @param item - info menu item to be registered
1217
+ */
1218
+ Object.defineProperty(this, "register", {
1219
+ enumerable: true,
1220
+ configurable: true,
1221
+ writable: true,
1222
+ value: (item) => {
1223
+ this._infoMenuExtensions.push(item);
1224
+ return this;
1225
+ }
1226
+ });
1227
+ Object.defineProperty(this, "build", {
1228
+ enumerable: true,
1229
+ configurable: true,
1230
+ writable: true,
1231
+ value: () => {
1232
+ return {
1233
+ items: this._infoMenuExtensions,
1234
+ config: this.config.build(),
1235
+ };
1236
+ }
1237
+ });
1238
+ }
1239
+ }
1240
+
1241
+ /**
1242
+ * List of all built-in info menu item IDs.
1243
+ *
1244
+ * @public
1245
+ */
1246
+ const infoMenuItemIds = ['documentation', 'classicUI', 'accessManagement', 'about'];
1247
+ /**
1248
+ * All available built-in info menu item IDs.
1249
+ *
1250
+ * @public
1251
+ */
1252
+ const infoMenuItemId = createEnumObject(infoMenuItemIds);
1253
+
1083
1254
  /**
1084
1255
  * @public
1085
1256
  */
@@ -1094,6 +1265,15 @@ class HeaderExtensionsBuilder {
1094
1265
  writable: true,
1095
1266
  value: new NavigationExtensionsBuilder()
1096
1267
  });
1268
+ /**
1269
+ * Provides a mechanism for customizing the configuration of info menu items.
1270
+ */
1271
+ Object.defineProperty(this, "infoMenu", {
1272
+ enumerable: true,
1273
+ configurable: true,
1274
+ writable: true,
1275
+ value: new InfoMenuExtensionsBuilder()
1276
+ });
1097
1277
  Object.defineProperty(this, "build", {
1098
1278
  enumerable: true,
1099
1279
  configurable: true,
@@ -1101,6 +1281,7 @@ class HeaderExtensionsBuilder {
1101
1281
  value: () => {
1102
1282
  return {
1103
1283
  navigation: this.navigation.build(),
1284
+ infoMenu: this.infoMenu.build(),
1104
1285
  };
1105
1286
  }
1106
1287
  });
@@ -1397,6 +1578,15 @@ class ExtensionBuilder {
1397
1578
  writable: true,
1398
1579
  value: new PublishingQueueExplorerExtensionsBuilder()
1399
1580
  });
1581
+ /**
1582
+ * Provides a mechanism for customizing Access Control.
1583
+ */
1584
+ Object.defineProperty(this, "accessControl", {
1585
+ enumerable: true,
1586
+ configurable: true,
1587
+ writable: true,
1588
+ value: new AccessControlExtensionsBuilder()
1589
+ });
1400
1590
  Object.defineProperty(this, "build", {
1401
1591
  enumerable: true,
1402
1592
  configurable: true,
@@ -1409,6 +1599,7 @@ class ExtensionBuilder {
1409
1599
  translations: this.translations.build(),
1410
1600
  activitiesExplorer: this.activitiesExplorer.build(),
1411
1601
  publishingQueueExplorer: this.publishingQueueExplorer.build(),
1602
+ accessControl: this.accessControl.build(),
1412
1603
  };
1413
1604
  }
1414
1605
  });
@@ -1631,7 +1822,7 @@ const isSystemNode = (node) => extensionApiBridge.get().contentExplorer.utils.hi
1631
1822
  */
1632
1823
  const PropertiesList = memo(props => {
1633
1824
  const PropertiesList = extensionApiBridge.get().contentExplorer.components.PropertiesList;
1634
- return jsx(PropertiesList, Object.assign({}, props));
1825
+ return jsx(PropertiesList, { ...props });
1635
1826
  });
1636
1827
  PropertiesList.displayName = 'PropertiesList';
1637
1828
 
@@ -1786,7 +1977,7 @@ const useOptionalStructureGroupEditor = () => {
1786
1977
  */
1787
1978
  const Block = memo(props => {
1788
1979
  const Block = extensionApiBridge.get().general.components.Block;
1789
- return jsx(Block, Object.assign({}, props));
1980
+ return jsx(Block, { ...props });
1790
1981
  });
1791
1982
  Block.displayName = 'Block';
1792
1983
  /**
@@ -1796,7 +1987,7 @@ Block.displayName = 'Block';
1796
1987
  */
1797
1988
  const Button = memo(props => {
1798
1989
  const Button = extensionApiBridge.get().general.components.Button;
1799
- return jsx(Button, Object.assign({}, props));
1990
+ return jsx(Button, { ...props });
1800
1991
  });
1801
1992
  Button.displayName = 'Button';
1802
1993
  /**
@@ -1811,7 +2002,7 @@ Button.displayName = 'Button';
1811
2002
  */
1812
2003
  const Center = memo(props => {
1813
2004
  const Center = extensionApiBridge.get().general.components.Center;
1814
- return jsx(Center, Object.assign({}, props));
2005
+ return jsx(Center, { ...props });
1815
2006
  });
1816
2007
  Center.displayName = 'Center';
1817
2008
  /**
@@ -1825,7 +2016,7 @@ Center.displayName = 'Center';
1825
2016
  */
1826
2017
  const Flex = memo(props => {
1827
2018
  const Flex = extensionApiBridge.get().general.components.Flex;
1828
- return jsx(Flex, Object.assign({}, props));
2019
+ return jsx(Flex, { ...props });
1829
2020
  });
1830
2021
  Flex.displayName = 'Flex';
1831
2022
  /**
@@ -1835,7 +2026,7 @@ Flex.displayName = 'Flex';
1835
2026
  */
1836
2027
  const Icon = memo(props => {
1837
2028
  const Icon = extensionApiBridge.get().general.components.Icon;
1838
- return jsx(Icon, Object.assign({}, props));
2029
+ return jsx(Icon, { ...props });
1839
2030
  });
1840
2031
  Icon.displayName = 'Icon';
1841
2032
  /**
@@ -1845,7 +2036,7 @@ Icon.displayName = 'Icon';
1845
2036
  */
1846
2037
  const Link = memo(props => {
1847
2038
  const Link = extensionApiBridge.get().general.components.Link;
1848
- return jsx(Link, Object.assign({}, props));
2039
+ return jsx(Link, { ...props });
1849
2040
  });
1850
2041
  Link.displayName = 'Link';
1851
2042
  /**
@@ -1858,7 +2049,7 @@ Link.displayName = 'Link';
1858
2049
  */
1859
2050
  const Stack = memo(props => {
1860
2051
  const Stack = extensionApiBridge.get().general.components.Stack;
1861
- return jsx(Stack, Object.assign({}, props));
2052
+ return jsx(Stack, { ...props });
1862
2053
  });
1863
2054
  Stack.displayName = 'Stack';
1864
2055
  /**
@@ -1868,7 +2059,7 @@ Stack.displayName = 'Stack';
1868
2059
  */
1869
2060
  const Text = memo(props => {
1870
2061
  const Text = extensionApiBridge.get().general.components.Text;
1871
- return jsx(Text, Object.assign({}, props));
2062
+ return jsx(Text, { ...props });
1872
2063
  });
1873
2064
  Text.displayName = 'Text';
1874
2065
  /**
@@ -1878,7 +2069,7 @@ Text.displayName = 'Text';
1878
2069
  */
1879
2070
  const TextLink = memo(props => {
1880
2071
  const TextLink = extensionApiBridge.get().general.components.TextLink;
1881
- return jsx(TextLink, Object.assign({}, props));
2072
+ return jsx(TextLink, { ...props });
1882
2073
  });
1883
2074
  TextLink.displayName = 'TextLink';
1884
2075
  /**
@@ -1888,7 +2079,7 @@ TextLink.displayName = 'TextLink';
1888
2079
  */
1889
2080
  const ModalContent = memo(props => {
1890
2081
  const ModalContent = extensionApiBridge.get().general.components.ModalContent;
1891
- return jsx(ModalContent, Object.assign({}, props));
2082
+ return jsx(ModalContent, { ...props });
1892
2083
  });
1893
2084
  ModalContent.displayName = 'ModalContent';
1894
2085
  /**
@@ -1898,7 +2089,7 @@ ModalContent.displayName = 'ModalContent';
1898
2089
  */
1899
2090
  const ModalHeader = memo(props => {
1900
2091
  const ModalHeader = extensionApiBridge.get().general.components.ModalHeader;
1901
- return jsx(ModalHeader, Object.assign({}, props));
2092
+ return jsx(ModalHeader, { ...props });
1902
2093
  });
1903
2094
  ModalHeader.displayName = 'ModalHeader';
1904
2095
  /**
@@ -1908,7 +2099,7 @@ ModalHeader.displayName = 'ModalHeader';
1908
2099
  */
1909
2100
  const ModalFooter = memo(props => {
1910
2101
  const ModalFooter = extensionApiBridge.get().general.components.ModalFooter;
1911
- return jsx(ModalFooter, Object.assign({}, props));
2102
+ return jsx(ModalFooter, { ...props });
1912
2103
  });
1913
2104
  ModalFooter.displayName = 'ModalFooter';
1914
2105
 
@@ -2572,20 +2763,20 @@ const createExtensionGlobals = () => {
2572
2763
  };
2573
2764
  return {
2574
2765
  initialize,
2575
- t: (key, options) => extensionGlobals === null || extensionGlobals === void 0 ? void 0 : extensionGlobals.t(key, options),
2576
- getConfiguration: () => extensionGlobals === null || extensionGlobals === void 0 ? void 0 : extensionGlobals.getConfiguration(),
2766
+ t: (key, options) => extensionGlobals?.t(key, options),
2767
+ getConfiguration: () => extensionGlobals?.getConfiguration(),
2577
2768
  };
2578
2769
  };
2579
2770
 
2580
- const version = "3.0.0";
2771
+ const version = "3.2.0";
2581
2772
  const peerDependencies = {
2582
2773
  "@tridion-sites/models": "workspace:*",
2583
2774
  "@tridion-sites/open-api-client": "workspace:*",
2584
2775
  react: "18.3.1",
2585
2776
  "react-dom": "18.3.1",
2586
2777
  "react-is": "18.3.1",
2587
- "styled-components": "6.1.13",
2588
- tinymce: "7.3.0"
2778
+ "styled-components": "6.1.19",
2779
+ tinymce: "7.9.1"
2589
2780
  };
2590
2781
 
2591
2782
  /**
@@ -2596,4 +2787,4 @@ const frameworkInfo = {
2596
2787
  peerDependencies,
2597
2788
  };
2598
2789
 
2599
- export { ActionsConfigurationExtensionsBuilder, ActivitiesExplorerExtensionsBuilder, ActivitiesExplorerInsightsPanelsExtensionsBuilder, ActivitiesExplorerTableExtensionsBuilder, Block, Button, Center, ContentEditorExtensionsBuilder, ContentExplorerExtensionsBuilder, ContentExplorerInsightsPanelsExtensionsBuilder, ContentExplorerTableExtensionsBuilder, ContentExplorerTreeExtensionsBuilder, ExtensionBuilder, Flex, HeaderExtensionsBuilder, Icon, Link, ModalContent, ModalFooter, ModalHeader, NavigationExtensionsBuilder, PropertiesList, PublishingQueueExplorerExtensionsBuilder, PublishingQueueExplorerInsightsPanelsExtensionsBuilder, PublishingQueueExplorerTableExtensionsBuilder, RichTextFieldExtensionsBuilder, Stack, Text, TextLink, TranslationExtensionsBuilder, activitiesExplorerActionGroupId, activitiesExplorerActionGroupIds, activitiesExplorerActionId, activitiesExplorerActionIds, activitiesExplorerPanelId, activitiesExplorerPanelIds, contentExplorerActionGroupId, contentExplorerActionGroupIds, contentExplorerActionId, contentExplorerActionIds, contentExplorerPanelId, contentExplorerPanelIds, createExtensionGlobals, extensionApiBridge, frameworkInfo, getBorderRadius, getColorPalette, getOpacityLevel, getSpacing, getTransitionDuration, getZIndex, isFavoritesNodeId, isItemNode, isItemNodeOfType, isItemsInProgressNode, isItemsInProgressNodeId, isPublicationsNode, isPublicationsNodeId, isRootNode, isRootNodeId, isSystemNode, modalStatus, modalStatuses, modalType, modalTypes, navigationItemId, navigationItemIds, publishingQueueExplorerActionGroupId, publishingQueueExplorerActionGroupIds, publishingQueueExplorerActionId, publishingQueueExplorerActionIds, publishingQueueExplorerPanelId, publishingQueueExplorerPanelIds, useActivitiesExplorer, useActivitiesExplorerTable, useActivityInstancesQuery, useAddToBundleMutation, useAssignActivitiesMutation, useAssignActivityMutation, useAutoClassifyItemMutation, useAutoClassifyItemsMutation, useChangeUserLanguageMutation, useChangeUserLocaleMutation, useConfirmation, useContainerItems, useContentExplorer, useContentExplorerTable, useContentExplorerTree, useCopyItemMutation, useCopyItemsMutation, useCreateTranslationJobMutation, useDefaultTranslationJobQuery, useDeleteItemMutation, useDeleteItemsMutation, useDemoteItemMutation, useDemoteItemsMutation, useEditor, useFavoritesQuery, useFinishActivitiesMutation, useFinishActivityMutation, useFinishEditingItemMutation, useFinishEditingItemsMutation, useItemBlueprintHierarchyQuery, useItemChildrenQuery, useItemClassifiedItemsQuery, useItemDefaultDataQuery, useItemHistoryQuery, useItemPublishUrlsQuery, useItemPublishedPagesQuery, useItemPublishedToQuery, useItemQuery, useItemTranslationInfoQuery, useItemUsedByQuery, useItemUsesQuery, useItemsInProgressQuery, useItemsQuery, useItemsToPublishQuery, useItemsToUnpublishQuery, useLocalizeItemMutation, useLocalizeItemsMutation, useModal, useMoveItemMutation, useMoveItemsMutation, useNotifications, useOptionalActivitiesExplorer, useOptionalActivitiesExplorerTable, useOptionalBundleEditor, useOptionalCategoryEditor, useOptionalComponentEditor, useOptionalContentExplorer, useOptionalContentExplorerTable, useOptionalContentExplorerTree, useOptionalEditor, useOptionalFolderEditor, useOptionalKeywordEditor, useOptionalPageEditor, useOptionalPublishingQueueExplorer, useOptionalPublishingQueueExplorerTable, useOptionalStructureGroupEditor, usePublicationBlueprintHierarchyQuery, usePublicationsQuery, usePublishItemsMutation, usePublishableTargetTypesQuery, usePublishingQueueExplorer, usePublishingQueueExplorerTable, useRemoveFromBundleMutation, useRestartActivitiesMutation, useRestartActivityMutation, useRevertItemMutation, useRevertItemsMutation, useRollbackItemMutation, useSearchInContainerQuery, useStartActivitiesMutation, useStartActivityMutation, useStartWorkflowMutation, useSystemSearchQuery, useUnlocalizeItemMutation, useUnlocalizeItemsMutation, useUnpublishItemsMutation, useUpdateItemMutation, useUploadMultimediaMutation, useUserGroupsQuery, useUserProfile, useUserProfileQuery, useUsersQuery };
2790
+ export { AccessControlExtensionsBuilder, ActionsConfigurationExtensionsBuilder, ActivitiesExplorerExtensionsBuilder, ActivitiesExplorerInsightsPanelsExtensionsBuilder, ActivitiesExplorerTableExtensionsBuilder, Block, Button, Center, ContentEditorExtensionsBuilder, ContentExplorerExtensionsBuilder, ContentExplorerInsightsPanelsExtensionsBuilder, ContentExplorerTableExtensionsBuilder, ContentExplorerTreeExtensionsBuilder, ExtensionBuilder, Flex, HeaderExtensionsBuilder, Icon, InfoMenuExtensionsBuilder, Link, ModalContent, ModalFooter, ModalHeader, NavigationExtensionsBuilder, PropertiesList, PublishingQueueExplorerExtensionsBuilder, PublishingQueueExplorerInsightsPanelsExtensionsBuilder, PublishingQueueExplorerTableExtensionsBuilder, RichTextFieldExtensionsBuilder, Stack, Text, TextLink, TranslationExtensionsBuilder, activitiesExplorerActionGroupId, activitiesExplorerActionGroupIds, activitiesExplorerActionId, activitiesExplorerActionIds, activitiesExplorerPanelId, activitiesExplorerPanelIds, contentExplorerActionGroupId, contentExplorerActionGroupIds, contentExplorerActionId, contentExplorerActionIds, contentExplorerInsightsPanelId, contentExplorerInsightsPanelIds, contentExplorerPanelId, contentExplorerPanelIds, createExtensionGlobals, extensionApiBridge, frameworkInfo, getBorderRadius, getColorPalette, getOpacityLevel, getSpacing, getTransitionDuration, getZIndex, infoMenuItemId, infoMenuItemIds, isFavoritesNodeId, isItemNode, isItemNodeOfType, isItemsInProgressNode, isItemsInProgressNodeId, isPublicationsNode, isPublicationsNodeId, isRootNode, isRootNodeId, isSystemNode, itemCommandId, itemCommandIds, modalStatus, modalStatuses, modalType, modalTypes, navigationItemId, navigationItemIds, publishingQueueExplorerActionGroupId, publishingQueueExplorerActionGroupIds, publishingQueueExplorerActionId, publishingQueueExplorerActionIds, publishingQueueExplorerPanelId, publishingQueueExplorerPanelIds, useActivitiesExplorer, useActivitiesExplorerTable, useActivityInstancesQuery, useAddToBundleMutation, useAssignActivitiesMutation, useAssignActivityMutation, useAutoClassifyItemMutation, useAutoClassifyItemsMutation, useChangeUserLanguageMutation, useChangeUserLocaleMutation, useConfirmation, useContainerItems, useContentExplorer, useContentExplorerTable, useContentExplorerTree, useCopyItemMutation, useCopyItemsMutation, useCreateTranslationJobMutation, useDefaultTranslationJobQuery, useDeleteItemMutation, useDeleteItemsMutation, useDemoteItemMutation, useDemoteItemsMutation, useEditor, useFavoritesQuery, useFinishActivitiesMutation, useFinishActivityMutation, useFinishEditingItemMutation, useFinishEditingItemsMutation, useItemBlueprintHierarchyQuery, useItemChildrenQuery, useItemClassifiedItemsQuery, useItemDefaultDataQuery, useItemHistoryQuery, useItemPublishUrlsQuery, useItemPublishedPagesQuery, useItemPublishedToQuery, useItemQuery, useItemTranslationInfoQuery, useItemUsedByQuery, useItemUsesQuery, useItemsInProgressQuery, useItemsQuery, useItemsToPublishQuery, useItemsToUnpublishQuery, useLocalizeItemMutation, useLocalizeItemsMutation, useModal, useMoveItemMutation, useMoveItemsMutation, useNotifications, useOptionalActivitiesExplorer, useOptionalActivitiesExplorerTable, useOptionalBundleEditor, useOptionalCategoryEditor, useOptionalComponentEditor, useOptionalContentExplorer, useOptionalContentExplorerTable, useOptionalContentExplorerTree, useOptionalEditor, useOptionalFolderEditor, useOptionalKeywordEditor, useOptionalPageEditor, useOptionalPublishingQueueExplorer, useOptionalPublishingQueueExplorerTable, useOptionalStructureGroupEditor, usePublicationBlueprintHierarchyQuery, usePublicationsQuery, usePublishItemsMutation, usePublishableTargetTypesQuery, usePublishingQueueExplorer, usePublishingQueueExplorerTable, useRemoveFromBundleMutation, useRestartActivitiesMutation, useRestartActivityMutation, useRevertItemMutation, useRevertItemsMutation, useRollbackItemMutation, useSearchInContainerQuery, useStartActivitiesMutation, useStartActivityMutation, useStartWorkflowMutation, useSystemSearchQuery, useUnlocalizeItemMutation, useUnlocalizeItemsMutation, useUnpublishItemsMutation, useUpdateItemMutation, useUploadMultimediaMutation, useUserGroupsQuery, useUserProfile, useUserProfileQuery, useUsersQuery };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tridion-sites/extensions",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "description": "Tridion Sites Extensions API",
5
5
  "author": "RWS",
6
6
  "homepage": "https://www.rws.com",
@@ -22,32 +22,32 @@
22
22
  "prepublish": "yarn build"
23
23
  },
24
24
  "peerDependencies": {
25
- "@tridion-sites/models": "2.0.0",
26
- "@tridion-sites/open-api-client": "4.0.0",
25
+ "@tridion-sites/models": "2.2.0",
26
+ "@tridion-sites/open-api-client": "4.2.0",
27
27
  "react": "18.3.1",
28
28
  "react-dom": "18.3.1",
29
29
  "react-is": "18.3.1",
30
- "styled-components": "6.1.13",
31
- "tinymce": "7.3.0"
30
+ "styled-components": "6.1.19",
31
+ "tinymce": "7.9.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@rollup/plugin-commonjs": "25.0.8",
35
35
  "@rollup/plugin-json": "6.1.0",
36
- "@rollup/plugin-node-resolve": "15.3.0",
36
+ "@rollup/plugin-node-resolve": "15.3.1",
37
37
  "@rollup/plugin-typescript": "11.1.6",
38
- "@tridion-sites/models": "2.0.0",
39
- "@tridion-sites/open-api-client": "4.0.0",
40
- "@tridion/graphene": "3.1.3",
38
+ "@tridion-sites/models": "2.2.0",
39
+ "@tridion-sites/open-api-client": "4.2.0",
40
+ "@tridion/graphene": "3.9.1",
41
41
  "@types/react": "18.3.11",
42
42
  "react": "18.3.1",
43
43
  "react-dom": "18.3.1",
44
44
  "react-is": "18.3.1",
45
45
  "rimraf": "5.0.10",
46
46
  "rollup": "3.29.5",
47
- "rollup-plugin-delete": "2.1.0",
47
+ "rollup-plugin-delete": "2.2.0",
48
48
  "rollup-plugin-node-externals": "6.1.2",
49
- "tinymce": "7.3.0",
50
- "typescript": "5.5.2",
51
- "typescript-transform-paths": "3.5.1"
49
+ "tinymce": "7.9.1",
50
+ "typescript": "5.9.2",
51
+ "typescript-transform-paths": "3.5.5"
52
52
  }
53
53
  }