feat: ui overhaul (#676)
This commit is contained in:
committed by
GitHub
parent
5c86462859
commit
66b81e9228
@ -216,6 +216,12 @@ function getConfigSchema() {
|
||||
},
|
||||
identifier_field: { type: 'string' },
|
||||
summary: { type: 'string' },
|
||||
summary_fields: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'string',
|
||||
},
|
||||
},
|
||||
slug: { type: 'string' },
|
||||
path: { type: 'string' },
|
||||
create: { type: 'boolean' },
|
||||
|
8
packages/core/src/constants/mediaLibrary.ts
Normal file
8
packages/core/src/constants/mediaLibrary.ts
Normal file
@ -0,0 +1,8 @@
|
||||
export const MEDIA_CARD_WIDTH = 240;
|
||||
export const MEDIA_CARD_HEIGHT = 240;
|
||||
export const MEDIA_CARD_IMAGE_HEIGHT = 196;
|
||||
export const MEDIA_CARD_MARGIN = 10;
|
||||
|
||||
export const MEDIA_LIBRARY_PADDING = 20;
|
||||
|
||||
export const MAX_LINK_DISPLAY_LENGTH = 28;
|
@ -1,4 +1,4 @@
|
||||
export const VIEW_STYLE_LIST = 'VIEW_STYLE_LIST';
|
||||
export const VIEW_STYLE_GRID = 'VIEW_STYLE_GRID';
|
||||
|
||||
export type CollectionViewStyle = typeof VIEW_STYLE_LIST | typeof VIEW_STYLE_GRID;
|
||||
export type ViewStyle = typeof VIEW_STYLE_LIST | typeof VIEW_STYLE_GRID;
|
Reference in New Issue
Block a user