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
Ariel
f170784f78
bug fix: type error in chart.tsx ( #4230 )
...
# Current Issue
when running `next lint`, the typescript compiler fails on the chart component (closes #4229 )
`Type error: Type 'string[]' is not assignable to type 'string | TrustedHTML'.`
# Resolution
We can coerce the `string[]` into a valid type by `join`ing.
2024-07-11 13:14:44 +00:00
Mariano Álvarez
03b1d783c4
feat: add chart colors to theme customizer ( #4237 )
...
# Description
This PR adds support for customizing graphics themes in the `ThemeCustomizer` component. Users can now select and copy chart colors (`chart-1`, `chart-2`, `chart-3`, `chart-4`, `chart-5`) along with other themes.
## Changes Implemented
1. **Themes Update**: Added chart themes (`chart-1`, `chart-2`, `chart-3`, `chart-4`, `chart-5`) to the chart file. themes configuration (`themes.ts`).
2. **Modification of the `ThemeCustomizer` Component**: The new graphics themes were integrated into the component so that they can be selected and copied.
3. **CSS Tweak**: Updated the functions that generate CSS code to include the new graphics themes.
## How to Test
1. Run the project locally.
2. Navigate to the `ThemeCustomizer` component.
3. Verify that the new graphics themes are available for selection.
4. Test the functionality of copying the CSS code and making sure it includes the graphics colors.
## References
- Added support for graphics themes based on defaults provided by Shadcn.
2024-07-10 12:56:38 +00:00
rds_agi
36a9c1bb71
Fixed all issues related Command component ( #4154 )
...
# Fix Command Component issues and update documentation
## Changes
- Resolve Command Component issues by wrapping `<CommandGroup />` inside `<CommandList>`
- Update deprecated docs in `combobox.mdx` to reflect latest `<Command />` component usage
### Code Changes
From:
```tsx
<Command>
...
<CommandGroup>
...
</CommandGroup>
</Command>
```
To:
```tsx
<Command>
...
<CommandList>
<CommandGroup>
...
</CommandGroup>
</CommandList>
</Command>
```
## Visual Comparison
Before & After comparison:
https://github.com/shadcn-ui/ui/assets/77154365/156b7180-54e6-45aa-8934-b4fb99e6160e
## Summary
By wrapping `<CommandGroup />` inside `<CommandList>{children}</CommandList>`, all issues related to the Command Component have been resolved.
2024-07-10 12:40:55 +00:00
liruifengv
949e6f65ef
fix type import in toggle-group.tsx ( #4234 )
...
## description
fix type import in toggle-group.tsx
2024-07-10 12:40:38 +00:00
Howard Chiam
dbbb2a427e
docs: minor typo in the first page's FAQ ( #4174 )
...
Co-authored-by: shadcn <m@shadcn.com >
2024-07-10 16:37:11 +04:00
Christian F
1369d3ca96
Update data-table.mdx ( #4153 )
...
Docs link was broken ...
2024-07-10 12:24:25 +00:00
shadcn
984c4d8912
feat: add colors page ( #4238 )
2024-07-10 16:11:38 +04:00
Batuhan Tomo
248347a389
fix: Update ChartTooltipContent to handle "0" item value ( #4215 )
...
Fix #4214 : Update ChartTooltipContent to handle "0" item value
2024-07-10 12:08:25 +00:00
OGPowell
f6ad10abd5
docs(www): fix typo ( #4232 )
2024-07-09 21:08:37 +04:00
shadcn
f0093d6a41
feat: add chart colors to base colors ( #4228 )
...
* feat: add chart colors to base colors
* fix: format
2024-07-09 15:29:20 +04:00
shadcn
c1b955444d
fix: deps
2024-07-06 02:13:35 +04:00
shadcn
4ac9db98fe
Charts ( #4181 )
2024-07-06 02:06:40 +04:00
shadcn
06cc0cdf3d
fix(www): combobox
2024-06-03 21:22:36 +04:00
kevinmitch14
4aa8b02980
feat: bump cmdk + use data attributes for styling ( #2626 )
...
* feat: bump `cmdk` + use data attributes for styling
* refactor: bump again
* Merge remote-tracking branch 'upstream/main' into cmdk-bump-and-styles
* Revert "Merge remote-tracking branch 'upstream/main' into cmdk-bump-and-styles"
This reverts commit d74be6bb60 .
* chore: sync `pnpm-lock`
2024-06-03 12:12:37 +04:00
Ricardo Raposo
13d9693808
fix: quick fix to data attribute at CommandPrimitive.Item that was applying a disabled state style all the time ( #3680 )
...
Data attributes at <CommandPrimite.List /> component should be written as data-[disabled=true] in order to avoid styles being applied to element, even when it's not disabled.
2024-05-13 05:01:29 +00:00
shadcn
816b654f07
fix(www): update heading font size
2024-04-22 00:19:11 +04:00