@elliemae/ds-tab-button 3.60.0-next.20
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/cjs/DSTabButton.js +106 -0
- package/dist/cjs/DSTabButton.js.map +7 -0
- package/dist/cjs/config/useTabButton.js +60 -0
- package/dist/cjs/config/useTabButton.js.map +7 -0
- package/dist/cjs/config/useValidateProps.js +40 -0
- package/dist/cjs/config/useValidateProps.js.map +7 -0
- package/dist/cjs/constants/index.js +56 -0
- package/dist/cjs/constants/index.js.map +7 -0
- package/dist/cjs/index.js +40 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/package.json +10 -0
- package/dist/cjs/react-desc-prop-types.js +57 -0
- package/dist/cjs/react-desc-prop-types.js.map +7 -0
- package/dist/cjs/styles.js +186 -0
- package/dist/cjs/styles.js.map +7 -0
- package/dist/cjs/typescript-testing/DSTabButtonNamespace.js +122 -0
- package/dist/cjs/typescript-testing/DSTabButtonNamespace.js.map +7 -0
- package/dist/esm/DSTabButton.js +82 -0
- package/dist/esm/DSTabButton.js.map +7 -0
- package/dist/esm/config/useTabButton.js +30 -0
- package/dist/esm/config/useTabButton.js.map +7 -0
- package/dist/esm/config/useValidateProps.js +10 -0
- package/dist/esm/config/useValidateProps.js.map +7 -0
- package/dist/esm/constants/index.js +26 -0
- package/dist/esm/constants/index.js.map +7 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/package.json +10 -0
- package/dist/esm/react-desc-prop-types.js +32 -0
- package/dist/esm/react-desc-prop-types.js.map +7 -0
- package/dist/esm/styles.js +156 -0
- package/dist/esm/styles.js.map +7 -0
- package/dist/esm/typescript-testing/DSTabButtonNamespace.js +99 -0
- package/dist/esm/typescript-testing/DSTabButtonNamespace.js.map +7 -0
- package/dist/types/DSTabButton.d.ts +5 -0
- package/dist/types/config/useTabButton.d.ts +12 -0
- package/dist/types/config/useValidateProps.d.ts +3 -0
- package/dist/types/constants/index.d.ts +19 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/react-desc-prop-types.d.ts +26 -0
- package/dist/types/styles.d.ts +19 -0
- package/dist/types/tests/DSTabButton.API.test.d.ts +1 -0
- package/dist/types/tests/DSTabButton.data-testid.test.d.ts +1 -0
- package/dist/types/tests/DSTabButton.exports.test.d.ts +1 -0
- package/dist/types/tests/DSTabButton.keyboard.test.d.ts +1 -0
- package/dist/types/tests/DSTabButton.test.d.ts +1 -0
- package/dist/types/tests/axe.test.d.ts +1 -0
- package/dist/types/typescript-testing/DSTabButtonNamespace.d.ts +1 -0
- package/package.json +73 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { DSTabButton } from "../index.js";
|
|
4
|
+
const testRequiredProps = {
|
|
5
|
+
label: "string"
|
|
6
|
+
};
|
|
7
|
+
const testOptionalProps = {
|
|
8
|
+
className: "string",
|
|
9
|
+
dsTabbuttonRoot: {
|
|
10
|
+
onClick: () => {
|
|
11
|
+
},
|
|
12
|
+
"data-testid": "over-ride-test-id",
|
|
13
|
+
"aria-label": "over-ride-aria-label"
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
const testPartialDefaults = {};
|
|
17
|
+
const testProps = {
|
|
18
|
+
...testRequiredProps,
|
|
19
|
+
...testOptionalProps,
|
|
20
|
+
...testPartialDefaults
|
|
21
|
+
};
|
|
22
|
+
const testPropsAsSyntax = {
|
|
23
|
+
...testRequiredProps,
|
|
24
|
+
...testOptionalProps,
|
|
25
|
+
...testPartialDefaults
|
|
26
|
+
};
|
|
27
|
+
const testCompleteDefaults = {
|
|
28
|
+
variant: "primary",
|
|
29
|
+
isSelected: false,
|
|
30
|
+
notificationBadge: false,
|
|
31
|
+
applyAriaDisabled: false,
|
|
32
|
+
required: false
|
|
33
|
+
};
|
|
34
|
+
const testInternalProps = {
|
|
35
|
+
...testRequiredProps,
|
|
36
|
+
...testOptionalProps,
|
|
37
|
+
...testCompleteDefaults
|
|
38
|
+
};
|
|
39
|
+
const testInternalPropsAsSyntax = {
|
|
40
|
+
...testRequiredProps,
|
|
41
|
+
...testOptionalProps,
|
|
42
|
+
...testCompleteDefaults
|
|
43
|
+
};
|
|
44
|
+
const testExplicitDefinition = {
|
|
45
|
+
label: "string",
|
|
46
|
+
className: "string",
|
|
47
|
+
dsTabbuttonRoot: {
|
|
48
|
+
onClick: () => {
|
|
49
|
+
},
|
|
50
|
+
"data-testid": "over-ride-test-id",
|
|
51
|
+
"aria-label": "over-ride-aria-label"
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
const testInferedTypeCompatibility = {
|
|
55
|
+
label: "string",
|
|
56
|
+
className: "string",
|
|
57
|
+
onSomethingEvent: (newVal, e) => {
|
|
58
|
+
},
|
|
59
|
+
dsTabbuttonRoot: {
|
|
60
|
+
onClick: () => {
|
|
61
|
+
},
|
|
62
|
+
"data-testid": "over-ride-test-id",
|
|
63
|
+
"aria-label": "over-ride-aria-label"
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const testDefinitionAsConst = {
|
|
67
|
+
label: "string",
|
|
68
|
+
className: "string",
|
|
69
|
+
onSomethingEvent: (newVal, e) => {
|
|
70
|
+
},
|
|
71
|
+
dsTabbuttonRoot: {
|
|
72
|
+
onClick: () => {
|
|
73
|
+
},
|
|
74
|
+
"data-testid": "over-ride-test-id",
|
|
75
|
+
"aria-label": "over-ride-aria-label"
|
|
76
|
+
},
|
|
77
|
+
foo: "string",
|
|
78
|
+
bar: 0,
|
|
79
|
+
something: "string"
|
|
80
|
+
};
|
|
81
|
+
const ExampleUsageComponent = () => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
82
|
+
/* @__PURE__ */ jsx(DSTabButton, { ...testExplicitDefinition }),
|
|
83
|
+
/* @__PURE__ */ jsx(DSTabButton, { ...testInferedTypeCompatibility }),
|
|
84
|
+
/* @__PURE__ */ jsx(DSTabButton, { ...testDefinitionAsConst }),
|
|
85
|
+
/* @__PURE__ */ jsx(
|
|
86
|
+
DSTabButton,
|
|
87
|
+
{
|
|
88
|
+
label: "string",
|
|
89
|
+
className: "string",
|
|
90
|
+
dsTabbuttonRoot: {
|
|
91
|
+
onClick: () => {
|
|
92
|
+
},
|
|
93
|
+
"data-testid": "over-ride-test-id",
|
|
94
|
+
"aria-label": "over-ride-aria-label"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
)
|
|
98
|
+
] });
|
|
99
|
+
//# sourceMappingURL=DSTabButtonNamespace.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/typescript-testing/DSTabButtonNamespace.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-unused-vars, no-unused-vars */\nimport { DSTabButton, type DSTabButtonT } from '../index.js';\n\n// test we expose the namespace and the namespace follows our deliverable conventions\ntype ComponentPropsForApp = DSTabButtonT.Props;\ntype ComponentPropsInternals = DSTabButtonT.InternalProps;\ntype ComponentPropsDefaultProps = DSTabButtonT.DefaultProps;\ntype ComponentPropsOptionalProps = DSTabButtonT.OptionalProps;\ntype ComponentPropsRequiredProps = DSTabButtonT.RequiredProps;\n\nconst testRequiredProps: ComponentPropsRequiredProps = {\n label: 'string',\n};\n\nconst testOptionalProps: ComponentPropsOptionalProps = {\n className: 'string',\n dsTabbuttonRoot: {\n onClick: () => {},\n 'data-testid': 'over-ride-test-id',\n 'aria-label': 'over-ride-aria-label',\n },\n};\n\n// difference Props and InternalProps is that InternalProps has all the default props filled in\n// Props allows for partial defaults\nconst testPartialDefaults: Partial<ComponentPropsDefaultProps> = {};\n\nconst testProps: ComponentPropsForApp = {\n ...testRequiredProps,\n ...testOptionalProps,\n ...testPartialDefaults,\n};\n\nconst testPropsAsSyntax = {\n ...testRequiredProps,\n ...testOptionalProps,\n ...testPartialDefaults,\n} as ComponentPropsForApp;\n\n// InternalProps requires all defaults to be filled in\nconst testCompleteDefaults: Required<ComponentPropsDefaultProps> = {\n variant: 'primary',\n isSelected: false,\n notificationBadge: false,\n applyAriaDisabled: false,\n required: false,\n};\n\nconst testInternalProps: ComponentPropsInternals = {\n ...testRequiredProps,\n ...testOptionalProps,\n ...testCompleteDefaults,\n};\n\nconst testInternalPropsAsSyntax = {\n ...testRequiredProps,\n ...testOptionalProps,\n ...testCompleteDefaults,\n} as ComponentPropsInternals;\n\n// using the explicit type definition, if there is an error, it will be marked on the key that is wrong\nconst testExplicitDefinition: ComponentPropsForApp = {\n label: 'string',\n className: 'string',\n dsTabbuttonRoot: {\n onClick: () => {},\n 'data-testid': 'over-ride-test-id',\n 'aria-label': 'over-ride-aria-label',\n },\n};\n\n// using the \"as\" syntax, if there is an error, it will be marking the whole object as wrong because it is not compatible with the type\nconst testInferedTypeCompatibility = {\n label: 'string',\n className: 'string',\n onSomethingEvent: (newVal: string, e: React.ChangeEvent<HTMLElement>) => {},\n dsTabbuttonRoot: {\n onClick: () => {},\n 'data-testid': 'over-ride-test-id',\n 'aria-label': 'over-ride-aria-label',\n },\n} as ComponentPropsForApp;\n\nconst testDefinitionAsConst = {\n label: 'string',\n className: 'string',\n onSomethingEvent: (newVal: string, e: React.ChangeEvent<HTMLElement>) => {},\n dsTabbuttonRoot: {\n onClick: () => {},\n 'data-testid': 'over-ride-test-id',\n 'aria-label': 'over-ride-aria-label',\n },\n foo: 'string',\n bar: 0,\n something: 'string',\n} as const;\n\nconst ExampleUsageComponent = () => (\n <>\n {/* works with explicitly casted props, all syntaxes */}\n <DSTabButton {...testExplicitDefinition} />\n <DSTabButton {...testInferedTypeCompatibility} />\n <DSTabButton {...testDefinitionAsConst} />\n {/* works with inline values */}\n <DSTabButton\n label=\"string\"\n className=\"string\"\n dsTabbuttonRoot={{\n onClick: () => {},\n 'data-testid': 'over-ride-test-id',\n 'aria-label': 'over-ride-aria-label',\n }}\n />\n </>\n);\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACkGrB,mBAEE,KAFF;AAjGF,SAAS,mBAAsC;AAS/C,MAAM,oBAAiD;AAAA,EACrD,OAAO;AACT;AAEA,MAAM,oBAAiD;AAAA,EACrD,WAAW;AAAA,EACX,iBAAiB;AAAA,IACf,SAAS,MAAM;AAAA,IAAC;AAAA,IAChB,eAAe;AAAA,IACf,cAAc;AAAA,EAChB;AACF;AAIA,MAAM,sBAA2D,CAAC;AAElE,MAAM,YAAkC;AAAA,EACtC,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AACL;AAEA,MAAM,oBAAoB;AAAA,EACxB,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AACL;AAGA,MAAM,uBAA6D;AAAA,EACjE,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,UAAU;AACZ;AAEA,MAAM,oBAA6C;AAAA,EACjD,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AACL;AAEA,MAAM,4BAA4B;AAAA,EAChC,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AACL;AAGA,MAAM,yBAA+C;AAAA,EACnD,OAAO;AAAA,EACP,WAAW;AAAA,EACX,iBAAiB;AAAA,IACf,SAAS,MAAM;AAAA,IAAC;AAAA,IAChB,eAAe;AAAA,IACf,cAAc;AAAA,EAChB;AACF;AAGA,MAAM,+BAA+B;AAAA,EACnC,OAAO;AAAA,EACP,WAAW;AAAA,EACX,kBAAkB,CAAC,QAAgB,MAAsC;AAAA,EAAC;AAAA,EAC1E,iBAAiB;AAAA,IACf,SAAS,MAAM;AAAA,IAAC;AAAA,IAChB,eAAe;AAAA,IACf,cAAc;AAAA,EAChB;AACF;AAEA,MAAM,wBAAwB;AAAA,EAC5B,OAAO;AAAA,EACP,WAAW;AAAA,EACX,kBAAkB,CAAC,QAAgB,MAAsC;AAAA,EAAC;AAAA,EAC1E,iBAAiB;AAAA,IACf,SAAS,MAAM;AAAA,IAAC;AAAA,IAChB,eAAe;AAAA,IACf,cAAc;AAAA,EAChB;AAAA,EACA,KAAK;AAAA,EACL,KAAK;AAAA,EACL,WAAW;AACb;AAEA,MAAM,wBAAwB,MAC5B,iCAEE;AAAA,sBAAC,eAAa,GAAG,wBAAwB;AAAA,EACzC,oBAAC,eAAa,GAAG,8BAA8B;AAAA,EAC/C,oBAAC,eAAa,GAAG,uBAAuB;AAAA,EAExC;AAAA,IAAC;AAAA;AAAA,MACC,OAAM;AAAA,MACN,WAAU;AAAA,MACV,iBAAiB;AAAA,QACf,SAAS,MAAM;AAAA,QAAC;AAAA,QAChB,eAAe;AAAA,QACf,cAAc;AAAA,MAChB;AAAA;AAAA,EACF;AAAA,GACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type DSTabButtonT } from './react-desc-prop-types.js';
|
|
3
|
+
declare const DSTabButton: React.ComponentType<DSTabButtonT.Props>;
|
|
4
|
+
declare const DSTabButtonWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSTabButtonT.Props>;
|
|
5
|
+
export { DSTabButton, DSTabButtonWithSchema };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { useGetXstyledProps } from '@elliemae/ds-props-helpers';
|
|
2
|
+
import { type DSTabButtonT } from '../react-desc-prop-types.js';
|
|
3
|
+
export interface TabButtonCTX {
|
|
4
|
+
propsWithDefault: DSTabButtonT.InternalProps;
|
|
5
|
+
xstyledProps: ReturnType<typeof useGetXstyledProps>;
|
|
6
|
+
instanceUid: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const useTabButton: (propsFromUser: DSTabButtonT.Props) => {
|
|
9
|
+
propsWithDefault: DSTabButtonT.InternalProps;
|
|
10
|
+
xstyledProps: import("@elliemae/ds-props-helpers").XstyledProps;
|
|
11
|
+
instanceUid: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const DSTabButtonName = "DSTabbutton";
|
|
2
|
+
export declare const TAB_TYPES: {
|
|
3
|
+
readonly PRIMARY: "primary";
|
|
4
|
+
readonly PRIMARY_SMALL: "primary-small";
|
|
5
|
+
readonly SECONDARY: "secondary";
|
|
6
|
+
};
|
|
7
|
+
export declare const TAB_TYPES_VALUES_AS_ARRAY: ("primary" | "primary-small" | "secondary")[];
|
|
8
|
+
export declare const TAB_BUTTON_SLOTS: {
|
|
9
|
+
readonly ROOT: "root";
|
|
10
|
+
readonly LABEL: "label";
|
|
11
|
+
readonly REQUIRED_MARK: "required-mark";
|
|
12
|
+
readonly CHILDREN_WRAPPER: "children-wrapper";
|
|
13
|
+
};
|
|
14
|
+
export declare const TAB_BUTTON_DATA_TESTID: {
|
|
15
|
+
ROOT: "ds-tabbutton-root";
|
|
16
|
+
LABEL: "ds-tabbutton-label";
|
|
17
|
+
REQUIRED_MARK: "ds-tabbutton-required-mark";
|
|
18
|
+
CHILDREN_WRAPPER: "ds-tabbutton-children-wrapper";
|
|
19
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { GlobalAttributesT, XstyledProps, DSPropTypesSchema, ValidationMap } from '@elliemae/ds-props-helpers';
|
|
2
|
+
import { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';
|
|
3
|
+
import { DSTabButtonName, TAB_BUTTON_SLOTS, TAB_TYPES } from './constants/index.js';
|
|
4
|
+
export declare namespace DSTabButtonT {
|
|
5
|
+
type TabButtonVariant = (typeof TAB_TYPES)[keyof typeof TAB_TYPES];
|
|
6
|
+
interface RequiredProps {
|
|
7
|
+
label: string;
|
|
8
|
+
}
|
|
9
|
+
interface DefaultProps {
|
|
10
|
+
variant: TabButtonVariant;
|
|
11
|
+
isSelected: boolean;
|
|
12
|
+
notificationBadge?: boolean;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
applyAriaDisabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<typeof DSTabButtonName, typeof TAB_BUTTON_SLOTS> {
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
interface Props extends Partial<DefaultProps>, OptionalProps, Omit<GlobalAttributesT<HTMLElement>, keyof DefaultProps | keyof XstyledProps | keyof RequiredProps>, XstyledProps, RequiredProps {
|
|
20
|
+
}
|
|
21
|
+
interface InternalProps extends DefaultProps, OptionalProps, Omit<GlobalAttributesT<HTMLElement>, keyof DefaultProps | keyof XstyledProps | keyof RequiredProps>, XstyledProps, RequiredProps {
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const defaultProps: DSTabButtonT.DefaultProps;
|
|
25
|
+
export declare const DSTabButtonPropTypes: DSPropTypesSchema<DSTabButtonT.Props>;
|
|
26
|
+
export declare const DSTabButtonPropTypesSchema: ValidationMap<DSTabButtonT.Props>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type DSTypographyT } from '@elliemae/ds-typography';
|
|
2
|
+
import type { DSTabButtonT } from './react-desc-prop-types.js';
|
|
3
|
+
interface StyledTabButtonPropsT {
|
|
4
|
+
isActive?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
tabType: DSTabButtonT.TabButtonVariant;
|
|
7
|
+
notificationBadge?: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface StyledTypographyPropsT extends DSTypographyT.Props {
|
|
10
|
+
$isSelected?: boolean;
|
|
11
|
+
$isDisabled?: boolean;
|
|
12
|
+
$tabType: DSTabButtonT.TabButtonVariant;
|
|
13
|
+
}
|
|
14
|
+
export declare const StyledNotificationBadge: import("styled-components").StyledComponent<"span", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"span">, never>;
|
|
15
|
+
export declare const StyledTabButton: import("styled-components").StyledComponent<"button", import("@elliemae/ds-system").Theme, StyledTabButtonPropsT & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"button">, never>;
|
|
16
|
+
export declare const StyledTypography: import("styled-components").StyledComponent<import("react").FC<DSTypographyT.Props>, import("@elliemae/ds-system").Theme, StyledTypographyPropsT & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").FC<DSTypographyT.Props>>, never>;
|
|
17
|
+
export declare const StyledChildrenWrapper: import("styled-components").StyledComponent<"span", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"span">, never>;
|
|
18
|
+
export declare const ScreenReaderOnly: import("styled-components").StyledComponent<"span", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"span">, never>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@elliemae/ds-tab-button",
|
|
3
|
+
"version": "3.60.0-next.20",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"description": "ICE MT - Dimsum - Tab Button",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"module": "./dist/esm/index.js",
|
|
10
|
+
"main": "./dist/cjs/index.js",
|
|
11
|
+
"types": "./dist/types/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/types/index.d.ts",
|
|
15
|
+
"import": "./dist/esm/index.js",
|
|
16
|
+
"require": "./dist/cjs/index.js"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"sideEffects": [
|
|
20
|
+
"*.css",
|
|
21
|
+
"*.scss"
|
|
22
|
+
],
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "https://git.elliemae.io/platform-ui/dimsum.git"
|
|
26
|
+
},
|
|
27
|
+
"engines": {
|
|
28
|
+
"pnpm": ">=9",
|
|
29
|
+
"node": ">=22"
|
|
30
|
+
},
|
|
31
|
+
"author": "ICE MT",
|
|
32
|
+
"jestSonar": {
|
|
33
|
+
"sonar56x": true,
|
|
34
|
+
"reportPath": "reports",
|
|
35
|
+
"reportFile": "tests.xml",
|
|
36
|
+
"indent": 4
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@elliemae/ds-grid": "3.60.0-next.20",
|
|
40
|
+
"@elliemae/ds-props-helpers": "3.60.0-next.20",
|
|
41
|
+
"@elliemae/ds-typography": "3.60.0-next.20",
|
|
42
|
+
"@elliemae/ds-typescript-helpers": "3.60.0-next.20",
|
|
43
|
+
"@elliemae/ds-system": "3.60.0-next.20"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@elliemae/pui-theme": "~2.13.0",
|
|
47
|
+
"jest": "^30.0.0",
|
|
48
|
+
"styled-components": "~5.3.9",
|
|
49
|
+
"@elliemae/ds-monorepo-devops": "3.60.0-next.20",
|
|
50
|
+
"@elliemae/ds-test-utils": "3.60.0-next.20"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
54
|
+
"@testing-library/react": "^16.0.1",
|
|
55
|
+
"@testing-library/user-event": "~14.6.1",
|
|
56
|
+
"react": "^18.3.1",
|
|
57
|
+
"react-dom": "^18.3.1",
|
|
58
|
+
"styled-components": "~5.3.9"
|
|
59
|
+
},
|
|
60
|
+
"publishConfig": {
|
|
61
|
+
"access": "public",
|
|
62
|
+
"typeSafety": true
|
|
63
|
+
},
|
|
64
|
+
"scripts": {
|
|
65
|
+
"dev": "cross-env NODE_ENV=development node ../../../scripts/build/build.mjs --watch",
|
|
66
|
+
"test": "ds-monorepo-devops test --passWithNoTests --coverage=\"false\"",
|
|
67
|
+
"lint": "node ../../../scripts/lint.mjs --fix",
|
|
68
|
+
"lint:strict": "node ../../../scripts/lint-strict.mjs",
|
|
69
|
+
"dts": "node ../../../scripts/dts.mjs",
|
|
70
|
+
"build": "cross-env NODE_ENV=production node ../../../scripts/build/build.mjs",
|
|
71
|
+
"checkDeps": "npx -yes ../../util/ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
72
|
+
}
|
|
73
|
+
}
|