Skip to content

Commit

Permalink
Upgrade design system (#9253)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Cousens <[email protected]>
Co-authored-by: Joss Mackison <[email protected]>
Co-authored-by: Emma Hamilton <[email protected]>
  • Loading branch information
4 people authored Feb 3, 2025
1 parent 4ec0025 commit b7d0f1b
Show file tree
Hide file tree
Showing 1,102 changed files with 13,354 additions and 34,617 deletions.
5 changes: 5 additions & 0 deletions .changeset/add-cloudinary-meta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/cloudinary": minor
---

Adds the pre-existing meta `width`, `height` and `filesize` to the `CloudinaryImage_File` GraphQL output type
5 changes: 5 additions & 0 deletions .changeset/add-end-session.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/auth": minor
---

Adds the `EndSession` GraphQL mutation addition when `context.session.end` is defined
5 changes: 5 additions & 0 deletions .changeset/add-maybe-function.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/core": major
---

Replaces the type signature `boolean | ((args: FilterOrderArgs<BaseListTypeInfo>) => MaybePromise<boolean>)` with `MaybeFieldFunction`, like `MaybeSessionFunction`
5 changes: 5 additions & 0 deletions .changeset/admin-meta-rename.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/core": major
---

Renames `isHidden` to `hideNavigation` on the AdminMeta list GraphQL type
5 changes: 5 additions & 0 deletions .changeset/admin-ui-navigation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/core": major
---

Removes `authenticatedItem` from `@keystone-6/core/admin-ui/components` exports
5 changes: 5 additions & 0 deletions .changeset/bye-design-system.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/core": major
---

Removes `.itemQueryName` and `.listQueryName` from `KeystoneAdminUIListMeta`, use `.graphql.names.*QueryName` instead
5 changes: 5 additions & 0 deletions .changeset/bye-old-fields.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/core": major
---

Removes the `@keystone-ui/*` design system, you should upgrade your custom components to `@keystar/ui`
5 changes: 5 additions & 0 deletions .changeset/fix-defaults.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/core": minor
---

Add support for `null` as a `defaultValue` on `bigint`, `decimal`, `float` and `integer`
5 changes: 5 additions & 0 deletions .changeset/fix-nonnull-create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/core": patch
---

Fix AdminUI create view not supporting `{field}.graphql.isNonNull` for `create` operations
5 changes: 5 additions & 0 deletions .changeset/less-lonely-authors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/core": minor
---

Changes the relationship field to only call the GraphQL `create` mutation when saving the item, not on blur
5 changes: 5 additions & 0 deletions .changeset/maybe-item.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/core": major
---

Changes `item` argument type in `field.*View.field*` functions to be nullable
5 changes: 5 additions & 0 deletions .changeset/remove-document-primitives.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/fields-document": major
---

Removes `@keystone-6/fields-document/primitives` from exports
5 changes: 5 additions & 0 deletions .changeset/remove-end-session.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/core": major
---

Removes the `EndSession` GraphQL mutation addition when `context.session.end` is defined, extend this yourself if required
5 changes: 5 additions & 0 deletions .changeset/starter-bump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/create": major
---

Updates the `keystone-app` configuration to the newest major version
18 changes: 14 additions & 4 deletions .github/workflows/tests_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,26 @@ jobs:
run: pnpm test:types

unit_tests:
name: Package Unit Tests
name: Package Unit Tests (Jest)
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup

- name: Unit tests
run: DATABASE_URL=file:./test.db pnpm jest --ci --testPathIgnorePatterns=admin-ui-tests --testPathIgnorePatterns=api-tests --testPathIgnorePatterns=examples-smoke-tests --testPathIgnorePatterns=examples/testing
run: DATABASE_URL=file:./test.db pnpm jest --ci packages/core/tests/telemetry.test.ts tests/cli-tests

vitest:
name: Package Unit Tests (Vitest)
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup

- name: Unit tests
run: pnpm vitest

graphql_api_tests_postgresql:
name: API Tests PostgreSQL
Expand Down Expand Up @@ -242,7 +253,6 @@ jobs:
'custom-admin-ui-logo.test.ts',
'custom-admin-ui-navigation.test.ts',
'custom-admin-ui-pages.test.ts',
'custom-field-view.test.ts',
'custom-field.test.ts',
'default-values.test.ts',
'document-field.test.ts',
Expand Down Expand Up @@ -299,4 +309,4 @@ jobs:
run: cd tests/admin-ui-tests && pnpm playwright install chromium

- name: Unit tests
run: pnpm jest --ci --runInBand tests/admin-ui-tests/${{ matrix.test }}
run: pnpm jest --ci --runInBand --forceExit tests/admin-ui-tests/${{ matrix.test }}
155 changes: 0 additions & 155 deletions design-system/packages/button/CHANGELOG.md

This file was deleted.

25 changes: 0 additions & 25 deletions design-system/packages/button/package.json

This file was deleted.

61 changes: 0 additions & 61 deletions design-system/packages/button/src/Button.tsx

This file was deleted.

Loading

0 comments on commit b7d0f1b

Please sign in to comment.