Skip to content

Releases: tinloof/sanity-kit

@tinloof/[email protected]

18 Jun 14:27
9d477ac
Compare
Choose a tag to compare

Patch Changes

  • 95a15b3: Properly render custom folder titles when i18n is enabled and add ability to have localized folder titles using a callback function.
  • 9e62382: Updated dependency @sanity/presentation to ^1.16.0.
    Updated dependency @sanity/ui to ^2.4.0.
    Updated dependency @sanity/util to ^3.46.1.
    Updated dependency @typescript-eslint/eslint-plugin to ^7.13.1.
    Updated dependency @typescript-eslint/parser to ^7.13.1.
    Updated dependency npm-run-all2 to ^5.0.2.
    Updated dependency sanity to ^3.46.1.
  • Updated dependencies [9e62382]

@tinloof/[email protected]

12 Jun 15:28
a8c30da
Compare
Choose a tag to compare

Minor Changes

  • 29a848a: Add option to use a custom localizePathname function in the Pages plugin and in pathname fields. Thanks @marcusforsberg!

Patch Changes

  • 4c92cc8: Updated dependency @sanity/presentation to ^1.15.14.
    Updated dependency @sanity/ui to ^2.3.3.
    Updated dependency @tanstack/react-virtual to ^3.5.1.
    Updated dependency @types/lodash to ^4.17.5.
    Updated dependency @types/react to ^18.3.3.
    Updated dependency @types/react-is to ^18.3.0.
    Updated dependency @typescript-eslint/eslint-plugin to ^7.13.0.
    Updated dependency @typescript-eslint/parser to ^7.13.0.
    Updated dependency eslint-plugin-react to ^7.34.2.
    Updated dependency eslint-plugin-react-hooks to ^4.6.2.
    Updated dependency npm-run-all2 to ^5.0.0.
    Updated dependency prettier to ^3.3.2.
    Updated dependency react to ^18.3.1.
    Updated dependency react-dom to ^18.3.1.
    Updated dependency react-is to ^18.3.1.
    Updated dependency rimraf to ^5.0.7.
    Updated dependency sanity to ^3.45.0.
    Updated dependency styled-components to ^6.1.11.
    Updated dependency @changesets/cli to ^2.27.5.
    Updated dependency @types/react-dom to ^18.3.0.
    Updated dependency tsup to ^8.1.0.
    Updated dependency @portabletext/react to ^3.1.0.

@tinloof/[email protected]

12 Jun 15:28
a8c30da
Compare
Choose a tag to compare

Minor Changes

  • a09d24f: Add support for the source field, which when set will render a button to generate the pathname similar to Sanity's Slug type. Thanks @marcusforsberg!
  • 29a848a: Add option to use a custom localizePathname function in the Pages plugin and in pathname fields. Thanks @marcusforsberg!
  • ac331cf: Add requireLocale option to allow working with non-translatable page types even with i18n enabled. Thanks @marcusforsberg!
  • 7dd9046: Add autoNavigate option to hide the "Preview" button and automatically navigate as the pathname changes. Thanks @marcusforsberg!
  • ab53988: Add folders config option which can be used to customize the icons and titles for individual folders based on their pathnames. Thanks @marcusforsberg!

Patch Changes

  • 2a263d7: Hide the "Preview" button from the pathname field when used in the Structure Tool (where it has no effect).
  • 4289934: Add missing "group" and "fieldset" properties to PathnameParams. Thanks @marcusforsberg!
  • 4c92cc8: Updated dependency @sanity/presentation to ^1.15.14.
    Updated dependency @sanity/ui to ^2.3.3.
    Updated dependency @tanstack/react-virtual to ^3.5.1.
    Updated dependency @types/lodash to ^4.17.5.
    Updated dependency @types/react to ^18.3.3.
    Updated dependency @types/react-is to ^18.3.0.
    Updated dependency @typescript-eslint/eslint-plugin to ^7.13.0.
    Updated dependency @typescript-eslint/parser to ^7.13.0.
    Updated dependency eslint-plugin-react to ^7.34.2.
    Updated dependency eslint-plugin-react-hooks to ^4.6.2.
    Updated dependency npm-run-all2 to ^5.0.0.
    Updated dependency prettier to ^3.3.2.
    Updated dependency react to ^18.3.1.
    Updated dependency react-dom to ^18.3.1.
    Updated dependency react-is to ^18.3.1.
    Updated dependency rimraf to ^5.0.7.
    Updated dependency sanity to ^3.45.0.
    Updated dependency styled-components to ^6.1.11.
    Updated dependency @changesets/cli to ^2.27.5.
    Updated dependency @types/react-dom to ^18.3.0.
    Updated dependency tsup to ^8.1.0.
    Updated dependency @portabletext/react to ^3.1.0.
  • Updated dependencies [29a848a]
  • Updated dependencies [4c92cc8]

@tinloof/[email protected]

22 May 13:39
3de4cfc
Compare
Choose a tag to compare

Patch Changes

  • a3677bb: - fix(pathname): add back window.location.origin as default pathname prefix. Thanks @marcusforsberg!
    • fix(PreviewMedia): add new render condition for when element is of type object. Thanks @gercordero!

@tinloof/[email protected]

14 May 20:58
61f3407
Compare
Choose a tag to compare

Patch Changes

@tinloof/[email protected]

14 May 20:58
61f3407
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@tinloof/[email protected]

29 Apr 18:29
02a9a6d
Compare
Choose a tag to compare

Patch Changes

  • c96e9f7: Fix: definePathname initialValue is now used when creating new documents from the pages navigator.

@tinloof/[email protected]

26 Apr 15:15
e322e4f
Compare
Choose a tag to compare

Minor Changes

  • 0696902: Update <SanityImage /> component to fix LQIP background issues with png images.
    Also add a lqip prop of type boolean (true by default) to <SanityImage /> to enable/disable LQIP background image.

@tinloof/[email protected]

26 Apr 15:15
e322e4f
Compare
Choose a tag to compare

Patch Changes

@tinloof/[email protected]

25 Apr 19:59
d71fde0
Compare
Choose a tag to compare

Patch Changes