@sozialhelden/ui 1.5.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 +22 -1
  2. package/dist/index.js +1534 -1417
  3. package/package.json +15 -15
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
 
@@ -270,6 +275,22 @@ export declare function Slider({ className, defaultValue, value, min, max, ...pr
270
275
 
271
276
  export declare function Switch({ className, ...props }: React_2.ComponentProps<typeof SwitchPrimitive.Root>): JSX.Element;
272
277
 
278
+ export declare function Table({ className, ...props }: React_2.ComponentProps<"table">): JSX.Element;
279
+
280
+ export declare function TableBody({ className, ...props }: React_2.ComponentProps<"tbody">): JSX.Element;
281
+
282
+ export declare function TableCaption({ className, ...props }: React_2.ComponentProps<"caption">): JSX.Element;
283
+
284
+ export declare function TableCell({ className, ...props }: React_2.ComponentProps<"td">): JSX.Element;
285
+
286
+ export declare function TableFooter({ className, ...props }: React_2.ComponentProps<"tfoot">): JSX.Element;
287
+
288
+ export declare function TableHead({ className, ...props }: React_2.ComponentProps<"th">): JSX.Element;
289
+
290
+ export declare function TableHeader({ className, ...props }: React_2.ComponentProps<"thead">): JSX.Element;
291
+
292
+ export declare function TableRow({ className, ...props }: React_2.ComponentProps<"tr">): JSX.Element;
293
+
273
294
  export declare function Textarea({ className, ...props }: React_2.ComponentProps<"textarea">): JSX.Element;
274
295
 
275
296
  export declare function Tooltip({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Root>): JSX.Element;