@elliemae/ds-form-layout-input-group 3.17.0-next.2 → 3.17.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/react-desc-prop-types.js.map +1 -1
- package/dist/esm/react-desc-prop-types.js.map +1 -1
- package/dist/types/InputGroup.d.ts +5 -0
- package/dist/types/exported-related/data-test-ids.d.ts +6 -0
- package/dist/types/exported-related/index.d.ts +2 -0
- package/dist/types/exported-related/theming.d.ts +6 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/react-desc-prop-types.d.ts +19 -0
- package/dist/types/styled.d.ts +5 -0
- package/dist/types/tests/DSInputGroup.test.d.ts +1 -0
- package/dist/types/tests/axe.test.d.ts +1 -0
- package/package.json +8 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/react-desc-prop-types.ts", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\nimport type React from 'react';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport declare namespace DSInputGroupT {\n export interface RequiredProps {\n children: React.
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\nimport type React from 'react';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport declare namespace DSInputGroupT {\n export interface RequiredProps {\n children: React.ReactNode | React.ReactNode[];\n }\n export interface OptionalProps {\n leftAddon?: React.ReactNode;\n rightAddon?: React.ReactNode;\n }\n\n export interface Props extends Partial<OptionalProps>, RequiredProps {}\n\n export interface InternalProps extends OptionalProps, RequiredProps {}\n}\n\nexport const propTypes = {\n leftAddon: PropTypes.element.description('Component to be added at the left side of the input'),\n rightAddon: PropTypes.element.description('Component to be added at the right side of the input'),\n children: PropTypes.node.isRequired\n .description('React component to apply autocomplete functionality')\n .defaultValue(''),\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,8BAA0B;AAgBnB,MAAM,YAAY;AAAA,EACvB,WAAW,kCAAU,QAAQ,YAAY,qDAAqD;AAAA,EAC9F,YAAY,kCAAU,QAAQ,YAAY,sDAAsD;AAAA,EAChG,UAAU,kCAAU,KAAK,WACtB,YAAY,qDAAqD,EACjE,aAAa,EAAE;AACpB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\nimport type React from 'react';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport declare namespace DSInputGroupT {\n export interface RequiredProps {\n children: React.
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\nimport type React from 'react';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport declare namespace DSInputGroupT {\n export interface RequiredProps {\n children: React.ReactNode | React.ReactNode[];\n }\n export interface OptionalProps {\n leftAddon?: React.ReactNode;\n rightAddon?: React.ReactNode;\n }\n\n export interface Props extends Partial<OptionalProps>, RequiredProps {}\n\n export interface InternalProps extends OptionalProps, RequiredProps {}\n}\n\nexport const propTypes = {\n leftAddon: PropTypes.element.description('Component to be added at the left side of the input'),\n rightAddon: PropTypes.element.description('Component to be added at the right side of the input'),\n children: PropTypes.node.isRequired\n .description('React component to apply autocomplete functionality')\n .defaultValue(''),\n};\n"],
|
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,iBAAiB;AAgBnB,MAAM,YAAY;AAAA,EACvB,WAAW,UAAU,QAAQ,YAAY,qDAAqD;AAAA,EAC9F,YAAY,UAAU,QAAQ,YAAY,sDAAsD;AAAA,EAChG,UAAU,UAAU,KAAK,WACtB,YAAY,qDAAqD,EACjE,aAAa,EAAE;AACpB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { DSInputGroupT } from './react-desc-prop-types.js';
|
|
3
|
+
declare const DSInputGroup: React.ComponentType<DSInputGroupT.Props>;
|
|
4
|
+
declare const DSInputGroupWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSInputGroupT.Props>;
|
|
5
|
+
export { DSInputGroup, DSInputGroupWithSchema };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export declare namespace DSInputGroupT {
|
|
3
|
+
interface RequiredProps {
|
|
4
|
+
children: React.ReactNode | React.ReactNode[];
|
|
5
|
+
}
|
|
6
|
+
interface OptionalProps {
|
|
7
|
+
leftAddon?: React.ReactNode;
|
|
8
|
+
rightAddon?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
interface Props extends Partial<OptionalProps>, RequiredProps {
|
|
11
|
+
}
|
|
12
|
+
interface InternalProps extends OptionalProps, RequiredProps {
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export declare const propTypes: {
|
|
16
|
+
leftAddon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
17
|
+
rightAddon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
18
|
+
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
19
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/react-desc-prop-types.js").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, object, never>;
|
|
3
|
+
export declare const StyledLeftAddon: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
|
|
4
|
+
export declare const StyledRightAddon: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
|
|
5
|
+
export declare const StyledInput: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-form-layout-input-group",
|
|
3
|
-
"version": "3.17.0-next.
|
|
3
|
+
"version": "3.17.0-next.20",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Form Layout - Input Group",
|
|
6
6
|
"files": [
|
|
@@ -36,12 +36,11 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"styled-components": "~5.3.9",
|
|
39
|
-
"@elliemae/ds-form-combobox": "3.17.0-next.
|
|
40
|
-
"@elliemae/ds-form-input-text": "3.17.0-next.
|
|
41
|
-
"@elliemae/ds-
|
|
42
|
-
"@elliemae/ds-
|
|
43
|
-
"@elliemae/ds-
|
|
44
|
-
"@elliemae/ds-props-helpers": "3.17.0-next.2"
|
|
39
|
+
"@elliemae/ds-form-combobox": "3.17.0-next.20",
|
|
40
|
+
"@elliemae/ds-form-input-text": "3.17.0-next.20",
|
|
41
|
+
"@elliemae/ds-grid": "3.17.0-next.20",
|
|
42
|
+
"@elliemae/ds-props-helpers": "3.17.0-next.20",
|
|
43
|
+
"@elliemae/ds-system": "3.17.0-next.20"
|
|
45
44
|
},
|
|
46
45
|
"devDependencies": {
|
|
47
46
|
"@elliemae/pui-theme": "~2.7.0",
|
|
@@ -49,9 +48,10 @@
|
|
|
49
48
|
"@testing-library/jest-dom": "~5.16.5",
|
|
50
49
|
"@testing-library/react": "~12.1.3",
|
|
51
50
|
"@testing-library/user-event": "~13.5.0",
|
|
51
|
+
"jest-axe": "^7.0.1",
|
|
52
52
|
"styled-components": "~5.3.9",
|
|
53
53
|
"styled-system": "~5.1.5",
|
|
54
|
-
"@elliemae/ds-button": "3.17.0-next.
|
|
54
|
+
"@elliemae/ds-button": "3.17.0-next.20"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@elliemae/pui-theme": "~2.7.0",
|