33691 Commits

Author SHA1 Message Date
Josh
5dcfae1dbc
chore: pack-up providers (#18320)
* chore: convert upload-local

* chore: convert upload-cloudinary

* chore: convert upload-aws-s3

* chore: convert email-sendmail

* chore: convert email-sendgrid

* chore: convert email-nodemailer

* chore: convert email-mailgun

* chore: convert email-amazon-ses

* chore: convert audit-logs-local

* chore(utils): fix eslint error
2023-10-05 16:50:32 +01:00
Gustav Hansen
92d069a823 chore(admin): convert useDebounce to TS 2023-10-05 17:18:54 +02:00
Marc-Roig
8a4996c05f
fix: add declaration config for client.json 2023-10-05 16:43:30 +02:00
Convly
8cc6a939c3 Replace ts-zen (github) with strapi/ts-zen (npm) 2023-10-05 16:38:46 +02:00
Alexandre Bodin
039115b9b3 Merge branch 'main' into chore/ts-database 2023-10-05 16:32:41 +02:00
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
Marc-Roig
eb0cebb965
chore: move declarationMap tsconfig setting to base and client configs 2023-10-05 15:32:53 +02:00
Gustav Hansen
9c685d90f5 chore(admin): convert useLicenseLimitNotification to TS 2023-10-05 15:31:38 +02:00
Alexandre Bodin
5c05fe0908 Fix deps version 2023-10-05 15:23:26 +02:00
Marc-Roig
5344c4a866
chore: ignore .d.ts.map files when publishing packages 2023-10-05 15:22:31 +02:00
Alexandre Bodin
e1c117f84b Merge branch 'main' into chore/ts-database 2023-10-05 15:22:20 +02:00
Gustav Hansen
78d2c7f7db chore(admin): move useNavigatorOnline hook into marketplace NS 2023-10-05 15:01:23 +02:00
Madhuri Sandbhor
3c14eca8ac
[Blocks Editor] Fix enter key on empty list (#18296)
* fix: enter on empty list

* jsdoc added for replaceListWithEmptyBlock()
2023-10-05 14:59:02 +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
Josh
2571dfa49d
feat(pack-up): add exports to pack-up config (#18315)
* feat: add exports to pack-up config

* feat: add types to a bundle config
2023-10-05 13:54:09 +01:00
Marc-Roig
62995a5dc1
chore: emit declaration map files to a more easy navigation 2023-10-05 14:51:16 +02:00
Marc-Roig
c9c3b036ad
chore: todo to rename entity folder types to document in v5 2023-10-05 14:25:45 +02:00
Marc-Roig
8e8cfa0d84
fix: get values return type with id key 2023-10-05 14:16:54 +02:00
Alexandre Bodin
c8c571e5f7 Fix tests 2023-10-05 13:30:56 +02:00
Simone
830f20034a
[Blocks editor] Add the list ordered and list unordered options in the block selector (#18290)
* add the lists to the dropdown, change the options order

* use the hook to retrieve icon and label for the list buttons

* remove unused icons

* fix test issues

* refactor code to use block store

* fix comment
2023-10-05 13:12:23 +02:00
Marc-Roig
e81fbd8604
feat: add Entity Id type 2023-10-05 12:33:48 +02: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
Gustav Hansen
18f5faad29 chore(tooling): add DTS env variable for bundle-size workflow 2023-10-05 11:23:27 +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
Simone
46010896d6
[Blocks editor] Manage click Enter twice on the same line (#18255)
* refactor handle enter key function

* remove comment

* add a unit test

* refactor the solution to handle other possible scenarios

* fix some review comments

* change variable implementation based on review comment

* change comments
2023-10-05 09:32:03 +02:00
Rémi de Juvigny
7708cb098d
[Blocks] Replace alpha warnings by beta warnings (#18278)
* Replace alpha warnings by beta warnings

* Fix alert variant
2023-10-05 09:17:48 +02:00
DMehaffy
fab38a0800
Merge pull request #18272 from pertrai1/patch-1
Very Quick README.md Change
2023-10-04 14:56:38 -07:00
DMehaffy
6e6d3d7cf5
Merge branch 'main' into patch-1 2023-10-04 14:54:44 -07: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
Rémi de Juvigny
59735af153
Fix code block styles (#18283) 2023-10-04 16:42:00 +02:00
Alexandre Bodin
290f9f1269 Apply feedbacks 2023-10-04 15:55:33 +02:00
Rémi de Juvigny
ab5a18e8aa
Set fixed 512px height for the whole editor (#18284) 2023-10-04 14:16:45 +02:00
Alexandre Bodin
c29b11186e Fix lint 2023-10-04 13:55:48 +02:00
Alexandre Bodin
4f44013229 fix unit tests 2023-10-04 13:53:11 +02:00
Alexandre Bodin
5c48b9b07e Merge branch 'main' into chore/ts-database 2023-10-04 13:36:07 +02:00
Madhuri Sandbhor
502bd29738
[Blocks Editor] Fix empty list backspace issue (#18260)
* fixed backspace key for empty list

* fixed backspace key for empty list

* added a check for handleBackspaceKey

* test case updated for ordered-list, colocated code for list block
2023-10-04 12:48:08 +02:00
Ben Irvin
93595cfdad
Merge branch 'main' into fix/dts-ws-timeout 2023-10-04 12:07:42 +02:00
Ben Irvin
eeb77afbca
Merge pull request #18274 from strapi/fix/e2e-test-package 2023-10-04 12:06:19 +02:00
markkaylor
9b2cfe1ae1
Fix blocks config (list, sort, filter, main field) (#18207) 2023-10-04 11:28:13 +02:00
markkaylor
a9e8ad6a64
Fix focus on select (#18193) 2023-10-04 11:22:11 +02:00
Fernando Chávez
428049c401
[Rich Text Editor] Add link plugin and buttons (#18195)
* add link plugin and buttons

* fix validations

* apply josh & madhuri feedback

* apply madhuri feedback

* apply mark's feedback

* fix tests
2023-10-04 10:23:23 +02: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