feat: ui overhaul (#676)

This commit is contained in:
Daniel Lautzenheiser
2023-03-30 13:29:09 -04:00
committed by GitHub
parent 5c86462859
commit 66b81e9228
385 changed files with 20607 additions and 16493 deletions

View File

@ -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' },

View 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;

View File

@ -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;