@elliemae/ds-form-layout-blocks 2.2.0-next.4 → 2.3.0-alpha.2
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/cjs/form-layout-block-item/DSFormLayoutBlockItem.js +68 -46
- package/cjs/form-layout-block-item/DSFormLayoutBlockItem.js.map +7 -0
- package/cjs/form-layout-block-item/index.d.js +27 -2
- package/cjs/form-layout-block-item/index.d.js.map +7 -0
- package/cjs/form-layout-block-item/index.js +28 -10
- package/cjs/form-layout-block-item/index.js.map +7 -0
- package/cjs/form-layout-block-item/propTypes.js +48 -21
- package/cjs/form-layout-block-item/propTypes.js.map +7 -0
- package/cjs/form-layout-block-item/styles.js +124 -91
- package/cjs/form-layout-block-item/styles.js.map +7 -0
- package/cjs/form-layout-checkbox-group/DSFormLayoutCheckboxGroup.js +50 -28
- package/cjs/form-layout-checkbox-group/DSFormLayoutCheckboxGroup.js.map +7 -0
- package/cjs/form-layout-checkbox-group/config/useValidateProps.js +55 -25
- package/cjs/form-layout-checkbox-group/config/useValidateProps.js.map +7 -0
- package/cjs/form-layout-checkbox-group/defaultProps.js +35 -7
- package/cjs/form-layout-checkbox-group/defaultProps.js.map +7 -0
- package/cjs/form-layout-checkbox-group/index.d.js +27 -2
- package/cjs/form-layout-checkbox-group/index.d.js.map +7 -0
- package/cjs/form-layout-checkbox-group/index.js +28 -10
- package/cjs/form-layout-checkbox-group/index.js.map +7 -0
- package/cjs/form-layout-checkbox-group/propTypes.js +36 -9
- package/cjs/form-layout-checkbox-group/propTypes.js.map +7 -0
- package/cjs/form-layout-checkbox-group/styles.js +49 -45
- package/cjs/form-layout-checkbox-group/styles.js.map +7 -0
- package/cjs/index.d.js +29 -2
- package/cjs/index.d.js.map +7 -0
- package/cjs/index.js +29 -13
- package/cjs/index.js.map +7 -0
- package/esm/form-layout-block-item/DSFormLayoutBlockItem.js +36 -34
- package/esm/form-layout-block-item/DSFormLayoutBlockItem.js.map +7 -0
- package/esm/form-layout-block-item/index.d.js +2 -1
- package/esm/form-layout-block-item/index.d.js.map +7 -0
- package/esm/form-layout-block-item/index.js +3 -1
- package/esm/form-layout-block-item/index.js.map +7 -0
- package/esm/form-layout-block-item/propTypes.js +18 -16
- package/esm/form-layout-block-item/propTypes.js.map +7 -0
- package/esm/form-layout-block-item/styles.js +96 -80
- package/esm/form-layout-block-item/styles.js.map +7 -0
- package/esm/form-layout-checkbox-group/DSFormLayoutCheckboxGroup.js +17 -15
- package/esm/form-layout-checkbox-group/DSFormLayoutCheckboxGroup.js.map +7 -0
- package/esm/form-layout-checkbox-group/config/useValidateProps.js +26 -17
- package/esm/form-layout-checkbox-group/config/useValidateProps.js.map +7 -0
- package/esm/form-layout-checkbox-group/defaultProps.js +6 -3
- package/esm/form-layout-checkbox-group/defaultProps.js.map +7 -0
- package/esm/form-layout-checkbox-group/index.d.js +2 -1
- package/esm/form-layout-checkbox-group/index.d.js.map +7 -0
- package/esm/form-layout-checkbox-group/index.js +3 -1
- package/esm/form-layout-checkbox-group/index.js.map +7 -0
- package/esm/form-layout-checkbox-group/propTypes.js +7 -5
- package/esm/form-layout-checkbox-group/propTypes.js.map +7 -0
- package/esm/form-layout-checkbox-group/styles.js +21 -38
- package/esm/form-layout-checkbox-group/styles.js.map +7 -0
- package/esm/index.d.js +4 -1
- package/esm/index.d.js.map +7 -0
- package/esm/index.js +4 -2
- package/esm/index.js.map +7 -0
- package/package.json +2 -2
- package/types/form-layout-block-item/DSFormLayoutBlockItem.d.ts +1 -1
- package/types/form-layout-checkbox-group/DSFormLayoutCheckboxGroup.d.ts +1 -1
|
@@ -1,38 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const StyledContainer =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
theme
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
theme
|
|
23
|
-
} = _ref4;
|
|
24
|
-
return theme.space.xxs;
|
|
25
|
-
}, _ref5 => {
|
|
26
|
-
let {
|
|
27
|
-
theme
|
|
28
|
-
} = _ref5;
|
|
29
|
-
return theme.space.xxs;
|
|
30
|
-
}, _ref6 => {
|
|
31
|
-
let {
|
|
32
|
-
theme,
|
|
33
|
-
direction
|
|
34
|
-
} = _ref6;
|
|
35
|
-
return direction === 'horizontal' ? theme.space.s : '0';
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
export { StyledContainer };
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import styled from "styled-components";
|
|
3
|
+
const StyledContainer = styled.div`
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
flex-wrap: wrap;
|
|
6
|
+
flex-direction: ${({ direction }) => direction === "horizontal" ? "row" : "column"};
|
|
7
|
+
margin-left: ${({ theme }) => theme.space.xs};
|
|
8
|
+
margin-right: ${({ theme }) => theme.space.xs};
|
|
9
|
+
margin-top: ${({ theme }) => theme.space.xxs};
|
|
10
|
+
& div {
|
|
11
|
+
padding: 0;
|
|
12
|
+
margin-bottom: ${({ theme }) => theme.space.xxs};
|
|
13
|
+
}
|
|
14
|
+
& div:not(:last-child) {
|
|
15
|
+
margin-right: ${({ theme, direction }) => direction === "horizontal" ? theme.space.s : "0"};
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
export {
|
|
19
|
+
StyledContainer
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/form-layout-checkbox-group/styles.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import styled from 'styled-components';\nimport type { DSControlledCheckboxGroupStyledContainerT } from './index.d';\n\nexport const StyledContainer = styled.div<DSControlledCheckboxGroupStyledContainerT>`\n display: inline-flex;\n flex-wrap: wrap;\n flex-direction: ${({ direction }) => (direction === 'horizontal' ? 'row' : 'column')};\n margin-left: ${({ theme }) => theme.space.xs};\n margin-right: ${({ theme }) => theme.space.xs};\n margin-top: ${({ theme }) => theme.space.xxs};\n & div {\n padding: 0;\n margin-bottom: ${({ theme }) => theme.space.xxs};\n }\n & div:not(:last-child) {\n margin-right: ${({ theme, direction }) => (direction === 'horizontal' ? theme.space.s : '0')};\n }\n`;\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AAGO,MAAM,kBAAkB,OAAO;AAAA;AAAA;AAAA,oBAGlB,CAAC,EAAE,gBAAiB,cAAc,eAAe,QAAQ;AAAA,iBAC5D,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA,kBAC1B,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA,gBAC7B,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA;AAAA;AAAA,qBAGtB,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA;AAAA;AAAA,oBAG5B,CAAC,EAAE,OAAO,gBAAiB,cAAc,eAAe,MAAM,MAAM,IAAI;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/esm/index.d.js
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.d.ts"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './form-layout-block-item/index.d'\nexport * from './form-layout-checkbox-group/index.d'"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/esm/index.js
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export * from "./form-layout-block-item";
|
|
3
|
+
export * from "./form-layout-checkbox-group";
|
|
4
|
+
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './form-layout-block-item';\nexport * from './form-layout-checkbox-group';\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-form-layout-blocks",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0-alpha.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Form Layout",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"build": "node ../../scripts/build/build.js"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@elliemae/ds-props-helpers": "2.
|
|
75
|
+
"@elliemae/ds-props-helpers": "2.3.0-alpha.2",
|
|
76
76
|
"react-desc": "~4.1.3",
|
|
77
77
|
"uid": "~2.0.0"
|
|
78
78
|
},
|
|
@@ -70,7 +70,7 @@ declare const DSFormLayoutBlockItem: {
|
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
72
|
declare const DSFormLayoutBlockItemWithSchema: {
|
|
73
|
-
(props?:
|
|
73
|
+
(props?: unknown): JSX.Element;
|
|
74
74
|
propTypes: unknown;
|
|
75
75
|
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
76
76
|
};
|
|
@@ -13,7 +13,7 @@ declare const DSFormLayoutCheckboxGroup: {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
declare const DSFormLayoutCheckboxGroupWithSchema: {
|
|
16
|
-
(props?:
|
|
16
|
+
(props?: unknown): JSX.Element;
|
|
17
17
|
propTypes: unknown;
|
|
18
18
|
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
19
19
|
};
|