commerce-toolkit 0.0.22 → 0.0.24

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 (41) hide show
  1. package/dist/components/alert/index.d.ts +1 -1
  2. package/dist/components/alert/index.d.ts.map +1 -1
  3. package/dist/components/rating/index.d.ts +1 -1
  4. package/dist/components/rating/index.d.ts.map +1 -1
  5. package/dist/components/reveal/index.d.ts +7 -0
  6. package/dist/components/reveal/index.d.ts.map +1 -0
  7. package/dist/components/reveal/primitives/reveal-controls.d.ts +4 -0
  8. package/dist/components/reveal/primitives/reveal-controls.d.ts.map +1 -0
  9. package/dist/components/reveal/primitives/reveal-provider.d.ts +23 -0
  10. package/dist/components/reveal/primitives/reveal-provider.d.ts.map +1 -0
  11. package/dist/components/reveal/primitives/reveal-root.d.ts +4 -0
  12. package/dist/components/reveal/primitives/reveal-root.d.ts.map +1 -0
  13. package/dist/components/reveal/primitives/reveal-trigger.d.ts +4 -0
  14. package/dist/components/reveal/primitives/reveal-trigger.d.ts.map +1 -0
  15. package/dist/components/reveal/primitives/reveal-viewport.d.ts +4 -0
  16. package/dist/components/reveal/primitives/reveal-viewport.d.ts.map +1 -0
  17. package/dist/components/reveal/reveal.d.ts +12 -0
  18. package/dist/components/reveal/reveal.d.ts.map +1 -0
  19. package/dist/components/scroll-area/index.d.ts +8 -0
  20. package/dist/components/scroll-area/index.d.ts.map +1 -0
  21. package/dist/components/scroll-area/primitives/scroll-area-bar.d.ts +5 -0
  22. package/dist/components/scroll-area/primitives/scroll-area-bar.d.ts.map +1 -0
  23. package/dist/components/scroll-area/primitives/scroll-area-corner.d.ts +5 -0
  24. package/dist/components/scroll-area/primitives/scroll-area-corner.d.ts.map +1 -0
  25. package/dist/components/scroll-area/primitives/scroll-area-provider.d.ts +16 -0
  26. package/dist/components/scroll-area/primitives/scroll-area-provider.d.ts.map +1 -0
  27. package/dist/components/scroll-area/primitives/scroll-area-root.d.ts +5 -0
  28. package/dist/components/scroll-area/primitives/scroll-area-root.d.ts.map +1 -0
  29. package/dist/components/scroll-area/primitives/scroll-area-thumb.d.ts +5 -0
  30. package/dist/components/scroll-area/primitives/scroll-area-thumb.d.ts.map +1 -0
  31. package/dist/components/scroll-area/primitives/scroll-area-viewport.d.ts +5 -0
  32. package/dist/components/scroll-area/primitives/scroll-area-viewport.d.ts.map +1 -0
  33. package/dist/components/scroll-area/scroll-area.d.ts +21 -0
  34. package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
  35. package/dist/index.cjs +8 -8
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.ts +4 -2
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +2027 -1246
  40. package/dist/index.js.map +1 -1
  41. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  export { Alert, type AlertProps } from '../../components/alert/alert';
2
2
  export { AlertRoot as Root, type AlertRootProps as RootProps, } from '../../components/alert/primitives/alert-root';
3
- export { AlertProvider as Provider, type AlertContext as ProviderContext, type AlertProviderProps as ProviderProps, useAlert, } from './primitives/alert-provider';
3
+ export { AlertProvider as Provider, type AlertProviderProps as ProviderProps, type AlertContext as Context, useAlert, } from './primitives/alert-provider';
4
4
  export { AlertHeader as Header, type AlertHeaderProps as HeaderProps, } from '../../components/alert/primitives/alert-header';
5
5
  export { AlertTitle as Title, type AlertTitleProps as TitleProps } from './primitives/alert-title';
6
6
  export { AlertDescription as Description, type AlertDescriptionProps as DescriptionProps, } from '../../components/alert/primitives/alert-description';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,SAAS,IAAI,IAAI,EACjB,KAAK,cAAc,IAAI,SAAS,GACjC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,aAAa,IAAI,QAAQ,EACzB,KAAK,YAAY,IAAI,eAAe,EACpC,KAAK,kBAAkB,IAAI,aAAa,EACxC,QAAQ,GACT,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,WAAW,IAAI,MAAM,EACrB,KAAK,gBAAgB,IAAI,WAAW,GACrC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,UAAU,IAAI,KAAK,EAAE,KAAK,eAAe,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACnG,OAAO,EACL,gBAAgB,IAAI,WAAW,EAC/B,KAAK,qBAAqB,IAAI,gBAAgB,GAC/C,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,YAAY,IAAI,OAAO,EACvB,KAAK,iBAAiB,IAAI,YAAY,GACvC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,WAAW,IAAI,MAAM,EACrB,KAAK,gBAAgB,IAAI,WAAW,GACrC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,gBAAgB,IAAI,WAAW,EAC/B,KAAK,qBAAqB,IAAI,gBAAgB,GAC/C,MAAM,kDAAkD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,SAAS,IAAI,IAAI,EACjB,KAAK,cAAc,IAAI,SAAS,GACjC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,aAAa,IAAI,QAAQ,EACzB,KAAK,kBAAkB,IAAI,aAAa,EACxC,KAAK,YAAY,IAAI,OAAO,EAC5B,QAAQ,GACT,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,WAAW,IAAI,MAAM,EACrB,KAAK,gBAAgB,IAAI,WAAW,GACrC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,UAAU,IAAI,KAAK,EAAE,KAAK,eAAe,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACnG,OAAO,EACL,gBAAgB,IAAI,WAAW,EAC/B,KAAK,qBAAqB,IAAI,gBAAgB,GAC/C,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,YAAY,IAAI,OAAO,EACvB,KAAK,iBAAiB,IAAI,YAAY,GACvC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,WAAW,IAAI,MAAM,EACrB,KAAK,gBAAgB,IAAI,WAAW,GACrC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,gBAAgB,IAAI,WAAW,EAC/B,KAAK,qBAAqB,IAAI,gBAAgB,GAC/C,MAAM,kDAAkD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export { Rating, type RatingProps } from '../../components/rating/rating';
2
- export { RatingProvider as Provider, type RatingProviderProps as ProviderProps, type StarType, useRating, } from '../../components/rating/primitives/rating-provider';
2
+ export { RatingProvider as Provider, type RatingProviderProps as ProviderProps, type RatingContext as Context, type StarType, useRating, } from '../../components/rating/primitives/rating-provider';
3
3
  export { RatingRoot as Root, type RatingRootProps as RootProps, } from '../../components/rating/primitives/rating-root';
4
4
  export { RatingStar as Star, type RatingStarProps as StarProps, } from '../../components/rating/primitives/rating-star';
5
5
  export { RatingStars as Stars } from '../../components/rating/primitives/rating-stars';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EACL,cAAc,IAAI,QAAQ,EAC1B,KAAK,mBAAmB,IAAI,aAAa,EACzC,KAAK,QAAQ,EACb,SAAS,GACV,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,UAAU,IAAI,IAAI,EAClB,KAAK,eAAe,IAAI,SAAS,GAClC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,UAAU,IAAI,IAAI,EAClB,KAAK,eAAe,IAAI,SAAS,GAClC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,WAAW,IAAI,KAAK,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EACL,WAAW,IAAI,KAAK,EACpB,KAAK,gBAAgB,IAAI,UAAU,GACpC,MAAM,6CAA6C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EACL,cAAc,IAAI,QAAQ,EAC1B,KAAK,mBAAmB,IAAI,aAAa,EACzC,KAAK,aAAa,IAAI,OAAO,EAC7B,KAAK,QAAQ,EACb,SAAS,GACV,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,UAAU,IAAI,IAAI,EAClB,KAAK,eAAe,IAAI,SAAS,GAClC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,UAAU,IAAI,IAAI,EAClB,KAAK,eAAe,IAAI,SAAS,GAClC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,WAAW,IAAI,KAAK,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EACL,WAAW,IAAI,KAAK,EACpB,KAAK,gBAAgB,IAAI,UAAU,GACpC,MAAM,6CAA6C,CAAC"}
@@ -0,0 +1,7 @@
1
+ export { Reveal, type RevealProps } from '../../components/reveal/reveal';
2
+ export { RevealRoot as Root, type RevealRootProps as RootProps, } from '../../components/reveal/primitives/reveal-root';
3
+ export { RevealProvider as Provider, type RevealProviderProps as ProviderProps, type RevealContext as Context, useReveal, } from '../../components/reveal/primitives/reveal-provider';
4
+ export { RevealViewport as Viewport, type RevealViewportProps as ViewportProps, } from '../../components/reveal/primitives/reveal-viewport';
5
+ export { RevealControls as Controls, type RevealControlsProps as ControlsProps, } from '../../components/reveal/primitives/reveal-controls';
6
+ export { RevealTrigger as Trigger, type RevealTriggerProps as TriggerProps, } from '../../components/reveal/primitives/reveal-trigger';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/reveal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EACL,UAAU,IAAI,IAAI,EAClB,KAAK,eAAe,IAAI,SAAS,GAClC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,cAAc,IAAI,QAAQ,EAC1B,KAAK,mBAAmB,IAAI,aAAa,EACzC,KAAK,aAAa,IAAI,OAAO,EAC7B,SAAS,GACV,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,cAAc,IAAI,QAAQ,EAC1B,KAAK,mBAAmB,IAAI,aAAa,GAC1C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,cAAc,IAAI,QAAQ,EAC1B,KAAK,mBAAmB,IAAI,aAAa,GAC1C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,aAAa,IAAI,OAAO,EACxB,KAAK,kBAAkB,IAAI,YAAY,GACxC,MAAM,+CAA+C,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ComponentProps } from 'react';
2
+ export type RevealControlsProps = ComponentProps<'div'>;
3
+ export declare function RevealControls({ children, className, ...props }: RevealControlsProps): import("react/jsx-runtime").JSX.Element | null;
4
+ //# sourceMappingURL=reveal-controls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reveal-controls.d.ts","sourceRoot":"","sources":["../../../../src/components/reveal/primitives/reveal-controls.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAExD,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,kDAUpF"}
@@ -0,0 +1,23 @@
1
+ import type { ReactNode, RefObject } from 'react';
2
+ export interface RevealContext {
3
+ isOpen: boolean;
4
+ hasOverflow: boolean;
5
+ variant: 'underline' | 'button';
6
+ showLabel: string;
7
+ hideLabel: string;
8
+ maxHeight: string;
9
+ contentRef: RefObject<HTMLDivElement | null>;
10
+ toggleOpen: () => void;
11
+ }
12
+ export declare const RevealContext: import("react").Context<RevealContext | undefined>;
13
+ export interface RevealProviderProps {
14
+ variant?: 'underline' | 'button';
15
+ showLabel?: string;
16
+ hideLabel?: string;
17
+ defaultOpen?: boolean;
18
+ maxHeight?: string;
19
+ children: ReactNode;
20
+ }
21
+ export declare function RevealProvider({ children, variant, showLabel, hideLabel, defaultOpen, maxHeight, }: RevealProviderProps): import("react/jsx-runtime").JSX.Element;
22
+ export declare function useReveal(): RevealContext;
23
+ //# sourceMappingURL=reveal-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reveal-provider.d.ts","sourceRoot":"","sources":["../../../../src/components/reveal/primitives/reveal-provider.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,WAAW,GAAG,QAAQ,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC7C,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,oDAAsD,CAAC;AAEjF,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,OAAqB,EACrB,SAAuB,EACvB,SAAuB,EACvB,WAAmB,EACnB,SAAmB,GACpB,EAAE,mBAAmB,2CA0DrB;AAED,wBAAgB,SAAS,kBAQxB"}
@@ -0,0 +1,4 @@
1
+ import type { ComponentProps } from 'react';
2
+ export type RevealRootProps = ComponentProps<'div'>;
3
+ export declare function RevealRoot({ children, className, ...props }: RevealRootProps): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=reveal-root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reveal-root.d.ts","sourceRoot":"","sources":["../../../../src/components/reveal/primitives/reveal-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEpD,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAM5E"}
@@ -0,0 +1,4 @@
1
+ import type { ComponentProps } from 'react';
2
+ export type RevealTriggerProps = ComponentProps<'button'>;
3
+ export declare function RevealTrigger({ children, className, ...props }: RevealTriggerProps): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=reveal-trigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reveal-trigger.d.ts","sourceRoot":"","sources":["../../../../src/components/reveal/primitives/reveal-trigger.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE1D,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CA6BlF"}
@@ -0,0 +1,4 @@
1
+ import type { ComponentProps } from 'react';
2
+ export type RevealViewportProps = ComponentProps<'div'>;
3
+ export declare function RevealViewport({ children, className, ...props }: RevealViewportProps): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=reveal-viewport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reveal-viewport.d.ts","sourceRoot":"","sources":["../../../../src/components/reveal/primitives/reveal-viewport.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAKxD,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAmBpF"}
@@ -0,0 +1,12 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface RevealProps {
3
+ className?: string;
4
+ variant?: 'underline' | 'button';
5
+ showLabel?: string;
6
+ hideLabel?: string;
7
+ defaultOpen?: boolean;
8
+ children: ReactNode;
9
+ maxHeight?: string;
10
+ }
11
+ export declare function Reveal({ className, variant, showLabel, hideLabel, defaultOpen, maxHeight, children, }: RevealProps): import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=reveal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reveal.d.ts","sourceRoot":"","sources":["../../../src/components/reveal/reveal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,MAAM,CAAC,EACrB,SAAS,EACT,OAAqB,EACrB,SAAuB,EACvB,SAAuB,EACvB,WAAmB,EACnB,SAAmB,EACnB,QAAQ,GACT,EAAE,WAAW,2CAiBb"}
@@ -0,0 +1,8 @@
1
+ export { ScrollArea, type ScrollAreaProps } from '../../components/scroll-area/scroll-area';
2
+ export { ScrollAreaRoot as Root, type ScrollAreaRootProps as RootProps, } from '../../components/scroll-area/primitives/scroll-area-root';
3
+ export { ScrollAreaProvider as Provider, type ScrollAreaProviderProps as ProviderProps, useScrollArea, type ScrollAreaContext as Context, } from '../../components/scroll-area/primitives/scroll-area-provider';
4
+ export { ScrollAreaViewport as Viewport, type ScrollAreaViewportProps as ViewportProps, } from '../../components/scroll-area/primitives/scroll-area-viewport';
5
+ export { ScrollAreaBar as Bar, type ScrollAreaBarProps as BarProps, } from '../../components/scroll-area/primitives/scroll-area-bar';
6
+ export { ScrollAreaThumb as Thumb, type ScrollAreaThumbProps as ThumbProps, } from '../../components/scroll-area/primitives/scroll-area-thumb';
7
+ export { ScrollAreaCorner as Corner, type ScrollAreaCornerProps as CornerProps, } from '../../components/scroll-area/primitives/scroll-area-corner';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-area/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EACL,cAAc,IAAI,IAAI,EACtB,KAAK,mBAAmB,IAAI,SAAS,GACtC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EACL,kBAAkB,IAAI,QAAQ,EAC9B,KAAK,uBAAuB,IAAI,aAAa,EAC7C,aAAa,EACb,KAAK,iBAAiB,IAAI,OAAO,GAClC,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,kBAAkB,IAAI,QAAQ,EAC9B,KAAK,uBAAuB,IAAI,aAAa,GAC9C,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,aAAa,IAAI,GAAG,EACpB,KAAK,kBAAkB,IAAI,QAAQ,GACpC,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,eAAe,IAAI,KAAK,EACxB,KAAK,oBAAoB,IAAI,UAAU,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,gBAAgB,IAAI,MAAM,EAC1B,KAAK,qBAAqB,IAAI,WAAW,GAC1C,MAAM,wDAAwD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
2
+ import type { ComponentProps } from 'react';
3
+ export type ScrollAreaBarProps = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
4
+ export declare function ScrollAreaBar({ className, children, ...props }: ScrollAreaBarProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=scroll-area-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area-bar.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-area/primitives/scroll-area-bar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,OAAO,mBAAmB,CAAC,mBAAmB,CAAC,CAAC;AAEhG,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAgDlF"}
@@ -0,0 +1,5 @@
1
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
2
+ import type { ComponentProps } from 'react';
3
+ export type ScrollAreaCornerProps = ComponentProps<typeof ScrollAreaPrimitive.Corner>;
4
+ export declare function ScrollAreaCorner({ className, ...props }: ScrollAreaCornerProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=scroll-area-corner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area-corner.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-area/primitives/scroll-area-corner.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAEtF,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAI9E"}
@@ -0,0 +1,16 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface ScrollAreaContext {
3
+ orientation: 'vertical' | 'horizontal' | 'both';
4
+ scrollHideDelay: number;
5
+ type: 'auto' | 'always' | 'scroll' | 'hover';
6
+ }
7
+ export declare const ScrollAreaContext: import("react").Context<ScrollAreaContext | undefined>;
8
+ export interface ScrollAreaProviderProps {
9
+ orientation?: 'vertical' | 'horizontal' | 'both';
10
+ scrollHideDelay?: number;
11
+ type?: 'auto' | 'always' | 'scroll' | 'hover';
12
+ children: ReactNode;
13
+ }
14
+ export declare function ScrollAreaProvider({ children, orientation, scrollHideDelay, type, }: ScrollAreaProviderProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function useScrollArea(): ScrollAreaContext;
16
+ //# sourceMappingURL=scroll-area-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area-provider.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-area/primitives/scroll-area-provider.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;IAChD,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;CAC9C;AAED,eAAO,MAAM,iBAAiB,wDAA0D,CAAC;AAEzF,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC9C,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,WAAwB,EACxB,eAAqB,EACrB,IAAc,GACf,EAAE,uBAAuB,2CAWzB;AAED,wBAAgB,aAAa,sBAQ5B"}
@@ -0,0 +1,5 @@
1
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
2
+ import type { ComponentProps } from 'react';
3
+ export type ScrollAreaRootProps = ComponentProps<typeof ScrollAreaPrimitive.Root>;
4
+ export declare function ScrollAreaRoot({ className, children, ...props }: ScrollAreaRootProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=scroll-area-root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area-root.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-area/primitives/scroll-area-root.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;AAElF,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAUpF"}
@@ -0,0 +1,5 @@
1
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
2
+ import type { ComponentProps } from 'react';
3
+ export type ScrollAreaThumbProps = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaThumb>;
4
+ export declare function ScrollAreaThumb({ className, ...props }: ScrollAreaThumbProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=scroll-area-thumb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area-thumb.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-area/primitives/scroll-area-thumb.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,OAAO,mBAAmB,CAAC,eAAe,CAAC,CAAC;AAE9F,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,2CAQ5E"}
@@ -0,0 +1,5 @@
1
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
2
+ import type { ComponentProps } from 'react';
3
+ export type ScrollAreaViewportProps = ComponentProps<typeof ScrollAreaPrimitive.Viewport>;
4
+ export declare function ScrollAreaViewport({ className, children, ...props }: ScrollAreaViewportProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=scroll-area-viewport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area-viewport.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-area/primitives/scroll-area-viewport.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,OAAO,mBAAmB,CAAC,QAAQ,CAAC,CAAC;AAE1F,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,2CAa5F"}
@@ -0,0 +1,21 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface ScrollAreaProps {
3
+ className?: string;
4
+ orientation?: 'vertical' | 'horizontal' | 'both';
5
+ scrollHideDelay?: number;
6
+ type?: 'auto' | 'always' | 'scroll' | 'hover';
7
+ children: ReactNode;
8
+ }
9
+ /**
10
+ * This component supports various CSS variables for theming. Here's a comprehensive list, along
11
+ * with their default values:
12
+ *
13
+ * ```css
14
+ * :root {
15
+ * --scroll-area-background: var(--contrast-100);
16
+ * --scroll-area-thumb: var(--contrast-200);
17
+ * }
18
+ * ```
19
+ */
20
+ export declare function ScrollArea({ className, children, orientation, scrollHideDelay, type, }: ScrollAreaProps): import("react/jsx-runtime").JSX.Element;
21
+ //# sourceMappingURL=scroll-area.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-area/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC9C,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,QAAQ,EACR,WAAwB,EACxB,eAAqB,EACrB,IAAc,GACf,EAAE,eAAe,2CAgBjB"}