shadcn-glass-ui 1.0.11 → 2.0.0
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/CHANGELOG.md +213 -0
- package/README.md +174 -17
- package/context7.json +58 -0
- package/dist/cli/index.cjs +470 -0
- package/dist/cli/index.cjs.map +1 -0
- package/dist/cli/index.d.ts +18 -0
- package/dist/cli/index.js +469 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/components.cjs +4 -4
- package/dist/components.d.ts +153 -22
- package/dist/components.js +2 -2
- package/dist/hooks.cjs +2 -2
- package/dist/index.cjs +872 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -2390
- package/dist/index.js +844 -3
- package/dist/index.js.map +1 -1
- package/dist/r/ai-card-glass.json +5 -12
- package/dist/r/avatar-glass.json +5 -15
- package/dist/r/circular-metric-glass.json +5 -11
- package/dist/r/circular-progress-glass.json +5 -12
- package/dist/r/combobox-glass.json +5 -13
- package/dist/r/flag-alert-glass.json +5 -11
- package/dist/r/flags-section-glass.json +5 -12
- package/dist/r/insight-card-glass.json +17 -0
- package/dist/r/interactive-card.json +5 -12
- package/dist/r/language-bar-glass.json +5 -11
- package/dist/r/metric-card-glass.json +6 -13
- package/dist/r/metrics-grid-glass.json +5 -11
- package/dist/r/modal-glass.json +5 -15
- package/dist/r/progress-glass.json +5 -13
- package/dist/r/registry.json +20 -2
- package/dist/r/segmented-control-glass.json +5 -11
- package/dist/r/sparkline-glass.json +17 -0
- package/dist/r/stepper-glass.json +33 -0
- package/dist/r/tabs-glass.json +4 -9
- package/dist/r/trust-score-card-glass.json +5 -12
- package/dist/r/year-card-glass.json +5 -13
- package/dist/shadcn-glass-ui.css +1 -1
- package/dist/{theme-context-XtasSxRT.cjs → theme-context-CVW50BKW.cjs} +2 -2
- package/dist/{theme-context-XtasSxRT.cjs.map → theme-context-CVW50BKW.cjs.map} +1 -1
- package/dist/themes.cjs +1 -1
- package/dist/trust-score-card-glass-BcZbul0P.js +26895 -0
- package/dist/trust-score-card-glass-BcZbul0P.js.map +1 -0
- package/dist/trust-score-card-glass-r3qM09Jp.cjs +27689 -0
- package/dist/trust-score-card-glass-r3qM09Jp.cjs.map +1 -0
- package/dist/{use-focus-BbpE2qGq.cjs → use-focus-ZE8ozmZE.cjs} +2 -2
- package/dist/{use-focus-BbpE2qGq.cjs.map → use-focus-ZE8ozmZE.cjs.map} +1 -1
- package/dist/{use-wallpaper-tint-CIqtoETa.cjs → use-wallpaper-tint-BuS80tbN.cjs} +2 -2
- package/dist/{use-wallpaper-tint-CIqtoETa.cjs.map → use-wallpaper-tint-BuS80tbN.cjs.map} +1 -1
- package/dist/{utils-CGCOTvxT.js → utils-CcyeqpKQ.js} +1 -1
- package/dist/{utils-CGCOTvxT.js.map → utils-CcyeqpKQ.js.map} +1 -1
- package/dist/{utils-CriE74ig.cjs → utils-DLXayspX.cjs} +2 -2
- package/dist/{utils-CriE74ig.cjs.map → utils-DLXayspX.cjs.map} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/docs/AI_IMPROVEMENTS_COMPLETE.md +574 -0
- package/docs/AI_USAGE.md +1328 -0
- package/docs/API_PATTERNS_COMPARISON.md +418 -0
- package/docs/BEST_PRACTICES.md +800 -0
- package/docs/COMPLIANCE_CHECKLIST.md +307 -0
- package/docs/COMPLIANCE_TESTING.md +436 -0
- package/docs/COMPONENTS_CATALOG.md +1076 -0
- package/docs/CSS_VARIABLES_AUDIT.md +306 -0
- package/docs/CSS_VARIABLES_REFACTORING_PLAN.md +330 -0
- package/docs/EXPORTS_MAP.json +875 -0
- package/docs/EXPORTS_STRUCTURE.md +729 -0
- package/docs/GETTING_STARTED.md +655 -0
- package/docs/METRIC_CARD_API_REDESIGN.md +354 -0
- package/docs/PRIMITIVE_MAPPING.md +404 -0
- package/docs/PUBLISHING.md +593 -0
- package/docs/REGISTRY_SUMMARY.md +96 -0
- package/docs/REGISTRY_USAGE.md +339 -0
- package/docs/SECURITY.md +117 -0
- package/docs/THEME_CREATION_GUIDE.md +455 -0
- package/docs/TOKEN_ARCHITECTURE.md +365 -0
- package/docs/announcements/v1.0.5-devto.md +363 -0
- package/docs/announcements/v1.0.5-reddit.md +115 -0
- package/docs/announcements/v1.0.5-twitter.md +70 -0
- package/docs/api/README.md +725 -0
- package/docs/api/functions/ThemeProvider.md +21 -0
- package/docs/api/functions/cn.md +27 -0
- package/docs/api/functions/getNextTheme.md +21 -0
- package/docs/api/functions/getThemeConfig.md +21 -0
- package/docs/api/functions/useFocus.md +53 -0
- package/docs/api/functions/useHover.md +47 -0
- package/docs/api/functions/useResponsive.md +31 -0
- package/docs/api/functions/useTheme.md +15 -0
- package/docs/api/functions/useWallpaperTint.md +36 -0
- package/docs/api/globals.md +139 -0
- package/docs/api/interfaces/AlertGlassProps.md +131 -0
- package/docs/api/interfaces/AvatarGlassProps.md +114 -0
- package/docs/api/interfaces/BadgeGlassProps.md +118 -0
- package/docs/api/interfaces/ButtonGlassProps.md +179 -0
- package/docs/api/interfaces/CheckboxGlassProps.md +125 -0
- package/docs/api/interfaces/DropdownGlassProps.md +123 -0
- package/docs/api/interfaces/DropdownItem.md +53 -0
- package/docs/api/interfaces/GlassCardProps.md +151 -0
- package/docs/api/interfaces/InputGlassProps.md +169 -0
- package/docs/api/interfaces/NotificationGlassProps.md +67 -0
- package/docs/api/interfaces/ProgressGlassProps.md +49 -0
- package/docs/api/interfaces/SkeletonGlassProps.md +41 -0
- package/docs/api/interfaces/SliderGlassProps.md +107 -0
- package/docs/api/interfaces/TabItem.md +25 -0
- package/docs/api/interfaces/ThemeConfig.md +25 -0
- package/docs/api/interfaces/ThemeContextValue.md +47 -0
- package/docs/api/interfaces/ToggleGlassProps.md +59 -0
- package/docs/api/interfaces/TooltipGlassProps.md +119 -0
- package/docs/api/type-aliases/AlertType.md +11 -0
- package/docs/api/type-aliases/AlertVariant.md +11 -0
- package/docs/api/type-aliases/AvatarSize.md +11 -0
- package/docs/api/type-aliases/AvatarStatus.md +13 -0
- package/docs/api/type-aliases/BadgeSize.md +11 -0
- package/docs/api/type-aliases/BadgeVariant.md +11 -0
- package/docs/api/type-aliases/ButtonGlassSize.md +11 -0
- package/docs/api/type-aliases/ButtonGlassVariant.md +11 -0
- package/docs/api/type-aliases/DropdownAlign.md +11 -0
- package/docs/api/type-aliases/GlowType.md +11 -0
- package/docs/api/type-aliases/InputGlassSize.md +11 -0
- package/docs/api/type-aliases/IntensityType.md +11 -0
- package/docs/api/type-aliases/ModalSize.md +11 -0
- package/docs/api/type-aliases/NotificationType.md +11 -0
- package/docs/api/type-aliases/PaddingType.md +11 -0
- package/docs/api/type-aliases/ProgressGradient.md +11 -0
- package/docs/api/type-aliases/ProgressSize.md +11 -0
- package/docs/api/type-aliases/SkeletonVariant.md +11 -0
- package/docs/api/type-aliases/Theme.md +11 -0
- package/docs/api/type-aliases/ToggleGlassSize.md +11 -0
- package/docs/api/type-aliases/TooltipPosition.md +11 -0
- package/docs/api/variables/AICardGlass.md +11 -0
- package/docs/api/variables/AlertGlass.md +11 -0
- package/docs/api/variables/AvatarGlass.md +11 -0
- package/docs/api/variables/BadgeGlass.md +11 -0
- package/docs/api/variables/BaseProgressGlass.md +11 -0
- package/docs/api/variables/ButtonGlass.md +11 -0
- package/docs/api/variables/CareerStatsGlass.md +11 -0
- package/docs/api/variables/CareerStatsHeaderGlass.md +11 -0
- package/docs/api/variables/CheckboxGlass.md +11 -0
- package/docs/api/variables/CircularMetricGlass.md +22 -0
- package/docs/api/variables/CircularProgressGlass.md +11 -0
- package/docs/api/variables/ComboBoxGlass.md +27 -0
- package/docs/api/variables/ContributionMetricsGlass.md +11 -0
- package/docs/api/variables/DropdownGlass.md +11 -0
- package/docs/api/variables/ExpandableHeaderGlass.md +11 -0
- package/docs/api/variables/FlagAlertGlass.md +11 -0
- package/docs/api/variables/FlagsSectionGlass.md +11 -0
- package/docs/api/variables/FormFieldWrapper.md +44 -0
- package/docs/api/variables/GlassCard.md +11 -0
- package/docs/api/variables/HeaderBrandingGlass.md +11 -0
- package/docs/api/variables/HeaderNavGlass.md +11 -0
- package/docs/api/variables/IconButtonGlass.md +11 -0
- package/docs/api/variables/InputGlass.md +11 -0
- package/docs/api/variables/InteractiveCard.md +45 -0
- package/docs/api/variables/LanguageBarGlass.md +11 -0
- package/docs/api/variables/MetricCardGlass.md +11 -0
- package/docs/api/variables/MetricsGridGlass.md +11 -0
- package/docs/api/variables/ModalGlass.md +72 -0
- package/docs/api/variables/NotificationGlass.md +11 -0
- package/docs/api/variables/PopoverGlass.md +11 -0
- package/docs/api/variables/ProfileAvatarGlass.md +11 -0
- package/docs/api/variables/ProfileHeaderGlass.md +11 -0
- package/docs/api/variables/ProgressGlass.md +11 -0
- package/docs/api/variables/ProjectsListGlass.md +11 -0
- package/docs/api/variables/RainbowProgressGlass.md +11 -0
- package/docs/api/variables/RepositoryCardGlass.md +11 -0
- package/docs/api/variables/RepositoryHeaderGlass.md +11 -0
- package/docs/api/variables/RepositoryMetadataGlass.md +11 -0
- package/docs/api/variables/SearchBoxGlass.md +11 -0
- package/docs/api/variables/SegmentedControlGlass.md +11 -0
- package/docs/api/variables/SkeletonGlass.md +11 -0
- package/docs/api/variables/SliderGlass.md +11 -0
- package/docs/api/variables/SortDropdownGlass.md +11 -0
- package/docs/api/variables/StatItemGlass.md +11 -0
- package/docs/api/variables/StatusIndicatorGlass.md +11 -0
- package/docs/api/variables/THEMES.md +11 -0
- package/docs/api/variables/THEME_CONFIG.md +11 -0
- package/docs/api/variables/TabsGlass.md +52 -0
- package/docs/api/variables/ThemeToggleGlass.md +11 -0
- package/docs/api/variables/ToggleGlass.md +11 -0
- package/docs/api/variables/TooltipGlass.md +11 -0
- package/docs/api/variables/TouchTarget.md +35 -0
- package/docs/api/variables/TrustScoreCardGlass.md +11 -0
- package/docs/api/variables/TrustScoreDisplayGlass.md +11 -0
- package/docs/api/variables/UserInfoGlass.md +11 -0
- package/docs/api/variables/UserStatsLineGlass.md +11 -0
- package/docs/api/variables/YearCardGlass.md +11 -0
- package/docs/api/variables/alertVariants.md +21 -0
- package/docs/api/variables/avatarSizes.md +21 -0
- package/docs/api/variables/badgeVariants.md +21 -0
- package/docs/api/variables/buttonGlassVariants.md +21 -0
- package/docs/api/variables/cardIntensity.md +21 -0
- package/docs/api/variables/dropdownAlign.md +21 -0
- package/docs/api/variables/inputVariants.md +21 -0
- package/docs/api/variables/modalSizes.md +21 -0
- package/docs/api/variables/notificationVariants.md +21 -0
- package/docs/api/variables/progressSizes.md +21 -0
- package/docs/api/variables/shadcnAlertVariants.md +21 -0
- package/docs/api/variables/shadcnBadgeVariants.md +21 -0
- package/docs/api/variables/shadcnButtonVariants.md +21 -0
- package/docs/api/variables/skeletonVariants.md +21 -0
- package/docs/api/variables/statusSizes.md +21 -0
- package/docs/api/variables/toggleSizes.md +21 -0
- package/docs/api/variables/tooltipPositions.md +21 -0
- package/docs/design-system/UI_DESIGN.md +628 -0
- package/docs/migration/CSS_VARIABLES_MIGRATION_2.0.md +325 -0
- package/docs/migration/modal-glass-compound-api.md +458 -0
- package/docs/migration/select-to-combobox.md +386 -0
- package/docs/migration/tabs-glass-compound-api.md +579 -0
- package/docs/technical/DEPENDENCIES.md +291 -0
- package/docs/visual-testing-guide.md +324 -0
- package/package.json +16 -3
- package/dist/trust-score-card-glass-CNcQveNY.cjs +0 -8231
- package/dist/trust-score-card-glass-CNcQveNY.cjs.map +0 -1
- package/dist/trust-score-card-glass-CowcDyxH.js +0 -7795
- package/dist/trust-score-card-glass-CowcDyxH.js.map +0 -1
|
@@ -0,0 +1,875 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "shadcn-glass-ui Exports Map",
|
|
4
|
+
"description": "Machine-readable export structure for AI assistants and automated tools",
|
|
5
|
+
"version": "1.0.7",
|
|
6
|
+
"library": "shadcn-glass-ui",
|
|
7
|
+
"repository": "https://github.com/yhooi2/shadcn-glass-ui",
|
|
8
|
+
"lastUpdated": "2025-12-06",
|
|
9
|
+
|
|
10
|
+
"components": {
|
|
11
|
+
"primitives": {
|
|
12
|
+
"level": 0,
|
|
13
|
+
"description": "Foundation building blocks",
|
|
14
|
+
"exports": [
|
|
15
|
+
{
|
|
16
|
+
"name": "TouchTarget",
|
|
17
|
+
"path": "components/glass/primitives/touch-target",
|
|
18
|
+
"type": "component",
|
|
19
|
+
"description": "Touch-friendly wrapper (44/48px minimum, Apple HIG compliance)",
|
|
20
|
+
"props": "TouchTargetProps",
|
|
21
|
+
"category": "accessibility",
|
|
22
|
+
"keywords": ["touch", "accessibility", "mobile", "wrapper"]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "FormFieldWrapper",
|
|
26
|
+
"path": "components/glass/primitives/form-field-wrapper",
|
|
27
|
+
"type": "component",
|
|
28
|
+
"description": "Unified form field structure (label, error, success states)",
|
|
29
|
+
"props": "FormFieldWrapperProps",
|
|
30
|
+
"category": "forms",
|
|
31
|
+
"keywords": ["form", "field", "label", "error", "validation"]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "InteractiveCard",
|
|
35
|
+
"path": "components/glass/primitives/interactive-card",
|
|
36
|
+
"type": "component",
|
|
37
|
+
"description": "Hover animations + glass effects for card components",
|
|
38
|
+
"props": "InteractiveCardProps",
|
|
39
|
+
"category": "layout",
|
|
40
|
+
"keywords": ["card", "hover", "animation", "glass"]
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
"core": {
|
|
46
|
+
"level": 1,
|
|
47
|
+
"description": "Basic interactive components (most commonly used)",
|
|
48
|
+
"exports": [
|
|
49
|
+
{
|
|
50
|
+
"name": "AlertGlass",
|
|
51
|
+
"path": "components/glass/ui/alert-glass",
|
|
52
|
+
"type": "component",
|
|
53
|
+
"description": "Alert message with glassmorphism styling",
|
|
54
|
+
"props": "AlertGlassProps",
|
|
55
|
+
"variants": ["default", "destructive", "success", "warning"],
|
|
56
|
+
"category": "feedback",
|
|
57
|
+
"keywords": ["alert", "message", "notification", "feedback"],
|
|
58
|
+
"shadcnCompatible": true
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "AvatarGlass",
|
|
62
|
+
"path": "components/glass/ui/avatar-glass",
|
|
63
|
+
"type": "component",
|
|
64
|
+
"description": "User avatar with status indicator",
|
|
65
|
+
"props": "AvatarGlassProps",
|
|
66
|
+
"sizes": ["xs", "sm", "md", "lg", "xl"],
|
|
67
|
+
"statuses": ["online", "offline", "away", "busy"],
|
|
68
|
+
"category": "display",
|
|
69
|
+
"keywords": ["avatar", "profile", "user", "image", "status"],
|
|
70
|
+
"shadcnCompatible": true,
|
|
71
|
+
"supportsAsChild": true
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "BadgeGlass",
|
|
75
|
+
"path": "components/glass/ui/badge-glass",
|
|
76
|
+
"type": "component",
|
|
77
|
+
"description": "Status badge with multiple variants",
|
|
78
|
+
"props": "BadgeGlassProps",
|
|
79
|
+
"variants": ["default", "secondary", "destructive", "outline", "success", "warning", "info"],
|
|
80
|
+
"category": "display",
|
|
81
|
+
"keywords": ["badge", "tag", "label", "status"],
|
|
82
|
+
"shadcnCompatible": true
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "ButtonGlass",
|
|
86
|
+
"path": "components/glass/ui/button-glass",
|
|
87
|
+
"type": "component",
|
|
88
|
+
"description": "Primary action button with glassmorphism effects",
|
|
89
|
+
"props": "ButtonGlassProps",
|
|
90
|
+
"variants": ["default", "secondary", "outline", "destructive", "ghost", "link"],
|
|
91
|
+
"sizes": ["sm", "md", "lg"],
|
|
92
|
+
"category": "input",
|
|
93
|
+
"keywords": ["button", "action", "click", "submit"],
|
|
94
|
+
"shadcnCompatible": true,
|
|
95
|
+
"supportsAsChild": true
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "CheckboxGlass",
|
|
99
|
+
"path": "components/glass/ui/checkbox-glass",
|
|
100
|
+
"type": "component",
|
|
101
|
+
"description": "Checkbox input with glass styling",
|
|
102
|
+
"props": "CheckboxGlassProps",
|
|
103
|
+
"category": "input",
|
|
104
|
+
"keywords": ["checkbox", "input", "form", "toggle", "selection"],
|
|
105
|
+
"shadcnCompatible": true
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "CircularProgressGlass",
|
|
109
|
+
"path": "components/glass/ui/circular-progress-glass",
|
|
110
|
+
"type": "component",
|
|
111
|
+
"description": "Circular progress indicator",
|
|
112
|
+
"props": "CircularProgressGlassProps",
|
|
113
|
+
"sizes": ["sm", "md", "lg", "xl"],
|
|
114
|
+
"category": "feedback",
|
|
115
|
+
"keywords": ["progress", "loading", "circular", "spinner"]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "ComboBoxGlass",
|
|
119
|
+
"path": "components/glass/ui/combobox-glass",
|
|
120
|
+
"type": "component",
|
|
121
|
+
"description": "Searchable dropdown with autocomplete",
|
|
122
|
+
"props": "ComboBoxGlassProps",
|
|
123
|
+
"category": "input",
|
|
124
|
+
"keywords": ["combobox", "select", "dropdown", "autocomplete", "search"],
|
|
125
|
+
"shadcnCompatible": true,
|
|
126
|
+
"replacedComponent": "SelectGlass"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "DropdownGlass",
|
|
130
|
+
"path": "components/glass/ui/dropdown-glass",
|
|
131
|
+
"type": "component",
|
|
132
|
+
"description": "Dropdown menu with actions",
|
|
133
|
+
"props": "DropdownGlassProps",
|
|
134
|
+
"category": "navigation",
|
|
135
|
+
"keywords": ["dropdown", "menu", "actions", "popover"],
|
|
136
|
+
"shadcnCompatible": true
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "GlassCard",
|
|
140
|
+
"path": "components/glass/ui/glass-card",
|
|
141
|
+
"type": "component",
|
|
142
|
+
"description": "Card container with glassmorphism effects",
|
|
143
|
+
"props": "GlassCardProps",
|
|
144
|
+
"glowTypes": ["none", "subtle", "medium", "strong"],
|
|
145
|
+
"intensities": ["low", "medium", "high"],
|
|
146
|
+
"category": "layout",
|
|
147
|
+
"keywords": ["card", "container", "glass", "panel"],
|
|
148
|
+
"shadcnCompatible": true,
|
|
149
|
+
"supportsAsChild": true
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "InputGlass",
|
|
153
|
+
"path": "components/glass/ui/input-glass",
|
|
154
|
+
"type": "component",
|
|
155
|
+
"description": "Text input field with glass styling",
|
|
156
|
+
"props": "InputGlassProps",
|
|
157
|
+
"category": "input",
|
|
158
|
+
"keywords": ["input", "text", "form", "field"],
|
|
159
|
+
"shadcnCompatible": true
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "ModalGlass",
|
|
163
|
+
"path": "components/glass/ui/modal-glass",
|
|
164
|
+
"type": "component",
|
|
165
|
+
"description": "Modal dialog with compound component API",
|
|
166
|
+
"props": "ModalGlassProps",
|
|
167
|
+
"sizes": ["sm", "md", "lg", "xl", "full"],
|
|
168
|
+
"category": "overlay",
|
|
169
|
+
"keywords": ["modal", "dialog", "overlay", "popup"],
|
|
170
|
+
"shadcnCompatible": true,
|
|
171
|
+
"compoundAPI": true,
|
|
172
|
+
"subComponents": ["Root", "Trigger", "Overlay", "Content", "Header", "Title", "Description", "Body", "Footer", "Close"]
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "NotificationGlass",
|
|
176
|
+
"path": "components/glass/ui/notification-glass",
|
|
177
|
+
"type": "component",
|
|
178
|
+
"description": "Toast notification with auto-dismiss",
|
|
179
|
+
"props": "NotificationGlassProps",
|
|
180
|
+
"variants": ["default", "destructive", "success", "warning"],
|
|
181
|
+
"category": "feedback",
|
|
182
|
+
"keywords": ["notification", "toast", "alert", "message"],
|
|
183
|
+
"shadcnCompatible": true
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "PopoverGlass",
|
|
187
|
+
"path": "components/glass/ui/popover-glass",
|
|
188
|
+
"type": "component",
|
|
189
|
+
"description": "Popover dialog with trigger",
|
|
190
|
+
"props": "PopoverGlassProps",
|
|
191
|
+
"category": "overlay",
|
|
192
|
+
"keywords": ["popover", "tooltip", "dialog", "overlay"],
|
|
193
|
+
"shadcnCompatible": true
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "SkeletonGlass",
|
|
197
|
+
"path": "components/glass/ui/skeleton-glass",
|
|
198
|
+
"type": "component",
|
|
199
|
+
"description": "Loading skeleton placeholder",
|
|
200
|
+
"props": "SkeletonGlassProps",
|
|
201
|
+
"variants": ["text", "circle", "rectangle"],
|
|
202
|
+
"category": "feedback",
|
|
203
|
+
"keywords": ["skeleton", "loading", "placeholder", "shimmer"],
|
|
204
|
+
"shadcnCompatible": true
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "SliderGlass",
|
|
208
|
+
"path": "components/glass/ui/slider-glass",
|
|
209
|
+
"type": "component",
|
|
210
|
+
"description": "Range slider input",
|
|
211
|
+
"props": "SliderGlassProps",
|
|
212
|
+
"category": "input",
|
|
213
|
+
"keywords": ["slider", "range", "input", "number"],
|
|
214
|
+
"shadcnCompatible": true
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "TabsGlass",
|
|
218
|
+
"path": "components/glass/ui/tabs-glass",
|
|
219
|
+
"type": "component",
|
|
220
|
+
"description": "Tab navigation with compound component API",
|
|
221
|
+
"props": "TabsGlassProps",
|
|
222
|
+
"category": "navigation",
|
|
223
|
+
"keywords": ["tabs", "navigation", "switcher"],
|
|
224
|
+
"shadcnCompatible": true,
|
|
225
|
+
"compoundAPI": true,
|
|
226
|
+
"subComponents": ["Root", "List", "Trigger", "Content"]
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "ToggleGlass",
|
|
230
|
+
"path": "components/glass/ui/toggle-glass",
|
|
231
|
+
"type": "component",
|
|
232
|
+
"description": "Toggle switch input",
|
|
233
|
+
"props": "ToggleGlassProps",
|
|
234
|
+
"category": "input",
|
|
235
|
+
"keywords": ["toggle", "switch", "boolean", "checkbox"],
|
|
236
|
+
"shadcnCompatible": true
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "TooltipGlass",
|
|
240
|
+
"path": "components/glass/ui/tooltip-glass",
|
|
241
|
+
"type": "component",
|
|
242
|
+
"description": "Tooltip overlay with positioning",
|
|
243
|
+
"props": "TooltipGlassProps",
|
|
244
|
+
"positions": ["top", "bottom", "left", "right"],
|
|
245
|
+
"category": "overlay",
|
|
246
|
+
"keywords": ["tooltip", "hint", "help", "overlay"],
|
|
247
|
+
"shadcnCompatible": true
|
|
248
|
+
}
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
|
|
252
|
+
"atomic": {
|
|
253
|
+
"level": 2,
|
|
254
|
+
"description": "Small, single-purpose components",
|
|
255
|
+
"exports": [
|
|
256
|
+
{
|
|
257
|
+
"name": "ExpandableHeaderGlass",
|
|
258
|
+
"path": "components/glass/atomic/expandable-header-glass",
|
|
259
|
+
"type": "component",
|
|
260
|
+
"description": "Collapsible section header for accordions",
|
|
261
|
+
"props": "ExpandableHeaderGlassProps",
|
|
262
|
+
"category": "navigation",
|
|
263
|
+
"keywords": ["header", "expandable", "collapsible", "accordion"]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "IconButtonGlass",
|
|
267
|
+
"path": "components/glass/atomic/icon-button-glass",
|
|
268
|
+
"type": "component",
|
|
269
|
+
"description": "Icon-only button for toolbars",
|
|
270
|
+
"props": "IconButtonGlassProps",
|
|
271
|
+
"category": "input",
|
|
272
|
+
"keywords": ["button", "icon", "toolbar", "action"]
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "SearchBoxGlass",
|
|
276
|
+
"path": "components/glass/atomic/search-box-glass",
|
|
277
|
+
"type": "component",
|
|
278
|
+
"description": "Search input with icon and clear button",
|
|
279
|
+
"props": "SearchBoxGlassProps",
|
|
280
|
+
"category": "input",
|
|
281
|
+
"keywords": ["search", "input", "filter", "query"]
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "SortDropdownGlass",
|
|
285
|
+
"path": "components/glass/atomic/sort-dropdown-glass",
|
|
286
|
+
"type": "component",
|
|
287
|
+
"description": "Dropdown for sorting options",
|
|
288
|
+
"props": "SortDropdownGlassProps",
|
|
289
|
+
"category": "navigation",
|
|
290
|
+
"keywords": ["sort", "dropdown", "order", "filter"]
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "StatItemGlass",
|
|
294
|
+
"path": "components/glass/atomic/stat-item-glass",
|
|
295
|
+
"type": "component",
|
|
296
|
+
"description": "Single statistic display with icon",
|
|
297
|
+
"props": "StatItemGlassProps",
|
|
298
|
+
"category": "display",
|
|
299
|
+
"keywords": ["stat", "metric", "number", "kpi"]
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "ThemeToggleGlass",
|
|
303
|
+
"path": "components/glass/atomic/theme-toggle-glass",
|
|
304
|
+
"type": "component",
|
|
305
|
+
"description": "Theme switcher button (glass/light/aurora)",
|
|
306
|
+
"props": "ThemeToggleGlassProps",
|
|
307
|
+
"category": "input",
|
|
308
|
+
"keywords": ["theme", "toggle", "dark", "light", "switch"]
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
},
|
|
312
|
+
|
|
313
|
+
"specialized": {
|
|
314
|
+
"level": 3,
|
|
315
|
+
"description": "Domain-specific components",
|
|
316
|
+
"exports": [
|
|
317
|
+
{
|
|
318
|
+
"name": "BaseProgressGlass",
|
|
319
|
+
"path": "components/glass/specialized/base-progress-glass",
|
|
320
|
+
"type": "component",
|
|
321
|
+
"description": "Foundation for custom progress bars",
|
|
322
|
+
"props": "BaseProgressGlassProps",
|
|
323
|
+
"category": "feedback",
|
|
324
|
+
"keywords": ["progress", "base", "foundation", "loading"]
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "FlagAlertGlass",
|
|
328
|
+
"path": "components/glass/specialized/flag-alert-glass",
|
|
329
|
+
"type": "component",
|
|
330
|
+
"description": "Warning/danger flag alert",
|
|
331
|
+
"props": "FlagAlertGlassProps",
|
|
332
|
+
"variants": ["warning", "danger"],
|
|
333
|
+
"category": "feedback",
|
|
334
|
+
"keywords": ["flag", "alert", "warning", "danger"]
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"name": "LanguageBarGlass",
|
|
338
|
+
"path": "components/glass/specialized/language-bar-glass",
|
|
339
|
+
"type": "component",
|
|
340
|
+
"description": "Language proficiency bar with color",
|
|
341
|
+
"props": "LanguageBarGlassProps",
|
|
342
|
+
"category": "display",
|
|
343
|
+
"keywords": ["language", "skill", "bar", "proficiency"]
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "ProfileAvatarGlass",
|
|
347
|
+
"path": "components/glass/specialized/profile-avatar-glass",
|
|
348
|
+
"type": "component",
|
|
349
|
+
"description": "Large avatar with glow animation for profiles",
|
|
350
|
+
"props": "ProfileAvatarGlassProps",
|
|
351
|
+
"category": "display",
|
|
352
|
+
"keywords": ["avatar", "profile", "glow", "animation"]
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "ProgressGlass",
|
|
356
|
+
"path": "components/glass/specialized/progress-glass",
|
|
357
|
+
"type": "component",
|
|
358
|
+
"description": "Standard progress bar with gradients",
|
|
359
|
+
"props": "ProgressGlassProps",
|
|
360
|
+
"gradients": ["default", "rainbow", "blue", "green", "red"],
|
|
361
|
+
"category": "feedback",
|
|
362
|
+
"keywords": ["progress", "bar", "loading", "percentage"]
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"name": "RainbowProgressGlass",
|
|
366
|
+
"path": "components/glass/specialized/rainbow-progress-glass",
|
|
367
|
+
"type": "component",
|
|
368
|
+
"description": "Multi-color gradient progress bar",
|
|
369
|
+
"props": "RainbowProgressGlassProps",
|
|
370
|
+
"category": "feedback",
|
|
371
|
+
"keywords": ["progress", "rainbow", "gradient", "colorful"]
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "SegmentedControlGlass",
|
|
375
|
+
"path": "components/glass/specialized/segmented-control-glass",
|
|
376
|
+
"type": "component",
|
|
377
|
+
"description": "Segmented button group for view switching",
|
|
378
|
+
"props": "SegmentedControlGlassProps",
|
|
379
|
+
"category": "input",
|
|
380
|
+
"keywords": ["segmented", "control", "toggle", "group", "switch"]
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "StatusIndicatorGlass",
|
|
384
|
+
"path": "components/glass/specialized/status-indicator-glass",
|
|
385
|
+
"type": "component",
|
|
386
|
+
"description": "Status dot with glow effect",
|
|
387
|
+
"props": "StatusIndicatorGlassProps",
|
|
388
|
+
"statuses": ["online", "offline", "away", "busy"],
|
|
389
|
+
"category": "display",
|
|
390
|
+
"keywords": ["status", "indicator", "dot", "online", "offline"]
|
|
391
|
+
}
|
|
392
|
+
]
|
|
393
|
+
},
|
|
394
|
+
|
|
395
|
+
"composite": {
|
|
396
|
+
"level": 4,
|
|
397
|
+
"description": "Multi-component compositions",
|
|
398
|
+
"exports": [
|
|
399
|
+
{
|
|
400
|
+
"name": "AICardGlass",
|
|
401
|
+
"path": "components/glass/composite/ai-card-glass",
|
|
402
|
+
"type": "component",
|
|
403
|
+
"description": "AI summary card with feature list",
|
|
404
|
+
"props": "AICardGlassProps",
|
|
405
|
+
"category": "display",
|
|
406
|
+
"keywords": ["ai", "card", "summary", "features"],
|
|
407
|
+
"contains": ["GlassCard", "BadgeGlass"]
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "CareerStatsHeaderGlass",
|
|
411
|
+
"path": "components/glass/composite/career-stats-header-glass",
|
|
412
|
+
"type": "component",
|
|
413
|
+
"description": "Career statistics header with toggle",
|
|
414
|
+
"props": "CareerStatsHeaderGlassProps",
|
|
415
|
+
"category": "display",
|
|
416
|
+
"keywords": ["career", "stats", "header", "toggle"],
|
|
417
|
+
"contains": ["StatItemGlass", "ToggleGlass"]
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "CircularMetricGlass",
|
|
421
|
+
"path": "components/glass/composite/circular-metric-glass",
|
|
422
|
+
"type": "component",
|
|
423
|
+
"description": "Metric with circular progress indicator",
|
|
424
|
+
"props": "CircularMetricGlassProps",
|
|
425
|
+
"category": "display",
|
|
426
|
+
"keywords": ["metric", "circular", "progress", "kpi"],
|
|
427
|
+
"contains": ["CircularProgressGlass"]
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"name": "ContributionMetricsGlass",
|
|
431
|
+
"path": "components/glass/composite/contribution-metrics-glass",
|
|
432
|
+
"type": "component",
|
|
433
|
+
"description": "GitHub-style contribution chart",
|
|
434
|
+
"props": "ContributionMetricsGlassProps",
|
|
435
|
+
"category": "display",
|
|
436
|
+
"keywords": ["contribution", "chart", "github", "activity"],
|
|
437
|
+
"contains": ["TooltipGlass"]
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"name": "MetricCardGlass",
|
|
441
|
+
"path": "components/glass/composite/metric-card-glass",
|
|
442
|
+
"type": "component",
|
|
443
|
+
"description": "Metric display card with progress bar",
|
|
444
|
+
"props": "MetricCardGlassProps",
|
|
445
|
+
"category": "display",
|
|
446
|
+
"keywords": ["metric", "card", "kpi", "dashboard"],
|
|
447
|
+
"contains": ["GlassCard", "ProgressGlass"]
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "MetricsGridGlass",
|
|
451
|
+
"path": "components/glass/composite/metrics-grid-glass",
|
|
452
|
+
"type": "component",
|
|
453
|
+
"description": "Grid layout for multiple metric cards",
|
|
454
|
+
"props": "MetricsGridGlassProps",
|
|
455
|
+
"category": "layout",
|
|
456
|
+
"keywords": ["metrics", "grid", "dashboard", "layout"],
|
|
457
|
+
"contains": ["MetricCardGlass"]
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"name": "RepositoryCardGlass",
|
|
461
|
+
"path": "components/glass/composite/repository-card-glass",
|
|
462
|
+
"type": "component",
|
|
463
|
+
"description": "Repository card with expandable details",
|
|
464
|
+
"props": "RepositoryCardGlassProps",
|
|
465
|
+
"category": "display",
|
|
466
|
+
"keywords": ["repository", "card", "github", "project"],
|
|
467
|
+
"contains": ["GlassCard", "BadgeGlass", "ButtonGlass"]
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"name": "RepositoryHeaderGlass",
|
|
471
|
+
"path": "components/glass/composite/repository-header-glass",
|
|
472
|
+
"type": "component",
|
|
473
|
+
"description": "Repository header with breadcrumbs",
|
|
474
|
+
"props": "RepositoryHeaderGlassProps",
|
|
475
|
+
"category": "display",
|
|
476
|
+
"keywords": ["repository", "header", "breadcrumbs"],
|
|
477
|
+
"contains": ["BadgeGlass"]
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "RepositoryMetadataGlass",
|
|
481
|
+
"path": "components/glass/composite/repository-metadata-glass",
|
|
482
|
+
"type": "component",
|
|
483
|
+
"description": "Repository metadata display",
|
|
484
|
+
"props": "RepositoryMetadataGlassProps",
|
|
485
|
+
"category": "display",
|
|
486
|
+
"keywords": ["repository", "metadata", "info"],
|
|
487
|
+
"contains": ["BadgeGlass"]
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"name": "TrustScoreDisplayGlass",
|
|
491
|
+
"path": "components/glass/composite/trust-score-display-glass",
|
|
492
|
+
"type": "component",
|
|
493
|
+
"description": "Trust score indicator with circular progress",
|
|
494
|
+
"props": "TrustScoreDisplayGlassProps",
|
|
495
|
+
"category": "display",
|
|
496
|
+
"keywords": ["trust", "score", "reputation", "rating"],
|
|
497
|
+
"contains": ["CircularProgressGlass", "BadgeGlass"]
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"name": "UserInfoGlass",
|
|
501
|
+
"path": "components/glass/composite/user-info-glass",
|
|
502
|
+
"type": "component",
|
|
503
|
+
"description": "User information display with avatar",
|
|
504
|
+
"props": "UserInfoGlassProps",
|
|
505
|
+
"category": "display",
|
|
506
|
+
"keywords": ["user", "info", "profile", "avatar"],
|
|
507
|
+
"contains": ["AvatarGlass", "BadgeGlass"]
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"name": "UserStatsLineGlass",
|
|
511
|
+
"path": "components/glass/composite/user-stats-line-glass",
|
|
512
|
+
"type": "component",
|
|
513
|
+
"description": "Single-line user statistics display",
|
|
514
|
+
"props": "UserStatsLineGlassProps",
|
|
515
|
+
"category": "display",
|
|
516
|
+
"keywords": ["user", "stats", "statistics", "inline"],
|
|
517
|
+
"contains": ["StatItemGlass"]
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"name": "YearCardGlass",
|
|
521
|
+
"path": "components/glass/composite/year-card-glass",
|
|
522
|
+
"type": "component",
|
|
523
|
+
"description": "Year timeline card for career history",
|
|
524
|
+
"props": "YearCardGlassProps",
|
|
525
|
+
"category": "display",
|
|
526
|
+
"keywords": ["year", "card", "timeline", "career"],
|
|
527
|
+
"contains": ["GlassCard", "StatItemGlass"]
|
|
528
|
+
}
|
|
529
|
+
]
|
|
530
|
+
},
|
|
531
|
+
|
|
532
|
+
"sections": {
|
|
533
|
+
"level": 5,
|
|
534
|
+
"description": "Complete page sections",
|
|
535
|
+
"exports": [
|
|
536
|
+
{
|
|
537
|
+
"name": "CareerStatsGlass",
|
|
538
|
+
"path": "components/glass/sections/career-stats-glass",
|
|
539
|
+
"type": "component",
|
|
540
|
+
"description": "Career statistics section with year cards",
|
|
541
|
+
"props": "CareerStatsGlassProps",
|
|
542
|
+
"category": "layout",
|
|
543
|
+
"keywords": ["career", "stats", "section", "timeline"],
|
|
544
|
+
"contains": ["CareerStatsHeaderGlass", "YearCardGlass"]
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "FlagsSectionGlass",
|
|
548
|
+
"path": "components/glass/sections/flags-section-glass",
|
|
549
|
+
"type": "component",
|
|
550
|
+
"description": "Expandable warnings/flags section",
|
|
551
|
+
"props": "FlagsSectionGlassProps",
|
|
552
|
+
"category": "layout",
|
|
553
|
+
"keywords": ["flags", "warnings", "section", "alerts"],
|
|
554
|
+
"contains": ["ExpandableHeaderGlass", "FlagAlertGlass"]
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "HeaderBrandingGlass",
|
|
558
|
+
"path": "components/glass/sections/header-branding-glass",
|
|
559
|
+
"type": "component",
|
|
560
|
+
"description": "Brand header section with logo",
|
|
561
|
+
"props": "HeaderBrandingGlassProps",
|
|
562
|
+
"category": "layout",
|
|
563
|
+
"keywords": ["header", "branding", "logo", "navigation"]
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"name": "HeaderNavGlass",
|
|
567
|
+
"path": "components/glass/sections/header-nav-glass",
|
|
568
|
+
"type": "component",
|
|
569
|
+
"description": "Navigation header with search and theme toggle",
|
|
570
|
+
"props": "HeaderNavGlassProps",
|
|
571
|
+
"category": "layout",
|
|
572
|
+
"keywords": ["header", "navigation", "search", "theme"],
|
|
573
|
+
"contains": ["SearchBoxGlass", "ThemeToggleGlass", "ButtonGlass"]
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "ProfileHeaderGlass",
|
|
577
|
+
"path": "components/glass/sections/profile-header-glass",
|
|
578
|
+
"type": "component",
|
|
579
|
+
"description": "User profile header with avatar and stats",
|
|
580
|
+
"props": "ProfileHeaderGlassProps",
|
|
581
|
+
"category": "layout",
|
|
582
|
+
"keywords": ["profile", "header", "user", "avatar"],
|
|
583
|
+
"contains": ["ProfileAvatarGlass", "UserStatsLineGlass", "LanguageBarGlass"]
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"name": "ProjectsListGlass",
|
|
587
|
+
"path": "components/glass/sections/projects-list-glass",
|
|
588
|
+
"type": "component",
|
|
589
|
+
"description": "Projects list section with sorting",
|
|
590
|
+
"props": "ProjectsListGlassProps",
|
|
591
|
+
"category": "layout",
|
|
592
|
+
"keywords": ["projects", "list", "repositories", "gallery"],
|
|
593
|
+
"contains": ["SortDropdownGlass", "RepositoryCardGlass"]
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "TrustScoreCardGlass",
|
|
597
|
+
"path": "components/glass/sections/trust-score-card-glass",
|
|
598
|
+
"type": "component",
|
|
599
|
+
"description": "Trust score card section with metrics",
|
|
600
|
+
"props": "TrustScoreCardGlassProps",
|
|
601
|
+
"category": "layout",
|
|
602
|
+
"keywords": ["trust", "score", "section", "reputation"],
|
|
603
|
+
"contains": ["TrustScoreDisplayGlass", "MetricCardGlass"]
|
|
604
|
+
}
|
|
605
|
+
]
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
|
|
609
|
+
"utilities": {
|
|
610
|
+
"functions": [
|
|
611
|
+
{
|
|
612
|
+
"name": "cn",
|
|
613
|
+
"path": "lib/utils",
|
|
614
|
+
"type": "function",
|
|
615
|
+
"description": "Merge Tailwind CSS classes with conflict resolution (clsx + tailwind-merge)",
|
|
616
|
+
"signature": "(...inputs: ClassValue[]) => string",
|
|
617
|
+
"category": "styling",
|
|
618
|
+
"keywords": ["classnames", "tailwind", "merge", "css"]
|
|
619
|
+
}
|
|
620
|
+
]
|
|
621
|
+
},
|
|
622
|
+
|
|
623
|
+
"theme": {
|
|
624
|
+
"provider": {
|
|
625
|
+
"name": "ThemeProvider",
|
|
626
|
+
"path": "lib/theme-context",
|
|
627
|
+
"type": "component",
|
|
628
|
+
"description": "React context provider for theme management",
|
|
629
|
+
"props": "{ defaultTheme?: Theme; children: React.ReactNode }",
|
|
630
|
+
"category": "context",
|
|
631
|
+
"keywords": ["theme", "provider", "context"]
|
|
632
|
+
},
|
|
633
|
+
"hook": {
|
|
634
|
+
"name": "useTheme",
|
|
635
|
+
"path": "lib/theme-context",
|
|
636
|
+
"type": "hook",
|
|
637
|
+
"description": "React hook for accessing theme context",
|
|
638
|
+
"returns": "ThemeContextValue",
|
|
639
|
+
"category": "hooks",
|
|
640
|
+
"keywords": ["theme", "hook", "context"]
|
|
641
|
+
},
|
|
642
|
+
"constants": [
|
|
643
|
+
{
|
|
644
|
+
"name": "THEMES",
|
|
645
|
+
"path": "lib/theme-context",
|
|
646
|
+
"type": "constant",
|
|
647
|
+
"value": ["glass", "light", "aurora"],
|
|
648
|
+
"description": "Available theme options"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "THEME_CONFIG",
|
|
652
|
+
"path": "lib/theme-context",
|
|
653
|
+
"type": "constant",
|
|
654
|
+
"description": "Theme configuration objects with labels"
|
|
655
|
+
}
|
|
656
|
+
],
|
|
657
|
+
"helpers": [
|
|
658
|
+
{
|
|
659
|
+
"name": "getNextTheme",
|
|
660
|
+
"path": "lib/theme-context",
|
|
661
|
+
"type": "function",
|
|
662
|
+
"description": "Get next theme in cycle",
|
|
663
|
+
"signature": "(currentTheme: Theme) => Theme"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"name": "getThemeConfig",
|
|
667
|
+
"path": "lib/theme-context",
|
|
668
|
+
"type": "function",
|
|
669
|
+
"description": "Get theme configuration object",
|
|
670
|
+
"signature": "(theme: Theme) => ThemeConfig"
|
|
671
|
+
}
|
|
672
|
+
]
|
|
673
|
+
},
|
|
674
|
+
|
|
675
|
+
"hooks": {
|
|
676
|
+
"exports": [
|
|
677
|
+
{
|
|
678
|
+
"name": "useFocus",
|
|
679
|
+
"path": "lib/hooks/use-focus",
|
|
680
|
+
"type": "hook",
|
|
681
|
+
"description": "Focus state management hook",
|
|
682
|
+
"returns": "{ isFocused: boolean; focusProps: object }",
|
|
683
|
+
"category": "interaction",
|
|
684
|
+
"keywords": ["focus", "interaction", "state"]
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"name": "useHover",
|
|
688
|
+
"path": "lib/hooks/use-hover",
|
|
689
|
+
"type": "hook",
|
|
690
|
+
"description": "Hover state detection hook",
|
|
691
|
+
"returns": "{ isHovered: boolean; hoverProps: object }",
|
|
692
|
+
"category": "interaction",
|
|
693
|
+
"keywords": ["hover", "interaction", "state"]
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"name": "useResponsive",
|
|
697
|
+
"path": "lib/hooks/use-responsive",
|
|
698
|
+
"type": "hook",
|
|
699
|
+
"description": "Responsive breakpoint detection hook",
|
|
700
|
+
"returns": "{ isMobile: boolean; isTablet: boolean; isDesktop: boolean }",
|
|
701
|
+
"category": "layout",
|
|
702
|
+
"keywords": ["responsive", "breakpoint", "media", "query"]
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"name": "useWallpaperTint",
|
|
706
|
+
"path": "lib/hooks/use-wallpaper-tint",
|
|
707
|
+
"type": "hook",
|
|
708
|
+
"description": "Wallpaper tint color detection hook (macOS)",
|
|
709
|
+
"returns": "{ isDark: boolean; tintColor: string }",
|
|
710
|
+
"category": "theming",
|
|
711
|
+
"keywords": ["wallpaper", "tint", "color", "macos"]
|
|
712
|
+
}
|
|
713
|
+
]
|
|
714
|
+
},
|
|
715
|
+
|
|
716
|
+
"types": {
|
|
717
|
+
"componentProps": [
|
|
718
|
+
"ButtonGlassProps",
|
|
719
|
+
"InputGlassProps",
|
|
720
|
+
"GlassCardProps",
|
|
721
|
+
"AlertGlassProps",
|
|
722
|
+
"NotificationGlassProps",
|
|
723
|
+
"AvatarGlassProps",
|
|
724
|
+
"BadgeGlassProps",
|
|
725
|
+
"CheckboxGlassProps",
|
|
726
|
+
"DropdownGlassProps",
|
|
727
|
+
"ModalGlassProps",
|
|
728
|
+
"TabsGlassProps",
|
|
729
|
+
"ToggleGlassProps",
|
|
730
|
+
"TooltipGlassProps",
|
|
731
|
+
"SkeletonGlassProps",
|
|
732
|
+
"SliderGlassProps",
|
|
733
|
+
"ProgressGlassProps",
|
|
734
|
+
"CircularProgressGlassProps",
|
|
735
|
+
"ComboBoxGlassProps",
|
|
736
|
+
"PopoverGlassProps"
|
|
737
|
+
],
|
|
738
|
+
"variants": {
|
|
739
|
+
"AlertType": ["default", "destructive", "success", "warning"],
|
|
740
|
+
"BadgeVariant": ["default", "secondary", "destructive", "outline", "success", "warning", "info"],
|
|
741
|
+
"NotificationType": ["default", "destructive", "success", "warning"],
|
|
742
|
+
"SkeletonVariant": ["text", "circle", "rectangle"],
|
|
743
|
+
"TooltipPosition": ["top", "bottom", "left", "right"],
|
|
744
|
+
"AvatarSize": ["xs", "sm", "md", "lg", "xl"],
|
|
745
|
+
"AvatarStatus": ["online", "offline", "away", "busy"],
|
|
746
|
+
"ModalSize": ["sm", "md", "lg", "xl", "full"],
|
|
747
|
+
"ProgressGradient": ["default", "rainbow", "blue", "green", "red"],
|
|
748
|
+
"GlowType": ["none", "subtle", "medium", "strong"],
|
|
749
|
+
"IntensityType": ["low", "medium", "high"]
|
|
750
|
+
},
|
|
751
|
+
"theme": {
|
|
752
|
+
"Theme": ["glass", "light", "aurora"],
|
|
753
|
+
"ThemeConfig": "{ name: Theme; label: string }",
|
|
754
|
+
"ThemeContextValue": "{ theme: Theme; setTheme: (theme: Theme) => void; cycleTheme: () => void }"
|
|
755
|
+
},
|
|
756
|
+
"common": {
|
|
757
|
+
"DropdownItem": "{ label: string; value: string; icon?: React.ReactNode; disabled?: boolean }",
|
|
758
|
+
"TabItem": "{ label: string; value: string; icon?: React.ReactNode; disabled?: boolean }"
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
|
|
762
|
+
"variants": {
|
|
763
|
+
"description": "CVA (Class Variance Authority) variant functions for advanced usage",
|
|
764
|
+
"path": "lib/variants",
|
|
765
|
+
"exports": [
|
|
766
|
+
"buttonGlassVariants",
|
|
767
|
+
"badgeGlassVariants",
|
|
768
|
+
"alertGlassVariants",
|
|
769
|
+
"notificationGlassVariants",
|
|
770
|
+
"glassCardVariants",
|
|
771
|
+
"inputGlassVariants",
|
|
772
|
+
"modalGlassVariants",
|
|
773
|
+
"avatarGlassVariants",
|
|
774
|
+
"skeletonGlassVariants",
|
|
775
|
+
"tooltipGlassVariants",
|
|
776
|
+
"progressGlassVariants",
|
|
777
|
+
"dropdownContentStyles"
|
|
778
|
+
]
|
|
779
|
+
},
|
|
780
|
+
|
|
781
|
+
"statistics": {
|
|
782
|
+
"totalComponents": 55,
|
|
783
|
+
"byLevel": {
|
|
784
|
+
"primitives": 3,
|
|
785
|
+
"core": 18,
|
|
786
|
+
"atomic": 6,
|
|
787
|
+
"specialized": 8,
|
|
788
|
+
"composite": 13,
|
|
789
|
+
"sections": 7
|
|
790
|
+
},
|
|
791
|
+
"totalTypes": 45,
|
|
792
|
+
"totalHooks": 4,
|
|
793
|
+
"totalUtilities": 1,
|
|
794
|
+
"shadcnCompatible": 18,
|
|
795
|
+
"supportsAsChild": 3,
|
|
796
|
+
"compoundAPI": 2
|
|
797
|
+
},
|
|
798
|
+
|
|
799
|
+
"usage": {
|
|
800
|
+
"mostCommon": [
|
|
801
|
+
"ButtonGlass",
|
|
802
|
+
"InputGlass",
|
|
803
|
+
"GlassCard",
|
|
804
|
+
"AlertGlass",
|
|
805
|
+
"BadgeGlass",
|
|
806
|
+
"ThemeProvider",
|
|
807
|
+
"useTheme",
|
|
808
|
+
"cn"
|
|
809
|
+
],
|
|
810
|
+
"useCases": {
|
|
811
|
+
"dashboard": [
|
|
812
|
+
"MetricCardGlass",
|
|
813
|
+
"CircularMetricGlass",
|
|
814
|
+
"MetricsGridGlass",
|
|
815
|
+
"ProgressGlass",
|
|
816
|
+
"BadgeGlass",
|
|
817
|
+
"HeaderNavGlass"
|
|
818
|
+
],
|
|
819
|
+
"forms": [
|
|
820
|
+
"InputGlass",
|
|
821
|
+
"ButtonGlass",
|
|
822
|
+
"CheckboxGlass",
|
|
823
|
+
"ToggleGlass",
|
|
824
|
+
"SliderGlass",
|
|
825
|
+
"ComboBoxGlass",
|
|
826
|
+
"DropdownGlass",
|
|
827
|
+
"AlertGlass"
|
|
828
|
+
],
|
|
829
|
+
"profile": [
|
|
830
|
+
"ProfileHeaderGlass",
|
|
831
|
+
"CareerStatsGlass",
|
|
832
|
+
"ProjectsListGlass",
|
|
833
|
+
"RepositoryCardGlass",
|
|
834
|
+
"TrustScoreCardGlass",
|
|
835
|
+
"LanguageBarGlass"
|
|
836
|
+
]
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
|
|
840
|
+
"compatibility": {
|
|
841
|
+
"shadcnUI": {
|
|
842
|
+
"compatible": true,
|
|
843
|
+
"standardProps": ["variant", "size", "disabled", "className"],
|
|
844
|
+
"standardVariants": ["default", "secondary", "destructive", "outline"]
|
|
845
|
+
},
|
|
846
|
+
"breakingChanges": {
|
|
847
|
+
"v1.0.0": [
|
|
848
|
+
{
|
|
849
|
+
"component": "ButtonGlass",
|
|
850
|
+
"old": "variant=\"danger\"",
|
|
851
|
+
"new": "variant=\"destructive\"",
|
|
852
|
+
"reason": "shadcn/ui alignment"
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"component": "AlertGlass",
|
|
856
|
+
"old": "type=\"error\"",
|
|
857
|
+
"new": "variant=\"destructive\"",
|
|
858
|
+
"reason": "Consistent prop naming"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"component": "NotificationGlass",
|
|
862
|
+
"old": "type=\"info\"",
|
|
863
|
+
"new": "variant=\"default\"",
|
|
864
|
+
"reason": "Consistent prop naming"
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"component": "SelectGlass",
|
|
868
|
+
"old": "SelectGlass",
|
|
869
|
+
"new": "ComboBoxGlass",
|
|
870
|
+
"reason": "Component replacement"
|
|
871
|
+
}
|
|
872
|
+
]
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
}
|