@kinetixui/ui 0.16.1 → 0.18.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 +4 -4
- package/dist/index.js +498 -248
- package/package.json +3 -2
- package/src/components/audio-player.tsx +2 -2
- package/src/components/badge.tsx +2 -2
- package/src/components/banner.tsx +2 -2
- package/src/components/button.tsx +18 -14
- package/src/components/calendar.tsx +1 -1
- package/src/components/chart.tsx +2 -2
- package/src/components/checkbox.tsx +2 -2
- package/src/components/circular-progress.tsx +1 -1
- package/src/components/code-block.tsx +1 -1
- package/src/components/color-picker.tsx +6 -4
- package/src/components/data-grid.tsx +192 -11
- package/src/components/diff-viewer.tsx +9 -8
- package/src/components/fab.tsx +1 -1
- package/src/components/file-upload.tsx +13 -15
- package/src/components/inform.tsx +1 -1
- package/src/components/input-group.tsx +1 -1
- package/src/components/input-otp.tsx +2 -1
- package/src/components/input.tsx +3 -3
- package/src/components/json-viewer.tsx +12 -10
- package/src/components/kbd.tsx +1 -1
- package/src/components/list.tsx +41 -27
- package/src/components/markdown-editor.tsx +3 -2
- package/src/components/message-bubble.tsx +3 -3
- package/src/components/modal.tsx +2 -2
- package/src/components/multi-select.tsx +28 -5
- package/src/components/native-select.tsx +3 -3
- package/src/components/notification-center.tsx +2 -2
- package/src/components/progress.tsx +1 -1
- package/src/components/radio-group.tsx +3 -3
- package/src/components/scroll-area.tsx +1 -1
- package/src/components/select.tsx +3 -3
- package/src/components/skeleton.tsx +1 -1
- package/src/components/slider.tsx +8 -3
- package/src/components/sonner.tsx +1 -1
- package/src/components/spinner.tsx +3 -3
- package/src/components/stepper.tsx +3 -3
- package/src/components/switch.tsx +1 -1
- package/src/components/tab-bar.tsx +1 -1
- package/src/components/table-of-contents.tsx +1 -1
- package/src/components/tag.tsx +1 -1
- package/src/components/textarea.tsx +3 -3
- package/src/components/timeline.tsx +1 -1
- package/src/components/tooltip.tsx +1 -1
- package/src/components/tour.tsx +45 -2
- package/src/components/virtual-list.tsx +2 -1
- package/src/components-a11y.test.tsx +69 -0
- package/src/components-behavior.test.tsx +1 -1
- package/src/components-keyboard.test.tsx +774 -0
- package/src/lib/utils.test.ts +12 -0
- package/src/lib/utils.ts +22 -1
- package/src/stories/Checkbox.stories.tsx +1 -1
- package/src/stories/CircularProgress.stories.tsx +4 -4
- package/src/stories/InputOTP.stories.tsx +2 -2
- package/src/stories/List.stories.tsx +2 -2
- package/src/stories/MarkdownEditor.stories.tsx +1 -1
- package/src/stories/MultiSelect.stories.tsx +1 -0
- package/src/stories/NativeSelect.stories.tsx +1 -1
- package/src/stories/NumberInput.stories.tsx +3 -3
- package/src/stories/Progress.stories.tsx +3 -3
- package/src/stories/Select.stories.tsx +2 -2
- package/src/stories/Slider.stories.tsx +3 -3
- package/src/stories/Switch.stories.tsx +1 -1
- package/src/stories/ToggleGroup.stories.tsx +6 -6
- package/tailwind.config.ts +20 -1
package/dist/index.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.Re
|
|
|
86
86
|
*/
|
|
87
87
|
declare const inputVariants: (props?: ({
|
|
88
88
|
state?: "Default" | "Focus" | "Disabled" | "Error" | null | undefined;
|
|
89
|
-
corners?: "
|
|
89
|
+
corners?: "rounded" | "sharp" | "default" | "pill" | null | undefined;
|
|
90
90
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
91
91
|
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
|
|
92
92
|
}
|
|
@@ -337,7 +337,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dial
|
|
|
337
337
|
declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
338
338
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
339
339
|
declare const sheetVariants: (props?: ({
|
|
340
|
-
side?: "
|
|
340
|
+
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
341
341
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
342
342
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
343
343
|
}
|
|
@@ -1303,7 +1303,7 @@ declare const ButtonGroupText: React$1.ForwardRefExoticComponent<React$1.HTMLAtt
|
|
|
1303
1303
|
*/
|
|
1304
1304
|
declare const nativeSelectVariants: (props?: ({
|
|
1305
1305
|
state?: "Default" | "Focus" | "Disabled" | "Error" | null | undefined;
|
|
1306
|
-
corners?: "
|
|
1306
|
+
corners?: "rounded" | "sharp" | "default" | "pill" | null | undefined;
|
|
1307
1307
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1308
1308
|
interface NativeSelectProps extends Omit<React$1.SelectHTMLAttributes<HTMLSelectElement>, "size">, VariantProps<typeof nativeSelectVariants> {
|
|
1309
1309
|
}
|
|
@@ -1617,7 +1617,7 @@ interface DataGridColumn<TData> {
|
|
|
1617
1617
|
/** fixed to this side, not draggable, and excluded from the reorder sequence */
|
|
1618
1618
|
pinned?: "left" | "right";
|
|
1619
1619
|
sortable?: boolean;
|
|
1620
|
-
/** double-click
|
|
1620
|
+
/** double-click — or Enter / F2 on the focused cell — swaps it for a text input; commit fires on Enter/blur, Escape cancels */
|
|
1621
1621
|
editable?: boolean;
|
|
1622
1622
|
onCellEdit?: (row: TData, rowIndex: number, value: string) => void;
|
|
1623
1623
|
}
|