@officesdk/design 0.2.5 → 0.2.6
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/components/cjs/index.d.ts +23 -2
- package/dist/components/cjs/index.js +435 -273
- package/dist/components/cjs/index.js.map +1 -1
- package/dist/components/esm/index.d.ts +23 -2
- package/dist/components/esm/index.js +436 -268
- package/dist/components/esm/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -386,12 +386,12 @@ interface SliderProps {
|
|
|
386
386
|
declare const Slider: React$1.FC<SliderProps>;
|
|
387
387
|
|
|
388
388
|
type InputSize = 'mini' | 'small' | 'medium' | 'large';
|
|
389
|
-
type LineType = 'outlined' | 'underlined' | 'borderless';
|
|
389
|
+
type LineType$1 = 'outlined' | 'underlined' | 'borderless';
|
|
390
390
|
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix'> {
|
|
391
391
|
/**
|
|
392
392
|
* Input line type
|
|
393
393
|
*/
|
|
394
|
-
lineType?: LineType;
|
|
394
|
+
lineType?: LineType$1;
|
|
395
395
|
/**
|
|
396
396
|
* Input size
|
|
397
397
|
*/
|
|
@@ -530,6 +530,7 @@ declare const SearchInput: React$1.ForwardRefExoticComponent<SearchInputProps &
|
|
|
530
530
|
*/
|
|
531
531
|
declare const UnderlinedInput: React$1.ForwardRefExoticComponent<Omit<InputProps, "lineType"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
532
532
|
|
|
533
|
+
type LineType = 'outlined' | 'underlined' | 'borderless';
|
|
533
534
|
interface NumberInputProps {
|
|
534
535
|
/**
|
|
535
536
|
* Current value
|
|
@@ -588,6 +589,26 @@ interface NumberInputProps {
|
|
|
588
589
|
* @default true
|
|
589
590
|
*/
|
|
590
591
|
showStepButtons?: boolean;
|
|
592
|
+
/**
|
|
593
|
+
* Trigger mode for showing step buttons
|
|
594
|
+
* - 'normal': always show (default)
|
|
595
|
+
* - 'hover': show only on hover
|
|
596
|
+
* @default 'normal'
|
|
597
|
+
*/
|
|
598
|
+
showStepButtonsTrigger?: 'hover' | 'normal';
|
|
599
|
+
/**
|
|
600
|
+
* Input line type
|
|
601
|
+
* - 'outlined': with full border (default)
|
|
602
|
+
* - 'underlined': with bottom border only
|
|
603
|
+
* - 'borderless': no border
|
|
604
|
+
* @default 'outlined'
|
|
605
|
+
*/
|
|
606
|
+
lineType?: LineType;
|
|
607
|
+
/**
|
|
608
|
+
* Whether to use thousands separator in display
|
|
609
|
+
* @default false
|
|
610
|
+
*/
|
|
611
|
+
useThousandsSeparator?: boolean;
|
|
591
612
|
/**
|
|
592
613
|
* Callback when value changes
|
|
593
614
|
* @param fixedValue - The clamped value within min/max range (can be undefined if empty)
|