@giddaa-housing/ui 3.4.0 → 3.6.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.
Files changed (190) hide show
  1. package/css/components.css +13 -0
  2. package/css/generated/shared.css +1 -1
  3. package/dist/accordion.js +1 -1
  4. package/dist/activity-timeline.js +1 -1
  5. package/dist/alert.js +1 -1
  6. package/dist/auth-layout.js +1 -1
  7. package/dist/avatar.js +1 -1
  8. package/dist/badge.d.ts +5 -1
  9. package/dist/badge.js +20 -6
  10. package/dist/bar-chart.d.ts +1 -1
  11. package/dist/bar-chart.js +1 -1
  12. package/dist/breadcrumb.js +1 -1
  13. package/dist/bullet-chart.d.ts +1 -1
  14. package/dist/bullet-chart.js +1 -1
  15. package/dist/button-BS5KCibF.d.ts +33 -0
  16. package/dist/button-group.d.ts +1 -1
  17. package/dist/button-group.js +1 -1
  18. package/dist/button.d.ts +1 -1
  19. package/dist/button.js +50 -22
  20. package/dist/calendar.js +2 -2
  21. package/dist/call-card.js +1 -1
  22. package/dist/card.js +1 -1
  23. package/dist/carousel.d.ts +4 -2
  24. package/dist/carousel.js +13 -16
  25. package/dist/chart.d.ts +1 -1
  26. package/dist/chart.js +1 -1
  27. package/dist/chat.d.ts +1 -1
  28. package/dist/chat.js +1 -1
  29. package/dist/checkbox.d.ts +2 -2
  30. package/dist/checkbox.js +21 -7
  31. package/dist/collapsible.js +1 -1
  32. package/dist/combobox-CACVdp1R.js +430 -0
  33. package/dist/combobox.d.ts +9 -4
  34. package/dist/combobox.js +2 -309
  35. package/dist/cta.d.ts +1 -1
  36. package/dist/cta.js +1 -1
  37. package/dist/currency-selector.js +2 -2
  38. package/dist/data-table.d.ts +2 -2
  39. package/dist/data-table.js +1 -1
  40. package/dist/date-picker.d.ts +6 -5
  41. package/dist/date-picker.js +7 -17
  42. package/dist/details-card.js +1 -1
  43. package/dist/dialog.d.ts +3 -1
  44. package/dist/dialog.js +10 -6
  45. package/dist/dropdown-menu.d.ts +1 -1
  46. package/dist/dropdown-menu.js +1 -1
  47. package/dist/dropzone.js +1 -1
  48. package/dist/editorial-card.js +2 -4
  49. package/dist/empty-state.js +1 -1
  50. package/dist/field.d.ts +4 -1
  51. package/dist/field.js +29 -12
  52. package/dist/file-upload.js +1 -1
  53. package/dist/filter.js +1 -1
  54. package/dist/footer.d.ts +2 -2
  55. package/dist/footer.js +1 -1
  56. package/dist/funnel-chart.d.ts +1 -1
  57. package/dist/funnel-chart.js +1 -1
  58. package/dist/gallery-indicator.js +1 -1
  59. package/dist/heatmap-chart.d.ts +1 -1
  60. package/dist/icons-C9JXR5Xv.d.ts +111 -0
  61. package/dist/icons.d.ts +2 -93
  62. package/dist/icons.js +37 -1
  63. package/dist/image.d.ts +59 -0
  64. package/dist/image.js +53 -0
  65. package/dist/infinite-scroll.js +3 -29
  66. package/dist/infotip.js +1 -1
  67. package/dist/input-group.d.ts +6 -6
  68. package/dist/input-group.js +39 -14
  69. package/dist/input-otp.d.ts +2 -2
  70. package/dist/input-otp.js +32 -15
  71. package/dist/input-size-context-BMhves-J.d.ts +13 -0
  72. package/dist/input-size-context.d.ts +2 -2
  73. package/dist/input-size-context.js +9 -2
  74. package/dist/input.d.ts +20 -2
  75. package/dist/input.js +31 -12
  76. package/dist/item.js +1 -1
  77. package/dist/kpi-card.js +1 -1
  78. package/dist/label.js +1 -1
  79. package/dist/line-chart.d.ts +1 -1
  80. package/dist/line-chart.js +1 -1
  81. package/dist/list-item.js +1 -1
  82. package/dist/map-indicator.js +1 -1
  83. package/dist/mask-input.d.ts +1 -1
  84. package/dist/match.d.ts +5 -2
  85. package/dist/match.js +183 -27
  86. package/dist/media-gallery-hero.js +15 -10
  87. package/dist/media-player.js +5 -13
  88. package/dist/message.js +2 -12
  89. package/dist/mobile-sidebar.js +2 -1
  90. package/dist/multi-step-form.js +2 -2
  91. package/dist/number-input.d.ts +2 -2
  92. package/dist/number-input.js +3 -3
  93. package/dist/page-header.js +1 -1
  94. package/dist/pagination.d.ts +1 -1
  95. package/dist/pagination.js +1 -1
  96. package/dist/password-input.js +1 -1
  97. package/dist/phone-input.d.ts +2 -2
  98. package/dist/phone-input.js +16 -21
  99. package/dist/photo-gallery.js +6 -3
  100. package/dist/picker-BTXBrsl4.js +62 -0
  101. package/dist/picker-j3txxA5t.d.ts +14 -0
  102. package/dist/pie-chart.d.ts +1 -1
  103. package/dist/pie-chart.js +1 -1
  104. package/dist/popover-CNymD33m.d.ts +20 -0
  105. package/dist/popover.d.ts +1 -19
  106. package/dist/popover.js +1 -1
  107. package/dist/price-tag.d.ts +1 -1
  108. package/dist/price-tag.js +50 -22
  109. package/dist/progress.js +1 -1
  110. package/dist/property-listing-card.d.ts +68 -2
  111. package/dist/property-listing-card.js +115 -29
  112. package/dist/purchase-option-card.js +1 -1
  113. package/dist/radar-chart.d.ts +1 -1
  114. package/dist/radar-chart.js +1 -1
  115. package/dist/radio-group.d.ts +2 -2
  116. package/dist/radio-group.js +24 -10
  117. package/dist/review-block.js +1 -1
  118. package/dist/rich-text-editor.d.ts +1 -1
  119. package/dist/rich-text-editor.js +1 -1
  120. package/dist/scatter-chart.d.ts +1 -1
  121. package/dist/scatter-chart.js +1 -1
  122. package/dist/scroll-spy.d.ts +8 -2
  123. package/dist/scroll-spy.js +16 -16
  124. package/dist/search-input.js +1 -1
  125. package/dist/section-jumper.d.ts +31 -0
  126. package/dist/section-jumper.js +276 -0
  127. package/dist/select.d.ts +9 -4
  128. package/dist/select.js +113 -20
  129. package/dist/separator.js +1 -1
  130. package/dist/sheet.d.ts +3 -1
  131. package/dist/sheet.js +10 -6
  132. package/dist/sidebar.d.ts +2 -2
  133. package/dist/sidebar.js +4 -16
  134. package/dist/size-context-BVhHduLi.d.ts +33 -0
  135. package/dist/size-context.d.ts +2 -2
  136. package/dist/size-context.js +30 -1
  137. package/dist/skeleton.js +1 -1
  138. package/dist/slider.d.ts +5 -3
  139. package/dist/slider.js +26 -11
  140. package/dist/sonar.d.ts +1 -1
  141. package/dist/sonar.js +2 -2
  142. package/dist/sparkline.d.ts +1 -1
  143. package/dist/sparkline.js +1 -1
  144. package/dist/stepper.js +1 -1
  145. package/dist/styles.css +1622 -264
  146. package/dist/switch.d.ts +2 -2
  147. package/dist/switch.js +21 -7
  148. package/dist/table-card.js +1 -1
  149. package/dist/table.js +1 -1
  150. package/dist/tabs.d.ts +1 -1
  151. package/dist/tabs.js +1 -1
  152. package/dist/tag.d.ts +1 -1
  153. package/dist/tag.js +1 -1
  154. package/dist/testimonial-block.js +1 -1
  155. package/dist/textarea.d.ts +17 -1
  156. package/dist/textarea.js +24 -10
  157. package/dist/theme-switcher.js +1 -1
  158. package/dist/time-picker.d.ts +5 -4
  159. package/dist/time-picker.js +5 -7
  160. package/dist/toast.js +1 -1
  161. package/dist/tooltip.js +1 -1
  162. package/dist/top-navbar.js +1 -1
  163. package/dist/tree-map.d.ts +1 -1
  164. package/dist/tree-map.js +1 -1
  165. package/dist/utils/cn.d.ts +5 -0
  166. package/dist/utils/cn.js +33 -0
  167. package/dist/utils/format.d.ts +45 -0
  168. package/dist/utils/format.js +70 -0
  169. package/dist/utils/phone.d.ts +98 -0
  170. package/dist/utils/phone.js +93 -0
  171. package/dist/utils/use-intersection.d.ts +9 -0
  172. package/dist/utils/use-intersection.js +29 -0
  173. package/dist/utils/use-is-mobile.d.ts +5 -0
  174. package/dist/utils/use-is-mobile.js +16 -0
  175. package/dist/utils/use-reduced-motion.d.ts +5 -0
  176. package/dist/{use-reduced-motion-BDvOK14x.js → utils/use-reduced-motion.js} +2 -2
  177. package/dist/utils/use-uncontrolled.d.ts +11 -0
  178. package/dist/{use-uncontrolled-CLfM1XbB.js → utils/use-uncontrolled.js} +2 -2
  179. package/dist/video-player-dialog.d.ts +12 -2
  180. package/dist/video-player-dialog.js +50 -9
  181. package/dist/waterfall-chart.d.ts +1 -1
  182. package/dist/waterfall-chart.js +1 -1
  183. package/package.json +13 -1
  184. package/dist/button-DW5OijoR.d.ts +0 -17
  185. package/dist/cn-BI_4DMBf.js +0 -23
  186. package/dist/input-CfoEJ8A6.d.ts +0 -12
  187. package/dist/input-size-context-C-SFx9sx.d.ts +0 -10
  188. package/dist/picker-xSTzeYhc.js +0 -50
  189. package/dist/size-context-BX6kAdVj.d.ts +0 -11
  190. package/dist/textarea-IS_D8pXf.d.ts +0 -11
package/dist/sidebar.js CHANGED
@@ -1,32 +1,19 @@
1
1
  "use client";
2
2
  import { Menu } from "./icons.js";
3
- import { t as cn } from "./cn-BI_4DMBf.js";
3
+ import { cn } from "./utils/cn.js";
4
4
  import { Separator } from "./separator.js";
5
5
  import { Button } from "./button.js";
6
6
  import { Input } from "./input.js";
7
- import { t as useUncontrolled } from "./use-uncontrolled-CLfM1XbB.js";
7
+ import { useUncontrolled } from "./utils/use-uncontrolled.js";
8
8
  import { Skeleton } from "./skeleton.js";
9
9
  import { Tooltip, TooltipContent, TooltipTrigger } from "./tooltip.js";
10
10
  import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "./sheet.js";
11
+ import { useIsMobile } from "./utils/use-is-mobile.js";
11
12
  import { jsx, jsxs } from "react/jsx-runtime";
12
13
  import { mergeProps } from "@base-ui/react/merge-props";
13
14
  import { useRender } from "@base-ui/react/use-render";
14
15
  import { cva } from "class-variance-authority";
15
16
  import * as React from "react";
16
- //#region src/lib/use-mobile.ts
17
- const DEFAULT_MOBILE_BREAKPOINT = 1024;
18
- function useIsMobile(breakpoint = DEFAULT_MOBILE_BREAKPOINT) {
19
- const [isMobile, setIsMobile] = React.useState(false);
20
- React.useEffect(() => {
21
- const mediaQuery = window.matchMedia(`(max-width: ${breakpoint - 1}px)`);
22
- const update = () => setIsMobile(window.innerWidth < breakpoint);
23
- update();
24
- mediaQuery.addEventListener("change", update);
25
- return () => mediaQuery.removeEventListener("change", update);
26
- }, [breakpoint]);
27
- return isMobile;
28
- }
29
- //#endregion
30
17
  //#region src/sidebar.tsx
31
18
  const SIDEBAR_LS_KEY = "sidebar_state";
32
19
  const SIDEBAR_WIDTH = "17.5rem";
@@ -121,6 +108,7 @@ function Sidebar({ side = "left", variant = "sidebar", collapsible = "offcanvas"
121
108
  "data-sidebar": "sidebar",
122
109
  "data-slot": "sidebar",
123
110
  "data-mobile": "true",
111
+ popupClassName: "min-w-10/12 w-(--layout-nav-width) max-w-screen",
124
112
  className: "min-w-10/12 w-(--layout-nav-width) max-w-screen border-none bg-surface p-0 text-fg-secondary [&>button]:hidden",
125
113
  style: { "--layout-nav-width": SIDEBAR_WIDTH_MOBILE },
126
114
  side: "right",
@@ -0,0 +1,33 @@
1
+ import { ReactNode } from "react";
2
+ //#region src/size-context.d.ts
3
+ type ComponentSize = "sm" | "md" | "lg";
4
+ type ResponsiveValue<T extends string> = {
5
+ base: T;
6
+ md?: T;
7
+ lg?: T;
8
+ };
9
+ type ResolvedResponsiveValue<T extends string> = Required<ResponsiveValue<T>>;
10
+ type ResponsiveComponentSize = ResponsiveValue<ComponentSize>;
11
+ type ComponentSizeValue = ComponentSize | ResponsiveComponentSize;
12
+ declare function useInheritedComponentSize(): ComponentSizeValue | undefined;
13
+ declare function SizeProvider({ children, size }: {
14
+ children: ReactNode;
15
+ size?: ComponentSizeValue | null;
16
+ }): import("react").JSX.Element;
17
+ declare function useComponentSize(size?: ComponentSize | null, fallback?: ComponentSize): ComponentSize;
18
+ declare function useComponentSizeValue(size?: ComponentSizeValue | null, fallback?: ComponentSize): "lg" | "md" | "sm" | ResponsiveComponentSize;
19
+ declare function resolveResponsiveValue<T extends string>(value: T | ResponsiveValue<T>): ResolvedResponsiveValue<T>;
20
+ declare function resolveResponsiveComponentSize(size: ComponentSizeValue): Required<ResponsiveValue<ComponentSize>>;
21
+ declare function responsiveValueClasses<T extends string>(value: T | ResponsiveValue<T>, classes: {
22
+ base: Record<T, string>;
23
+ md: Record<T, string>;
24
+ lg: Record<T, string>;
25
+ }): {
26
+ base: T;
27
+ md: T;
28
+ lg: T;
29
+ responsive: boolean;
30
+ className: string;
31
+ };
32
+ //#endregion
33
+ export { ResponsiveValue as a, resolveResponsiveValue as c, useComponentSizeValue as d, useInheritedComponentSize as f, ResponsiveComponentSize as i, responsiveValueClasses as l, ComponentSizeValue as n, SizeProvider as o, ResolvedResponsiveValue as r, resolveResponsiveComponentSize as s, ComponentSize as t, useComponentSize as u };
@@ -1,2 +1,2 @@
1
- import { i as useInheritedComponentSize, n as SizeProvider, r as useComponentSize, t as ComponentSize } from "./size-context-BX6kAdVj.js";
2
- export { type ComponentSize, SizeProvider, useComponentSize, useInheritedComponentSize };
1
+ import { a as ResponsiveValue, c as resolveResponsiveValue, d as useComponentSizeValue, f as useInheritedComponentSize, i as ResponsiveComponentSize, l as responsiveValueClasses, n as ComponentSizeValue, o as SizeProvider, r as ResolvedResponsiveValue, s as resolveResponsiveComponentSize, t as ComponentSize, u as useComponentSize } from "./size-context-BVhHduLi.js";
2
+ export { type ComponentSize, type ComponentSizeValue, type ResolvedResponsiveValue, type ResponsiveComponentSize, type ResponsiveValue, SizeProvider, resolveResponsiveComponentSize, resolveResponsiveValue, responsiveValueClasses, useComponentSize, useComponentSizeValue, useInheritedComponentSize };
@@ -14,8 +14,37 @@ function SizeProvider({ children, size }) {
14
14
  });
15
15
  }
16
16
  function useComponentSize(size, fallback = "md") {
17
+ const inheritedSize = useInheritedComponentSize();
18
+ const resolved = size ?? inheritedSize ?? fallback;
19
+ return typeof resolved === "string" ? resolved : resolved.base;
20
+ }
21
+ function useComponentSizeValue(size, fallback = "md") {
17
22
  const inheritedSize = useInheritedComponentSize();
18
23
  return size ?? inheritedSize ?? fallback;
19
24
  }
25
+ function resolveResponsiveValue(value) {
26
+ if (typeof value === "string") return {
27
+ base: value,
28
+ md: value,
29
+ lg: value
30
+ };
31
+ const md = value.md ?? value.base;
32
+ return {
33
+ base: value.base,
34
+ md,
35
+ lg: value.lg ?? md
36
+ };
37
+ }
38
+ function resolveResponsiveComponentSize(size) {
39
+ return resolveResponsiveValue(size);
40
+ }
41
+ function responsiveValueClasses(value, classes) {
42
+ const resolved = resolveResponsiveValue(value);
43
+ return {
44
+ ...resolved,
45
+ responsive: typeof value !== "string",
46
+ className: typeof value === "string" ? classes.base[resolved.base] : `${classes.base[resolved.base]} ${classes.md[resolved.md]} ${classes.lg[resolved.lg]}`
47
+ };
48
+ }
20
49
  //#endregion
21
- export { SizeProvider, useComponentSize, useInheritedComponentSize };
50
+ export { SizeProvider, resolveResponsiveComponentSize, resolveResponsiveValue, responsiveValueClasses, useComponentSize, useComponentSizeValue, useInheritedComponentSize };
package/dist/skeleton.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as cn } from "./cn-BI_4DMBf.js";
1
+ import { cn } from "./utils/cn.js";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  //#region src/skeleton.tsx
4
4
  function Skeleton({ className, ...props }) {
package/dist/slider.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { VariantProps } from "class-variance-authority";
1
+ import { n as ComponentSizeValue } from "./size-context-BVhHduLi.js";
2
2
  import * as React from "react";
3
3
  import { Slider as Slider$1 } from "@base-ui/react/slider";
4
4
  //#region src/slider.d.ts
@@ -6,8 +6,10 @@ declare const sliderVariants: (props?: ({
6
6
  size?: "lg" | "md" | "sm" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  type SliderRootValue = number | readonly number[];
9
- type SliderSize = NonNullable<VariantProps<typeof sliderVariants>["size"]>;
10
- type SliderProps<Value extends SliderRootValue = SliderRootValue> = Slider$1.Root.Props<Value> & VariantProps<typeof sliderVariants>;
9
+ type SliderSize = ComponentSizeValue;
10
+ type SliderProps<Value extends SliderRootValue = SliderRootValue> = Slider$1.Root.Props<Value> & {
11
+ size?: SliderSize;
12
+ };
11
13
  type SliderControlProps = Slider$1.Control.Props;
12
14
  type SliderTrackProps = Slider$1.Track.Props;
13
15
  type SliderIndicatorProps = Slider$1.Indicator.Props;
package/dist/slider.js CHANGED
@@ -1,34 +1,49 @@
1
1
  "use client";
2
- import { t as cn } from "./cn-BI_4DMBf.js";
3
- import { SizeProvider, useComponentSize } from "./size-context.js";
2
+ import { cn } from "./utils/cn.js";
3
+ import { SizeProvider, responsiveValueClasses, useComponentSizeValue } from "./size-context.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { cva } from "class-variance-authority";
6
6
  import { Slider as Slider$1 } from "@base-ui/react/slider";
7
7
  //#region src/slider.tsx
8
+ const sliderSizeVariants = {
9
+ sm: "[--slider-thumb-size:1rem] [--slider-track-size:0.25rem]",
10
+ md: "[--slider-thumb-size:1.25rem] [--slider-track-size:0.375rem]",
11
+ lg: "[--slider-thumb-size:1.5rem] [--slider-track-size:0.5rem]"
12
+ };
8
13
  const sliderVariants = cva("group/slider grid w-full gap-2 disabled:cursor-not-allowed disabled:opacity-60 data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-60", {
9
- variants: { size: {
10
- sm: "[--slider-thumb-size:1rem] [--slider-track-size:0.25rem]",
11
- md: "[--slider-thumb-size:1.25rem] [--slider-track-size:0.375rem]",
12
- lg: "[--slider-thumb-size:1.5rem] [--slider-track-size:0.5rem]"
13
- } },
14
+ variants: { size: sliderSizeVariants },
14
15
  defaultVariants: { size: "md" }
15
16
  });
16
17
  function Slider({ className, children, size, disabled = false, ...props }) {
17
- const resolvedSize = useComponentSize(size);
18
+ const sizeValue = useComponentSizeValue(size);
19
+ const resolvedSize = responsiveValueClasses(sizeValue, responsiveSliderSizes);
18
20
  return /* @__PURE__ */ jsx(SizeProvider, {
19
- size: resolvedSize,
21
+ size: sizeValue,
20
22
  children: /* @__PURE__ */ jsx(Slider$1.Root, {
21
23
  thumbAlignment: "edge",
22
24
  disabled,
23
25
  "data-disabled": disabled,
24
- "data-size": resolvedSize,
26
+ "data-size": resolvedSize.base,
25
27
  "data-slot": "slider",
26
- className: cn(sliderVariants({ size: resolvedSize }), className),
28
+ className: cn(sliderVariants({ size: null }), resolvedSize.className, className),
27
29
  ...props,
28
30
  children
29
31
  })
30
32
  });
31
33
  }
34
+ const responsiveSliderSizes = {
35
+ base: sliderSizeVariants,
36
+ md: {
37
+ sm: "md:[--slider-thumb-size:1rem] md:[--slider-track-size:0.25rem]",
38
+ md: "md:[--slider-thumb-size:1.25rem] md:[--slider-track-size:0.375rem]",
39
+ lg: "md:[--slider-thumb-size:1.5rem] md:[--slider-track-size:0.5rem]"
40
+ },
41
+ lg: {
42
+ sm: "lg:[--slider-thumb-size:1rem] lg:[--slider-track-size:0.25rem]",
43
+ md: "lg:[--slider-thumb-size:1.25rem] lg:[--slider-track-size:0.375rem]",
44
+ lg: "lg:[--slider-thumb-size:1.5rem] lg:[--slider-track-size:0.5rem]"
45
+ }
46
+ };
32
47
  function SliderControl({ className, ...props }) {
33
48
  return /* @__PURE__ */ jsx(Slider$1.Control, {
34
49
  "data-slot": "slider-control",
package/dist/sonar.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as ComponentSize } from "./size-context-BX6kAdVj.js";
1
+ import { t as ComponentSize } from "./size-context-BVhHduLi.js";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import * as React from "react";
4
4
  //#region src/sonar.d.ts
package/dist/sonar.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as cn } from "./cn-BI_4DMBf.js";
2
+ import { cn } from "./utils/cn.js";
3
3
  import { useComponentSize } from "./size-context.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { cva } from "class-variance-authority";
@@ -24,7 +24,7 @@ function sameCorners(a, b) {
24
24
  * Colour rides on `currentColor` so the keyframe stays tone-agnostic: one set
25
25
  * of keyframes, one class per tone.
26
26
  */
27
- const sonarWaveVariants = cva(cn("pointer-events-none absolute inset-0 animate-sonar-wave", "motion-reduce:animate-none motion-reduce:opacity-40 motion-reduce:shadow-[0_0_0_2px_currentColor]"), {
27
+ const sonarWaveVariants = cva(cn("pointer-events-none absolute inset-0 animate-sonar-wave will-change-[box-shadow,opacity] [backface-visibility:hidden] [transform:translateZ(0)]", "motion-reduce:animate-none motion-reduce:opacity-40 motion-reduce:shadow-[0_0_0_2px_currentColor]"), {
28
28
  variants: { tone: {
29
29
  brand: "text-fg-brand",
30
30
  info: "text-status-info",
@@ -1,4 +1,4 @@
1
- import { t as ComponentSize } from "./size-context-BX6kAdVj.js";
1
+ import { t as ComponentSize } from "./size-context-BVhHduLi.js";
2
2
  import { ChartContainer, ChartValueType } from "./chart.js";
3
3
  import * as React from "react";
4
4
  //#region src/sparkline.d.ts
package/dist/sparkline.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as cn } from "./cn-BI_4DMBf.js";
2
+ import { cn } from "./utils/cn.js";
3
3
  import { useComponentSize } from "./size-context.js";
4
4
  import { ChartContainer, ChartTooltip, ChartTooltipContent } from "./chart.js";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
package/dist/stepper.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { Check } from "./icons.js";
3
- import { t as cn } from "./cn-BI_4DMBf.js";
3
+ import { cn } from "./utils/cn.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { cva } from "class-variance-authority";
6
6
  import * as React from "react";