File tree Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { XIcon } from '../../../icons/X/index.js'
7
7
import { useDocumentInfo } from '../../../providers/DocumentInfo/index.js'
8
8
import { useTranslation } from '../../../providers/Translation/index.js'
9
9
import { IDLabel } from '../../IDLabel/index.js'
10
- import { baseClass as docDrawerBaseClass } from '../index.js'
10
+ import { documentDrawerBaseClass } from '../index.js'
11
11
import './index.scss'
12
12
13
13
export const DocumentDrawerHeader : React . FC < {
@@ -17,12 +17,14 @@ export const DocumentDrawerHeader: React.FC<{
17
17
const { t } = useTranslation ( )
18
18
19
19
return (
20
- < Gutter className = { `${ docDrawerBaseClass } __header` } >
21
- < div className = { `${ docDrawerBaseClass } __header-content` } >
22
- < h2 className = { `${ docDrawerBaseClass } __header-text` } > { < RenderTitle element = "span" /> } </ h2 >
20
+ < Gutter className = { `${ documentDrawerBaseClass } __header` } >
21
+ < div className = { `${ documentDrawerBaseClass } __header-content` } >
22
+ < h2 className = { `${ documentDrawerBaseClass } __header-text` } >
23
+ { < RenderTitle element = "span" /> }
24
+ </ h2 >
23
25
< button
24
26
aria-label = { t ( 'general:close' ) }
25
- className = { `${ docDrawerBaseClass } __header-close` }
27
+ className = { `${ documentDrawerBaseClass } __header-close` }
26
28
onClick = { ( ) => closeModal ( drawerSlug ) }
27
29
type = "button"
28
30
>
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { Drawer, DrawerToggler } from '../Drawer/index.js'
11
11
import { DocumentDrawerContent } from './DrawerContent.js'
12
12
import './index.scss'
13
13
14
- export const baseClass = 'doc-drawer'
14
+ export const documentDrawerBaseClass = 'doc-drawer'
15
15
16
16
const formatDocumentDrawerSlug = ( {
17
17
id,
@@ -43,7 +43,7 @@ export const DocumentDrawerToggler: React.FC<DocumentTogglerProps> = ({
43
43
aria-label = { t ( ! id ? 'fields:addNewLabel' : 'general:editLabel' , {
44
44
label : collectionConfig ?. labels . singular ,
45
45
} ) }
46
- className = { [ className , `${ baseClass } __toggler` ] . filter ( Boolean ) . join ( ' ' ) }
46
+ className = { [ className , `${ documentDrawerBaseClass } __toggler` ] . filter ( Boolean ) . join ( ' ' ) }
47
47
disabled = { disabled }
48
48
onClick = { onClick }
49
49
slug = { drawerSlug }
@@ -58,7 +58,7 @@ export const DocumentDrawer: React.FC<DocumentDrawerProps> = (props) => {
58
58
const { drawerSlug } = props
59
59
60
60
return (
61
- < Drawer className = { baseClass } gutter = { false } Header = { null } slug = { drawerSlug } >
61
+ < Drawer className = { documentDrawerBaseClass } gutter = { false } Header = { null } slug = { drawerSlug } >
62
62
< DocumentDrawerContent { ...props } />
63
63
</ Drawer >
64
64
)
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export { useUseTitleField } from '../../hooks/useUseAsTitle.js'
24
24
export { LeaveWithoutSaving } from '../../elements/LeaveWithoutSaving/index.js'
25
25
export { DocumentTakeOver } from '../../elements/DocumentTakeOver/index.js'
26
26
export { DocumentLocked } from '../../elements/DocumentLocked/index.js'
27
- export { useTableColumns } from '../../elements/TableColumns/index.js'
27
+ export { TableColumnsProvider , useTableColumns } from '../../elements/TableColumns/index.js'
28
28
export {
29
29
RenderDefaultCell ,
30
30
useCellProps ,
@@ -51,7 +51,7 @@ export { CopyToClipboard } from '../../elements/CopyToClipboard/index.js'
51
51
export { DeleteMany } from '../../elements/DeleteMany/index.js'
52
52
export { DocumentControls } from '../../elements/DocumentControls/index.js'
53
53
export { Dropzone } from '../../elements/Dropzone/index.js'
54
- export { useDocumentDrawer } from '../../elements/DocumentDrawer/index.js'
54
+ export { documentDrawerBaseClass , useDocumentDrawer } from '../../elements/DocumentDrawer/index.js'
55
55
export type {
56
56
DocumentDrawerProps ,
57
57
DocumentTogglerProps ,
@@ -269,6 +269,7 @@ export { DateField as DateCondition } from '../../elements/WhereBuilder/Conditio
269
269
export { EmailAndUsernameFields } from '../../elements/EmailAndUsername/index.js'
270
270
export { SelectAll } from '../../elements/SelectAll/index.js'
271
271
export { SelectRow } from '../../elements/SelectRow/index.js'
272
+ export { SelectMany } from '../../elements/SelectMany/index.js'
272
273
273
274
export {
274
275
DefaultListView ,
You can’t perform that action at this time.
0 commit comments