shadcn-glass-ui 2.3.0 → 2.3.1

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.
Files changed (66) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/cli/index.cjs +1 -1
  3. package/dist/components/glass/index.d.ts +7 -5
  4. package/dist/components/glass/index.d.ts.map +1 -1
  5. package/dist/components/glass/specialized/flag-alert-glass.d.ts.map +1 -1
  6. package/dist/components/glass/specialized/progress-glass.d.ts.map +1 -1
  7. package/dist/components/glass/ui/avatar-glass.d.ts.map +1 -1
  8. package/dist/components/glass/ui/checkbox-glass.d.ts +21 -46
  9. package/dist/components/glass/ui/checkbox-glass.d.ts.map +1 -1
  10. package/dist/components/glass/ui/circular-progress-glass.d.ts.map +1 -1
  11. package/dist/components/glass/ui/dropdown-menu-glass.d.ts +11 -5
  12. package/dist/components/glass/ui/dropdown-menu-glass.d.ts.map +1 -1
  13. package/dist/components/glass/ui/glass-card.d.ts.map +1 -1
  14. package/dist/components/glass/ui/index.d.ts +7 -1
  15. package/dist/components/glass/ui/index.d.ts.map +1 -1
  16. package/dist/components/glass/ui/notification-glass.d.ts.map +1 -1
  17. package/dist/components/glass/ui/popover-glass.d.ts +6 -3
  18. package/dist/components/glass/ui/popover-glass.d.ts.map +1 -1
  19. package/dist/components/glass/ui/skeleton-glass.d.ts.map +1 -1
  20. package/dist/components/glass/ui/slider-glass.d.ts.map +1 -1
  21. package/dist/components/glass/ui/stepper-glass.d.ts.map +1 -1
  22. package/dist/components/glass/ui/tabs-glass.d.ts +93 -142
  23. package/dist/components/glass/ui/tabs-glass.d.ts.map +1 -1
  24. package/dist/components/glass/ui/toggle-glass.d.ts.map +1 -1
  25. package/dist/components.cjs +4 -4
  26. package/dist/components.mjs +1 -1
  27. package/dist/hooks.cjs +2 -2
  28. package/dist/index.cjs +12 -5
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.mjs +8 -1
  31. package/dist/index.mjs.map +1 -1
  32. package/dist/lib/variants/skeleton-glass-variants.d.ts +1 -1
  33. package/dist/r/avatar-glass.json +1 -1
  34. package/dist/r/checkbox-glass.json +4 -5
  35. package/dist/r/circular-progress-glass.json +1 -1
  36. package/dist/r/dropdown-glass.json +1 -1
  37. package/dist/r/dropdown-menu-glass.json +1 -1
  38. package/dist/r/flag-alert-glass.json +1 -1
  39. package/dist/r/glass-card.json +3 -2
  40. package/dist/r/notification-glass.json +1 -1
  41. package/dist/r/popover-glass.json +1 -1
  42. package/dist/r/progress-glass.json +1 -1
  43. package/dist/r/registry.json +2 -2
  44. package/dist/r/skeleton-glass.json +1 -1
  45. package/dist/r/slider-glass.json +1 -1
  46. package/dist/r/stepper-glass.json +1 -1
  47. package/dist/r/tabs-glass.json +5 -4
  48. package/dist/r/toggle-glass.json +1 -1
  49. package/dist/shadcn-glass-ui.css +1 -1
  50. package/dist/{theme-context-DmTETrFi.cjs → theme-context-7NcW0KZL.cjs} +2 -2
  51. package/dist/{theme-context-DmTETrFi.cjs.map → theme-context-7NcW0KZL.cjs.map} +1 -1
  52. package/dist/themes.cjs +1 -1
  53. package/dist/{trust-score-card-glass-EfMB5l5J.mjs → trust-score-card-glass-BGqBcdyJ.mjs} +120 -177
  54. package/dist/trust-score-card-glass-BGqBcdyJ.mjs.map +1 -0
  55. package/dist/{trust-score-card-glass-3VBi9soW.cjs → trust-score-card-glass-DtgFygh5.cjs} +124 -179
  56. package/dist/trust-score-card-glass-DtgFygh5.cjs.map +1 -0
  57. package/dist/{use-focus-CswOSq71.cjs → use-focus-BFBcpBh1.cjs} +2 -2
  58. package/dist/{use-focus-CswOSq71.cjs.map → use-focus-BFBcpBh1.cjs.map} +1 -1
  59. package/dist/{use-wallpaper-tint-WtRWtupA.cjs → use-wallpaper-tint-DTTStm5f.cjs} +2 -2
  60. package/dist/{use-wallpaper-tint-WtRWtupA.cjs.map → use-wallpaper-tint-DTTStm5f.cjs.map} +1 -1
  61. package/dist/{utils-DX6rdBol.cjs → utils-CiuCe_Aq.cjs} +2 -2
  62. package/dist/{utils-DX6rdBol.cjs.map → utils-CiuCe_Aq.cjs.map} +1 -1
  63. package/dist/utils.cjs +1 -1
  64. package/package.json +5 -1
  65. package/dist/trust-score-card-glass-3VBi9soW.cjs.map +0 -1
  66. package/dist/trust-score-card-glass-EfMB5l5J.mjs.map +0 -1
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as cn } from "./utils-B792GPM_.mjs";
2
- import { $ as TabsTrigger, A as FlagAlertGlass, At as DropdownMenuGlassTrigger, B as IconButtonGlass, Bt as AvatarGlass, C as sparklineContainerVariants, Ct as DropdownMenuGlassRadioGroup, D as progressSizes, Dt as DropdownMenuGlassSub, E as ProgressGlass, Et as DropdownMenuGlassShortcut, F as SortDropdownGlass, Ft as CheckboxGlass, G as TooltipGlassSimple, Gt as statusSizes, H as TooltipGlass, Ht as AvatarGlassImage, I as SearchBoxGlass, It as ButtonGlass, J as toggleSizes, Jt as AlertGlassTitle, K as TooltipGlassTrigger, Kt as AlertGlass, L as InsightCardGlass, Lt as buttonGlassVariants, M as BaseProgressGlass, Mt as inputVariants, N as ThemeToggleGlass, Nt as CircularProgressGlass, O as ProfileAvatarGlass, Ot as DropdownMenuGlassSubContent, P as StatItemGlass, Pt as Checkbox, Q as TabsList, Qt as alertVariants, R as insightCardVariants, Rt as BadgeGlass, S as sparklineBarVariants, St as DropdownMenuGlassPortal, T as RainbowProgressGlass, Tt as DropdownMenuGlassSeparator, U as TooltipGlassContent, Ut as AvatarGlassSimple, V as ExpandableHeaderGlass, Vt as AvatarGlassFallback, W as TooltipGlassProvider, Wt as avatarSizes, X as TabsContent, Xt as FormFieldWrapper, Y as Tabs, Yt as InteractiveCard, Z as TabsGlass, Zt as TouchTarget, _ as ContributionMetricsGlass, _t as DropdownMenuGlassCheckboxItem, a as HeaderBrandingGlass, at as PopoverGlassContent, b as AICardGlass, bt as DropdownMenuGlassItem, c as YearCardGlass, ct as NotificationGlass, d as TrustScoreDisplayGlass, dt as modalSizes, et as SliderGlass, f as RepositoryMetadataGlass, ft as InputGlass, g as MetricCardGlass, gt as DropdownMenuGlass, h as MetricsGridGlass, ht as DropdownGlass, i as HeaderNavGlass, it as PopoverGlassAnchor, j as StatusIndicatorGlass, jt as ComboBoxGlass, k as LanguageBarGlass, kt as DropdownMenuGlassSubTrigger, l as UserStatsLineGlass, lt as notificationVariants, m as RepositoryCardGlass, mt as cardIntensity, n as ProjectsListGlass, nt as skeletonVariants, o as FlagsSectionGlass, ot as PopoverGlassLegacy, p as RepositoryHeaderGlass, pt as GlassCard, q as ToggleGlass, qt as AlertGlassDescription, r as ProfileHeaderGlass, rt as PopoverGlass, s as CareerStatsGlass, st as PopoverGlassTrigger, t as TrustScoreCardGlass, tt as SkeletonGlass, u as UserInfoGlass, ut as ModalGlass, v as CircularMetricGlass, vt as DropdownMenuGlassContent, w as SegmentedControlGlass, wt as DropdownMenuGlassRadioItem, x as SparklineGlass, xt as DropdownMenuGlassLabel, y as CareerStatsHeaderGlass, yt as DropdownMenuGlassGroup, z as insightVariantConfig, zt as badgeVariants } from "./trust-score-card-glass-EfMB5l5J.mjs";
2
+ import { $ as TabsTrigger, A as FlagAlertGlass, At as DropdownMenuGlassTrigger, B as IconButtonGlass, Bt as AvatarGlass, C as sparklineContainerVariants, Ct as DropdownMenuGlassRadioGroup, D as progressSizes, Dt as DropdownMenuGlassSub, E as ProgressGlass, Et as DropdownMenuGlassShortcut, F as SortDropdownGlass, Ft as CheckboxGlass, G as TooltipGlassSimple, Gt as statusSizes, H as TooltipGlass, Ht as AvatarGlassImage, I as SearchBoxGlass, It as ButtonGlass, J as toggleSizes, Jt as AlertGlassTitle, K as TooltipGlassTrigger, Kt as AlertGlass, L as InsightCardGlass, Lt as buttonGlassVariants, M as BaseProgressGlass, Mt as inputVariants, N as ThemeToggleGlass, Nt as CircularProgressGlass, O as ProfileAvatarGlass, Ot as DropdownMenuGlassSubContent, P as StatItemGlass, Pt as Checkbox, Q as TabsList, Qt as alertVariants, R as insightCardVariants, Rt as BadgeGlass, S as sparklineBarVariants, St as DropdownMenuGlassPortal, T as RainbowProgressGlass, Tt as DropdownMenuGlassSeparator, U as TooltipGlassContent, Ut as AvatarGlassSimple, V as ExpandableHeaderGlass, Vt as AvatarGlassFallback, W as TooltipGlassProvider, Wt as avatarSizes, X as TabsContent, Xt as FormFieldWrapper, Y as Tabs, Yt as InteractiveCard, Z as TabsGlass, Zt as TouchTarget, _ as ContributionMetricsGlass, _t as DropdownMenuGlassCheckboxItem, a as HeaderBrandingGlass, at as PopoverGlassContent, b as AICardGlass, bt as DropdownMenuGlassItem, c as YearCardGlass, ct as NotificationGlass, d as TrustScoreDisplayGlass, dt as modalSizes, et as SliderGlass, f as RepositoryMetadataGlass, ft as InputGlass, g as MetricCardGlass, gt as DropdownMenuGlass, h as MetricsGridGlass, ht as DropdownGlass, i as HeaderNavGlass, it as PopoverGlassAnchor, j as StatusIndicatorGlass, jt as ComboBoxGlass, k as LanguageBarGlass, kt as DropdownMenuGlassSubTrigger, l as UserStatsLineGlass, lt as notificationVariants, m as RepositoryCardGlass, mt as cardIntensity, n as ProjectsListGlass, nt as skeletonVariants, o as FlagsSectionGlass, ot as PopoverGlassLegacy, p as RepositoryHeaderGlass, pt as GlassCard, q as ToggleGlass, qt as AlertGlassDescription, r as ProfileHeaderGlass, rt as PopoverGlass, s as CareerStatsGlass, st as PopoverGlassTrigger, t as TrustScoreCardGlass, tt as SkeletonGlass, u as UserInfoGlass, ut as ModalGlass, v as CircularMetricGlass, vt as DropdownMenuGlassContent, w as SegmentedControlGlass, wt as DropdownMenuGlassRadioItem, x as SparklineGlass, xt as DropdownMenuGlassLabel, y as CareerStatsHeaderGlass, yt as DropdownMenuGlassGroup, z as insightVariantConfig, zt as badgeVariants } from "./trust-score-card-glass-BGqBcdyJ.mjs";
3
3
  import { n as useHover, t as useFocus } from "./use-focus-C5kPAKr_.mjs";
4
4
  import { a as getThemeConfig, i as getNextTheme, n as THEME_CONFIG, o as useTheme, r as ThemeProvider, t as THEMES } from "./theme-context-DLS2uAgJ.mjs";
5
5
  import { n as useResponsive, t as useWallpaperTint } from "./use-wallpaper-tint-C0kYXNiN.mjs";
@@ -256,6 +256,7 @@ var StepperRoot = ({ value, onValueChange, orientation = "horizontal", variant =
256
256
  return /* @__PURE__ */ jsx(StepperContext.Provider, {
257
257
  value: contextValue,
258
258
  children: /* @__PURE__ */ jsx("div", {
259
+ "data-slot": "stepper",
259
260
  className: cn(stepperRootVariants({ orientation }), className),
260
261
  "aria-label": "Progress steps",
261
262
  children
@@ -266,6 +267,7 @@ var StepperList = forwardRef(({ children, className, ...props }, ref) => {
266
267
  const { orientation } = useStepperContext();
267
268
  return /* @__PURE__ */ jsx("div", {
268
269
  ref,
270
+ "data-slot": "stepper-list",
269
271
  role: "tablist",
270
272
  "aria-orientation": orientation,
271
273
  className: cn(stepperListVariants({ orientation }), className),
@@ -348,6 +350,7 @@ var StepperStep = forwardRef(({ value: stepValue, label, description, icon, comp
348
350
  }
349
351
  };
350
352
  if (orientation === "horizontal") return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs("div", {
353
+ "data-slot": "stepper-item",
351
354
  className: cn(stepperStepContainerVariants({ orientation }), className),
352
355
  children: [/* @__PURE__ */ jsx("button", {
353
356
  ref,
@@ -388,6 +391,7 @@ var StepperStep = forwardRef(({ value: stepValue, label, description, icon, comp
388
391
  })]
389
392
  })]
390
393
  }), !isLast && /* @__PURE__ */ jsx("div", {
394
+ "data-slot": "stepper-separator",
391
395
  className: cn(stepperConnectorVariants({ orientation })),
392
396
  style: connectorStyles,
393
397
  "aria-hidden": "true"
@@ -395,6 +399,7 @@ var StepperStep = forwardRef(({ value: stepValue, label, description, icon, comp
395
399
  return /* @__PURE__ */ jsxs("div", {
396
400
  className: "flex flex-col",
397
401
  children: [/* @__PURE__ */ jsxs("div", {
402
+ "data-slot": "stepper-item",
398
403
  className: cn(stepperStepContainerVariants({ orientation }), className),
399
404
  children: [/* @__PURE__ */ jsx("button", {
400
405
  ref,
@@ -435,6 +440,7 @@ var StepperStep = forwardRef(({ value: stepValue, label, description, icon, comp
435
440
  })]
436
441
  })]
437
442
  }), !isLast && /* @__PURE__ */ jsx("div", {
443
+ "data-slot": "stepper-separator",
438
444
  className: cn(stepperConnectorVariants({ orientation })),
439
445
  style: connectorStyles,
440
446
  "aria-hidden": "true"
@@ -448,6 +454,7 @@ var StepperContent = ({ value, children, className }) => {
448
454
  if (!isActive) return null;
449
455
  return /* @__PURE__ */ jsx("div", {
450
456
  role: "tabpanel",
457
+ "data-slot": "stepper-content",
451
458
  "aria-hidden": !isActive,
452
459
  className: cn(stepperContentVariants({ orientation }), className),
453
460
  children