Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency daisyui to v4 #195

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 12, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
daisyui (source) 3.9.4 -> 4.12.22 age adoption passing confidence

Release Notes

saadeghi/daisyui (daisyui)

v4.12.22

Compare Source

v4.12.21

Compare Source

v4.12.20

Compare Source

v4.12.19

Compare Source

v4.12.18

Compare Source

v4.12.17

Compare Source

v4.12.16

Compare Source

Bug Fixes

v4.12.15

Compare Source

Bug Fixes

v4.12.14

Compare Source

Bug Fixes

v4.12.13

Compare Source

Bug Fixes

v4.12.12

Compare Source

Bug Fixes
  • selector performance for RTL stat (ad6f291)

v4.12.11

Compare Source

Bug Fixes

v4.12.10

Compare Source

Bug Fixes

v4.12.9

Compare Source

Bug Fixes

v4.12.8

Compare Source

Bug Fixes
  • decrease default scrollbar color contrast using color-mix (92d98ed)

v4.12.7

Compare Source

Bug Fixes

v4.12.6

Compare Source

v4.12.5

Compare Source

Bug Fixes

v4.12.4

Compare Source

Bug Fixes

v4.12.3

Compare Source

v4.12.2

Compare Source

v4.11.1

Compare Source

Bug Fixes
  • disable initial button animation for prefers-reduced-motion (57d470e)

v4.11.0

Compare Source

Features
  • add tab-active style for tabs with aria-selected="true" attribute (213ee58)

v4.10.5

Compare Source

Bug Fixes
  • add missing outline-* color utility classes to CDN file (b3e4800), closes #​2944

v4.10.4

Compare Source

Bug Fixes
  • show the parent element of disabled input as disabled (50d26b5), closes #​3004

v4.10.3

Compare Source

v4.10.2

Compare Source

Bug Fixes

v4.10.1

Compare Source

Bug Fixes

v4.10.0

Compare Source

Features

v4.9.0

Compare Source

Features

v4.8.0

Compare Source

Features
  • checkbox/toggle with checked="true" won't force to show a checked value visually anymore (17585a6), closes #​2911

v4.7.3

Compare Source

Features
  • add carousel-start utility class

v4.7.2

Compare Source

Bug Fixes
  • input element inside wrapper with input class background color. closes #​2846 (938829d)

v4.7.1

Compare Source

Bug Fixes
  • don't apply menu item styles to btn is inside menu (ac60762)

v4.7.0

Compare Source

Features

v4.6.3

Compare Source

Bug Fixes
  • incompatibility of Astro Islands injected style and script tags. closes: #​2835 (8b1cfed)

v4.6.2

Compare Source

Bug Fixes

v4.6.1

Compare Source

Bug Fixes

v4.6.0

Compare Source

Bug Fixes

v4.5.0

Compare Source

Features
Bug Fixes

v4.4.24

Compare Source

Bug Fixes
  • unwanted background color in .prose pre>code (5d6daf3)

v4.4.23

Compare Source

Bug Fixes

v4.4.22

Compare Source

Bug Fixes

v4.4.21

Compare Source

Bug Fixes

v4.4.20

Compare Source

Bug Fixes

v4.4.19

Compare Source

Bug Fixes
  • input type=date text-align issue in iOS (acf5377)

v4.4.18

Compare Source

v4.4.17

Compare Source

Bug Fixes

v4.4.16

Compare Source

Bug Fixes
  • drawer and modal backdrop color (0f994e3)

v4.4.15

Compare Source

Bug Fixes

v4.4.14

Compare Source

Bug Fixes

v4.4.13

Compare Source

Bug Fixes

v4.4.12

Compare Source

Bug Fixes

v4.4.11

Compare Source

Bug Fixes

v4.4.10

Compare Source

Bug Fixes

v4.4.9

Compare Source

Bug Fixes

v4.4.8

Compare Source

Bug Fixes
  • Fix: button-active color fallback for old browser
  • Fix: link hover color fallback for old browser
  • Fix: menu line color fallback for old browser

v4.4.7

Compare Source

Bug Fixes

v4.4.6

Compare Source

Bug Fixes

v4.4.5

Compare Source

Bug Fixes
  • missing menu hover bg color (87c5ad7)

v4.4.4

Compare Source

Bug Fixes

v4.4.3

Compare Source

Bug Fixes

v4.4.2

Compare Source

Bug Fixes
  • improve default success color contrast vs base color (ef9f542)

v4.4.1

Compare Source

Bug Fixes
  • improve neutral color in dim theme (953534c)

v4.4.0

Compare Source

Features
  • invalid color value in config now shows an error (41ee386)

v4.3.1

Compare Source

v4.2.3

Compare Source

v4.2.2

Compare Source

v4.2.1

Compare Source

v4.2.0

Compare Source

v4.1.1

Compare Source

v4.1.0

Compare Source

v4.0.9

Compare Source

Bug Fixes
  • divider default color not being visible on dark themes (fffd021)

v4.0.8

Compare Source

Bug Fixes

v4.0.7

Compare Source

v4.0.6

Compare Source

Bug Fixes

v4.0.5

Compare Source

Bug Fixes

v4.0.4

Compare Source

Bug Fixes

v4.0.3

Compare Source

Bug Fixes
  • specificity issue on form inputs

v4.0.2

Compare Source

Bug Fixes

v4.0.1

Compare Source

v4.0.0

Compare Source

daisyUI 4

Breaking changes
  • 🌈 OKLCH colors
    • daisyUI 4 uses wide-gamut OKLCH colors internally instead of HSL now.
    • The new OKLCH color model unlock access to 30% more colors comparing to RGB/HSL.
    • All internal color variables (--p, --s, etc) now contain OKLCH values instead of HSL.
    • If you're using those CSS variables directly inside your project like hsl(var(--p)) you have to change it to oklch(var(--p))
    • OKLCH colors are supported in Chrome/Edge 111+, Safari 15.4+, Firefox 113+
    • For old browsers, daisyUI provides HEX fallback colors only for the default dark/light themes.
    • Read more about OKLCH colors here.
  • 🌈 Color names
    • Removed all *-focus color names. They where being used only for buttons.
    • Darker colors are now generated using CSS color-mix() under the hood.
    • The following class names are removed now:
      • primary-focus
      • secondary-focus
      • accent-focus
      • neutral-focus
    • You can also make a color darker or lighter using CSS color-mix(). For example to make primary (--p) color darker by 7%, you can use this class name:
      bg-[color-mix(in_oklab,oklch(var(--p)),black_7%)]
  • 🎨 Themes
    • there's a change in property names in daisyui/src/theming/themes.js file.
      If you're customizing a built-in daisyUI theme like this:
      ...require("daisyui/src/theming/themes")["[data-theme=light]"],
      change it to:
      ...require("daisyui/src/theming/themes")["light"],
    • All theme colors adjusted for better contrast, better color harmony and better accessibility.
  • 🧠 Logical CSS properties
    • daisyUI 4 components use logical CSS properties instead of directional rules (mr-*, pl-*, etc)
    • If you are using directional CSS rules (right/left) to modify daisyUI styles, it still works fine in LTR mode but you may want to double check.
  • ⬅️ RTL
    • Removed rtl daisyUI config
    • All components now support LTR/RTL without any config or plugin.
    • You don't need tailwindcss-flip plugin anymore.
    • You don't need to set rtl: true in tailwind.config.js
    • Just add dir=rtl to <html> tag and everything will be RTL on runtime.
  • 🗂️ Tab
    • No need to repeat modifier classes for each tab item.
    • these modifier classes for tab are removed:
      • tab-lifted
      • tab-bordered
      • tab-lg
      • tab-md
      • tab-sm
      • tab-xs
    • Use the following modifier classes for the parent tabs class instead:
      • tabs-lifted
      • tabs-bordered
      • tabs-lg
      • tabs-md
      • tabs-sm
      • tabs-xs
    • tabs class is now using grid, instead of flex.
    • Lifted tab now uses a single pseudo element (:before) instead of two (:before and after)
  • ⏺️ Button
    • buttons are not uppercase by default anymore
    • Removed --btn-text-case CSS variable from themes
  • ⚙️ Config
    • Removed rtl config because RTL is now automatic
  • 📦 Dependencies
    • Removed colord, rtlcss, postcss, tailwindcss
    • Added culori, picocolors
Features
  • 💡 Efficiency
    • 92% less NPM module dependencies
    • 73% smaller install size and node_modules footprint
  • ✨ New components:
    • timeline
    • skeleton
    • diff
    • theme-controller
  • ➗ New divider color modifier class names
    • divider-primary
    • divider-secondary
    • divider-accent
    • divider-neutral
    • divider-success
    • divider-warning
    • divider-info
    • divider-error
  • ➗ New divider position modifier class names
    • divider-start
    • divider-end
  • 🎨 New themes:
    • Dim
    • Nord
    • Sunset
  • ⏺️ Buttons
    • Added hover color for the following other buttons:
      • btn-info
      • btn-success
      • btn-warning
      • btn-error
  • 🗂️ Tab
    • Empty tab tag now grows and fills the empty space
    • tab class can now be a radio input. aria-label value will be shown as the tab title so it's accessible for screen readers and keyboard navigation.
    • New tab-content class allows you to switch tab content
  • 🧩 @tailwindcss/forms
    • Fix compatibility with @tailwindcss/forms plugin (even though you don't need it alongside daisyUI)
  • ⚙️ Config
    • New themeRoot config
      • Now you can define target another element instead of :root to receive the color CSS variables.
      • This is useful for using colors in shadow root.
Bug Fixes
  • Text color for disabled input #​1622
  • Fix tab radius
  • Fix missing utility classes
  • Docs: Prefix not work on responsive classes #​2445
  • Hover animations for state buttons #​1790
  • Skeleton component #​186
  • Uppercase buttons #​2187
Docs
  • New translations for docs
    • Arabic
    • Farsi
  • daisyUI official store – Get professional templates made by daisyUI
  • daisyUI resources – A handpicked collection of community videos, articles and courses about daisyUI
  • Add roadmap page
  • Add docs for utiltiy classes
  • Update theme generator
  • Show browser support for components that are using new CSS rules

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Nov 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
flight ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 1:37am

@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 84a7d5e to eea6263 Compare November 13, 2023 07:04
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from eea6263 to f5eca29 Compare November 14, 2023 00:15
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from f5eca29 to 70d7273 Compare November 14, 2023 17:34
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 70d7273 to 80f6ccc Compare November 15, 2023 00:22
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 80f6ccc to 8fe6879 Compare November 16, 2023 04:13
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 8fe6879 to 2e06069 Compare November 16, 2023 09:51
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 2e06069 to 8cd3aff Compare November 16, 2023 16:35
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 8cd3aff to 07cb68b Compare November 16, 2023 19:06
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 07cb68b to 8d704bf Compare November 16, 2023 23:28
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 8d704bf to 0aaccd8 Compare November 18, 2023 02:36
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 0aaccd8 to 01ad111 Compare November 18, 2023 04:51
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 01ad111 to cbfaf5a Compare November 23, 2023 00:59
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from cbfaf5a to 7a7a834 Compare November 23, 2023 04:44
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 7a7a834 to 6a74089 Compare November 23, 2023 22:35
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 55d0ee0 to 2f7778c Compare June 23, 2024 23:23
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 2f7778c to 3182223 Compare June 24, 2024 21:28
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 3182223 to 47ab06b Compare June 26, 2024 19:57
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 47ab06b to bd4ea29 Compare October 2, 2024 13:19
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from bd4ea29 to 704b09f Compare October 4, 2024 12:14
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 704b09f to f7dc3d4 Compare October 9, 2024 12:39
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from f7dc3d4 to 821bd9a Compare October 22, 2024 00:45
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 821bd9a to 0578d3e Compare October 28, 2024 20:01
@renovate renovate bot changed the title Update dependency daisyui to v4 Update dependency daisyui to v4 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/daisyui-4.x branch December 8, 2024 18:56
@renovate renovate bot changed the title Update dependency daisyui to v4 - autoclosed Update dependency daisyui to v4 Dec 9, 2024
@renovate renovate bot reopened this Dec 9, 2024
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch 2 times, most recently from 0578d3e to 9a287fa Compare December 9, 2024 12:03
@renovate renovate bot force-pushed the renovate/daisyui-4.x branch from 9a287fa to 1ecc28b Compare December 12, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants