@tridion-sites/extensions 2.0.2 → 2.0.3
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 +1 -1
- package/dist/index.d.ts +98 -529
- package/dist/index.js +28 -151
- package/package.json +3 -3
- package/dist/dts/api/activitiesExplorer/hooks/index.d.ts +0 -2
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorer.d.ts +0 -63
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorerTable.d.ts +0 -41
- package/dist/dts/api/activitiesExplorer/index.d.ts +0 -1
- package/dist/dts/api/contentExplorer/components/index.d.ts +0 -2
- package/dist/dts/api/contentExplorer/components/propertiesGrid.d.ts +0 -29
- package/dist/dts/api/contentExplorer/components/propertiesList.d.ts +0 -21
- package/dist/dts/api/contentExplorer/hierarchy.d.ts +0 -102
- package/dist/dts/api/contentExplorer/hooks/index.d.ts +0 -3
- package/dist/dts/api/contentExplorer/hooks/useContentExplorer.d.ts +0 -123
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTable.d.ts +0 -39
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTree.d.ts +0 -27
- package/dist/dts/api/contentExplorer/index.d.ts +0 -4
- package/dist/dts/api/contentExplorer/utils/hierarchyUtils.d.ts +0 -80
- package/dist/dts/api/contentExplorer/utils/index.d.ts +0 -1
- package/dist/dts/api/editors/bundle/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/bundle/hooks/useBundleEditor.d.ts +0 -32
- package/dist/dts/api/editors/category/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/category/hooks/useCategoryEditor.d.ts +0 -28
- package/dist/dts/api/editors/component/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/component/hooks/useComponentEditor.d.ts +0 -32
- package/dist/dts/api/editors/folder/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/folder/hooks/useFolderEditor.d.ts +0 -32
- package/dist/dts/api/editors/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/hooks/useEditor.d.ts +0 -40
- package/dist/dts/api/editors/index.d.ts +0 -8
- package/dist/dts/api/editors/keyword/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/keyword/hooks/useKeywordEditor.d.ts +0 -32
- package/dist/dts/api/editors/page/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/page/hooks/usePageEditor.d.ts +0 -40
- package/dist/dts/api/editors/structureGroup/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/structureGroup/hooks/useStructureGroupEditor.d.ts +0 -32
- package/dist/dts/api/general/components/button.d.ts +0 -33
- package/dist/dts/api/general/components/icon.d.ts +0 -19
- package/dist/dts/api/general/components/index.d.ts +0 -7
- package/dist/dts/api/general/components/layout/block.d.ts +0 -55
- package/dist/dts/api/general/components/layout/center.d.ts +0 -12
- package/dist/dts/api/general/components/layout/flex.d.ts +0 -50
- package/dist/dts/api/general/components/layout/index.d.ts +0 -4
- package/dist/dts/api/general/components/layout/stack.d.ts +0 -39
- package/dist/dts/api/general/components/link.d.ts +0 -29
- package/dist/dts/api/general/components/modal.d.ts +0 -61
- package/dist/dts/api/general/components/text.d.ts +0 -82
- package/dist/dts/api/general/components/textLink.d.ts +0 -16
- package/dist/dts/api/general/globals/borderRadius.d.ts +0 -15
- package/dist/dts/api/general/globals/color.d.ts +0 -41
- package/dist/dts/api/general/globals/index.d.ts +0 -6
- package/dist/dts/api/general/globals/opacity.d.ts +0 -16
- package/dist/dts/api/general/globals/spacing.d.ts +0 -19
- package/dist/dts/api/general/globals/transitionDuration.d.ts +0 -14
- package/dist/dts/api/general/globals/zIndex.d.ts +0 -18
- package/dist/dts/api/general/hooks/index.d.ts +0 -4
- package/dist/dts/api/general/hooks/useConfirmation.d.ts +0 -40
- package/dist/dts/api/general/hooks/useModal.d.ts +0 -68
- package/dist/dts/api/general/hooks/useNotifications.d.ts +0 -46
- package/dist/dts/api/general/hooks/useUserProfile.d.ts +0 -14
- package/dist/dts/api/general/index.d.ts +0 -6
- package/dist/dts/api/general/mixins/accessibility.d.ts +0 -50
- package/dist/dts/api/general/mixins/backgroundColor.d.ts +0 -10
- package/dist/dts/api/general/mixins/clickable.d.ts +0 -7
- package/dist/dts/api/general/mixins/color.d.ts +0 -10
- package/dist/dts/api/general/mixins/customIcon.d.ts +0 -10
- package/dist/dts/api/general/mixins/focusBehavior.d.ts +0 -13
- package/dist/dts/api/general/mixins/index.d.ts +0 -10
- package/dist/dts/api/general/mixins/opacity.d.ts +0 -11
- package/dist/dts/api/general/mixins/sizing.d.ts +0 -35
- package/dist/dts/api/general/mixins/spacing.d.ts +0 -16
- package/dist/dts/api/general/mixins/tooltip.d.ts +0 -9
- package/dist/dts/api/general/mutations/batchMutationOptions.d.ts +0 -6
- package/dist/dts/api/general/mutations/index.d.ts +0 -10
- package/dist/dts/api/general/mutations/item/index.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useCopyItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useCopyItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useDeleteItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useDeleteItemsMutation.d.ts +0 -22
- package/dist/dts/api/general/mutations/item/useDemoteItemMutation.d.ts +0 -15
- package/dist/dts/api/general/mutations/item/useDemoteItemsMutation.d.ts +0 -15
- package/dist/dts/api/general/mutations/item/useFinishEditingItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useFinishEditingItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useLocalizeItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useLocalizeItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useMoveItemMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/useMoveItemsMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/usePromoteItemMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/item/usePromoteItemsMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/item/usePublishItemsMutation.d.ts +0 -62
- package/dist/dts/api/general/mutations/item/useRevertItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useRevertItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useRollbackItemMutation.d.ts +0 -29
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemMutation.d.ts +0 -21
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useUnpublishItemsMutation.d.ts +0 -46
- package/dist/dts/api/general/mutations/item/useUpdateItemMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/mutationOptions.d.ts +0 -38
- package/dist/dts/api/general/mutations/mutationResult.d.ts +0 -73
- package/dist/dts/api/general/mutations/translation/index.d.ts +0 -1
- package/dist/dts/api/general/mutations/translation/useCreateTranslationJobMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/useAddToBundleMutation.d.ts +0 -31
- package/dist/dts/api/general/mutations/useChangeUserLanguageMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useChangeUserLocaleMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useRemoveFromBundleMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useUploadMultimediaMutation.d.ts +0 -52
- package/dist/dts/api/general/mutations/workflow/index.d.ts +0 -9
- package/dist/dts/api/general/mutations/workflow/useAssignActivitiesMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/workflow/useAssignActivityMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/workflow/useFinishActivitiesMutation.d.ts +0 -39
- package/dist/dts/api/general/mutations/workflow/useFinishActivityMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/workflow/useRestartActivitiesMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useRestartActivityMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartActivitiesMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartActivityMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartWorkflowMutation.d.ts +0 -16
- package/dist/dts/api/general/queries/index.d.ts +0 -10
- package/dist/dts/api/general/queries/item/index.d.ts +0 -14
- package/dist/dts/api/general/queries/item/useItemBlueprintHierarchyQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemChildrenQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemClassifiedItemsQuery.d.ts +0 -33
- package/dist/dts/api/general/queries/item/useItemDefaultDataQuery.d.ts +0 -26
- package/dist/dts/api/general/queries/item/useItemHistoryQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishUrlsQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishedPagesQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishedToQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemTranslationInfoQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemUsedByQuery.d.ts +0 -25
- package/dist/dts/api/general/queries/item/useItemUsesQuery.d.ts +0 -21
- package/dist/dts/api/general/queries/item/useItemsQuery.d.ts +0 -28
- package/dist/dts/api/general/queries/item/usePublicationBlueprintHierarchyQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/lists/index.d.ts +0 -6
- package/dist/dts/api/general/queries/lists/useContainerItems.d.ts +0 -32
- package/dist/dts/api/general/queries/lists/useFavoritesQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/lists/useItemsInProgressQuery.d.ts +0 -25
- package/dist/dts/api/general/queries/lists/usePublicationsQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/lists/useUserGroupsQuery.d.ts +0 -33
- package/dist/dts/api/general/queries/lists/useUsersQuery.d.ts +0 -38
- package/dist/dts/api/general/queries/loadingState.d.ts +0 -10
- package/dist/dts/api/general/queries/publishing/index.d.ts +0 -5
- package/dist/dts/api/general/queries/publishing/useItemsToPublishQuery.d.ts +0 -8
- package/dist/dts/api/general/queries/publishing/useItemsToUnpublishQuery.d.ts +0 -8
- package/dist/dts/api/general/queries/publishing/usePublishTransactionsQuery.d.ts +0 -40
- package/dist/dts/api/general/queries/publishing/usePublishableTargetTypesQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/publishing/useTargetTypesQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/queryOptions.d.ts +0 -67
- package/dist/dts/api/general/queries/queryResult.d.ts +0 -93
- package/dist/dts/api/general/queries/search/index.d.ts +0 -2
- package/dist/dts/api/general/queries/search/useSearchInContainerQuery.d.ts +0 -27
- package/dist/dts/api/general/queries/search/useSystemSearchQuery.d.ts +0 -26
- package/dist/dts/api/general/queries/translation/index.d.ts +0 -1
- package/dist/dts/api/general/queries/translation/useDefaultTranslationJobQuery.d.ts +0 -17
- package/dist/dts/api/general/queries/useUserProfileQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/workflow/index.d.ts +0 -1
- package/dist/dts/api/general/queries/workflow/useActivityInstancesQuery.d.ts +0 -37
- package/dist/dts/api/index.d.ts +0 -5
- package/dist/dts/api/publishingQueueExplorer/hooks/index.d.ts +0 -2
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorer.d.ts +0 -62
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorerTable.d.ts +0 -41
- package/dist/dts/api/publishingQueueExplorer/index.d.ts +0 -1
- package/dist/dts/apiBridge/activitiesExplorerApiStorage.d.ts +0 -16
- package/dist/dts/apiBridge/contentExplorerApiStorage.d.ts +0 -32
- package/dist/dts/apiBridge/editors/bundleEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/categoryEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/componentEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/editorsApiStorage.d.ts +0 -28
- package/dist/dts/apiBridge/editors/folderEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/index.d.ts +0 -8
- package/dist/dts/apiBridge/editors/keywordEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/pageEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/structureGroupEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/extensionApiBridge.d.ts +0 -22
- package/dist/dts/apiBridge/generalApiStorage.d.ts +0 -144
- package/dist/dts/apiBridge/index.d.ts +0 -6
- package/dist/dts/apiBridge/publishingQueueExplorerApiStorage.d.ts +0 -16
- package/dist/dts/apiWrappers/activitiesExplorer/hooks.d.ts +0 -39
- package/dist/dts/apiWrappers/activitiesExplorer/index.d.ts +0 -1
- package/dist/dts/apiWrappers/contentExplorer/components.d.ts +0 -5
- package/dist/dts/apiWrappers/contentExplorer/hooks.d.ts +0 -58
- package/dist/dts/apiWrappers/contentExplorer/index.d.ts +0 -3
- package/dist/dts/apiWrappers/contentExplorer/utils.d.ts +0 -73
- package/dist/dts/apiWrappers/editors/hooks.d.ts +0 -63
- package/dist/dts/apiWrappers/editors/index.d.ts +0 -1
- package/dist/dts/apiWrappers/general/components.d.ts +0 -88
- package/dist/dts/apiWrappers/general/globals.d.ts +0 -37
- package/dist/dts/apiWrappers/general/hooks.d.ts +0 -25
- package/dist/dts/apiWrappers/general/index.d.ts +0 -5
- package/dist/dts/apiWrappers/general/mutations/generalMutations.d.ts +0 -30
- package/dist/dts/apiWrappers/general/mutations/index.d.ts +0 -4
- package/dist/dts/apiWrappers/general/mutations/itemMutations.d.ts +0 -137
- package/dist/dts/apiWrappers/general/mutations/translationMutations.d.ts +0 -5
- package/dist/dts/apiWrappers/general/mutations/workflowMutations.d.ts +0 -47
- package/dist/dts/apiWrappers/general/queries/generalQueries.d.ts +0 -7
- package/dist/dts/apiWrappers/general/queries/index.d.ts +0 -7
- package/dist/dts/apiWrappers/general/queries/itemQueries.d.ts +0 -85
- package/dist/dts/apiWrappers/general/queries/listsQueries.d.ts +0 -25
- package/dist/dts/apiWrappers/general/queries/publishingQueries.d.ts +0 -19
- package/dist/dts/apiWrappers/general/queries/searchQueries.d.ts +0 -13
- package/dist/dts/apiWrappers/general/queries/translationQueries.d.ts +0 -5
- package/dist/dts/apiWrappers/general/queries/workflowQueries.d.ts +0 -5
- package/dist/dts/apiWrappers/index.d.ts +0 -5
- package/dist/dts/apiWrappers/publishingQueueExplorer/hooks.d.ts +0 -39
- package/dist/dts/apiWrappers/publishingQueueExplorer/index.d.ts +0 -1
- package/dist/dts/extensionPoints/actionsConfiguration/actionExtension.d.ts +0 -43
- package/dist/dts/extensionPoints/actionsConfiguration/actionGroup.d.ts +0 -20
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtension.d.ts +0 -10
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtensionsBuilder.d.ts +0 -70
- package/dist/dts/extensionPoints/actionsConfiguration/index.d.ts +0 -4
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerActions.d.ts +0 -40
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensionsBuilder.d.ts +0 -25
- package/dist/dts/extensionPoints/activitiesExplorer/index.d.ts +0 -5
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableActions.d.ts +0 -41
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/activitiesExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensionsBuilder.d.ts +0 -15
- package/dist/dts/extensionPoints/contentEditor/contentEditorFormFieldExtension.d.ts +0 -85
- package/dist/dts/extensionPoints/contentEditor/contentEditorViewExtension.d.ts +0 -69
- package/dist/dts/extensionPoints/contentEditor/index.d.ts +0 -5
- package/dist/dts/extensionPoints/contentEditor/richTextField/index.d.ts +0 -2
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensions.d.ts +0 -64
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensionsBuilder.d.ts +0 -11
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerActions.d.ts +0 -86
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensions.d.ts +0 -13
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensionsBuilder.d.ts +0 -30
- package/dist/dts/extensionPoints/contentExplorer/index.d.ts +0 -6
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/contentExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensionsBuilder.d.ts +0 -13
- package/dist/dts/extensionPoints/contentExplorer/tree/index.d.ts +0 -2
- package/dist/dts/extensionPoints/extensionBuilder.d.ts +0 -37
- package/dist/dts/extensionPoints/extensionPoints.d.ts +0 -17
- package/dist/dts/extensionPoints/header/headerExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/header/headerExtensionsBuilder.d.ts +0 -12
- package/dist/dts/extensionPoints/header/index.d.ts +0 -3
- package/dist/dts/extensionPoints/header/navigation/index.d.ts +0 -4
- package/dist/dts/extensionPoints/header/navigation/navigationExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/header/navigation/navigationExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/header/navigation/navigationItem.d.ts +0 -65
- package/dist/dts/extensionPoints/header/navigation/navigationItems.d.ts +0 -20
- package/dist/dts/extensionPoints/index.d.ts +0 -12
- package/dist/dts/extensionPoints/insightsPanels/index.d.ts +0 -1
- package/dist/dts/extensionPoints/insightsPanels/insightsPanelsExtension.d.ts +0 -39
- package/dist/dts/extensionPoints/listBuilder/index.d.ts +0 -3
- package/dist/dts/extensionPoints/listBuilder/listBuilder.d.ts +0 -12
- package/dist/dts/extensionPoints/listBuilder/listBuilderExtension.d.ts +0 -12
- package/dist/dts/extensionPoints/listBuilder/utils/addItem.d.ts +0 -14
- package/dist/dts/extensionPoints/listBuilder/utils/findItemIndex.d.ts +0 -13
- package/dist/dts/extensionPoints/listBuilder/utils/index.d.ts +0 -5
- package/dist/dts/extensionPoints/listBuilder/utils/moveItem.d.ts +0 -14
- package/dist/dts/extensionPoints/listBuilder/utils/removeItem.d.ts +0 -13
- package/dist/dts/extensionPoints/listBuilder/utils/replaceItem.d.ts +0 -14
- package/dist/dts/extensionPoints/publishingQueueExplorer/index.d.ts +0 -5
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerActions.d.ts +0 -39
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensionsBuilder.d.ts +0 -25
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableActions.d.ts +0 -39
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/tableColumnConfiguration/index.d.ts +0 -1
- package/dist/dts/extensionPoints/tableColumnConfiguration/tableColumnExtension.d.ts +0 -70
- package/dist/dts/extensionPoints/translations/index.d.ts +0 -3
- package/dist/dts/extensionPoints/translations/translationExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/translations/translationExtensionsBuilder.d.ts +0 -17
- package/dist/dts/extensionPoints/translations/translationItem.d.ts +0 -23
- package/dist/dts/frameworkInfo.d.ts +0 -7
- package/dist/dts/index.d.ts +0 -6
- package/dist/dts/module/createExtensionGlobals.d.ts +0 -11
- package/dist/dts/module/extensionGlobals.d.ts +0 -7
- package/dist/dts/module/extensionModule.d.ts +0 -11
- package/dist/dts/module/index.d.ts +0 -4
- package/dist/dts/module/runtimeInformation.d.ts +0 -7
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, DragEvent, FocusEvent, ForwardRefExoticComponent, KeyboardEvent, MouseEvent, ReactHTML, ReactNode, RefAttributes } from 'react';
|
|
2
|
-
import type { AriaProps, BackgroundColorProps, ClickableProps, FocusBehaviorProps, OpacityProps, SizeProps, SpaceProps, TooltipProps } from "../../..";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export type Tag = keyof ReactHTML;
|
|
7
|
-
/**
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export interface BlockProps extends RefAttributes<HTMLElement>, SpaceProps, SizeProps, ClickableProps, BackgroundColorProps, OpacityProps, TooltipProps, FocusBehaviorProps {
|
|
11
|
-
/**
|
|
12
|
-
* Accessibility-related props.
|
|
13
|
-
*/
|
|
14
|
-
aria?: Partial<AriaProps>;
|
|
15
|
-
/**
|
|
16
|
-
* The Block's content.
|
|
17
|
-
*/
|
|
18
|
-
children?: ReactNode;
|
|
19
|
-
/**
|
|
20
|
-
* Custom CSS class that should be passed to the node.
|
|
21
|
-
* Should be used for custom styling that is not covered by other properties.
|
|
22
|
-
*/
|
|
23
|
-
className?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Custom CSS style that would be applied to the node directly.
|
|
26
|
-
* Useful for frequently changing styles, e.g., animation.
|
|
27
|
-
* In the case of less frequent updates it is preferable to use 'className' prop.
|
|
28
|
-
*/
|
|
29
|
-
cssStyle?: CSSProperties;
|
|
30
|
-
/**
|
|
31
|
-
* Should content be scrollable?
|
|
32
|
-
* Scrollbar will not appear if content doesn't overflow Block (i.e: if Block's size is not restricted).
|
|
33
|
-
*/
|
|
34
|
-
hasScroll?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* The HTML tag that should be used for this component.
|
|
37
|
-
*/
|
|
38
|
-
tag?: Tag;
|
|
39
|
-
onBlur?: (event: FocusEvent<HTMLElement>) => void;
|
|
40
|
-
onFocus?: (event: FocusEvent<HTMLElement>) => void;
|
|
41
|
-
onKeyDown?: (event: KeyboardEvent<HTMLElement>) => void;
|
|
42
|
-
onMouseDown?: (event: MouseEvent<HTMLElement>) => void;
|
|
43
|
-
onMouseEnter?: (event: MouseEvent<HTMLElement>) => void;
|
|
44
|
-
onMouseLeave?: (event: MouseEvent<HTMLElement>) => void;
|
|
45
|
-
onDragEnter?: (event: DragEvent<HTMLElement>) => void;
|
|
46
|
-
onDragLeave?: (event: DragEvent<HTMLElement>) => void;
|
|
47
|
-
onDragOver?: (event: DragEvent<HTMLElement>) => void;
|
|
48
|
-
onDrop?: (event: DragEvent<HTMLElement>) => void;
|
|
49
|
-
onDoubleClick?: (event: MouseEvent<HTMLElement>) => void;
|
|
50
|
-
onContextMenu?: (event: MouseEvent<HTMLElement>) => void;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* @public
|
|
54
|
-
*/
|
|
55
|
-
export type BlockComponent = ForwardRefExoticComponent<BlockProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ForwardRefExoticComponent } from 'react';
|
|
2
|
-
import type { FlexProps } from "../../..";
|
|
3
|
-
import type { Without } from '@tridion/graphene';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface CenterProps extends Without<FlexProps, 'mainAxis' | 'crossAxis'> {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export type CenterComponent = ForwardRefExoticComponent<CenterProps>;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { ForwardRefExoticComponent } from 'react';
|
|
2
|
-
import type { BlockProps } from "../../..";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export type AxisDirection = 'row' | 'column';
|
|
7
|
-
/**
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export type MainAxisAlignment = 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch';
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export type CrossAxisAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
|
-
export interface FlexProps extends BlockProps {
|
|
19
|
-
/**
|
|
20
|
-
* Defines how items are placed in the container.
|
|
21
|
-
*/
|
|
22
|
-
direction?: AxisDirection;
|
|
23
|
-
/**
|
|
24
|
-
* Item alignment on the main axis.
|
|
25
|
-
*/
|
|
26
|
-
mainAxis?: MainAxisAlignment;
|
|
27
|
-
/**
|
|
28
|
-
* Item alignment on the cross axis.
|
|
29
|
-
* Items are centered by default if direction="row".
|
|
30
|
-
*/
|
|
31
|
-
crossAxis?: CrossAxisAlignment;
|
|
32
|
-
/**
|
|
33
|
-
* Render as an inline-level element or as a block-level one?
|
|
34
|
-
*/
|
|
35
|
-
inline?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Whether flex items are forced onto one line or can wrap onto multiple lines.
|
|
38
|
-
*/
|
|
39
|
-
shouldWrap?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Take available space in the parent.
|
|
42
|
-
* The parent is required to be Flex for this property to work.
|
|
43
|
-
* Multiple components with this property set to true are going to split available space equally between them.
|
|
44
|
-
*/
|
|
45
|
-
shouldFill?: boolean;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @public
|
|
49
|
-
*/
|
|
50
|
-
export type FlexComponent = ForwardRefExoticComponent<FlexProps>;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { ForwardRefExoticComponent } from 'react';
|
|
2
|
-
import type { BlockProps, SpacingUnit } from "../../..";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export type StackAlignment = 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
7
|
-
/**
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export type StackDirection = 'row' | 'column';
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export interface StackProps extends BlockProps {
|
|
15
|
-
/**
|
|
16
|
-
* The direction in which items are going to stack.
|
|
17
|
-
*/
|
|
18
|
-
direction: StackDirection;
|
|
19
|
-
/**
|
|
20
|
-
* The spacing between items in the stack.
|
|
21
|
-
*/
|
|
22
|
-
itemGap: SpacingUnit;
|
|
23
|
-
/**
|
|
24
|
-
* How items should be aligned vertically.
|
|
25
|
-
*/
|
|
26
|
-
verticalAlignment?: StackAlignment;
|
|
27
|
-
/**
|
|
28
|
-
* How items should be aligned horizontally.
|
|
29
|
-
*/
|
|
30
|
-
horizontalAlignment?: StackAlignment;
|
|
31
|
-
/**
|
|
32
|
-
* Render as an inline-level element or as a block-level one?
|
|
33
|
-
*/
|
|
34
|
-
inline?: boolean;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
export type StackComponent = ForwardRefExoticComponent<StackProps>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface LinkProps {
|
|
6
|
-
/**
|
|
7
|
-
* String that represents a valid path to the external or internal source. The relative path always starts with `/`, otherwise it's treated as an absolute path.
|
|
8
|
-
* Relative to the current directory path is not supported (ex. `subfolder`).
|
|
9
|
-
*
|
|
10
|
-
* @example `/explorer` or `https://www.website.com`.
|
|
11
|
-
*/
|
|
12
|
-
to: string;
|
|
13
|
-
/**
|
|
14
|
-
* Boolean that indicates whether a link should be opened in new tab.
|
|
15
|
-
*/
|
|
16
|
-
openInNewTab?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* String that is shown as tooltip on hover.
|
|
19
|
-
*/
|
|
20
|
-
tooltip?: string;
|
|
21
|
-
/**
|
|
22
|
-
* The content to be rendered inside the Link component.
|
|
23
|
-
*/
|
|
24
|
-
children?: ReactNode;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
export type LinkComponent = FunctionComponent<LinkProps>;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import type { FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
import type { FlexProps } from './layout';
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export interface ModalHeaderComponentProps {
|
|
7
|
-
/**
|
|
8
|
-
* React node that is rendered as a title of the Modal component, includes expand and close buttons by default.
|
|
9
|
-
*/
|
|
10
|
-
title?: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export type ModalHeaderComponent = FunctionComponent<ModalHeaderComponentProps>;
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export interface ModalFooterComponentProps {
|
|
20
|
-
/**
|
|
21
|
-
* Label for the Cancel button of the Modal.
|
|
22
|
-
*/
|
|
23
|
-
cancelButtonLabel?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Boolean that indicates disabled state of the Cancel button.
|
|
26
|
-
*/
|
|
27
|
-
isCancelButtonDisabled?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Boolean that indicates disabled state of the Ok button.
|
|
30
|
-
*/
|
|
31
|
-
isOkButtonDisabled?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Label for the Ok button of the Modal.
|
|
34
|
-
*/
|
|
35
|
-
okButtonLabel?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Callback executed when Ok button clicked.
|
|
38
|
-
*/
|
|
39
|
-
onOk?: () => void;
|
|
40
|
-
/**
|
|
41
|
-
* Callback executed when Cancel button clicked.
|
|
42
|
-
*/
|
|
43
|
-
onCancel?: () => void;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @public
|
|
47
|
-
*/
|
|
48
|
-
export type ModalFooterComponent = FunctionComponent<ModalFooterComponentProps>;
|
|
49
|
-
/**
|
|
50
|
-
* @public
|
|
51
|
-
*/
|
|
52
|
-
export interface ModalContentComponentProps extends FlexProps {
|
|
53
|
-
/**
|
|
54
|
-
* Content of the Modal.
|
|
55
|
-
*/
|
|
56
|
-
children: ReactNode;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* @public
|
|
60
|
-
*/
|
|
61
|
-
export type ModalContentComponent = FunctionComponent<ModalContentComponentProps>;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import type { FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
import type { ColorProps, TooltipProps } from '../mixins';
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export type TextTag = 'div' | 'span' | 'h1' | 'h2' | 'h3';
|
|
7
|
-
/**
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export type TextAlignment = 'left' | 'center' | 'right' | 'justify';
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export type TextDirection = 'leftToRight' | 'rightToLeft';
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
|
-
export type TextType = 'heading1' | 'heading2' | 'heading3' | 'default' | 'defaultBold' | 'small' | 'smallBold';
|
|
19
|
-
/**
|
|
20
|
-
* @public
|
|
21
|
-
*/
|
|
22
|
-
export interface TextProps extends ColorProps, TooltipProps {
|
|
23
|
-
/**
|
|
24
|
-
* The alignment of the text in the container.
|
|
25
|
-
*/
|
|
26
|
-
alignment?: TextAlignment;
|
|
27
|
-
/**
|
|
28
|
-
* Determines whether the text should break words if they exceed the container width.
|
|
29
|
-
* Note that it can be used in combination with `multiLine: true` only, since single line text is truncated by default.
|
|
30
|
-
*/
|
|
31
|
-
breakWord?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* The content to be rendered inside the Text component.
|
|
34
|
-
*/
|
|
35
|
-
children?: ReactNode;
|
|
36
|
-
/**
|
|
37
|
-
* Determines whether the Text component should have compact spacing.
|
|
38
|
-
* If set to `true`, the line height of the text will be reduced.
|
|
39
|
-
*/
|
|
40
|
-
compact?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* The direction of the text.
|
|
43
|
-
*/
|
|
44
|
-
direction?: TextDirection;
|
|
45
|
-
/**
|
|
46
|
-
* Allow text to flow over multiple lines.
|
|
47
|
-
* By default it's a single line text with truncation enabled.
|
|
48
|
-
*/
|
|
49
|
-
multiLine?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Option to make text non-selectable by the user.
|
|
52
|
-
*/
|
|
53
|
-
notSelectable?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* The HTML tag to be used for rendering the Text component. Overrides default tag defined by `type`.
|
|
56
|
-
*/
|
|
57
|
-
tag?: TextTag;
|
|
58
|
-
/**
|
|
59
|
-
* Preset that consist of specific styling (size, weight, etc) and HTML tag.
|
|
60
|
-
*
|
|
61
|
-
* - `heading1` - usually represents a top-level heading or title. It is styled as a large and prominent text. By default `<h1>` HTML tag is used.
|
|
62
|
-
* - `heading2` - a secondary-level heading. It is styled as a slightly smaller text compared to `heading1`. By default `<h2>` HTML tag is used.
|
|
63
|
-
* - `heading3` - a tertiary-level heading. It is styled as a smaller text compared to `heading2`. By default `<h3>` HTML tag is used.
|
|
64
|
-
* - `default` - default style for regular text. It is styled as a standard paragraph text. By default `<div>` HTML tag used.
|
|
65
|
-
* - `defaultBold` - the default style for bold text. It is styled similarly to `default` but with added font-weight. By default `<div>` HTML tag is used.
|
|
66
|
-
* - `small` - a smaller size for text. It is typically used for captions, footnotes, or other smaller pieces of text. By default `<div>` HTML tag is used.
|
|
67
|
-
* - `smallBold` - a smaller size for bold text. It combines the smaller size of 'small' with the added font-weight. By default `<div>` HTML tag is used.
|
|
68
|
-
*/
|
|
69
|
-
type?: TextType;
|
|
70
|
-
/**
|
|
71
|
-
* Determines whether the text should have an underline.
|
|
72
|
-
*/
|
|
73
|
-
underline?: boolean;
|
|
74
|
-
/**
|
|
75
|
-
* Determines whether the text should be displayed in uppercase.
|
|
76
|
-
*/
|
|
77
|
-
uppercase?: boolean;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* @public
|
|
81
|
-
*/
|
|
82
|
-
export type TextComponent = FunctionComponent<TextProps>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { FunctionComponent } from 'react';
|
|
2
|
-
import type { LinkProps } from './link';
|
|
3
|
-
import type { TextProps } from './text';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface TextLinkProps extends TextProps, LinkProps {
|
|
8
|
-
/**
|
|
9
|
-
* String that is rendered as a link.
|
|
10
|
-
*/
|
|
11
|
-
text: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type TextLinkComponent = FunctionComponent<TextLinkProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export interface BorderRadius {
|
|
5
|
-
small: number;
|
|
6
|
-
large: number;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
export type BorderRadiusGetter = () => BorderRadius;
|
|
12
|
-
/**
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export type BorderRadiusUnit = keyof BorderRadius;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export interface ColorPalette {
|
|
5
|
-
transparent: string;
|
|
6
|
-
brandLight: string;
|
|
7
|
-
brandPrimary: string;
|
|
8
|
-
brandAccessible: string;
|
|
9
|
-
brandDark: string;
|
|
10
|
-
gray0: string;
|
|
11
|
-
gray10: string;
|
|
12
|
-
gray20: string;
|
|
13
|
-
gray50: string;
|
|
14
|
-
gray80: string;
|
|
15
|
-
gray100: string;
|
|
16
|
-
gray120: string;
|
|
17
|
-
gray180: string;
|
|
18
|
-
blue50: string;
|
|
19
|
-
blue100: string;
|
|
20
|
-
red50: string;
|
|
21
|
-
red100: string;
|
|
22
|
-
red120: string;
|
|
23
|
-
orange50: string;
|
|
24
|
-
orange100: string;
|
|
25
|
-
magenta50: string;
|
|
26
|
-
magenta100: string;
|
|
27
|
-
magenta120: string;
|
|
28
|
-
yellow10: string;
|
|
29
|
-
yellow50: string;
|
|
30
|
-
yellow100: string;
|
|
31
|
-
yellow120: string;
|
|
32
|
-
yellow140: string;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
|
-
export type ColorPaletteGetter = () => ColorPalette;
|
|
38
|
-
/**
|
|
39
|
-
* @public
|
|
40
|
-
*/
|
|
41
|
-
export type Color = keyof ColorPalette;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export interface OpacityLevel {
|
|
5
|
-
semiopaque: number;
|
|
6
|
-
medium: number;
|
|
7
|
-
semitransparent: number;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export type OpacityLevelGetter = () => OpacityLevel;
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type OpacityLevelUnit = keyof OpacityLevel;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export interface Spacing {
|
|
5
|
-
zero: number;
|
|
6
|
-
nano: number;
|
|
7
|
-
xs: number;
|
|
8
|
-
sm: number;
|
|
9
|
-
md: number;
|
|
10
|
-
lg: number;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export type SpacingGetter = () => Spacing;
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export type SpacingUnit = keyof Spacing;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export interface TransitionDuration {
|
|
5
|
-
short: number;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export type TransitionDurationGetter = () => TransitionDuration;
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export type TransitionDurationUnit = keyof TransitionDuration;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export interface ZIndex {
|
|
5
|
-
lowest: number;
|
|
6
|
-
low: number;
|
|
7
|
-
middle: number;
|
|
8
|
-
high: number;
|
|
9
|
-
highest: number;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export type ZIndexGetter = () => ZIndex;
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
|
-
export type ZIndexInit = keyof ZIndex;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface ConfirmationHookArguments {
|
|
6
|
-
/**
|
|
7
|
-
* Dialog's title.
|
|
8
|
-
*/
|
|
9
|
-
title: string;
|
|
10
|
-
/**
|
|
11
|
-
* Callback is called after pressing confirm button.
|
|
12
|
-
*/
|
|
13
|
-
onConfirm: () => void;
|
|
14
|
-
/**
|
|
15
|
-
* Label for dialog's cancel button.
|
|
16
|
-
*/
|
|
17
|
-
cancelButtonLabel?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Content of the dialog.
|
|
20
|
-
*/
|
|
21
|
-
description?: ReactNode;
|
|
22
|
-
/**
|
|
23
|
-
* Label for dialog's confirm button.
|
|
24
|
-
*/
|
|
25
|
-
okButtonLabel?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Callback is executed when dialog has been canceled.
|
|
28
|
-
*/
|
|
29
|
-
onCancel?: () => void;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @public
|
|
33
|
-
*/
|
|
34
|
-
export interface ConfirmationHookResult {
|
|
35
|
-
open: () => void;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
export type ConfirmationHook = (args: ConfirmationHookArguments) => ConfirmationHookResult;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import type { ComponentType } from 'react';
|
|
2
|
-
import type { ValuesOfArray } from '@tridion/graphene';
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export declare const modalTypes: readonly ["default", "danger"];
|
|
7
|
-
/**
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export declare const modalType: {
|
|
11
|
-
default: "default";
|
|
12
|
-
danger: "danger";
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
|
-
export type ModalType = ValuesOfArray<typeof modalTypes>;
|
|
18
|
-
/**
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
export interface ModalResult<TResultData> {
|
|
22
|
-
status: ModalStatus;
|
|
23
|
-
result: TResultData | undefined;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
|
-
export interface ModalContentProps<TResultData> {
|
|
29
|
-
onConfirm: (result?: TResultData) => void;
|
|
30
|
-
onCancel: () => void;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* @public
|
|
34
|
-
*/
|
|
35
|
-
export interface ModalHookArguments<TResultData = unknown> {
|
|
36
|
-
content: ComponentType<ModalContentProps<TResultData>>;
|
|
37
|
-
height?: number;
|
|
38
|
-
isMaximizable?: boolean;
|
|
39
|
-
minHeight?: number;
|
|
40
|
-
minWidth?: number;
|
|
41
|
-
width?: number;
|
|
42
|
-
modalType?: ModalType;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @public
|
|
46
|
-
*/
|
|
47
|
-
export declare const modalStatuses: readonly ["ok", "cancel"];
|
|
48
|
-
/**
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
export declare const modalStatus: {
|
|
52
|
-
ok: "ok";
|
|
53
|
-
cancel: "cancel";
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* @public
|
|
57
|
-
*/
|
|
58
|
-
export type ModalStatus = ValuesOfArray<typeof modalStatuses>;
|
|
59
|
-
/**
|
|
60
|
-
* @public
|
|
61
|
-
*/
|
|
62
|
-
export interface ModalHookResult<TResultData> {
|
|
63
|
-
open: () => Promise<ModalResult<TResultData>>;
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* @public
|
|
67
|
-
*/
|
|
68
|
-
export type ModalHook<TResultData = unknown> = (args: ModalHookArguments) => ModalHookResult<TResultData>;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export type NotificationType = 'error' | 'info' | 'success' | 'warning';
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export interface NotifyArguments {
|
|
9
|
-
/**
|
|
10
|
-
* Type defines styling of the message.
|
|
11
|
-
*
|
|
12
|
-
* Depending on intention of the message one of the values can be used:
|
|
13
|
-
* - `error` - in cases error occurred, operation failed.
|
|
14
|
-
* - `info` - general information for the user.
|
|
15
|
-
* - `success` - report about success of the operation.
|
|
16
|
-
* - `warning` - information that user needs to pay attention to.
|
|
17
|
-
*/
|
|
18
|
-
type: NotificationType;
|
|
19
|
-
/**
|
|
20
|
-
* Notification's title.
|
|
21
|
-
*/
|
|
22
|
-
title: string;
|
|
23
|
-
/**
|
|
24
|
-
* Detailed notification message.
|
|
25
|
-
*/
|
|
26
|
-
description?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Option to store notification in Message Center.
|
|
29
|
-
*/
|
|
30
|
-
showInMessageCenter?: boolean;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* @public
|
|
34
|
-
*/
|
|
35
|
-
export interface NotificationsHookResult {
|
|
36
|
-
/**
|
|
37
|
-
* Method to show a new notification.
|
|
38
|
-
*
|
|
39
|
-
* @param args - options to customize notification.
|
|
40
|
-
*/
|
|
41
|
-
notify: (args: NotifyArguments) => void;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
export type NotificationsHook = () => NotificationsHookResult;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { UserProfile } from '@tridion-sites/models';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface UserProfileHookResult {
|
|
6
|
-
/**
|
|
7
|
-
* `UserProfile` instance of the logged-in Tridion user.
|
|
8
|
-
*/
|
|
9
|
-
userProfile: UserProfile | undefined;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export type UserProfileHook = () => UserProfileHookResult;
|