@nulogy/components 8.13.1 → 8.14.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/main.js +907 -582
- package/dist/main.module.js +907 -582
- package/dist/src/Breadcrumbs/Breadcrumbs.d.ts +5 -1
- package/dist/src/Breadcrumbs/Breadcrumbs.story.d.ts +1 -0
- package/dist/src/Breadcrumbs/BreadcrumbsListItem.d.ts +5 -3
- package/dist/src/Button/Button.d.ts +2 -2
- package/dist/src/Button/Button.story.d.ts +1 -6
- package/dist/src/Button/IconicButton.d.ts +2 -0
- package/dist/src/Button/IconicButton.story.d.ts +1 -0
- package/dist/src/Checkbox/Checkbox.d.ts +15 -1
- package/dist/src/Checkbox/Checkbox.story.d.ts +1 -0
- package/dist/src/DatePicker/DatePicker.d.ts +3 -1
- package/dist/src/DatePicker/DatePicker.story.d.ts +1 -0
- package/dist/src/DatePicker/DatePickerInput.d.ts +2 -0
- package/dist/src/DateRange/DateRange.d.ts +2 -0
- package/dist/src/DateRange/DateRange.story.d.ts +13 -72
- package/dist/src/DateRange/EndTime.d.ts +1 -0
- package/dist/src/DateRange/StartTime.d.ts +1 -0
- package/dist/src/DropdownMenu/DropdownButton.d.ts +7 -6
- package/dist/src/DropdownMenu/DropdownLink.d.ts +13 -2
- package/dist/src/DropdownMenu/DropdownMenu.d.ts +2 -0
- package/dist/src/DropdownMenu/DropdownMenu.story.d.ts +1 -0
- package/dist/src/Input/Input.story.d.ts +1 -0
- package/dist/src/Input/InputField.d.ts +6 -3
- package/dist/src/Link/Link.d.ts +7 -4
- package/dist/src/Link/Link.story.d.ts +2 -6
- package/dist/src/NDSProvider/ComponentSizeContext.d.ts +9 -0
- package/dist/src/NDSProvider/NDSProvider.d.ts +13 -2
- package/dist/src/Radio/Radio.d.ts +5 -11
- package/dist/src/Radio/Radio.story.d.ts +1 -0
- package/dist/src/RangeContainer/RangeContainer.d.ts +2 -0
- package/dist/src/Select/Select.d.ts +2 -0
- package/dist/src/Select/Select.story.d.ts +1 -0
- package/dist/src/Select/customReactSelectStyles.d.ts +924 -19
- package/dist/src/Switcher/Switch.d.ts +6 -3
- package/dist/src/Switcher/Switcher.d.ts +7 -5
- package/dist/src/Switcher/Switcher.story.d.ts +1 -0
- package/dist/src/Tabs/Tab.d.ts +2 -3
- package/dist/src/Tabs/Tabs.d.ts +5 -0
- package/dist/src/Tabs/Tabs.story.d.ts +2 -6
- package/dist/src/Textarea/StyledTextarea.d.ts +13 -1
- package/dist/src/Textarea/Textarea.story.d.ts +9 -48
- package/dist/src/TimePicker/TimePicker.d.ts +2 -0
- package/dist/src/TimePicker/TimePicker.story.d.ts +1 -0
- package/dist/src/TimePicker/TimePickerInput.d.ts +310 -1
- package/dist/src/TimePicker/TimePickerOption.d.ts +8 -1
- package/dist/src/TimeRange/TimeRange.d.ts +8 -7
- package/dist/src/Toggle/Toggle.d.ts +2 -0
- package/dist/src/Toggle/Toggle.story.d.ts +1 -0
- package/dist/src/theme.type.d.ts +1 -1
- package/dist/src/utils/ClickInputLabel.d.ts +5 -2
- package/dist/src/utils/dashed.d.ts +6 -0
- package/package.json +2 -2
- package/dist/src/Switcher/Switch.story.d.ts +0 -22
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
2
|
+
import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
3
|
+
export type SwitchProps = Omit<React.ComponentPropsWithRef<"button">, "value"> & {
|
|
4
|
+
value?: string;
|
|
3
5
|
selected?: boolean;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
+
size?: ComponentSize;
|
|
7
|
+
};
|
|
8
|
+
declare const Switch: React.ForwardRefExoticComponent<Pick<SwitchProps, "form" | "slot" | "style" | "title" | "key" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "selected" | "size"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6
9
|
export default Switch;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
|
+
import type { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
3
|
+
import type { SwitchProps } from "./Switch";
|
|
3
4
|
type SwitcherProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
size?: ComponentSize;
|
|
6
|
+
children?: ReactElement<SwitchProps>[];
|
|
7
|
+
selected?: string;
|
|
8
|
+
onChange?: (value: string) => void;
|
|
7
9
|
};
|
|
8
10
|
declare const Switcher: React.FC<SwitcherProps>;
|
|
9
11
|
export default Switcher;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const WithSelectedValue: () => JSX.Element;
|
|
2
|
+
export declare const WithDifferentSizes: () => JSX.Element;
|
|
2
3
|
export declare const WithOtherInteractiveElements: () => JSX.Element;
|
|
3
4
|
export declare const WithContent: () => JSX.Element;
|
|
4
5
|
declare const _default: {
|
package/dist/src/Tabs/Tab.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
3
3
|
type TabButtonProps = React.ComponentPropsWithRef<"button"> & {
|
|
4
|
+
size?: ComponentSize;
|
|
4
5
|
selected?: boolean;
|
|
5
|
-
disabled?: boolean;
|
|
6
6
|
fullWidth?: boolean;
|
|
7
|
-
theme?: DefaultNDSThemeType;
|
|
8
7
|
};
|
|
9
8
|
type TabProps = TabButtonProps & {
|
|
10
9
|
label?: React.ReactNode;
|
package/dist/src/Tabs/Tabs.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
2
3
|
export type TabsProps = {
|
|
3
4
|
className?: string;
|
|
4
5
|
selectedIndex?: number;
|
|
6
|
+
size?: ComponentSize;
|
|
5
7
|
defaultSelectedIndex?: number;
|
|
6
8
|
renderTabContentOnlyWhenSelected?: boolean;
|
|
7
9
|
fitted?: boolean;
|
|
@@ -11,6 +13,9 @@ export type TabsState = {
|
|
|
11
13
|
selectedIndex: any;
|
|
12
14
|
};
|
|
13
15
|
declare class Tabs extends React.Component<TabsProps, TabsState> {
|
|
16
|
+
static contextType: React.Context<{
|
|
17
|
+
size: ComponentSize;
|
|
18
|
+
}>;
|
|
14
19
|
constructor(props: any);
|
|
15
20
|
getSelectedIndex(): any;
|
|
16
21
|
getTabs(setFocusToTab: any, focusedIndex: any, handleArrowNavigation: any): React.DetailedReactHTMLElement<any, HTMLElement>[];
|
|
@@ -51,9 +51,5 @@ export declare const WithContentLoadedOnSelection: {
|
|
|
51
51
|
name: string;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
|
-
export declare const WithConditionallyRenderedTabs:
|
|
55
|
-
|
|
56
|
-
story: {
|
|
57
|
-
name: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
54
|
+
export declare const WithConditionallyRenderedTabs: () => JSX.Element;
|
|
55
|
+
export declare const WithDifferentSizes: () => JSX.Element;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SpaceProps } from "styled-system";
|
|
3
3
|
import { DefaultNDSThemeType } from "../theme.type";
|
|
4
|
+
import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
4
5
|
export type StyledTextareaProps = React.ComponentPropsWithRef<"textarea"> & SpaceProps & {
|
|
6
|
+
size?: ComponentSize;
|
|
5
7
|
theme?: DefaultNDSThemeType;
|
|
6
8
|
errorMessage?: string;
|
|
7
9
|
errorList?: string[];
|
|
@@ -9,5 +11,15 @@ export type StyledTextareaProps = React.ComponentPropsWithRef<"textarea"> & Spac
|
|
|
9
11
|
rows?: number;
|
|
10
12
|
isResizeable?: boolean;
|
|
11
13
|
};
|
|
12
|
-
declare const StyledTextarea: React.
|
|
14
|
+
declare const StyledTextarea: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme, Pick<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "key" | keyof React.TextareaHTMLAttributes<HTMLTextAreaElement>> & {
|
|
15
|
+
ref?: React.Ref<HTMLTextAreaElement>;
|
|
16
|
+
} & SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
|
17
|
+
size?: ComponentSize;
|
|
18
|
+
theme?: DefaultNDSThemeType;
|
|
19
|
+
errorMessage?: string;
|
|
20
|
+
errorList?: string[];
|
|
21
|
+
error?: boolean;
|
|
22
|
+
rows?: number;
|
|
23
|
+
isResizeable?: boolean;
|
|
24
|
+
}, never>;
|
|
13
25
|
export default StyledTextarea;
|
|
@@ -3,51 +3,12 @@ declare const _default: {
|
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const _Textarea: () => JSX.Element;
|
|
6
|
-
export declare const TextareaWithAllProps:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export declare const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
name: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export declare const WithNoResizing: {
|
|
19
|
-
(): JSX.Element;
|
|
20
|
-
story: {
|
|
21
|
-
name: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const WithErrorMessage: {
|
|
25
|
-
(): JSX.Element;
|
|
26
|
-
story: {
|
|
27
|
-
name: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export declare const WithErrorList: {
|
|
31
|
-
(): JSX.Element;
|
|
32
|
-
story: {
|
|
33
|
-
name: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export declare const WithCustomNumberOfRows: {
|
|
37
|
-
(): JSX.Element;
|
|
38
|
-
story: {
|
|
39
|
-
name: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export declare const WithCustomId: {
|
|
43
|
-
(): JSX.Element;
|
|
44
|
-
story: {
|
|
45
|
-
name: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export declare const UsingRefToControlFocus: {
|
|
49
|
-
(): JSX.Element;
|
|
50
|
-
story: {
|
|
51
|
-
name: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
6
|
+
export declare const TextareaWithAllProps: () => JSX.Element;
|
|
7
|
+
export declare const SetToDisabled: () => JSX.Element;
|
|
8
|
+
export declare const WithNoResizing: () => JSX.Element;
|
|
9
|
+
export declare const WithErrorMessage: () => JSX.Element;
|
|
10
|
+
export declare const WithErrorList: () => JSX.Element;
|
|
11
|
+
export declare const WithCustomNumberOfRows: () => JSX.Element;
|
|
12
|
+
export declare const WithCustomId: () => JSX.Element;
|
|
13
|
+
export declare const UsingRefToControlFocus: () => JSX.Element;
|
|
14
|
+
export declare const WithDifferentSizes: () => JSX.Element;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SpaceProps } from "styled-system";
|
|
3
|
+
import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
3
4
|
type TimePickerProps = SpaceProps & {
|
|
5
|
+
size?: ComponentSize;
|
|
4
6
|
disabled?: boolean;
|
|
5
7
|
value?: string;
|
|
6
8
|
timeFormat?: string;
|
|
@@ -1,3 +1,312 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
import { InputFieldProps } from "../Input/InputField";
|
|
3
|
+
declare const TimePickerInput: import("styled-components").StyledComponent<import("react").FC<InputFieldProps>, import("styled-components").DefaultTheme, {
|
|
4
|
+
ref?: import("react").Ref<HTMLInputElement>;
|
|
5
|
+
form?: string;
|
|
6
|
+
slot?: string;
|
|
7
|
+
style?: import("react").CSSProperties;
|
|
8
|
+
title?: string;
|
|
9
|
+
pattern?: string;
|
|
10
|
+
key?: import("react").Key;
|
|
11
|
+
accept?: string;
|
|
12
|
+
alt?: string;
|
|
13
|
+
autoComplete?: string;
|
|
14
|
+
autoFocus?: boolean;
|
|
15
|
+
capture?: string | boolean;
|
|
16
|
+
checked?: boolean;
|
|
17
|
+
crossOrigin?: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send";
|
|
20
|
+
formAction?: string;
|
|
21
|
+
formEncType?: string;
|
|
22
|
+
formMethod?: string;
|
|
23
|
+
formNoValidate?: boolean;
|
|
24
|
+
formTarget?: string;
|
|
25
|
+
height?: string | number;
|
|
26
|
+
list?: string;
|
|
27
|
+
max?: string | number;
|
|
28
|
+
maxLength?: number;
|
|
29
|
+
min?: string | number;
|
|
30
|
+
minLength?: number;
|
|
31
|
+
multiple?: boolean;
|
|
32
|
+
name?: string;
|
|
33
|
+
placeholder?: string;
|
|
34
|
+
readOnly?: boolean;
|
|
35
|
+
required?: boolean;
|
|
36
|
+
src?: string;
|
|
37
|
+
step?: string | number;
|
|
38
|
+
type?: string;
|
|
39
|
+
value?: string | number | readonly string[];
|
|
40
|
+
width?: string | number;
|
|
41
|
+
onChange?: import("react").ChangeEventHandler<HTMLInputElement>;
|
|
42
|
+
defaultChecked?: boolean;
|
|
43
|
+
defaultValue?: string | number | readonly string[];
|
|
44
|
+
suppressContentEditableWarning?: boolean;
|
|
45
|
+
suppressHydrationWarning?: boolean;
|
|
46
|
+
accessKey?: string;
|
|
47
|
+
className?: string;
|
|
48
|
+
contentEditable?: "inherit" | (boolean | "true" | "false");
|
|
49
|
+
contextMenu?: string;
|
|
50
|
+
dir?: string;
|
|
51
|
+
draggable?: boolean | "true" | "false";
|
|
52
|
+
hidden?: boolean;
|
|
53
|
+
id?: string;
|
|
54
|
+
lang?: string;
|
|
55
|
+
spellCheck?: boolean | "true" | "false";
|
|
56
|
+
tabIndex?: number;
|
|
57
|
+
translate?: "yes" | "no";
|
|
58
|
+
radioGroup?: string;
|
|
59
|
+
role?: import("react").AriaRole;
|
|
60
|
+
about?: string;
|
|
61
|
+
datatype?: string;
|
|
62
|
+
inlist?: any;
|
|
63
|
+
prefix?: string;
|
|
64
|
+
property?: string;
|
|
65
|
+
resource?: string;
|
|
66
|
+
typeof?: string;
|
|
67
|
+
vocab?: string;
|
|
68
|
+
autoCapitalize?: string;
|
|
69
|
+
autoCorrect?: string;
|
|
70
|
+
autoSave?: string;
|
|
71
|
+
color?: string;
|
|
72
|
+
itemProp?: string;
|
|
73
|
+
itemScope?: boolean;
|
|
74
|
+
itemType?: string;
|
|
75
|
+
itemID?: string;
|
|
76
|
+
itemRef?: string;
|
|
77
|
+
results?: number;
|
|
78
|
+
security?: string;
|
|
79
|
+
unselectable?: "on" | "off";
|
|
80
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
81
|
+
is?: string;
|
|
82
|
+
'aria-activedescendant'?: string;
|
|
83
|
+
'aria-atomic'?: boolean | "true" | "false";
|
|
84
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both";
|
|
85
|
+
'aria-busy'?: boolean | "true" | "false";
|
|
86
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
87
|
+
'aria-colcount'?: number;
|
|
88
|
+
'aria-colindex'?: number;
|
|
89
|
+
'aria-colspan'?: number;
|
|
90
|
+
'aria-controls'?: string;
|
|
91
|
+
'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date";
|
|
92
|
+
'aria-describedby'?: string;
|
|
93
|
+
'aria-details'?: string;
|
|
94
|
+
'aria-disabled'?: boolean | "true" | "false";
|
|
95
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
96
|
+
'aria-errormessage'?: string;
|
|
97
|
+
'aria-expanded'?: boolean | "true" | "false";
|
|
98
|
+
'aria-flowto'?: string;
|
|
99
|
+
'aria-grabbed'?: boolean | "true" | "false";
|
|
100
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
|
|
101
|
+
'aria-hidden'?: boolean | "true" | "false";
|
|
102
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
103
|
+
'aria-keyshortcuts'?: string;
|
|
104
|
+
'aria-label'?: string;
|
|
105
|
+
'aria-labelledby'?: string;
|
|
106
|
+
'aria-level'?: number;
|
|
107
|
+
'aria-live'?: "off" | "assertive" | "polite";
|
|
108
|
+
'aria-modal'?: boolean | "true" | "false";
|
|
109
|
+
'aria-multiline'?: boolean | "true" | "false";
|
|
110
|
+
'aria-multiselectable'?: boolean | "true" | "false";
|
|
111
|
+
'aria-orientation'?: "horizontal" | "vertical";
|
|
112
|
+
'aria-owns'?: string;
|
|
113
|
+
'aria-placeholder'?: string;
|
|
114
|
+
'aria-posinset'?: number;
|
|
115
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
116
|
+
'aria-readonly'?: boolean | "true" | "false";
|
|
117
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
118
|
+
'aria-required'?: boolean | "true" | "false";
|
|
119
|
+
'aria-roledescription'?: string;
|
|
120
|
+
'aria-rowcount'?: number;
|
|
121
|
+
'aria-rowindex'?: number;
|
|
122
|
+
'aria-rowspan'?: number;
|
|
123
|
+
'aria-selected'?: boolean | "true" | "false";
|
|
124
|
+
'aria-setsize'?: number;
|
|
125
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
126
|
+
'aria-valuemax'?: number;
|
|
127
|
+
'aria-valuemin'?: number;
|
|
128
|
+
'aria-valuenow'?: number;
|
|
129
|
+
'aria-valuetext'?: string;
|
|
130
|
+
children?: import("react").ReactNode;
|
|
131
|
+
dangerouslySetInnerHTML?: {
|
|
132
|
+
__html: string;
|
|
133
|
+
};
|
|
134
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLInputElement>;
|
|
135
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLInputElement>;
|
|
136
|
+
onCut?: import("react").ClipboardEventHandler<HTMLInputElement>;
|
|
137
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLInputElement>;
|
|
138
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLInputElement>;
|
|
139
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLInputElement>;
|
|
140
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLInputElement>;
|
|
141
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLInputElement>;
|
|
142
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLInputElement>;
|
|
143
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLInputElement>;
|
|
144
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLInputElement>;
|
|
145
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLInputElement>;
|
|
146
|
+
onFocus?: import("react").FocusEventHandler<HTMLInputElement>;
|
|
147
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLInputElement>;
|
|
148
|
+
onBlur?: import("react").FocusEventHandler<HTMLInputElement>;
|
|
149
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLInputElement>;
|
|
150
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLInputElement>;
|
|
151
|
+
onBeforeInput?: import("react").FormEventHandler<HTMLInputElement>;
|
|
152
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLInputElement>;
|
|
153
|
+
onInput?: import("react").FormEventHandler<HTMLInputElement>;
|
|
154
|
+
onInputCapture?: import("react").FormEventHandler<HTMLInputElement>;
|
|
155
|
+
onReset?: import("react").FormEventHandler<HTMLInputElement>;
|
|
156
|
+
onResetCapture?: import("react").FormEventHandler<HTMLInputElement>;
|
|
157
|
+
onSubmit?: import("react").FormEventHandler<HTMLInputElement>;
|
|
158
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLInputElement>;
|
|
159
|
+
onInvalid?: import("react").FormEventHandler<HTMLInputElement>;
|
|
160
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLInputElement>;
|
|
161
|
+
onLoad?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
162
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
163
|
+
onError?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
164
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
165
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLInputElement>;
|
|
166
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLInputElement>;
|
|
167
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLInputElement>;
|
|
168
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLInputElement>;
|
|
169
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLInputElement>;
|
|
170
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLInputElement>;
|
|
171
|
+
onAbort?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
172
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
173
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
174
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
175
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
176
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
177
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
178
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
179
|
+
onEmptied?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
180
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
181
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
182
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
183
|
+
onEnded?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
184
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
185
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
186
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
187
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
188
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
189
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
190
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
191
|
+
onPause?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
192
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
193
|
+
onPlay?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
194
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
195
|
+
onPlaying?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
196
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
197
|
+
onProgress?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
198
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
199
|
+
onRateChange?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
200
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
201
|
+
onSeeked?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
202
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
203
|
+
onSeeking?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
204
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
205
|
+
onStalled?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
206
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
207
|
+
onSuspend?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
208
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
209
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
210
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
211
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
212
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
213
|
+
onWaiting?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
214
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
215
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
216
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
217
|
+
onClick?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
218
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
219
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
220
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
221
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
222
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
223
|
+
onDrag?: import("react").DragEventHandler<HTMLInputElement>;
|
|
224
|
+
onDragCapture?: import("react").DragEventHandler<HTMLInputElement>;
|
|
225
|
+
onDragEnd?: import("react").DragEventHandler<HTMLInputElement>;
|
|
226
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLInputElement>;
|
|
227
|
+
onDragEnter?: import("react").DragEventHandler<HTMLInputElement>;
|
|
228
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLInputElement>;
|
|
229
|
+
onDragExit?: import("react").DragEventHandler<HTMLInputElement>;
|
|
230
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLInputElement>;
|
|
231
|
+
onDragLeave?: import("react").DragEventHandler<HTMLInputElement>;
|
|
232
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLInputElement>;
|
|
233
|
+
onDragOver?: import("react").DragEventHandler<HTMLInputElement>;
|
|
234
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLInputElement>;
|
|
235
|
+
onDragStart?: import("react").DragEventHandler<HTMLInputElement>;
|
|
236
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLInputElement>;
|
|
237
|
+
onDrop?: import("react").DragEventHandler<HTMLInputElement>;
|
|
238
|
+
onDropCapture?: import("react").DragEventHandler<HTMLInputElement>;
|
|
239
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
240
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
241
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
242
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
243
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
244
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
245
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
246
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
247
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
248
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
249
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
250
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
251
|
+
onSelect?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
252
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLInputElement>;
|
|
253
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLInputElement>;
|
|
254
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLInputElement>;
|
|
255
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLInputElement>;
|
|
256
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLInputElement>;
|
|
257
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLInputElement>;
|
|
258
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLInputElement>;
|
|
259
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLInputElement>;
|
|
260
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLInputElement>;
|
|
261
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
262
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
263
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
264
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
265
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
266
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
267
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
268
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
269
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
270
|
+
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
271
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
272
|
+
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
273
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
274
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
275
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
276
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
277
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
278
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
279
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
280
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement>;
|
|
281
|
+
onScroll?: import("react").UIEventHandler<HTMLInputElement>;
|
|
282
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLInputElement>;
|
|
283
|
+
onWheel?: import("react").WheelEventHandler<HTMLInputElement>;
|
|
284
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLInputElement>;
|
|
285
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLInputElement>;
|
|
286
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLInputElement>;
|
|
287
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLInputElement>;
|
|
288
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLInputElement>;
|
|
289
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLInputElement>;
|
|
290
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement>;
|
|
291
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement>;
|
|
292
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement>;
|
|
293
|
+
} & {
|
|
294
|
+
htmlSize?: number;
|
|
295
|
+
size?: import("../NDSProvider/ComponentSizeContext").ComponentSize;
|
|
296
|
+
icon?: string;
|
|
297
|
+
error?: boolean;
|
|
298
|
+
labelText?: string;
|
|
299
|
+
requirementText?: string;
|
|
300
|
+
helpText?: import("react").ReactNode;
|
|
301
|
+
suffix?: string;
|
|
302
|
+
prefix?: string;
|
|
303
|
+
suffixWidth?: string;
|
|
304
|
+
prefixWidth?: string;
|
|
305
|
+
suffixAlignment?: import("styled-system").ResponsiveValue<import("csstype").Property.TextAlign, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>>;
|
|
306
|
+
prefixAlignment?: import("styled-system").ResponsiveValue<import("csstype").Property.TextAlign, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>>;
|
|
307
|
+
iconSize?: string;
|
|
308
|
+
inputWidth?: string;
|
|
309
|
+
} & {
|
|
310
|
+
dropdownIsOpen: boolean;
|
|
311
|
+
}, never>;
|
|
3
312
|
export default TimePickerInput;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
3
|
+
declare const TimePickerOption: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, React.ClassAttributes<HTMLLIElement> & React.LiHTMLAttributes<HTMLLIElement> & {
|
|
4
|
+
size?: ComponentSize;
|
|
5
|
+
isSelected: boolean;
|
|
6
|
+
isFocused: boolean;
|
|
7
|
+
isClosest: boolean;
|
|
8
|
+
}, never>;
|
|
2
9
|
export default TimePickerOption;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SpaceProps } from "styled-system";
|
|
3
|
-
|
|
3
|
+
import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
4
|
+
declare const TimeRange: React.ForwardRefExoticComponent<Pick<SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
|
5
|
+
size?: ComponentSize;
|
|
4
6
|
timeFormat?: string;
|
|
5
|
-
onRangeChange?:
|
|
6
|
-
onStartTimeChange?:
|
|
7
|
-
onEndTimeChange?:
|
|
8
|
-
ref?:
|
|
7
|
+
onRangeChange?: Function;
|
|
8
|
+
onStartTimeChange?: Function;
|
|
9
|
+
onEndTimeChange?: Function;
|
|
10
|
+
ref?: React.MutableRefObject<unknown>;
|
|
9
11
|
errorMessage?: string;
|
|
10
12
|
defaultStartTime?: string;
|
|
11
13
|
defaultEndTime?: string;
|
|
@@ -18,6 +20,5 @@ type TimeRangeProps = SpaceProps & {
|
|
|
18
20
|
endAriaLabel?: string;
|
|
19
21
|
endTimeProps?: any;
|
|
20
22
|
startTimeProps?: any;
|
|
21
|
-
}
|
|
22
|
-
declare const TimeRange: React.FC<TimeRangeProps>;
|
|
23
|
+
}, "timeFormat" | "onRangeChange" | "onStartTimeChange" | "onEndTimeChange" | "errorMessage" | "defaultStartTime" | "defaultEndTime" | "disableRangeValidation" | "labelProps" | "minTime" | "maxTime" | "interval" | "startAriaLabel" | "endAriaLabel" | "endTimeProps" | "startTimeProps" | "size" | keyof SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>> & React.RefAttributes<unknown>>;
|
|
23
24
|
export default TimeRange;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SpaceProps } from "styled-system";
|
|
3
3
|
import { DefaultNDSThemeType } from "../theme.type";
|
|
4
|
+
import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
4
5
|
declare const ToggleComponent: React.ForwardRefExoticComponent<SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
|
5
6
|
onChange?: (...args: any[]) => any;
|
|
7
|
+
size?: ComponentSize;
|
|
6
8
|
toggled?: boolean;
|
|
7
9
|
disabled?: boolean;
|
|
8
10
|
onText?: string;
|
package/dist/src/theme.type.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ClickInputLabel:
|
|
1
|
+
import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
2
|
+
declare const ClickInputLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
|
|
3
|
+
size: ComponentSize;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
}, never>;
|
|
3
6
|
export default ClickInputLabel;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A styled utility that adds a dashed border around a component
|
|
3
|
+
* to highlight its boundaries. To be used in Storybook exclusively.
|
|
4
|
+
*/
|
|
5
|
+
declare const dashed: (component: any) => import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
|
|
6
|
+
export default dashed;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nulogy/components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.14.0",
|
|
4
4
|
"description": "Component library for the Nulogy Design System - http://nulogy.design",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@types/styled-components": "^5.1.9",
|
|
87
87
|
"@types/styled-system": "^5.1.11",
|
|
88
88
|
"@typescript-eslint/eslint-plugin": "^4.0.0",
|
|
89
|
-
"@typescript-eslint/parser": "^
|
|
89
|
+
"@typescript-eslint/parser": "^5.30.5",
|
|
90
90
|
"awesome-typescript-loader": "^5.2.1",
|
|
91
91
|
"babel-eslint": "^10.0.3",
|
|
92
92
|
"babel-jest": "29.5.0",
|