@loadsmart/loadsmart-ui 7.7.0-beta.1 → 8.0.0-beta.1
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/README.md +1 -3
- package/dist/components/Banner/Banner.d.ts +2 -2
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Calendar/Pickers/PickerButton.d.ts +4 -2
- package/dist/components/Card/Card.d.ts +4 -4
- package/dist/components/Card/CardTitle.d.ts +2 -2
- package/dist/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker/useDatePicker.d.ts +8 -9
- package/dist/components/DatePicker/useDateRangePicker.d.ts +13 -14
- package/dist/components/Dialog/Dialog.d.ts +3 -5
- package/dist/components/DragDropFile/styles.d.ts +7 -7
- package/dist/components/Dropdown/Dropdown.d.ts +3 -3
- package/dist/components/Dropdown/DropdownMenu.d.ts +3 -3
- package/dist/components/Layout/Stack.d.ts +2 -2
- package/dist/components/Loaders/LoadingBar.d.ts +2 -2
- package/dist/components/Loaders/index.d.ts +3 -3
- package/dist/components/Modal/Modal.d.ts +1 -3
- package/dist/components/SideNavigation/Logo/Logo.d.ts +7 -2
- package/dist/components/SideNavigation/Menu/Menu.d.ts +7 -2
- package/dist/components/SideNavigation/Menu/MenuLink.d.ts +6 -1
- package/dist/components/SideNavigation/SideNavigation.d.ts +14 -4
- package/dist/components/Steps/StepsStep.d.ts +2 -2
- package/dist/components/Table/Table.d.ts +2 -1
- package/dist/components/TablePagination/TablePagination.styles.d.ts +5 -4
- package/dist/components/TablePagination/TablePaginationActions.d.ts +2 -5
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/components/TextField/TextField.d.ts +6 -2
- package/dist/components/ToggleGroup/Toggle.d.ts +2 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +2 -1
- package/dist/components/TopNavigation/Logo/Logo.d.ts +7 -2
- package/dist/components/TopNavigation/Menu/Menu.d.ts +2 -2
- package/dist/components/TopNavigation/Menu/MenuItemDropdown.d.ts +4 -4
- package/dist/components/TopNavigation/OpenSideNavButton/OpenSideNavButton.d.ts +2 -1
- package/dist/components/TopNavigation/TopNavigation.d.ts +8 -3
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +2 -1
- package/dist/index.js +3 -7
- package/dist/index.js.map +1 -1
- package/dist/{miranda-compatibility.theme-C_FEacSw.js → miranda-compatibility.theme-kYNEZ7mW.js} +2 -2
- package/dist/{miranda-compatibility.theme-C_FEacSw.js.map → miranda-compatibility.theme-kYNEZ7mW.js.map} +1 -1
- package/dist/{prop-B8LY6G2g.js → prop-K2Z3EsyG.js} +2 -2
- package/dist/{prop-B8LY6G2g.js.map → prop-K2Z3EsyG.js.map} +1 -1
- package/dist/testing/index.js +1 -1
- package/dist/tests/renderer.d.ts +1 -1
- package/dist/theming/index.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/utils/toolset/flatten.d.ts +1 -1
- package/dist/utils/toolset/get.d.ts +1 -1
- package/dist/utils/toolset/isEmpty.d.ts +1 -1
- package/dist/utils/toolset/omit.d.ts +1 -1
- package/dist/utils/toolset/range.d.ts +1 -1
- package/package.json +30 -33
package/README.md
CHANGED
|
@@ -49,9 +49,7 @@ If you are using Jest, you need to add this library to `transformIgnorePatterns`
|
|
|
49
49
|
|
|
50
50
|
```json
|
|
51
51
|
{
|
|
52
|
-
|
|
53
|
-
"node_modules/(?!@loadsmart/loadsmart-ui)"
|
|
54
|
-
]
|
|
52
|
+
"transformIgnorePatterns": ["node_modules/(?!@loadsmart/loadsmart-ui)"]
|
|
55
53
|
}
|
|
56
54
|
```
|
|
57
55
|
|
|
@@ -16,8 +16,8 @@ export interface BannerActionProps extends BannerProps {
|
|
|
16
16
|
onActionButtonClick?: () => void;
|
|
17
17
|
onSecondaryActionButtonClick?: () => void;
|
|
18
18
|
}
|
|
19
|
-
export declare const CloseButton: import('styled-components').
|
|
20
|
-
export declare const Icon: import('styled-components').
|
|
19
|
+
export declare const CloseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../../common/CloseButton').CloseButtonProps, never>> & string & Omit<typeof DefaultCloseButton, keyof React.Component<any, {}, any>>;
|
|
20
|
+
export declare const Icon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../IconFactory').IconProps<import('../IconFactory').IconMapping> | (import('../IconFactory').IconProps<import('../IconFactory').IconMapping> & React.RefAttributes<React.Component<import('../IconFactory').IconProps<import('../IconFactory').IconMapping>, any, any>>), import('styled-components/dist/types').BaseObject>> & (string & (Omit<React.ComponentClass<import('../IconFactory').IconProps<import('../IconFactory').IconMapping>, any>, keyof React.Component<any, {}, any>> | Omit<React.FunctionComponent<import('../IconFactory').IconProps<import('../IconFactory').IconMapping>>, keyof React.Component<any, {}, any>>));
|
|
21
21
|
declare function Banner({ scale, variant, icon, title, description, onClose, dismissible, ...others }: BannerProps): React.JSX.Element | null;
|
|
22
22
|
export declare function BannerLarge({ scale, variant, icon, title, description, onClose, dismissible, ...others }: BannerProps): React.JSX.Element | null;
|
|
23
23
|
export declare function BannerAction({ scale, variant, icon, title, action, secondaryAction, onActionButtonClick, onSecondaryActionButtonClick, ...others }: BannerActionProps): JSX.Element;
|
|
@@ -11,7 +11,7 @@ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
11
11
|
scale?: 'small' | 'default' | 'large';
|
|
12
12
|
loading?: boolean;
|
|
13
13
|
}
|
|
14
|
-
export declare const Children: import('styled-components').
|
|
14
|
+
export declare const Children: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, ButtonProps>> & string;
|
|
15
15
|
export declare const BaseButton: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
16
16
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
17
17
|
export declare function Caret(props: Omit<IconProps, 'name'>): JSX.Element;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default: import('styled-components').
|
|
1
|
+
declare const _default: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<Omit<import('../../Button').ButtonProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
|
|
3
|
+
}, "$status"> & {
|
|
2
4
|
$status: "default" | "current-day" | "faded" | "selection-start" | "selection-end" | "selection" | "next-month-day";
|
|
3
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
|
4
6
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactNode } from 'react';
|
|
1
|
+
import { default as React, HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { default as CardTitle } from './CardTitle';
|
|
3
3
|
import { default as Status } from '../../utils/types/Status';
|
|
4
4
|
export interface CardProps extends HTMLAttributes<HTMLElement> {
|
|
@@ -9,8 +9,8 @@ export interface CardProps extends HTMLAttributes<HTMLElement> {
|
|
|
9
9
|
declare function Card({ flagged, status, children, ...others }: CardProps): JSX.Element;
|
|
10
10
|
declare namespace Card {
|
|
11
11
|
var Title: typeof CardTitle;
|
|
12
|
-
var Subtitle: import("styled-components").
|
|
13
|
-
var Separator: import("styled-components").
|
|
14
|
-
var Body: import("styled-components").
|
|
12
|
+
var Subtitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
|
+
var Separator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, never>> & string;
|
|
14
|
+
var Body: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
15
15
|
}
|
|
16
16
|
export default Card;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactNode, HTMLAttributes } from 'react';
|
|
1
|
+
import { default as React, ReactNode, HTMLAttributes } from 'react';
|
|
2
2
|
export interface CardTitleProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
leading?: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
declare const Wrapper: import('styled-components').
|
|
5
|
+
declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
6
|
declare function CardTitle({ children, leading, ...others }: CardTitleProps): JSX.Element;
|
|
7
7
|
export { Wrapper as CardTitleWrapper };
|
|
8
8
|
export default CardTitle;
|
|
@@ -4,7 +4,7 @@ import { CalendarDate } from '../Calendar';
|
|
|
4
4
|
import { DatePickerProps } from './DatePicker.types';
|
|
5
5
|
import { TextFieldProps } from '../TextField';
|
|
6
6
|
export declare const formatter: import('../Calendar').DateFormat;
|
|
7
|
-
export declare const ClearButton: import('styled-components').
|
|
7
|
+
export declare const ClearButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../../common/CloseButton').CloseButtonProps, never>> & string & Omit<typeof CloseButton, keyof React.Component<any, {}, any>>;
|
|
8
8
|
interface DateInputProps extends Omit<TextFieldProps, 'onChange'> {
|
|
9
9
|
onChange: (date: CalendarDate) => void;
|
|
10
10
|
}
|
|
@@ -27,11 +27,11 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
27
27
|
children?: import('react').ReactNode;
|
|
28
28
|
accept?: string | undefined;
|
|
29
29
|
alt?: string | undefined;
|
|
30
|
-
autoComplete?:
|
|
30
|
+
autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
|
|
31
31
|
capture?: boolean | "user" | "environment" | undefined;
|
|
32
32
|
checked?: boolean | undefined;
|
|
33
33
|
form?: string | undefined;
|
|
34
|
-
formAction?: string | undefined;
|
|
34
|
+
formAction?: string | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
|
35
35
|
formEncType?: string | undefined;
|
|
36
36
|
formMethod?: string | undefined;
|
|
37
37
|
formNoValidate?: boolean | undefined;
|
|
@@ -60,7 +60,7 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
60
60
|
accessKey?: string | undefined;
|
|
61
61
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
62
62
|
autoFocus?: boolean | undefined;
|
|
63
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
63
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
64
64
|
contextMenu?: string | undefined;
|
|
65
65
|
dir?: string | undefined;
|
|
66
66
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -225,6 +225,8 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
225
225
|
onProgressCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
226
226
|
onRateChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
227
227
|
onRateChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
228
|
+
onResize?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
229
|
+
onResizeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
228
230
|
onSeeked?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
229
231
|
onSeekedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
230
232
|
onSeeking?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
@@ -293,9 +295,7 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
293
295
|
onPointerCancel?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
294
296
|
onPointerCancelCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
295
297
|
onPointerEnter?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
296
|
-
onPointerEnterCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
297
298
|
onPointerLeave?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
298
|
-
onPointerLeaveCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
299
299
|
onPointerOver?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
300
300
|
onPointerOverCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
301
301
|
onPointerOut?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
@@ -338,7 +338,7 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
338
338
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
339
339
|
autoFocus?: boolean | undefined;
|
|
340
340
|
className?: string | undefined;
|
|
341
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
341
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
342
342
|
contextMenu?: string | undefined;
|
|
343
343
|
dir?: string | undefined;
|
|
344
344
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -347,7 +347,6 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
347
347
|
id?: string | undefined;
|
|
348
348
|
lang?: string | undefined;
|
|
349
349
|
nonce?: string | undefined;
|
|
350
|
-
placeholder?: string | undefined;
|
|
351
350
|
slot?: string | undefined;
|
|
352
351
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
353
352
|
style?: import('react').CSSProperties | undefined;
|
|
@@ -507,6 +506,8 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
507
506
|
onProgressCapture?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
508
507
|
onRateChange?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
509
508
|
onRateChangeCapture?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
509
|
+
onResize?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
510
|
+
onResizeCapture?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
510
511
|
onSeeked?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
511
512
|
onSeekedCapture?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
512
513
|
onSeeking?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
@@ -576,9 +577,7 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
576
577
|
onPointerCancel?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
577
578
|
onPointerCancelCapture?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
578
579
|
onPointerEnter?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
579
|
-
onPointerEnterCapture?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
580
580
|
onPointerLeave?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
581
|
-
onPointerLeaveCapture?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
582
581
|
onPointerOver?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
583
582
|
onPointerOverCapture?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
584
583
|
onPointerOut?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
@@ -20,11 +20,11 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
|
|
|
20
20
|
children?: import('react').ReactNode;
|
|
21
21
|
accept?: string | undefined;
|
|
22
22
|
alt?: string | undefined;
|
|
23
|
-
autoComplete?:
|
|
23
|
+
autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
|
|
24
24
|
capture?: boolean | "user" | "environment" | undefined;
|
|
25
25
|
checked?: boolean | undefined;
|
|
26
26
|
form?: string | undefined;
|
|
27
|
-
formAction?: string | undefined;
|
|
27
|
+
formAction?: string | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
|
28
28
|
formEncType?: string | undefined;
|
|
29
29
|
formMethod?: string | undefined;
|
|
30
30
|
formNoValidate?: boolean | undefined;
|
|
@@ -53,7 +53,7 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
|
|
|
53
53
|
accessKey?: string | undefined;
|
|
54
54
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
55
55
|
autoFocus?: boolean | undefined;
|
|
56
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
56
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
57
57
|
contextMenu?: string | undefined;
|
|
58
58
|
dir?: string | undefined;
|
|
59
59
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -217,6 +217,8 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
|
|
|
217
217
|
onProgressCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
218
218
|
onRateChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
219
219
|
onRateChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
220
|
+
onResize?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
221
|
+
onResizeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
220
222
|
onSeeked?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
221
223
|
onSeekedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
222
224
|
onSeeking?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
@@ -285,9 +287,7 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
|
|
|
285
287
|
onPointerCancel?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
286
288
|
onPointerCancelCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
287
289
|
onPointerEnter?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
288
|
-
onPointerEnterCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
289
290
|
onPointerLeave?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
290
|
-
onPointerLeaveCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
291
291
|
onPointerOver?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
292
292
|
onPointerOverCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
293
293
|
onPointerOut?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
@@ -326,11 +326,11 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
|
|
|
326
326
|
children?: import('react').ReactNode;
|
|
327
327
|
accept?: string | undefined;
|
|
328
328
|
alt?: string | undefined;
|
|
329
|
-
autoComplete?:
|
|
329
|
+
autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
|
|
330
330
|
capture?: boolean | "user" | "environment" | undefined;
|
|
331
331
|
checked?: boolean | undefined;
|
|
332
332
|
form?: string | undefined;
|
|
333
|
-
formAction?: string | undefined;
|
|
333
|
+
formAction?: string | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
|
334
334
|
formEncType?: string | undefined;
|
|
335
335
|
formMethod?: string | undefined;
|
|
336
336
|
formNoValidate?: boolean | undefined;
|
|
@@ -359,7 +359,7 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
|
|
|
359
359
|
accessKey?: string | undefined;
|
|
360
360
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
361
361
|
autoFocus?: boolean | undefined;
|
|
362
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
362
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
363
363
|
contextMenu?: string | undefined;
|
|
364
364
|
dir?: string | undefined;
|
|
365
365
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -523,6 +523,8 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
|
|
|
523
523
|
onProgressCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
524
524
|
onRateChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
525
525
|
onRateChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
526
|
+
onResize?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
527
|
+
onResizeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
526
528
|
onSeeked?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
527
529
|
onSeekedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
528
530
|
onSeeking?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
@@ -591,9 +593,7 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
|
|
|
591
593
|
onPointerCancel?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
592
594
|
onPointerCancelCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
593
595
|
onPointerEnter?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
594
|
-
onPointerEnterCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
595
596
|
onPointerLeave?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
596
|
-
onPointerLeaveCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
597
597
|
onPointerOver?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
598
598
|
onPointerOverCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
599
599
|
onPointerOut?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
@@ -636,7 +636,7 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
|
|
|
636
636
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
637
637
|
autoFocus?: boolean | undefined;
|
|
638
638
|
className?: string | undefined;
|
|
639
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
639
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
640
640
|
contextMenu?: string | undefined;
|
|
641
641
|
dir?: string | undefined;
|
|
642
642
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -645,7 +645,6 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
|
|
|
645
645
|
id?: string | undefined;
|
|
646
646
|
lang?: string | undefined;
|
|
647
647
|
nonce?: string | undefined;
|
|
648
|
-
placeholder?: string | undefined;
|
|
649
648
|
slot?: string | undefined;
|
|
650
649
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
651
650
|
style?: import('react').CSSProperties | undefined;
|
|
@@ -805,6 +804,8 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
|
|
|
805
804
|
onProgressCapture?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
806
805
|
onRateChange?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
807
806
|
onRateChangeCapture?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
807
|
+
onResize?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
808
|
+
onResizeCapture?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
808
809
|
onSeeked?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
809
810
|
onSeekedCapture?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
810
811
|
onSeeking?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
@@ -874,9 +875,7 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
|
|
|
874
875
|
onPointerCancel?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
875
876
|
onPointerCancelCapture?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
876
877
|
onPointerEnter?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
877
|
-
onPointerEnterCapture?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
878
878
|
onPointerLeave?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
879
|
-
onPointerLeaveCapture?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
880
879
|
onPointerOver?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
881
880
|
onPointerOverCapture?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
882
881
|
onPointerOut?: import('react').PointerEventHandler<HTMLDivElement> | undefined;
|
|
@@ -25,13 +25,11 @@ export interface DialogActionCancelProps extends Omit<ButtonProps, 'onClick' | '
|
|
|
25
25
|
declare function DialogActionCancel({ onCancel, children, ...others }: DialogActionCancelProps): React.JSX.Element;
|
|
26
26
|
declare function Dialog({ scale, open, ...others }: DialogProps): JSX.Element;
|
|
27
27
|
declare namespace Dialog {
|
|
28
|
-
var Header: import("styled-components").
|
|
29
|
-
var Body: import("styled-components").
|
|
28
|
+
var Header: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
29
|
+
var Body: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
30
30
|
var ActionConfirm: typeof DialogActionConfirm;
|
|
31
31
|
var ActionCancel: typeof DialogActionCancel;
|
|
32
32
|
var Actions: typeof DialogActions;
|
|
33
|
-
var Close: import("styled-components").
|
|
34
|
-
size: 16;
|
|
35
|
-
}, "size">;
|
|
33
|
+
var Close: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("../..").CloseButtonProps, import("../..").CloseButtonProps>, never>, never>, never>> & string;
|
|
36
34
|
}
|
|
37
35
|
export default Dialog;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { StackProps, Stack } from '../Layout/Stack';
|
|
3
3
|
import { DropZoneProps } from './types';
|
|
4
|
-
export declare const DragDropFileWrapper: import('styled-components').
|
|
4
|
+
export declare const DragDropFileWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<StackProps, {
|
|
5
5
|
withFileList: boolean;
|
|
6
|
-
},
|
|
7
|
-
export declare const DropZoneWrapper: import('styled-components').
|
|
8
|
-
export declare const HiddenInput: import('styled-components').
|
|
9
|
-
export declare const UploadIcon: import('styled-components').
|
|
10
|
-
export declare const FileListUL: import('styled-components').
|
|
11
|
-
export declare const Divider: import('styled-components').
|
|
6
|
+
}>> & string & Omit<typeof Stack, keyof React.Component<any, {}, any>>;
|
|
7
|
+
export declare const DropZoneWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<StackProps, Pick<DropZoneProps, "disabled" | "error">>> & string & Omit<(props: StackProps) => React.JSX.Element, keyof React.Component<any, {}, any>>;
|
|
8
|
+
export declare const HiddenInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
9
|
+
export declare const UploadIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../IconFactory').IconProps<import('../IconFactory').IconMapping> | (import('../IconFactory').IconProps<import('../IconFactory').IconMapping> & React.RefAttributes<React.Component<import('../IconFactory').IconProps<import('../IconFactory').IconMapping>, any, any>>), import('styled-components/dist/types').BaseObject>> & (string & (Omit<React.ComponentClass<import('../IconFactory').IconProps<import('../IconFactory').IconMapping>, any>, keyof React.Component<any, {}, any>> | Omit<React.FunctionComponent<import('../IconFactory').IconProps<import('../IconFactory').IconMapping>>, keyof React.Component<any, {}, any>>));
|
|
10
|
+
export declare const FileListUL: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<StackProps, never>> & string & Omit<(props: StackProps) => React.JSX.Element, keyof React.Component<any, {}, any>>;
|
|
11
|
+
export declare const Divider: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -40,8 +40,8 @@ declare namespace Dropdown {
|
|
|
40
40
|
var Menu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<HTMLDivElement>>;
|
|
41
41
|
var Section: typeof DropdownMenuSection;
|
|
42
42
|
var Item: typeof DropdownMenuItem;
|
|
43
|
-
var Separator: import("styled-components").
|
|
44
|
-
|
|
45
|
-
}
|
|
43
|
+
var Separator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
|
|
44
|
+
ref?: ((instance: HTMLHRElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLHRElement> | null | undefined;
|
|
45
|
+
}>, never>, never>> & string;
|
|
46
46
|
}
|
|
47
47
|
export default Dropdown;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { DropdownMenuItemProps, DropdownMenuProps, DropdownMenuSectionProps } from './Dropdown.types';
|
|
3
|
-
export declare const DropdownSeparator: import('styled-components').
|
|
4
|
-
|
|
5
|
-
}
|
|
3
|
+
export declare const DropdownSeparator: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
|
|
4
|
+
ref?: ((instance: HTMLHRElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLHRElement> | null | undefined;
|
|
5
|
+
}>, never>, never>> & string;
|
|
6
6
|
export declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
export declare function DropdownMenuItem(props: DropdownMenuItemProps): JSX.Element;
|
|
8
8
|
export declare function DropdownMenuSection(props: DropdownMenuSectionProps): JSX.Element;
|
|
@@ -6,11 +6,11 @@ export interface StackProps extends HTMLAttributes<HTMLElement> {
|
|
|
6
6
|
align?: AlignValue;
|
|
7
7
|
as?: string | React.ComponentType<any>;
|
|
8
8
|
}
|
|
9
|
-
export declare const StackContainer: import('styled-components').
|
|
9
|
+
export declare const StackContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
10
10
|
$space: StackProps["space"];
|
|
11
11
|
$justify: StackProps["justify"];
|
|
12
12
|
$align: StackProps["align"];
|
|
13
|
-
}
|
|
13
|
+
}>> & string;
|
|
14
14
|
/**
|
|
15
15
|
* Stack layout component.
|
|
16
16
|
* @param {StackProps} props
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
export declare const Bar: import('styled-components').
|
|
2
|
+
export declare const Bar: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
3
|
width?: number;
|
|
4
4
|
velocity?: number;
|
|
5
|
-
}
|
|
5
|
+
}>> & string;
|
|
6
6
|
export interface LoadingBarProps {
|
|
7
7
|
alignment?: 'left' | 'center' | 'right';
|
|
8
8
|
title?: React.ReactNode;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as Spinner, SpinnerProps } from './Spinner';
|
|
2
|
-
export { default as LoadingBar, LoadingBarProps } from './LoadingBar';
|
|
3
|
-
export { default as LoadingDots, LoadingDotsProps } from './LoadingDots';
|
|
1
|
+
export { default as Spinner, type SpinnerProps } from './Spinner';
|
|
2
|
+
export { default as LoadingBar, type LoadingBarProps } from './LoadingBar';
|
|
3
|
+
export { default as LoadingDots, type LoadingDotsProps } from './LoadingDots';
|
|
@@ -15,8 +15,6 @@ declare namespace Modal {
|
|
|
15
15
|
var Header: ({ title, children }: PropsWithChildren<{
|
|
16
16
|
title: string;
|
|
17
17
|
}>) => React.JSX.Element;
|
|
18
|
-
var Close: import("styled-components").
|
|
19
|
-
size: 16;
|
|
20
|
-
}, "size">;
|
|
18
|
+
var Close: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("common/CloseButton").CloseButtonProps, import("common/CloseButton").CloseButtonProps>, never>, never>> & string & Omit<typeof CloseButton, keyof React.Component<any, {}, any>>;
|
|
21
19
|
}
|
|
22
20
|
export default Modal;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
1
|
+
import { default as React, PropsWithChildren } from 'react';
|
|
2
2
|
export type LogoProps = PropsWithChildren<{
|
|
3
3
|
url: string;
|
|
4
4
|
className?: string;
|
|
5
5
|
}>;
|
|
6
6
|
declare function Logo({ className, url, children }: LogoProps): JSX.Element;
|
|
7
|
-
declare const _default: import('styled-components').
|
|
7
|
+
declare const _default: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<{
|
|
8
|
+
url: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
} & {
|
|
11
|
+
children?: React.ReactNode | undefined;
|
|
12
|
+
}, LogoProps>> & string & Omit<typeof Logo, keyof React.Component<any, {}, any>>;
|
|
8
13
|
export default _default;
|
|
@@ -9,8 +9,13 @@ type MenuItemProps = {
|
|
|
9
9
|
active?: boolean;
|
|
10
10
|
} & PropsWithChildren<MenuLinkProps & MenuExpandableProps>;
|
|
11
11
|
declare function MenuItem(props: MenuItemProps): React.JSX.Element;
|
|
12
|
-
declare const _default:
|
|
12
|
+
declare const _default: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<MenuProps, never>> & string & Omit<typeof Menu, keyof React.Component<any, {}, any>> & {
|
|
13
13
|
Item: typeof MenuItem;
|
|
14
|
-
SubItem: import('styled-components').
|
|
14
|
+
SubItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.HTMLAttributes<HTMLAnchorElement> & {
|
|
15
|
+
label: string;
|
|
16
|
+
leading?: React.ReactNode;
|
|
17
|
+
trailing?: React.ReactNode;
|
|
18
|
+
url?: string;
|
|
19
|
+
}, never>> & string & Omit<({ url, ...props }: MenuLinkProps) => JSX.Element, keyof React.Component<any, {}, any>>;
|
|
15
20
|
};
|
|
16
21
|
export default _default;
|
|
@@ -6,5 +6,10 @@ export type MenuLinkProps = React.HTMLAttributes<HTMLAnchorElement> & {
|
|
|
6
6
|
url?: string;
|
|
7
7
|
};
|
|
8
8
|
declare function MenuLink({ url, ...props }: MenuLinkProps): JSX.Element;
|
|
9
|
-
declare const _default: import('styled-components').
|
|
9
|
+
declare const _default: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.HTMLAttributes<HTMLAnchorElement> & {
|
|
10
|
+
label: string;
|
|
11
|
+
leading?: ReactNode;
|
|
12
|
+
trailing?: ReactNode;
|
|
13
|
+
url?: string;
|
|
14
|
+
}, never>> & string & Omit<typeof MenuLink, keyof React.Component<any, {}, any>>;
|
|
10
15
|
export default _default;
|
|
@@ -6,8 +6,13 @@ export interface SideNavigationProps {
|
|
|
6
6
|
}
|
|
7
7
|
declare function SideNavigation({ className, children }: SideNavigationProps): JSX.Element;
|
|
8
8
|
declare namespace SideNavigation {
|
|
9
|
-
var Logo: import("styled-components").
|
|
10
|
-
|
|
9
|
+
var Logo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<{
|
|
10
|
+
url: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
} & {
|
|
13
|
+
children?: ReactNode | undefined;
|
|
14
|
+
}, import("./Logo/Logo").LogoProps>> & string & Omit<({ className, url, children }: import("./Logo/Logo").LogoProps) => JSX.Element, keyof React.Component<any, {}, any>>;
|
|
15
|
+
var Menu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("./Menu/Menu").MenuProps, never>> & string & Omit<({ label, children, ...props }: import("./Menu/Menu").MenuProps) => JSX.Element, keyof React.Component<any, {}, any>> & {
|
|
11
16
|
Item: (props: {
|
|
12
17
|
active?: boolean;
|
|
13
18
|
} & React.HTMLAttributes<HTMLAnchorElement> & {
|
|
@@ -20,9 +25,14 @@ declare namespace SideNavigation {
|
|
|
20
25
|
} & {
|
|
21
26
|
children?: ReactNode | undefined;
|
|
22
27
|
}) => React.JSX.Element;
|
|
23
|
-
SubItem: import("styled-components").
|
|
28
|
+
SubItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.HTMLAttributes<HTMLAnchorElement> & {
|
|
29
|
+
label: string;
|
|
30
|
+
leading?: ReactNode;
|
|
31
|
+
trailing?: ReactNode;
|
|
32
|
+
url?: string;
|
|
33
|
+
}, never>> & string & Omit<({ url, ...props }: import("./Menu/MenuLink").MenuLinkProps) => JSX.Element, keyof React.Component<any, {}, any>>;
|
|
24
34
|
};
|
|
25
35
|
var Separator: typeof import("./Separator").Separator;
|
|
26
|
-
var CloseButton: import("styled-components").
|
|
36
|
+
var CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<CloseButtonProps, CloseButtonProps>> & string & Omit<typeof import("common/CloseButton").default, keyof React.Component<any, {}, any>>;
|
|
27
37
|
}
|
|
28
38
|
export default SideNavigation;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
1
|
+
import { default as React, PropsWithChildren } from 'react';
|
|
2
2
|
export interface StepsStepProps {
|
|
3
3
|
id: number | string;
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const StepWrapper: import('styled-components').
|
|
6
|
+
export declare const StepWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
7
7
|
declare function StepsStep({ children, id, ...others }: PropsWithChildren<StepsStepProps>): JSX.Element;
|
|
8
8
|
export default StepsStep;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { useSelection } from './Selection';
|
|
2
3
|
import { default as TableSortHandle } from './TableSortHandle';
|
|
3
4
|
import { TableProps, TableSectionProps, TableRowProps, TableCellProps, TableCaptionProps, TableSelectionProps, SelectionCellProps, TablePickerItemProps, TablePickerProps, ExpandableTableRowProps } from './Table.types';
|
|
@@ -8,7 +9,7 @@ declare namespace Table {
|
|
|
8
9
|
var Row: typeof TableRow;
|
|
9
10
|
var Cell: typeof TableCell;
|
|
10
11
|
var HeadCell: typeof TableHeadCell;
|
|
11
|
-
var Foot: import("styled-components").
|
|
12
|
+
var Foot: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, never>> & string;
|
|
12
13
|
var Caption: typeof TableCaption;
|
|
13
14
|
var Selection: {
|
|
14
15
|
Actions: typeof TableSelectionActions;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export declare const NoPaddingButton: import('styled-components').
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const NoPaddingButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<Omit<import('../Button').ButtonProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
|
|
3
|
+
}, Omit<import('../Button').ButtonProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
4
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
|
|
5
|
+
}>, never>, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('../Button').ButtonProps & import('react').RefAttributes<HTMLButtonElement>>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TablePaginationActionsProps } from './TablePagination.types';
|
|
3
3
|
import { IconProps } from '../Icon';
|
|
4
|
-
export declare const ActionIcon: import('styled-components').
|
|
5
|
-
color: "neutral-darker";
|
|
6
|
-
size: "16";
|
|
7
|
-
} & IconProps & {
|
|
4
|
+
export declare const ActionIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<import('../IconFactory').IconProps<import('../IconFactory').IconMapping> | (import('../IconFactory').IconProps<import('../IconFactory').IconMapping> & React.RefAttributes<React.Component<import('../IconFactory').IconProps<import('../IconFactory').IconMapping>, any, any>>), import('../IconFactory').IconProps<import('../IconFactory').IconMapping> & React.RefAttributes<React.Component<import('../IconFactory').IconProps<import('../IconFactory').IconMapping>, any, any>>>, import('styled-components/dist/types').BaseObject> | import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<import('../IconFactory').IconProps<import('../IconFactory').IconMapping> | (import('../IconFactory').IconProps<import('../IconFactory').IconMapping> & React.RefAttributes<React.Component<import('../IconFactory').IconProps<import('../IconFactory').IconMapping>, any, any>>), import('../IconFactory').IconProps<import('../IconFactory').IconMapping>>, import('styled-components/dist/types').BaseObject>, IconProps & {
|
|
8
5
|
rotate?: number;
|
|
9
|
-
},
|
|
6
|
+
}>> & (string & (Omit<React.ComponentClass<import('../IconFactory').IconProps<import('../IconFactory').IconMapping>, any>, keyof React.Component<any, {}, any>> | Omit<React.FunctionComponent<import('../IconFactory').IconProps<import('../IconFactory').IconMapping>>, keyof React.Component<any, {}, any>>));
|
|
10
7
|
declare function TablePaginationActions({ variant, disabled, onPageChange, page, count, rowsPerPage, }: TablePaginationActionsProps): JSX.Element;
|
|
11
8
|
export default TablePaginationActions;
|
|
@@ -5,5 +5,5 @@ export type TextProps = PropsWithChildren<{
|
|
|
5
5
|
italic?: TypographyOptions['italic'];
|
|
6
6
|
color?: TypographyOptions['color'];
|
|
7
7
|
}>;
|
|
8
|
-
declare const _default: import('styled-components').
|
|
8
|
+
declare const _default: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, TextProps>> & string;
|
|
9
9
|
export default _default;
|
|
@@ -12,7 +12,11 @@ export interface TextFieldProps extends InputHTMLAttributes<HTMLInputElement>, W
|
|
|
12
12
|
className?: string;
|
|
13
13
|
children?: ReactNode;
|
|
14
14
|
}
|
|
15
|
-
export declare const Leading: import('styled-components').
|
|
16
|
-
|
|
15
|
+
export declare const Leading: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof WithAdditionalProps> & WithAdditionalProps, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLSpanElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
17
|
+
}, WithAdditionalProps>> & string;
|
|
18
|
+
export declare const Trailing: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof WithAdditionalProps> & WithAdditionalProps, "ref"> & {
|
|
19
|
+
ref?: ((instance: HTMLSpanElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
20
|
+
}, WithAdditionalProps>> & string;
|
|
17
21
|
declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
18
22
|
export default TextField;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { ToggleGroupOptionProps } from './ToggleGroup.types';
|
|
2
3
|
declare function Toggle({ value, children, disabled, ...others }: ToggleGroupOptionProps): JSX.Element;
|
|
3
|
-
declare const _default: import('styled-components').
|
|
4
|
+
declare const _default: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<ToggleGroupOptionProps, never>> & string & Omit<typeof Toggle, keyof React.Component<any, {}, any>>;
|
|
4
5
|
export default _default;
|