Ghost/apps/admin-x-design-system
Daniel Lockyer f96313e9c2 Enabled treeshaking for validator in AdminX design system
ref https://linear.app/tryghost/issue/DEV-20/faster-builds

- we can save 75KB by using a tree-shaking import for validator
- import string comes from validator docs
- also adds validator import, which was missing for this package
2024-09-03 10:44:14 +02:00
..
.storybook Admin X Design System docs (#19120) 2023-11-23 16:18:59 +01:00
src Enabled treeshaking for validator in AdminX design system 2024-09-03 10:44:14 +02:00
test Added test for hooks - useSortableIndexedList, usePagination (admin-x-design-system) 2024-07-11 14:02:55 +05:30
.eslintrc.cjs Renamed admin-x-design to admin-x-design-system for clarity (#18914) 2023-11-08 15:10:43 +00:00
.gitignore Renamed admin-x-design to admin-x-design-system for clarity (#18914) 2023-11-08 15:10:43 +00:00
package.json Enabled treeshaking for validator in AdminX design system 2024-09-03 10:44:14 +02:00
postcss.config.cjs Created a skeleton AdminX demo app (#19005) 2023-11-20 13:30:15 +00:00
preflight.css Admin X demo app content (#19079) 2023-11-22 13:44:39 +01:00
README.md Renamed admin-x-design to admin-x-design-system for clarity (#18914) 2023-11-08 15:10:43 +00:00
styles.css Added styling for accent colours on Tiers and Offers (#20696) 2024-08-01 09:46:11 +00:00
tailwind.cjs Renamed admin-x-design to admin-x-design-system for clarity (#18914) 2023-11-08 15:10:43 +00:00
tailwind.config.cjs Add reusable UI components to ActivityPub (#20758) 2024-08-15 12:28:08 +02:00
tsconfig.declaration.json Renamed admin-x-design to admin-x-design-system for clarity (#18914) 2023-11-08 15:10:43 +00:00
tsconfig.json Renamed admin-x-design to admin-x-design-system for clarity (#18914) 2023-11-08 15:10:43 +00:00
tsconfig.node.json Renamed admin-x-design to admin-x-design-system for clarity (#18914) 2023-11-08 15:10:43 +00:00
vite.config.ts Hidden "info" Vite output unless in CI 2023-11-15 10:11:22 +01:00

Admin X Design

Components, design guidelines and documentation for building apps in Ghost Admin

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests