@rainbow-robotics/plugin-ui 0.1.2-dev.52 → 0.1.2-dev.54
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/react.d.ts +10 -4
- package/package.json +1 -1
package/dist/react.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { ReactNode, MouseEvent, InputHTMLAttributes, MouseEventHandler, ReactElement, ChangeEvent, CSSProperties, TextareaHTMLAttributes, ComponentProps, Dispatch, SetStateAction, HTMLInputAutoCompleteAttribute, RefObject } from 'react';
|
|
6
|
+
import { Matcher, DayPicker } from 'react-day-picker';
|
|
6
7
|
import * as ShadDialogPrimitive from '@radix-ui/react-dialog';
|
|
7
8
|
import { Command } from 'cmdk';
|
|
8
9
|
import { Drawer } from 'vaul';
|
|
@@ -16,7 +17,6 @@ import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
|
16
17
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
17
18
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
18
19
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
19
|
-
import { DayPicker } from 'react-day-picker';
|
|
20
20
|
|
|
21
21
|
declare const batteryStatuses: readonly ["empty", "critical", "low", "normal", "full"];
|
|
22
22
|
type BatteryStatus = (typeof batteryStatuses)[number];
|
|
@@ -633,6 +633,10 @@ type Props$c = {
|
|
|
633
633
|
* 비활성화 여부
|
|
634
634
|
*/
|
|
635
635
|
disabled?: boolean;
|
|
636
|
+
/**
|
|
637
|
+
* 선택 불가능한 날짜 조건
|
|
638
|
+
*/
|
|
639
|
+
disabledDates?: Matcher | Matcher[];
|
|
636
640
|
/**
|
|
637
641
|
* 읽기 전용 여부
|
|
638
642
|
*/
|
|
@@ -663,7 +667,7 @@ type RangePresetKey = "last-24-hours" | "last-3-days" | "last-week" | "last-mont
|
|
|
663
667
|
/**
|
|
664
668
|
* 범위 날짜 입력 컴포넌트 입니다.
|
|
665
669
|
*/
|
|
666
|
-
declare const RangeDateInput: ({ className, calendarPanelClassName, showType, value, name, min, max, placeholder, disabled, readOnly, size, variant, error, showPresets, showFooter, handleChange, presets, }: Props$c) => react_jsx_runtime.JSX.Element;
|
|
670
|
+
declare const RangeDateInput: ({ className, calendarPanelClassName, showType, value, name, min, max, placeholder, disabled, disabledDates, readOnly, size, variant, error, showPresets, showFooter, handleChange, presets, }: Props$c) => react_jsx_runtime.JSX.Element;
|
|
667
671
|
|
|
668
672
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
669
673
|
|
|
@@ -1245,10 +1249,12 @@ interface Props$6 extends Pick<React.InputHTMLAttributes<HTMLInputElement>, "cla
|
|
|
1245
1249
|
disableLongPress?: boolean;
|
|
1246
1250
|
/** 소수점 자리수 고정 (trailing zero 유지, 예: 0.10 → "0.10") */
|
|
1247
1251
|
fixedDigit?: number;
|
|
1248
|
-
/** 롱프레스 시작 딜레이 ms (기본
|
|
1252
|
+
/** 롱프레스 시작 딜레이 ms (기본 300) */
|
|
1249
1253
|
initialLongPressDelay?: number;
|
|
1250
1254
|
/** ArrowUp/Down 키로 값 조정 허용 여부 */
|
|
1251
1255
|
enableArrowKeys?: boolean;
|
|
1256
|
+
/** 마우스 휠로 값 조정 허용 여부 */
|
|
1257
|
+
enableWheel?: boolean;
|
|
1252
1258
|
/** ripple 옵션 */
|
|
1253
1259
|
notAllowedEmptyValue?: boolean;
|
|
1254
1260
|
onButtonPointerUp?: (type: "up" | "down", e?: MouseEvent<HTMLButtonElement>) => void;
|
|
@@ -2273,7 +2279,7 @@ interface PropsType$3 {
|
|
|
2273
2279
|
declare function RBSwitchField({ children, className, controlPlacement, description, descriptionClassName, invalid, label, labelClassName, size, type, }: PropsType$3): react_jsx_runtime.JSX.Element;
|
|
2274
2280
|
|
|
2275
2281
|
declare const toggleRootVariants: (props?: {
|
|
2276
|
-
size?: "sm" | "
|
|
2282
|
+
size?: "sm" | "default" | "lg";
|
|
2277
2283
|
variant?: "default" | "outline";
|
|
2278
2284
|
} & class_variance_authority_types.ClassProp) => string;
|
|
2279
2285
|
type ToggleVariantProps = VariantProps<typeof toggleRootVariants>;
|