shadcn-glass-ui 2.0.8 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +153 -109
- package/dist/cli/index.cjs +1 -1
- package/dist/components.cjs +4 -4
- package/dist/components.d.ts +63 -322
- package/dist/components.js +2 -2
- package/dist/hooks.cjs +2 -2
- package/dist/index.cjs +43 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/dist/r/alert-glass.json +2 -1
- package/dist/r/avatar-glass.json +2 -3
- package/dist/r/button-glass.json +1 -1
- package/dist/r/circular-progress-glass.json +1 -1
- package/dist/r/combobox-glass.json +1 -1
- package/dist/r/dropdown-glass.json +3 -5
- package/dist/r/dropdown-menu-glass.json +42 -0
- package/dist/r/language-bar-glass.json +2 -2
- package/dist/r/popover-glass.json +1 -1
- package/dist/r/profile-avatar-glass.json +5 -3
- package/dist/r/rainbow-progress-glass.json +1 -1
- package/dist/r/registry.json +10 -4
- package/dist/r/sort-dropdown-glass.json +3 -4
- package/dist/r/tooltip-glass.json +3 -5
- package/dist/r/trust-score-card-glass.json +1 -1
- package/dist/r/trust-score-display-glass.json +1 -1
- package/dist/shadcn-glass-ui.css +1 -1
- package/dist/{theme-context-CVW50BKW.cjs → theme-context-DNe_2vWJ.cjs} +2 -2
- package/dist/theme-context-DNe_2vWJ.cjs.map +1 -0
- package/dist/{theme-context-BZoCplcU.js → theme-context-_T5r1KG4.js} +1 -1
- package/dist/theme-context-_T5r1KG4.js.map +1 -0
- package/dist/themes.cjs +1 -1
- package/dist/themes.d.ts +89 -1
- package/dist/themes.js +1 -1
- package/dist/{trust-score-card-glass-BcZbul0P.js → trust-score-card-glass-A7kas5OS.js} +353 -279
- package/dist/trust-score-card-glass-A7kas5OS.js.map +1 -0
- package/dist/{trust-score-card-glass-r3qM09Jp.cjs → trust-score-card-glass-Dgu46oWI.cjs} +551 -313
- package/dist/trust-score-card-glass-Dgu46oWI.cjs.map +1 -0
- package/dist/{use-focus-ZE8ozmZE.cjs → use-focus-BRkQtQCj.cjs} +2 -2
- package/dist/{use-focus-ZE8ozmZE.cjs.map → use-focus-BRkQtQCj.cjs.map} +1 -1
- package/dist/{use-wallpaper-tint-BuS80tbN.cjs → use-wallpaper-tint-CfShPBo2.cjs} +2 -2
- package/dist/{use-wallpaper-tint-BuS80tbN.cjs.map → use-wallpaper-tint-CfShPBo2.cjs.map} +1 -1
- package/dist/{utils-DLXayspX.cjs → utils-BXN7AcRu.cjs} +2 -2
- package/dist/{utils-DLXayspX.cjs.map → utils-BXN7AcRu.cjs.map} +1 -1
- package/dist/utils.cjs +1 -1
- package/docs/AI_USAGE.md +1 -32
- package/docs/API_PATTERNS_COMPARISON.md +10 -9
- package/docs/COMPONENTS_CATALOG.md +140 -45
- package/docs/DROPDOWN_ARCHITECTURE.md +290 -0
- package/docs/GETTING_STARTED.md +6 -5
- package/docs/TOKEN_ARCHITECTURE.md +100 -0
- package/docs/api/README.md +3 -3
- package/docs/migration/compound-components-v2.md +384 -0
- package/docs/visual-testing-guide.md +50 -12
- package/package.json +2 -2
- package/dist/theme-context-BZoCplcU.js.map +0 -1
- package/dist/theme-context-CVW50BKW.cjs.map +0 -1
- package/dist/trust-score-card-glass-BcZbul0P.js.map +0 -1
- package/dist/trust-score-card-glass-r3qM09Jp.cjs.map +0 -1
- package/docs/ADVANCED_PATTERNS.md +0 -408
- package/docs/BREAKING_CHANGES.md +0 -213
- package/docs/announcements/v1.0.5-devto.md +0 -363
- package/docs/announcements/v1.0.5-reddit.md +0 -115
- package/docs/announcements/v1.0.5-twitter.md +0 -70
package/README.md
CHANGED
|
@@ -1,124 +1,120 @@
|
|
|
1
1
|
# shadcn-glass-ui
|
|
2
2
|
|
|
3
|
-
<div align="center">
|
|
4
|
-
|
|
5
|
-
**Glassmorphism UI components for React** — drop-in shadcn/ui compatible, AI-optimized
|
|
6
|
-
|
|
7
|
-
**[🎨 View Live Demo](https://yhooi2.github.io/shadcn-glass-ui-library/)** |
|
|
8
|
-
**[📚 Interactive Storybook](https://yhooi2.github.io/shadcn-glass-ui-library/)** |
|
|
9
|
-
**[📦 npm Package](https://www.npmjs.com/package/shadcn-glass-ui)**
|
|
10
|
-
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
3
|
[](https://www.npmjs.com/package/shadcn-glass-ui)
|
|
14
4
|
[](https://www.npmjs.com/package/shadcn-glass-ui)
|
|
15
5
|
[](https://www.typescriptlang.org/)
|
|
16
6
|
[](docs/AI_USAGE.md)
|
|
7
|
+
[](https://bundlephobia.com/package/shadcn-glass-ui)
|
|
17
8
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
## At a Glance
|
|
9
|
+
**Glassmorphism UI components for React** — beautiful frosted glass effects, 58 production-ready
|
|
10
|
+
components, 3 themes, drop-in compatible with shadcn/ui.
|
|
21
11
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
| **Themes** | Glass (dark), Light (clean), Aurora (gradient) |
|
|
26
|
-
| **Stack** | React 19, TypeScript 5.9, Tailwind 4.1, Vite 7 |
|
|
27
|
-
| **Testing** | 1,570+ tests (802 visual + 650 compliance + 125 unit) |
|
|
28
|
-
| **AI Support** | Optimized for Claude, Copilot, GPT — [AI Guide](docs/AI_USAGE.md) |
|
|
29
|
-
| **Accessibility** | WCAG 2.1 AA, 44px touch targets, keyboard navigation |
|
|
30
|
-
| **Bundle Size** | ~110KB gzipped |
|
|
12
|
+
**[Live Demo](https://yhooi2.github.io/shadcn-glass-ui-library/)** |
|
|
13
|
+
**[Interactive Storybook](https://yhooi2.github.io/shadcn-glass-ui-library/)** |
|
|
14
|
+
**[npm Package](https://www.npmjs.com/package/shadcn-glass-ui)**
|
|
31
15
|
|
|
32
16
|
---
|
|
33
17
|
|
|
34
|
-
##
|
|
35
|
-
|
|
36
|
-
### Option 1: shadcn CLI (Recommended)
|
|
37
|
-
|
|
38
|
-
**For existing shadcn/ui projects.** Listed on [registry.directory](https://registry.directory).
|
|
18
|
+
## Why shadcn-glass-ui?
|
|
39
19
|
|
|
40
|
-
|
|
20
|
+
| Feature | shadcn-glass-ui | Standard shadcn/ui |
|
|
21
|
+
| -------------------- | ------------------------------------ | ------------------- |
|
|
22
|
+
| **Themes** | 3 built-in (Glass/Light/Aurora) | 1 base theme |
|
|
23
|
+
| **Glass Effects** | Native blur, glow, transparency | Manual CSS required |
|
|
24
|
+
| **AI Documentation** | Optimized for Claude, Copilot, GPT | Basic docs |
|
|
25
|
+
| **Components** | 58 specialized glassmorphism | ~40 base components |
|
|
26
|
+
| **Token System** | 207 OKLCH primitives, zero hardcoded | CSS variables |
|
|
27
|
+
| **Accessibility** | WCAG 2.1 AA + 44px touch targets | Basic a11y |
|
|
41
28
|
|
|
42
|
-
|
|
43
|
-
{
|
|
44
|
-
"registries": {
|
|
45
|
-
"@shadcn-glass-ui": {
|
|
46
|
-
"url": "https://raw.githubusercontent.com/Yhooi2/shadcn-glass-ui-library/main/public/r"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
```
|
|
29
|
+
**Key advantages:**
|
|
51
30
|
|
|
52
|
-
|
|
31
|
+
- Works alongside existing shadcn/ui components — same patterns, same CLI
|
|
32
|
+
- AI-first documentation with decision trees and Context7 integration
|
|
33
|
+
- 1,570+ tests (visual regression, compliance, unit)
|
|
34
|
+
- Create custom themes in 15 minutes with 3-layer token system
|
|
53
35
|
|
|
54
|
-
|
|
55
|
-
npx shadcn@latest add @shadcn-glass-ui/button-glass @shadcn-glass-ui/input-glass
|
|
56
|
-
```
|
|
36
|
+
---
|
|
57
37
|
|
|
58
|
-
|
|
38
|
+
## Quick Start
|
|
59
39
|
|
|
60
|
-
|
|
40
|
+
**Requirements:** React 18+, Tailwind CSS 4.1+
|
|
61
41
|
|
|
62
|
-
|
|
42
|
+
### Install
|
|
63
43
|
|
|
64
44
|
```bash
|
|
65
45
|
npm install shadcn-glass-ui
|
|
66
46
|
```
|
|
67
47
|
|
|
48
|
+
### Use
|
|
49
|
+
|
|
68
50
|
```tsx
|
|
69
|
-
import { ButtonGlass, ThemeProvider } from 'shadcn-glass-ui';
|
|
51
|
+
import { ButtonGlass, InputGlass, ThemeProvider } from 'shadcn-glass-ui';
|
|
70
52
|
import 'shadcn-glass-ui/dist/styles.css';
|
|
71
53
|
|
|
72
54
|
function App() {
|
|
73
55
|
return (
|
|
74
56
|
<ThemeProvider defaultTheme="glass">
|
|
75
|
-
<
|
|
57
|
+
<div className="p-8 space-y-4">
|
|
58
|
+
<ButtonGlass variant="primary" size="lg">
|
|
59
|
+
Click me
|
|
60
|
+
</ButtonGlass>
|
|
61
|
+
<InputGlass placeholder="Enter text..." />
|
|
62
|
+
</div>
|
|
76
63
|
</ThemeProvider>
|
|
77
64
|
);
|
|
78
65
|
}
|
|
79
66
|
```
|
|
80
67
|
|
|
81
|
-
[Getting Started Guide](docs/GETTING_STARTED.md)
|
|
68
|
+
**[Full Getting Started Guide →](docs/GETTING_STARTED.md)**
|
|
82
69
|
|
|
83
70
|
---
|
|
84
71
|
|
|
85
|
-
##
|
|
72
|
+
## Installation Methods
|
|
86
73
|
|
|
87
|
-
###
|
|
74
|
+
### Option 1: shadcn CLI (Recommended)
|
|
88
75
|
|
|
89
|
-
|
|
90
|
-
SliderGlass, DropdownGlass, TooltipGlass, AlertGlass, NotificationGlass, BadgeGlass, AvatarGlass,
|
|
91
|
-
GlassCard, ProgressGlass, CircularProgressGlass, SkeletonGlass, ComboBoxGlass
|
|
76
|
+
Listed on [registry.directory](https://registry.directory)!
|
|
92
77
|
|
|
93
|
-
|
|
94
|
-
TrustScoreDisplayGlass, CircularMetricGlass, UserStatsLineGlass, UserInfoGlass,
|
|
95
|
-
CareerStatsHeaderGlass, ContributionMetricsGlass, MetricsGridGlass, RepositoryHeaderGlass,
|
|
96
|
-
RepositoryMetadataGlass
|
|
78
|
+
Add to `components.json`:
|
|
97
79
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
80
|
+
```json
|
|
81
|
+
{
|
|
82
|
+
"registries": {
|
|
83
|
+
"@shadcn-glass-ui": {
|
|
84
|
+
"url": "https://raw.githubusercontent.com/Yhooi2/shadcn-glass-ui-library/main/public/r"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
```
|
|
101
89
|
|
|
102
|
-
|
|
103
|
-
**[Try in Interactive Storybook →](https://yhooi2.github.io/shadcn-glass-ui-library/)**
|
|
90
|
+
Install components:
|
|
104
91
|
|
|
105
|
-
|
|
92
|
+
```bash
|
|
93
|
+
npx shadcn@latest add @shadcn-glass-ui/button-glass @shadcn-glass-ui/input-glass
|
|
94
|
+
```
|
|
106
95
|
|
|
107
|
-
|
|
96
|
+
**[Registry Documentation →](docs/REGISTRY_USAGE.md)**
|
|
108
97
|
|
|
109
|
-
|
|
110
|
-
| ------------------ | ------------------------------------------------ |
|
|
111
|
-
| Flat design | Glassmorphism effects (blur, glow, transparency) |
|
|
112
|
-
| Manual theming | 3 built-in themes with token system |
|
|
113
|
-
| Basic components | 58 components including analytics widgets |
|
|
114
|
-
| DIY accessibility | WCAG 2.1 AA + touch targets out of the box |
|
|
115
|
-
| Generic docs | AI-optimized documentation |
|
|
98
|
+
### Option 2: npm Package
|
|
116
99
|
|
|
117
|
-
|
|
100
|
+
```bash
|
|
101
|
+
npm install shadcn-glass-ui
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
**[npm Installation Guide →](docs/GETTING_STARTED.md)**
|
|
118
105
|
|
|
119
106
|
---
|
|
120
107
|
|
|
121
|
-
##
|
|
108
|
+
## Components
|
|
109
|
+
|
|
110
|
+
| Category | Count | Examples |
|
|
111
|
+
| --------------- | ----- | ------------------------------------------------------------- |
|
|
112
|
+
| **Core UI** | 18 | ButtonGlass, InputGlass, ModalGlass, TabsGlass, CheckboxGlass |
|
|
113
|
+
| **Atomic** | 7 | SearchBoxGlass, ThemeToggleGlass, IconButtonGlass |
|
|
114
|
+
| **Composite** | 13 | MetricCardGlass, AICardGlass, YearCardGlass |
|
|
115
|
+
| **Sections** | 7 | HeaderNavGlass, ProfileHeaderGlass, CareerStatsGlass |
|
|
116
|
+
| **Specialized** | 10 | SparklineGlass, StepperGlass, RainbowProgressGlass |
|
|
117
|
+
| **Primitives** | 3 | TouchTarget, FormFieldWrapper, InteractiveCard |
|
|
122
118
|
|
|
123
119
|
<details>
|
|
124
120
|
<summary><strong>Core UI (18)</strong> — Essential building blocks</summary>
|
|
@@ -147,7 +143,7 @@ ContributionMetricsGlass, MetricsGridGlass, RepositoryHeaderGlass, RepositoryMet
|
|
|
147
143
|
</details>
|
|
148
144
|
|
|
149
145
|
<details>
|
|
150
|
-
<summary><strong>
|
|
146
|
+
<summary><strong>Sections (7)</strong> — Full page sections</summary>
|
|
151
147
|
|
|
152
148
|
HeaderNavGlass, ProfileHeaderGlass, CareerStatsGlass, FlagsSectionGlass, TrustScoreCardGlass,
|
|
153
149
|
ProjectsListGlass, HeaderBrandingGlass
|
|
@@ -163,7 +159,8 @@ with 3 variants)
|
|
|
163
159
|
|
|
164
160
|
</details>
|
|
165
161
|
|
|
166
|
-
[Full Component Catalog](docs/COMPONENTS_CATALOG.md)
|
|
162
|
+
**[Full Component Catalog →](docs/COMPONENTS_CATALOG.md)** |
|
|
163
|
+
**[Try in Storybook →](https://yhooi2.github.io/shadcn-glass-ui-library/)**
|
|
167
164
|
|
|
168
165
|
---
|
|
169
166
|
|
|
@@ -171,21 +168,44 @@ with 3 variants)
|
|
|
171
168
|
|
|
172
169
|
Three built-in themes with seamless switching:
|
|
173
170
|
|
|
174
|
-
- **Glass (Dark)** — Frosted glass effects with purple accents, blur + glow
|
|
175
|
-
- **Light** — Clean minimal design with subtle glass effects
|
|
176
|
-
- **Aurora** — Gradient glow with aurora borealis-inspired colors
|
|
171
|
+
- **Glass (Dark)** — Frosted glass effects with purple accents, blur + glow
|
|
172
|
+
- **Light** — Clean minimal design with subtle glass effects
|
|
173
|
+
- **Aurora** — Gradient glow with aurora borealis-inspired colors
|
|
177
174
|
|
|
178
175
|
```tsx
|
|
179
176
|
import { ThemeProvider, useTheme } from 'shadcn-glass-ui';
|
|
180
177
|
|
|
181
178
|
function ThemeSwitcher() {
|
|
182
|
-
const { theme, cycleTheme
|
|
183
|
-
return <button onClick={cycleTheme}>
|
|
179
|
+
const { theme, cycleTheme } = useTheme();
|
|
180
|
+
return <button onClick={cycleTheme}>Theme: {theme}</button>;
|
|
184
181
|
}
|
|
185
182
|
```
|
|
186
183
|
|
|
187
184
|
**[Theme Creation Guide →](docs/THEME_CREATION_GUIDE.md)** — Create custom themes in 15 minutes
|
|
188
|
-
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## AI Support
|
|
189
|
+
|
|
190
|
+
This library is optimized for AI coding assistants:
|
|
191
|
+
|
|
192
|
+
- **Claude Code** — Project-specific instructions in [CLAUDE.md](CLAUDE.md)
|
|
193
|
+
- **Context7** — [Indexed](https://context7.com/yhooi2/shadcn-glass-ui-library) with 59 AI-specific
|
|
194
|
+
rules
|
|
195
|
+
- **GitHub Copilot** — TypeScript strict mode + comprehensive JSDoc
|
|
196
|
+
- **ChatGPT/GPT-4** — Machine-readable [EXPORTS_MAP.json](docs/EXPORTS_MAP.json)
|
|
197
|
+
|
|
198
|
+
**[AI Usage Guide →](docs/AI_USAGE.md)**
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## CLI
|
|
203
|
+
|
|
204
|
+
```bash
|
|
205
|
+
npx shadcn-glass-ui info button # Component info (fuzzy search)
|
|
206
|
+
npx shadcn-glass-ui list # List all components
|
|
207
|
+
npx shadcn-glass-ui list --category=core # Filter by category
|
|
208
|
+
```
|
|
189
209
|
|
|
190
210
|
---
|
|
191
211
|
|
|
@@ -194,7 +214,7 @@ function ThemeSwitcher() {
|
|
|
194
214
|
<details>
|
|
195
215
|
<summary><strong>How do I migrate from v1.x to v2.0?</strong></summary>
|
|
196
216
|
|
|
197
|
-
v2.0 renames CSS variables to semantic names. Run
|
|
217
|
+
v2.0 renames CSS variables to semantic names. Run automated migration:
|
|
198
218
|
|
|
199
219
|
```bash
|
|
200
220
|
find src/ -type f \( -name "*.tsx" -o -name "*.css" \) -exec sed -i '' \
|
|
@@ -204,14 +224,15 @@ find src/ -type f \( -name "*.tsx" -o -name "*.css" \) -exec sed -i '' \
|
|
|
204
224
|
-e 's/--metric-red-/--metric-destructive-/g' {} +
|
|
205
225
|
```
|
|
206
226
|
|
|
207
|
-
[Full Migration Guide](docs/BREAKING_CHANGES.md)
|
|
227
|
+
**[Full Migration Guide →](docs/BREAKING_CHANGES.md)**
|
|
208
228
|
|
|
209
229
|
</details>
|
|
210
230
|
|
|
211
231
|
<details>
|
|
212
232
|
<summary><strong>Does it work with existing shadcn/ui components?</strong></summary>
|
|
213
233
|
|
|
214
|
-
Yes! Glass components use the same patterns and can coexist with standard shadcn/ui components.
|
|
234
|
+
Yes! Glass components use the same patterns and can coexist with standard shadcn/ui components. Same
|
|
235
|
+
CLI, same structure.
|
|
215
236
|
|
|
216
237
|
</details>
|
|
217
238
|
|
|
@@ -219,50 +240,73 @@ Yes! Glass components use the same patterns and can coexist with standard shadcn
|
|
|
219
240
|
<summary><strong>What are the requirements?</strong></summary>
|
|
220
241
|
|
|
221
242
|
- React 18.0+ or 19.0+
|
|
222
|
-
-
|
|
243
|
+
- React-DOM 18.0+ or 19.0+
|
|
244
|
+
- Tailwind CSS 4.1+
|
|
223
245
|
- Node.js 20.16+
|
|
224
246
|
|
|
225
247
|
</details>
|
|
226
248
|
|
|
227
249
|
<details>
|
|
228
|
-
<summary><strong>
|
|
250
|
+
<summary><strong>Where are breaking changes documented?</strong></summary>
|
|
229
251
|
|
|
230
|
-
|
|
231
|
-
|
|
252
|
+
- **[BREAKING_CHANGES.md](docs/BREAKING_CHANGES.md)** — v1.0 and v2.0 changes
|
|
253
|
+
- **[CHANGELOG.md](CHANGELOG.md)** — Complete version history
|
|
254
|
+
- **[Migration Guides](docs/migration/)** — Step-by-step migration
|
|
232
255
|
|
|
233
256
|
</details>
|
|
234
257
|
|
|
235
258
|
<details>
|
|
236
|
-
<summary><strong>
|
|
259
|
+
<summary><strong>How do I create a custom theme?</strong></summary>
|
|
237
260
|
|
|
238
|
-
-
|
|
239
|
-
|
|
240
|
-
|
|
261
|
+
Use the 3-layer token system. Define ~15 semantic tokens and component tokens are inherited
|
|
262
|
+
automatically.
|
|
263
|
+
|
|
264
|
+
```css
|
|
265
|
+
[data-theme='custom'] {
|
|
266
|
+
--semantic-primary: var(--oklch-cyan-400);
|
|
267
|
+
--semantic-surface: var(--oklch-slate-900);
|
|
268
|
+
/* ... */
|
|
269
|
+
}
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
**[Theme Creation Guide →](docs/THEME_CREATION_GUIDE.md)**
|
|
241
273
|
|
|
242
274
|
</details>
|
|
243
275
|
|
|
244
|
-
|
|
276
|
+
<details>
|
|
277
|
+
<summary><strong>How do I use Compound Components (Modal, Tabs, Stepper)?</strong></summary>
|
|
245
278
|
|
|
246
|
-
|
|
279
|
+
```tsx
|
|
280
|
+
<ModalGlass.Root open={open} onOpenChange={setOpen}>
|
|
281
|
+
<ModalGlass.Overlay />
|
|
282
|
+
<ModalGlass.Content>
|
|
283
|
+
<ModalGlass.Header>
|
|
284
|
+
<ModalGlass.Title>Title</ModalGlass.Title>
|
|
285
|
+
<ModalGlass.Close />
|
|
286
|
+
</ModalGlass.Header>
|
|
287
|
+
<ModalGlass.Body>Content</ModalGlass.Body>
|
|
288
|
+
</ModalGlass.Content>
|
|
289
|
+
</ModalGlass.Root>
|
|
290
|
+
```
|
|
247
291
|
|
|
248
|
-
|
|
249
|
-
| -------------------------------------------------------------- | --------------------------- |
|
|
250
|
-
| [Storybook](https://yhooi2.github.io/shadcn-glass-ui-library/) | Interactive component demos |
|
|
251
|
-
| [Getting Started](docs/GETTING_STARTED.md) | Setup tutorial |
|
|
252
|
-
| [Component Catalog](docs/COMPONENTS_CATALOG.md) | All 58 components |
|
|
253
|
-
| [AI Usage Guide](docs/AI_USAGE.md) | For Claude, Copilot, GPT |
|
|
254
|
-
| [Theme Guide](docs/THEME_CREATION_GUIDE.md) | Create custom themes |
|
|
255
|
-
| [Token Architecture](docs/TOKEN_ARCHITECTURE.md) | 3-layer CSS token system |
|
|
256
|
-
| [Advanced Patterns](docs/ADVANCED_PATTERNS.md) | asChild, Compound APIs |
|
|
257
|
-
| [Breaking Changes](docs/BREAKING_CHANGES.md) | Migration guides |
|
|
292
|
+
**[Advanced Patterns →](docs/ADVANCED_PATTERNS.md)**
|
|
258
293
|
|
|
259
|
-
|
|
294
|
+
</details>
|
|
260
295
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## Documentation
|
|
299
|
+
|
|
300
|
+
| Resource | Description |
|
|
301
|
+
| ------------------------------------------------------------------ | --------------------------- |
|
|
302
|
+
| **[Storybook](https://yhooi2.github.io/shadcn-glass-ui-library/)** | Interactive component demos |
|
|
303
|
+
| **[Getting Started](docs/GETTING_STARTED.md)** | Setup tutorial |
|
|
304
|
+
| **[Component Catalog](docs/COMPONENTS_CATALOG.md)** | All 58 components |
|
|
305
|
+
| **[AI Usage Guide](docs/AI_USAGE.md)** | For Claude, Copilot, GPT |
|
|
306
|
+
| **[Theme Guide](docs/THEME_CREATION_GUIDE.md)** | Create custom themes |
|
|
307
|
+
| **[Token Architecture](docs/TOKEN_ARCHITECTURE.md)** | 3-layer CSS token system |
|
|
308
|
+
| **[Advanced Patterns](docs/ADVANCED_PATTERNS.md)** | asChild, Compound APIs |
|
|
309
|
+
| **[Breaking Changes](docs/BREAKING_CHANGES.md)** | Migration guides |
|
|
266
310
|
|
|
267
311
|
---
|
|
268
312
|
|
package/dist/cli/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const require_trust_score_card_glass = require("../trust-score-card-glass-
|
|
2
|
+
const require_trust_score_card_glass = require("../trust-score-card-glass-Dgu46oWI.cjs");
|
|
3
3
|
let node_util = require("node:util");
|
|
4
4
|
let node_fs = require("node:fs");
|
|
5
5
|
let node_path = require("node:path");
|
package/dist/components.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_trust_score_card_glass = require("./trust-score-card-glass-
|
|
2
|
-
require("./utils-
|
|
3
|
-
require("./use-focus-
|
|
4
|
-
require("./theme-context-
|
|
1
|
+
const require_trust_score_card_glass = require("./trust-score-card-glass-Dgu46oWI.cjs");
|
|
2
|
+
require("./utils-BXN7AcRu.cjs");
|
|
3
|
+
require("./use-focus-BRkQtQCj.cjs");
|
|
4
|
+
require("./theme-context-DNe_2vWJ.cjs");
|
|
5
5
|
exports.AICardGlass = require_trust_score_card_glass.AICardGlass;
|
|
6
6
|
exports.AlertGlass = require_trust_score_card_glass.AlertGlass;
|
|
7
7
|
exports.AvatarGlass = require_trust_score_card_glass.AvatarGlass;
|