shadcn-glass-ui 2.0.6 → 2.0.9
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 +159 -105
- 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,116 +1,120 @@
|
|
|
1
1
|
# shadcn-glass-ui
|
|
2
2
|
|
|
3
|
-
<div align="center">
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-
|
|
7
|
-
**Glassmorphism UI components for React** — drop-in shadcn/ui compatible, AI-optimized
|
|
8
|
-
|
|
9
|
-
[Live Demo](https://yhooi2.github.io/shadcn-glass-ui-library/) |
|
|
10
|
-
[Storybook](https://yhooi2.github.io/shadcn-glass-ui-library/) |
|
|
11
|
-
[npm](https://www.npmjs.com/package/shadcn-glass-ui)
|
|
12
|
-
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
3
|
[](https://www.npmjs.com/package/shadcn-glass-ui)
|
|
16
4
|
[](https://www.npmjs.com/package/shadcn-glass-ui)
|
|
17
5
|
[](https://www.typescriptlang.org/)
|
|
18
6
|
[](docs/AI_USAGE.md)
|
|
7
|
+
[](https://bundlephobia.com/package/shadcn-glass-ui)
|
|
19
8
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## 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.
|
|
23
11
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
| **Themes** | Glass (dark), Light (clean), Aurora (gradient) |
|
|
28
|
-
| **Stack** | React 19, TypeScript 5.9, Tailwind 4.1, Vite 7 |
|
|
29
|
-
| **Testing** | 1,570+ tests (802 visual + 650 compliance + 125 unit) |
|
|
30
|
-
| **AI Support** | Optimized for Claude, Copilot, GPT — [AI Guide](docs/AI_USAGE.md) |
|
|
31
|
-
| **Accessibility** | WCAG 2.1 AA, 44px touch targets, keyboard navigation |
|
|
32
|
-
| **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)**
|
|
33
15
|
|
|
34
16
|
---
|
|
35
17
|
|
|
36
|
-
##
|
|
37
|
-
|
|
38
|
-
### Option 1: shadcn CLI (Recommended)
|
|
39
|
-
|
|
40
|
-
**For existing shadcn/ui projects.** Listed on [registry.directory](https://registry.directory).
|
|
18
|
+
## Why shadcn-glass-ui?
|
|
41
19
|
|
|
42
|
-
|
|
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 |
|
|
43
28
|
|
|
44
|
-
|
|
45
|
-
{
|
|
46
|
-
"registries": {
|
|
47
|
-
"@shadcn-glass-ui": {
|
|
48
|
-
"url": "https://raw.githubusercontent.com/Yhooi2/shadcn-glass-ui-library/main/public/r"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
```
|
|
29
|
+
**Key advantages:**
|
|
53
30
|
|
|
54
|
-
|
|
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
|
|
55
35
|
|
|
56
|
-
|
|
57
|
-
npx shadcn@latest add @shadcn-glass-ui/button-glass @shadcn-glass-ui/input-glass
|
|
58
|
-
```
|
|
36
|
+
---
|
|
59
37
|
|
|
60
|
-
|
|
38
|
+
## Quick Start
|
|
61
39
|
|
|
62
|
-
|
|
40
|
+
**Requirements:** React 18+, Tailwind CSS 4.1+
|
|
63
41
|
|
|
64
|
-
|
|
42
|
+
### Install
|
|
65
43
|
|
|
66
44
|
```bash
|
|
67
45
|
npm install shadcn-glass-ui
|
|
68
46
|
```
|
|
69
47
|
|
|
48
|
+
### Use
|
|
49
|
+
|
|
70
50
|
```tsx
|
|
71
|
-
import { ButtonGlass, ThemeProvider } from 'shadcn-glass-ui';
|
|
51
|
+
import { ButtonGlass, InputGlass, ThemeProvider } from 'shadcn-glass-ui';
|
|
72
52
|
import 'shadcn-glass-ui/dist/styles.css';
|
|
73
53
|
|
|
74
54
|
function App() {
|
|
75
55
|
return (
|
|
76
56
|
<ThemeProvider defaultTheme="glass">
|
|
77
|
-
<
|
|
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>
|
|
78
63
|
</ThemeProvider>
|
|
79
64
|
);
|
|
80
65
|
}
|
|
81
66
|
```
|
|
82
67
|
|
|
83
|
-
[Getting Started Guide](docs/GETTING_STARTED.md)
|
|
68
|
+
**[Full Getting Started Guide →](docs/GETTING_STARTED.md)**
|
|
84
69
|
|
|
85
70
|
---
|
|
86
71
|
|
|
87
|
-
##
|
|
72
|
+
## Installation Methods
|
|
88
73
|
|
|
89
|
-
|
|
90
|
-
| ------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
|
|
91
|
-
|  |  |  |
|
|
92
|
-
| ButtonGlass, InputGlass, ModalGlass, TabsGlass... | MetricCardGlass, AICardGlass, YearCardGlass... | SparklineGlass, StepperGlass, RainbowProgressGlass... |
|
|
74
|
+
### Option 1: shadcn CLI (Recommended)
|
|
93
75
|
|
|
94
|
-
|
|
95
|
-
[Interactive Storybook](https://yhooi2.github.io/shadcn-glass-ui-library/)
|
|
76
|
+
Listed on [registry.directory](https://registry.directory)!
|
|
96
77
|
|
|
97
|
-
|
|
78
|
+
Add to `components.json`:
|
|
98
79
|
|
|
99
|
-
|
|
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
|
+
```
|
|
100
89
|
|
|
101
|
-
|
|
102
|
-
| ------------------ | ------------------------------------------------ |
|
|
103
|
-
| Flat design | Glassmorphism effects (blur, glow, transparency) |
|
|
104
|
-
| Manual theming | 3 built-in themes with token system |
|
|
105
|
-
| Basic components | 58 components including analytics widgets |
|
|
106
|
-
| DIY accessibility | WCAG 2.1 AA + touch targets out of the box |
|
|
107
|
-
| Generic docs | AI-optimized documentation |
|
|
90
|
+
Install components:
|
|
108
91
|
|
|
109
|
-
|
|
92
|
+
```bash
|
|
93
|
+
npx shadcn@latest add @shadcn-glass-ui/button-glass @shadcn-glass-ui/input-glass
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**[Registry Documentation →](docs/REGISTRY_USAGE.md)**
|
|
97
|
+
|
|
98
|
+
### Option 2: npm Package
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
npm install shadcn-glass-ui
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
**[npm Installation Guide →](docs/GETTING_STARTED.md)**
|
|
110
105
|
|
|
111
106
|
---
|
|
112
107
|
|
|
113
|
-
##
|
|
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 |
|
|
114
118
|
|
|
115
119
|
<details>
|
|
116
120
|
<summary><strong>Core UI (18)</strong> — Essential building blocks</summary>
|
|
@@ -139,7 +143,7 @@ ContributionMetricsGlass, MetricsGridGlass, RepositoryHeaderGlass, RepositoryMet
|
|
|
139
143
|
</details>
|
|
140
144
|
|
|
141
145
|
<details>
|
|
142
|
-
<summary><strong>
|
|
146
|
+
<summary><strong>Sections (7)</strong> — Full page sections</summary>
|
|
143
147
|
|
|
144
148
|
HeaderNavGlass, ProfileHeaderGlass, CareerStatsGlass, FlagsSectionGlass, TrustScoreCardGlass,
|
|
145
149
|
ProjectsListGlass, HeaderBrandingGlass
|
|
@@ -155,27 +159,53 @@ with 3 variants)
|
|
|
155
159
|
|
|
156
160
|
</details>
|
|
157
161
|
|
|
158
|
-
[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/)**
|
|
159
164
|
|
|
160
165
|
---
|
|
161
166
|
|
|
162
167
|
## Themes
|
|
163
168
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
169
|
+
Three built-in themes with seamless switching:
|
|
170
|
+
|
|
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
|
|
168
174
|
|
|
169
175
|
```tsx
|
|
170
176
|
import { ThemeProvider, useTheme } from 'shadcn-glass-ui';
|
|
171
177
|
|
|
172
178
|
function ThemeSwitcher() {
|
|
173
|
-
const { theme, cycleTheme
|
|
174
|
-
return <button onClick={cycleTheme}>
|
|
179
|
+
const { theme, cycleTheme } = useTheme();
|
|
180
|
+
return <button onClick={cycleTheme}>Theme: {theme}</button>;
|
|
175
181
|
}
|
|
176
182
|
```
|
|
177
183
|
|
|
178
|
-
[Theme Creation Guide](docs/THEME_CREATION_GUIDE.md) — Create custom themes in 15 minutes
|
|
184
|
+
**[Theme Creation Guide →](docs/THEME_CREATION_GUIDE.md)** — Create custom themes in 15 minutes
|
|
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
|
+
```
|
|
179
209
|
|
|
180
210
|
---
|
|
181
211
|
|
|
@@ -184,7 +214,7 @@ function ThemeSwitcher() {
|
|
|
184
214
|
<details>
|
|
185
215
|
<summary><strong>How do I migrate from v1.x to v2.0?</strong></summary>
|
|
186
216
|
|
|
187
|
-
v2.0 renames CSS variables to semantic names. Run
|
|
217
|
+
v2.0 renames CSS variables to semantic names. Run automated migration:
|
|
188
218
|
|
|
189
219
|
```bash
|
|
190
220
|
find src/ -type f \( -name "*.tsx" -o -name "*.css" \) -exec sed -i '' \
|
|
@@ -194,14 +224,15 @@ find src/ -type f \( -name "*.tsx" -o -name "*.css" \) -exec sed -i '' \
|
|
|
194
224
|
-e 's/--metric-red-/--metric-destructive-/g' {} +
|
|
195
225
|
```
|
|
196
226
|
|
|
197
|
-
[Full Migration Guide](docs/BREAKING_CHANGES.md)
|
|
227
|
+
**[Full Migration Guide →](docs/BREAKING_CHANGES.md)**
|
|
198
228
|
|
|
199
229
|
</details>
|
|
200
230
|
|
|
201
231
|
<details>
|
|
202
232
|
<summary><strong>Does it work with existing shadcn/ui components?</strong></summary>
|
|
203
233
|
|
|
204
|
-
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.
|
|
205
236
|
|
|
206
237
|
</details>
|
|
207
238
|
|
|
@@ -209,50 +240,73 @@ Yes! Glass components use the same patterns and can coexist with standard shadcn
|
|
|
209
240
|
<summary><strong>What are the requirements?</strong></summary>
|
|
210
241
|
|
|
211
242
|
- React 18.0+ or 19.0+
|
|
212
|
-
-
|
|
243
|
+
- React-DOM 18.0+ or 19.0+
|
|
244
|
+
- Tailwind CSS 4.1+
|
|
213
245
|
- Node.js 20.16+
|
|
214
246
|
|
|
215
247
|
</details>
|
|
216
248
|
|
|
217
249
|
<details>
|
|
218
|
-
<summary><strong>
|
|
250
|
+
<summary><strong>Where are breaking changes documented?</strong></summary>
|
|
219
251
|
|
|
220
|
-
|
|
221
|
-
|
|
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
|
|
222
255
|
|
|
223
256
|
</details>
|
|
224
257
|
|
|
225
258
|
<details>
|
|
226
|
-
<summary><strong>
|
|
259
|
+
<summary><strong>How do I create a custom theme?</strong></summary>
|
|
227
260
|
|
|
228
|
-
-
|
|
229
|
-
|
|
230
|
-
|
|
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)**
|
|
231
273
|
|
|
232
274
|
</details>
|
|
233
275
|
|
|
234
|
-
|
|
276
|
+
<details>
|
|
277
|
+
<summary><strong>How do I use Compound Components (Modal, Tabs, Stepper)?</strong></summary>
|
|
235
278
|
|
|
236
|
-
|
|
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
|
+
```
|
|
237
291
|
|
|
238
|
-
|
|
239
|
-
| -------------------------------------------------------------- | --------------------------- |
|
|
240
|
-
| [Storybook](https://yhooi2.github.io/shadcn-glass-ui-library/) | Interactive component demos |
|
|
241
|
-
| [Getting Started](docs/GETTING_STARTED.md) | Setup tutorial |
|
|
242
|
-
| [Component Catalog](docs/COMPONENTS_CATALOG.md) | All 58 components |
|
|
243
|
-
| [AI Usage Guide](docs/AI_USAGE.md) | For Claude, Copilot, GPT |
|
|
244
|
-
| [Theme Guide](docs/THEME_CREATION_GUIDE.md) | Create custom themes |
|
|
245
|
-
| [Token Architecture](docs/TOKEN_ARCHITECTURE.md) | 3-layer CSS token system |
|
|
246
|
-
| [Advanced Patterns](docs/ADVANCED_PATTERNS.md) | asChild, Compound APIs |
|
|
247
|
-
| [Breaking Changes](docs/BREAKING_CHANGES.md) | Migration guides |
|
|
292
|
+
**[Advanced Patterns →](docs/ADVANCED_PATTERNS.md)**
|
|
248
293
|
|
|
249
|
-
|
|
294
|
+
</details>
|
|
250
295
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
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 |
|
|
256
310
|
|
|
257
311
|
---
|
|
258
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;
|