Vonage-Community / sample-mongodb-vonage-integration-restaurant-demo

This demo shows off a more full-fledged way to integrate Vonage Verify, Vonage Messages, and the Vonage Meetings API in a structured application. It is powered by MongoDB's Atlas cloud database service, and can be managed by any MongoDB-compatible suite of tools.
Apache License 2.0
0 stars 0 forks source link

Update dependency daisyui to v4 #5

Open mend-for-github-com[bot] opened 7 months ago

mend-for-github-com[bot] commented 7 months ago

This PR contains the following updates:

Package Type Update Change
daisyui (source) dependencies major ^2.51.4 -> ^4.0.0

By merging this PR, the issue #1 will be automatically resolved and closed:

Severity CVSS Score CVE
Medium Medium 5.3 CVE-2023-44270
Medium Medium 5.3 CVE-2024-4067

Release Notes

saadeghi/daisyui (daisyui) ### [`v4.0.0`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#400-2023-11-12) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.9.4...v4.0.0) ![daisyUI 4](https://raw.githubusercontent.com/saadeghi/files/main/daisyui4/daisyui-41200.jpg) ##### Breaking changes - 🌈 OKLCH colors - daisyUI 4 uses wide-gamut [OKLCH colors](https://oklch.com/) 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](https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl). - 🌈 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](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values) 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 `` 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](https://togithub.com/saadeghi/daisyui/issues/1622) - Fix tab radius - Fix missing utility classes - Docs: Prefix not work on responsive classes [#​2445](https://togithub.com/saadeghi/daisyui/issues/2445) - Hover animations for state buttons [#​1790](https://togithub.com/saadeghi/daisyui/issues/1790) - Skeleton component [#​186](https://togithub.com/saadeghi/daisyui/issues/186) - Uppercase buttons [#​2187](https://togithub.com/saadeghi/daisyui/issues/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`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#394-2023-10-27) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.9.3...v3.9.4) ##### Bug Fixes - **docs:** Remove bottom padding from dropdown example ([#​2437](https://togithub.com/saadeghi/daisyui/issues/2437)) ([09d91c7](https://togithub.com/saadeghi/daisyui/commit/09d91c7466ffa2f6389cd75a0a1993096f2a4dec)) ### [`v3.9.3`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#393-2023-10-17) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.9.2...v3.9.3) ##### Bug Fixes - **docs:** fr.json ([#​2416](https://togithub.com/saadeghi/daisyui/issues/2416)) ([433e2e5](https://togithub.com/saadeghi/daisyui/commit/433e2e51a0e886f6225a071d9a2ce3bb2a458d03)) - missing `neutral-950` color ([59eb57b](https://togithub.com/saadeghi/daisyui/commit/59eb57b6ad2cdb6f704700913b5bea8f25d245c5)) ### [`v3.9.2`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#392-2023-10-05) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.9.1...v3.9.2) ##### Features - improve logs ([379137c](https://togithub.com/saadeghi/daisyui/commit/379137c3cde98118db7b117689e93a46efffda52)) ### [`v3.9.1`](https://togithub.com/saadeghi/daisyui/compare/v3.9.0...v3.9.1) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.9.0...v3.9.1) ### [`v3.9.0`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#390-2023-10-05) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.8.3...v3.9.0) ##### Features - increase Tailwind CSS dependency from ^3 to ^3.1 ([35e577f](https://togithub.com/saadeghi/daisyui/commit/35e577fffe67679ef41bd90dd1525668ec9f03d8)) ### [`v3.8.3`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#383-2023-10-02) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.8.2...v3.8.3) ##### Bug Fixes - [#​2116](https://togithub.com/saadeghi/daisyui/issues/2116) progess bar firefox bug ([#​2376](https://togithub.com/saadeghi/daisyui/issues/2376)) ([53889de](https://togithub.com/saadeghi/daisyui/commit/53889de67cb61ff223acb037f4aa7736e4fbf430)) ### [`v3.8.2`](https://togithub.com/saadeghi/daisyui/compare/v3.8.1...v3.8.2) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.8.1...v3.8.2) ### [`v3.8.1`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#381-2023-09-27) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.8.0...v3.8.1) ##### Features - add `:focus-within` style to `.input` ([#​2363](https://togithub.com/saadeghi/daisyui/issues/2363)) ([cac7938](https://togithub.com/saadeghi/daisyui/commit/cac7938565eafb9df6633fb3cb4ff433e1f608c0)) - disable input outline when there's an `` tag inside a `.input` wrapper ([dc1766b](https://togithub.com/saadeghi/daisyui/commit/dc1766bd03a60284a7bd4b52a45d7d681cbbaab0)) ##### Bug Fixes - [#​2360](https://togithub.com/saadeghi/daisyui/issues/2360) ([20a8f62](https://togithub.com/saadeghi/daisyui/commit/20a8f62c8b303a04dc4b07c8e2e6848d52d62799)) ### [`v3.8.0`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#380-2023-09-26) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.7.7...v3.8.0) ##### Features - `tooltip` color variants now can be extended using apply ([11fb1b1](https://togithub.com/saadeghi/daisyui/commit/11fb1b18ce572ea3cdadd5cf081447b4a66660a3)), closes [#​2371](https://togithub.com/saadeghi/daisyui/issues/2371) ### [`v3.7.7`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#377-2023-09-21) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.7.6...v3.7.7) ### [`v3.7.6`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#376-2023-09-19) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.7.5...v3.7.6) ##### Bug Fixes - [#​2333](https://togithub.com/saadeghi/daisyui/issues/2333) multidirection support for `join` ([#​2334](https://togithub.com/saadeghi/daisyui/issues/2334)) ([e8b3589](https://togithub.com/saadeghi/daisyui/commit/e8b3589a476bcca37d116780b599b5509d25d720)) ### [`v3.7.5`](https://togithub.com/saadeghi/daisyui/compare/v3.7.4...v3.7.5) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.7.4...v3.7.5) ### [`v3.7.4`](https://togithub.com/saadeghi/daisyui/compare/v3.7.3...v3.7.4) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.7.3...v3.7.4) ### [`v3.7.3`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#373-2023-09-06) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.7.2...v3.7.3) ##### Bug Fixes - chat bubble arrow gap in iOS ([dbe5f83](https://togithub.com/saadeghi/daisyui/commit/dbe5f83c5f02f350cacec09e8d7f9fb1216a81a2)), closes [#​2199](https://togithub.com/saadeghi/daisyui/issues/2199) ### [`v3.7.2`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#372-2023-09-06) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.7.1...v3.7.2) ##### Bug Fixes - dropdown button border radius inside join ([7e36bb0](https://togithub.com/saadeghi/daisyui/commit/7e36bb039485e3bbc82419085f732fa35e569a29)), closes [#​2115](https://togithub.com/saadeghi/daisyui/issues/2115) ### [`v3.7.1`](https://togithub.com/saadeghi/daisyui/compare/v3.7.0...v3.7.1) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.7.0...v3.7.1) ### [`v3.7.0`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#370-2023-09-06) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.6.6...v3.7.0) ##### Features - drawer-open now works in RTL mode. ([5162ff3](https://togithub.com/saadeghi/daisyui/commit/5162ff3baa1e64bfe896a7464be49e1c8a33b819)), closes [#​1951](https://togithub.com/saadeghi/daisyui/issues/1951) [#​1974](https://togithub.com/saadeghi/daisyui/issues/1974) [#​2034](https://togithub.com/saadeghi/daisyui/issues/2034) [#​2060](https://togithub.com/saadeghi/daisyui/issues/2060) [#​2094](https://togithub.com/saadeghi/daisyui/issues/2094) [#​2229](https://togithub.com/saadeghi/daisyui/issues/2229) ### [`v3.6.6`](https://togithub.com/saadeghi/daisyui/compare/v3.6.5...v3.6.6) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.6.5...v3.6.6) ### [`v3.6.5`](https://togithub.com/saadeghi/daisyui/blob/HEAD/CHANGELOG.md#365-2023-09-04) [Compare Source](https://togithub.com/saadeghi/daisyui/compare/v3.6.4...v3.6.5) ##### Bug Fixes - [#​2311](https://togithub.com/saadeghi/daisyui/issues/2311) `