-
{t('general:selectedCount', { count, label })}
- {selectAll !== SelectAllStatus.AllAvailable && (
+
{t('general:selectedCount', { count, label: '' })}
+ {selectAll !== SelectAllStatus.AllAvailable && count < totalDocs && (
+
+ )}
+ {!disableBulkEdit && !disableBulkDelete &&
—}
+ {!disableBulkEdit && (
- {' '}
- —
-
+
+
+
)}
+ {!disableBulkDelete &&
}
)
}
diff --git a/packages/ui/src/elements/PublishMany/index.scss b/packages/ui/src/elements/PublishMany/index.scss
new file mode 100644
index 0000000000..d310ebdf22
--- /dev/null
+++ b/packages/ui/src/elements/PublishMany/index.scss
@@ -0,0 +1,21 @@
+@import '../../scss/styles.scss';
+
+@layer payload-default {
+ .publish-many {
+ &__toggle {
+ font-size: inherit;
+ line-height: inherit;
+ display: inline-flex;
+ background: transparent;
+ color: var(--theme-elevation-800);
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ border: 0;
+ padding: 0;
+ align-items: center;
+ cursor: pointer;
+ text-decoration: underline;
+ }
+ }
+}
diff --git a/packages/ui/src/elements/PublishMany/index.tsx b/packages/ui/src/elements/PublishMany/index.tsx
index 8bae422581..2585ce7bd4 100644
--- a/packages/ui/src/elements/PublishMany/index.tsx
+++ b/packages/ui/src/elements/PublishMany/index.tsx
@@ -16,7 +16,7 @@ import { useTranslation } from '../../providers/Translation/index.js'
import { requests } from '../../utilities/api.js'
import { parseSearchParams } from '../../utilities/parseSearchParams.js'
import { ConfirmationModal } from '../ConfirmationModal/index.js'
-import { Pill } from '../Pill/index.js'
+import './index.scss'
export type PublishManyProps = {
collection: ClientCollectionConfig
@@ -133,14 +133,15 @@ export const PublishMany: React.FC