@mx-cartographer/experiences 4.2.2-alpha.mega4 → 4.2.2-alpha.mega5
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/Accounts-BpAyGgvu.mjs +319 -0
- package/dist/Accounts-BpAyGgvu.mjs.map +1 -0
- package/dist/BottomImageContent-B9i4ljIR.mjs +48 -0
- package/dist/BottomImageContent-B9i4ljIR.mjs.map +1 -0
- package/dist/Budgets-BqAk2CxJ.mjs +158 -0
- package/dist/Budgets-BqAk2CxJ.mjs.map +1 -0
- package/dist/CashFlow-C9fBzJ9K.mjs +136 -0
- package/dist/CashFlow-C9fBzJ9K.mjs.map +1 -0
- package/dist/ContentItem-8BNxeJdB.mjs +21 -0
- package/dist/ContentItem-8BNxeJdB.mjs.map +1 -0
- package/dist/Goals-BHLELiU3.mjs +272 -0
- package/dist/Goals-BHLELiU3.mjs.map +1 -0
- package/dist/LeftImageContent-YH7WIO7j.mjs +50 -0
- package/dist/LeftImageContent-YH7WIO7j.mjs.map +1 -0
- package/dist/NoImageContent-eBLeuebJ.mjs +15 -0
- package/dist/NoImageContent-eBLeuebJ.mjs.map +1 -0
- package/dist/RightImageContent-ydSgMKls.mjs +48 -0
- package/dist/RightImageContent-ydSgMKls.mjs.map +1 -0
- package/dist/index.es.js +1055 -1029
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as e, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import a from "@mui/material/Box";
|
|
3
|
+
import { P as h, H3 as d } from "@kyper/mui";
|
|
4
|
+
const o = ({ content: t, sx: r }) => /* @__PURE__ */ e(h, { sx: { lineHeight: "24px", py: 6, ...r }, children: t }), u = ({ content: t, sx: r }) => /* @__PURE__ */ e(d, { color: "text.primary", sx: { py: 12, whiteSpace: { sm: "nowrap", xs: "wrap" }, ...r }, children: t }), w = ({
|
|
5
|
+
items: t,
|
|
6
|
+
listType: r = "ul",
|
|
7
|
+
subItemPlacement: i,
|
|
8
|
+
subItems: l = []
|
|
9
|
+
}) => {
|
|
10
|
+
const p = r;
|
|
11
|
+
return /* @__PURE__ */ e(a, { sx: { [r]: { m: 0, p: 0, pl: 16, "& li::marker": { fontSize: 15 } } }, children: /* @__PURE__ */ e(p, { children: t.map((s, n) => /* @__PURE__ */ x("li", { children: [
|
|
12
|
+
/* @__PURE__ */ e(o, { content: s, sx: { py: 1 } }),
|
|
13
|
+
i === n ? /* @__PURE__ */ e("ol", { type: "a", children: l.map((c, m) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(o, { content: c, sx: { py: 1 } }) }, m)) }) : null
|
|
14
|
+
] }, n)) }) });
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
w as L,
|
|
18
|
+
u as S,
|
|
19
|
+
o as T
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=ContentItem-8BNxeJdB.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentItem-8BNxeJdB.mjs","sources":["../src/help/components/content/ContentItem.tsx"],"sourcesContent":["import Box from '@mui/material/Box'\nimport { H3, P } from '@kyper/mui'\n\nimport { ListProps, SectionTitleProps, TextProps } from '../../../common/types/Help'\n\nexport const Text: React.FC<TextProps> = ({ content, sx }) => (\n <P sx={{ lineHeight: '24px', py: 6, ...sx }}>{content}</P>\n)\n\nexport const SectionTitle: React.FC<SectionTitleProps> = ({ content, sx }) => (\n <H3 color=\"text.primary\" sx={{ py: 12, whiteSpace: { sm: 'nowrap', xs: 'wrap' }, ...sx }}>\n {content}\n </H3>\n)\n\nexport const List: React.FC<ListProps> = ({\n items,\n listType = 'ul',\n subItemPlacement,\n subItems = [],\n}) => {\n const Element = listType\n return (\n <Box sx={{ [listType]: { m: 0, p: 0, pl: 16, '& li::marker': { fontSize: 15 } } }}>\n <Element>\n {items.map((elm, i) => (\n <li key={i}>\n <Text content={elm} sx={{ py: 1 }} />\n {subItemPlacement === i ? (\n <ol type=\"a\">\n {subItems.map((subElm, index) => (\n <li key={index}>\n <Text content={subElm} sx={{ py: 1 }} />\n </li>\n ))}\n </ol>\n ) : null}\n </li>\n ))}\n </Element>\n </Box>\n )\n}\n"],"names":["Text","content","sx","jsx","P","SectionTitle","H3","List","items","listType","subItemPlacement","subItems","Element","Box","elm","i","subElm","index"],"mappings":";;;AAKO,MAAMA,IAA4B,CAAC,EAAE,SAAAC,GAAS,IAAAC,QAClD,gBAAAC,EAAAC,GAAA,EAAE,IAAI,EAAE,YAAY,QAAQ,IAAI,GAAG,GAAGF,KAAO,UAAQD,GAAA,GAG3CI,IAA4C,CAAC,EAAE,SAAAJ,GAAS,IAAAC,QAClE,gBAAAC,EAAAG,GAAA,EAAG,OAAM,gBAAe,IAAI,EAAE,IAAI,IAAI,YAAY,EAAE,IAAI,UAAU,IAAI,OAAU,GAAA,GAAGJ,EAAG,GACpF,UACHD,EAAA,CAAA,GAGWM,IAA4B,CAAC;AAAA,EACxC,OAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,kBAAAC;AAAA,EACA,UAAAC,IAAW,CAAC;AACd,MAAM;AACJ,QAAMC,IAAUH;AAChB,SACG,gBAAAN,EAAAU,GAAA,EAAI,IAAI,EAAE,CAACJ,CAAQ,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,IAAI,IAAI,gBAAgB,EAAE,UAAU,GAAK,EAAA,EAC5E,GAAA,UAAA,gBAAAN,EAACS,GACE,EAAA,UAAAJ,EAAM,IAAI,CAACM,GAAKC,wBACd,MACC,EAAA,UAAA;AAAA,IAAA,gBAAAZ,EAACH,KAAK,SAASc,GAAK,IAAI,EAAE,IAAI,KAAK;AAAA,IAClCJ,MAAqBK,IACpB,gBAAAZ,EAAC,MAAG,EAAA,MAAK,KACN,UAAAQ,EAAS,IAAI,CAACK,GAAQC,MACpB,gBAAAd,EAAA,MAAA,EACC,4BAACH,GAAK,EAAA,SAASgB,GAAQ,IAAI,EAAE,IAAI,EAAE,EAAG,CAAA,EAD/B,GAAAC,CAET,CACD,EAAA,CACH,IACE;AAAA,EAVG,EAAA,GAAAF,CAWT,CACD,EACH,CAAA,EACF,CAAA;AAEJ;"}
|