@oniratec/onira-react-ui 1.0.3 → 1.0.5
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export declare const CardTitle: ({ children, className }: BaseProps) => JSX.Elem
|
|
|
81
81
|
|
|
82
82
|
export declare type ColorMode = 'light' | 'dark';
|
|
83
83
|
|
|
84
|
-
declare type Column<T> = {
|
|
84
|
+
export declare type Column<T> = {
|
|
85
85
|
key: string;
|
|
86
86
|
header: string;
|
|
87
87
|
render: (row: T) => ReactNode;
|
|
@@ -276,6 +276,16 @@ declare type Section<T extends FieldValues> = {
|
|
|
276
276
|
|
|
277
277
|
export declare const Select: React_2.FC<SelectPrimitive.SelectProps>;
|
|
278
278
|
|
|
279
|
+
export declare const SelectContent: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
280
|
+
|
|
281
|
+
export declare const SelectItem: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
282
|
+
|
|
283
|
+
export declare const SelectTrigger: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
284
|
+
hasError?: boolean;
|
|
285
|
+
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
286
|
+
|
|
287
|
+
export declare const SelectValue: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
288
|
+
|
|
279
289
|
export declare function Skeleton({ className }: SkeletonProps): JSX.Element;
|
|
280
290
|
|
|
281
291
|
declare type SkeletonProps = {
|
package/dist/index.js
CHANGED
|
@@ -4,8 +4,8 @@ import React__default, { forwardRef, useState, useEffect, useRef } from "react";
|
|
|
4
4
|
import { Loader2, Check, Circle, ChevronRight, EyeOff, EyeIcon, ChevronDown } from "lucide-react";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
6
|
import { twMerge } from "tailwind-merge";
|
|
7
|
-
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
8
7
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
8
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
9
9
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
10
10
|
const m = (e) => {
|
|
11
11
|
let t = 0;
|
|
@@ -11293,6 +11293,10 @@ export {
|
|
|
11293
11293
|
PersonAvatar,
|
|
11294
11294
|
ProfileAvatar,
|
|
11295
11295
|
Select,
|
|
11296
|
+
SelectContent,
|
|
11297
|
+
SelectItem,
|
|
11298
|
+
SelectTrigger,
|
|
11299
|
+
SelectValue,
|
|
11296
11300
|
Skeleton,
|
|
11297
11301
|
Toggle,
|
|
11298
11302
|
Tooltip,
|