@spree/dashboard-core 6.0.0-rc.7 → 6.0.1
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/package.json +12 -7
- package/src/api-client.ts +4 -0
- package/src/components/app-shell.tsx +4 -0
- package/src/components/app-sidebar.tsx +7 -1
- package/src/components/invitation-acceptance.tsx +411 -0
- package/src/components/media-picker-sheet.tsx +2 -2
- package/src/components/record-metadata.tsx +118 -0
- package/src/components/resource-picker-sheet.tsx +7 -3
- package/src/components/table-toolbar.tsx +384 -122
- package/src/index.ts +2 -0
- package/src/lib/permissions.ts +1 -0
- package/src/locales/ar.json +31 -1
- package/src/locales/de.json +31 -1
- package/src/locales/en.json +31 -1
- package/src/locales/es.json +31 -1
- package/src/locales/fr.json +31 -1
- package/src/locales/ja.json +2122 -0
- package/src/locales/pl.json +31 -1
- package/src/locales/zh-CN.json +31 -1
- package/src/pages/package-types.tsx +2 -0
- package/src/pages/stock-locations.tsx +2 -0
|
@@ -300,7 +300,9 @@ export function ResourcePickerSheet<T extends PickerOption>({
|
|
|
300
300
|
onClick={selectAllMatching}
|
|
301
301
|
>
|
|
302
302
|
{selectingAll && <Loader2Icon className="size-3.5 animate-spin" />}
|
|
303
|
-
|
|
303
|
+
<span>
|
|
304
|
+
{t('admin.resource_picker.select_all_matching', { count: matchCount })}
|
|
305
|
+
</span>
|
|
304
306
|
</Button>
|
|
305
307
|
) : null}
|
|
306
308
|
</div>
|
|
@@ -354,7 +356,7 @@ export function ResourcePickerSheet<T extends PickerOption>({
|
|
|
354
356
|
onClick={() => fetchNextPage()}
|
|
355
357
|
>
|
|
356
358
|
{loadingMore && <Loader2Icon className="size-4 animate-spin" />}
|
|
357
|
-
{t('admin.resource_picker.load_more')}
|
|
359
|
+
<span>{t('admin.resource_picker.load_more')}</span>
|
|
358
360
|
</Button>
|
|
359
361
|
</div>
|
|
360
362
|
)}
|
|
@@ -368,7 +370,9 @@ export function ResourcePickerSheet<T extends PickerOption>({
|
|
|
368
370
|
</Button>
|
|
369
371
|
<Button type="button" onClick={confirm} disabled={staged.size === 0 || submitting}>
|
|
370
372
|
{submitting && <Loader2Icon className="size-4 animate-spin" />}
|
|
371
|
-
|
|
373
|
+
<span>
|
|
374
|
+
{confirmLabel ?? t('admin.resource_picker.add_count', { count: staged.size })}
|
|
375
|
+
</span>
|
|
372
376
|
</Button>
|
|
373
377
|
</SheetFooter>
|
|
374
378
|
</SheetContent>
|