21091 Commits

Author SHA1 Message Date
Gustav Hansen
7c1e90c89d SelectTree: Improve example 2022-04-28 13:50:28 +02:00
Gustav Hansen
d39b4c6ae7 SelectTree: Move custom Option props to selectProps 2022-04-28 13:50:28 +02:00
soupette
3647486db0 Change storybook port
Signed-off-by: soupette <cyril@strapi.io>
2022-04-28 13:50:27 +02:00
Gustav Hansen
3b5f26587a Add storybook documentation to develop local components outside the helper plugin
Signed-off-by: soupette <cyril@strapi.io>
2022-04-28 13:50:19 +02:00
Gustav Hansen
5048ed061c Chore: Fix snapshot test 2022-04-28 13:47:05 +02:00
Gustav Hansen
be68fe2957 Update test 2022-04-28 13:47:05 +02:00
Gustav Hansen
6eaf2d7441 ReactSelect: Improve styling for selected options 2022-04-28 13:47:04 +02:00
Gustav Hansen
18d26cc963 SelectTree: Handle react-select defaultValue 2022-04-28 13:47:04 +02:00
Gustav Hansen
71d06305b0 SelectTree: Reduce impact of disabled lint rule 2022-04-28 13:47:04 +02:00
Gustav Hansen
f9eb3004d4 SelectTree: Move Option into it's own component 2022-04-28 13:47:04 +02:00
Gustav Hansen
9b162d8e99 SelectTree: Improve PropTypes for options 2022-04-28 13:47:04 +02:00
Gustav Hansen
18e495f6e0 Link ML SelectTree to the helper-plugin storybook temporarily 2022-04-28 13:47:03 +02:00
Gustav Hansen
e31e8bc038 SelectTree: Update snapshot tests 2022-04-28 13:47:03 +02:00
Gustav Hansen
a5df3fbcce Chore: Add react-select as dependency of the helper-plugin 2022-04-28 13:46:53 +02:00
Gustav Hansen
9a5f703993 SelectTree: Update snapshot test 2022-04-28 13:41:53 +02:00
Gustav Hansen
d8e6039c79 ReactSelect: Add maxDisplayDepth prop to determine max level of indention 2022-04-28 13:41:53 +02:00
Gustav Hansen
4d872656d2 ReactSelect: Cleanup import order 2022-04-28 13:41:53 +02:00
Gustav Hansen
eb4bd8e050 ReactSelect: Simplify handleToggle callback 2022-04-28 13:41:53 +02:00
Gustav Hansen
bf0e321820 ML: Create SelectTree component on top of ReactSelect 2022-04-28 13:41:52 +02:00
Gustav Hansen
8983a69025 ReactSelect: Abstract base class from SelectWrapper 2022-04-28 13:41:49 +02:00
Gustav Hansen
318bec4f5c FolderCard: Restructure component files 2022-04-28 13:41:15 +02:00
Gustav Hansen
0d0a24f29d ML: Add FolderCard component 2022-04-28 13:39:19 +02:00
Gustav Hansen
a9abafccb0 ML: Add useFolders() hook and tests 2022-04-28 13:36:57 +02:00
Gustav Hansen
2e64487fc0 Chore: Update snapshot tests 2022-04-28 13:33:41 +02:00
Gustav Hansen
7fc6b4de67 ML: Refactor AssetMeta into ContextInfo to reuse it for folders 2022-04-28 13:29:05 +02:00
Pierre Noël
b8c8279580 fix lint 2022-04-28 13:29:04 +02:00
Pierre Noël
8abc6a73cb apply feedback 2022-04-28 13:29:04 +02:00
Pierre Noël
9c3dcfecbc sanitize files for the content-api 2022-04-28 13:29:04 +02:00
Pierre Noël
587b62ea7b replace path by location + add location to files 2022-04-28 13:29:04 +02:00
Pierre Noël
906f625c30 replace names by uids in folder path 2022-04-28 13:29:03 +02:00
Pierre Noël
ada5553977 remove path for files + add base for delete folders 2022-04-28 13:29:03 +02:00
Pierre Noël
9476065472 add ability to set and change file folder location 2022-04-28 13:29:03 +02:00
Pierre Noël
2ae631d903 forbid folder name starting or ending with a whitespace 2022-04-28 13:29:03 +02:00
Pierre Noël
8ddf42f75c fix tests 2022-04-28 13:29:02 +02:00
Pierre Noël
4ee7519b4f restructure upload controllers + add create and get folders 2022-04-28 13:29:00 +02:00
Gustav Hansen
6a9850bb21 FolderCard: remove legacy useId prefix param 2022-04-28 13:28:33 +02:00
Gustav Hansen
b9b01b9d51 FolderCard: Restructure component files 2022-04-28 13:28:33 +02:00
Gustav Hansen
39019848a4 FolderCard: Update tests 2022-04-28 13:28:33 +02:00
Gustav Hansen
609fb1336d ML: Add FolderCard component 2022-04-28 13:28:32 +02:00
Gustav Hansen
c494431a20 ML: Simplify useAssets() and useFolders() hooks 2022-04-28 13:28:32 +02:00
Gustav Hansen
c2722dcfd0 ML: Resolve ignored eslint rules 2022-04-28 13:28:32 +02:00
Gustav Hansen
c7cf9d886c ML: Add useFolders() hook and tests 2022-04-28 13:28:32 +02:00
Gustav Hansen
bd75335c44 ML: Add tests for useAssets() 2022-04-28 13:28:31 +02:00
Gustav Hansen
8e5c889c09 ML: Use formatjs inline plural API, display folder count 2022-04-28 13:28:31 +02:00
Gustav Hansen
337704cdf2
Merge pull request #13191 from strapi/dependabot/npm_and_yarn/eslint-plugin-react-hooks-4.5.0
Bump eslint-plugin-react-hooks from 4.4.0 to 4.5.0
2022-04-27 12:40:34 +02:00
Gustav Hansen
4758ec9755
Merge pull request #13140 from alekzonder/patch-1
FIx upload error: Error: VipsJpeg: Invalid SOS parameters for sequential JPEG
2022-04-27 12:13:37 +02:00
Gustav Hansen
51c210e7ef
Merge pull request #13142 from Elliot67/patch-1
Fix roadmap links in the readme
2022-04-27 11:38:47 +02:00
dependabot[bot]
e2ec5d713f
Bump eslint-plugin-react-hooks from 4.4.0 to 4.5.0
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-27 09:05:48 +00:00
Gustav Hansen
4d56dc86a7
Merge pull request #13145 from strapi/dependabot/npm_and_yarn/fs-extra-10.1.0
Bump fs-extra from 10.0.1 to 10.1.0
2022-04-27 10:52:44 +02:00
Gustav Hansen
4120c11dd1
Merge pull request #13180 from strapi/dependabot/npm_and_yarn/actions/core-1.7.0
Bump @actions/core from 1.6.0 to 1.7.0
2022-04-27 10:47:04 +02:00