9ae45adda1
no issues - SortMenu component used to have only one global default direction option, however, the sorting options needed individual default sorting direction. e.g. desc for created data, or asc for name etc - this adds an optional sorting direction option to sorting options, so when they're defined, they'd override the global default sorting direction |
||
---|---|---|
.. | ||
.storybook | ||
src | ||
test | ||
.eslintrc.cjs | ||
.gitignore | ||
package.json | ||
postcss.config.cjs | ||
preflight.css | ||
README.md | ||
styles.css | ||
tailwind.cjs | ||
tailwind.config.cjs | ||
tsconfig.declaration.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
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.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests