@sozialhelden/ui 1.6.0 → 1.7.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 (3) hide show
  1. package/dist/index.d.ts +6 -1
  2. package/dist/index.js +1261 -1254
  3. package/package.json +11 -11
package/dist/index.d.ts CHANGED
@@ -18,6 +18,7 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
18
18
  import * as ProgressPrimitive from '@radix-ui/react-progress';
19
19
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
20
20
  import * as React_2 from 'react';
21
+ import { RefAttributes } from 'react';
21
22
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
22
23
  import * as SelectPrimitive from '@radix-ui/react-select';
23
24
  import * as SliderPrimitive from '@radix-ui/react-slider';
@@ -238,7 +239,11 @@ export declare function RadioGroup({ className, ...props }: React_2.ComponentPro
238
239
 
239
240
  export declare function RadioGroupItem({ className, ...props }: React_2.ComponentProps<typeof RadioGroupPrimitive.Item>): JSX.Element;
240
241
 
241
- export declare function ScrollArea({ className, children, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.Root>): JSX.Element;
242
+ export declare function ScrollArea({ className, children, ref, ...props }: React_2.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> & RefAttributes<ScrollAreaRef>): JSX.Element;
243
+
244
+ export declare type ScrollAreaRef = {
245
+ scrollTo: (options: ScrollToOptions) => void;
246
+ };
242
247
 
243
248
  export declare function ScrollBar({ className, orientation, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): JSX.Element;
244
249