jcicl 0.0.253 → 0.0.257
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/DefaultTemplate/DefaultTemplate.js +1 -0
- package/FormComponents/FormComponents.d.ts +6 -0
- package/FormComponents/FormComponents.js +27 -14
- package/FormComponents/index.d.ts +1 -1
- package/FormComponents/index.js +3 -2
- package/LabeledDropdown/LabeledDropdown.js +370 -355
- package/package.json +1 -1
|
@@ -28,6 +28,12 @@ export declare const FormSubtitle: import('@emotion/styled').StyledComponent<{
|
|
|
28
28
|
} & {
|
|
29
29
|
underlined?: boolean;
|
|
30
30
|
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
31
|
+
export declare const FormTextLine: import('@emotion/styled').StyledComponent<{
|
|
32
|
+
theme?: import('@emotion/react').Theme;
|
|
33
|
+
as?: React.ElementType;
|
|
34
|
+
} & {
|
|
35
|
+
underlined?: boolean;
|
|
36
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
31
37
|
export declare const FormSubsectionTitle: import('@emotion/styled').StyledComponent<{
|
|
32
38
|
theme?: import('@emotion/react').Theme;
|
|
33
39
|
as?: React.ElementType;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as o } from "../.chunks/emotion-styled.browser.esm.js";
|
|
2
2
|
import { c as t } from "../.chunks/emotion-react.browser.esm.js";
|
|
3
3
|
import i from "../theme.js";
|
|
4
|
-
const x =
|
|
5
|
-
({ boxShadow:
|
|
4
|
+
const x = o("div")(
|
|
5
|
+
({ boxShadow: e = i.boxShadows.darkGreen }) => ({
|
|
6
6
|
...t`
|
|
7
7
|
background-color: ${i.colors.white};
|
|
8
8
|
border-radius: 8px;
|
|
9
|
-
box-shadow: ${
|
|
9
|
+
box-shadow: ${e};
|
|
10
10
|
padding: 0px 36px 19px 36px;
|
|
11
11
|
display: flex;
|
|
12
12
|
flex-direction: column;
|
|
@@ -16,17 +16,17 @@ const x = e("div")(
|
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
`
|
|
18
18
|
})
|
|
19
|
-
), m =
|
|
19
|
+
), m = o("div")(({ columns: e = 3, columnsOverride: n, gap: r = 21, customStyles: a }) => ({
|
|
20
20
|
...t`
|
|
21
21
|
display: grid;
|
|
22
|
-
grid-template-columns: repeat(${
|
|
22
|
+
grid-template-columns: repeat(${e}, 1fr);
|
|
23
23
|
${n && t`
|
|
24
24
|
grid-template-columns: ${n};
|
|
25
25
|
`};
|
|
26
26
|
gap: ${r}px;
|
|
27
27
|
${a};
|
|
28
28
|
`
|
|
29
|
-
})), s =
|
|
29
|
+
})), s = o("div")(() => ({
|
|
30
30
|
...t`
|
|
31
31
|
width: 100%;
|
|
32
32
|
display: flex;
|
|
@@ -44,7 +44,7 @@ const x = e("div")(
|
|
|
44
44
|
align-items: flex-end;
|
|
45
45
|
}
|
|
46
46
|
`
|
|
47
|
-
})), g =
|
|
47
|
+
})), g = o("h2")(() => ({
|
|
48
48
|
...t`
|
|
49
49
|
font-size: 27px;
|
|
50
50
|
font-weight: 600;
|
|
@@ -52,7 +52,7 @@ const x = e("div")(
|
|
|
52
52
|
margin-top: 9px;
|
|
53
53
|
margin-bottom: -15px;
|
|
54
54
|
`
|
|
55
|
-
})),
|
|
55
|
+
})), f = o("h3")(({ underlined: e = !1 }) => ({
|
|
56
56
|
...t`
|
|
57
57
|
font-size: 19px;
|
|
58
58
|
font-weight: 600;
|
|
@@ -60,11 +60,23 @@ const x = e("div")(
|
|
|
60
60
|
margin: 0;
|
|
61
61
|
margin-bottom: -15px;
|
|
62
62
|
width: 100%;
|
|
63
|
-
${
|
|
63
|
+
${e && t`
|
|
64
64
|
text-decoration: underline;
|
|
65
65
|
`};
|
|
66
66
|
`
|
|
67
|
-
})),
|
|
67
|
+
})), c = o("p")(({ underlined: e = !1 }) => ({
|
|
68
|
+
...t`
|
|
69
|
+
text-align: left;
|
|
70
|
+
font-size: inherit;
|
|
71
|
+
font-weight: bold;
|
|
72
|
+
margin: 0;
|
|
73
|
+
margin-bottom: -19px;
|
|
74
|
+
width: 100%;
|
|
75
|
+
${e && t`
|
|
76
|
+
text-decoration: underline;
|
|
77
|
+
`};
|
|
78
|
+
`
|
|
79
|
+
})), h = o("h3")(({ underlined: e = !1 }) => ({
|
|
68
80
|
...t`
|
|
69
81
|
font-size: 19px;
|
|
70
82
|
font-weight: 600;
|
|
@@ -74,7 +86,7 @@ const x = e("div")(
|
|
|
74
86
|
margin-bottom: -6px;
|
|
75
87
|
border-bottom: 1px solid ${i.colors.gray};
|
|
76
88
|
width: 100%;
|
|
77
|
-
${
|
|
89
|
+
${e && t`
|
|
78
90
|
text-decoration: underline;
|
|
79
91
|
`};
|
|
80
92
|
`
|
|
@@ -84,6 +96,7 @@ export {
|
|
|
84
96
|
m as FormFieldGrid,
|
|
85
97
|
x as FormSection,
|
|
86
98
|
g as FormSectionTitle,
|
|
87
|
-
|
|
88
|
-
|
|
99
|
+
h as FormSubsectionTitle,
|
|
100
|
+
f as FormSubtitle,
|
|
101
|
+
c as FormTextLine
|
|
89
102
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { FormSection, FormFieldGrid, FormFieldCheckboxContainer, FormSectionTitle, FormSubtitle, FormSubsectionTitle, } from './FormComponents';
|
|
1
|
+
export { FormSection, FormFieldGrid, FormFieldCheckboxContainer, FormSectionTitle, FormSubtitle, FormSubsectionTitle, FormTextLine, } from './FormComponents';
|
package/FormComponents/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { FormFieldCheckboxContainer as i, FormFieldGrid as r, FormSection as t, FormSectionTitle as F, FormSubsectionTitle as m, FormSubtitle as l } from "./FormComponents.js";
|
|
1
|
+
import { FormFieldCheckboxContainer as i, FormFieldGrid as r, FormSection as t, FormSectionTitle as F, FormSubsectionTitle as m, FormSubtitle as n, FormTextLine as l } from "./FormComponents.js";
|
|
2
2
|
export {
|
|
3
3
|
i as FormFieldCheckboxContainer,
|
|
4
4
|
r as FormFieldGrid,
|
|
5
5
|
t as FormSection,
|
|
6
6
|
F as FormSectionTitle,
|
|
7
7
|
m as FormSubsectionTitle,
|
|
8
|
-
|
|
8
|
+
n as FormSubtitle,
|
|
9
|
+
l as FormTextLine
|
|
9
10
|
};
|