@hexure/ui 1.13.84 → 1.13.86
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Select/Select.d.ts +2 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Select/Select.d.ts +2 -1
- package/dist/index.d.ts +5 -10
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { AccessibleProps } from '../../utils/Accessibility';
|
|
3
|
+
import { CSSProperties } from 'styled-components';
|
|
3
4
|
export interface OptionProps {
|
|
4
5
|
label?: string;
|
|
5
6
|
value: string | number;
|
|
@@ -22,7 +23,7 @@ export interface SelectProps extends AccessibleProps {
|
|
|
22
23
|
readOnly?: boolean;
|
|
23
24
|
invalid?: boolean;
|
|
24
25
|
value?: string;
|
|
25
|
-
style?:
|
|
26
|
+
style?: CSSProperties;
|
|
26
27
|
onChange?: (e: any) => void;
|
|
27
28
|
onFocus?: (e: any) => void;
|
|
28
29
|
onBlur?: (e: any) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -262,7 +262,7 @@ interface CopyProps extends AccessibleProps {
|
|
|
262
262
|
}
|
|
263
263
|
declare const Copy: FC<CopyProps>;
|
|
264
264
|
|
|
265
|
-
interface styleProps$
|
|
265
|
+
interface styleProps$1 {
|
|
266
266
|
width?: number | string;
|
|
267
267
|
}
|
|
268
268
|
interface localeProps {
|
|
@@ -277,7 +277,7 @@ interface DateProps extends AccessibleProps {
|
|
|
277
277
|
minDate?: string;
|
|
278
278
|
date?: string;
|
|
279
279
|
onChange?: (e: any) => void;
|
|
280
|
-
style?: styleProps$
|
|
280
|
+
style?: styleProps$1;
|
|
281
281
|
/** Optional ID for automation purposes */
|
|
282
282
|
dataItemid?: string;
|
|
283
283
|
locale?: localeProps;
|
|
@@ -522,7 +522,7 @@ interface OptionProps$2 {
|
|
|
522
522
|
value: string | number;
|
|
523
523
|
color?: string;
|
|
524
524
|
}
|
|
525
|
-
interface styleProps
|
|
525
|
+
interface styleProps {
|
|
526
526
|
width?: number | string;
|
|
527
527
|
}
|
|
528
528
|
interface MultiSelectProps extends AccessibleProps {
|
|
@@ -533,7 +533,7 @@ interface MultiSelectProps extends AccessibleProps {
|
|
|
533
533
|
options?: OptionProps$2[];
|
|
534
534
|
selected: (string | number)[];
|
|
535
535
|
showSelectAll?: boolean;
|
|
536
|
-
style?: styleProps
|
|
536
|
+
style?: styleProps;
|
|
537
537
|
searchable?: boolean;
|
|
538
538
|
/** Optional ID for automation purposes */
|
|
539
539
|
dataItemid?: string;
|
|
@@ -643,11 +643,6 @@ interface OptionGroupProps {
|
|
|
643
643
|
options: OptionProps[];
|
|
644
644
|
label: string;
|
|
645
645
|
}
|
|
646
|
-
interface styleProps {
|
|
647
|
-
borderRadius?: string;
|
|
648
|
-
flexGrow?: number;
|
|
649
|
-
width?: number | string;
|
|
650
|
-
}
|
|
651
646
|
interface SelectProps extends AccessibleProps {
|
|
652
647
|
options?: OptionProps[];
|
|
653
648
|
optionGroups?: OptionGroupProps[];
|
|
@@ -656,7 +651,7 @@ interface SelectProps extends AccessibleProps {
|
|
|
656
651
|
readOnly?: boolean;
|
|
657
652
|
invalid?: boolean;
|
|
658
653
|
value?: string;
|
|
659
|
-
style?:
|
|
654
|
+
style?: CSSProperties;
|
|
660
655
|
onChange?: (e: any) => void;
|
|
661
656
|
onFocus?: (e: any) => void;
|
|
662
657
|
onBlur?: (e: any) => void;
|