shadcn
8fc80836ff
docs
2024-10-16 12:54:21 +04:00
shadcn
d0a308cc64
fix: edit in v0
2024-10-16 11:12:58 +04:00
shadcn
e461c02389
feat: update open in v0
2024-10-15 21:28:38 +04:00
shadcn
50c2f6045a
chore: fix lint
2024-10-15 12:52:40 +04:00
shadcn
14aca65eee
docs: add sidebar docs
2024-10-15 12:49:22 +04:00
shadcn
14c952b594
chore: update registry
2024-10-15 12:41:20 +04:00
shadcn
1e9434e6f9
chore: build registry
2024-10-15 12:38:45 +04:00
shadcn
f3d14c48cb
feat(www): update button and tooltip
2024-10-15 12:38:32 +04:00
shadcn
c668c35bb9
feat(www): add sidebar components
2024-10-15 12:37:47 +04:00
shadcn
1297abc882
fix: v0
2024-10-07 21:13:33 +04:00
shadcn
36ebbf26dc
docs(www): update figma
2024-09-29 14:52:52 +04:00
Artem Zakharchenko
7dfdb029e7
use "?url" suffix in "tailwind.css" import (Remix) ( #4945 )
...
Importing `tailwind.css` is incorrect as it will treat that file as a CSS Module, throwing that it has no `default` export.
Instead, the tutorial relies on the import returning a _URL_ to the stylesheet. Adding `?url` to the import specifier is the way to go.
2024-09-26 12:42:49 +00:00
Hichem Fantar
52d223393a
(fix Input) choose file text color in dark mode ( #4843 )
...
This pull request fixes the issue with the choose file text color in dark mode. The changes ensure that the text color is correctly displayed in dark mode.
the reason this bug doesn't happen in the shadcn website is because it sets `color-scheme:dark` on the document;
this fix makes sure this always works even if color scheme isn't set.
Closes #4842


2024-09-15 09:20:19 +00:00
Devansh Mahant
a9ab7afebf
Fix Incorrect Hook Import Path in Toast Component Example in ShadCN Docs ( #4811 )
...
#### Summary:
This pull request addresses a documentation error found in the ShadCN website's Toast component example. Specifically, the import route for the hook is incorrect in the example. and fixes [#4816 ](https://github.com/shadcn-ui/ui/issues/4816 )
#### Issue:
Upon reviewing the [ShadCN Toast documentation](https://ui.shadcn.com/docs/components/toast ), I found that the import path for the Toast component hook was wrongly mentioned as being located in the `components` folder. According to the `component.json` file, the correct location of the hook is within the `hooks` folder inside the main directory.
#### Fix:
- Corrected the import path in the Toast component example from `components` to `hooks`, as per the `component.json` file structure.
#### Example of Fix:
**Before:**
```js
import { useToast } from "@/components/use-toast";
```
**After:**
```js
import { useToast } from "@/hooks/use-toast";
```
#### Testing:
- Verified that the corrected path resolves correctly.
- Ensured the example works as expected after the change.
#### Impact:
This fix prevents confusion for users following the example and ensures that the import path accurately reflects the project structure, improving the overall developer experience.
2024-09-15 08:45:29 +00:00
Quinn Blenkinsop
b6221ea524
fix(www): update broken link to headless ui ( #3542 )
...
The link appears to have broken at some point, I've updated it
Co-authored-by: shadcn <m@shadcn.com >
2024-09-15 12:31:28 +04:00
shadcn
64b2f1a5ad
feat(shadcn): add experimental docs ( #4820 )
...
* feat(shadcn): add cli docs
* chore: add changeset
* fix: tests
2024-09-12 17:51:59 +04:00
shadcn
078dfe6607
docs(www): Open in v0 docs ( #4734 )
...
* feat(www): open in v0
* feat: update copy
* fix: sidebar link
* fix(tests): snapshots
2024-09-04 00:37:57 +04:00
xuxucode
77fc5ec8db
Fix use-toast module path ( #4728 )
2024-09-03 18:37:11 +00:00
adrianhelvikspond
4e4118f3cf
Fix init command for default style - fixes #4722 ( #4724 )
...
* Fix init command for default style
The empty dependency string was tripping up package managers.
* fix(www): registry dependencies for default
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-09-03 22:21:51 +04:00
shadcn
f5931f8d09
docs(www): update installation docs ( #4725 )
2024-09-03 16:41:48 +04:00
shadcn
0b74059d38
docs(www): update laravel docs
2024-09-03 16:35:36 +04:00
shadcn
0f7591f67c
docs(www): updates docs for Astro ( #4723 )
2024-09-03 15:35:24 +04:00
shadcn
81c7e44863
fix(www): url
2024-08-31 03:15:10 +04:00
shadcn
2fac3e40c2
fix(www): hide sidebar-01 for now
2024-08-31 03:10:14 +04:00
shadcn
5ad11ff851
docs(www): update callout
2024-08-31 03:01:42 +04:00
shadcn
84540f551d
fix: blocks
2024-08-31 02:57:37 +04:00
shadcn
a62a155aac
(1/N) cli: framework support ( #4569 )
2024-08-31 01:54:48 +04:00
shadcn
dc8853c8df
chore: rebuild registry
2024-08-30 23:50:06 +04:00
shadcn
259a9ff56a
Open in v0 ( #4613 )
...
* feat: edit in v0
* feat: update edit sources
* fix: edit button
* feat: rename to open in v0
2024-08-21 23:42:03 +04:00
Sangram Bahadur
9f156a1b89
fix: Playground example model selector working ( #4507 )
...
Issue:
The ModelItem component's onPeek handler was sometimes logging incorrect data, causing the model selector to appear inconsistent.
Changes Made:
Verified that the aria-selected attribute is true before calling onPeek(model), ensuring the function is only called when the element is actually selected.
Fixed Model Selector Inconsistency in Playground Example
fixes #4506
2024-08-07 07:44:30 +00:00
Azhar Zaman
f2e33415c6
fix(www): combobox examples error ( #4503 )
...
* bug-fix: added command-list component to eliminate error
Wrap CommandEmpty and CommandGroup inside CommandList
Eliminated Error: TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
* fix(www): command examples
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-08-06 01:42:26 +04:00
Justin Nguyen
59a931055f
fix(command): disabled items and cmdk 1.0.0 ( #2945 )
...
* fix: fix breaking changes for Command component that comes with cmdk 1.0.0
* chore: build registry
* chore: moving paths for some examples
* chore: moving paths for some examples
* chore: use data instead of aria
* fix: update command and pin cmdk
* fix: model selector
* fix: command for new york
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-08-05 15:28:14 +04:00
Erdiansyah
59f2d558b6
docs: Fix docs dark-mode astro.mdx ( #4491 )
...
remove redundant script closing tag
2024-08-03 20:54:17 +00:00
Liron Abutbul
4a77cdc41c
fix(www): remove unused import ( #4324 )
2024-08-04 00:35:04 +04:00
Jai Prakash Kaushik
e42f55f8e3
fix(www): min width for mail example ( #4437 )
...
Co-authored-by: Jai Prakash Kaushik <jaiprakash02082001@gmail.com >
Co-authored-by: shadcn <m@shadcn.com >
2024-08-04 00:17:49 +04:00
Jaeung Jang
6cc38903b8
fix: missing close tag for command ( #4330 )
...
* fix: missing close tag for command
* docs(www): fix formatting
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-08-04 00:06:52 +04:00
shadcn
32e4b78da8
fix(www): mail
2024-07-24 13:02:42 +04:00
shadcn
2cef110f45
Merge branch 'main' of github.com:shadcn/ui
2024-07-24 12:44:26 +04:00
shadcn
79254d6b80
fix(www): mail example
2024-07-24 12:44:19 +04:00
shadcn
6e2d83bf42
fix: pin react-day-picker ( #4387 )
2024-07-23 11:14:14 +04:00
Diogo Martino
cc70f6ef43
docs: add missing command ( #4301 )
2024-07-18 11:45:39 +04:00
shadcn
12539b3664
feat(www): tooltip examples ( #4309 )
...
* feat(www): more chart examples
* feat(www): add tooltip examples
* feat: add themes support on blocks page
* chore: build registry
* fix: colors on charts
* fix: styles
* fix: downgrade rehype-pretty-code
* chore: fix
* fix: frame
* fix: code
* feat: update charts nav
* fix: use client
* feat: update all charts
2024-07-17 19:22:38 +04:00
shadcn
210010f5ed
more chart examples ( #4304 )
...
* feat(www): more chart examples
* feat: add themes support on blocks page
* chore: build registry
* fix: colors on charts
* fix: styles
* fix: downgrade rehype-pretty-code
* chore: fix
* fix: frame
* fix: code
2024-07-17 18:58:40 +04:00
Rubin Bajracharya
cc5e07b60b
fix: typo in theme template causing blank color values. ( #4315 )
...
Typo fix to get proper value when pressing copy code in theme customizer section.
Link for Issue: https://github.com/shadcn-ui/ui/issues/4314
2024-07-17 08:47:50 +00:00
Andy Hsu
29150e576a
fix(docs): incorrect link on charts page ( #4305 )
2024-07-16 20:24:05 +04:00
xSenny
5b856127ee
fix(www): update height of chart in preview ( #4244 )
...
Co-authored-by: shadcn <m@shadcn.com >
2024-07-16 14:53:32 +04:00
Leo Lin
58637a34d1
chore(www): update indentation in build script ( #4293 )
...
Co-authored-by: shadcn <m@shadcn.com >
2024-07-15 12:34:07 +04:00
Ethan Brown
dd9900ba0e
docs(www): update Vite instructions ( #4260 )
2024-07-15 12:33:40 +04:00
shadcn
650b3b9bda
chore(www): switch to contentlayer2 ( #4292 )
...
* chore(www): switch to contentlayer2
* chore: rebuild registry
* fix: build
2024-07-15 12:18:58 +04:00
Sushant Mishra
238e492181
fix(docs): resolve imports for IDE ( #4275 )
...
IDE uses the config mentioned in the `tsconfig.app.json` file whereas shadcn uses the config mentioned in the `tsconfig.json` file for path resolution
Before adding the path to `tsconfig.app.json`

After adding the path to `tsconfig.app.json`

This commit mentions the same in the installation with `vite` docs
2024-07-15 06:57:48 +00:00