@sozialhelden/ui 1.8.1 → 1.9.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 +38 -0
  2. package/dist/index.js +13101 -6697
  3. package/package.json +17 -16
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import * as AvatarPrimitive from '@radix-ui/react-avatar';
3
3
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
4
4
  import { ClassProp } from 'class-variance-authority/types';
5
5
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
6
+ import { Combobox as Combobox_2 } from '@base-ui/react';
6
7
  import { ControllerProps } from 'react-hook-form';
7
8
  import { default as default_2 } from 'embla-carousel-react';
8
9
  import * as DialogPrimitive from '@radix-ui/react-dialog';
@@ -129,6 +130,41 @@ export declare function CollapsibleContent({ ...props }: React.ComponentProps<ty
129
130
 
130
131
  export declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): JSX.Element;
131
132
 
133
+ export declare const Combobox: typeof Combobox_2.Root;
134
+
135
+ export declare function ComboboxChip({ className, children, showRemove, ...props }: Combobox_2.Chip.Props & {
136
+ showRemove?: boolean;
137
+ }): JSX.Element;
138
+
139
+ export declare function ComboboxChips({ className, ...props }: React_2.ComponentPropsWithRef<typeof Combobox_2.Chips> & Combobox_2.Chips.Props): JSX.Element;
140
+
141
+ export declare function ComboboxChipsInput({ className, children, ...props }: Combobox_2.Input.Props): JSX.Element;
142
+
143
+ export declare function ComboboxCollection({ ...props }: Combobox_2.Collection.Props): JSX.Element;
144
+
145
+ export declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: Combobox_2.Popup.Props & Pick<Combobox_2.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">): JSX.Element;
146
+
147
+ export declare function ComboboxEmpty({ className, ...props }: Combobox_2.Empty.Props): JSX.Element;
148
+
149
+ export declare function ComboboxGroup({ className, ...props }: Combobox_2.Group.Props): JSX.Element;
150
+
151
+ export declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: Combobox_2.Input.Props & {
152
+ showTrigger?: boolean;
153
+ showClear?: boolean;
154
+ }): JSX.Element;
155
+
156
+ export declare function ComboboxItem({ className, children, ...props }: Combobox_2.Item.Props): JSX.Element;
157
+
158
+ export declare function ComboboxLabel({ className, ...props }: Combobox_2.GroupLabel.Props): JSX.Element;
159
+
160
+ export declare function ComboboxList({ className, ...props }: Combobox_2.List.Props): JSX.Element;
161
+
162
+ export declare function ComboboxSeparator({ className, ...props }: Combobox_2.Separator.Props): JSX.Element;
163
+
164
+ export declare function ComboboxTrigger({ className, children, ...props }: Combobox_2.Trigger.Props): JSX.Element;
165
+
166
+ export declare function ComboboxValue({ ...props }: Combobox_2.Value.Props): JSX.Element;
167
+
132
168
  export declare function Dialog({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
133
169
 
134
170
  export declare function DialogClose({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Close>): JSX.Element;
@@ -310,6 +346,8 @@ export declare function TooltipTrigger({ ...props }: React_2.ComponentProps<type
310
346
 
311
347
  declare type UseCarouselParameters = Parameters<typeof default_2>;
312
348
 
349
+ export declare function useComboboxAnchor(): React_2.RefObject<HTMLDivElement | null>;
350
+
313
351
  export declare const useFormField: () => {
314
352
  invalid: boolean;
315
353
  isDirty: boolean;