react-magma-dom 3.2.1-next.0 → 3.2.1-next.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/dist/components/Accordion/Accordion.stories.d.ts +3 -24
- package/dist/components/Alert/Alert.stories.d.ts +2 -5
- package/dist/components/Announce/Announce.stories.d.ts +2 -5
- package/dist/components/Badge/Badge.stories.d.ts +2 -5
- package/dist/components/Banner/Banner.stories.d.ts +1 -5
- package/dist/components/BreakpointsContainer/BreakpointsContainer.stories.d.ts +2 -5
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +1 -52
- package/dist/components/Card/Card.stories.d.ts +2 -17
- package/dist/components/Checkbox/Checkbox.stories.d.ts +2 -5
- package/dist/components/Container/Container.stories.d.ts +1 -5
- package/dist/components/DatePicker/DatePicker.stories.d.ts +2 -29
- package/dist/components/Form/Form.stories.d.ts +1 -5
- package/dist/components/FormGroup/FormGroup.stories.d.ts +2 -5
- package/dist/components/Heading/Heading.stories.d.ts +2 -5
- package/dist/components/HideAtBreakpoint/HideAtBreakpoint.stories.d.ts +2 -5
- package/dist/components/Hyperlink/Hyperlink.stories.d.ts +2 -5
- package/dist/components/IndeterminateCheckbox/IndeterminateCheckbox.stories.d.ts +2 -5
- package/dist/components/List/List.stories.d.ts +2 -45
- package/dist/components/LoadingIndicator/LoadingIndicator.stories.d.ts +2 -25
- package/dist/components/NavTabs/NavTabs.stories.d.ts +2 -5
- package/dist/components/Paragraph/Paragraph.stories.d.ts +2 -5
- package/dist/components/Radio/Radio.stories.d.ts +2 -5
- package/dist/components/SkipLink/SkipLink.stories.d.ts +2 -5
- package/dist/components/Toast/Toast.stories.d.ts +2 -28
- package/dist/components/Toggle/Toggle.stories.d.ts +2 -5
- package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +2 -5
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/react-magma-dom.cjs.development.js +3 -2
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,27 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import { AccordionProps
|
|
3
|
-
declare const _default:
|
|
4
|
-
component: React.ForwardRefExoticComponent<(import("./Accordion").AccordionMultipleProps & React.RefAttributes<HTMLDivElement>) | (import("./Accordion").AccordionSingleProps & React.RefAttributes<HTMLDivElement>) | (import("./Accordion").AccordionMultipleControlledProps & React.RefAttributes<HTMLDivElement>) | (import("./Accordion").AccordionSingleControlledProps & React.RefAttributes<HTMLDivElement>)>;
|
|
5
|
-
title: string;
|
|
6
|
-
argTypes: {
|
|
7
|
-
iconPosition: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
options: typeof AccordionIconPosition;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
isInverse: {
|
|
14
|
-
control: {
|
|
15
|
-
type: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
isMulti: {
|
|
19
|
-
control: {
|
|
20
|
-
type: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AccordionProps } from '.';
|
|
3
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
25
4
|
export default _default;
|
|
26
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, AccordionProps>;
|
|
27
6
|
export declare const NoMulti: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, AccordionProps>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
title: string;
|
|
4
|
-
component: React.ForwardRefExoticComponent<import(".").AlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
8
5
|
export declare const Inverse: () => JSX.Element;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<import(".").AnnounceProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<import(".").BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
8
5
|
export declare const Inverse: () => JSX.Element;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { BannerProps } from '.';
|
|
3
|
-
declare const _default:
|
|
4
|
-
component: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
title: string;
|
|
6
|
-
};
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
7
3
|
export default _default;
|
|
8
4
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, BannerProps>;
|
|
9
5
|
export declare const Inverse: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, BannerProps>;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.FunctionComponent<import(".").BreakpointsContainerProps>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
@@ -1,58 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ButtonGroupOrientation, ButtonGroupAlignment, ButtonGroupProps } from '.';
|
|
3
3
|
import { ButtonColor, ButtonVariant, ButtonSize, ButtonTextTransform } from '../Button';
|
|
4
|
-
declare const _default:
|
|
5
|
-
component: React.ForwardRefExoticComponent<ButtonGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
title: string;
|
|
7
|
-
argTypes: {
|
|
8
|
-
noSpace: {
|
|
9
|
-
control: {
|
|
10
|
-
type: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
alignment: {
|
|
14
|
-
control: {
|
|
15
|
-
type: string;
|
|
16
|
-
options: typeof ButtonGroupAlignment;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
orientation: {
|
|
20
|
-
control: {
|
|
21
|
-
type: string;
|
|
22
|
-
options: typeof ButtonGroupOrientation;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
color: {
|
|
26
|
-
control: {
|
|
27
|
-
type: string;
|
|
28
|
-
options: typeof ButtonColor;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
size: {
|
|
32
|
-
control: {
|
|
33
|
-
type: string;
|
|
34
|
-
options: typeof ButtonSize;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
variant: {
|
|
38
|
-
control: {
|
|
39
|
-
type: string;
|
|
40
|
-
options: typeof ButtonVariant;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
textTransform: {
|
|
44
|
-
control: {
|
|
45
|
-
type: string;
|
|
46
|
-
options: typeof ButtonTextTransform;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
isInverse: {
|
|
50
|
-
control: {
|
|
51
|
-
type: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
};
|
|
4
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
56
5
|
export default _default;
|
|
57
6
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, ButtonGroupProps>;
|
|
58
7
|
export declare const SmallBreakpoint: {
|
|
@@ -1,20 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<import("./Card").CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
title: string;
|
|
5
|
-
argTypes: {
|
|
6
|
-
isInverse: {
|
|
7
|
-
control: {
|
|
8
|
-
type: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
hasDropShadow: {
|
|
12
|
-
control: {
|
|
13
|
-
type: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
18
3
|
export default _default;
|
|
19
4
|
export declare const Default: {
|
|
20
5
|
(args: any): JSX.Element;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<import(".").CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
8
5
|
export declare const Inverse: () => JSX.Element;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ContainerProps } from './';
|
|
3
|
-
declare const _default:
|
|
4
|
-
component: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
title: string;
|
|
6
|
-
};
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
7
3
|
export default _default;
|
|
8
4
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, ContainerProps>;
|
|
9
5
|
export declare const Inverse: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, ContainerProps>;
|
|
@@ -1,32 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const _default: {
|
|
4
|
-
component: React.ForwardRefExoticComponent<import(".").DatePickerProps & React.RefAttributes<HTMLInputElement>>;
|
|
5
|
-
title: string;
|
|
6
|
-
argTypes: {
|
|
7
|
-
minDate: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
isClearable: {
|
|
13
|
-
control: {
|
|
14
|
-
type: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
labelPosition: {
|
|
18
|
-
control: {
|
|
19
|
-
type: string;
|
|
20
|
-
options: typeof LabelPosition;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
labelWidth: {
|
|
24
|
-
control: {
|
|
25
|
-
type: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
30
3
|
export default _default;
|
|
31
4
|
export declare const Default: {
|
|
32
5
|
(args: any): JSX.Element;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { FormProps } from '.';
|
|
3
|
-
declare const _default:
|
|
4
|
-
component: React.ForwardRefExoticComponent<FormProps & React.RefAttributes<HTMLFormElement>>;
|
|
5
|
-
title: string;
|
|
6
|
-
};
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
7
3
|
export default _default;
|
|
8
4
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, FormProps>;
|
|
9
5
|
export declare const Expanded: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, FormProps>;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<import(".").FormGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<Pick<import(".").HeadingProps, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "css" | "theme" | "isInverse" | "testId" | "contextVariant" | "visualStyle" | "level" | "as" | "element" | "noMargins"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
8
5
|
export declare const Colors: () => JSX.Element;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<import(".").HideAtBreakpointProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<import(".").HyperlinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
8
5
|
export declare const Inverse: () => JSX.Element;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<import(".").IndeterminateCheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
8
5
|
export declare const Inverse: () => JSX.Element;
|
|
@@ -1,47 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const _default: {
|
|
4
|
-
component: React.ForwardRefExoticComponent<import("./List").ListProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
title: string;
|
|
6
|
-
argTypes: {
|
|
7
|
-
isInverse: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
isOrdered: {
|
|
13
|
-
control: {
|
|
14
|
-
type: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
spacingStyle: {
|
|
18
|
-
control: {
|
|
19
|
-
type: string;
|
|
20
|
-
options: {
|
|
21
|
-
spacing01: string;
|
|
22
|
-
spacing02: string;
|
|
23
|
-
spacing03: string;
|
|
24
|
-
spacing04: string;
|
|
25
|
-
spacing05: string;
|
|
26
|
-
spacing06: string;
|
|
27
|
-
spacing07: string;
|
|
28
|
-
spacing08: string;
|
|
29
|
-
spacing09: string;
|
|
30
|
-
spacing10: string;
|
|
31
|
-
spacing11: string;
|
|
32
|
-
spacing12: string;
|
|
33
|
-
spacing13: string;
|
|
34
|
-
spacing14: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
visualStyle: {
|
|
39
|
-
control: {
|
|
40
|
-
type: string;
|
|
41
|
-
options: typeof TypographyVisualStyle;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
46
3
|
export default _default;
|
|
47
4
|
export declare const Default: (args: any) => JSX.Element;
|
|
@@ -1,28 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const _default: {
|
|
4
|
-
component: React.ForwardRefExoticComponent<import(".").LoadingIndicatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
title: string;
|
|
6
|
-
argTypes: {
|
|
7
|
-
percentage: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
type: {
|
|
13
|
-
control: {
|
|
14
|
-
type: string;
|
|
15
|
-
options: typeof LoadingIndicatorType;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
isInverse: {
|
|
19
|
-
defaultValue: boolean;
|
|
20
|
-
control: {
|
|
21
|
-
type: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
26
3
|
export default _default;
|
|
27
4
|
export declare const Default: {
|
|
28
5
|
(args: any): JSX.Element;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<(import("./NavTabs").NavTabsProps & import("../Tabs").HorizontalTabsProps & React.RefAttributes<HTMLDivElement>) | (import("./NavTabs").NavTabsProps & import("../Tabs").VerticalTabsProps & React.RefAttributes<HTMLDivElement>)>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
8
5
|
export declare const BackgroundColor: () => JSX.Element;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<import(".").ParagraphProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<import(".").RadioProps & React.RefAttributes<HTMLInputElement>>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
8
5
|
export declare const Inverse: () => JSX.Element;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.FunctionComponent<import(".").SkipLinkProps>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
@@ -1,32 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { AlertVariant } from '../AlertBase';
|
|
3
|
-
declare const _default:
|
|
4
|
-
component: React.ForwardRefExoticComponent<import(".").ToastProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
title: string;
|
|
6
|
-
argTypes: {
|
|
7
|
-
isInverse: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
disableAutoDismiss: {
|
|
13
|
-
control: {
|
|
14
|
-
type: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
toastDuration: {
|
|
18
|
-
control: {
|
|
19
|
-
type: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
variant: {
|
|
23
|
-
control: {
|
|
24
|
-
type: string;
|
|
25
|
-
options: typeof AlertVariant;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
3
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
30
4
|
export default _default;
|
|
31
5
|
export declare const Default: {
|
|
32
6
|
(args: any): JSX.Element;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.ForwardRefExoticComponent<import(".").ToggleProps & React.RefAttributes<HTMLInputElement>>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
|
8
5
|
export declare const Inverse: () => JSX.Element;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default:
|
|
3
|
-
component: React.FunctionComponent<import(".").VisuallyHiddenProps>;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
6
3
|
export default _default;
|
|
7
4
|
export declare const Default: () => JSX.Element;
|
package/dist/esm/index.js
CHANGED
|
@@ -5097,9 +5097,10 @@ var Label = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5097
5097
|
other = _objectWithoutPropertiesLoose(props, _excluded$k);
|
|
5098
5098
|
|
|
5099
5099
|
var theme = useContext(ThemeContext);
|
|
5100
|
+
var isInverse = useIsInverse(props.isInverse);
|
|
5100
5101
|
return actionable ? createElement(StyledLabel, Object.assign({}, other, {
|
|
5101
5102
|
"data-testid": testId,
|
|
5102
|
-
isInverse:
|
|
5103
|
+
isInverse: isInverse,
|
|
5103
5104
|
iconPosition: iconPosition,
|
|
5104
5105
|
labelPosition: labelPosition || LabelPosition.top,
|
|
5105
5106
|
ref: ref,
|
|
@@ -5107,7 +5108,7 @@ var Label = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5107
5108
|
theme: theme
|
|
5108
5109
|
}), children) : createElement(StyledSpan$2, Object.assign({}, other, {
|
|
5109
5110
|
"data-testid": testId,
|
|
5110
|
-
isInverse:
|
|
5111
|
+
isInverse: isInverse,
|
|
5111
5112
|
iconPosition: iconPosition,
|
|
5112
5113
|
labelPosition: labelPosition || LabelPosition.top,
|
|
5113
5114
|
ref: ref,
|