jcicl 1.0.5 → 1.0.9

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.
Files changed (47) hide show
  1. package/.chunks/DefaultPropsProvider.js +3 -3
  2. package/.chunks/TextField.js +1 -1
  3. package/.chunks/x.js +22 -0
  4. package/Button/Button.js +36 -32
  5. package/CircularIconButton/CircularIconButton.js +23 -19
  6. package/DefaultTemplate/DefaultTemplate.js +3 -3
  7. package/DetailItemWithIcon/DetailItemWithIcon.js +31 -19
  8. package/DetailPageComponents/DetailPageComponents.d.ts +12 -4
  9. package/DetailPageComponents/DetailPageComponents.js +44 -28
  10. package/EditableDetailItemWithIcon/EditableDetailItemWithIcon.d.ts +1 -0
  11. package/EditableDetailItemWithIcon/EditableDetailItemWithIcon.js +59 -74
  12. package/EditableInfoCard/EditableInfoCard.js +107 -103
  13. package/FormComponents/FormComponents.d.ts +17 -10
  14. package/FormComponents/FormComponents.js +52 -46
  15. package/Icon/Icon.js +23 -22
  16. package/InfoCard/InfoCard.js +37 -33
  17. package/Input/Input.js +19 -15
  18. package/LabeledCheckbox/LabeledCheckbox.js +58 -55
  19. package/LabeledDropdown/LabeledDropdown.js +370 -366
  20. package/LabeledInput/LabeledInput.js +13 -13
  21. package/LabeledTextArea/LabeledTextArea.js +20 -13
  22. package/List/List.js +19 -18
  23. package/ListButton/ListButton.d.ts +2 -4
  24. package/ListButton/ListButton.js +21 -12
  25. package/Loading/Loading.js +14 -9
  26. package/Pill/Pill.d.ts +1 -0
  27. package/Pill/Pill.js +21 -13
  28. package/ScrollContainer/ScrollContainer.js +180 -179
  29. package/Search/Search.js +64 -62
  30. package/SquareIcon/SquareIcon.js +28 -25
  31. package/SquareIconButton/SquareIconButton.js +24 -11
  32. package/Stepper/Stepper.js +166 -146
  33. package/Table/Table.js +233 -221
  34. package/Toast/Toast.d.ts +8 -0
  35. package/Toast/Toast.js +154 -0
  36. package/Toast/ToastHelpers.d.ts +4 -0
  37. package/Toast/ToastHelpers.js +10 -0
  38. package/Toast/Toaster.d.ts +9 -0
  39. package/Toast/Toaster.js +25 -0
  40. package/Toast/index.d.ts +3 -0
  41. package/Toast/index.js +9 -0
  42. package/WithLoading/WithLoading.js +16 -11
  43. package/package.json +1 -1
  44. package/theme.d.ts +19 -9
  45. package/theme.js +15 -9
  46. package/themeUtils.d.ts +5 -0
  47. package/themeUtils.js +81 -69
@@ -1,28 +1,23 @@
1
- import { jsx as r, jsxs as t } from "react/jsx-runtime";
2
- import { useState as y } from "react";
3
- import { n as h } from "../.chunks/emotion-styled.browser.esm.js";
4
- import { c as k } from "../.chunks/emotion-react.browser.esm.js";
5
- import o from "../theme.js";
1
+ import { jsx as o, jsxs as n } from "react/jsx-runtime";
2
+ import { useState as b } from "react";
3
+ import { n as u } from "../.chunks/emotion-styled.browser.esm.js";
4
+ import { c as g } from "../.chunks/emotion-react.browser.esm.js";
5
+ import e from "../theme.js";
6
6
  import { Flex as c } from "../Flex/Flex.js";
7
- import { Input as x } from "../Input/Input.js";
8
- import { DetailItemContainer as C } from "../DetailPageComponents/DetailPageComponents.js";
9
- import I from "../SquareIcon/SquareIcon.js";
10
- import l from "../SquareIconButton/SquareIconButton.js";
11
- import { c as a } from "../.chunks/createLucideIcon.js";
7
+ import { Input as w } from "../Input/Input.js";
8
+ import { DetailItemContainer as x } from "../DetailPageComponents/DetailPageComponents.js";
9
+ import y from "../SquareIcon/SquareIcon.js";
10
+ import m from "../SquareIconButton/SquareIconButton.js";
11
+ import { useThemeColors as B } from "../ThemeContext.js";
12
+ import { c as D } from "../.chunks/createLucideIcon.js";
13
+ import { X as z, C as j } from "../.chunks/x.js";
12
14
  /**
13
15
  * @license lucide-react v0.525.0 - ISC
14
16
  *
15
17
  * This source code is licensed under the ISC license.
16
18
  * See the LICENSE file in the root directory of this source tree.
17
19
  */
18
- const G = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], _ = a("check", G);
19
- /**
20
- * @license lucide-react v0.525.0 - ISC
21
- *
22
- * This source code is licensed under the ISC license.
23
- * See the LICENSE file in the root directory of this source tree.
24
- */
25
- const z = [
20
+ const G = [
26
21
  [
27
22
  "path",
28
23
  {
@@ -31,88 +26,78 @@ const z = [
31
26
  }
32
27
  ],
33
28
  ["path", { d: "m15 5 4 4", key: "1mk7zo" }]
34
- ], D = a("pencil", z);
35
- /**
36
- * @license lucide-react v0.525.0 - ISC
37
- *
38
- * This source code is licensed under the ISC license.
39
- * See the LICENSE file in the root directory of this source tree.
40
- */
41
- const j = [
42
- ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
43
- ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
44
- ], A = a("x", j), L = h("p")(() => ({
45
- ...k`
29
+ ], L = D("pencil", G), S = u("p")(() => ({
30
+ ...g`
46
31
  font-size: 0.875rem;
47
32
  font-weight: 500;
48
- color: ${o.colors.charcoal} !important;
33
+ color: ${e.colors.charcoal} !important;
49
34
  margin: 0;
50
35
  margin-bottom: 0.25rem;
51
36
  `
52
- })), N = h("p")(() => ({
53
- ...k`
37
+ })), W = u("p")(() => ({
38
+ ...g`
54
39
  font-size: 1rem;
55
40
  word-wrap: break-word;
56
41
  margin: 0;
57
42
  `
58
- })), H = ({
59
- icon: u,
60
- iconSize: g = 20,
43
+ })), O = (i) => /* @__PURE__ */ o(q, { ...i }), q = ({
44
+ icon: i,
45
+ iconSize: k = 20,
61
46
  onValueChange: s,
62
- onSave: m,
47
+ onSave: p,
63
48
  onCancel: d,
64
- customEditForm: n,
65
- editButtonMarginTop: p,
66
- label: b,
49
+ customEditForm: l,
50
+ editButtonMarginTop: h,
51
+ label: I,
67
52
  value: f
68
53
  }) => {
69
- const [e, i] = y(!1);
70
- return /* @__PURE__ */ r(C, { children: /* @__PURE__ */ t(c, { gap: "19px", children: [
71
- /* @__PURE__ */ r(
72
- I,
54
+ const [r, a] = b(!1), t = B();
55
+ return /* @__PURE__ */ o(x, { children: /* @__PURE__ */ n(c, { gap: "19px", children: [
56
+ /* @__PURE__ */ o(
57
+ y,
73
58
  {
74
- icon: u,
75
- iconSize: g,
76
- color: o.colors.darkGreen,
77
- backgroundColor: o.colors.whiteGreenA
59
+ icon: i,
60
+ iconSize: k,
61
+ color: t.themeIconColorB,
62
+ backgroundColor: t.themeIconBackgroundB
78
63
  }
79
64
  ),
80
- /* @__PURE__ */ t(c, { justifyContent: "space-between", width: "100%", gap: "12px", children: [
81
- /* @__PURE__ */ t(c, { column: !0, styles: { flexGrow: 1 }, children: [
82
- /* @__PURE__ */ r(L, { children: b }),
83
- !e && /* @__PURE__ */ r(N, { children: f }),
84
- e && !n && /* @__PURE__ */ r(x, { defaultValue: f, onChange: (w) => s && s(w.target.value) }),
85
- e && n && n
65
+ /* @__PURE__ */ n(c, { justifyContent: "space-between", width: "100%", gap: "12px", children: [
66
+ /* @__PURE__ */ n(c, { column: !0, styles: { flexGrow: 1 }, children: [
67
+ /* @__PURE__ */ o(S, { children: I }),
68
+ !r && /* @__PURE__ */ o(W, { children: f }),
69
+ r && !l && /* @__PURE__ */ o(w, { defaultValue: f, onChange: (C) => s && s(C.target.value) }),
70
+ r && l && l
86
71
  ] }),
87
- !e && /* @__PURE__ */ r(
88
- l,
72
+ !r && /* @__PURE__ */ o(
73
+ m,
89
74
  {
90
- backgroundColor: o.colors.whiteGreenA,
91
- color: o.colors.darkGreen,
92
- icon: D,
93
- onClick: () => i(!0)
75
+ backgroundColor: t.themeIconBackgroundB,
76
+ color: t.themeIconColorB,
77
+ icon: L,
78
+ onClick: () => a(!0)
94
79
  }
95
80
  ),
96
- e && /* @__PURE__ */ t(c, { gap: "9px", styles: { marginTop: p || "0" }, children: [
97
- /* @__PURE__ */ r(
98
- l,
81
+ r && /* @__PURE__ */ n(c, { gap: "9px", styles: { marginTop: h || "0" }, children: [
82
+ /* @__PURE__ */ o(
83
+ m,
99
84
  {
100
- backgroundColor: o.colors.cherryBlossom,
101
- color: o.colors.maroon,
102
- icon: A,
85
+ backgroundColor: e.colors.cherryBlossom,
86
+ color: e.colors.maroon,
87
+ icon: z,
103
88
  onClick: () => {
104
- i(!1), d && d();
89
+ a(!1), d && d();
105
90
  }
106
91
  }
107
92
  ),
108
- /* @__PURE__ */ r(
109
- l,
93
+ /* @__PURE__ */ o(
94
+ m,
110
95
  {
111
- icon: _,
112
- backgroundColor: o.colors.whiteGreenA,
113
- color: o.colors.darkGreen,
96
+ icon: j,
97
+ backgroundColor: e.colors.whiteGreenA,
98
+ color: e.colors.darkGreen,
114
99
  onClick: () => {
115
- i(!1), m && m();
100
+ a(!1), p && p();
116
101
  }
117
102
  }
118
103
  )
@@ -121,5 +106,5 @@ const j = [
121
106
  ] }) });
122
107
  };
123
108
  export {
124
- H as default
109
+ O as default
125
110
  };
@@ -1,26 +1,27 @@
1
- import { jsx as o, jsxs as n, Fragment as k } from "react/jsx-runtime";
2
- import { useState as B, useEffect as N } from "react";
1
+ import { jsx as o, jsxs as n, Fragment as P } from "react/jsx-runtime";
2
+ import { useState as T, useEffect as O } from "react";
3
3
  import { n as l } from "../.chunks/emotion-styled.browser.esm.js";
4
- import { c as m } from "../.chunks/emotion-react.browser.esm.js";
5
- import { c as j } from "../.chunks/createSvgIcon.js";
6
- import { X as O } from "../.chunks/Close.js";
7
- import d from "../theme.js";
8
- import { LabeledValue as Q } from "../LabeledValue/LabeledValue.js";
9
- import { LabeledInput as Z } from "../LabeledInput/LabeledInput.js";
4
+ import { c as f } from "../.chunks/emotion-react.browser.esm.js";
5
+ import { c as F } from "../.chunks/createSvgIcon.js";
6
+ import { X as Q } from "../.chunks/Close.js";
7
+ import C from "../theme.js";
8
+ import { LabeledValue as Z } from "../LabeledValue/LabeledValue.js";
9
+ import { LabeledInput as _ } from "../LabeledInput/LabeledInput.js";
10
10
  import L from "../Loading/Loading.js";
11
11
  import M from "../WithLoading/WithLoading.js";
12
- import { Flex as f } from "../Flex/Flex.js";
13
- import { Tooltip as x } from "../Tooltip/Tooltip.js";
14
- import { T as _ } from "../.chunks/TextField.js";
15
- import { B as oo } from "../.chunks/ButtonBase.js";
16
- const eo = j(/* @__PURE__ */ o("path", {
12
+ import { Flex as h } from "../Flex/Flex.js";
13
+ import { Tooltip as $ } from "../Tooltip/Tooltip.js";
14
+ import { useThemeColors as oo } from "../ThemeContext.js";
15
+ import { T as eo } from "../.chunks/TextField.js";
16
+ import { B as to } from "../.chunks/ButtonBase.js";
17
+ const ro = F(/* @__PURE__ */ o("path", {
17
18
  d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
18
- }), "Edit"), to = j(/* @__PURE__ */ o("path", {
19
+ }), "Edit"), no = F(/* @__PURE__ */ o("path", {
19
20
  d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
20
- }), "Check"), T = l("div")(
21
- ({ width: t, padding: a, shadow: r, styles: u, isEditing: c }) => ({
22
- ...m`
23
- width: ${t};
21
+ }), "Check"), V = l("div")(
22
+ ({ width: e, padding: a, shadow: r, styles: m, isEditing: d, customTheme: u }) => ({
23
+ ...f`
24
+ width: ${e};
24
25
  max-width: 100%;
25
26
  box-sizing: border-box;
26
27
  h3 {
@@ -32,19 +33,21 @@ const eo = j(/* @__PURE__ */ o("path", {
32
33
  padding: ${a};
33
34
  display: flex;
34
35
  flex-direction: column;
35
- box-shadow: ${r};
36
+ box-shadow: ${r || u.themeShadowB};
36
37
  border-radius: 5px;
37
- background-color: ${d.colors.white};
38
- ${u};
39
- z-index: ${c ? 0 : 1};
38
+ background-color: ${C.colors.white};
39
+ ${m};
40
+ z-index: ${d ? 0 : 1};
40
41
  position: relative;
41
- transform: ${c ? "rotateY(-180deg)" : "rotateY(0deg)"};
42
+ transform: ${d ? "rotateY(-180deg)" : "rotateY(0deg)"};
42
43
  transition: 920ms all ease-in-out;
43
- opacity: ${c ? "0" : "1"};
44
+ opacity: ${d ? "0" : "1"};
44
45
  `
45
46
  })
46
- ), ro = l(_)({
47
- backgroundColor: d.colors.white,
47
+ ), ao = l(eo, {
48
+ shouldForwardProp: (e) => !["customTheme"].includes(e)
49
+ })(({ customTheme: e }) => ({
50
+ backgroundColor: C.colors.white,
48
51
  borderRadius: "0",
49
52
  input: {
50
53
  fontSize: "28px",
@@ -52,14 +55,14 @@ const eo = j(/* @__PURE__ */ o("path", {
52
55
  transition: "313ms all ease-out",
53
56
  padding: "0",
54
57
  borderRadius: "0",
55
- borderBottom: `1px solid ${d.colors.gray}`,
58
+ borderBottom: `1px solid ${C.colors.gray}`,
56
59
  "&:focus-visible": {
57
- boxShadow: `0 3px 2px -2px ${d.colors.darkGreen}`
60
+ boxShadow: `0 3px 2px -2px ${e.themeDark}`
58
61
  }
59
62
  },
60
63
  "&:hover, :focus-visible": {
61
64
  input: {
62
- boxShadow: `0 3px 2px -2px ${d.colors.darkGreen}`
65
+ boxShadow: `0 3px 2px -2px ${e.themeDark}`
63
66
  }
64
67
  },
65
68
  fieldset: {
@@ -71,82 +74,82 @@ const eo = j(/* @__PURE__ */ o("path", {
71
74
  border: "none"
72
75
  }
73
76
  }
74
- }), no = l(T)(({ isEditing: t }) => ({
75
- ...m`
77
+ })), io = l(V)(({ isEditing: e }) => ({
78
+ ...f`
76
79
  position: absolute;
77
80
  top: 0;
78
- z-index: ${t ? 1 : 0};
79
- transform: ${t ? "rotateY(0deg)" : "rotateY(-180deg)"};
80
- opacity: ${t ? "1" : "0"};
81
+ z-index: ${e ? 1 : 0};
82
+ transform: ${e ? "rotateY(0deg)" : "rotateY(-180deg)"};
83
+ opacity: ${e ? "1" : "0"};
81
84
  transition: 920ms all ease-in-out;
82
85
  `
83
- })), P = l("div")(
84
- ({ spacing: t, columns: a, numRows: r }) => ({
85
- ...m`
86
- margin-top: calc(${t} * 0.75);
87
- grid-row-gap: ${t};
88
- grid-column-gap: calc(${t} * 1.5);
86
+ })), R = l("div")(
87
+ ({ spacing: e, columns: a, numRows: r }) => ({
88
+ ...f`
89
+ margin-top: calc(${e} * 0.75);
90
+ grid-row-gap: ${e};
91
+ grid-column-gap: calc(${e} * 1.5);
89
92
  display: grid;
90
93
  grid-template-columns: repeat(${a}, 1fr);
91
94
  grid-template-rows: repeat(${r}, 1fr);
92
95
  `
93
96
  })
94
- ), $ = l(oo)(() => ({
95
- ...m`
97
+ ), w = l(to)(() => ({
98
+ ...f`
96
99
  width: 40px;
97
100
  height: 40px;
98
101
  border-radius: 50%;
99
102
  `
100
- })), ao = l("div")`
103
+ })), lo = l("div")`
101
104
  position: relative;
102
105
  width: 100%;
103
- `, R = l("div")`
106
+ `, j = l("div")`
104
107
  height: 19px;
105
- `, vo = ({
106
- decorativeElement: t,
108
+ `, yo = ({
109
+ decorativeElement: e,
107
110
  title: a,
108
111
  items: r = [],
109
- padding: u = "1rem 2rem",
110
- shadow: c = d.boxShadows.darkGreen,
111
- spacing: V = "2rem",
112
- titleSpacing: w = "1rem",
113
- canEditTitle: C = !0,
114
- columns: v = 3,
112
+ padding: m = "1rem 2rem",
113
+ shadow: d,
114
+ spacing: u = "2rem",
115
+ titleSpacing: v = "1rem",
116
+ canEditTitle: I = !0,
117
+ columns: z = 3,
115
118
  styles: Y,
116
119
  width: E = "100%",
117
- loading: I = !1,
118
- titleLoading: z = !1,
119
- onSave: F = () => {
120
+ loading: y = !1,
121
+ titleLoading: S = !1,
122
+ onSave: D = () => {
120
123
  },
121
- onCancel: G = () => {
124
+ onCancel: W = () => {
122
125
  },
123
- onEdit: W = () => {
126
+ onEdit: X = () => {
124
127
  }
125
128
  }) => {
126
- const b = r.reduce((e, i) => ({ ...e, [i.label]: i.value }), { titleValue: a }), [X, g] = B(!1), [p, h] = B(b);
127
- N(() => {
128
- h(b);
129
+ const b = r.reduce((t, i) => ({ ...t, [i.label]: i.value }), { titleValue: a }), [U, g] = T(!1), [c, p] = T(b);
130
+ O(() => {
131
+ p(b);
129
132
  }, [r]);
130
- const U = () => {
131
- W(), g(!0);
132
- }, q = () => {
133
- F(p), g(!1);
133
+ const q = () => {
134
+ X(), g(!0);
134
135
  }, A = () => {
135
- G(), h(b), g(!1);
136
- }, D = (e, i) => {
137
- h((K) => ({ ...K, [e]: i }));
138
- }, H = (e) => {
139
- h((i) => ({ ...i, titleValue: e }));
140
- }, J = Math.ceil(r.length / v), s = 50, y = { width: E, padding: u, shadow: c, styles: Y, isEditing: X }, S = { spacing: V, columns: v, numRows: J };
141
- return /* @__PURE__ */ n(ao, { children: [
142
- /* @__PURE__ */ n(T, { ...y, children: [
143
- /* @__PURE__ */ n(f, { width: "100%", gap: "1rem", justifyContent: "space-between", children: [
144
- /* @__PURE__ */ n(f, { width: "100%", gap: w, alignItems: "center", children: [
145
- t && t,
146
- /* @__PURE__ */ o(M, { size: 36, loading: C && z, children: /* @__PURE__ */ o("h3", { children: a }) })
136
+ D(c), g(!1);
137
+ }, G = () => {
138
+ W(), p(b), g(!1);
139
+ }, H = (t, i) => {
140
+ p((N) => ({ ...N, [t]: i }));
141
+ }, J = (t) => {
142
+ p((i) => ({ ...i, titleValue: t }));
143
+ }, K = Math.ceil(r.length / z), s = 50, k = { width: E, padding: m, shadow: d, styles: Y, isEditing: U }, B = { spacing: u, columns: z, numRows: K }, x = oo();
144
+ return /* @__PURE__ */ n(lo, { children: [
145
+ /* @__PURE__ */ n(V, { ...k, customTheme: x, children: [
146
+ /* @__PURE__ */ n(h, { width: "100%", gap: "1rem", justifyContent: "space-between", children: [
147
+ /* @__PURE__ */ n(h, { width: "100%", gap: v, alignItems: "center", children: [
148
+ e && e,
149
+ /* @__PURE__ */ o(M, { size: 36, loading: I && S, children: /* @__PURE__ */ o("h3", { children: a }) })
147
150
  ] }),
148
151
  /* @__PURE__ */ o(
149
- x,
152
+ $,
150
153
  {
151
154
  title: "Edit",
152
155
  placement: "top",
@@ -162,12 +165,12 @@ const eo = j(/* @__PURE__ */ o("path", {
162
165
  ]
163
166
  }
164
167
  },
165
- children: /* @__PURE__ */ o($, { onClick: U, children: /* @__PURE__ */ o(eo, {}) })
168
+ children: /* @__PURE__ */ o(w, { onClick: q, children: /* @__PURE__ */ o(ro, {}) })
166
169
  }
167
170
  )
168
171
  ] }),
169
- /* @__PURE__ */ o(P, { ...S, children: I ? /* @__PURE__ */ n(k, { children: [
170
- /* @__PURE__ */ o(R, {}),
172
+ /* @__PURE__ */ o(R, { ...B, children: y ? /* @__PURE__ */ n(P, { children: [
173
+ /* @__PURE__ */ o(j, {}),
171
174
  /* @__PURE__ */ o(
172
175
  L,
173
176
  {
@@ -179,22 +182,23 @@ const eo = j(/* @__PURE__ */ o("path", {
179
182
  }
180
183
  }
181
184
  )
182
- ] }) : r == null ? void 0 : r.map((e) => /* @__PURE__ */ o(Q, { ...e }, e.label)) })
185
+ ] }) : r == null ? void 0 : r.map((t) => /* @__PURE__ */ o(Z, { ...t }, t.label)) })
183
186
  ] }),
184
- /* @__PURE__ */ n(no, { ...y, children: [
185
- /* @__PURE__ */ n(f, { width: "100%", justifyContent: "space-between", children: [
186
- /* @__PURE__ */ n(f, { width: "100%", gap: w, alignItems: "center", children: [
187
- t && t,
188
- C ? /* @__PURE__ */ o(M, { size: 36, loading: z, children: /* @__PURE__ */ o(
189
- ro,
187
+ /* @__PURE__ */ n(io, { ...k, customTheme: x, children: [
188
+ /* @__PURE__ */ n(h, { width: "100%", justifyContent: "space-between", children: [
189
+ /* @__PURE__ */ n(h, { width: "100%", gap: v, alignItems: "center", children: [
190
+ e && e,
191
+ I ? /* @__PURE__ */ o(M, { size: 36, loading: S, children: /* @__PURE__ */ o(
192
+ ao,
190
193
  {
191
- onChange: (e) => H(e.target.value),
192
- value: (p == null ? void 0 : p.titleValue) ?? a
194
+ onChange: (t) => J(t.target.value),
195
+ value: (c == null ? void 0 : c.titleValue) ?? a,
196
+ customTheme: x
193
197
  }
194
198
  ) }) : /* @__PURE__ */ o("h3", { children: a })
195
199
  ] }),
196
200
  /* @__PURE__ */ o(
197
- x,
201
+ $,
198
202
  {
199
203
  title: "Cancel",
200
204
  placement: "top",
@@ -210,11 +214,11 @@ const eo = j(/* @__PURE__ */ o("path", {
210
214
  ]
211
215
  }
212
216
  },
213
- children: /* @__PURE__ */ o($, { onClick: A, children: /* @__PURE__ */ o(O, {}) })
217
+ children: /* @__PURE__ */ o(w, { onClick: G, children: /* @__PURE__ */ o(Q, {}) })
214
218
  }
215
219
  ),
216
220
  /* @__PURE__ */ o(
217
- x,
221
+ $,
218
222
  {
219
223
  title: "Save",
220
224
  placement: "top",
@@ -230,12 +234,12 @@ const eo = j(/* @__PURE__ */ o("path", {
230
234
  ]
231
235
  }
232
236
  },
233
- children: /* @__PURE__ */ o($, { onClick: q, children: /* @__PURE__ */ o(to, {}) })
237
+ children: /* @__PURE__ */ o(w, { onClick: A, children: /* @__PURE__ */ o(no, {}) })
234
238
  }
235
239
  )
236
240
  ] }),
237
- /* @__PURE__ */ o(P, { ...S, children: I ? /* @__PURE__ */ n(k, { children: [
238
- /* @__PURE__ */ o(R, {}),
241
+ /* @__PURE__ */ o(R, { ...B, children: y ? /* @__PURE__ */ n(P, { children: [
242
+ /* @__PURE__ */ o(j, {}),
239
243
  /* @__PURE__ */ o(
240
244
  L,
241
245
  {
@@ -247,19 +251,19 @@ const eo = j(/* @__PURE__ */ o("path", {
247
251
  }
248
252
  }
249
253
  )
250
- ] }) : r == null ? void 0 : r.map((e) => /* @__PURE__ */ o(
251
- Z,
254
+ ] }) : r == null ? void 0 : r.map((t) => /* @__PURE__ */ o(
255
+ _,
252
256
  {
253
- label: e.label,
254
- value: p[e.label],
255
- onChange: (i) => D(e.label, i.target.value)
257
+ label: t.label,
258
+ value: c[t.label],
259
+ onChange: (i) => H(t.label, i.target.value)
256
260
  },
257
- e.label
261
+ t.label
258
262
  )) })
259
263
  ] })
260
264
  ] });
261
265
  };
262
266
  export {
263
- vo as EditableInfoCard,
264
- vo as default
267
+ yo as EditableInfoCard,
268
+ yo as default
265
269
  };
@@ -1,10 +1,16 @@
1
1
  import { SerializedStyles } from '@emotion/react';
2
- export declare const FormSection: import('@emotion/styled').StyledComponent<{
2
+ import { CustomThemeProps } from '../../../../../../../../../src/components/theme';
3
+ import { PropsWithChildren, HTMLAttributes } from 'react';
4
+ interface WithCustomTheme {
5
+ customTheme: CustomThemeProps;
6
+ }
7
+ interface FormSectionProps extends HTMLAttributes<HTMLDivElement> {
8
+ }
9
+ export declare const FormSection: React.FC<PropsWithChildren<FormSectionProps>>;
10
+ export declare const FormSectionStyles: import('@emotion/styled').StyledComponent<{
3
11
  theme?: import('@emotion/react').Theme;
4
12
  as?: React.ElementType;
5
- } & {
6
- boxShadow?: string;
7
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
+ } & WithCustomTheme, import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
14
  export declare const FormFieldGrid: import('@emotion/styled').StyledComponent<{
9
15
  theme?: import('@emotion/react').Theme;
10
16
  as?: React.ElementType;
@@ -13,30 +19,31 @@ export declare const FormFieldGrid: import('@emotion/styled').StyledComponent<{
13
19
  columnsOverride?: string;
14
20
  gap?: number;
15
21
  customStyles?: SerializedStyles;
16
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
22
+ }, import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
17
23
  export declare const FormFieldCheckboxContainer: import('@emotion/styled').StyledComponent<{
18
24
  theme?: import('@emotion/react').Theme;
19
25
  as?: React.ElementType;
20
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
26
+ }, import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
21
27
  export declare const FormSectionTitle: import('@emotion/styled').StyledComponent<{
22
28
  theme?: import('@emotion/react').Theme;
23
29
  as?: React.ElementType;
24
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
30
+ }, import('react').DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
25
31
  export declare const FormSubtitle: import('@emotion/styled').StyledComponent<{
26
32
  theme?: import('@emotion/react').Theme;
27
33
  as?: React.ElementType;
28
34
  } & {
29
35
  underlined?: boolean;
30
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
36
+ }, import('react').DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
31
37
  export declare const FormTextLine: import('@emotion/styled').StyledComponent<{
32
38
  theme?: import('@emotion/react').Theme;
33
39
  as?: React.ElementType;
34
40
  } & {
35
41
  underlined?: boolean;
36
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
42
+ }, import('react').DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
37
43
  export declare const FormSubsectionTitle: import('@emotion/styled').StyledComponent<{
38
44
  theme?: import('@emotion/react').Theme;
39
45
  as?: React.ElementType;
40
46
  } & {
41
47
  underlined?: boolean;
42
- }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
48
+ }, import('react').DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
49
+ export {};