@sozialhelden/ui 1.7.0 → 1.8.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 (3) hide show
  1. package/dist/index.d.ts +8 -1
  2. package/dist/index.js +3337 -2791
  3. package/package.json +18 -18
package/dist/index.d.ts CHANGED
@@ -25,6 +25,7 @@ import * as SliderPrimitive from '@radix-ui/react-slider';
25
25
  import { Slot } from '@radix-ui/react-slot';
26
26
  import * as SwitchPrimitive from '@radix-ui/react-switch';
27
27
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
28
+ import { UIEvent as UIEvent_2 } from 'react';
28
29
  import { UseEmblaCarouselType } from 'embla-carousel-react';
29
30
  import { VariantProps } from 'class-variance-authority';
30
31
 
@@ -239,10 +240,16 @@ export declare function RadioGroup({ className, ...props }: React_2.ComponentPro
239
240
 
240
241
  export declare function RadioGroupItem({ className, ...props }: React_2.ComponentProps<typeof RadioGroupPrimitive.Item>): JSX.Element;
241
242
 
242
- export declare function ScrollArea({ className, children, ref, ...props }: React_2.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> & RefAttributes<ScrollAreaRef>): JSX.Element;
243
+ export declare function ScrollArea({ className, children, ref, onScroll, ...props }: React_2.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> & RefAttributes<ScrollAreaRef> & {
244
+ onScroll?: (event: UIEvent_2) => void;
245
+ }): JSX.Element;
243
246
 
244
247
  export declare type ScrollAreaRef = {
245
248
  scrollTo: (options: ScrollToOptions) => void;
249
+ getScrollPosition: () => {
250
+ left: number;
251
+ top: number;
252
+ };
246
253
  };
247
254
 
248
255
  export declare function ScrollBar({ className, orientation, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): JSX.Element;