react-daisyui icon indicating copy to clipboard operation
react-daisyui copied to clipboard

Fixes TypeScript build errors for DaisyUI 5 compatibility

Open logankoester opened this issue 5 months ago • 3 comments

I fixed two errors that prevented npm run dist from building the dist/ directory, both of which appear to have been the result of upstream work in the project's main branch updating the package to support DaisyUI v5.

  • Removes deprecated parallelogram mask variants that are no longer supported
  • Adds missing 'middle' position constant (see https://daisyui.com/components/modal/)

Removed mask-parallelogram, mask-parallelogram-2, mask-parallelogram-3, and mask-parallelogram-4. These mask styles are no longer included in the library. If you need them, manually use the CSS

Ref: https://daisyui.com/docs/upgrade/#mask

After these changes, I was able to run npm run dist successfully.

logankoester avatar Aug 06 '25 17:08 logankoester

Deploy Preview for react-daisyui processing.

Name Link
Latest commit b8d15700fa6aadda219937a397ac1317418221ea
Latest deploy log https://app.netlify.com/projects/react-daisyui/deploys/68938b5bcb554b0008ef429e

netlify[bot] avatar Aug 06 '25 17:08 netlify[bot]

Deploy Preview for react-daisyui processing.

Name Link
Latest commit b8d15700fa6aadda219937a397ac1317418221ea
Latest deploy log https://app.netlify.com/projects/react-daisyui/deploys/68938b5bcb554b0008ef429e

netlify[bot] avatar Aug 06 '25 17:08 netlify[bot]

Deploy Preview for react-daisyui ready!

Name Link
Latest commit b8d15700fa6aadda219937a397ac1317418221ea
Latest deploy log https://app.netlify.com/projects/react-daisyui/deploys/68938b5bcb554b0008ef429e
Deploy Preview https://deploy-preview-482--react-daisyui.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Aug 06 '25 17:08 netlify[bot]