shadcn-glass-ui 1.0.10 → 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 +259 -16
- package/README.md +248 -28
- 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/popover-glass.json +1 -1
- 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,59 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / ToggleGlassProps
|
|
6
|
+
|
|
7
|
+
# Interface: ToggleGlassProps
|
|
8
|
+
|
|
9
|
+
Defined in: [src/components/glass/ui/toggle-glass.tsx:32](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/toggle-glass.tsx#L32)
|
|
10
|
+
|
|
11
|
+
## Extends
|
|
12
|
+
|
|
13
|
+
- `Omit`\<`React.ButtonHTMLAttributes`\<`HTMLButtonElement`\>, `"onChange"`\>.`VariantProps`\<*typeof* [`toggleSizes`](../variables/toggleSizes.md)\>
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### checked
|
|
18
|
+
|
|
19
|
+
> `readonly` **checked**: `boolean`
|
|
20
|
+
|
|
21
|
+
Defined in: [src/components/glass/ui/toggle-glass.tsx:35](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/toggle-glass.tsx#L35)
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### onChange()?
|
|
26
|
+
|
|
27
|
+
> `readonly` `optional` **onChange**: (`checked`) => `void`
|
|
28
|
+
|
|
29
|
+
Defined in: [src/components/glass/ui/toggle-glass.tsx:36](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/toggle-glass.tsx#L36)
|
|
30
|
+
|
|
31
|
+
#### Parameters
|
|
32
|
+
|
|
33
|
+
##### checked
|
|
34
|
+
|
|
35
|
+
`boolean`
|
|
36
|
+
|
|
37
|
+
#### Returns
|
|
38
|
+
|
|
39
|
+
`void`
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### label?
|
|
44
|
+
|
|
45
|
+
> `readonly` `optional` **label**: `string`
|
|
46
|
+
|
|
47
|
+
Defined in: [src/components/glass/ui/toggle-glass.tsx:37](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/toggle-glass.tsx#L37)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### size?
|
|
52
|
+
|
|
53
|
+
> `optional` **size**: `"sm"` \| `"md"` \| `"lg"` \| `null`
|
|
54
|
+
|
|
55
|
+
Defined in: [src/lib/variants/toggle-glass-variants.ts:12](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/toggle-glass-variants.ts#L12)
|
|
56
|
+
|
|
57
|
+
#### Inherited from
|
|
58
|
+
|
|
59
|
+
`VariantProps.size`
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / TooltipGlassProps
|
|
6
|
+
|
|
7
|
+
# Interface: TooltipGlassProps
|
|
8
|
+
|
|
9
|
+
Defined in: [src/components/glass/ui/tooltip-glass.tsx:90](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/tooltip-glass.tsx#L90)
|
|
10
|
+
|
|
11
|
+
Props for the TooltipGlass component
|
|
12
|
+
|
|
13
|
+
A glass-themed tooltip with configurable positioning and unified dark design.
|
|
14
|
+
Features smooth animations and WCAG-compliant accessibility attributes.
|
|
15
|
+
|
|
16
|
+
## Accessibility
|
|
17
|
+
|
|
18
|
+
- **Keyboard Navigation:** Tooltip appears on focus for keyboard users (same as hover)
|
|
19
|
+
- **Focus Management:** Tooltip does not trap focus, allows normal navigation flow
|
|
20
|
+
- **Screen Readers:** Uses `aria-describedby` to associate tooltip with trigger element (WCAG 4.1.3)
|
|
21
|
+
- **ARIA Attributes:** Tooltip marked with `role="tooltip"` and unique ID for proper association
|
|
22
|
+
- **Dismissible:** Tooltip dismisses on mouse leave, focus blur, or Escape key
|
|
23
|
+
- **Touch Targets:** N/A - tooltips appear on hover/focus, do not require direct interaction
|
|
24
|
+
- **Color Contrast:** Tooltip text meets WCAG AA contrast ratio 4.5:1 against dark background
|
|
25
|
+
- **Motion:** Fade-in animation respects `prefers-reduced-motion` settings
|
|
26
|
+
|
|
27
|
+
## Example
|
|
28
|
+
|
|
29
|
+
```tsx
|
|
30
|
+
// Basic tooltip
|
|
31
|
+
<TooltipGlass content="Click to edit">
|
|
32
|
+
<button><Edit className="w-4 h-4" /></button>
|
|
33
|
+
</TooltipGlass>
|
|
34
|
+
|
|
35
|
+
// Different positions
|
|
36
|
+
<TooltipGlass content="Top tooltip" position="top">
|
|
37
|
+
<ButtonGlass>Hover me</ButtonGlass>
|
|
38
|
+
</TooltipGlass>
|
|
39
|
+
<TooltipGlass content="Bottom tooltip" position="bottom">
|
|
40
|
+
<ButtonGlass>Hover me</ButtonGlass>
|
|
41
|
+
</TooltipGlass>
|
|
42
|
+
<TooltipGlass content="Left tooltip" position="left">
|
|
43
|
+
<ButtonGlass>Hover me</ButtonGlass>
|
|
44
|
+
</TooltipGlass>
|
|
45
|
+
<TooltipGlass content="Right tooltip" position="right">
|
|
46
|
+
<ButtonGlass>Hover me</ButtonGlass>
|
|
47
|
+
</TooltipGlass>
|
|
48
|
+
|
|
49
|
+
// Icon button with accessible tooltip (provides label)
|
|
50
|
+
<TooltipGlass content="Delete item">
|
|
51
|
+
<ButtonGlass
|
|
52
|
+
icon={Trash}
|
|
53
|
+
size="icon"
|
|
54
|
+
variant="ghost"
|
|
55
|
+
aria-label="Delete item"
|
|
56
|
+
/>
|
|
57
|
+
</TooltipGlass>
|
|
58
|
+
|
|
59
|
+
// Informational tooltip on text
|
|
60
|
+
<TooltipGlass content="This feature requires a Pro subscription">
|
|
61
|
+
<span className="underline decoration-dotted">Pro Feature</span>
|
|
62
|
+
</TooltipGlass>
|
|
63
|
+
|
|
64
|
+
// Badge with tooltip for additional context
|
|
65
|
+
<TooltipGlass content="Last updated 2 hours ago" position="top">
|
|
66
|
+
<BadgeGlass variant="success" dot>
|
|
67
|
+
Active
|
|
68
|
+
</BadgeGlass>
|
|
69
|
+
</TooltipGlass>
|
|
70
|
+
|
|
71
|
+
// Disabled button with explanation tooltip
|
|
72
|
+
<TooltipGlass content="Save your changes first to enable this action">
|
|
73
|
+
<span>
|
|
74
|
+
<ButtonGlass disabled aria-describedby="tooltip-id">
|
|
75
|
+
Export
|
|
76
|
+
</ButtonGlass>
|
|
77
|
+
</span>
|
|
78
|
+
</TooltipGlass>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Extends
|
|
82
|
+
|
|
83
|
+
- `VariantProps`\<*typeof* [`tooltipPositions`](../variables/tooltipPositions.md)\>
|
|
84
|
+
|
|
85
|
+
## Properties
|
|
86
|
+
|
|
87
|
+
### children
|
|
88
|
+
|
|
89
|
+
> `readonly` **children**: `ReactNode`
|
|
90
|
+
|
|
91
|
+
Defined in: [src/components/glass/ui/tooltip-glass.tsx:91](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/tooltip-glass.tsx#L91)
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### content
|
|
96
|
+
|
|
97
|
+
> `readonly` **content**: `string`
|
|
98
|
+
|
|
99
|
+
Defined in: [src/components/glass/ui/tooltip-glass.tsx:92](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/tooltip-glass.tsx#L92)
|
|
100
|
+
|
|
101
|
+
***
|
|
102
|
+
|
|
103
|
+
### position?
|
|
104
|
+
|
|
105
|
+
> `readonly` `optional` **position**: [`TooltipPosition`](../type-aliases/TooltipPosition.md)
|
|
106
|
+
|
|
107
|
+
Defined in: [src/components/glass/ui/tooltip-glass.tsx:93](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/tooltip-glass.tsx#L93)
|
|
108
|
+
|
|
109
|
+
#### Overrides
|
|
110
|
+
|
|
111
|
+
`VariantProps.position`
|
|
112
|
+
|
|
113
|
+
***
|
|
114
|
+
|
|
115
|
+
### className?
|
|
116
|
+
|
|
117
|
+
> `readonly` `optional` **className**: `string`
|
|
118
|
+
|
|
119
|
+
Defined in: [src/components/glass/ui/tooltip-glass.tsx:94](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/tooltip-glass.tsx#L94)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / AlertType
|
|
6
|
+
|
|
7
|
+
# Type Alias: AlertType
|
|
8
|
+
|
|
9
|
+
> **AlertType** = [`AlertVariant`](AlertVariant.md)
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/alert-glass-variants.ts:21](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/alert-glass-variants.ts#L21)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / AlertVariant
|
|
6
|
+
|
|
7
|
+
# Type Alias: AlertVariant
|
|
8
|
+
|
|
9
|
+
> **AlertVariant** = `"default"` \| `"destructive"` \| `"success"` \| `"warning"` \| `"info"` \| `"error"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/alert-glass-variants.ts:9](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/alert-glass-variants.ts#L9)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / AvatarSize
|
|
6
|
+
|
|
7
|
+
# Type Alias: AvatarSize
|
|
8
|
+
|
|
9
|
+
> **AvatarSize** = `"sm"` \| `"md"` \| `"lg"` \| `"xl"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/avatar-glass-variants.ts:8](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/avatar-glass-variants.ts#L8)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / AvatarStatus
|
|
6
|
+
|
|
7
|
+
# Type Alias: AvatarStatus
|
|
8
|
+
|
|
9
|
+
> **AvatarStatus** = `"online"` \| `"offline"` \| `"busy"` \| `"away"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/ui/avatar-glass.tsx:26](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/avatar-glass.tsx#L26)
|
|
12
|
+
|
|
13
|
+
Avatar status indicator type
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / BadgeSize
|
|
6
|
+
|
|
7
|
+
# Type Alias: BadgeSize
|
|
8
|
+
|
|
9
|
+
> **BadgeSize** = `"sm"` \| `"md"` \| `"lg"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/badge-glass-variants.ts:18](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/badge-glass-variants.ts#L18)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / BadgeVariant
|
|
6
|
+
|
|
7
|
+
# Type Alias: BadgeVariant
|
|
8
|
+
|
|
9
|
+
> **BadgeVariant** = `"default"` \| `"secondary"` \| `"destructive"` \| `"outline"` \| `"success"` \| `"warning"` \| `"info"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/badge-glass-variants.ts:8](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/badge-glass-variants.ts#L8)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / ButtonGlassSize
|
|
6
|
+
|
|
7
|
+
# Type Alias: ButtonGlassSize
|
|
8
|
+
|
|
9
|
+
> **ButtonGlassSize** = `"sm"` \| `"md"` \| `"lg"` \| `"xl"` \| `"icon"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/button-glass-variants.ts:16](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/button-glass-variants.ts#L16)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / ButtonGlassVariant
|
|
6
|
+
|
|
7
|
+
# Type Alias: ButtonGlassVariant
|
|
8
|
+
|
|
9
|
+
> **ButtonGlassVariant** = `"primary"` \| `"secondary"` \| `"ghost"` \| `"destructive"` \| `"success"` \| `"text"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/button-glass-variants.ts:8](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/button-glass-variants.ts#L8)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / DropdownAlign
|
|
6
|
+
|
|
7
|
+
# Type Alias: DropdownAlign
|
|
8
|
+
|
|
9
|
+
> **DropdownAlign** = `"left"` \| `"right"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/dropdown-glass-variants.ts:8](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/dropdown-glass-variants.ts#L8)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / GlowType
|
|
6
|
+
|
|
7
|
+
# Type Alias: GlowType
|
|
8
|
+
|
|
9
|
+
> **GlowType** = `"blue"` \| `"violet"` \| `"cyan"` \| `null`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/glass-card-variants.ts:8](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/glass-card-variants.ts#L8)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / InputGlassSize
|
|
6
|
+
|
|
7
|
+
# Type Alias: InputGlassSize
|
|
8
|
+
|
|
9
|
+
> **InputGlassSize** = `"sm"` \| `"md"` \| `"lg"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/input-glass-variants.ts:8](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/input-glass-variants.ts#L8)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / IntensityType
|
|
6
|
+
|
|
7
|
+
# Type Alias: IntensityType
|
|
8
|
+
|
|
9
|
+
> **IntensityType** = `"subtle"` \| `"medium"` \| `"strong"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/glass-card-variants.ts:9](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/glass-card-variants.ts#L9)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / ModalSize
|
|
6
|
+
|
|
7
|
+
# Type Alias: ModalSize
|
|
8
|
+
|
|
9
|
+
> **ModalSize** = `"sm"` \| `"md"` \| `"lg"` \| `"xl"` \| `"full"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/modal-glass-variants.ts:8](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/modal-glass-variants.ts#L8)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / NotificationType
|
|
6
|
+
|
|
7
|
+
# Type Alias: NotificationType
|
|
8
|
+
|
|
9
|
+
> **NotificationType** = `"info"` \| `"success"` \| `"warning"` \| `"error"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/notification-glass-variants.ts:8](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/notification-glass-variants.ts#L8)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / PaddingType
|
|
6
|
+
|
|
7
|
+
# Type Alias: PaddingType
|
|
8
|
+
|
|
9
|
+
> **PaddingType** = `"none"` \| `"compact"` \| `"default"` \| `"featured"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/glass-card-variants.ts:11](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/glass-card-variants.ts#L11)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / ProgressGradient
|
|
6
|
+
|
|
7
|
+
# Type Alias: ProgressGradient
|
|
8
|
+
|
|
9
|
+
> **ProgressGradient** = `"violet"` \| `"blue"` \| `"cyan"` \| `"amber"` \| `"emerald"` \| `"rose"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/progress-glass-variants.ts:9](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/progress-glass-variants.ts#L9)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / ProgressSize
|
|
6
|
+
|
|
7
|
+
# Type Alias: ProgressSize
|
|
8
|
+
|
|
9
|
+
> **ProgressSize** = `"sm"` \| `"md"` \| `"lg"` \| `"xl"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/progress-glass-variants.ts:8](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/progress-glass-variants.ts#L8)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / SkeletonVariant
|
|
6
|
+
|
|
7
|
+
# Type Alias: SkeletonVariant
|
|
8
|
+
|
|
9
|
+
> **SkeletonVariant** = `"text"` \| `"title"` \| `"avatar"` \| `"thumbnail"` \| `"card"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/skeleton-glass-variants.ts:8](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/skeleton-glass-variants.ts#L8)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / Theme
|
|
6
|
+
|
|
7
|
+
# Type Alias: Theme
|
|
8
|
+
|
|
9
|
+
> **Theme** = `"light"` \| `"aurora"` \| `"glass"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/theme-context.tsx:20](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/theme-context.tsx#L20)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / ToggleGlassSize
|
|
6
|
+
|
|
7
|
+
# Type Alias: ToggleGlassSize
|
|
8
|
+
|
|
9
|
+
> **ToggleGlassSize** = `"sm"` \| `"md"` \| `"lg"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/toggle-glass-variants.ts:8](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/toggle-glass-variants.ts#L8)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / TooltipPosition
|
|
6
|
+
|
|
7
|
+
# Type Alias: TooltipPosition
|
|
8
|
+
|
|
9
|
+
> **TooltipPosition** = `"top"` \| `"bottom"` \| `"left"` \| `"right"`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/lib/variants/tooltip-glass-variants.ts:8](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/lib/variants/tooltip-glass-variants.ts#L8)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / AICardGlass
|
|
6
|
+
|
|
7
|
+
# Variable: AICardGlass
|
|
8
|
+
|
|
9
|
+
> `const` **AICardGlass**: `ForwardRefExoticComponent`\<`AICardGlassProps` & `RefAttributes`\<`HTMLDivElement`\>\>
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/composite/ai-card-glass.tsx:25](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/composite/ai-card-glass.tsx#L25)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / AlertGlass
|
|
6
|
+
|
|
7
|
+
# Variable: AlertGlass
|
|
8
|
+
|
|
9
|
+
> `const` **AlertGlass**: `ForwardRefExoticComponent`\<[`AlertGlassProps`](../interfaces/AlertGlassProps.md) & `RefAttributes`\<`HTMLDivElement`\>\>
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/ui/alert-glass.tsx:175](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/alert-glass.tsx#L175)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / AvatarGlass
|
|
6
|
+
|
|
7
|
+
# Variable: AvatarGlass
|
|
8
|
+
|
|
9
|
+
> `const` **AvatarGlass**: `ForwardRefExoticComponent`\<[`AvatarGlassProps`](../interfaces/AvatarGlassProps.md) & `RefAttributes`\<`HTMLDivElement`\>\>
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/ui/avatar-glass.tsx:120](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/avatar-glass.tsx#L120)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / BadgeGlass
|
|
6
|
+
|
|
7
|
+
# Variable: BadgeGlass
|
|
8
|
+
|
|
9
|
+
> `const` **BadgeGlass**: `ForwardRefExoticComponent`\<[`BadgeGlassProps`](../interfaces/BadgeGlassProps.md) & `RefAttributes`\<`HTMLSpanElement`\>\>
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/ui/badge-glass.tsx:153](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/badge-glass.tsx#L153)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / BaseProgressGlass
|
|
6
|
+
|
|
7
|
+
# Variable: BaseProgressGlass
|
|
8
|
+
|
|
9
|
+
> `const` **BaseProgressGlass**: `ForwardRefExoticComponent`\<`BaseProgressGlassProps` & `RefAttributes`\<`HTMLDivElement`\>\>
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/specialized/base-progress-glass.tsx:34](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/specialized/base-progress-glass.tsx#L34)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / ButtonGlass
|
|
6
|
+
|
|
7
|
+
# Variable: ButtonGlass
|
|
8
|
+
|
|
9
|
+
> `const` **ButtonGlass**: `ForwardRefExoticComponent`\<[`ButtonGlassProps`](../interfaces/ButtonGlassProps.md) & `RefAttributes`\<`HTMLButtonElement`\>\>
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/ui/button-glass.tsx:213](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/button-glass.tsx#L213)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / CareerStatsGlass
|
|
6
|
+
|
|
7
|
+
# Variable: CareerStatsGlass
|
|
8
|
+
|
|
9
|
+
> `const` **CareerStatsGlass**: `ForwardRefExoticComponent`\<`CareerStatsGlassProps` & `RefAttributes`\<`HTMLDivElement`\>\>
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/sections/career-stats-glass.tsx:30](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/sections/career-stats-glass.tsx#L30)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / CareerStatsHeaderGlass
|
|
6
|
+
|
|
7
|
+
# Variable: CareerStatsHeaderGlass
|
|
8
|
+
|
|
9
|
+
> `const` **CareerStatsHeaderGlass**: `ForwardRefExoticComponent`\<`CareerStatsHeaderGlassProps` & `RefAttributes`\<`HTMLDivElement`\>\>
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/composite/career-stats-header-glass.tsx:25](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/composite/career-stats-header-glass.tsx#L25)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / CheckboxGlass
|
|
6
|
+
|
|
7
|
+
# Variable: CheckboxGlass
|
|
8
|
+
|
|
9
|
+
> `const` **CheckboxGlass**: `ForwardRefExoticComponent`\<[`CheckboxGlassProps`](../interfaces/CheckboxGlassProps.md) & `RefAttributes`\<`HTMLInputElement`\>\>
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/ui/checkbox-glass.tsx:105](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/checkbox-glass.tsx#L105)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / CircularMetricGlass
|
|
6
|
+
|
|
7
|
+
# Variable: CircularMetricGlass
|
|
8
|
+
|
|
9
|
+
> `const` **CircularMetricGlass**: `ForwardRefExoticComponent`\<`CircularMetricGlassProps` & `RefAttributes`\<`HTMLDivElement`\>\>
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/composite/circular-metric-glass.tsx:62](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/composite/circular-metric-glass.tsx#L62)
|
|
12
|
+
|
|
13
|
+
CircularMetricGlass - Compact circular progress metric display
|
|
14
|
+
|
|
15
|
+
Designed for mobile layouts where rectangular MetricCardGlass is too wide.
|
|
16
|
+
Shows a circular progress indicator with percentage inside and label below.
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```tsx
|
|
21
|
+
<CircularMetricGlass label="Reg" value={84} color="emerald" />
|
|
22
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / CircularProgressGlass
|
|
6
|
+
|
|
7
|
+
# Variable: CircularProgressGlass
|
|
8
|
+
|
|
9
|
+
> `const` **CircularProgressGlass**: `ForwardRefExoticComponent`\<`CircularProgressGlassProps` & `RefAttributes`\<`HTMLDivElement`\>\>
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/ui/circular-progress-glass.tsx:98](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/circular-progress-glass.tsx#L98)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / ComboBoxGlass
|
|
6
|
+
|
|
7
|
+
# Variable: ComboBoxGlass()
|
|
8
|
+
|
|
9
|
+
> `const` **ComboBoxGlass**: \<`T`\>(`props`) => `Element`
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/ui/combobox-glass.tsx:291](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/ui/combobox-glass.tsx#L291)
|
|
12
|
+
|
|
13
|
+
## Type Parameters
|
|
14
|
+
|
|
15
|
+
### T
|
|
16
|
+
|
|
17
|
+
`T` = `string`
|
|
18
|
+
|
|
19
|
+
## Parameters
|
|
20
|
+
|
|
21
|
+
### props
|
|
22
|
+
|
|
23
|
+
`ComboBoxGlassProps`\<`T`\> & `object`
|
|
24
|
+
|
|
25
|
+
## Returns
|
|
26
|
+
|
|
27
|
+
`Element`
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**shadcn-glass-ui API Reference v1.0.7**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[shadcn-glass-ui API Reference](../globals.md) / ContributionMetricsGlass
|
|
6
|
+
|
|
7
|
+
# Variable: ContributionMetricsGlass
|
|
8
|
+
|
|
9
|
+
> `const` **ContributionMetricsGlass**: `ForwardRefExoticComponent`\<`ContributionMetricsGlassProps` & `RefAttributes`\<`HTMLDivElement`\>\>
|
|
10
|
+
|
|
11
|
+
Defined in: [src/components/glass/composite/contribution-metrics-glass.tsx:24](https://github.com/Yhooi2/shadcn-glass-ui-library/blob/926c43a35b985ce0dee6d96ce88a1fc3d72f4d67/src/components/glass/composite/contribution-metrics-glass.tsx#L24)
|