@sozialhelden/ui 1.6.0 → 1.8.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.
- package/dist/index.d.ts +13 -1
- package/dist/index.js +1267 -1254
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -18,12 +18,14 @@ 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';
|
|
24
25
|
import { Slot } from '@radix-ui/react-slot';
|
|
25
26
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
26
27
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
28
|
+
import { UIEvent as UIEvent_2 } from 'react';
|
|
27
29
|
import { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
28
30
|
import { VariantProps } from 'class-variance-authority';
|
|
29
31
|
|
|
@@ -238,7 +240,17 @@ export declare function RadioGroup({ className, ...props }: React_2.ComponentPro
|
|
|
238
240
|
|
|
239
241
|
export declare function RadioGroupItem({ className, ...props }: React_2.ComponentProps<typeof RadioGroupPrimitive.Item>): JSX.Element;
|
|
240
242
|
|
|
241
|
-
export declare function ScrollArea({ className, children, ...props }: React_2.
|
|
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;
|
|
246
|
+
|
|
247
|
+
export declare type ScrollAreaRef = {
|
|
248
|
+
scrollTo: (options: ScrollToOptions) => void;
|
|
249
|
+
getScrollPosition: () => {
|
|
250
|
+
left: number;
|
|
251
|
+
top: number;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
242
254
|
|
|
243
255
|
export declare function ScrollBar({ className, orientation, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): JSX.Element;
|
|
244
256
|
|