Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

fix(deps): update dependency daisyui to v4 #628

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 16, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
daisyui (source) ^2.24.0 -> ^4.0.0 age adoption passing confidence

Release Notes

saadeghi/daisyui (daisyui)

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

v3.9.4

Compare Source

v3.9.3

Compare Source

v3.9.2

Compare Source

v3.9.1

Compare Source

v3.9.0

Compare Source

3.8.3 (2023-10-02)
Bug Fixes
3.8.2 (2023-09-30)
3.8.1 (2023-09-27)
Bug Fixes
  • disable input outline when there's an <input> tag inside a .input wrapper

  • add :focus-within style to .input (#​2363)

  • #​2360 (20a8f62)

v3.8.3

Compare Source

v3.8.2

Compare Source

v3.8.1

Compare Source

v3.8.0

Compare Source

Features
  • tooltip color variants now can be extended using apply (11fb1b1), closes #​2371
3.7.7 (2023-09-21)
3.7.6 (2023-09-19)
Bug Fixes
3.7.5 (2023-09-17)
3.7.4 (2023-09-13)
3.7.3 (2023-09-06)
Bug Fixes
3.7.2 (2023-09-06)
Bug Fixes
3.7.1 (2023-09-06)

v3.7.7

Compare Source

v3.7.6

Compare Source

v3.7.5

Compare Source

v3.7.4

Compare Source

v3.7.3

Compare Source

v3.7.2

Compare Source

v3.7.1

Compare Source

v3.7.0

Compare Source

Features
3.6.6 (2023-09-06)
3.6.5 (2023-09-04)
Bug Fixes
  • #​2311 <select> font weight is not semibold anymore because it causes a bug in Safari (c773cdf)
3.6.4 (2023-08-30)
Bug Fixes
3.6.3 (2023-08-25)
Bug Fixes
3.6.2 (2023-08-25)
3.6.1 (2023-08-22)

v3.6.6

Compare Source

v3.6.5

Compare Source

v3.6.4

Compare Source

v3.6.3

Compare Source

v3.6.2

Compare Source

v3.6.1

Compare Source

v3.6.0

Compare Source

Add types (/src/index.d.ts)

3.5.1 (2023-08-03)
Bug Fixes

v3.5.1

Compare Source

v3.5.0

Compare Source

Features
  • improve animation and transition speed for checkbox, collapse, drawer, dropdown, loading, menu, modal, radio, rating, swap, toggle, badge, file-input (561e4e6)

v3.4.0

Compare Source

Features
3.3.2 (2023-07-24)
Bug Fixes
3.3.1 (2023-07-20)
Bug Fixes
  • rename toolbar class of browser mockup to mockup-browser-toolbar to avoid future conflicts (23f9e17)

v3.3.2

Compare Source

v3.3.1

Compare Source

v3.3.0

Compare Source

Features
  • add the browser mockup component from README.md list (#​2147) (b58282e)
3.2.2 (2023-07-20)
Bug Fixes
3.2.1 (2023-07-07)
Bug Fixes

v3.2.2

Compare Source

v3.2.1

Compare Source

v3.2.0

Compare Source

Features
3.1.11 (2023-07-07)
Bug Fixes
3.1.10 (2023-07-06)
Bug Fixes
3.1.9 (2023-07-05)
Bug Fixes
3.1.8 (2023-07-05)
Bug Fixes
3.1.7 (2023-06-28)
3.1.6 (2023-06-23)
Bug Fixes
3.1.5 (2023-06-20)
Bug Fixes
3.1.4 (2023-06-20)
3.1.3 (2023-06-20)
3.1.2 (2023-06-20)
Bug fixes
3.1.1 (2023-06-16)
Bug Fixes

v3.1.11

Compare Source

v3.1.10

Compare Source

v3.1.9

Compare Source

v3.1.8

Compare Source

v3.1.7

Compare Source

v3.1.6

Compare Source

Bug Fixes

v3.1.5

Compare Source

v3.1.4

Compare Source

v3.1.3

Compare Source

v3.1.2

Compare Source

v3.1.1

Compare Source

v3.1.0

Compare Source

3.0.25 (2023-06-11)
3.0.21 (2023-06-09)
Bug Fixes
3.0.18 (2023-06-07)
Bug Fixes
3.0.5 (2023-06-07)
Bug Fixes
3.0.4 (2023-06-07)
Bug Fixes
3.0.2 (2023-06-03)
Bug Fixes
3.0.1 (2023-06-02)
Bug Fixes

v3.0.29

Compare Source

v3.0.28

Compare Source

v3.0.27

Compare Source

v3.0.26

Compare Source

v3.0.25

Compare Source

v3.0.24

Compare Source

v3.0.23

Compare Source

v3.0.22

Compare Source

v3.0.20

Compare Source

v3.0.19

Compare Source

v3.0.18

Compare Source

v3.0.17

Compare Source

v3.0.16

Compare Source

v3.0.15

Compare Source

v3.0.14

Compare Source

v3.0.12

Compare Source

v3.0.11

Compare Source

v3.0.10

Compare Source

v3.0.9

Compare Source

v3.0.8

Compare Source

v3.0.7

Compare Source

v3.0.6

Compare Source

v3.0.5

Compare Source

v3.0.4

Compare Source

v3.0.3

Compare Source

v3.0.2

Compare Source

v3.0.1

Compare Source

v3.0.0

Compare Source

v2.52.0

Compare Source

v2.51.6

Compare Source

v2.51.5

Compare Source

v2.51.4

Compare Source

v2.51.3

Compare Source

v2.51.2

Compare Source

v2.51.1

Compare Source

v2.51.0

Compare Source

Features
  • Add type definitions for the package
  • Add new tab-disabled class name for visually disabling a tab item
  • Add border radius to all tabs in tabs-boxed (not just the active tab)
Bug Fixes
2.50.2 (2023-02-20)
Bug Fixes
2.50.1 (2023-02-14)
Bug Fixes

v2.50.2

Compare Source

v2.50.1

Compare Source

v2.50.0

Compare Source

Bug Fixes

v2.49.0

Compare Source

Bug Fixes

v2.48.0

Compare Source

Features
  • textarea now has xs, sm, md and lg sizes: #​1462
Bug Fixes
2.47.1 (2023-01-25)

v2.47.1

Compare Source

v2.47.0

Compare Source

Features
  • More precise Hex to HSL conversion .Now HSL values round to 5 decimal places instead of 0 (36d27f0)
Bug Fixes
2.46.1 (2023-01-02)

v2.46.1

Compare Source

v2.46.0

Compare Source

v2.45.0

Compare Source

v2.44.0

Compare Source

Bug Fixes
2.43.2 (2022-12-12)
2.43.1 (2022-12-12)
Bug Fixes

v2.43.2

Compare Source

v2.43.1

Compare Source


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 has been generated by Mend Renovate. View repository job log here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants