reykit 1.0.108 → 1.0.109
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.css +1 -1
- package/dist/index.js +35685 -19311
- package/dist/src/components/Table.d.ts +58 -0
- package/dist/src/components/index.d.ts +4 -7
- package/dist/src/components/ui/accordion.d.ts +6 -0
- package/dist/src/components/ui/alert-dialog.d.ts +18 -0
- package/dist/src/components/ui/alert.d.ts +10 -0
- package/dist/src/components/ui/aspect-ratio.d.ts +4 -0
- package/dist/src/components/ui/avatar.d.ts +11 -0
- package/dist/src/components/ui/badge.d.ts +7 -0
- package/dist/src/components/ui/breadcrumb.d.ts +10 -0
- package/dist/src/components/ui/button-group.d.ts +10 -0
- package/dist/src/components/ui/button.d.ts +8 -0
- package/dist/src/components/ui/calendar.d.ts +10 -0
- package/dist/src/components/ui/card.d.ts +11 -0
- package/dist/src/components/ui/carousel.d.ts +28 -0
- package/dist/src/components/ui/chart.d.ts +40 -0
- package/dist/src/components/ui/checkbox.d.ts +3 -0
- package/dist/src/components/ui/collapsible.d.ts +5 -0
- package/dist/src/components/ui/combobox.d.ts +24 -0
- package/dist/src/components/ui/command.d.ts +19 -0
- package/dist/src/components/ui/context-menu.d.ts +29 -0
- package/dist/src/components/ui/dialog.d.ts +17 -0
- package/dist/src/components/ui/direction.d.ts +1 -0
- package/dist/src/components/ui/drawer.d.ts +13 -0
- package/dist/src/components/ui/dropdown-menu.d.ts +29 -0
- package/dist/src/components/ui/empty.d.ts +11 -0
- package/dist/src/components/ui/field.d.ts +24 -0
- package/dist/src/components/ui/hover-card.d.ts +5 -0
- package/dist/src/components/ui/index.d.ts +309 -0
- package/dist/src/components/ui/input-group.d.ts +18 -0
- package/dist/src/components/ui/input-otp.d.ts +11 -0
- package/dist/src/components/ui/input.d.ts +3 -0
- package/dist/src/components/ui/item.d.ts +22 -0
- package/dist/src/components/ui/kbd.d.ts +3 -0
- package/dist/src/components/ui/label.d.ts +3 -0
- package/dist/src/components/ui/menubar.d.ts +29 -0
- package/dist/src/components/ui/native-select.d.ts +8 -0
- package/dist/src/components/ui/navigation-menu.d.ts +11 -0
- package/dist/src/components/ui/pagination.d.ts +17 -0
- package/dist/src/components/ui/popover.d.ts +9 -0
- package/dist/src/components/ui/progress.d.ts +7 -0
- package/dist/src/components/ui/radio-group.d.ts +5 -0
- package/dist/src/components/ui/resizable.d.ts +7 -0
- package/dist/src/components/ui/scroll-area.d.ts +4 -0
- package/dist/src/components/ui/select.d.ts +15 -0
- package/dist/src/components/ui/separator.d.ts +3 -0
- package/dist/src/components/ui/sheet.d.ts +14 -0
- package/dist/src/components/ui/skeleton.d.ts +2 -0
- package/dist/src/components/ui/slider.d.ts +3 -0
- package/dist/src/components/ui/sonner.d.ts +3 -0
- package/dist/src/components/ui/spinner.d.ts +2 -0
- package/dist/src/components/ui/switch.d.ts +5 -0
- package/dist/src/components/ui/table.d.ts +10 -0
- package/dist/src/components/ui/tabs.d.ts +10 -0
- package/dist/src/components/ui/textarea.d.ts +3 -0
- package/dist/src/components/ui/toggle-group.d.ts +10 -0
- package/dist/src/components/ui/toggle.d.ts +8 -0
- package/dist/src/components/ui/tooltip.d.ts +6 -0
- package/dist/src/data.d.ts +8 -1
- package/dist/src/net.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Tooltip as TooltipPrimitive } from '@base-ui/react/tooltip';
|
|
2
|
+
declare function TooltipProvider({ delay, ...props }: TooltipPrimitive.Provider.Props): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function Tooltip({ ...props }: TooltipPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function TooltipTrigger({ ...props }: TooltipPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: TooltipPrimitive.Popup.Props & Pick<TooltipPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
package/dist/src/data.d.ts
CHANGED
|
@@ -33,4 +33,11 @@ export declare function compare(a: any, b: any, order?: 'asc' | 'desc'): 1 | 0 |
|
|
|
33
33
|
* @param key - Element object index key.
|
|
34
34
|
* @returns Sorted array.
|
|
35
35
|
*/
|
|
36
|
-
export declare function sort<T>(arr: T[], order?: 'asc' | 'desc', key?:
|
|
36
|
+
export declare function sort<T>(arr: T[], order?: 'asc' | 'desc', key?: keyof T): T[];
|
|
37
|
+
/**
|
|
38
|
+
* Count elements of array.
|
|
39
|
+
*
|
|
40
|
+
* @param arr - Array.
|
|
41
|
+
* @returns Count result.
|
|
42
|
+
*/
|
|
43
|
+
export declare function countArr<T>(arr: T[]): Map<T, number>;
|
package/dist/src/net.d.ts
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* - `Record<string, any> | string` : JSON data. Automatic set `Content-Type` to `application/json`.
|
|
19
19
|
* @param option.headers - Request header data.
|
|
20
20
|
* @param option.method - Request method.
|
|
21
|
-
* - `undefined` : Automatic judge. When parameter `
|
|
21
|
+
* - `undefined` : Automatic judge. When parameter `body` not has value, then is `get`, otherwise is `post`.
|
|
22
22
|
* @param option.check - Whether to throw an error if the response is not in the 200–299 range.
|
|
23
23
|
* Note: `Error.message` is response body string, `Error.cause` is `Response` instance.
|
|
24
24
|
* - `undefined` : False.
|