@speakapbv/dough-component-library 10.8.1 → 10.10.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/components/color-tile/color-tile.d.ts +1 -1
- package/dist/components/containers/box/box.d.ts +1 -1
- package/dist/components/drop-menu/drop-menu.d.ts +1 -1
- package/dist/components/form-elements/select-box/select-box.d.ts +3 -3
- package/dist/components/form-elements/selection-inputs/check-box.d.ts +2 -2
- package/dist/components/form-elements/selection-inputs/radio-group.d.ts +2 -2
- package/dist/components/form-elements/switch/switch.d.ts +1 -1
- package/dist/components/form-elements/text-inputs/numeric-input.d.ts +1 -1
- package/dist/components/form-elements/text-inputs/text-area.d.ts +1 -1
- package/dist/components/form-elements/text-inputs/text-input.d.ts +1 -1
- package/dist/components/form-elements/time-picker/time-picker.d.ts +1 -1
- package/dist/components/form-elements/toggle/toggle.d.ts +1 -1
- package/dist/components/texts/texts.d.ts +4 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +213 -241
- package/dist/index.js +273 -300
- package/dist/node_modules/@speakapbv/dough-component-library-tokens/index.d.ts +1 -0
- package/dist/src/components/alert-textbox/alert-textbox.stories.d.ts +9 -2
- package/dist/src/components/bread-crumb/bread-crumb.stories.d.ts +13 -9
- package/dist/src/components/button/button.stories.d.ts +7 -6
- package/dist/src/components/color-tile/color-tile.stories.d.ts +4 -3
- package/dist/src/components/containers/card/card.stories.d.ts +13 -3
- package/dist/src/components/divider/divider.stories.d.ts +17 -4
- package/dist/src/components/drop-menu/drop-menu.stories.d.ts +4 -3
- package/dist/src/components/form-elements/form-element-base-wrapper.d.ts +1 -1
- package/dist/src/components/form-elements/selection-inputs/check-box.stories.d.ts +5 -4
- package/dist/src/components/overlay/overlay.stories.d.ts +4 -2
- package/dist/src/components/progress-bar/multi-progress-bar.stories.d.ts +25 -6
- package/dist/src/components/progress-bar/progress-bar.stories.d.ts +9 -2
- package/dist/src/components/spinner/spinner.stories.d.ts +9 -2
- package/dist/src/components/tabs/tabs.stories.d.ts +13 -3
- package/dist/src/components/tree/tree.d.ts +1 -1
- package/dist/src/utils/flattenChildren.d.ts +1 -1
- package/dist/utils/constants.d.ts +6 -6
- package/dist/utils/dom-management.d.ts +7 -7
- package/dist/utils/styles.d.ts +1 -1
- package/package.json +8 -5
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
2
|
+
declare const _default: ComponentMeta<{
|
|
3
|
+
(props: import("./alert-textbox").AlertTextProps): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
}>;
|
|
2
6
|
export default _default;
|
|
3
|
-
export declare const Default:
|
|
7
|
+
export declare const Default: ComponentStory<{
|
|
8
|
+
(props: import("./alert-textbox").AlertTextProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
}>;
|
|
@@ -1,27 +1,31 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from "@storybook/react";
|
|
1
2
|
import { BreadCrumbProps } from "./bread-crumb";
|
|
2
|
-
declare const _default:
|
|
3
|
+
declare const _default: ComponentMeta<{
|
|
4
|
+
(props: BreadCrumbProps): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
}>;
|
|
3
7
|
export default _default;
|
|
4
|
-
export declare const Simple:
|
|
8
|
+
export declare const Simple: Story<BreadCrumbProps & {
|
|
5
9
|
width: string;
|
|
6
10
|
}>;
|
|
7
|
-
export declare const OneChild:
|
|
11
|
+
export declare const OneChild: Story<BreadCrumbProps & {
|
|
8
12
|
width: string;
|
|
9
13
|
}>;
|
|
10
|
-
export declare const LimitedWidth:
|
|
14
|
+
export declare const LimitedWidth: Story<BreadCrumbProps & {
|
|
11
15
|
width: string;
|
|
12
16
|
}>;
|
|
13
|
-
export declare const MultipleChildren:
|
|
17
|
+
export declare const MultipleChildren: Story<BreadCrumbProps & {
|
|
14
18
|
width: string;
|
|
15
19
|
}>;
|
|
16
|
-
export declare const CustomChildren:
|
|
20
|
+
export declare const CustomChildren: Story<BreadCrumbProps & {
|
|
17
21
|
width: string;
|
|
18
22
|
}>;
|
|
19
|
-
export declare const CustomChildInTheMiddle:
|
|
23
|
+
export declare const CustomChildInTheMiddle: Story<BreadCrumbProps & {
|
|
20
24
|
width: string;
|
|
21
25
|
}>;
|
|
22
|
-
export declare const CustomChildrenLimitedWidth:
|
|
26
|
+
export declare const CustomChildrenLimitedWidth: Story<BreadCrumbProps & {
|
|
23
27
|
width: string;
|
|
24
28
|
}>;
|
|
25
|
-
export declare const WithoutUsingFragments:
|
|
29
|
+
export declare const WithoutUsingFragments: Story<BreadCrumbProps & {
|
|
26
30
|
width: string;
|
|
27
31
|
}>;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { ComponentMeta, Story } from "@storybook/react";
|
|
2
3
|
import { ButtonProps } from "./button";
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>>;
|
|
4
5
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
+
export declare const Default: Story<ButtonProps & {
|
|
6
7
|
width: string;
|
|
7
8
|
}>;
|
|
8
|
-
export declare const Phantom:
|
|
9
|
+
export declare const Phantom: Story<ButtonProps & {
|
|
9
10
|
width: string;
|
|
10
11
|
}>;
|
|
11
|
-
export declare const ColorButton:
|
|
12
|
+
export declare const ColorButton: Story<ButtonProps & {
|
|
12
13
|
width: string;
|
|
13
14
|
}>;
|
|
14
|
-
export declare const ColorButtonWithoutBorder:
|
|
15
|
+
export declare const ColorButtonWithoutBorder: Story<ButtonProps & {
|
|
15
16
|
width: string;
|
|
16
17
|
}>;
|
|
17
|
-
export declare const ConstrainedButton:
|
|
18
|
+
export declare const ConstrainedButton: Story<Omit<ButtonProps, "label"> & {
|
|
18
19
|
singleLabel: boolean;
|
|
19
20
|
}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
2
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("./color-tile").ColorTileProps & React.RefAttributes<import("./color-tile").ColorTileRef>>>;
|
|
3
4
|
export default _default;
|
|
4
|
-
export declare const Default:
|
|
5
|
-
export declare const WithChild:
|
|
5
|
+
export declare const Default: ComponentStory<React.ForwardRefExoticComponent<import("./color-tile").ColorTileProps & React.RefAttributes<import("./color-tile").ColorTileRef>>>;
|
|
6
|
+
export declare const WithChild: ComponentStory<React.ForwardRefExoticComponent<import("./color-tile").ColorTileProps & React.RefAttributes<import("./color-tile").ColorTileRef>>>;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
2
|
+
declare const _default: ComponentMeta<{
|
|
3
|
+
(props: import("./card").CardProps): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
}>;
|
|
2
6
|
export default _default;
|
|
3
|
-
export declare const Default:
|
|
4
|
-
|
|
7
|
+
export declare const Default: ComponentStory<{
|
|
8
|
+
(props: import("./card").CardProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const ActionCard: ComponentStory<{
|
|
12
|
+
(props: import("./card").CardProps): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
}>;
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
2
|
+
declare const _default: ComponentMeta<{
|
|
3
|
+
(props: import("./divider").DividerProps): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
}>;
|
|
2
6
|
export default _default;
|
|
3
|
-
export declare const Default:
|
|
4
|
-
|
|
5
|
-
|
|
7
|
+
export declare const Default: ComponentStory<{
|
|
8
|
+
(props: import("./divider").DividerProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const Vertical: ComponentStory<{
|
|
12
|
+
(props: import("./divider").DividerProps): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const WithText: ComponentStory<{
|
|
16
|
+
(props: import("./divider").DividerProps): JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
2
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("./drop-menu").DropMenuProps & React.RefAttributes<import("./drop-menu").DoughDropMenuRef>>>;
|
|
3
4
|
export default _default;
|
|
4
|
-
export declare const Default:
|
|
5
|
-
export declare const Multiple:
|
|
5
|
+
export declare const Default: ComponentStory<React.ForwardRefExoticComponent<import("./drop-menu").DropMenuProps & React.RefAttributes<import("./drop-menu").DoughDropMenuRef>>>;
|
|
6
|
+
export declare const Multiple: ComponentStory<React.ForwardRefExoticComponent<import("./drop-menu").DropMenuProps & React.RefAttributes<import("./drop-menu").DoughDropMenuRef>>>;
|
|
@@ -18,5 +18,5 @@ interface FormElementBaseProps {
|
|
|
18
18
|
children: React.ReactNode;
|
|
19
19
|
[key: string]: any;
|
|
20
20
|
}
|
|
21
|
-
export declare const FormElementBase: React.ForwardRefExoticComponent<Pick<FormElementBaseProps,
|
|
21
|
+
export declare const FormElementBase: React.ForwardRefExoticComponent<Pick<FormElementBaseProps, keyof FormElementBaseProps> & React.RefAttributes<unknown>>;
|
|
22
22
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
2
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Pick<import("./check-box").CheckBoxProps, "label" | "className" | "children" | "dataAttributes" | "size" | "width" | "color" | "rounded" | "disabled" | "tabIndex" | "name" | "icon" | "inputClassName" | "checkOnly" | "readOnly" | "onChange" | "value" | "alignment"> & React.RefAttributes<import("../../..").DoughBooleanInputRef>>>;
|
|
3
4
|
export default _default;
|
|
4
|
-
export declare const Default:
|
|
5
|
-
export declare const WithLabel:
|
|
6
|
-
export declare const WithTopLabel:
|
|
5
|
+
export declare const Default: ComponentStory<React.ForwardRefExoticComponent<Pick<import("./check-box").CheckBoxProps, "label" | "className" | "children" | "dataAttributes" | "size" | "width" | "color" | "rounded" | "disabled" | "tabIndex" | "name" | "icon" | "inputClassName" | "checkOnly" | "readOnly" | "onChange" | "value" | "alignment"> & React.RefAttributes<import("../../..").DoughBooleanInputRef>>>;
|
|
6
|
+
export declare const WithLabel: ComponentStory<React.ForwardRefExoticComponent<Pick<import("./check-box").CheckBoxProps, "label" | "className" | "children" | "dataAttributes" | "size" | "width" | "color" | "rounded" | "disabled" | "tabIndex" | "name" | "icon" | "inputClassName" | "checkOnly" | "readOnly" | "onChange" | "value" | "alignment"> & React.RefAttributes<import("../../..").DoughBooleanInputRef>>>;
|
|
7
|
+
export declare const WithTopLabel: ComponentStory<React.ForwardRefExoticComponent<Pick<import("./check-box").CheckBoxProps, "label" | "className" | "children" | "dataAttributes" | "size" | "width" | "color" | "rounded" | "disabled" | "tabIndex" | "name" | "icon" | "inputClassName" | "checkOnly" | "readOnly" | "onChange" | "value" | "alignment"> & React.RefAttributes<import("../../..").DoughBooleanInputRef>>>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
2
|
+
import { Overlay } from "./overlay";
|
|
3
|
+
declare const _default: ComponentMeta<typeof Overlay>;
|
|
2
4
|
export default _default;
|
|
3
|
-
export declare const Default:
|
|
5
|
+
export declare const Default: ComponentStory<typeof Overlay>;
|
|
@@ -1,7 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
2
|
+
declare const _default: ComponentMeta<{
|
|
3
|
+
({ dataAttributes, className, railColor, data, total, }: import("./multi-progress-bar").MultiProgressBarProps): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
}>;
|
|
2
6
|
export default _default;
|
|
3
|
-
export declare const Empty:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const Empty: ComponentStory<{
|
|
8
|
+
({ dataAttributes, className, railColor, data, total, }: import("./multi-progress-bar").MultiProgressBarProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const SingleData: ComponentStory<{
|
|
12
|
+
({ dataAttributes, className, railColor, data, total, }: import("./multi-progress-bar").MultiProgressBarProps): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const MultipleData: ComponentStory<{
|
|
16
|
+
({ dataAttributes, className, railColor, data, total, }: import("./multi-progress-bar").MultiProgressBarProps): JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const BigData: ComponentStory<{
|
|
20
|
+
({ dataAttributes, className, railColor, data, total, }: import("./multi-progress-bar").MultiProgressBarProps): JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
}>;
|
|
23
|
+
export declare const FullyFilled: ComponentStory<{
|
|
24
|
+
({ dataAttributes, className, railColor, data, total, }: import("./multi-progress-bar").MultiProgressBarProps): JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
}>;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
2
|
+
declare const _default: ComponentMeta<{
|
|
3
|
+
({ total, completed, railColor, barColor, dataAttributes, className, }: import("./progress-bar").ProgressBarProps): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
}>;
|
|
2
6
|
export default _default;
|
|
3
|
-
export declare const Default:
|
|
7
|
+
export declare const Default: ComponentStory<{
|
|
8
|
+
({ total, completed, railColor, barColor, dataAttributes, className, }: import("./progress-bar").ProgressBarProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
}>;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
2
|
+
declare const _default: ComponentMeta<{
|
|
3
|
+
(props: import("./spinner").SpinnerProps): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
}>;
|
|
2
6
|
export default _default;
|
|
3
|
-
export declare const Default:
|
|
7
|
+
export declare const Default: ComponentStory<{
|
|
8
|
+
(props: import("./spinner").SpinnerProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
}>;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
2
|
+
declare const _default: ComponentMeta<{
|
|
3
|
+
(props: import("./tabs").TabsContainerProps): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
}>;
|
|
2
6
|
export default _default;
|
|
3
|
-
export declare const Default:
|
|
4
|
-
|
|
7
|
+
export declare const Default: ComponentStory<{
|
|
8
|
+
(props: import("./tabs").TabsContainerProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const Compact: ComponentStory<{
|
|
12
|
+
(props: import("./tabs").TabsContainerProps): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
}>;
|
|
@@ -88,20 +88,20 @@ export declare enum Spacings {
|
|
|
88
88
|
AUTO = "auto",
|
|
89
89
|
STRETCH = "stretch"
|
|
90
90
|
}
|
|
91
|
-
export
|
|
92
|
-
export
|
|
91
|
+
export type DoughDataAttributes = Record<string, string | number>;
|
|
92
|
+
export type DoughValidationResult = {
|
|
93
93
|
valid: boolean;
|
|
94
94
|
message?: string;
|
|
95
95
|
};
|
|
96
|
-
export
|
|
96
|
+
export type DoughBooleanInputRef = {
|
|
97
97
|
getValue(): boolean | undefined;
|
|
98
98
|
};
|
|
99
|
-
export
|
|
99
|
+
export type DoughTextInputRef = {
|
|
100
100
|
getValue(): string | undefined;
|
|
101
101
|
focus(): void;
|
|
102
102
|
blur(): void;
|
|
103
103
|
};
|
|
104
|
-
export
|
|
104
|
+
export type DoughNumericInputRef = {
|
|
105
105
|
getValue(): number | undefined;
|
|
106
106
|
focus(): void;
|
|
107
107
|
blur(): void;
|
|
@@ -116,7 +116,7 @@ export declare enum Direction {
|
|
|
116
116
|
VERTICAL = "vertical",
|
|
117
117
|
HORIZONTAL = "horizontal"
|
|
118
118
|
}
|
|
119
|
-
export
|
|
119
|
+
export type DateRangeValue = [Date, Date?];
|
|
120
120
|
export declare enum BreakpointViewportSizes {
|
|
121
121
|
XL = "sizeViewportExtraLarge",
|
|
122
122
|
LARGE = "sizeViewportLarge",
|
|
@@ -11,17 +11,17 @@ export declare const registerEscPressListener: (registrant: any) => void;
|
|
|
11
11
|
export declare const deRegisterEscPressListener: (registrantId: any) => void;
|
|
12
12
|
export declare const registerOutsideClickListener: (registrant: any) => void;
|
|
13
13
|
export declare const deRegisterOutsideClickListener: (registrantId: any) => void;
|
|
14
|
-
export declare const getDropAreaOverlay: (selector?: string
|
|
15
|
-
export declare const getDialogOverlay: (selector?: string
|
|
16
|
-
export declare const getTooltipOverlay: (selector?: string
|
|
14
|
+
export declare const getDropAreaOverlay: (selector?: string) => any;
|
|
15
|
+
export declare const getDialogOverlay: (selector?: string, darkBackground?: boolean) => any;
|
|
16
|
+
export declare const getTooltipOverlay: (selector?: string) => any;
|
|
17
17
|
export declare const setLastTooltip: (tooltip: any) => void;
|
|
18
18
|
export declare const hideLastDoughTooltip: () => void;
|
|
19
|
-
export declare const getPanelOverlay: (selector?: string
|
|
20
|
-
export declare const getAppBackgroundOverlay: (selector?: string
|
|
19
|
+
export declare const getPanelOverlay: (selector?: string, asModal?: boolean) => any;
|
|
20
|
+
export declare const getAppBackgroundOverlay: (selector?: string) => any;
|
|
21
21
|
export declare const getAppWrapperOverlay: () => any;
|
|
22
|
-
export declare const getNotificationOverlay: (verticalLayer: any, horizontalLayer: any, selector?: string
|
|
22
|
+
export declare const getNotificationOverlay: (verticalLayer: any, horizontalLayer: any, selector?: string) => any;
|
|
23
23
|
export declare const getInjectedStylesWrapper: () => any;
|
|
24
24
|
export declare const findParentBySelector: (element: HTMLElement, selector: string) => HTMLElement;
|
|
25
25
|
export declare const setBreakpointSizeManually: (size: BreakpointViewportSizes | null) => void;
|
|
26
|
-
export declare const registerBreakpointView: (callbacks: any, breakpointSize: BreakpointViewportSizes, id: string, useManualBreakpointSize?: boolean
|
|
26
|
+
export declare const registerBreakpointView: (callbacks: any, breakpointSize: BreakpointViewportSizes, id: string, useManualBreakpointSize?: boolean) => void;
|
|
27
27
|
export declare const deRegisterBreakpointView: (id: string) => void;
|
package/dist/utils/styles.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Colors, FixedColors } from "./constants";
|
|
2
2
|
export declare const getIESpecificStyles: (props: Record<string, any>, propToStyleMap: Record<string, Array<string>>) => string;
|
|
3
|
-
export declare const generateStyles: (props: Record<string, any>, selector: string, propToStyleMap: Record<string, Array<string>>, noMediaQuery?: boolean
|
|
3
|
+
export declare const generateStyles: (props: Record<string, any>, selector: string, propToStyleMap: Record<string, Array<string>>, noMediaQuery?: boolean) => string;
|
|
4
4
|
export declare const isStandardColor: (color: Colors | string) => color is Colors;
|
|
5
5
|
export declare const isFixedColor: (color: FixedColors | string) => color is FixedColors;
|
|
6
6
|
export declare const getColorWithFallback: (color: Colors | FixedColors | string) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speakapbv/dough-component-library",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.10.0",
|
|
4
4
|
"description": "DOUGH: Speakap React Component Library",
|
|
5
5
|
"author": "Speakap",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,6 +52,8 @@
|
|
|
52
52
|
"@svgr/rollup": "^5.0.1",
|
|
53
53
|
"@types/react": "^16.9.44",
|
|
54
54
|
"@types/react-dom": "^16.9.8",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
56
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
55
57
|
"@wojtekmaj/enzyme-adapter-react-17": "0.8.0",
|
|
56
58
|
"auto-changelog": "^1.16.2",
|
|
57
59
|
"babel-eslint": "^10.0.3",
|
|
@@ -62,7 +64,7 @@
|
|
|
62
64
|
"cz-conventional-changelog": "3.3.0",
|
|
63
65
|
"enzyme": "^3.11.0",
|
|
64
66
|
"enzyme-to-json": "^3.4.3",
|
|
65
|
-
"eslint": "^
|
|
67
|
+
"eslint": "^8.56.0",
|
|
66
68
|
"eslint-config-prettier": "^6.9.0",
|
|
67
69
|
"eslint-plugin-compat": "^3.3.0",
|
|
68
70
|
"eslint-plugin-jest": "^23.3.0",
|
|
@@ -77,7 +79,7 @@
|
|
|
77
79
|
"prettier": "^1.19.1",
|
|
78
80
|
"react": "^18.2.0",
|
|
79
81
|
"react-dom": "^18.2.0",
|
|
80
|
-
"react-scripts": "^
|
|
82
|
+
"react-scripts": "^5.0.1",
|
|
81
83
|
"rollup": "^1.29.0",
|
|
82
84
|
"rollup-plugin-peer-deps-external": "^2.2.0",
|
|
83
85
|
"rollup-plugin-postcss": "^2.0.3",
|
|
@@ -88,13 +90,14 @@
|
|
|
88
90
|
"sass-loader": "10.3.1",
|
|
89
91
|
"semantic-release": "^18.0.0",
|
|
90
92
|
"style-loader": "^2.0.0",
|
|
91
|
-
"typescript": "^
|
|
93
|
+
"typescript": "^4.8.3"
|
|
92
94
|
},
|
|
93
95
|
"files": [
|
|
94
96
|
"dist"
|
|
95
97
|
],
|
|
96
98
|
"dependencies": {
|
|
97
|
-
"@speakapbv/dough-component-library-tokens": "1.
|
|
99
|
+
"@speakapbv/dough-component-library-tokens": "1.8.0",
|
|
100
|
+
"tslib": "^2.6.2"
|
|
98
101
|
},
|
|
99
102
|
"publishConfig": {
|
|
100
103
|
"registry": "https://registry.npmjs.org/"
|