shadcn-glass-ui 2.3.0 → 2.3.2
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 +26 -0
- package/dist/cli/index.cjs +1 -1
- package/dist/components.cjs +4 -4
- package/dist/components.mjs +1 -1
- package/dist/hooks.cjs +2 -2
- package/dist/index.cjs +12 -5
- package/dist/index.mjs +8 -1
- package/dist/r/avatar-glass.json +1 -1
- package/dist/r/checkbox-glass.json +4 -5
- package/dist/r/circular-progress-glass.json +1 -1
- package/dist/r/dropdown-glass.json +1 -1
- package/dist/r/dropdown-menu-glass.json +1 -1
- package/dist/r/flag-alert-glass.json +1 -1
- package/dist/r/glass-card.json +3 -2
- package/dist/r/notification-glass.json +1 -1
- package/dist/r/popover-glass.json +1 -1
- package/dist/r/progress-glass.json +1 -1
- package/dist/r/registry.json +2 -2
- package/dist/r/skeleton-glass.json +1 -1
- package/dist/r/slider-glass.json +1 -1
- package/dist/r/stepper-glass.json +1 -1
- package/dist/r/tabs-glass.json +5 -4
- package/dist/r/toggle-glass.json +1 -1
- package/dist/shadcn-glass-ui.css +1 -1
- package/dist/{theme-context-DmTETrFi.cjs → theme-context-7NcW0KZL.cjs} +2 -2
- package/dist/themes.cjs +1 -1
- package/dist/{trust-score-card-glass-EfMB5l5J.mjs → trust-score-card-glass-BGqBcdyJ.mjs} +120 -177
- package/dist/{trust-score-card-glass-3VBi9soW.cjs → trust-score-card-glass-DtgFygh5.cjs} +124 -179
- package/dist/{use-focus-CswOSq71.cjs → use-focus-BFBcpBh1.cjs} +2 -2
- package/dist/{use-wallpaper-tint-WtRWtupA.cjs → use-wallpaper-tint-DTTStm5f.cjs} +2 -2
- package/dist/{utils-DX6rdBol.cjs → utils-CiuCe_Aq.cjs} +2 -2
- package/dist/utils.cjs +1 -1
- package/package.json +25 -3
- package/dist/components/blocks/avatar-gallery/index.d.ts +0 -2
- package/dist/components/blocks/avatar-gallery/index.d.ts.map +0 -1
- package/dist/components/blocks/avatar-gallery/page.d.ts +0 -7
- package/dist/components/blocks/avatar-gallery/page.d.ts.map +0 -1
- package/dist/components/blocks/badges/index.d.ts +0 -2
- package/dist/components/blocks/badges/index.d.ts.map +0 -1
- package/dist/components/blocks/badges/page.d.ts +0 -7
- package/dist/components/blocks/badges/page.d.ts.map +0 -1
- package/dist/components/blocks/buttons/index.d.ts +0 -2
- package/dist/components/blocks/buttons/index.d.ts.map +0 -1
- package/dist/components/blocks/buttons/page.d.ts +0 -7
- package/dist/components/blocks/buttons/page.d.ts.map +0 -1
- package/dist/components/blocks/form-elements/index.d.ts +0 -2
- package/dist/components/blocks/form-elements/index.d.ts.map +0 -1
- package/dist/components/blocks/form-elements/page.d.ts +0 -7
- package/dist/components/blocks/form-elements/page.d.ts.map +0 -1
- package/dist/components/blocks/index.d.ts +0 -14
- package/dist/components/blocks/index.d.ts.map +0 -1
- package/dist/components/blocks/notifications/index.d.ts +0 -2
- package/dist/components/blocks/notifications/index.d.ts.map +0 -1
- package/dist/components/blocks/notifications/page.d.ts +0 -7
- package/dist/components/blocks/notifications/page.d.ts.map +0 -1
- package/dist/components/blocks/progress/index.d.ts +0 -2
- package/dist/components/blocks/progress/index.d.ts.map +0 -1
- package/dist/components/blocks/progress/page.d.ts +0 -7
- package/dist/components/blocks/progress/page.d.ts.map +0 -1
- package/dist/components/blocks/registry.d.ts +0 -16
- package/dist/components/blocks/registry.d.ts.map +0 -1
- package/dist/components/demos/AnimatedBackground.d.ts +0 -5
- package/dist/components/demos/AnimatedBackground.d.ts.map +0 -1
- package/dist/components/demos/ComponentShowcase.d.ts +0 -6
- package/dist/components/demos/ComponentShowcase.d.ts.map +0 -1
- package/dist/components/demos/DesktopShowcase.d.ts +0 -3
- package/dist/components/demos/DesktopShowcase.d.ts.map +0 -1
- package/dist/components/demos/GlassFixesDemo.d.ts +0 -6
- package/dist/components/demos/GlassFixesDemo.d.ts.map +0 -1
- package/dist/components/demos/MobileShowcase.d.ts +0 -3
- package/dist/components/demos/MobileShowcase.d.ts.map +0 -1
- package/dist/components/glass/atomic/expandable-header-glass.d.ts +0 -16
- package/dist/components/glass/atomic/expandable-header-glass.d.ts.map +0 -1
- package/dist/components/glass/atomic/icon-button-glass.d.ts +0 -18
- package/dist/components/glass/atomic/icon-button-glass.d.ts.map +0 -1
- package/dist/components/glass/atomic/index.d.ts +0 -14
- package/dist/components/glass/atomic/index.d.ts.map +0 -1
- package/dist/components/glass/atomic/insight-card-glass.d.ts +0 -22
- package/dist/components/glass/atomic/insight-card-glass.d.ts.map +0 -1
- package/dist/components/glass/atomic/search-box-glass.d.ts +0 -17
- package/dist/components/glass/atomic/search-box-glass.d.ts.map +0 -1
- package/dist/components/glass/atomic/sort-dropdown-glass.d.ts +0 -38
- package/dist/components/glass/atomic/sort-dropdown-glass.d.ts.map +0 -1
- package/dist/components/glass/atomic/stat-item-glass.d.ts +0 -22
- package/dist/components/glass/atomic/stat-item-glass.d.ts.map +0 -1
- package/dist/components/glass/atomic/theme-toggle-glass.d.ts +0 -11
- package/dist/components/glass/atomic/theme-toggle-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/ai-card-glass.d.ts +0 -7
- package/dist/components/glass/composite/ai-card-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/career-stats-header-glass.d.ts +0 -15
- package/dist/components/glass/composite/career-stats-header-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/circular-metric-glass.d.ts +0 -24
- package/dist/components/glass/composite/circular-metric-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/contribution-metrics-glass.d.ts +0 -15
- package/dist/components/glass/composite/contribution-metrics-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/index.d.ts +0 -22
- package/dist/components/glass/composite/index.d.ts.map +0 -1
- package/dist/components/glass/composite/metric-card-glass.d.ts +0 -96
- package/dist/components/glass/composite/metric-card-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/metrics-grid-glass.d.ts +0 -17
- package/dist/components/glass/composite/metrics-grid-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/repository-card-glass.d.ts +0 -16
- package/dist/components/glass/composite/repository-card-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/repository-header-glass.d.ts +0 -16
- package/dist/components/glass/composite/repository-header-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/repository-metadata-glass.d.ts +0 -13
- package/dist/components/glass/composite/repository-metadata-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/split-layout-glass/index.d.ts +0 -16
- package/dist/components/glass/composite/split-layout-glass/index.d.ts.map +0 -1
- package/dist/components/glass/composite/split-layout-glass/split-layout-accordion.d.ts +0 -66
- package/dist/components/glass/composite/split-layout-glass/split-layout-accordion.d.ts.map +0 -1
- package/dist/components/glass/composite/split-layout-glass/split-layout-context.d.ts +0 -122
- package/dist/components/glass/composite/split-layout-glass/split-layout-context.d.ts.map +0 -1
- package/dist/components/glass/composite/split-layout-glass/split-layout-glass.d.ts +0 -177
- package/dist/components/glass/composite/split-layout-glass/split-layout-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/trust-score-display-glass.d.ts +0 -15
- package/dist/components/glass/composite/trust-score-display-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/user-info-glass.d.ts +0 -15
- package/dist/components/glass/composite/user-info-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/user-stats-line-glass.d.ts +0 -15
- package/dist/components/glass/composite/user-stats-line-glass.d.ts.map +0 -1
- package/dist/components/glass/composite/year-card-glass.d.ts +0 -53
- package/dist/components/glass/composite/year-card-glass.d.ts.map +0 -1
- package/dist/components/glass/index.d.ts +0 -16
- package/dist/components/glass/index.d.ts.map +0 -1
- package/dist/components/glass/primitives/form-field-wrapper.d.ts +0 -69
- package/dist/components/glass/primitives/form-field-wrapper.d.ts.map +0 -1
- package/dist/components/glass/primitives/index.d.ts +0 -12
- package/dist/components/glass/primitives/index.d.ts.map +0 -1
- package/dist/components/glass/primitives/interactive-card.d.ts +0 -91
- package/dist/components/glass/primitives/interactive-card.d.ts.map +0 -1
- package/dist/components/glass/primitives/style-utils.d.ts +0 -147
- package/dist/components/glass/primitives/style-utils.d.ts.map +0 -1
- package/dist/components/glass/primitives/touch-target.d.ts +0 -46
- package/dist/components/glass/primitives/touch-target.d.ts.map +0 -1
- package/dist/components/glass/sections/career-stats-glass.d.ts +0 -17
- package/dist/components/glass/sections/career-stats-glass.d.ts.map +0 -1
- package/dist/components/glass/sections/flags-section-glass.d.ts +0 -13
- package/dist/components/glass/sections/flags-section-glass.d.ts.map +0 -1
- package/dist/components/glass/sections/header-branding-glass.d.ts +0 -16
- package/dist/components/glass/sections/header-branding-glass.d.ts.map +0 -1
- package/dist/components/glass/sections/header-nav-glass.d.ts +0 -7
- package/dist/components/glass/sections/header-nav-glass.d.ts.map +0 -1
- package/dist/components/glass/sections/index.d.ts +0 -13
- package/dist/components/glass/sections/index.d.ts.map +0 -1
- package/dist/components/glass/sections/profile-header-glass.d.ts +0 -16
- package/dist/components/glass/sections/profile-header-glass.d.ts.map +0 -1
- package/dist/components/glass/sections/projects-list-glass.d.ts +0 -42
- package/dist/components/glass/sections/projects-list-glass.d.ts.map +0 -1
- package/dist/components/glass/sections/trust-score-card-glass.d.ts +0 -12
- package/dist/components/glass/sections/trust-score-card-glass.d.ts.map +0 -1
- package/dist/components/glass/specialized/base-progress-glass.d.ts +0 -8
- package/dist/components/glass/specialized/base-progress-glass.d.ts.map +0 -1
- package/dist/components/glass/specialized/flag-alert-glass.d.ts +0 -8
- package/dist/components/glass/specialized/flag-alert-glass.d.ts.map +0 -1
- package/dist/components/glass/specialized/index.d.ts +0 -21
- package/dist/components/glass/specialized/index.d.ts.map +0 -1
- package/dist/components/glass/specialized/language-bar-glass.d.ts +0 -24
- package/dist/components/glass/specialized/language-bar-glass.d.ts.map +0 -1
- package/dist/components/glass/specialized/profile-avatar-glass.d.ts +0 -26
- package/dist/components/glass/specialized/profile-avatar-glass.d.ts.map +0 -1
- package/dist/components/glass/specialized/progress-glass.d.ts +0 -9
- package/dist/components/glass/specialized/progress-glass.d.ts.map +0 -1
- package/dist/components/glass/specialized/rainbow-progress-glass.d.ts +0 -8
- package/dist/components/glass/specialized/rainbow-progress-glass.d.ts.map +0 -1
- package/dist/components/glass/specialized/segmented-control-glass.d.ts +0 -11
- package/dist/components/glass/specialized/segmented-control-glass.d.ts.map +0 -1
- package/dist/components/glass/specialized/sparkline-glass.d.ts +0 -34
- package/dist/components/glass/specialized/sparkline-glass.d.ts.map +0 -1
- package/dist/components/glass/specialized/status-indicator-glass.d.ts +0 -8
- package/dist/components/glass/specialized/status-indicator-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/alert-glass.d.ts +0 -13
- package/dist/components/glass/ui/alert-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/avatar-glass.d.ts +0 -58
- package/dist/components/glass/ui/avatar-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/badge-glass.d.ts +0 -74
- package/dist/components/glass/ui/badge-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/button-glass.d.ts +0 -110
- package/dist/components/glass/ui/button-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/card-glass.d.ts +0 -115
- package/dist/components/glass/ui/card-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/checkbox-glass.d.ts +0 -113
- package/dist/components/glass/ui/checkbox-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/circular-progress-glass.d.ts +0 -36
- package/dist/components/glass/ui/circular-progress-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/combobox-glass.d.ts +0 -61
- package/dist/components/glass/ui/combobox-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/dropdown-glass.d.ts +0 -83
- package/dist/components/glass/ui/dropdown-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/dropdown-menu-glass.d.ts +0 -77
- package/dist/components/glass/ui/dropdown-menu-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/glass-card.d.ts +0 -78
- package/dist/components/glass/ui/glass-card.d.ts.map +0 -1
- package/dist/components/glass/ui/index.d.ts +0 -44
- package/dist/components/glass/ui/index.d.ts.map +0 -1
- package/dist/components/glass/ui/input-glass.d.ts +0 -98
- package/dist/components/glass/ui/input-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/modal-glass.d.ts +0 -180
- package/dist/components/glass/ui/modal-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/notification-glass.d.ts +0 -13
- package/dist/components/glass/ui/notification-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/popover-glass.d.ts +0 -71
- package/dist/components/glass/ui/popover-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/sidebar-glass/index.d.ts +0 -100
- package/dist/components/glass/ui/sidebar-glass/index.d.ts.map +0 -1
- package/dist/components/glass/ui/sidebar-glass/sidebar-context.d.ts +0 -96
- package/dist/components/glass/ui/sidebar-glass/sidebar-context.d.ts.map +0 -1
- package/dist/components/glass/ui/sidebar-glass/sidebar-glass.d.ts +0 -88
- package/dist/components/glass/ui/sidebar-glass/sidebar-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/sidebar-glass/sidebar-menu.d.ts +0 -121
- package/dist/components/glass/ui/sidebar-glass/sidebar-menu.d.ts.map +0 -1
- package/dist/components/glass/ui/skeleton-glass.d.ts +0 -8
- package/dist/components/glass/ui/skeleton-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/slider-glass.d.ts +0 -38
- package/dist/components/glass/ui/slider-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/stepper-glass.d.ts +0 -63
- package/dist/components/glass/ui/stepper-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/tabs-glass.d.ts +0 -199
- package/dist/components/glass/ui/tabs-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/toggle-glass.d.ts +0 -27
- package/dist/components/glass/ui/toggle-glass.d.ts.map +0 -1
- package/dist/components/glass/ui/tooltip-glass.d.ts +0 -65
- package/dist/components/glass/ui/tooltip-glass.d.ts.map +0 -1
- package/dist/components/ui/alert.d.ts +0 -8
- package/dist/components/ui/alert.d.ts.map +0 -1
- package/dist/components/ui/avatar.d.ts +0 -7
- package/dist/components/ui/avatar.d.ts.map +0 -1
- package/dist/components/ui/badge.d.ts +0 -8
- package/dist/components/ui/badge.d.ts.map +0 -1
- package/dist/components/ui/button.d.ts +0 -8
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/card.d.ts +0 -10
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/chart.d.ts +0 -69
- package/dist/components/ui/chart.d.ts.map +0 -1
- package/dist/components/ui/checkbox.d.ts +0 -5
- package/dist/components/ui/checkbox.d.ts.map +0 -1
- package/dist/components/ui/collapsible.d.ts +0 -6
- package/dist/components/ui/collapsible.d.ts.map +0 -1
- package/dist/components/ui/command.d.ts +0 -19
- package/dist/components/ui/command.d.ts.map +0 -1
- package/dist/components/ui/dialog.d.ts +0 -16
- package/dist/components/ui/dialog.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu.d.ts +0 -26
- package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/input.d.ts +0 -4
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/popover.d.ts +0 -8
- package/dist/components/ui/popover.d.ts.map +0 -1
- package/dist/components/ui/progress.d.ts +0 -5
- package/dist/components/ui/progress.d.ts.map +0 -1
- package/dist/components/ui/scroll-area.d.ts +0 -6
- package/dist/components/ui/scroll-area.d.ts.map +0 -1
- package/dist/components/ui/separator.d.ts +0 -5
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/components/ui/skeleton.d.ts +0 -3
- package/dist/components/ui/skeleton.d.ts.map +0 -1
- package/dist/components/ui/slider.d.ts +0 -5
- package/dist/components/ui/slider.d.ts.map +0 -1
- package/dist/components/ui/sonner.d.ts +0 -4
- package/dist/components/ui/sonner.d.ts.map +0 -1
- package/dist/components/ui/switch.d.ts +0 -5
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/components/ui/tabs.d.ts +0 -8
- package/dist/components/ui/tabs.d.ts.map +0 -1
- package/dist/components/ui/tooltip.d.ts +0 -8
- package/dist/components/ui/tooltip.d.ts.map +0 -1
- package/dist/components.d.ts.map +0 -1
- package/dist/demo-screenshot-aurora.png +0 -0
- package/dist/demo-screenshot.png +0 -0
- package/dist/demo-screenshot.png.zip +0 -0
- package/dist/hooks.d.ts.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/lib/config.d.ts +0 -28
- package/dist/lib/config.d.ts.map +0 -1
- package/dist/lib/hooks/index.d.ts +0 -11
- package/dist/lib/hooks/index.d.ts.map +0 -1
- package/dist/lib/hooks/use-focus.d.ts +0 -61
- package/dist/lib/hooks/use-focus.d.ts.map +0 -1
- package/dist/lib/hooks/use-hover.d.ts +0 -54
- package/dist/lib/hooks/use-hover.d.ts.map +0 -1
- package/dist/lib/hooks/use-responsive.d.ts +0 -44
- package/dist/lib/hooks/use-responsive.d.ts.map +0 -1
- package/dist/lib/hooks/use-wallpaper-tint.d.ts +0 -57
- package/dist/lib/hooks/use-wallpaper-tint.d.ts.map +0 -1
- package/dist/lib/hooks.d.ts +0 -92
- package/dist/lib/hooks.d.ts.map +0 -1
- package/dist/lib/theme/tokens.d.ts +0 -441
- package/dist/lib/theme/tokens.d.ts.map +0 -1
- package/dist/lib/theme-context.d.ts +0 -115
- package/dist/lib/theme-context.d.ts.map +0 -1
- package/dist/lib/types.d.ts +0 -24
- package/dist/lib/types.d.ts.map +0 -1
- package/dist/lib/utils.d.ts +0 -8
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/variants/alert-glass-variants.d.ts +0 -10
- package/dist/lib/variants/alert-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/alert-variants.d.ts +0 -8
- package/dist/lib/variants/alert-variants.d.ts.map +0 -1
- package/dist/lib/variants/avatar-glass-variants.d.ts +0 -12
- package/dist/lib/variants/avatar-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/badge-glass-variants.d.ts +0 -10
- package/dist/lib/variants/badge-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/badge-variants.d.ts +0 -8
- package/dist/lib/variants/badge-variants.d.ts.map +0 -1
- package/dist/lib/variants/button-glass-variants.d.ts +0 -29
- package/dist/lib/variants/button-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/button-variants.d.ts +0 -9
- package/dist/lib/variants/button-variants.d.ts.map +0 -1
- package/dist/lib/variants/dropdown-content-styles.d.ts +0 -102
- package/dist/lib/variants/dropdown-content-styles.d.ts.map +0 -1
- package/dist/lib/variants/dropdown-glass-variants.d.ts +0 -9
- package/dist/lib/variants/dropdown-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/glass-card-variants.d.ts +0 -13
- package/dist/lib/variants/glass-card-variants.d.ts.map +0 -1
- package/dist/lib/variants/index.d.ts +0 -26
- package/dist/lib/variants/index.d.ts.map +0 -1
- package/dist/lib/variants/input-glass-variants.d.ts +0 -9
- package/dist/lib/variants/input-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/insight-card-glass-variants.d.ts +0 -11
- package/dist/lib/variants/insight-card-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/modal-glass-variants.d.ts +0 -9
- package/dist/lib/variants/modal-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/notification-glass-variants.d.ts +0 -9
- package/dist/lib/variants/notification-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/progress-glass-variants.d.ts +0 -10
- package/dist/lib/variants/progress-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/skeleton-glass-variants.d.ts +0 -9
- package/dist/lib/variants/skeleton-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/sparkline-glass-variants.d.ts +0 -10
- package/dist/lib/variants/sparkline-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/stepper-glass-variants.d.ts +0 -40
- package/dist/lib/variants/stepper-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/toggle-glass-variants.d.ts +0 -26
- package/dist/lib/variants/toggle-glass-variants.d.ts.map +0 -1
- package/dist/lib/variants/tooltip-glass-variants.d.ts +0 -9
- package/dist/lib/variants/tooltip-glass-variants.d.ts.map +0 -1
- package/dist/theme-context-DLS2uAgJ.mjs.map +0 -1
- package/dist/theme-context-DmTETrFi.cjs.map +0 -1
- package/dist/themes.d.ts.map +0 -1
- package/dist/trust-score-card-glass-3VBi9soW.cjs.map +0 -1
- package/dist/trust-score-card-glass-EfMB5l5J.mjs.map +0 -1
- package/dist/use-focus-C5kPAKr_.mjs.map +0 -1
- package/dist/use-focus-CswOSq71.cjs.map +0 -1
- package/dist/use-wallpaper-tint-C0kYXNiN.mjs.map +0 -1
- package/dist/use-wallpaper-tint-WtRWtupA.cjs.map +0 -1
- package/dist/utils-B792GPM_.mjs.map +0 -1
- package/dist/utils-DX6rdBol.cjs.map +0 -1
- package/dist/utils.d.ts.map +0 -1
- package/docs/AI_IMPROVEMENTS_COMPLETE.md +0 -574
- package/docs/API_PATTERNS_COMPARISON.md +0 -419
- package/docs/COMPLIANCE_CHECKLIST.md +0 -307
- package/docs/COMPLIANCE_TESTING.md +0 -436
- package/docs/CSS_VARIABLES_AUDIT.md +0 -306
- package/docs/CSS_VARIABLES_REFACTORING_PLAN.md +0 -330
- package/docs/DROPDOWN_ARCHITECTURE.md +0 -290
- package/docs/METRIC_CARD_API_REDESIGN.md +0 -354
- package/docs/PRIMITIVE_MAPPING.md +0 -404
- package/docs/PUBLISHING.md +0 -593
- package/docs/REGISTRY_SUMMARY.md +0 -96
- package/docs/SECURITY.md +0 -117
- package/docs/api/README.md +0 -723
- package/docs/api/functions/ThemeProvider.md +0 -21
- package/docs/api/functions/cn.md +0 -27
- package/docs/api/functions/getNextTheme.md +0 -21
- package/docs/api/functions/getThemeConfig.md +0 -21
- package/docs/api/functions/useFocus.md +0 -53
- package/docs/api/functions/useHover.md +0 -47
- package/docs/api/functions/useResponsive.md +0 -31
- package/docs/api/functions/useTheme.md +0 -15
- package/docs/api/functions/useWallpaperTint.md +0 -36
- package/docs/api/globals.md +0 -139
- package/docs/api/interfaces/AlertGlassProps.md +0 -131
- package/docs/api/interfaces/AvatarGlassProps.md +0 -114
- package/docs/api/interfaces/BadgeGlassProps.md +0 -125
- package/docs/api/interfaces/ButtonGlassProps.md +0 -186
- package/docs/api/interfaces/CheckboxGlassProps.md +0 -125
- package/docs/api/interfaces/DropdownGlassProps.md +0 -123
- package/docs/api/interfaces/DropdownItem.md +0 -53
- package/docs/api/interfaces/GlassCardProps.md +0 -151
- package/docs/api/interfaces/InputGlassProps.md +0 -169
- package/docs/api/interfaces/NotificationGlassProps.md +0 -67
- package/docs/api/interfaces/ProgressGlassProps.md +0 -49
- package/docs/api/interfaces/SkeletonGlassProps.md +0 -41
- package/docs/api/interfaces/SliderGlassProps.md +0 -107
- package/docs/api/interfaces/TabItem.md +0 -25
- package/docs/api/interfaces/ThemeConfig.md +0 -25
- package/docs/api/interfaces/ThemeContextValue.md +0 -47
- package/docs/api/interfaces/ToggleGlassProps.md +0 -59
- package/docs/api/interfaces/TooltipGlassProps.md +0 -119
- package/docs/api/type-aliases/AlertType.md +0 -11
- package/docs/api/type-aliases/AlertVariant.md +0 -11
- package/docs/api/type-aliases/AvatarSize.md +0 -11
- package/docs/api/type-aliases/AvatarStatus.md +0 -13
- package/docs/api/type-aliases/BadgeSize.md +0 -11
- package/docs/api/type-aliases/BadgeVariant.md +0 -11
- package/docs/api/type-aliases/ButtonGlassSize.md +0 -11
- package/docs/api/type-aliases/ButtonGlassVariant.md +0 -11
- package/docs/api/type-aliases/DropdownAlign.md +0 -11
- package/docs/api/type-aliases/GlowType.md +0 -11
- package/docs/api/type-aliases/InputGlassSize.md +0 -11
- package/docs/api/type-aliases/IntensityType.md +0 -11
- package/docs/api/type-aliases/ModalSize.md +0 -11
- package/docs/api/type-aliases/NotificationType.md +0 -11
- package/docs/api/type-aliases/PaddingType.md +0 -11
- package/docs/api/type-aliases/ProgressGradient.md +0 -11
- package/docs/api/type-aliases/ProgressSize.md +0 -11
- package/docs/api/type-aliases/SkeletonVariant.md +0 -11
- package/docs/api/type-aliases/Theme.md +0 -11
- package/docs/api/type-aliases/ToggleGlassSize.md +0 -11
- package/docs/api/type-aliases/TooltipPosition.md +0 -11
- package/docs/api/variables/AICardGlass.md +0 -11
- package/docs/api/variables/AlertGlass.md +0 -11
- package/docs/api/variables/AvatarGlass.md +0 -11
- package/docs/api/variables/BadgeGlass.md +0 -11
- package/docs/api/variables/BaseProgressGlass.md +0 -11
- package/docs/api/variables/ButtonGlass.md +0 -11
- package/docs/api/variables/CareerStatsGlass.md +0 -11
- package/docs/api/variables/CareerStatsHeaderGlass.md +0 -11
- package/docs/api/variables/CheckboxGlass.md +0 -11
- package/docs/api/variables/CircularMetricGlass.md +0 -22
- package/docs/api/variables/CircularProgressGlass.md +0 -11
- package/docs/api/variables/ComboBoxGlass.md +0 -27
- package/docs/api/variables/ContributionMetricsGlass.md +0 -11
- package/docs/api/variables/DropdownGlass.md +0 -11
- package/docs/api/variables/ExpandableHeaderGlass.md +0 -11
- package/docs/api/variables/FlagAlertGlass.md +0 -11
- package/docs/api/variables/FlagsSectionGlass.md +0 -11
- package/docs/api/variables/FormFieldWrapper.md +0 -44
- package/docs/api/variables/GlassCard.md +0 -11
- package/docs/api/variables/HeaderBrandingGlass.md +0 -11
- package/docs/api/variables/HeaderNavGlass.md +0 -11
- package/docs/api/variables/IconButtonGlass.md +0 -11
- package/docs/api/variables/InputGlass.md +0 -11
- package/docs/api/variables/InteractiveCard.md +0 -45
- package/docs/api/variables/LanguageBarGlass.md +0 -11
- package/docs/api/variables/MetricCardGlass.md +0 -11
- package/docs/api/variables/MetricsGridGlass.md +0 -11
- package/docs/api/variables/ModalGlass.md +0 -73
- package/docs/api/variables/NotificationGlass.md +0 -11
- package/docs/api/variables/PopoverGlass.md +0 -11
- package/docs/api/variables/ProfileAvatarGlass.md +0 -11
- package/docs/api/variables/ProfileHeaderGlass.md +0 -11
- package/docs/api/variables/ProgressGlass.md +0 -11
- package/docs/api/variables/ProjectsListGlass.md +0 -11
- package/docs/api/variables/RainbowProgressGlass.md +0 -11
- package/docs/api/variables/RepositoryCardGlass.md +0 -11
- package/docs/api/variables/RepositoryHeaderGlass.md +0 -11
- package/docs/api/variables/RepositoryMetadataGlass.md +0 -11
- package/docs/api/variables/SearchBoxGlass.md +0 -11
- package/docs/api/variables/SegmentedControlGlass.md +0 -11
- package/docs/api/variables/SkeletonGlass.md +0 -11
- package/docs/api/variables/SliderGlass.md +0 -11
- package/docs/api/variables/SortDropdownGlass.md +0 -11
- package/docs/api/variables/StatItemGlass.md +0 -11
- package/docs/api/variables/StatusIndicatorGlass.md +0 -11
- package/docs/api/variables/THEMES.md +0 -11
- package/docs/api/variables/THEME_CONFIG.md +0 -11
- package/docs/api/variables/TabsGlass.md +0 -52
- package/docs/api/variables/ThemeToggleGlass.md +0 -11
- package/docs/api/variables/ToggleGlass.md +0 -11
- package/docs/api/variables/TooltipGlass.md +0 -11
- package/docs/api/variables/TouchTarget.md +0 -35
- package/docs/api/variables/TrustScoreCardGlass.md +0 -11
- package/docs/api/variables/TrustScoreDisplayGlass.md +0 -11
- package/docs/api/variables/UserInfoGlass.md +0 -11
- package/docs/api/variables/UserStatsLineGlass.md +0 -11
- package/docs/api/variables/YearCardGlass.md +0 -11
- package/docs/api/variables/alertVariants.md +0 -21
- package/docs/api/variables/avatarSizes.md +0 -21
- package/docs/api/variables/badgeVariants.md +0 -21
- package/docs/api/variables/buttonGlassVariants.md +0 -21
- package/docs/api/variables/cardIntensity.md +0 -21
- package/docs/api/variables/dropdownAlign.md +0 -21
- package/docs/api/variables/inputVariants.md +0 -21
- package/docs/api/variables/modalSizes.md +0 -21
- package/docs/api/variables/notificationVariants.md +0 -21
- package/docs/api/variables/progressSizes.md +0 -21
- package/docs/api/variables/shadcnAlertVariants.md +0 -21
- package/docs/api/variables/shadcnBadgeVariants.md +0 -21
- package/docs/api/variables/shadcnButtonVariants.md +0 -21
- package/docs/api/variables/skeletonVariants.md +0 -21
- package/docs/api/variables/statusSizes.md +0 -21
- package/docs/api/variables/toggleSizes.md +0 -21
- package/docs/api/variables/tooltipPositions.md +0 -21
- package/docs/design-system/UI_DESIGN.md +0 -628
- package/docs/technical/DEPENDENCIES.md +0 -291
- package/docs/visual-testing-guide.md +0 -362
package/docs/api/README.md
DELETED
|
@@ -1,723 +0,0 @@
|
|
|
1
|
-
**shadcn-glass-ui API Reference v1.0.7**
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# shadcn-glass-ui
|
|
6
|
-
|
|
7
|
-
[](https://www.npmjs.com/package/shadcn-glass-ui)
|
|
8
|
-
[](https://www.npmjs.com/package/shadcn-glass-ui)
|
|
9
|
-
[](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/main/LICENSE)
|
|
10
|
-
[](https://github.com/Yhooi2/shadcn-glass-ui-library/actions)
|
|
11
|
-
[](https://bundlephobia.com/package/shadcn-glass-ui)
|
|
12
|
-
[](https://www.typescriptlang.org/)
|
|
13
|
-
[](https://reactjs.org/)
|
|
14
|
-
[](https://tailwindcss.com/)
|
|
15
|
-
[](docs/AI_USAGE.md)
|
|
16
|
-
[](docs/AI_USAGE.md)
|
|
17
|
-
[](docs/AI_USAGE.md)
|
|
18
|
-
|
|
19
|
-
Glassmorphism UI library for React - AI-friendly with 57 components, strict TypeScript, and
|
|
20
|
-
comprehensive docs.
|
|
21
|
-
|
|
22
|
-
## ✨ Highlights
|
|
23
|
-
|
|
24
|
-
- 🎨 **57 Components** - Core UI (18) + Atomic (7) + Composite (13) + Sections (7) + Specialized
|
|
25
|
-
(9) + Primitives (3)
|
|
26
|
-
- 🌈 **3 Themes** - Glass (dark glassmorphism), Light (clean minimal), Aurora (gradient glow)
|
|
27
|
-
- 🤖 **AI-Friendly** - Optimized for Claude Code, Copilot, GPT with comprehensive docs
|
|
28
|
-
- 🔮 **Advanced Patterns** - asChild polymorphic rendering, Compound components (Modal, Tabs)
|
|
29
|
-
- ♿ **WCAG 2.1 AA** - Full accessibility compliance with automated testing
|
|
30
|
-
- 📱 **Touch Optimized** - 44×44px minimum touch targets (Apple HIG)
|
|
31
|
-
- ⚡ **Modern Stack** - React 19, Tailwind v4, Vitest 4, Storybook 10, Vite 7
|
|
32
|
-
- 🧪 **1355+ Tests** - 650+ compliance + 580 visual regression + 125 unit tests
|
|
33
|
-
- 📦 **shadcn Compatible** - Works seamlessly with existing shadcn/ui projects
|
|
34
|
-
- 🎯 **Design System** - Comprehensive [UI_DESIGN.md](../design-system/UI_DESIGN.md) specifications
|
|
35
|
-
- 📦 **Bundle Size** - ~110KB gzipped (production build)
|
|
36
|
-
|
|
37
|
-
## Tech Stack
|
|
38
|
-
|
|
39
|
-
- **React 19.2** - Server Components, React Compiler, automatic batching
|
|
40
|
-
- **TypeScript 5.9** - Strict type checking
|
|
41
|
-
- **Tailwind CSS 4.1** - CSS-first configuration with CSS variables
|
|
42
|
-
- **Vite 7** (rolldown-vite) - Rust-powered bundler
|
|
43
|
-
- **Storybook 10.1** - Component workshop with ESM-only architecture
|
|
44
|
-
- **Vitest 4.0** - Browser mode testing with visual regression
|
|
45
|
-
|
|
46
|
-
See [DEPENDENCIES.md](../technical/DEPENDENCIES.md) for detailed dependency documentation.
|
|
47
|
-
|
|
48
|
-
## 🤖 AI Assistant Support
|
|
49
|
-
|
|
50
|
-
This library is **optimized for AI coding assistants** including Claude Code, GitHub Copilot, and
|
|
51
|
-
ChatGPT:
|
|
52
|
-
|
|
53
|
-
- 📖 **Dedicated AI Guide** - [AI_USAGE.md](../../docs/AI_USAGE.md) with decision trees and
|
|
54
|
-
workflows
|
|
55
|
-
- 🎯 **TypeScript Strict Mode** - Full type inference for autocomplete
|
|
56
|
-
- 📝 **Rich JSDoc** - Every component documented with @example, @accessibility
|
|
57
|
-
- 🗂️ **Component Catalog** - [COMPONENTS_CATALOG.md](../../docs/COMPONENTS_CATALOG.md) with
|
|
58
|
-
searchable index
|
|
59
|
-
- 🔍 **Exports Map** - Machine-readable [EXPORTS_MAP.json](../../docs/EXPORTS_MAP.json)
|
|
60
|
-
- 🧪 **Real-World Examples** - Use-case based Storybook stories
|
|
61
|
-
- 📦 **shadcn CLI Compatible** - Install components via
|
|
62
|
-
`npx shadcn add @shadcn-glass-ui/button-glass`
|
|
63
|
-
|
|
64
|
-
[**→ Read AI Usage Guide**](../../docs/AI_USAGE.md) |
|
|
65
|
-
[**→ Component Catalog**](../../docs/COMPONENTS_CATALOG.md)
|
|
66
|
-
|
|
67
|
-
## 📚 Documentation
|
|
68
|
-
|
|
69
|
-
- **[Live Storybook](https://yhooi2.github.io/shadcn-glass-ui-library/)** - Interactive component
|
|
70
|
-
demos
|
|
71
|
-
- **[npm Package](https://www.npmjs.com/package/shadcn-glass-ui)** - Public npm registry
|
|
72
|
-
- **[Getting Started Guide](../../docs/GETTING_STARTED.md)** - Setup tutorial
|
|
73
|
-
- **[GitHub](https://github.com/Yhooi2/shadcn-glass-ui-library)** - Source code
|
|
74
|
-
- [Component Documentation](https://yhooi2.github.io/shadcn-glass-ui-library/?path=/docs) - Detailed
|
|
75
|
-
API references
|
|
76
|
-
- [Registry Usage Guide](../../docs/REGISTRY_USAGE.md) - shadcn CLI installation guide
|
|
77
|
-
- [Design System](../design-system/UI_DESIGN.md) - Comprehensive UI specifications
|
|
78
|
-
- [Migration Guides](../../docs/migration) - Upgrade and API changes
|
|
79
|
-
|
|
80
|
-
## 📦 Installation
|
|
81
|
-
|
|
82
|
-
Install from npm registry:
|
|
83
|
-
|
|
84
|
-
```bash
|
|
85
|
-
npm install shadcn-glass-ui
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
## 🚀 Quick Start
|
|
89
|
-
|
|
90
|
-
**Requirements:**
|
|
91
|
-
|
|
92
|
-
- React 18.0+ or 19.0+
|
|
93
|
-
- React-DOM 18.0+ or 19.0+
|
|
94
|
-
- Tailwind CSS 4.1+
|
|
95
|
-
|
|
96
|
-
### Basic Usage
|
|
97
|
-
|
|
98
|
-
```tsx
|
|
99
|
-
import { ButtonGlass, InputGlass, ThemeProvider } from 'shadcn-glass-ui';
|
|
100
|
-
import 'shadcn-glass-ui/styles.css';
|
|
101
|
-
|
|
102
|
-
function App() {
|
|
103
|
-
return (
|
|
104
|
-
<ThemeProvider defaultTheme="glass">
|
|
105
|
-
<div className="p-8 space-y-4">
|
|
106
|
-
<ButtonGlass variant="default" size="lg">
|
|
107
|
-
Click me
|
|
108
|
-
</ButtonGlass>
|
|
109
|
-
<InputGlass placeholder="Enter text..." />
|
|
110
|
-
</div>
|
|
111
|
-
</ThemeProvider>
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export default App;
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
## 🆕 Advanced Features (Phase 3)
|
|
119
|
-
|
|
120
|
-
### asChild Pattern
|
|
121
|
-
|
|
122
|
-
Polymorphic rendering with Radix UI Slot - render components as any element:
|
|
123
|
-
|
|
124
|
-
```tsx
|
|
125
|
-
import { ButtonGlass } from 'shadcn-glass-ui';
|
|
126
|
-
import { Link } from 'react-router-dom';
|
|
127
|
-
|
|
128
|
-
// Render button as Link
|
|
129
|
-
<ButtonGlass asChild>
|
|
130
|
-
<Link to="/profile">View Profile</Link>
|
|
131
|
-
</ButtonGlass>
|
|
132
|
-
|
|
133
|
-
// Render button as anchor
|
|
134
|
-
<ButtonGlass asChild variant="default">
|
|
135
|
-
<a href="https://example.com" target="_blank">
|
|
136
|
-
External Link
|
|
137
|
-
</a>
|
|
138
|
-
</ButtonGlass>
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
**Supported components:** `ButtonGlass`, `AvatarGlass`, `GlassCard`
|
|
142
|
-
|
|
143
|
-
### Compound Components
|
|
144
|
-
|
|
145
|
-
Fine-grained composition for complex components:
|
|
146
|
-
|
|
147
|
-
```tsx
|
|
148
|
-
import { ModalGlass, TabsGlass } from 'shadcn-glass-ui';
|
|
149
|
-
|
|
150
|
-
// ModalGlass Compound API
|
|
151
|
-
<ModalGlass.Root open={open} onOpenChange={setOpen}>
|
|
152
|
-
<ModalGlass.Content>
|
|
153
|
-
<ModalGlass.Header>
|
|
154
|
-
<ModalGlass.Title>Confirm Action</ModalGlass.Title>
|
|
155
|
-
<ModalGlass.Description>
|
|
156
|
-
This action cannot be undone
|
|
157
|
-
</ModalGlass.Description>
|
|
158
|
-
<ModalGlass.Close />
|
|
159
|
-
</ModalGlass.Header>
|
|
160
|
-
<ModalGlass.Body>
|
|
161
|
-
<p>Content here...</p>
|
|
162
|
-
</ModalGlass.Body>
|
|
163
|
-
<ModalGlass.Footer>
|
|
164
|
-
<ButtonGlass onClick={() => setOpen(false)}>Cancel</ButtonGlass>
|
|
165
|
-
<ButtonGlass variant="default">Confirm</ButtonGlass>
|
|
166
|
-
</ModalGlass.Footer>
|
|
167
|
-
</ModalGlass.Content>
|
|
168
|
-
</ModalGlass.Root>
|
|
169
|
-
|
|
170
|
-
// TabsGlass Compound API
|
|
171
|
-
<TabsGlass.Root value={activeTab} onValueChange={setActiveTab}>
|
|
172
|
-
<TabsGlass.List>
|
|
173
|
-
<TabsGlass.Trigger value="tab1">Overview</TabsGlass.Trigger>
|
|
174
|
-
<TabsGlass.Trigger value="tab2">Analytics</TabsGlass.Trigger>
|
|
175
|
-
</TabsGlass.List>
|
|
176
|
-
<TabsGlass.Content value="tab1">
|
|
177
|
-
<p>Overview content</p>
|
|
178
|
-
</TabsGlass.Content>
|
|
179
|
-
<TabsGlass.Content value="tab2">
|
|
180
|
-
<p>Analytics content</p>
|
|
181
|
-
</TabsGlass.Content>
|
|
182
|
-
</TabsGlass.Root>
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
## ⚠️ Breaking Changes (v1.0.0)
|
|
186
|
-
|
|
187
|
-
**v1.0.0 removes all legacy/deprecated APIs.** This is a clean slate release with only Compound API
|
|
188
|
-
support.
|
|
189
|
-
|
|
190
|
-
### Removed Components
|
|
191
|
-
|
|
192
|
-
#### SelectGlass (Removed in v1.0.0)
|
|
193
|
-
|
|
194
|
-
**SelectGlass has been removed.** Use **ComboBoxGlass** instead.
|
|
195
|
-
|
|
196
|
-
```tsx
|
|
197
|
-
// ❌ Removed in v1.0.0
|
|
198
|
-
<SelectGlass
|
|
199
|
-
options={options}
|
|
200
|
-
value={value}
|
|
201
|
-
onChange={setValue}
|
|
202
|
-
placeholder="Select option"
|
|
203
|
-
/>
|
|
204
|
-
|
|
205
|
-
// ✅ Use ComboBoxGlass
|
|
206
|
-
<ComboBoxGlass
|
|
207
|
-
options={options}
|
|
208
|
-
value={value}
|
|
209
|
-
onChange={setValue}
|
|
210
|
-
placeholder="Select option"
|
|
211
|
-
/>
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
### Removed Legacy APIs
|
|
215
|
-
|
|
216
|
-
#### ModalGlass: Legacy Props API Removed
|
|
217
|
-
|
|
218
|
-
**The old props-based API has been removed.** Use Compound API instead.
|
|
219
|
-
|
|
220
|
-
```tsx
|
|
221
|
-
// ❌ Removed in v1.0.0
|
|
222
|
-
<ModalGlass isOpen={true} onClose={() => {}} title="Test">
|
|
223
|
-
Content
|
|
224
|
-
</ModalGlass>
|
|
225
|
-
|
|
226
|
-
// ✅ Use Compound API
|
|
227
|
-
<ModalGlass.Root open={true} onOpenChange={() => {}}>
|
|
228
|
-
<ModalGlass.Content>
|
|
229
|
-
<ModalGlass.Header>
|
|
230
|
-
<ModalGlass.Title>Test</ModalGlass.Title>
|
|
231
|
-
<ModalGlass.Close />
|
|
232
|
-
</ModalGlass.Header>
|
|
233
|
-
<ModalGlass.Body>Content</ModalGlass.Body>
|
|
234
|
-
</ModalGlass.Content>
|
|
235
|
-
</ModalGlass.Root>
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
**Key Changes:**
|
|
239
|
-
|
|
240
|
-
- `isOpen` → `open` (on ModalGlass.Root)
|
|
241
|
-
- `onClose` → `onOpenChange` (callback signature changed from `() => void` to
|
|
242
|
-
`(open: boolean) => void`)
|
|
243
|
-
- `title` prop removed → use `<ModalGlass.Title>` component
|
|
244
|
-
- Manual structure required (Overlay, Content, Header, Body, Footer)
|
|
245
|
-
|
|
246
|
-
#### TabsGlass: Legacy Props API Removed
|
|
247
|
-
|
|
248
|
-
**The old props-based API has been removed.** Use Compound API instead.
|
|
249
|
-
|
|
250
|
-
```tsx
|
|
251
|
-
// ❌ Removed in v1.0.0
|
|
252
|
-
<TabsGlass
|
|
253
|
-
tabs={[
|
|
254
|
-
{ id: 'tab1', label: 'Tab 1' },
|
|
255
|
-
{ id: 'tab2', label: 'Tab 2' }
|
|
256
|
-
]}
|
|
257
|
-
activeTab="tab1"
|
|
258
|
-
onChange={setActiveTab}
|
|
259
|
-
/>
|
|
260
|
-
|
|
261
|
-
// ✅ Use Compound API
|
|
262
|
-
<TabsGlass.Root value="tab1" onValueChange={setActiveTab}>
|
|
263
|
-
<TabsGlass.List>
|
|
264
|
-
<TabsGlass.Trigger value="tab1">Tab 1</TabsGlass.Trigger>
|
|
265
|
-
<TabsGlass.Trigger value="tab2">Tab 2</TabsGlass.Trigger>
|
|
266
|
-
</TabsGlass.List>
|
|
267
|
-
<TabsGlass.Content value="tab1">Content 1</TabsGlass.Content>
|
|
268
|
-
<TabsGlass.Content value="tab2">Content 2</TabsGlass.Content>
|
|
269
|
-
</TabsGlass.Root>
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
**Key Changes:**
|
|
273
|
-
|
|
274
|
-
- `tabs` array prop removed → use individual `<TabsGlass.Trigger>` components
|
|
275
|
-
- `activeTab` → `value` (on TabsGlass.Root)
|
|
276
|
-
- `onChange` → `onValueChange`
|
|
277
|
-
- Content must be explicitly defined with `<TabsGlass.Content>` for each tab
|
|
278
|
-
|
|
279
|
-
### Migration Guides
|
|
280
|
-
|
|
281
|
-
Detailed migration guides are available in the [docs/migration/](../../docs/migration) directory:
|
|
282
|
-
|
|
283
|
-
- **[Compound Components v2](../../docs/migration/compound-components-v2.md)** - Compound component
|
|
284
|
-
patterns
|
|
285
|
-
- **[CSS Variables v2.0](../../docs/migration/CSS_VARIABLES_MIGRATION_2.0.md)** - Token migration
|
|
286
|
-
guide
|
|
287
|
-
|
|
288
|
-
### Changelog
|
|
289
|
-
|
|
290
|
-
See [CHANGELOG.md](../../CHANGELOG.md) for complete version history and breaking changes.
|
|
291
|
-
|
|
292
|
-
## 📚 Full Documentation
|
|
293
|
-
|
|
294
|
-
- **[Getting Started Guide](../../docs/GETTING_STARTED.md)** - Comprehensive setup tutorial
|
|
295
|
-
- **[AI Usage Guide](../../docs/AI_USAGE.md)** - Using library with AI assistants (Copilot, Claude,
|
|
296
|
-
GPT)
|
|
297
|
-
- **[Publishing Guide](../../docs/PUBLISHING.md)** - Build and publish with TypeScript declarations
|
|
298
|
-
- **[Storybook](https://yhooi2.github.io/shadcn-glass-ui-library/)** - Live component demos
|
|
299
|
-
- **[UI Design System](../design-system/UI_DESIGN.md)** - Complete design specifications
|
|
300
|
-
- **[Visual Testing Guide](../../docs/visual-testing-guide.md)** - Screenshot update workflow
|
|
301
|
-
- **[Migration Guide](MIGRATION_GUIDE.md)** - Upgrading from v1
|
|
302
|
-
- **[Breaking Changes](BREAKING_CHANGES.md)** - API changes log
|
|
303
|
-
- **[Dependencies](../technical/DEPENDENCIES.md)** - Detailed dependency docs
|
|
304
|
-
- **[Contributing](../../CONTRIBUTING.md)** - Development guidelines
|
|
305
|
-
|
|
306
|
-
## 🎯 Component Categories
|
|
307
|
-
|
|
308
|
-
### Level 1: Core UI (18 components)
|
|
309
|
-
|
|
310
|
-
Essential building blocks for any application:
|
|
311
|
-
|
|
312
|
-
- **Buttons & Actions**: ButtonGlass
|
|
313
|
-
- **Inputs**: InputGlass, CheckboxGlass, ToggleGlass, SliderGlass, ComboBoxGlass, PopoverGlass
|
|
314
|
-
- **Containers**: GlassCard, ModalGlass
|
|
315
|
-
- **Navigation**: TabsGlass, DropdownGlass
|
|
316
|
-
- **Feedback**: BadgeGlass, AlertGlass, NotificationGlass, TooltipGlass, SkeletonGlass,
|
|
317
|
-
ProgressGlass, CircularProgressGlass
|
|
318
|
-
- **Media**: AvatarGlass
|
|
319
|
-
|
|
320
|
-
[View all Core UI components →](https://yhooi2.github.io/shadcn-glass-ui-library/?path=/docs)
|
|
321
|
-
|
|
322
|
-
### Level 2: Atomic (6 components)
|
|
323
|
-
|
|
324
|
-
Small, specialized components for specific use cases:
|
|
325
|
-
|
|
326
|
-
- **SearchBoxGlass** - Search input with icon
|
|
327
|
-
- **ThemeToggleGlass** - Theme switcher button
|
|
328
|
-
- **ExpandableHeaderGlass** - Collapsible header section
|
|
329
|
-
- **SortDropdownGlass** - Sorting dropdown menu
|
|
330
|
-
- **StatItemGlass** - Individual stat display
|
|
331
|
-
- **IconButtonGlass** - Icon-only button variant
|
|
332
|
-
|
|
333
|
-
[View all Atomic components →](https://yhooi2.github.io/shadcn-glass-ui-library/?path=/docs)
|
|
334
|
-
|
|
335
|
-
### Level 3: Composite (13 components)
|
|
336
|
-
|
|
337
|
-
Pre-built complex components combining multiple elements:
|
|
338
|
-
|
|
339
|
-
- **AICardGlass** - AI summary card with feature list
|
|
340
|
-
- **MetricCardGlass** - Metric display card with progress indicator
|
|
341
|
-
- **YearCardGlass** - Year card for career timeline
|
|
342
|
-
- **CircularMetricGlass** - Circular progress metric display
|
|
343
|
-
- **RepositoryCardGlass** - Repository card with expandable details
|
|
344
|
-
- **RepositoryHeaderGlass** - Repository header with metadata
|
|
345
|
-
- **RepositoryMetadataGlass** - Repository metadata display
|
|
346
|
-
- **TrustScoreDisplayGlass** - Trust score with visual indicator
|
|
347
|
-
- **UserStatsLineGlass** - User statistics horizontal display
|
|
348
|
-
- **UserInfoGlass** - User information card
|
|
349
|
-
- **CareerStatsHeaderGlass** - Career statistics header
|
|
350
|
-
- **ContributionMetricsGlass** - Contribution metrics display
|
|
351
|
-
- **MetricsGridGlass** - Grid layout for metrics
|
|
352
|
-
|
|
353
|
-
[View all Composite components →](https://yhooi2.github.io/shadcn-glass-ui-library/?path=/docs)
|
|
354
|
-
|
|
355
|
-
### Specialized Components (8 components)
|
|
356
|
-
|
|
357
|
-
Advanced specialized components for specific use cases:
|
|
358
|
-
|
|
359
|
-
- **StatusIndicatorGlass** - Status dots with glow effect
|
|
360
|
-
- **SegmentedControlGlass** - Segmented button group
|
|
361
|
-
- **RainbowProgressGlass** - Rainbow gradient progress bar
|
|
362
|
-
- **LanguageBarGlass** - Language proficiency bar with legend
|
|
363
|
-
- **ProfileAvatarGlass** - Large avatar with glow animation
|
|
364
|
-
- **FlagAlertGlass** - Warning/danger flag alert with icon
|
|
365
|
-
- **ProgressGlass** - Enhanced progress bar
|
|
366
|
-
- **BaseProgressGlass** - Base progress component
|
|
367
|
-
|
|
368
|
-
[View all Specialized components →](https://yhooi2.github.io/shadcn-glass-ui-library/?path=/docs)
|
|
369
|
-
|
|
370
|
-
### Level 4: Sections (7 components)
|
|
371
|
-
|
|
372
|
-
Full-page sections ready to use in your application:
|
|
373
|
-
|
|
374
|
-
- **HeaderNavGlass** - Navigation header with search and theme toggle
|
|
375
|
-
- **ProfileHeaderGlass** - User profile header with avatar, stats, and languages
|
|
376
|
-
- **CareerStatsGlass** - Career statistics with expandable year cards
|
|
377
|
-
- **FlagsSectionGlass** - Expandable flags/warnings section
|
|
378
|
-
- **TrustScoreCardGlass** - Trust score display with detailed metrics
|
|
379
|
-
- **ProjectsListGlass** - Projects list with filtering and sorting
|
|
380
|
-
- **HeaderBrandingGlass** - Branded header with logo and navigation
|
|
381
|
-
|
|
382
|
-
[View all Section components →](https://yhooi2.github.io/shadcn-glass-ui-library/?path=/docs)
|
|
383
|
-
|
|
384
|
-
### Blocks (6 ready-to-use demo sections)
|
|
385
|
-
|
|
386
|
-
Complete component showcases following shadcn/ui pattern - these are demo/documentation components,
|
|
387
|
-
not production-ready blocks:
|
|
388
|
-
|
|
389
|
-
- **ButtonsBlock** - All button variants, sizes, states demo
|
|
390
|
-
- **FormElementsBlock** - Input, Slider, Toggle, Checkbox demos
|
|
391
|
-
- **ProgressBlock** - Progress bars, RainbowProgress, Skeletons demo
|
|
392
|
-
- **AvatarGalleryBlock** - Avatar sizes and status indicators demo
|
|
393
|
-
- **BadgesBlock** - Badge variants with tooltips demo
|
|
394
|
-
- **NotificationsBlock** - Notifications and alerts demo
|
|
395
|
-
|
|
396
|
-
**Note:** Blocks are showcase/demo components visible in Storybook. For production use, utilize
|
|
397
|
-
individual components from the categories above.
|
|
398
|
-
|
|
399
|
-
[View Blocks in Storybook →](https://yhooi2.github.io/shadcn-glass-ui-library/?path=/story/glass-blocks--default)
|
|
400
|
-
|
|
401
|
-
### Demo Pages (3 full applications)
|
|
402
|
-
|
|
403
|
-
Complete application examples showcasing all components:
|
|
404
|
-
|
|
405
|
-
- **ComponentShowcase** - Interactive demo of all 57 components with theme switching
|
|
406
|
-
- **DesktopShowcase** - GitHub Analytics desktop application mockup with glassmorphism design
|
|
407
|
-
- **MobileShowcase** - Mobile-optimized GitHub profile view with responsive layout
|
|
408
|
-
|
|
409
|
-
[Try live demos →](https://yhooi2.github.io/shadcn-glass-ui-library/)
|
|
410
|
-
|
|
411
|
-
## 🎨 Themes
|
|
412
|
-
|
|
413
|
-
shadcn-glass-ui provides three built-in themes:
|
|
414
|
-
|
|
415
|
-
### 🌑 Glass Theme (Dark Glassmorphism)
|
|
416
|
-
|
|
417
|
-
Default dark theme with frosted glass effects:
|
|
418
|
-
|
|
419
|
-
```tsx
|
|
420
|
-
<div className="theme-glass">
|
|
421
|
-
<ButtonGlass>Glassmorphic Button</ButtonGlass>
|
|
422
|
-
</div>
|
|
423
|
-
```
|
|
424
|
-
|
|
425
|
-
**Features:**
|
|
426
|
-
|
|
427
|
-
- Backdrop blur: 16px (md)
|
|
428
|
-
- Dark background with glass overlays
|
|
429
|
-
- Purple gradient accents
|
|
430
|
-
- Glow effects on hover/focus
|
|
431
|
-
|
|
432
|
-
### ☀️ Light Theme
|
|
433
|
-
|
|
434
|
-
Clean, minimal light theme:
|
|
435
|
-
|
|
436
|
-
```tsx
|
|
437
|
-
<div className="theme-light">
|
|
438
|
-
<ButtonGlass>Light Theme Button</ButtonGlass>
|
|
439
|
-
</div>
|
|
440
|
-
```
|
|
441
|
-
|
|
442
|
-
**Features:**
|
|
443
|
-
|
|
444
|
-
- Subtle shadows instead of blur
|
|
445
|
-
- White/gray color palette
|
|
446
|
-
- Reduced opacity overlays
|
|
447
|
-
- Crisp, modern aesthetic
|
|
448
|
-
|
|
449
|
-
### 🌈 Aurora Theme (Gradient)
|
|
450
|
-
|
|
451
|
-
Vibrant gradient theme with glow effects:
|
|
452
|
-
|
|
453
|
-
```tsx
|
|
454
|
-
<div className="theme-aurora">
|
|
455
|
-
<ButtonGlass>Aurora Gradient Button</ButtonGlass>
|
|
456
|
-
</div>
|
|
457
|
-
```
|
|
458
|
-
|
|
459
|
-
**Features:**
|
|
460
|
-
|
|
461
|
-
- Multi-color gradients
|
|
462
|
-
- Enhanced glow effects
|
|
463
|
-
- Dynamic backgrounds
|
|
464
|
-
- Eye-catching visuals
|
|
465
|
-
|
|
466
|
-
### Theme Switching
|
|
467
|
-
|
|
468
|
-
```tsx
|
|
469
|
-
import { useState } from 'react';
|
|
470
|
-
import { ThemeProvider, useTheme } from '@/lib/theme-context';
|
|
471
|
-
|
|
472
|
-
function App() {
|
|
473
|
-
return (
|
|
474
|
-
<ThemeProvider defaultTheme="glass">
|
|
475
|
-
<YourApp />
|
|
476
|
-
</ThemeProvider>
|
|
477
|
-
);
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
function ThemeSwitcher() {
|
|
481
|
-
const { theme, setTheme } = useTheme();
|
|
482
|
-
|
|
483
|
-
return (
|
|
484
|
-
<select value={theme} onChange={(e) => setTheme(e.target.value)}>
|
|
485
|
-
<option value="glass">Glass (Dark)</option>
|
|
486
|
-
<option value="light">Light</option>
|
|
487
|
-
<option value="aurora">Aurora</option>
|
|
488
|
-
</select>
|
|
489
|
-
);
|
|
490
|
-
}
|
|
491
|
-
```
|
|
492
|
-
|
|
493
|
-
## 🔮 Glass Effect Intensity
|
|
494
|
-
|
|
495
|
-
GlassCard supports 3 intensity levels for customizable blur effects:
|
|
496
|
-
|
|
497
|
-
```tsx
|
|
498
|
-
// Subtle glass effect (8px blur)
|
|
499
|
-
<GlassCard intensity="subtle">
|
|
500
|
-
Subtle Effect
|
|
501
|
-
</GlassCard>
|
|
502
|
-
|
|
503
|
-
// Standard glassmorphism (16px blur - default)
|
|
504
|
-
<GlassCard intensity="medium">
|
|
505
|
-
Standard Glass
|
|
506
|
-
</GlassCard>
|
|
507
|
-
|
|
508
|
-
// Strong glass effect (24px blur)
|
|
509
|
-
<GlassCard intensity="strong">
|
|
510
|
-
Strong Effect
|
|
511
|
-
</GlassCard>
|
|
512
|
-
```
|
|
513
|
-
|
|
514
|
-
**Intensity Levels:**
|
|
515
|
-
|
|
516
|
-
- `subtle` - 8px blur (--blur-sm) - Light glass effect
|
|
517
|
-
- `medium` - 16px blur (--blur-md) - Standard cards (default)
|
|
518
|
-
- `strong` - 24px blur (--blur-lg) - Featured cards
|
|
519
|
-
|
|
520
|
-
**Performance Note:** Use sparingly - limit to 2-3 glass elements per view for optimal performance.
|
|
521
|
-
|
|
522
|
-
## ♿ Accessibility
|
|
523
|
-
|
|
524
|
-
All components are WCAG 2.1 AA compliant:
|
|
525
|
-
|
|
526
|
-
- ✅ **Keyboard Navigation** - Full Tab/Enter/Arrow key support
|
|
527
|
-
- ✅ **Screen Readers** - Proper ARIA labels and roles
|
|
528
|
-
- ✅ **Focus Indicators** - Visible focus rings (2px inner + 4px outer)
|
|
529
|
-
- ✅ **Color Contrast** - Minimum 4.5:1 for text, 3:1 for UI
|
|
530
|
-
- ✅ **Touch Targets** - 44×44px minimum (Apple HIG)
|
|
531
|
-
- ✅ **Reduced Motion** - Respects `prefers-reduced-motion`
|
|
532
|
-
|
|
533
|
-
### Automated Testing
|
|
534
|
-
|
|
535
|
-
```bash
|
|
536
|
-
npm run test:compliance # Design system compliance (650+ tests)
|
|
537
|
-
npm run test:compliance:browser # Browser-based a11y tests
|
|
538
|
-
```
|
|
539
|
-
|
|
540
|
-
## 📊 Performance
|
|
541
|
-
|
|
542
|
-
Thanks to the modern stack:
|
|
543
|
-
|
|
544
|
-
### Build Performance
|
|
545
|
-
|
|
546
|
-
- **Production Builds**: 3-16x faster (Rolldown bundler)
|
|
547
|
-
- **Memory Usage**: 100x reduction vs Webpack/Rollup
|
|
548
|
-
- **Dev Server**: Near-instant start with Vite HMR
|
|
549
|
-
- **CSS Builds**: 100x faster incremental builds (Tailwind v4)
|
|
550
|
-
|
|
551
|
-
### Runtime Performance
|
|
552
|
-
|
|
553
|
-
- **Render Optimization**: 32% fewer renders (React 19 compiler)
|
|
554
|
-
- **Bundle Size**: Tree-shakeable ESM exports
|
|
555
|
-
- **Code Splitting**: Automatic route-based splitting
|
|
556
|
-
- **CSS Output**: Optimized purged CSS (~10KB gzipped)
|
|
557
|
-
|
|
558
|
-
### Performance Benchmarks
|
|
559
|
-
|
|
560
|
-
```bash
|
|
561
|
-
npm run benchmark # Run performance benchmarks
|
|
562
|
-
```
|
|
563
|
-
|
|
564
|
-
Example results:
|
|
565
|
-
|
|
566
|
-
- ButtonGlass initial render: < 1ms
|
|
567
|
-
- 100 component renders: < 50ms
|
|
568
|
-
- Theme switching: < 100ms
|
|
569
|
-
|
|
570
|
-
## 🧪 Testing
|
|
571
|
-
|
|
572
|
-
Comprehensive test coverage across multiple layers:
|
|
573
|
-
|
|
574
|
-
### Test Suites
|
|
575
|
-
|
|
576
|
-
```bash
|
|
577
|
-
# All tests (1,355+ total)
|
|
578
|
-
npm test
|
|
579
|
-
|
|
580
|
-
# Design system compliance (650+ tests)
|
|
581
|
-
npm run test:compliance:run # jsdom tests
|
|
582
|
-
npm run test:compliance:browser:run # browser tests
|
|
583
|
-
|
|
584
|
-
# Visual regression (580 screenshots)
|
|
585
|
-
npm run test:visual:ci # Run visual tests
|
|
586
|
-
npm run test:visual:update # Update baselines
|
|
587
|
-
|
|
588
|
-
# Unit tests (125 tests)
|
|
589
|
-
npm run test:unit
|
|
590
|
-
|
|
591
|
-
# Coverage report (90% target)
|
|
592
|
-
npm run test:coverage
|
|
593
|
-
```
|
|
594
|
-
|
|
595
|
-
### Test Categories
|
|
596
|
-
|
|
597
|
-
| Category | Tests | Coverage |
|
|
598
|
-
| ---------------------------- | ---------- | ----------------- |
|
|
599
|
-
| **Design System Compliance** | 650+ | 100% |
|
|
600
|
-
| **Visual Regression** | 580 | All components |
|
|
601
|
-
| **Unit Tests** | 125 | Core utilities |
|
|
602
|
-
| **Total** | **1,355+** | **Comprehensive** |
|
|
603
|
-
|
|
604
|
-
## 🛠️ Development
|
|
605
|
-
|
|
606
|
-
### Prerequisites
|
|
607
|
-
|
|
608
|
-
- **Node.js**: 20.16+, 22.19+, or 24+
|
|
609
|
-
- **npm**: Latest stable version
|
|
610
|
-
|
|
611
|
-
### Setup
|
|
612
|
-
|
|
613
|
-
```bash
|
|
614
|
-
# Clone repository
|
|
615
|
-
git clone https://github.com/Yhooi2/shadcn-glass-ui-library.git
|
|
616
|
-
cd shadcn-glass-ui-library
|
|
617
|
-
|
|
618
|
-
# Install dependencies
|
|
619
|
-
npm install
|
|
620
|
-
|
|
621
|
-
# Setup git hooks (prevents committing screenshots from non-Linux platforms)
|
|
622
|
-
./scripts/setup-git-hooks.sh
|
|
623
|
-
|
|
624
|
-
# Start development
|
|
625
|
-
npm run dev # Vite dev server (port 5173)
|
|
626
|
-
npm run storybook # Storybook (port 6006)
|
|
627
|
-
```
|
|
628
|
-
|
|
629
|
-
### Build
|
|
630
|
-
|
|
631
|
-
```bash
|
|
632
|
-
npm run build # TypeScript check + Vite build
|
|
633
|
-
npm run build-storybook # Build static Storybook
|
|
634
|
-
```
|
|
635
|
-
|
|
636
|
-
### Linting
|
|
637
|
-
|
|
638
|
-
```bash
|
|
639
|
-
npm run lint # ESLint
|
|
640
|
-
npm run format # Prettier
|
|
641
|
-
```
|
|
642
|
-
|
|
643
|
-
## 📁 Project Structure
|
|
644
|
-
|
|
645
|
-
```
|
|
646
|
-
shadcn-glass-ui/
|
|
647
|
-
├── src/
|
|
648
|
-
│ ├── components/
|
|
649
|
-
│ │ ├── glass/
|
|
650
|
-
│ │ │ ├── ui/ # Core UI components (17)
|
|
651
|
-
│ │ │ ├── atomic/ # Atomic components (6)
|
|
652
|
-
│ │ │ ├── composite/ # Composite components (13)
|
|
653
|
-
│ │ │ └── sections/ # Section components (7)
|
|
654
|
-
│ │ ├── blocks/ # Ready-to-use blocks (6)
|
|
655
|
-
│ │ ├── __visual__/ # Visual regression tests
|
|
656
|
-
│ │ ├── ComponentShowcase.tsx
|
|
657
|
-
│ │ └── DesktopShowcase.tsx
|
|
658
|
-
│ ├── lib/
|
|
659
|
-
│ │ ├── utils.ts # cn() utility
|
|
660
|
-
│ │ ├── theme-context.tsx # Theme provider
|
|
661
|
-
│ │ ├── themeStyles.ts # Theme definitions
|
|
662
|
-
│ │ └── variants/ # CVA variants
|
|
663
|
-
│ ├── styles/
|
|
664
|
-
│ │ ├── tokens/ # Design tokens
|
|
665
|
-
│ │ └── themes/ # Theme CSS
|
|
666
|
-
│ └── test/
|
|
667
|
-
│ ├── compliance/ # Compliance tests
|
|
668
|
-
│ └── utils/ # Test utilities
|
|
669
|
-
├── .storybook/ # Storybook config
|
|
670
|
-
├── docs/ # Documentation
|
|
671
|
-
├── docs/design-system/UI_DESIGN.md # Design system spec
|
|
672
|
-
└── package.json
|
|
673
|
-
```
|
|
674
|
-
|
|
675
|
-
## 🤝 Contributing
|
|
676
|
-
|
|
677
|
-
We welcome contributions! Please see [CONTRIBUTING.md](../../CONTRIBUTING.md) for guidelines.
|
|
678
|
-
|
|
679
|
-
### Quick Contribution Guide
|
|
680
|
-
|
|
681
|
-
1. Fork the repository
|
|
682
|
-
2. Create a feature branch: `git checkout -b feat/amazing-component`
|
|
683
|
-
3. Make your changes following our code standards
|
|
684
|
-
4. Run tests: `npm run test:compliance:run`
|
|
685
|
-
5. Commit with conventional commits: `feat(ui): add DatePickerGlass component`
|
|
686
|
-
6. Push and create a Pull Request
|
|
687
|
-
|
|
688
|
-
See [CONTRIBUTING.md](../../CONTRIBUTING.md) for detailed guidelines.
|
|
689
|
-
|
|
690
|
-
## 📝 License
|
|
691
|
-
|
|
692
|
-
MIT License
|
|
693
|
-
|
|
694
|
-
This project is open source under the MIT license. See [LICENSE](../../LICENSE) for details.
|
|
695
|
-
|
|
696
|
-
## 🙏 Credits
|
|
697
|
-
|
|
698
|
-
Built with amazing open source projects:
|
|
699
|
-
|
|
700
|
-
- [shadcn/ui](https://ui.shadcn.com/) - Design system foundation
|
|
701
|
-
- [Radix UI](https://www.radix-ui.com/) - Unstyled accessible primitives
|
|
702
|
-
- [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS framework
|
|
703
|
-
- [Vite](https://vitejs.dev/) - Next generation frontend tooling
|
|
704
|
-
- [Storybook](https://storybook.js.org/) - Component workshop
|
|
705
|
-
- [Vitest](https://vitest.dev/) - Blazing fast unit test framework
|
|
706
|
-
|
|
707
|
-
## 🔗 Links
|
|
708
|
-
|
|
709
|
-
- **NPM Package**: [shadcn-glass-ui](https://www.npmjs.com/package/shadcn-glass-ui)
|
|
710
|
-
- **Documentation**: [Storybook](https://yhooi2.github.io/shadcn-glass-ui-library/)
|
|
711
|
-
- **GitHub**: [shadcn-glass-ui-library](https://github.com/Yhooi2/shadcn-glass-ui-library)
|
|
712
|
-
- **Issues**: [Report a bug](https://github.com/Yhooi2/shadcn-glass-ui-library/issues)
|
|
713
|
-
- **Discussions**: [Community](https://github.com/Yhooi2/shadcn-glass-ui-library/discussions)
|
|
714
|
-
|
|
715
|
-
## ⭐ Star History
|
|
716
|
-
|
|
717
|
-
If you find this project useful, please consider giving it a star on GitHub!
|
|
718
|
-
|
|
719
|
-
[](https://star-history.com/#Yhooi2/shadcn-glass-ui-library&Date)
|
|
720
|
-
|
|
721
|
-
---
|
|
722
|
-
|
|
723
|
-
**Made with ❤️ and glassmorphism**
|