12182 Commits

Author SHA1 Message Date
Gustav Hansen
e9ee4789b7 chore(admin): convert useRegenerate to TS 2023-10-05 16:04:46 +02:00
Gustav Hansen
99d74cdc29
Merge pull request #18292 from strapi/chore/useNavigatorOnline-ts
chore(admin): Convert useNavigatorOnLine to TS
2023-10-05 15:59:34 +02:00
Josh
160ac2f527
chore: build strapi utils with pack-up (#18308)
* chore: build strapi utils with pack-up

* chore: remove build:ts from workflow

Update UploadAssetDialog.test.js
2023-10-05 14:47:35 +01:00
Gustav Hansen
78d2c7f7db chore(admin): move useNavigatorOnline hook into marketplace NS 2023-10-05 15:01:23 +02:00
Gustav Hansen
48f1f50159 chore(admin): Convert useNavigatorOnLine to TS 2023-10-05 14:54:48 +02:00
Erik Montes
8860134316
fix: typo causing action button to not show in empty list (#18252)
* fix: typo causing action button to not show in empty list

* test: update test to only match first occurance
2023-10-05 13:54:36 +01:00
Gustav Hansen
6a2c807a11
Merge pull request #18285 from strapi/chore/useThemeToggle-ts
chore(admin): convert useThemeToggle to TS
2023-10-05 11:53:16 +02:00
Marc Roig
c771262273
v4.14.3 (#18294)
* v4.14.3

* chore: update pack up version
2023-10-05 10:20:53 +01:00
Gustav Hansen
f74fc15527 chore(admin): convert useThemeToggle to TS 2023-10-05 10:48:55 +02:00
Josh
e5078d5f4d
feat: add pack-up package (#18233)
* feat(pack-up): add build command (#18058)

* chore: lint order of imports

* feat(pack-up): add watch command (#18121)

* feat: add watch command

feat: add ts watch task

* chore: pr amends

* fix: promptUser linter

* chore: remove \n with os.EOL

* feat(pack-up): add init command (#18133)

* feat(pack-up): add build command (#18058)

* feat(pack-up): add watch command (#18121)

* feat: add watch command

feat: add ts watch task

* chore: pr amends

* fix: promptUser linter

* chore: remove \n with os.EOL

* feat: add init command

fix: build

feat: add default template and tests

* chore: pr amends

* Update packages/utils/pack-up/tests/console.ts

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* chore: re-add mock

* chore: fix tsconfig

* chore: fix inquirer types due to rxjs inclusion

* Update packages/utils/pack-up/src/node/templates/internal/files/typescript.ts

* chore: fix inquirer types

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* feat(pack-up): add check command (#18183)

* feat: add check command

* chore: reintroduce CLI tests

* fix: add build command to `prepublishOnly`

* docs(pack-up): add readme and contributor docs (#18237)

* chore: update README

* docs(pack-up): add contributor documentation

* chore: update overview doc to be clearer

* fix(pack-up): init command (#18245)

* fix: init command bugs

* fix: node tests

* fix: template exports ordering & file extensions

* test(upload): double timeout on UploadAssetDialog test

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-10-05 09:38:29 +01:00
Gustav Hansen
3a5af781c9 chore(admin): convert useThemeToggle to TS 2023-10-05 10:16:32 +02:00
Summayya Hashmani
ce44a1cca7
fix(content-manager): undefined error for relation type filter field (#18295) 2023-10-05 08:43:41 +01:00
Josh
7016a1b045
chore: initialise ts admin (#18282)
* chore: initialise ts admin

* chore: set JSX to automatic

finally found it

* chore: set DTS true for the whole workflow to produce types for the helper-plugin

* chore(helper-plugin): fix the circular dependencies and calls for react
2023-10-05 08:39:49 +01:00
Josh
ddcbafe9d9
tests(upload): fix error logs in upload tests (#18261)
* chore: add test utils

* test(upload): fix useModalQueryParams

* test(upload): fix TableRows

* test(upload): fix useConfig test

* test(upload): fix useFolder tests

* test(upload): fix useFolders test

* test(upload): fix SettingsPage tests

* test(upload): fix UploadAssetDialog tests

* test(upload): fix CarouselAssets tests
2023-10-04 16:03:02 +01:00
Josh
ee5c626501
chore: use yarn resolution for design-system (#18238)
* chore: use yarn resolution for design-system

* fix: helper-plugin types

* fix: color picker types
2023-10-04 09:01:56 +01:00
markkaylor
35cf6eed94
chore: bump design-system from 1.11.0 to 1.12.0 (#18241) 2023-10-02 18:21:23 +01:00
Josh
d8c13912ba
chore: update eslint (#18240)
* chore: update eslint deps & fix lint issues

* chore: update prettier

* fix: packagejson

* Revert "chore: update prettier"

This reverts commit 65f82dfa5b3b0a925fb0d86c20a7e555015c7b48.
2023-10-02 17:29:23 +01:00
Josh
2b6cb7373c
chore: remove stylelint (#18242) 2023-10-02 17:27:43 +01:00
Ben Irvin
954e2ebf1f
Merge pull request #18180 from strapi/fix/17955-validation-allows-empty-objects 2023-10-02 09:34:05 +02:00
dependabot[bot]
b17d8327e4
Bump browserslist from 4.21.4 to 4.22.1
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.21.4 to 4.22.1.
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.21.4...4.22.1)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 22:58:47 +00:00
Ben Irvin
79ca6debec
Merge branch 'main' into fix/17955-validation-allows-empty-objects 2023-09-28 17:46:27 +02:00
Jean-Sébastien Herbaux
d010ff3a1e
Merge pull request #18197 from strapi/releases/4.14.0 2023-09-28 15:30:50 +02:00
Convly
09b6d7a4b4 v4.14.0 2023-09-28 13:58:40 +02:00
Rémi de Juvigny
5e88b8f170 Restore radix toolbar dependency 2023-09-28 10:21:50 +02:00
Patrict J
b39586bf8d
fix(content-manager): relations input search not found (#18110)
* Update Relations searchFor to send new optional params

* Update relations.js to accept new optional search operation

* Update relations.js, reduce and default

* Update useRelation.js, change to actual operand

* Update useRelation.js, change _m to _filter

* Update relations.js, change _m to _filter

* Add operator check

* remove template literals

* update test on useRelation
2023-09-28 09:20:00 +01:00
Convly
6bbcdf8d2a Fix the shared types resolving for Common.Schemas 2023-09-27 16:53:09 +02:00
Convly
4bf987e13d Add 'blocks' to the Model's attributes 2023-09-27 15:26:11 +02:00
Convly
155adbfa37 Add Attribute.Blocks to Attribute.Any 2023-09-27 14:52:44 +02:00
Convly
bfb8637195 Add missing blocks attribute types 2023-09-27 14:47:07 +02:00
Ben Irvin
26753c2c6f allow empty objects in validator 2023-09-27 11:56:41 +02:00
Simone
24fa848ba3
Add new Blocks rich text editor (alpha) (#18166)
Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: Madhuri Sandbhor <madhuri.sandbhor@strapi.io>
2023-09-26 17:21:44 +02:00
Simone
733e80c18c
Update design system and icons version to 1.11.0 (#18170)
* update design systema and icons version

* remove generated types in the getstarted
2023-09-26 16:41:10 +02:00
Alison Tahiri
cd59da381e
fix(admin): make permission subject nullable in schema. (#18153) 2023-09-26 10:18:37 +01:00
Gustav Hansen
9404aa68a4
Merge branch 'main' into feature/rw-stage-rbac 2023-09-25 15:40:00 +02:00
Christian
fdf22f1cbe
Merge pull request #17979 from strapi/types/plugins 2023-09-25 12:57:21 +02:00
Gustav Hansen
fc86e60e00 Merge branch 'main' into feature/rw-stage-rbac 2023-09-25 12:16:34 +02:00
Josh
e63fc8dea6
test(content-manager): fix console pollution in tests (#18113)
* chore: mock `once` function to stop console pollution

* test(content-manager): fix Option test

* test(content-manager): fix useLazyComponents test

* test(content-manager): fix useRelation test
2023-09-25 09:41:23 +01:00
dependabot[bot]
2cfba02c2e
Bump @vitejs/plugin-react from 4.0.4 to 4.1.0
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.1.0/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-24 22:37:35 +00:00
Ben Irvin
727fcb259f change any to unknown 2023-09-22 17:55:32 +02:00
Ben Irvin
da6f8e9c4f
Merge branch 'main' into types/plugins 2023-09-22 14:51:38 +02:00
Ben Irvin
b427d70414 only export config inputs 2023-09-22 13:05:32 +02:00
Ben Irvin
50470218e5 use export type 2023-09-22 12:49:53 +02:00
Ben Irvin
ba5685215a use export type 2023-09-22 10:38:52 +02:00
Ben Irvin
15d86b8474 use import type 2023-09-22 10:32:53 +02:00
Christian
d62456ea47
Merge pull request #17905 from strapi/types/utils-tests
Start Typescript Tests
2023-09-21 17:57:31 +02:00
Christian
b1621d9d85
Merge branch 'main' into types/plugins 2023-09-21 17:18:36 +02:00
Christian Capeans
c793ad8da0 Move typings to types 2023-09-21 17:17:17 +02:00
Josh
27166b42c0
refactor(content-manager): convert InputUIDs data-fetching to use react-query (#18116) 2023-09-21 16:15:43 +01:00
Christian Capeans
7d3c5b5958 Merge branch 'main' of github.com:strapi/strapi into types/plugins 2023-09-21 17:07:54 +02:00
Christian Capeans
faf808e4a1 Fix linting errors 2023-09-21 12:11:00 +02:00