Commit Graph

899 Commits

Author SHA1 Message Date
Rijk van Zanten
7d2310badd Finish dependency move (#25583)
* Dangerously update API deps

* Dangerously move app dependencies to pnpm-workspace

* Move all dependencies to catalog

* Sort catalog

* Pnpm update

* Use pnpm 10.14

* Update for zod breaking change

* Fix unhead breaking change

* Downgrade major api upgrades

* Downgrade app major upgrades

* Fix app tests

* Downgrade isolated-vm

* Add changeset

* Fix template in head

* Resolve unhead lang signature

* Downgrade unhead

* Downgrade keyv/redis

It uses a different redis lib under the hood which is incompatible

* Resolve import in test

* Update and move workspace root dependencies

* Update CSS for updated linter rules

* Oops

* Run formatter

* Update rule name

* Run prettier

* Move utils peer to catalog

* Add focus-trap dependency
2025-08-04 18:13:12 -04:00
daedalus
2836948dab Update dependency form-data (#25579)
* update form-data

* update subdep form-data

* add changeset

* add form-data to catalog
2025-08-01 19:26:36 +02:00
Rijk van Zanten
3491af9de4 Make tests deterministic, remove @directus/random (#25575)
* Make tests deterministic by dropping random

* Remove random dep

* Drop random package

* Update pnpm lock

* Update app/src/composables/use-permissions/collection/lib/is-action-allowed.test.ts

---------

Co-authored-by: Alex Gaillard <alex@directus.io>
2025-07-31 17:16:40 -04:00
Alex Gaillard
e109a6f2d6 Release 11.10.0 (#25557) 2025-07-30 17:12:15 +00:00
Rijk van Zanten
4f94a26b56 Add native support for RTL direction (#25494)
* Setup language_direction user setting

* Add option translations

* Add rtl const

* Return dir from getCurrentLanguage

* Set htmlAttrs for lang / dir

* Update tests, fix fallback

* Add test:watch script

* Add rtl transform in icon file

* Make sure the progress bar animates rtl

Devil's in the details

* Make sure sidebar animates correctly on smaller screens

* Care too much about the details

* Fix directionality on slider

* Fix drawer transitions

* Arrow alignment in settings

* Stacked drawers effect

* Full screen navigation

* Revert menu alignment

* Fix nudging on smoke click

* Add changeset

* Update app/src/components/v-menu.vue

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Format

* Format rebased work

* One more formatting quirk

* Update app/src/lang/translations/en-US.yaml

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>

* Update .changeset/giant-cloths-play.md

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>

* Add translation

* Remove importants

* Improve typing in get-current-language

* Update app/src/views/private/private-view.vue

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>

* Update app/src/views/private/private-view.vue

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>

* Fix tooltip directions

* Refactor user store to setup script

* Add language/dir to userStore

* Replace getCurrentLanguage w/ userStore

* Make html attrs reactive

* Rename language_direction to text_direction

* Appease the robot overlords

* Add text-direction to user type

* Make text-direction not nullable

* Fix arrow alignment

* fix top tooltips

* run formatter

* mirror directional icons

* Fix positioning for rtl

* Fix flow attachments

* Replace magic number with const

* Start refactoring arrows business logic

No way to properly write unit tests for these bits otherwise. Increases the surface of this PR quite a bit, but feels like a necessary evil...

* Move minMaxPoint to separate file

* Move is-point-in-panel out

* Move generateCorner to separate file

* Update docs

* Move range function out

* Move find-best-position to separate file

* Move get-points to separate file

* Move generate-path out of main fn

* Move create-line to separate file

* Rewrite docblock

* Add tests for generate arrows

* Make sure icons are only mirrored in rtl

* Add RTL for flow arrows

* Run formatter

* Remove extraneous setLanguage calls

* Fix mocks

* Fix generate test

* Fix review notes

* Fix pinia test stubbing

* Fix test runner and add coverage for rtl

* Mock global pinia in v-info test

* Remove unused imports

* Remove unused type

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Florian C. Wachmann <dev@formfcw.com>
2025-07-28 13:59:32 -04:00
Rijk van Zanten
e72483fb76 Add Codecov upload on test CI (#25470)
* Add consistent test:coverage scripts

* Add missing coverage deps

* Submit to codecov

* Update .github/workflows/check.yml

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Add codecov config

* Run formatter, remove branches

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-17 16:29:02 -04:00
Rijk van Zanten
2edbea9386 Move common dependencies to catalog (#25467)
* Update pnpm to v10

* Update package.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Allow builds

* Move common dependencies to catalog

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-15 14:40:28 -04:00
ian
46564d7a00 Release 11.9.3 (#25426) 2025-07-09 11:11:46 +00:00
Alex Gaillard
7532b2b8fc Release 11.9.2 (#25388) 2025-07-01 15:16:35 +00:00
Alex Gaillard
3f4e6df99c Release 11.9.1 (#25382) 2025-06-30 16:32:50 +00:00
Alex Gaillard
b8a47c621a Release 11.9.0 (#25358) 2025-06-25 17:58:44 +00:00
Brainslug
d0164c1ebb Dependabot updates (#25267)
* Bump tar-fs to 2.1.2

* Bump vue-i18n to 11.1.2

* Bump vite to 4.5.14

* Bump vite to 5.4.19

* Bump undici to 7.5.0

* Create six-dryers-punch.md

* fix lock
2025-06-19 10:12:42 -04:00
Florian C. Wachmann
59f04a294d Add keyboard accessibility (#25214)
* update base styles

* remove rendundant focus styles in v-button

* update base styles

* ensure keyboard navigation for the base layout

* make clickable v-icon component accessible and update instances accordingly

* make v-fancy-select accessible

* make clickable v-chip component accessible

* update focus ring offset for select cell in table row component

* add focus-visible style for search and filter icons

* make shortcuts in permissions row accessible with button elements and focus-visible styles

* enhance accessibility for custom input in select-radio component

* make field name clickable by changing span to button for improved accessibility

* add border-radius to focus-visible style for improved consistency

* implement focus trap in v-dialog component

* refactor focus ring styles for improved accessibility and consistency

* update focus ring styles for base layout

* add skip menu component for improved navigation accessibility

* refactor live preview component to improve accessibility

* implement focus trap and escape key handling in v-menu component for improved accessibility

* refactor select-color component styles for improved focus ring consistency

* improve search input component accessibility

* enhance node component styles for improved focus visibility

* refactor v-input and v-select components for improved accessibility

* update snapshots

* improve keyboard navigation of v-list-group and v-list-item

* remove unused focus ring styles from private view component

* add noFocusReturn prop to v-menu for improved focus management

* refactor module-bar-avatar component for improved focus management and accessibility

* refactor notifications-preview component to improve structure

* add aria-expanded attribute to sidebar-button component for improved accessibility

* update useFocusTrap configuration to prevent escape key from deactivating focus trap

* refactor header component to improve selection button behavior and accessibility

* add apply event to dialogs for improved user interaction & accessibility

- Updated v-dialog components to emit an 'apply' event for better handling of user actions.
- Enhanced various components including v-drawer, v-upload, and v-remove to utilize the new 'apply' event.
- Improved accessibility and user experience by allowing actions to be triggered on specific conditions.

* enhance table layout for improved keyboard accessibility

* enhance focus visibility styles for breadcrumb and version button components

* add another focus ring offset variable

* enhance focus ring styles for active version item in version menu

* enhance context menu toggle styles for improved focus visibility

* refactor select-dropdown-m2o component for improved structure and accessibility

* update focus ring offset for block style in v-checkbox component

* refactor focus ring styles for improved accessibility on main elements

* enhance keyboard accessibility for table row interactions

* enhance keyboard accessibility for item links in list components

* update focus ring styles for markdown editor to improve accessibility

* refactor input handling and improve activation logic for autocomplete component

* enhance color picker interaction by adding toggle functionality and improving focus handling

* enhance icon interface interaction by adding click and keydown event handling for better accessibility

* refactor datetime interface by replacing v-input with v-list-item for improved structure and accessibility

* enhance focus styles for map interface to improve accessibility

* enhance focus styles for list items in datetime and select-dropdown interfaces to improve accessibility

* improve translation interface accessibility

* refactor group detail interface for improved accessibility and interaction

* enhance dialog interactions with apply handlers for improved user experience

* enhance v-checkbox and select-multiple-checkbox components with focus handling for custom inputs

* enhance v-checkbox and select-multiple-checkbox components for improved accessibility

* update tests

* refactor: replace label div with button for improved accessibility and interaction

* refactor: replace v-input with v-list-item for improved interaction and accessibility

* style: adjust spacing in v-checkbox for improved layout and readability

* refactor: update addOtherValue function to accept focus parameter for improved interaction

* fix: add tabindex to file input for better accessibility and set button type for cancel action

* refactor: replace v-input with v-list-item for improved interaction and accessibility

* fix: add immediate option to watch for internalActive in useOverlayFocusTrap for better responsiveness

* add applyShortcut prop to v-dialog, v-drawer, and overlay-item for customizable keyboard shortcuts

* feat: implement file input interaction with v-list-item for improved Accessibility

* improve accessibility for comments sidebar

* refactor: replace div with button in v-detail and revision-item for improved accessibility

* fix: update button attributes and focus-visible styles for improved accessibility

* feat: add apply event to dialogs for improved interaction handling

* fix: refactor removeField function for improved clarity and accessibility

* update key binding in v-fancy-select template for improved rendering

* fix: enhance keyboard interaction for table row

* fix: add button type attribute and style for 'set to now' functionality in date picker

* fix: ensure primary key updates only when there are internal edits in overlay-item

* update dialog apply handlers

* add changeset

* prettier

* rename focusCustomInput prop to autofocusCustomInput for clarity

* re-rename class to `other-input`

* add class to buttons in field template and translation input for improved clarity

* remove unnecessary offset property from v-list-item styles

* refactor: move headerColor style to the style block

* style: add `-webkit-user-select` to each occurrence of `user-select`

* style: move outline reset css to the `*:not(svg *)`

* Refactor itemsMap object to allItems array

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* fix previous code suggestion issues

* reduce z-index value for skip menu component

* refactor: move @apply scripts from template to script block

* refactor larger inline scripts to script block

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2025-06-06 11:54:53 -04:00
Alex Gaillard
ccf2f3d38f Release v11.8.0 (#25252) 2025-05-28 13:29:21 -04:00
ian
10bab7eb93 Release 11.7.2 (#25146) 2025-04-29 17:29:18 -04:00
Alex Gaillard
374c01ae6d Release 11.7.1 (#25142) 2025-04-29 20:02:20 +00:00
Alex Gaillard
76d7c4f504 Release 11.7.0 (#25137) 2025-04-29 11:46:37 -04:00
ian
7f69b51184 Update axios to 1.8.4 (#25110)
* Update axios to 1.8.4

* Add changeset
2025-04-23 11:21:32 -04:00
ian
b792144609 Release 11.6.1 (#25007) 2025-04-01 21:44:45 +08:00
Alex Gaillard
9fed080c8a Release 11.6.0 (#24964) 2025-03-25 13:05:10 -04:00
Connor Winston
392bd381f7 Revert "Update Editor.js to 2.30+ (#23837)" (#24851)
* Revert "Update Editor.js to 2.30+ (#23837)"

This reverts commit f718059d6c.

* Create nasty-trainers-compare.md
2025-03-18 10:01:42 -04:00
renovate[bot]
9d54e0b662 Update dependency typescript to v5.8.2 (#24749)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2025-03-02 13:53:03 +01:00
renovate[bot]
de2a9b10f8 Update all non-major dependencies (#24722)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2025-03-02 11:49:52 +00:00
ian
c6039b7d5f Release 11.5.1 (#24739)f 2025-02-28 09:50:38 -05:00
renovate[bot]
d499f60029 Update dependency color to v5 (#24721)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2025-02-27 07:56:16 +00:00
ian
f854746ef0 Release 11.5.0 (#24717) 2025-02-26 18:23:18 +00:00
renovate[bot]
75af419187 Update dependency @pinia/testing to v1 (#24704)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 11:38:43 +01:00
renovate[bot]
63ae015f5f Update dependency happy-dom to v17 (#24707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 11:37:58 +01:00
Brainslug
73bcffc22e Dependabot: Update Vitest 🧹 (#24643) 2025-02-19 16:36:19 +00:00
Alex Gaillard
3acbdfc519 Release 11.4.1 (#24530) 2025-02-04 14:34:14 -05:00
Alex Gaillard
a799fcb863 Release 11.4.0 (#24420) 2025-01-16 15:58:19 +00:00
Pascal Jufer
9279cf228d Remove/replace obsoelete dependencies (#24374)
* Remove/replace obsoelete dependencies

* Add changeset
2025-01-09 13:56:12 -05:00
renovate[bot]
b4db97474c fix(deps): update all non-major dependencies (#24377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2025-01-09 18:05:06 +00:00
renovate[bot]
56f6bef62a fix(deps): update dependency marked to v15 (#24375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 17:32:34 +00:00
renovate[bot]
0a72e91d2b chore(deps): update dependency happy-dom to v16.5.2 (#24358)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 16:59:58 +00:00
Rijk van Zanten
b8cc796f4c Upgrade Node.js runtime version to 22 (#24140)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2025-01-08 13:26:14 +01:00
renovate[bot]
7cb9d9e304 fix(deps): update vueuse monorepo to v12 (#24346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 01:07:01 +00:00
renovate[bot]
830a89fea4 chore(deps): update dependency happy-dom to v16.5.1 (#24345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 01:06:34 +00:00
renovate[bot]
f31d2fb850 fix(deps): update all non-major dependencies (#24341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2025-01-08 00:44:29 +00:00
renovate[bot]
4d00b75630 chore(deps): update dependency @types/diff to v7 (#24343)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 22:44:06 +00:00
renovate[bot]
727f0bf206 chore(deps): update dependency @types/chroma-js to v3 (#24342)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 22:43:27 +00:00
renovate[bot]
2b5d912380 chore(deps): update dependency happy-dom to v16 (#24339)
* chore(deps): update dependency happy-dom to v16

* Update snapshot

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2025-01-07 22:09:00 +00:00
Pascal Jufer
f718059d6c Update Editor.js to 2.30+ (#23837)
* Update editorjs deps

* Necessary style adjustments after update

* Include patch for content wrapping

Upstream still not merged, therefore including it at our side for now

* Sync

* Add comments

* Remove shims for plugins that are now typed

* Update & clean-up image plugin

- Simplify plugin customization
  - Don't transform images (otherwise stretch option makes no sense at
    all)
  - Reuse origin renderSettings logic
- Adjust/enhance image plugin styles

* Few styles fixes & comments

* Don't remove focus border when opening popover

Annoying switch between focus on/off

* Sync

* Remove obsolete image tool style patches

Fixed in https://github.com/editor-js/image/pull/276

* Use popover vars to override

* Remove obsolete @editorjs/paragraph shim

Types fixed in https://github.com/editor-js/paragraph/pull/94

---------

Co-authored-by: Connor Winston <connor@winston.guru>
2025-01-06 13:47:52 -05:00
renovate[bot]
9cbd17f1df chore(deps): update dependency @types/diff to v6 (#24298)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-28 00:40:18 +01:00
renovate[bot]
4149059668 chore(deps): update dependency typescript to v5.7.2 (#24297)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-27 23:39:02 +00:00
renovate[bot]
d8cc1a8381 chore(deps): update dependency apexcharts to v4 (#24295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-28 00:26:46 +01:00
renovate[bot]
51b821f90b chore(deps): update dependency vue-i18n to v11 (#24293)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-12-27 22:17:02 +00:00
ian
99cd15f3a0 Release 11.3.5 (#24253) 2024-12-18 16:16:28 +00:00
ian
5eb8097cf2 Release 11.3.4 (#24240) 2024-12-18 00:25:54 +08:00
Brainslug
f3d8a4bdea Release 11.3.3 (#24229) 2024-12-16 16:34:21 +00:00