@digital-ai/dot-components 2.8.1 → 2.9.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/CHANGE_LOG.md +49 -8
- package/index.esm.js +85 -42
- package/index.umd.js +114 -65
- package/lib/components/accordion/Accordion.stories.d.ts +5 -5
- package/lib/components/auto-complete/AutoComplete.d.ts +1 -16
- package/lib/components/auto-complete/AutoComplete.stories.d.ts +2 -1
- package/lib/components/auto-complete/Autocomplete.stories.data.d.ts +2 -1
- package/lib/components/auto-complete/index.d.ts +1 -0
- package/lib/components/auto-complete/utils/helpers.d.ts +1 -1
- package/lib/components/auto-complete/utils/interface.d.ts +17 -0
- package/lib/components/avatar/Avatar.d.ts +3 -1
- package/lib/components/avatar/Avatar.stories.d.ts +6 -5
- package/lib/components/badge/Badge.stories.d.ts +5 -5
- package/lib/components/checkbox/Checkbox.stories.d.ts +6 -6
- package/lib/components/checkbox/CheckboxGroup.stories.d.ts +3 -3
- package/lib/components/chip/Chip.stories.d.ts +5 -5
- package/lib/components/dynamic-form/models.d.ts +1 -2
- package/lib/components/dynamic-form/sample.spec.data.d.ts +22 -0
- package/lib/components/dynamic-form/utils/formHelpers.d.ts +1 -1
- package/lib/components/file-upload/FileUpload.stories.d.ts +5 -5
- package/lib/components/inline-edit/InlineEdit.stories.d.ts +4 -5
- package/lib/components/linear-progress/LinearProgress.stories.d.ts +2 -2
- package/lib/components/list/List.stories.d.ts +3 -3
- package/lib/components/progress/Progress.stories.d.ts +2 -2
- package/lib/components/progress-button/ProgressButton.d.ts +1 -1
- package/lib/components/progress-button/ProgressButton.stories.d.ts +1 -1
- package/lib/components/radio/RadioGroup.stories.d.ts +2 -2
- package/lib/components/snackbar/Snackbar.stories.d.ts +3 -3
- package/lib/components/split-button/SplitButton.stories.d.ts +6 -6
- package/lib/components/stepper/Stepper.d.ts +3 -1
- package/lib/components/stepper/Stepper.stories.d.ts +8 -8
- package/lib/components/stepper/Stepper.stories.data.d.ts +6 -0
- package/lib/components/switch/Switch.stories.d.ts +9 -9
- package/lib/components/truncate-with-tooltip/TruncateWithTooltip.stories.d.ts +5 -5
- package/lib/components/typography/Typography.stories.d.ts +4 -4
- package/package.json +1 -1
- package/lib/components/dynamic-form/sample.d.ts +0 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { AvatarProps } from './Avatar';
|
|
3
|
-
declare const _default: ComponentMeta<({ alt, ariaLabel, ariaRole, className, component, color, "data-testid": dataTestId, iconId, imageSrc, onClick, size, tabIndex, text, type, tooltip, variant, style, }: AvatarProps) => JSX.Element>;
|
|
3
|
+
declare const _default: ComponentMeta<({ alt, ariaLabel, ariaRole, className, component, color, "data-testid": dataTestId, iconId, imageSrc, onClick, number, size, tabIndex, text, type, tooltip, variant, style, }: AvatarProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const AvatarButton:
|
|
7
|
-
export declare const
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const AvatarButton: any;
|
|
7
|
+
export declare const WithNumber: any;
|
|
8
|
+
export declare const WithTooltip: any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { BadgeProps } from './Badge';
|
|
3
3
|
declare const _default: ComponentMeta<({ ariaLabel, badgeColor, badgeContent, children, className, "data-testid": dataTestId, invisible, max, overlap, variant, }: BadgeProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithNotification:
|
|
7
|
-
export declare const WithNotificationNumber:
|
|
8
|
-
export declare const WithMaxNumber:
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithNotification: any;
|
|
7
|
+
export declare const WithNotificationNumber: any;
|
|
8
|
+
export declare const WithMaxNumber: any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentMeta
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { CheckboxProps, DotCheckbox } from './Checkbox';
|
|
3
3
|
declare const _default: ComponentMeta<typeof DotCheckbox>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithSmallSize:
|
|
7
|
-
export declare const WithStartLabelPlacement:
|
|
8
|
-
export declare const WithBottomLabelPlacement:
|
|
9
|
-
export declare const WithIndeterminateOption:
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithSmallSize: any;
|
|
7
|
+
export declare const WithStartLabelPlacement: any;
|
|
8
|
+
export declare const WithBottomLabelPlacement: any;
|
|
9
|
+
export declare const WithIndeterminateOption: (args: CheckboxProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DotCheckboxGroup
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { DotCheckboxGroup } from './CheckboxGroup';
|
|
3
3
|
declare const _default: ComponentMeta<typeof DotCheckboxGroup>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
5
|
+
export declare const Default: any;
|
|
6
6
|
export declare const WithHelperText: any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { ChipProps } from './Chip';
|
|
3
3
|
declare const _default: ComponentMeta<({ ariaLabel, avatar, charactersLimit, children, className, "data-testid": dataTestId, disabled, error, isClickable, isDeletable, onClick, onDelete, size, startIcon, }: ChipProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const ChipWithAvatar:
|
|
7
|
-
export declare const ChipWithIcon:
|
|
8
|
-
export declare const ChipWithLongText:
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const ChipWithAvatar: any;
|
|
7
|
+
export declare const ChipWithIcon: any;
|
|
8
|
+
export declare const ChipWithLongText: any;
|
|
@@ -61,7 +61,7 @@ export interface DynamicFormValidation {
|
|
|
61
61
|
minLength?: Length;
|
|
62
62
|
}
|
|
63
63
|
export interface DynamicFormStateItem {
|
|
64
|
-
errorMessage: string;
|
|
64
|
+
errorMessage: string | null;
|
|
65
65
|
hidden?: ControlCondition;
|
|
66
66
|
isTouched: boolean;
|
|
67
67
|
isValid: boolean;
|
|
@@ -76,7 +76,6 @@ export interface DynamicFormStateData {
|
|
|
76
76
|
}
|
|
77
77
|
export interface FormStateUpdateArgs {
|
|
78
78
|
controlName: string;
|
|
79
|
-
formConfig: DynamicFormConfig;
|
|
80
79
|
newValue: unknown;
|
|
81
80
|
validate?: boolean;
|
|
82
81
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DynamicFormState } from './models';
|
|
2
|
+
export declare const sampleFormTestData: {
|
|
3
|
+
customUserType: string;
|
|
4
|
+
firstName: string;
|
|
5
|
+
isAccountActive: boolean;
|
|
6
|
+
lastName: string;
|
|
7
|
+
gender: string;
|
|
8
|
+
hasVehicle: string;
|
|
9
|
+
interests: {
|
|
10
|
+
title: string;
|
|
11
|
+
}[];
|
|
12
|
+
password: string;
|
|
13
|
+
receive: {
|
|
14
|
+
label: string;
|
|
15
|
+
value: string;
|
|
16
|
+
}[];
|
|
17
|
+
terms: boolean;
|
|
18
|
+
userType: string;
|
|
19
|
+
username: string;
|
|
20
|
+
vehicleModel: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const getSampleFormState: () => DynamicFormState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeEvent } from 'react';
|
|
2
2
|
import { ControlClickHandler, DynamicFormConfig, DynamicFormControl, DynamicFormControlProps, DynamicFormOutputData, DynamicFormState, DynamicFormStateData, DynamicFormStateItem } from '../models';
|
|
3
|
-
import { AutoCompleteValue } from '../../auto-complete/
|
|
3
|
+
import { AutoCompleteValue } from '../../auto-complete/';
|
|
4
4
|
import { CheckboxProps } from '../../checkbox/Checkbox';
|
|
5
5
|
declare type AutoCompleteChangeHandler = (controlName: string) => (e: ChangeEvent<HTMLInputElement>, value: AutoCompleteValue) => void;
|
|
6
6
|
declare type ChangeHandler = (controlName: string) => (e: ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentMeta
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { FileUploadProps } from './';
|
|
3
3
|
declare const _default: ComponentMeta<({ accept, ariaLabel, ariaRole, buttonOnly, className, "data-testid": dataTestId, disabled, hideFilesList, maxFiles, maxSize, onChange, onDragEnter, onFileClick, }: FileUploadProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithSingleFileLimit:
|
|
7
|
-
export declare const WithCustomFileUploadList:
|
|
8
|
-
export declare const WithUploadErrors:
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithSingleFileLimit: any;
|
|
7
|
+
export declare const WithCustomFileUploadList: (args: FileUploadProps) => JSX.Element;
|
|
8
|
+
export declare const WithUploadErrors: (args: FileUploadProps) => JSX.Element;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { ComponentMeta
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { InlineEditProps } from './InlineEdit';
|
|
3
3
|
declare const _default: ComponentMeta<({ ariaLabel, ariaRole, bindings, charactersLimit, className, "data-testid": dataTestId, fullWidth, hideActionButtons, name, onChange, onEditStateChange, readOnly, selectTextOnEdit, startEditable, tabIndex, tooltip, typography, value, }: InlineEditProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
5
|
+
export declare const Default: any;
|
|
6
6
|
export declare const WithCharactersLimit: any;
|
|
7
7
|
export declare const WithMultipleLines: any;
|
|
8
8
|
export declare const WithReadOnlyMode: any;
|
|
9
9
|
export declare const WithoutActionButtons: any;
|
|
10
10
|
export declare const WithTooltip: any;
|
|
11
|
-
export declare const WithSaveError:
|
|
12
|
-
export declare const WithCustomTypography: Story<InlineEditProps>;
|
|
11
|
+
export declare const WithSaveError: (args: InlineEditProps) => JSX.Element;
|
|
13
12
|
export declare const WithStartEditable: any;
|
|
14
13
|
export declare const WithSingleBinding: any;
|
|
15
|
-
export declare const WithMultipleBindings:
|
|
14
|
+
export declare const WithMultipleBindings: (args: InlineEditProps) => JSX.Element;
|
|
16
15
|
export declare const WithSelectOnEdit: any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentMeta
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { LinearProgressProps } from './LinearProgress';
|
|
3
3
|
declare const _default: ComponentMeta<({ ariaLabel, color, className, "data-testid": dataTestId, value, valueBuffer, variant, }: LinearProgressProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
5
|
+
export declare const Default: any;
|
|
6
6
|
export declare const WithDeterminateVariant: any;
|
|
7
7
|
export declare const WithBufferVariant: any;
|
|
8
8
|
export declare const WithQueryVariant: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { ListProps } from './utils/models';
|
|
3
3
|
declare const _default: ComponentMeta<({ ariaLabel, ariaRole, children, className, component, "data-testid": dataTestId, dense, disablePadding, items, menuPlacement, nestedDrawerLeftSpacing, nestedListType, width, }: ListProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithoutIcons:
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithoutIcons: any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentMeta
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { ProgressProps } from './Progress';
|
|
3
3
|
declare const _default: ComponentMeta<({ ariaLabel, color, className, "data-testid": dataTestId, size, thickness, tooltip, value, variant, }: ProgressProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
5
|
+
export declare const Default: any;
|
|
6
6
|
export declare const WithPrimaryColor: any;
|
|
7
7
|
export declare const WithCustomSizeAndThickness: any;
|
|
8
8
|
export declare const WithDeterminateVariant: any;
|
|
@@ -5,4 +5,4 @@ export interface ProgressButtonProps extends ButtonProps {
|
|
|
5
5
|
/** Is spinner displayed */
|
|
6
6
|
isLoading?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare const DotProgressButton: ({ ariaLabel, children, className, "data-testid": dataTestId, disabled, disableRipple, fullWidth, isLoading, isSubmit, onClick, size, tooltip, type, }: ProgressButtonProps) => JSX.Element;
|
|
8
|
+
export declare const DotProgressButton: ({ ariaLabel, children, className, "data-testid": dataTestId, disabled, disableRipple, fullWidth, isLoading, isSubmit, onClick, size, startIcon, tooltip, type, }: ProgressButtonProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
2
|
import { ProgressButtonProps } from './ProgressButton';
|
|
3
|
-
declare const _default: ComponentMeta<({ ariaLabel, children, className, "data-testid": dataTestId, disabled, disableRipple, fullWidth, isLoading, isSubmit, onClick, size, tooltip, type, }: ProgressButtonProps) => JSX.Element>;
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, children, className, "data-testid": dataTestId, disabled, disableRipple, fullWidth, isLoading, isSubmit, onClick, size, startIcon, tooltip, type, }: ProgressButtonProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const Default: Story<ProgressButtonProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { RadioGroupProps } from './RadioGroup';
|
|
3
3
|
declare const _default: ComponentMeta<({ ariaLabel, ariaRole, className, "data-testid": dataTestId, defaultValue, disableGroup, endIcon, error, helperText, groupLabel, name, labelPlacement, onChange, value, options, startIcon, required, row, size, }: RadioGroupProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
5
|
+
export declare const Default: any;
|
|
6
6
|
export declare const WithHelperText: any;
|
|
7
7
|
export declare const WithRowAndHelperText: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { SnackbarProps } from './';
|
|
3
3
|
declare const _default: ComponentMeta<({ action, anchorOrigin, ariaLabel, children, className, "data-testid": dataTestId, onClose, open, severity, width, }: SnackbarProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithBottomCenterAnchor:
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithBottomCenterAnchor: any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { SplitButtonProps } from './SplitButton';
|
|
3
3
|
declare const _default: ComponentMeta<({ autoFocus, ariaLabel, className, "data-testid": dataTestId, defaultMainOptionKey, disabled, disablePortal, disableRipple, fullWidth, isSubmit, onOptionClick, options, size, tooltip, type, }: SplitButtonProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithSelectedKey:
|
|
7
|
-
export declare const WithMainOptionDisabled:
|
|
8
|
-
export declare const WithMenuOptionDisabled:
|
|
9
|
-
export declare const WithMenuButtonDisabled:
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithSelectedKey: any;
|
|
7
|
+
export declare const WithMainOptionDisabled: any;
|
|
8
|
+
export declare const WithMenuOptionDisabled: any;
|
|
9
|
+
export declare const WithMenuButtonDisabled: any;
|
|
@@ -34,6 +34,8 @@ export interface StepProps extends CommonProps {
|
|
|
34
34
|
export interface StepperProps extends CommonProps {
|
|
35
35
|
/** determines the `id` of the step which is active */
|
|
36
36
|
activeStep?: number;
|
|
37
|
+
/** if set to `true`, clicking on a step is only allowed if the previous step is completed **/
|
|
38
|
+
disableUncompletedStepNav: boolean;
|
|
37
39
|
/** final content displayed after the last step is completed */
|
|
38
40
|
finalContent?: ReactNode;
|
|
39
41
|
/** initial content displayed before any step is active, ie when `activeStep` is 0 */
|
|
@@ -57,4 +59,4 @@ export interface StepperProps extends CommonProps {
|
|
|
57
59
|
/** if passed, will overwrite the default "submit" button text */
|
|
58
60
|
submitButtonText?: string;
|
|
59
61
|
}
|
|
60
|
-
export declare const DotStepper: ({ activeStep, ariaLabel, className, "data-testid": dataTestId, finalContent, initialContent, nextButtonText, nextStepDisabled, onBack, onCancel, onSubmit, orientation, steps, stepsPosition, submitButtonText, }: StepperProps) => JSX.Element;
|
|
62
|
+
export declare const DotStepper: ({ activeStep, ariaLabel, className, "data-testid": dataTestId, finalContent, initialContent, nextButtonText, nextStepDisabled, onBack, onCancel, onSubmit, orientation, disableUncompletedStepNav, steps, stepsPosition, submitButtonText, }: StepperProps) => JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ComponentMeta
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { StepperProps } from './Stepper';
|
|
3
|
-
declare const _default: ComponentMeta<({ activeStep, ariaLabel, className, "data-testid": dataTestId, finalContent, initialContent, nextButtonText, nextStepDisabled, onBack, onCancel, onSubmit, orientation, steps, stepsPosition, submitButtonText, }: StepperProps) => JSX.Element>;
|
|
3
|
+
declare const _default: ComponentMeta<({ activeStep, ariaLabel, className, "data-testid": dataTestId, finalContent, initialContent, nextButtonText, nextStepDisabled, onBack, onCancel, onSubmit, orientation, disableUncompletedStepNav, steps, stepsPosition, submitButtonText, }: StepperProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithStepDescription:
|
|
7
|
-
export declare const WithHorizontalOrientation:
|
|
8
|
-
export declare const WithErrorStep:
|
|
9
|
-
export declare const WithInitialAndFinalContent:
|
|
10
|
-
export declare const WithStepperListOnRightSide:
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithStepDescription: any;
|
|
7
|
+
export declare const WithHorizontalOrientation: any;
|
|
8
|
+
export declare const WithErrorStep: any;
|
|
9
|
+
export declare const WithInitialAndFinalContent: any;
|
|
10
|
+
export declare const WithStepperListOnRightSide: any;
|
|
@@ -23,6 +23,12 @@ export declare const demoSteps: ({
|
|
|
23
23
|
halfWidthContent?: undefined;
|
|
24
24
|
inProgress?: undefined;
|
|
25
25
|
})[];
|
|
26
|
+
export declare const demoStepsUncompleted: {
|
|
27
|
+
content: string;
|
|
28
|
+
completed: boolean;
|
|
29
|
+
id: number;
|
|
30
|
+
label: string;
|
|
31
|
+
}[];
|
|
26
32
|
export declare const withErrorStep: ({
|
|
27
33
|
content: string;
|
|
28
34
|
completed: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { SwitchProps } from './';
|
|
3
3
|
declare const _default: ComponentMeta<({ ariaLabel, checked, className, color, "data-testid": dataTestId, disabled, id, inputRef, label, labelPlacement, onChange, size, }: SwitchProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithSecondaryColor:
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const WithStartLabelPlacement:
|
|
10
|
-
export declare const WithBottomLabelPlacement:
|
|
11
|
-
export declare const WithTopLabelPlacement:
|
|
12
|
-
export declare const WithoutLabel:
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithSecondaryColor: any;
|
|
7
|
+
export declare const WithSmallSize: any;
|
|
8
|
+
export declare const WithDisabledState: any;
|
|
9
|
+
export declare const WithStartLabelPlacement: any;
|
|
10
|
+
export declare const WithBottomLabelPlacement: any;
|
|
11
|
+
export declare const WithTopLabelPlacement: any;
|
|
12
|
+
export declare const WithoutLabel: any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentMeta
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { TruncateWithTooltipProps } from './';
|
|
3
3
|
declare const _default: ComponentMeta<({ ariaLabel, charactersLimit, className, "data-testid": dataTestId, label, width, }: TruncateWithTooltipProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithAutoTruncate:
|
|
7
|
-
export declare const WithWidthAsNumber:
|
|
8
|
-
export declare const WithWidthAsString:
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithAutoTruncate: any;
|
|
7
|
+
export declare const WithWidthAsNumber: any;
|
|
8
|
+
export declare const WithWidthAsString: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { TypographyProps } from './Typography';
|
|
3
3
|
declare const _default: ComponentMeta<({ ariaLabel, ariaLevel, ariaRole, className, "data-testid": dataTestId, children, component, noMarginBottom, noWrap, variant, }: TypographyProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithVariants:
|
|
7
|
-
export declare const WithWrappingOptions:
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithVariants: (args: TypographyProps) => JSX.Element;
|
|
7
|
+
export declare const WithWrappingOptions: (args: TypographyProps) => JSX.Element;
|
package/package.json
CHANGED