@elementor/editor-site-navigation 4.5.0-1233 → 4.5.0-1235
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +83 -15
- package/dist/index.d.ts +83 -15
- package/dist/index.js +975 -822
- package/dist/index.mjs +938 -800
- package/package.json +12 -12
- package/src/components/panel/content-panel-active-filters.tsx +2 -2
- package/src/components/panel/content-panel-chrome.ts +47 -21
- package/src/components/panel/content-panel-search.tsx +9 -4
- package/src/components/panel/{content-panel-toolbar.tsx → content-panel-section-toolbar.tsx} +9 -2
- package/src/components/panel/content-panel-sort-list.tsx +2 -2
- package/src/components/panel/content-panel-sort.tsx +2 -2
- package/src/components/panel/content-panel-status-filter-list.tsx +25 -10
- package/src/components/panel/content-panel-status-filter.tsx +2 -2
- package/src/components/panel/posts-list/collapsible-list.tsx +3 -0
- package/src/components/panel/posts-list/list-items/edit-mode-template.tsx +6 -0
- package/src/components/panel/posts-list/list-items/list-item-create.tsx +1 -0
- package/src/components/panel/posts-list/list-items/list-item-duplicate.tsx +1 -0
- package/src/components/panel/posts-list/list-items/list-item-view.tsx +15 -3
- package/src/components/panel/posts-list/posts-collapsible-list.tsx +42 -18
- package/src/components/panel/shell.tsx +0 -3
- package/src/components/shared/page-title-and-status.tsx +4 -3
- package/src/contexts/content-panel-coordinator.tsx +2 -65
- package/src/contexts/site-content-section-toolbar.tsx +61 -0
- package/src/hooks/use-homepage-actions.ts +12 -1
- package/src/hooks/use-site-content-section-list-controls.ts +64 -0
- package/src/index.ts +28 -1
- package/src/site-content-status-filter.ts +11 -0
package/dist/index.d.mts
CHANGED
|
@@ -28,8 +28,6 @@ declare function registerSiteContentHeaderCreateItem(item: SiteContentHeaderCrea
|
|
|
28
28
|
declare function getSiteContentHeaderCreateItems(): SiteContentHeaderCreateItem[];
|
|
29
29
|
declare function resetSiteContentHeaderCreateItems(): void;
|
|
30
30
|
|
|
31
|
-
type SiteContentSortOption = 'newest' | 'oldest';
|
|
32
|
-
|
|
33
31
|
type Post = {
|
|
34
32
|
isHome?: boolean;
|
|
35
33
|
id: number;
|
|
@@ -66,32 +64,73 @@ declare const postTypesMap: {
|
|
|
66
64
|
};
|
|
67
65
|
declare const POST_PER_PAGE = 10;
|
|
68
66
|
|
|
69
|
-
type SiteContentSelectableStatus = 'draft' | 'future' | 'pending' | 'private' | 'publish' | 'trash';
|
|
70
|
-
type SiteContentStatusFilters = Record<SiteContentSelectableStatus, boolean>;
|
|
71
|
-
|
|
72
67
|
type ContentPanelSectionId = Slug | (string & {});
|
|
73
68
|
type SectionHandlers = {
|
|
74
69
|
setExpanded: (expanded: boolean) => void;
|
|
75
70
|
startCreate: () => void;
|
|
76
71
|
};
|
|
77
72
|
type ContentPanelCoordinatorValue = {
|
|
73
|
+
registerSection: (type: ContentPanelSectionId, handlers: SectionHandlers) => void;
|
|
74
|
+
requestCreate: (type: ContentPanelSectionId) => void;
|
|
75
|
+
unregisterSection: (type: ContentPanelSectionId) => void;
|
|
76
|
+
};
|
|
77
|
+
declare function ContentPanelCoordinatorProvider({ children }: {
|
|
78
|
+
children: ReactNode;
|
|
79
|
+
}): React.JSX.Element;
|
|
80
|
+
declare function useContentPanelCoordinator(): ContentPanelCoordinatorValue;
|
|
81
|
+
|
|
82
|
+
type SiteContentSortOption = 'newest' | 'oldest';
|
|
83
|
+
declare const DEFAULT_SITE_CONTENT_SORT: SiteContentSortOption;
|
|
84
|
+
type SiteContentRestListOrder = {
|
|
85
|
+
order: 'asc' | 'desc';
|
|
86
|
+
orderby: 'date';
|
|
87
|
+
};
|
|
88
|
+
declare function getRestOrderForSiteContentSort(sort: SiteContentSortOption): SiteContentRestListOrder;
|
|
89
|
+
|
|
90
|
+
type SiteContentSelectableStatus = 'draft' | 'future' | 'pending' | 'private' | 'publish' | 'trash';
|
|
91
|
+
type SiteContentStatusFilters = Record<SiteContentSelectableStatus, boolean>;
|
|
92
|
+
declare const SITE_CONTENT_SELECTABLE_STATUS_FILTERS: SiteContentSelectableStatus[];
|
|
93
|
+
declare const EMPTY_SITE_CONTENT_STATUS_FILTERS: SiteContentStatusFilters;
|
|
94
|
+
declare function hasActiveSiteContentStatusFilters(filters: SiteContentStatusFilters): boolean;
|
|
95
|
+
declare const serializeSiteContentStatusFilters: (statusFilters: SiteContentStatusFilters) => string;
|
|
96
|
+
declare function getRestStatusForSiteContentFilters(filters: SiteContentStatusFilters): string;
|
|
97
|
+
declare function isSiteContentTrashFilterActive(filters: SiteContentStatusFilters): boolean;
|
|
98
|
+
declare function isSiteContentListNarrowed(filters: SiteContentStatusFilters, search: string): boolean;
|
|
99
|
+
declare function getSiteContentStatusFilterForCount(status: SiteContentSelectableStatus): SiteContentStatusFilters;
|
|
100
|
+
|
|
101
|
+
declare function useSiteContentSectionListControls(): {
|
|
78
102
|
clearActiveToolbarFilters: () => void;
|
|
79
103
|
clearSiteContentSort: () => void;
|
|
80
104
|
clearStatusFilters: () => void;
|
|
81
|
-
|
|
82
|
-
requestCreate: (type: ContentPanelSectionId) => void;
|
|
105
|
+
debouncedSearch: string;
|
|
83
106
|
searchQuery: string;
|
|
84
|
-
setSearchQuery:
|
|
107
|
+
setSearchQuery: React.Dispatch<React.SetStateAction<string>>;
|
|
85
108
|
setSiteContentSort: (sort: SiteContentSortOption) => void;
|
|
86
109
|
siteContentSort: SiteContentSortOption;
|
|
87
110
|
statusFilters: SiteContentStatusFilters;
|
|
88
111
|
toggleStatusFilter: (filter: SiteContentSelectableStatus) => void;
|
|
89
|
-
unregisterSection: (type: ContentPanelSectionId) => void;
|
|
90
112
|
};
|
|
91
|
-
|
|
113
|
+
type SiteContentSectionListControls = ReturnType<typeof useSiteContentSectionListControls>;
|
|
114
|
+
|
|
115
|
+
type SiteContentSectionToolbarContextValue = SiteContentSectionListControls & {
|
|
116
|
+
statusFilterCountSlugs: Slug[];
|
|
117
|
+
statusFilterCounts?: Partial<Record<SiteContentSelectableStatus, number>>;
|
|
118
|
+
statusFilterCountsPending?: boolean;
|
|
119
|
+
};
|
|
120
|
+
type ProviderProps = {
|
|
92
121
|
children: ReactNode;
|
|
93
|
-
|
|
94
|
-
|
|
122
|
+
statusFilterCountSlugs?: Slug[];
|
|
123
|
+
statusFilterCounts?: Partial<Record<SiteContentSelectableStatus, number>>;
|
|
124
|
+
statusFilterCountsPending?: boolean;
|
|
125
|
+
};
|
|
126
|
+
declare function SiteContentSectionToolbarProvider({ children, statusFilterCountSlugs, statusFilterCounts, statusFilterCountsPending, }: ProviderProps): React.JSX.Element;
|
|
127
|
+
declare function useSiteContentSectionToolbar(): SiteContentSectionToolbarContextValue;
|
|
128
|
+
|
|
129
|
+
type Props$2 = {
|
|
130
|
+
addAction?: ReactNode;
|
|
131
|
+
searchAriaLabel?: string;
|
|
132
|
+
};
|
|
133
|
+
declare function ContentPanelSectionToolbar({ addAction, searchAriaLabel }: Props$2): React.JSX.Element;
|
|
95
134
|
|
|
96
135
|
type Props$1 = {
|
|
97
136
|
count: number;
|
|
@@ -99,10 +138,11 @@ type Props$1 = {
|
|
|
99
138
|
headerRef?: Ref<HTMLDivElement>;
|
|
100
139
|
isOpen: boolean;
|
|
101
140
|
onOpenChange: (isOpen: boolean) => void;
|
|
141
|
+
sectionToolbar?: ReactNode;
|
|
102
142
|
title: string;
|
|
103
143
|
trailingActions?: ReactNode;
|
|
104
144
|
};
|
|
105
|
-
declare function CollapsibleList({ count, countChipLabel, headerRef, isOpen, onOpenChange, title, trailingActions, children, }: PropsWithChildren<Props$1>): React.JSX.Element;
|
|
145
|
+
declare function CollapsibleList({ count, countChipLabel, headerRef, isOpen, onOpenChange, sectionToolbar, title, trailingActions, children, }: PropsWithChildren<Props$1>): React.JSX.Element;
|
|
106
146
|
|
|
107
147
|
declare function ErrorState(): React.JSX.Element;
|
|
108
148
|
|
|
@@ -135,18 +175,46 @@ declare function usePostListPagination({ fetchNextPage, hasNextPage, isFetchingN
|
|
|
135
175
|
declare const contentPanelListRowPaddingSx: {
|
|
136
176
|
paddingInline: number;
|
|
137
177
|
};
|
|
178
|
+
declare function getContentPanelListItemSx(trailingActionCount: number): {
|
|
179
|
+
'&& > .MuiListItemButton-root': {
|
|
180
|
+
paddingInlineEnd: number;
|
|
181
|
+
paddingRight: string;
|
|
182
|
+
};
|
|
183
|
+
paddingInline: number;
|
|
184
|
+
};
|
|
185
|
+
declare function getContentPanelListItemRowStateSx(isActive: boolean, allowRowHover: boolean): {
|
|
186
|
+
borderRadius: number;
|
|
187
|
+
backgroundColor: string;
|
|
188
|
+
'&:hover': {
|
|
189
|
+
backgroundColor: string;
|
|
190
|
+
};
|
|
191
|
+
} | {
|
|
192
|
+
borderRadius: number;
|
|
193
|
+
backgroundColor?: undefined;
|
|
194
|
+
'&:hover'?: undefined;
|
|
195
|
+
} | {
|
|
196
|
+
borderRadius: number;
|
|
197
|
+
'&:hover': {
|
|
198
|
+
backgroundColor: string;
|
|
199
|
+
};
|
|
200
|
+
backgroundColor?: undefined;
|
|
201
|
+
};
|
|
138
202
|
declare const contentPanelListItemButtonSx: {
|
|
139
203
|
justifyContent: string;
|
|
140
204
|
paddingInline: number;
|
|
141
205
|
textAlign: string;
|
|
142
206
|
width: string;
|
|
207
|
+
backgroundColor: string;
|
|
143
208
|
'&.Mui-selected': {
|
|
144
209
|
backgroundColor: string;
|
|
145
210
|
};
|
|
146
211
|
'&.Mui-selected:hover': {
|
|
147
212
|
backgroundColor: string;
|
|
148
213
|
};
|
|
149
|
-
'&:hover
|
|
214
|
+
'&:hover': {
|
|
215
|
+
backgroundColor: string;
|
|
216
|
+
};
|
|
217
|
+
'&.Mui-disabled': {
|
|
150
218
|
backgroundColor: string;
|
|
151
219
|
};
|
|
152
220
|
};
|
|
@@ -196,4 +264,4 @@ type SiteContentListItemActionsProps = {
|
|
|
196
264
|
declare const SiteContentListItemActionsSlot: React.ComponentType<SiteContentListItemActionsProps>;
|
|
197
265
|
declare const injectIntoSiteContentListItemActions: (args: _elementor_locations.InjectArgs<SiteContentListItemActionsProps>) => void;
|
|
198
266
|
|
|
199
|
-
export { ContentPanelAddIconButton, ContentPanelCoordinatorProvider, type ContentPanelSectionId, POPUPS_SITE_CONTENT_SECTION_ID, POST_PER_PAGE, PopupSectionAddButton, type PopupSectionAddButtonRef, type PopupsSiteContentEnv, type Post, CollapsibleList as SiteContentCollapsibleList, EditModeTemplate as SiteContentEditModeTemplate, type SiteContentHeaderCreateItem, ErrorState as SiteContentListErrorState, type SiteContentListItemActionsProps, SiteContentListItemActionsSlot, PageTitleAndStatus as SiteContentPageTitleAndStatus, PostListPaginationActions as SiteContentPaginationActions, type SiteContentSection, contentPanelListItemButtonSx, contentPanelListRowPaddingSx, env, extendIconsMap, getSiteContentHeaderCreateItems, getSiteContentSections, init, injectIntoSiteContentListItemActions, registerSiteContentHeaderCreateItem, registerSiteContentSection, resetSiteContentHeaderCreateItems, resetSiteContentSections, useContentPanelCoordinator, usePostListPagination };
|
|
267
|
+
export { ContentPanelAddIconButton, ContentPanelCoordinatorProvider, type ContentPanelSectionId, DEFAULT_SITE_CONTENT_SORT, EMPTY_SITE_CONTENT_STATUS_FILTERS, POPUPS_SITE_CONTENT_SECTION_ID, POST_PER_PAGE, PopupSectionAddButton, type PopupSectionAddButtonRef, type PopupsSiteContentEnv, type Post, SITE_CONTENT_SELECTABLE_STATUS_FILTERS, CollapsibleList as SiteContentCollapsibleList, EditModeTemplate as SiteContentEditModeTemplate, type SiteContentHeaderCreateItem, ErrorState as SiteContentListErrorState, type SiteContentListItemActionsProps, SiteContentListItemActionsSlot, PageTitleAndStatus as SiteContentPageTitleAndStatus, PostListPaginationActions as SiteContentPaginationActions, type SiteContentSection, ContentPanelSectionToolbar as SiteContentSectionToolbar, SiteContentSectionToolbarProvider, type SiteContentSelectableStatus, type SiteContentSortOption, type SiteContentStatusFilters, contentPanelListItemButtonSx, contentPanelListRowPaddingSx, env, extendIconsMap, getContentPanelListItemRowStateSx, getContentPanelListItemSx, getRestOrderForSiteContentSort, getRestStatusForSiteContentFilters, getSiteContentHeaderCreateItems, getSiteContentSections, getSiteContentStatusFilterForCount, hasActiveSiteContentStatusFilters, init, injectIntoSiteContentListItemActions, isSiteContentListNarrowed, isSiteContentTrashFilterActive, registerSiteContentHeaderCreateItem, registerSiteContentSection, resetSiteContentHeaderCreateItems, resetSiteContentSections, serializeSiteContentStatusFilters, useContentPanelCoordinator, usePostListPagination, useSiteContentSectionToolbar };
|
package/dist/index.d.ts
CHANGED
|
@@ -28,8 +28,6 @@ declare function registerSiteContentHeaderCreateItem(item: SiteContentHeaderCrea
|
|
|
28
28
|
declare function getSiteContentHeaderCreateItems(): SiteContentHeaderCreateItem[];
|
|
29
29
|
declare function resetSiteContentHeaderCreateItems(): void;
|
|
30
30
|
|
|
31
|
-
type SiteContentSortOption = 'newest' | 'oldest';
|
|
32
|
-
|
|
33
31
|
type Post = {
|
|
34
32
|
isHome?: boolean;
|
|
35
33
|
id: number;
|
|
@@ -66,32 +64,73 @@ declare const postTypesMap: {
|
|
|
66
64
|
};
|
|
67
65
|
declare const POST_PER_PAGE = 10;
|
|
68
66
|
|
|
69
|
-
type SiteContentSelectableStatus = 'draft' | 'future' | 'pending' | 'private' | 'publish' | 'trash';
|
|
70
|
-
type SiteContentStatusFilters = Record<SiteContentSelectableStatus, boolean>;
|
|
71
|
-
|
|
72
67
|
type ContentPanelSectionId = Slug | (string & {});
|
|
73
68
|
type SectionHandlers = {
|
|
74
69
|
setExpanded: (expanded: boolean) => void;
|
|
75
70
|
startCreate: () => void;
|
|
76
71
|
};
|
|
77
72
|
type ContentPanelCoordinatorValue = {
|
|
73
|
+
registerSection: (type: ContentPanelSectionId, handlers: SectionHandlers) => void;
|
|
74
|
+
requestCreate: (type: ContentPanelSectionId) => void;
|
|
75
|
+
unregisterSection: (type: ContentPanelSectionId) => void;
|
|
76
|
+
};
|
|
77
|
+
declare function ContentPanelCoordinatorProvider({ children }: {
|
|
78
|
+
children: ReactNode;
|
|
79
|
+
}): React.JSX.Element;
|
|
80
|
+
declare function useContentPanelCoordinator(): ContentPanelCoordinatorValue;
|
|
81
|
+
|
|
82
|
+
type SiteContentSortOption = 'newest' | 'oldest';
|
|
83
|
+
declare const DEFAULT_SITE_CONTENT_SORT: SiteContentSortOption;
|
|
84
|
+
type SiteContentRestListOrder = {
|
|
85
|
+
order: 'asc' | 'desc';
|
|
86
|
+
orderby: 'date';
|
|
87
|
+
};
|
|
88
|
+
declare function getRestOrderForSiteContentSort(sort: SiteContentSortOption): SiteContentRestListOrder;
|
|
89
|
+
|
|
90
|
+
type SiteContentSelectableStatus = 'draft' | 'future' | 'pending' | 'private' | 'publish' | 'trash';
|
|
91
|
+
type SiteContentStatusFilters = Record<SiteContentSelectableStatus, boolean>;
|
|
92
|
+
declare const SITE_CONTENT_SELECTABLE_STATUS_FILTERS: SiteContentSelectableStatus[];
|
|
93
|
+
declare const EMPTY_SITE_CONTENT_STATUS_FILTERS: SiteContentStatusFilters;
|
|
94
|
+
declare function hasActiveSiteContentStatusFilters(filters: SiteContentStatusFilters): boolean;
|
|
95
|
+
declare const serializeSiteContentStatusFilters: (statusFilters: SiteContentStatusFilters) => string;
|
|
96
|
+
declare function getRestStatusForSiteContentFilters(filters: SiteContentStatusFilters): string;
|
|
97
|
+
declare function isSiteContentTrashFilterActive(filters: SiteContentStatusFilters): boolean;
|
|
98
|
+
declare function isSiteContentListNarrowed(filters: SiteContentStatusFilters, search: string): boolean;
|
|
99
|
+
declare function getSiteContentStatusFilterForCount(status: SiteContentSelectableStatus): SiteContentStatusFilters;
|
|
100
|
+
|
|
101
|
+
declare function useSiteContentSectionListControls(): {
|
|
78
102
|
clearActiveToolbarFilters: () => void;
|
|
79
103
|
clearSiteContentSort: () => void;
|
|
80
104
|
clearStatusFilters: () => void;
|
|
81
|
-
|
|
82
|
-
requestCreate: (type: ContentPanelSectionId) => void;
|
|
105
|
+
debouncedSearch: string;
|
|
83
106
|
searchQuery: string;
|
|
84
|
-
setSearchQuery:
|
|
107
|
+
setSearchQuery: React.Dispatch<React.SetStateAction<string>>;
|
|
85
108
|
setSiteContentSort: (sort: SiteContentSortOption) => void;
|
|
86
109
|
siteContentSort: SiteContentSortOption;
|
|
87
110
|
statusFilters: SiteContentStatusFilters;
|
|
88
111
|
toggleStatusFilter: (filter: SiteContentSelectableStatus) => void;
|
|
89
|
-
unregisterSection: (type: ContentPanelSectionId) => void;
|
|
90
112
|
};
|
|
91
|
-
|
|
113
|
+
type SiteContentSectionListControls = ReturnType<typeof useSiteContentSectionListControls>;
|
|
114
|
+
|
|
115
|
+
type SiteContentSectionToolbarContextValue = SiteContentSectionListControls & {
|
|
116
|
+
statusFilterCountSlugs: Slug[];
|
|
117
|
+
statusFilterCounts?: Partial<Record<SiteContentSelectableStatus, number>>;
|
|
118
|
+
statusFilterCountsPending?: boolean;
|
|
119
|
+
};
|
|
120
|
+
type ProviderProps = {
|
|
92
121
|
children: ReactNode;
|
|
93
|
-
|
|
94
|
-
|
|
122
|
+
statusFilterCountSlugs?: Slug[];
|
|
123
|
+
statusFilterCounts?: Partial<Record<SiteContentSelectableStatus, number>>;
|
|
124
|
+
statusFilterCountsPending?: boolean;
|
|
125
|
+
};
|
|
126
|
+
declare function SiteContentSectionToolbarProvider({ children, statusFilterCountSlugs, statusFilterCounts, statusFilterCountsPending, }: ProviderProps): React.JSX.Element;
|
|
127
|
+
declare function useSiteContentSectionToolbar(): SiteContentSectionToolbarContextValue;
|
|
128
|
+
|
|
129
|
+
type Props$2 = {
|
|
130
|
+
addAction?: ReactNode;
|
|
131
|
+
searchAriaLabel?: string;
|
|
132
|
+
};
|
|
133
|
+
declare function ContentPanelSectionToolbar({ addAction, searchAriaLabel }: Props$2): React.JSX.Element;
|
|
95
134
|
|
|
96
135
|
type Props$1 = {
|
|
97
136
|
count: number;
|
|
@@ -99,10 +138,11 @@ type Props$1 = {
|
|
|
99
138
|
headerRef?: Ref<HTMLDivElement>;
|
|
100
139
|
isOpen: boolean;
|
|
101
140
|
onOpenChange: (isOpen: boolean) => void;
|
|
141
|
+
sectionToolbar?: ReactNode;
|
|
102
142
|
title: string;
|
|
103
143
|
trailingActions?: ReactNode;
|
|
104
144
|
};
|
|
105
|
-
declare function CollapsibleList({ count, countChipLabel, headerRef, isOpen, onOpenChange, title, trailingActions, children, }: PropsWithChildren<Props$1>): React.JSX.Element;
|
|
145
|
+
declare function CollapsibleList({ count, countChipLabel, headerRef, isOpen, onOpenChange, sectionToolbar, title, trailingActions, children, }: PropsWithChildren<Props$1>): React.JSX.Element;
|
|
106
146
|
|
|
107
147
|
declare function ErrorState(): React.JSX.Element;
|
|
108
148
|
|
|
@@ -135,18 +175,46 @@ declare function usePostListPagination({ fetchNextPage, hasNextPage, isFetchingN
|
|
|
135
175
|
declare const contentPanelListRowPaddingSx: {
|
|
136
176
|
paddingInline: number;
|
|
137
177
|
};
|
|
178
|
+
declare function getContentPanelListItemSx(trailingActionCount: number): {
|
|
179
|
+
'&& > .MuiListItemButton-root': {
|
|
180
|
+
paddingInlineEnd: number;
|
|
181
|
+
paddingRight: string;
|
|
182
|
+
};
|
|
183
|
+
paddingInline: number;
|
|
184
|
+
};
|
|
185
|
+
declare function getContentPanelListItemRowStateSx(isActive: boolean, allowRowHover: boolean): {
|
|
186
|
+
borderRadius: number;
|
|
187
|
+
backgroundColor: string;
|
|
188
|
+
'&:hover': {
|
|
189
|
+
backgroundColor: string;
|
|
190
|
+
};
|
|
191
|
+
} | {
|
|
192
|
+
borderRadius: number;
|
|
193
|
+
backgroundColor?: undefined;
|
|
194
|
+
'&:hover'?: undefined;
|
|
195
|
+
} | {
|
|
196
|
+
borderRadius: number;
|
|
197
|
+
'&:hover': {
|
|
198
|
+
backgroundColor: string;
|
|
199
|
+
};
|
|
200
|
+
backgroundColor?: undefined;
|
|
201
|
+
};
|
|
138
202
|
declare const contentPanelListItemButtonSx: {
|
|
139
203
|
justifyContent: string;
|
|
140
204
|
paddingInline: number;
|
|
141
205
|
textAlign: string;
|
|
142
206
|
width: string;
|
|
207
|
+
backgroundColor: string;
|
|
143
208
|
'&.Mui-selected': {
|
|
144
209
|
backgroundColor: string;
|
|
145
210
|
};
|
|
146
211
|
'&.Mui-selected:hover': {
|
|
147
212
|
backgroundColor: string;
|
|
148
213
|
};
|
|
149
|
-
'&:hover
|
|
214
|
+
'&:hover': {
|
|
215
|
+
backgroundColor: string;
|
|
216
|
+
};
|
|
217
|
+
'&.Mui-disabled': {
|
|
150
218
|
backgroundColor: string;
|
|
151
219
|
};
|
|
152
220
|
};
|
|
@@ -196,4 +264,4 @@ type SiteContentListItemActionsProps = {
|
|
|
196
264
|
declare const SiteContentListItemActionsSlot: React.ComponentType<SiteContentListItemActionsProps>;
|
|
197
265
|
declare const injectIntoSiteContentListItemActions: (args: _elementor_locations.InjectArgs<SiteContentListItemActionsProps>) => void;
|
|
198
266
|
|
|
199
|
-
export { ContentPanelAddIconButton, ContentPanelCoordinatorProvider, type ContentPanelSectionId, POPUPS_SITE_CONTENT_SECTION_ID, POST_PER_PAGE, PopupSectionAddButton, type PopupSectionAddButtonRef, type PopupsSiteContentEnv, type Post, CollapsibleList as SiteContentCollapsibleList, EditModeTemplate as SiteContentEditModeTemplate, type SiteContentHeaderCreateItem, ErrorState as SiteContentListErrorState, type SiteContentListItemActionsProps, SiteContentListItemActionsSlot, PageTitleAndStatus as SiteContentPageTitleAndStatus, PostListPaginationActions as SiteContentPaginationActions, type SiteContentSection, contentPanelListItemButtonSx, contentPanelListRowPaddingSx, env, extendIconsMap, getSiteContentHeaderCreateItems, getSiteContentSections, init, injectIntoSiteContentListItemActions, registerSiteContentHeaderCreateItem, registerSiteContentSection, resetSiteContentHeaderCreateItems, resetSiteContentSections, useContentPanelCoordinator, usePostListPagination };
|
|
267
|
+
export { ContentPanelAddIconButton, ContentPanelCoordinatorProvider, type ContentPanelSectionId, DEFAULT_SITE_CONTENT_SORT, EMPTY_SITE_CONTENT_STATUS_FILTERS, POPUPS_SITE_CONTENT_SECTION_ID, POST_PER_PAGE, PopupSectionAddButton, type PopupSectionAddButtonRef, type PopupsSiteContentEnv, type Post, SITE_CONTENT_SELECTABLE_STATUS_FILTERS, CollapsibleList as SiteContentCollapsibleList, EditModeTemplate as SiteContentEditModeTemplate, type SiteContentHeaderCreateItem, ErrorState as SiteContentListErrorState, type SiteContentListItemActionsProps, SiteContentListItemActionsSlot, PageTitleAndStatus as SiteContentPageTitleAndStatus, PostListPaginationActions as SiteContentPaginationActions, type SiteContentSection, ContentPanelSectionToolbar as SiteContentSectionToolbar, SiteContentSectionToolbarProvider, type SiteContentSelectableStatus, type SiteContentSortOption, type SiteContentStatusFilters, contentPanelListItemButtonSx, contentPanelListRowPaddingSx, env, extendIconsMap, getContentPanelListItemRowStateSx, getContentPanelListItemSx, getRestOrderForSiteContentSort, getRestStatusForSiteContentFilters, getSiteContentHeaderCreateItems, getSiteContentSections, getSiteContentStatusFilterForCount, hasActiveSiteContentStatusFilters, init, injectIntoSiteContentListItemActions, isSiteContentListNarrowed, isSiteContentTrashFilterActive, registerSiteContentHeaderCreateItem, registerSiteContentSection, resetSiteContentHeaderCreateItems, resetSiteContentSections, serializeSiteContentStatusFilters, useContentPanelCoordinator, usePostListPagination, useSiteContentSectionToolbar };
|