From a08d6f21c3b47cf911c7a3562464a408bc5cb344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 9 Dec 2024 03:53:16 +0100 Subject: [PATCH] Fix typos (#3292) --- .github/CONTRIBUTING.md | 4 ++-- CHANGELOG.md | 4 ++-- src/docs/src/components/Footer.svelte | 2 +- src/docs/src/lib/data/roadmap.js | 4 ++-- src/docs/src/lib/data/store.js | 6 +++--- src/docs/src/lib/data/testimonials.js | 2 +- .../blog/(posts)/daisyui-vs-tailwindui/+page.md | 2 +- .../blog/(posts)/how-to-update-daisyui-4/+page.md | 2 +- .../src/routes/(docs)/components/footer/+page.svx | 4 ++-- .../src/routes/(docs)/components/menu/+page.svx | 8 ++++---- src/docs/src/routes/(docs)/store/+page.svelte | 14 +++++++------- src/lib/responsiveRegex.js | 4 ++-- src/tests/colors.test.js | 4 ++-- src/tests/data.js | 2 +- 14 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 9fe491af7a7..2e572f7e37e 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -6,7 +6,7 @@ daisyUI welcomes contributions from anyone willing to help 🤝 - Before opening a new issue, first [search for existing issues](https://github.com/saadeghi/daisyui/issues?q=) to avoid duplications. - Provide detailed reports to make things easier for maintainers. -- If there's a weird bug, please provide a reproduction repository on Github (or a [CodePen page](https://daisyui.com/codepen/) or [Tailwind Play](https://daisyui.com/tailwindplay/) page) +- If there's a weird bug, please provide a reproduction repository on GitHub (or a [CodePen page](https://daisyui.com/codepen/) or [Tailwind Play](https://daisyui.com/tailwindplay/) page) ## Fixing existing issues @@ -71,7 +71,7 @@ daisyUI welcomes contributions from anyone willing to help 🤝 ## Adding a new component -Before adding a new component, please make sure it's [start a discussion about it on Github](https://github.com/saadeghi/daisyui/discussions) so we can talk about how the structure and style should be. +Before adding a new component, please make sure it's [start a discussion about it on GitHub](https://github.com/saadeghi/daisyui/discussions) so we can talk about how the structure and style should be. There is a `List of components` at the end of [/README.md](https://github.com/saadeghi/daisyui/blob/master/README.md) that I think would be a good to complete. ### File structure diff --git a/CHANGELOG.md b/CHANGELOG.md index 727a3e8f7f4..0692db3bbdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -562,7 +562,7 @@ All notable changes to this project will be documented in this file. See [commit - 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 +- Add docs for utility classes - Update theme generator - Show browser support for components that are using new CSS rules @@ -595,7 +595,7 @@ All notable changes to this project will be documented in this file. See [commit ### Bug Fixes -- [#2116](https://github.com/saadeghi/daisyui/issues/2116) progess bar firefox bug ([#2376](https://github.com/saadeghi/daisyui/issues/2376)) ([53889de](https://github.com/saadeghi/daisyui/commit/53889de67cb61ff223acb037f4aa7736e4fbf430)) +- [#2116](https://github.com/saadeghi/daisyui/issues/2116) progress bar firefox bug ([#2376](https://github.com/saadeghi/daisyui/issues/2376)) ([53889de](https://github.com/saadeghi/daisyui/commit/53889de67cb61ff223acb037f4aa7736e4fbf430)) ## [3.8.1](https://github.com/saadeghi/daisyui/compare/v3.8.0...v3.8.1) (2023-09-27) diff --git a/src/docs/src/components/Footer.svelte b/src/docs/src/components/Footer.svelte index e47bef5d09d..20eeaac5ddd 100644 --- a/src/docs/src/components/Footer.svelte +++ b/src/docs/src/components/Footer.svelte @@ -82,7 +82,7 @@ const newtabicon = ` - Github + GitHub {@html newtabicon} diff --git a/src/docs/src/lib/data/roadmap.js b/src/docs/src/lib/data/roadmap.js index e83711fc1cc..209b7d7c499 100644 --- a/src/docs/src/lib/data/roadmap.js +++ b/src/docs/src/lib/data/roadmap.js @@ -131,7 +131,7 @@ export const roadmap = [ done: true, }, { - title: "table redesing", + title: "table redesign", done: true, }, { @@ -268,7 +268,7 @@ export const roadmap = [ done: true, }, { - title: "Document utiltiy classes", + title: "Document utility classes", done: true, }, { diff --git a/src/docs/src/lib/data/store.js b/src/docs/src/lib/data/store.js index d0bf34f87fd..7ccbe051a62 100644 --- a/src/docs/src/lib/data/store.js +++ b/src/docs/src/lib/data/store.js @@ -52,11 +52,11 @@ export const productCustomAttributes = [ ], ], }, - preveiw: { + preview: { button: "Preview", url: "https://www.figma.com/community/file/1417577350704829934", }, - preveiw_modal: { + preview_modal: { button: "All Features", img: "https://img.daisyui.com/images/store/official-daisyui-figma-library-price.webp", }, @@ -99,7 +99,7 @@ export const productCustomAttributes = [ }, screenshot: "https://img.daisyui.com/images/store/screenshots/nexus.webp", tech: ["html", "react", "nextjs"], - preveiw: { + preview: { button: "Live demo", url: "https://nexus.daisyui.com/", }, diff --git a/src/docs/src/lib/data/testimonials.js b/src/docs/src/lib/data/testimonials.js index 8cf2cbaaba4..50ac7d0512f 100644 --- a/src/docs/src/lib/data/testimonials.js +++ b/src/docs/src/lib/data/testimonials.js @@ -33,7 +33,7 @@ export const tweets = [ { id: "1556968894862180354", content: - "We use daisyUI + Tailwind with our projects. It has been extremly helpful building websites fast and give us a red design line through several different projects.", + "We use daisyUI + Tailwind with our projects. It has been extremely helpful building websites fast and give us a red design line through several different projects.", name: "TiiaAurora", username: "TiiaAurora", bio: "Tech journalist", diff --git a/src/docs/src/routes/(docs)/blog/(posts)/daisyui-vs-tailwindui/+page.md b/src/docs/src/routes/(docs)/blog/(posts)/daisyui-vs-tailwindui/+page.md index f4d85c1f6ce..0fd575c86d7 100644 --- a/src/docs/src/routes/(docs)/blog/(posts)/daisyui-vs-tailwindui/+page.md +++ b/src/docs/src/routes/(docs)/blog/(posts)/daisyui-vs-tailwindui/+page.md @@ -74,7 +74,7 @@ Both daisyUI and Tailwind UI use Tailwind CSS under the hood. Tailwind UI uses t Some components in Tailwind UI are interactive and they need JavaScript to work. -daisyUI however, is a dev-dependency. It doesn't need any JavaScript to work. It's a pure CSS component library and it works just well even if JavaScript is disabled on the borwser. daisyUI provides some interactive components which are possible with CSS only. +daisyUI however, is a dev-dependency. It doesn't need any JavaScript to work. It's a pure CSS component library and it works just well even if JavaScript is disabled on the browsers. daisyUI provides some interactive components which are possible with CSS only. daisyUI doesn't include interactive elements that need JS (for example a date picker). However, you can use any JS library with daisyUI. Headless libraries like [Headless UI](https://headlessui.com/) or [Radix primitives](https://www.radix-ui.com/primitives) are recommended. You can also use any other JS plug-in that you like and you can add daisyUI classes or color values to them so they would fit your website design. diff --git a/src/docs/src/routes/(docs)/blog/(posts)/how-to-update-daisyui-4/+page.md b/src/docs/src/routes/(docs)/blog/(posts)/how-to-update-daisyui-4/+page.md index 4ac63c777b2..574e46d6ef1 100644 --- a/src/docs/src/routes/(docs)/blog/(posts)/how-to-update-daisyui-4/+page.md +++ b/src/docs/src/routes/(docs)/blog/(posts)/how-to-update-daisyui-4/+page.md @@ -55,7 +55,7 @@ Here's the primary color of light theme in daisyUI 3 and 4: -So for using daisyUI color CSS variables directly inside your porject, change the color funtions from `hsl()` to `oklch()` like this: +So for using daisyUI color CSS variables directly inside your project, change the color functions from `hsl()` to `oklch()` like this:
Before
diff --git a/src/docs/src/routes/(docs)/components/footer/+page.svx b/src/docs/src/routes/(docs)/components/footer/+page.svx index 3ade45e9a62..3280177c745 100644 --- a/src/docs/src/routes/(docs)/components/footer/+page.svx +++ b/src/docs/src/routes/(docs)/components/footer/+page.svx @@ -518,7 +518,7 @@ data="{[ - +