@foodpilot/foods 2.11.31 → 2.11.33
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/assets/pages_functions/Attachement.svg.js +7 -0
- package/dist/assets/pages_functions/Attachement.svg2.js +4 -0
- package/dist/assets/pages_functions/Details.svg2.js +2 -2
- package/dist/assets/pages_functions/Done.svg2.js +2 -2
- package/dist/assets/pages_functions/Format_list_numbered.svg2.js +2 -2
- package/dist/assets/pages_functions/In progress.svg2.js +2 -2
- package/dist/assets/pages_functions/Note.svg2.js +2 -2
- package/dist/assets/pages_functions/Notes.svg2.js +2 -2
- package/dist/assets/pages_functions/Questionnaire answer.svg2.js +2 -2
- package/dist/assets/pages_functions/Rules.svg2.js +2 -2
- package/dist/assets/pages_functions/Suggestions.svg.js +2 -2
- package/dist/assets/pages_functions/Support.svg2.js +2 -2
- package/dist/assets/pages_functions/Target.svg2.js +2 -2
- package/dist/assets/pages_functions/Uncomplete questionnaire.svg2.js +2 -2
- package/dist/assets/pages_functions/graph.svg2.js +2 -2
- package/dist/assets/pages_functions/tag Comment.svg.js +5 -0
- package/dist/assets/pages_functions/tag Comment.svg2.js +4 -0
- package/dist/assets/pages_functions/waterfall graph.svg2.js +2 -2
- package/dist/components/Icons/iconConfig.d.ts +6 -0
- package/dist/components/Icons/iconConfig.js +5 -1
- package/dist/components/RichTextEditor/toolbar/IconSelector.js +32 -28
- package/dist/main.js +2 -1
- package/dist/themes/common/MUIComponents/typography.d.ts +2 -1
- package/dist/themes/common/MUIComponents/typography.js +311 -195
- package/dist/themes/common/components.js +3 -47
- package/package.json +5 -5
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgAttachement = (props) => /* @__PURE__ */ React.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("mask", { id: "mask0_12899_22084", style: {
|
|
3
|
+
maskType: "alpha"
|
|
4
|
+
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 40, height: 40 }, /* @__PURE__ */ React.createElement("rect", { width: 40, height: 40, fill: "#D9D9D9" })), /* @__PURE__ */ React.createElement("g", { mask: "url(#mask0_12899_22084)" }, /* @__PURE__ */ React.createElement("path", { d: "M30.6689 26.3749C30.6689 29.2646 29.6525 31.7116 27.6197 33.7157C25.5869 35.7199 23.1264 36.722 20.238 36.722C17.3372 36.722 14.8789 35.7203 12.863 33.717C10.8469 31.7137 9.83887 29.2663 9.83887 26.3749V10.6324C9.83887 8.57103 10.5582 6.82992 11.9968 5.40908C13.4357 3.98825 15.1822 3.27783 17.2364 3.27783C19.2908 3.27783 21.0407 3.98825 22.4859 5.40908C23.9312 6.82992 24.6539 8.57103 24.6539 10.6324V25.6432C24.6539 26.8496 24.2273 27.8801 23.3743 28.7345C22.521 29.5887 21.4818 30.0158 20.2568 30.0158C19.0451 30.0158 18.0083 29.5909 17.1464 28.7412C16.2847 27.8912 15.8539 26.8585 15.8539 25.6432V10.9424H18.6285V25.6432C18.6285 26.0969 18.7897 26.4766 19.1122 26.7824C19.4347 27.0885 19.8141 27.2416 20.2505 27.2416C20.6903 27.2416 21.0716 27.0885 21.3947 26.7824C21.7178 26.4766 21.8793 26.0969 21.8793 25.6432V10.6166C21.8829 9.34714 21.4319 8.26908 20.5264 7.38242C19.6211 6.49575 18.5279 6.05242 17.2468 6.05242C15.971 6.05242 14.8797 6.497 13.973 7.38617C13.0666 8.27561 12.6135 9.35769 12.6135 10.6324V26.3749C12.6171 28.491 13.3632 30.2776 14.8518 31.7345C16.3404 33.1914 18.1472 33.9199 20.2722 33.9199C22.3694 33.9199 24.1654 33.1896 25.6601 31.7291C27.1546 30.2685 27.8854 28.4838 27.8526 26.3749V10.0533H30.6689V26.3749Z", fill: "currentColor" })));
|
|
5
|
+
export {
|
|
6
|
+
SvgAttachement as ReactComponent
|
|
7
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const __vite_glob_0_157 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_12899_22084'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='40'%20height='40'%20%3e%3crect%20width='40'%20height='40'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_12899_22084)'%3e%3cpath%20d='M30.6689%2026.3749C30.6689%2029.2646%2029.6525%2031.7116%2027.6197%2033.7157C25.5869%2035.7199%2023.1264%2036.722%2020.238%2036.722C17.3372%2036.722%2014.8789%2035.7203%2012.863%2033.717C10.8469%2031.7137%209.83887%2029.2663%209.83887%2026.3749V10.6324C9.83887%208.57103%2010.5582%206.82992%2011.9968%205.40908C13.4357%203.98825%2015.1822%203.27783%2017.2364%203.27783C19.2908%203.27783%2021.0407%203.98825%2022.4859%205.40908C23.9312%206.82992%2024.6539%208.57103%2024.6539%2010.6324V25.6432C24.6539%2026.8496%2024.2273%2027.8801%2023.3743%2028.7345C22.521%2029.5887%2021.4818%2030.0158%2020.2568%2030.0158C19.0451%2030.0158%2018.0083%2029.5909%2017.1464%2028.7412C16.2847%2027.8912%2015.8539%2026.8585%2015.8539%2025.6432V10.9424H18.6285V25.6432C18.6285%2026.0969%2018.7897%2026.4766%2019.1122%2026.7824C19.4347%2027.0885%2019.8141%2027.2416%2020.2505%2027.2416C20.6903%2027.2416%2021.0716%2027.0885%2021.3947%2026.7824C21.7178%2026.4766%2021.8793%2026.0969%2021.8793%2025.6432V10.6166C21.8829%209.34714%2021.4319%208.26908%2020.5264%207.38242C19.6211%206.49575%2018.5279%206.05242%2017.2468%206.05242C15.971%206.05242%2014.8797%206.497%2013.973%207.38617C13.0666%208.27561%2012.6135%209.35769%2012.6135%2010.6324V26.3749C12.6171%2028.491%2013.3632%2030.2776%2014.8518%2031.7345C16.3404%2033.1914%2018.1472%2033.9199%2020.2722%2033.9199C22.3694%2033.9199%2024.1654%2033.1896%2025.6601%2031.7291C27.1546%2030.2685%2027.8854%2028.4838%2027.8526%2026.3749V10.0533H30.6689V26.3749Z'%20fill='currentColor'%20/%3e%3c/g%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
__vite_glob_0_157 as default
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_158 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M27.5%2033.3333H29.1667V26.6666H27.5V33.3333ZM28.3333%2024.9999C28.5556%2024.9999%2028.75%2024.9166%2028.9167%2024.7499C29.0833%2024.5833%2029.1667%2024.3888%2029.1667%2024.1666C29.1667%2023.9444%2029.0833%2023.7499%2028.9167%2023.5833C28.75%2023.4166%2028.5556%2023.3333%2028.3333%2023.3333C28.1111%2023.3333%2027.9167%2023.4166%2027.75%2023.5833C27.5833%2023.7499%2027.5%2023.9444%2027.5%2024.1666C27.5%2024.3888%2027.5833%2024.5833%2027.75%2024.7499C27.9167%2024.9166%2028.1111%2024.9999%2028.3333%2024.9999ZM11.6667%2023.3333H17.7917C18.0972%2022.6944%2018.4514%2022.0971%2018.8542%2021.5416C19.2569%2020.986%2019.7083%2020.4721%2020.2083%2019.9999H11.6667V23.3333ZM11.6667%2029.9999H16.7917C16.7083%2029.4444%2016.6667%2028.8888%2016.6667%2028.3333C16.6667%2027.7777%2016.7083%2027.2221%2016.7917%2026.6666H11.6667V29.9999ZM8.33333%2036.6666C7.41667%2036.6666%206.63194%2036.3402%205.97917%2035.6874C5.32639%2035.0346%205%2034.2499%205%2033.3333V6.66658C5%205.74992%205.32639%204.9652%205.97917%204.31242C6.63194%203.65964%207.41667%203.33325%208.33333%203.33325H21.6667L31.6667%2013.3333V17.1666C31.1389%2016.9999%2030.5972%2016.8749%2030.0417%2016.7916C29.4861%2016.7083%2028.9167%2016.6666%2028.3333%2016.6666V14.9999H20V6.66658H8.33333V33.3333H17.7917C18.0972%2033.9721%2018.4514%2034.5694%2018.8542%2035.1249C19.2569%2035.6805%2019.7083%2036.1944%2020.2083%2036.6666H8.33333ZM28.3333%2019.9999C30.6389%2019.9999%2032.6042%2020.8124%2034.2292%2022.4374C35.8542%2024.0624%2036.6667%2026.0277%2036.6667%2028.3333C36.6667%2030.6388%2035.8542%2032.6041%2034.2292%2034.2291C32.6042%2035.8541%2030.6389%2036.6666%2028.3333%2036.6666C26.0278%2036.6666%2024.0625%2035.8541%2022.4375%2034.2291C20.8125%2032.6041%2020%2030.6388%2020%2028.3333C20%2026.0277%2020.8125%2024.0624%2022.4375%2022.4374C24.0625%2020.8124%2026.0278%2019.9999%2028.3333%2019.9999Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_158 as default
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_159 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M19.65%2033.3C27.1887%2033.3%2033.3%2027.1887%2033.3%2019.65C33.3%2012.1113%2027.1887%206%2019.65%206C12.1113%206%206%2012.1113%206%2019.65C6%2027.1887%2012.1113%2033.3%2019.65%2033.3ZM19.65%2036.3C28.8455%2036.3%2036.3%2028.8455%2036.3%2019.65C36.3%2010.4545%2028.8455%203%2019.65%203C10.4545%203%203%2010.4545%203%2019.65C3%2028.8455%2010.4545%2036.3%2019.65%2036.3Z'%20fill='currentColor'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M29.1213%2015.1213L17.5343%2026.7083L11%2020.174L13.1213%2018.0526L17.5343%2022.4657L27%2013L29.1213%2015.1213Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_159 as default
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_160 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.1665%2028.3334H7.49984V29.1667H5.83317V30.8334H7.49984V31.6667H4.1665V33.3334H9.1665V26.6667H4.1665V28.3334ZM5.83317%2013.3334H7.49984V6.66675H4.1665V8.33341H5.83317V13.3334ZM4.1665%2018.3334H7.1665L4.1665%2021.8334V23.3334H9.1665V21.6667H6.1665L9.1665%2018.1667V16.6667H4.1665V18.3334ZM12.4998%208.33341V11.6667H35.8332V8.33341H12.4998ZM12.4998%2031.6667H35.8332V28.3334H12.4998V31.6667ZM12.4998%2021.6667H35.8332V18.3334H12.4998V21.6667Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_160 as default
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_161 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.3835%2032.8166C11.8502%2034.8333%2014.9002%2036.1666%2018.2502%2036.5V33.1333C15.8168%2032.8333%2013.6002%2031.8666%2011.7502%2030.4333L9.3835%2032.8166ZM6.70016%2021.5833H3.3335C3.66683%2024.9333%205.00016%2027.9833%207.01683%2030.45L9.40016%2028.0833C7.96683%2026.2333%207.00016%2024.0166%206.70016%2021.5833ZM9.40016%2011.75L7.01683%209.36665C5.00016%2011.8333%203.66683%2014.9%203.3335%2018.2333H6.70016C7.00016%2015.8166%207.96683%2013.6%209.40016%2011.75ZM18.2502%206.69998L18.2502%203.33331C14.9002%203.66664%2011.8502%204.99998%209.3835%207.01665L11.7668%209.39998C13.6002%207.96665%2015.8168%206.99998%2018.2502%206.69998ZM21.5835%206.69998V3.33331C30.0002%204.16665%2036.5835%2011.2667%2036.5835%2019.9167C36.5835%2028.5667%2030.0002%2035.6666%2021.5835%2036.5V33.1333C28.1668%2032.3166%2033.2502%2026.7167%2033.2502%2019.9167C33.2502%2013.1166%2028.1668%207.51665%2021.5835%206.69998Z'%20fill='currentColor'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M29.0611%2015.0606L17.4742%2026.6476L10.9398%2020.1133L13.0611%2017.992L17.4742%2022.405L26.9398%2012.9393L29.0611%2015.0606Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_161 as default
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_162 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_9411_150'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='40'%20height='40'%3e%3crect%20width='40'%20height='40'%20fill='currentColor'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_9411_150)'%3e%3cpath%20d='M11.6665%2033.8888V14.4305C11.6665%2013.6608%2011.9397%2013.0077%2012.4861%2012.4713C13.0322%2011.9349%2013.6896%2011.6667%2014.4582%2011.6667H33.8886C34.6525%2011.6667%2035.3065%2011.9387%2035.8507%2012.4826C36.3946%2013.0267%2036.6665%2013.6808%2036.6665%2014.4447V28.3334L28.3332%2036.6667H14.4444C13.6805%2036.6667%2013.0265%2036.3948%2012.4823%2035.8509C11.9384%2035.3067%2011.6665%2034.6527%2011.6665%2033.8888ZM3.37483%2010.0001C3.22678%209.23146%203.37497%208.54396%203.81941%207.93757C4.26386%207.33118%204.87025%206.95382%205.63858%206.80549L24.8052%203.40299C25.5739%203.25465%2026.2614%203.39813%2026.8677%203.8334C27.4744%204.26868%2027.8518%204.87049%2027.9998%205.63882L28.5832%208.88882H25.7777L25.2915%206.13882L6.13858%209.51382L8.88858%2025.153V31.3334C8.37025%2031.2131%207.91886%2030.9631%207.53441%2030.5834C7.15025%2030.2037%206.90719%2029.7315%206.80525%2029.1667L3.37483%2010.0001ZM14.4444%2014.4447V33.8888H26.8886V26.8888H33.8886V14.4447H14.4444Z'%20fill='currentColor'/%3e%3c/g%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_162 as default
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_163 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.66667%2033.3333H24.1667V24.1667H33.3333V7.66667H7.66667V33.3333ZM7.66667%2037C6.65833%2037%205.79483%2036.6413%205.07617%2035.9238C4.35872%2035.2052%204%2034.3417%204%2033.3333V7.66667C4%206.65833%204.35872%205.79483%205.07617%205.07617C5.79483%204.35872%206.65833%204%207.66667%204H33.3333C34.3417%204%2035.2052%204.35872%2035.9238%205.07617C36.6413%205.79483%2037%206.65833%2037%207.66667V26L26%2037H7.66667ZM11.3333%2024.1667V20.5H20.5V24.1667H11.3333ZM11.3333%2016.8333V13.1667H29.6667V16.8333H11.3333Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_163 as default
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_164 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M%2032.222656%2016%20L%2035%2016%20L%2035%205.300781%20L%2024.304688%205.300781%20C%2024.074219%204.335938%2023.558594%203.546875%2022.757812%202.925781%20C%2021.957031%202.308594%2021.035156%202%2020%202%20C%2018.980469%202%2018.070312%202.308594%2017.265625%202.925781%20C%2016.457031%203.546875%2015.941406%204.335938%2015.707031%205.300781%20L%205%205.300781%20L%205%2035%20L%2017%2035%20L%2017%2032.25%20L%207.777344%2032.25%20L%207.777344%208.050781%20L%2010.554688%208.050781%20L%2010.554688%2012.175781%20L%2029.445312%2012.175781%20L%2029.445312%208.050781%20L%2032.222656%208.050781%20Z%20M%2021.1875%207.574219%20C%2020.867188%207.890625%2020.472656%208.050781%2020%208.050781%20C%2019.527344%208.050781%2019.132812%207.890625%2018.8125%207.574219%20C%2018.492188%207.257812%2018.332031%206.867188%2018.332031%206.398438%20C%2018.332031%205.933594%2018.492188%205.539062%2018.8125%205.222656%20C%2019.132812%204.90625%2019.527344%204.75%2020%204.75%20C%2020.472656%204.75%2020.867188%204.90625%2021.1875%205.222656%20C%2021.507812%205.539062%2021.667969%205.933594%2021.667969%206.398438%20C%2021.667969%206.867188%2021.507812%207.257812%2021.1875%207.574219%20Z%20M%2021.1875%207.574219%20'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M%2021%2032.25%20L%2021%2038%20L%2026.746094%2038%20L%2039%2025.703125%20L%2033.285156%2020%20Z%20M%2025.59375%2035.234375%20L%2023.8125%2035.234375%20L%2023.8125%2033.453125%20L%2029.53125%2027.78125%20L%2030.421875%2028.625%20L%2031.265625%2029.515625%20Z%20M%2025.59375%2035.234375%20'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_164 as default
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_165 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.6665%2035V32.2221H26.6665V35H6.6665ZM15.9719%2026.4167L6.6665%2017.1113L9.77775%2013.9167L19.1665%2023.2221L15.9719%2026.4167ZM26.5553%2015.8333L17.2498%206.44459L20.4444%203.33334L29.7498%2012.6388L26.5553%2015.8333ZM34.7219%2033.3333L12.5832%2011.1946L14.5278%209.25L36.6665%2031.3888L34.7219%2033.3333Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_165 as default
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_166 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.9998%2036.6666C19.259%2036.6666%2018.6016%2036.4885%2018.0278%2036.1321C17.4536%2035.7754%2017.0554%2035.2869%2016.8332%2034.6667H13.6665V25.9446C11.8979%2024.7871%2010.4975%2023.2916%209.46525%2021.4583C8.43275%2019.625%207.9165%2017.6111%207.9165%2015.4166C7.9165%2012.0555%209.09012%209.20137%2011.4373%206.85415C13.7846%204.50692%2016.6387%203.33331%2019.9998%203.33331C23.3609%203.33331%2026.2151%204.50692%2028.5623%206.85415C30.9096%209.20137%2032.0832%2012.0555%2032.0832%2015.4166C32.0832%2017.6297%2031.5669%2019.6482%2030.5344%2021.4721C29.5022%2023.2962%2028.1018%2024.7871%2026.3332%2025.9446V34.6667H23.1665C22.9443%2035.2869%2022.5461%2035.7754%2021.9719%2036.1321C21.398%2036.4885%2020.7407%2036.6666%2019.9998%2036.6666ZM16.4444%2031.8887H23.5553V30.1666H16.4444V31.8887ZM16.4444%2028.5H23.5553V26.8612H16.4444V28.5ZM16.0832%2024.0833H18.9444V18.7779L15.1665%2015L16.6111%2013.5554L19.9998%2016.9446L23.3886%2013.5554L24.8332%2015L21.0553%2018.7779V24.0833H23.9165C25.5276%2023.3241%2026.8286%2022.1644%2027.8194%2020.6041C28.81%2019.0439%2029.3053%2017.3147%2029.3053%2015.4166C29.3053%2012.8055%2028.4072%2010.6018%2026.6111%208.8054C24.8147%207.00929%2022.6109%206.11123%2019.9998%206.11123C17.3887%206.11123%2015.185%207.00929%2013.3886%208.8054C11.5925%2010.6018%2010.6944%2012.8055%2010.6944%2015.4166C10.6944%2017.3147%2011.1897%2019.0439%2012.1803%2020.6041C13.1711%2022.1644%2014.4721%2023.3241%2016.0832%2024.0833Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_166 as default
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_167 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M27.0003%202.92986L9%202.92986V15.8988H11.6V5.52986H24.4003V19.0482L27.0003%2020.0125V13.0193H31.6871V24.0723H34.2871V10.4193H27.0003V2.92986Z'%20fill='currentColor'/%3e%3cpath%20d='M13.8726%209.37341H15.5392V7.70674H13.8726V9.37341Z'%20fill='currentColor'/%3e%3cpath%20d='M17.2059%209.37341H18.8726V7.70674H17.2059V9.37341Z'%20fill='currentColor'/%3e%3cpath%20d='M18.8726%2012.7067H17.2059V11.0401H18.8726V12.7067Z'%20fill='currentColor'/%3e%3cpath%20d='M13.8726%2012.7067H15.5392V11.0401H13.8726V12.7067Z'%20fill='currentColor'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.8054%2033.1986L24.3333%2036.7541L37.5%2032.6986V26.6707H28.8333V23.532L15.5%2018.532H2.5V35.5874H11.8054V33.1986ZM9%2032.8095H5.27792V21.3095H9V32.8095ZM34.6113%2030.6707L24.1946%2033.8653L11.8054%2030.3095V21.3095H15.0279L25.9446%2025.4207V26.6707H22.8196L18%2025.0874L17.0554%2027.7541L22.375%2029.4486H34.6113V30.6707Z'%20fill='currentColor'/%3e%3cpath%20d='M20.5717%209.37341H22.2384V7.70674H20.5717V9.37341Z'%20fill='currentColor'/%3e%3cpath%20d='M22.2384%2012.7067H20.5717V11.0401H22.2384V12.7067Z'%20fill='currentColor'/%3e%3cpath%20d='M18.8726%2015.8988H17.2059V14.2321H18.8726V15.8988Z'%20fill='currentColor'/%3e%3cpath%20d='M13.8726%2015.8988H15.5392V14.2321H13.8726V15.8988Z'%20fill='currentColor'/%3e%3cpath%20d='M22.2384%2015.8988H20.5717V14.2321H22.2384V15.8988Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_167 as default
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_168 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.0311%2038C16.8135%2038%2014.7295%2037.5792%2012.779%2036.7376C10.8285%2035.8959%209.13191%2034.7537%207.68911%2033.3109C6.24631%2031.8681%205.10409%2030.1715%204.26245%2028.221C3.42082%2026.2706%203%2024.1865%203%2021.9689C3%2019.7512%203.42082%2017.6672%204.26245%2015.7167C5.10409%2013.7663%206.24631%2012.0697%207.68911%2010.6269C9.13191%209.18405%2010.8285%208.04183%2012.779%207.2002C14.7295%206.35856%2016.8135%205.93774%2019.0311%205.93774C21.2488%205.93774%2023.3328%206.35856%2025.2833%207.2002C27.2337%208.04183%2028.9304%209.18405%2030.3732%2010.6269C31.816%2012.0697%2032.9582%2013.7663%2033.7998%2015.7167C34.6415%2017.6672%2035.0623%2019.7512%2035.0623%2021.9689C35.0623%2024.1865%2034.6415%2026.2706%2033.7998%2028.221C32.9582%2030.1715%2031.816%2031.8681%2030.3732%2033.3109C28.9304%2034.7537%2027.2337%2035.8959%2025.2833%2036.7376C23.3328%2037.5792%2021.2488%2038%2019.0311%2038ZM19.0311%2034.7938C22.6114%2034.7938%2025.644%2033.5514%2028.1288%2031.0666C30.6136%2028.5817%2031.8561%2025.5492%2031.8561%2021.9689C31.8561%2018.3886%2030.6136%2015.356%2028.1288%2012.8712C25.644%2010.3864%2022.6114%209.14397%2019.0311%209.14397C15.4509%209.14397%2012.4183%2010.3864%209.93347%2012.8712C7.44864%2015.356%206.20623%2018.3886%206.20623%2021.9689C6.20623%2025.5492%207.44864%2028.5817%209.93347%2031.0666C12.4183%2033.5514%2015.4509%2034.7938%2019.0311%2034.7938ZM19.0311%2031.5876C16.3593%2031.5876%2014.0882%2030.6524%2012.2179%2028.7821C10.3476%2026.9118%209.41246%2024.6407%209.41246%2021.9689C9.41246%2019.297%2010.3476%2017.026%2012.2179%2015.1557C14.0882%2013.2854%2016.3593%2012.3502%2019.0311%2012.3502C21.703%2012.3502%2023.9741%2013.2854%2025.8444%2015.1557C27.7147%2017.026%2028.6498%2019.297%2028.6498%2021.9689C28.6498%2024.6407%2027.7147%2026.9118%2025.8444%2028.7821C23.9741%2030.6524%2021.703%2031.5876%2019.0311%2031.5876ZM19.0311%2028.3813C20.7946%2028.3813%2022.3042%2027.7535%2023.5599%2026.4977C24.8157%2025.2419%2025.4436%2023.7323%2025.4436%2021.9689C25.4436%2020.2055%2024.8157%2018.6959%2023.5599%2017.4401C22.3042%2016.1843%2020.7946%2015.5564%2019.0311%2015.5564C17.2677%2015.5564%2015.7581%2016.1843%2014.5023%2017.4401C13.2466%2018.6959%2012.6187%2020.2055%2012.6187%2021.9689C12.6187%2023.7323%2013.2466%2025.2419%2014.5023%2026.4977C15.7581%2027.7535%2017.2677%2028.3813%2019.0311%2028.3813ZM19.0311%2025.1751C18.1494%2025.1751%2017.3946%2024.8612%2016.7667%2024.2333C16.1389%2023.6054%2015.8249%2022.8506%2015.8249%2021.9689C15.8249%2021.0872%2016.1389%2020.3324%2016.7667%2019.7045C17.3946%2019.0766%2018.1494%2018.7627%2019.0311%2018.7627C19.9129%2018.7627%2020.6677%2019.0766%2021.2955%2019.7045C21.9234%2020.3324%2022.2374%2021.0872%2022.2374%2021.9689C22.2374%2022.8506%2021.9234%2023.6054%2021.2955%2024.2333C20.6677%2024.8612%2019.9129%2025.1751%2019.0311%2025.1751Z'%20fill='currentColor'/%3e%3cline%20x1='19.2474'%20y1='21.4734'%20x2='32.0723'%20y2='5.90033'%20stroke='currentColor'%20stroke-width='3'/%3e%3cpath%20d='M31.3671%201.00008L32.8145%205.10599L28.7231%2010.0436L27.2758%205.93772L31.3671%201.00008Z'%20fill='currentColor'/%3e%3cpath%20d='M32.7721%2010.5182L28.7233%2010.0438L32.8147%205.10617L36.8635%205.58054L32.7721%2010.5182Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_168 as default
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_169 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5%205.00008V35.0001H20.6529C20.4407%2034.5806%2020.2581%2034.1379%2020.105%2033.6717C19.9517%2033.2054%2019.824%2032.7222%2019.7221%2032.2222H7.77792V7.778H32.2221V19.7084C32.6943%2019.7917%2033.1665%2019.9098%2033.6388%2020.0626C34.111%2020.2154%2034.5647%2020.4074%2035%2020.6388V5.00008H24.1946C23.9815%204.01869%2023.4838%203.21772%2022.7013%202.59717C21.919%201.97689%2021.0186%201.66675%2020%201.66675C18.9814%201.66675%2018.081%201.97689%2017.2988%202.59717C16.5163%203.21772%2016.0185%204.01869%2015.8054%205.00008H5ZM20.9792%206.47925C20.7061%206.7523%2020.3797%206.88883%2020%206.88883C19.6203%206.88883%2019.2939%206.7523%2019.0208%206.47925C18.7478%206.20619%2018.6113%205.8798%2018.6113%205.50008C18.6113%205.12036%2018.7478%204.79397%2019.0208%204.52091C19.2939%204.24786%2019.6203%204.11133%2020%204.11133C20.3797%204.11133%2020.7061%204.24786%2020.9792%204.52091C21.2522%204.79397%2021.3888%205.12036%2021.3888%205.50008C21.3888%205.8798%2021.2522%206.20619%2020.9792%206.47925Z'%20fill='currentColor'/%3e%3cpath%20d='M19.7917%2028.3334H11.6667V25.5555H20.7363C20.514%2025.9908%2020.3265%2026.4399%2020.1738%2026.903C20.021%2027.3658%2019.8936%2027.8426%2019.7917%2028.3334Z'%20fill='currentColor'/%3e%3cpath%20d='M24.6113%2021.3888H11.6667V18.6113H28.3333V19.7638C27.6203%2019.9027%2026.9606%2020.1065%2026.3542%2020.3751C25.7478%2020.6437%2025.1668%2020.9816%2024.6113%2021.3888Z'%20fill='currentColor'/%3e%3cpath%20d='M28.3333%2014.4447H11.6667V11.6667H28.3333V14.4447Z'%20fill='currentColor'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M24.7013%2035.9513C26.2616%2037.5208%2028.1436%2038.3055%2030.3472%2038.3055C32.5511%2038.3055%2034.4377%2037.5208%2036.0072%2035.9513C37.5766%2034.3819%2038.3613%2032.5092%2038.3613%2030.3334C38.3613%2028.1123%2037.5766%2026.2191%2036.0072%2024.6538C34.4377%2023.0883%2032.5558%2022.3055%2030.3613%2022.3055C28.148%2022.3055%2026.2613%2023.0883%2024.7013%2024.6538C23.1413%2026.2191%2022.3613%2028.1123%2022.3613%2030.3334C22.3613%2032.5092%2023.1413%2034.3819%2024.7013%2035.9513ZM27.26%2034.5311L26.2191%2033.4902L29.3619%2030.3474L26.2191%2027.2046L27.26%2026.1637L30.4028%2029.3065L33.5456%2026.1637L34.5865%2027.2046L31.4438%2030.3474L34.5865%2033.4902L33.5456%2034.5311L30.4028%2031.3883L27.26%2034.5311Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_169 as default
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_170 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5%2037V24.625H11.1875V37H5ZM17.375%2037V14.3125H23.5625V37H17.375ZM29.75%2037V4H35.9375V37H29.75Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_170 as default
|
|
4
4
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgTagComment = (props) => /* @__PURE__ */ React.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M36.6668 36.6666L30.0002 29.9999H6.11141C5.36141 29.9999 4.71086 29.7245 4.15975 29.1737C3.60891 28.6226 3.3335 27.972 3.3335 27.222V6.11117C3.3335 5.36117 3.60891 4.71061 4.15975 4.1595C4.71086 3.60867 5.36141 3.33325 6.11141 3.33325H33.8889C34.6389 3.33325 35.2895 3.60867 35.8406 4.1595C36.3914 4.71061 36.6668 5.36117 36.6668 6.11117V36.6666ZM6.11141 27.222H31.1947L33.8889 30.0695V6.11117H6.11141V27.222Z", fill: "currentColor" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgTagComment as ReactComponent
|
|
5
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const __vite_glob_0_171 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M36.6668%2036.6666L30.0002%2029.9999H6.11141C5.36141%2029.9999%204.71086%2029.7245%204.15975%2029.1737C3.60891%2028.6226%203.3335%2027.972%203.3335%2027.222V6.11117C3.3335%205.36117%203.60891%204.71061%204.15975%204.1595C4.71086%203.60867%205.36141%203.33325%206.11141%203.33325H33.8889C34.6389%203.33325%2035.2895%203.60867%2035.8406%204.1595C36.3914%204.71061%2036.6668%205.36117%2036.6668%206.11117V36.6666ZM6.11141%2027.222H31.1947L33.8889%2030.0695V6.11117H6.11141V27.222Z'%20fill='currentColor'%20/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
__vite_glob_0_171 as default
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const __vite_glob_0_172 = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5%2038V3H13.0162V38H5ZM28.798%2038V16.5484H36V38H28.798Z'%20fill='currentColor'/%3e%3cpath%20d='M17.3374%2016.5484V3H25.5414V16.5484H17.3374Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
__vite_glob_0_172 as default
|
|
4
4
|
};
|
|
@@ -513,6 +513,12 @@ export declare const iconMapping: {
|
|
|
513
513
|
readonly formatNumberedList: FunctionComponent< SVGProps<SVGSVGElement> & {
|
|
514
514
|
title?: string;
|
|
515
515
|
}>;
|
|
516
|
+
readonly attachment: FunctionComponent< SVGProps<SVGSVGElement> & {
|
|
517
|
+
title?: string;
|
|
518
|
+
}>;
|
|
519
|
+
readonly tagComment: FunctionComponent< SVGProps<SVGSVGElement> & {
|
|
520
|
+
title?: string;
|
|
521
|
+
}>;
|
|
516
522
|
};
|
|
517
523
|
export type WidthHeight = {
|
|
518
524
|
width: number;
|
|
@@ -169,6 +169,8 @@ import { ReactComponent as SvgTarget } from "../../assets/pages_functions/Target
|
|
|
169
169
|
import { ReactComponent as SvgUncompleteQuestionnaire } from "../../assets/pages_functions/Uncomplete questionnaire.svg.js";
|
|
170
170
|
import { ReactComponent as SvgWaterfallGraph } from "../../assets/pages_functions/waterfall graph.svg.js";
|
|
171
171
|
import { ReactComponent as SvgFormatListNumbered } from "../../assets/pages_functions/Format_list_numbered.svg.js";
|
|
172
|
+
import { ReactComponent as SvgAttachement } from "../../assets/pages_functions/Attachement.svg.js";
|
|
173
|
+
import { ReactComponent as SvgTagComment } from "../../assets/pages_functions/tag Comment.svg.js";
|
|
172
174
|
const iconMapping = {
|
|
173
175
|
// Default icon -- can be used as placeholder
|
|
174
176
|
default: SvgDefault,
|
|
@@ -344,7 +346,9 @@ const iconMapping = {
|
|
|
344
346
|
target: SvgTarget,
|
|
345
347
|
uncompleteQuestionnaire: SvgUncompleteQuestionnaire,
|
|
346
348
|
waterfall: SvgWaterfallGraph,
|
|
347
|
-
formatNumberedList: SvgFormatListNumbered
|
|
349
|
+
formatNumberedList: SvgFormatListNumbered,
|
|
350
|
+
attachment: SvgAttachement,
|
|
351
|
+
tagComment: SvgTagComment
|
|
348
352
|
};
|
|
349
353
|
const computeSize = (size) => {
|
|
350
354
|
const baseSize = 12;
|
|
@@ -155,20 +155,22 @@ import __vite_glob_0_153 from "../../../assets/pages_functions/Add file.svg2.js"
|
|
|
155
155
|
import __vite_glob_0_154 from "../../../assets/pages_functions/All features.svg2.js";
|
|
156
156
|
import __vite_glob_0_155 from "../../../assets/pages_functions/Arrow down right.svg2.js";
|
|
157
157
|
import __vite_glob_0_156 from "../../../assets/pages_functions/Arrow up right.svg2.js";
|
|
158
|
-
import __vite_glob_0_157 from "../../../assets/pages_functions/
|
|
159
|
-
import __vite_glob_0_158 from "../../../assets/pages_functions/
|
|
160
|
-
import __vite_glob_0_159 from "../../../assets/pages_functions/
|
|
161
|
-
import __vite_glob_0_160 from "../../../assets/pages_functions/
|
|
162
|
-
import __vite_glob_0_161 from "../../../assets/pages_functions/
|
|
163
|
-
import __vite_glob_0_162 from "../../../assets/pages_functions/
|
|
164
|
-
import __vite_glob_0_163 from "../../../assets/pages_functions/
|
|
165
|
-
import __vite_glob_0_164 from "../../../assets/pages_functions/
|
|
166
|
-
import __vite_glob_0_165 from "../../../assets/pages_functions/
|
|
167
|
-
import __vite_glob_0_166 from "../../../assets/pages_functions/
|
|
168
|
-
import __vite_glob_0_167 from "../../../assets/pages_functions/
|
|
169
|
-
import __vite_glob_0_168 from "../../../assets/pages_functions/
|
|
170
|
-
import __vite_glob_0_169 from "../../../assets/pages_functions/
|
|
171
|
-
import __vite_glob_0_170 from "../../../assets/pages_functions/
|
|
158
|
+
import __vite_glob_0_157 from "../../../assets/pages_functions/Attachement.svg2.js";
|
|
159
|
+
import __vite_glob_0_158 from "../../../assets/pages_functions/Details.svg2.js";
|
|
160
|
+
import __vite_glob_0_159 from "../../../assets/pages_functions/Done.svg2.js";
|
|
161
|
+
import __vite_glob_0_160 from "../../../assets/pages_functions/Format_list_numbered.svg2.js";
|
|
162
|
+
import __vite_glob_0_161 from "../../../assets/pages_functions/In progress.svg2.js";
|
|
163
|
+
import __vite_glob_0_162 from "../../../assets/pages_functions/Note.svg2.js";
|
|
164
|
+
import __vite_glob_0_163 from "../../../assets/pages_functions/Notes.svg2.js";
|
|
165
|
+
import __vite_glob_0_164 from "../../../assets/pages_functions/Questionnaire answer.svg2.js";
|
|
166
|
+
import __vite_glob_0_165 from "../../../assets/pages_functions/Rules.svg2.js";
|
|
167
|
+
import __vite_glob_0_166 from "../../../assets/pages_functions/Suggestions.svg.js";
|
|
168
|
+
import __vite_glob_0_167 from "../../../assets/pages_functions/Support.svg2.js";
|
|
169
|
+
import __vite_glob_0_168 from "../../../assets/pages_functions/Target.svg2.js";
|
|
170
|
+
import __vite_glob_0_169 from "../../../assets/pages_functions/Uncomplete questionnaire.svg2.js";
|
|
171
|
+
import __vite_glob_0_170 from "../../../assets/pages_functions/graph.svg2.js";
|
|
172
|
+
import __vite_glob_0_171 from "../../../assets/pages_functions/tag Comment.svg2.js";
|
|
173
|
+
import __vite_glob_0_172 from "../../../assets/pages_functions/waterfall graph.svg2.js";
|
|
172
174
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
173
175
|
import { useState, useEffect } from "react";
|
|
174
176
|
import { useTheme, Menu, MenuList, MenuItem, ListItemText, ListItemIcon, Typography } from "@mui/material";
|
|
@@ -338,20 +340,22 @@ function IconSelector({ editor }) {
|
|
|
338
340
|
"../../../assets/pages_functions/All features.svg": __vite_glob_0_154,
|
|
339
341
|
"../../../assets/pages_functions/Arrow down right.svg": __vite_glob_0_155,
|
|
340
342
|
"../../../assets/pages_functions/Arrow up right.svg": __vite_glob_0_156,
|
|
341
|
-
"../../../assets/pages_functions/
|
|
342
|
-
"../../../assets/pages_functions/
|
|
343
|
-
"../../../assets/pages_functions/
|
|
344
|
-
"../../../assets/pages_functions/
|
|
345
|
-
"../../../assets/pages_functions/
|
|
346
|
-
"../../../assets/pages_functions/
|
|
347
|
-
"../../../assets/pages_functions/
|
|
348
|
-
"../../../assets/pages_functions/
|
|
349
|
-
"../../../assets/pages_functions/
|
|
350
|
-
"../../../assets/pages_functions/
|
|
351
|
-
"../../../assets/pages_functions/
|
|
352
|
-
"../../../assets/pages_functions/
|
|
353
|
-
"../../../assets/pages_functions/
|
|
354
|
-
"../../../assets/pages_functions/
|
|
343
|
+
"../../../assets/pages_functions/Attachement.svg": __vite_glob_0_157,
|
|
344
|
+
"../../../assets/pages_functions/Details.svg": __vite_glob_0_158,
|
|
345
|
+
"../../../assets/pages_functions/Done.svg": __vite_glob_0_159,
|
|
346
|
+
"../../../assets/pages_functions/Format_list_numbered.svg": __vite_glob_0_160,
|
|
347
|
+
"../../../assets/pages_functions/In progress.svg": __vite_glob_0_161,
|
|
348
|
+
"../../../assets/pages_functions/Note.svg": __vite_glob_0_162,
|
|
349
|
+
"../../../assets/pages_functions/Notes.svg": __vite_glob_0_163,
|
|
350
|
+
"../../../assets/pages_functions/Questionnaire answer.svg": __vite_glob_0_164,
|
|
351
|
+
"../../../assets/pages_functions/Rules.svg": __vite_glob_0_165,
|
|
352
|
+
"../../../assets/pages_functions/Suggestions.svg": __vite_glob_0_166,
|
|
353
|
+
"../../../assets/pages_functions/Support.svg": __vite_glob_0_167,
|
|
354
|
+
"../../../assets/pages_functions/Target.svg": __vite_glob_0_168,
|
|
355
|
+
"../../../assets/pages_functions/Uncomplete questionnaire.svg": __vite_glob_0_169,
|
|
356
|
+
"../../../assets/pages_functions/graph.svg": __vite_glob_0_170,
|
|
357
|
+
"../../../assets/pages_functions/tag Comment.svg": __vite_glob_0_171,
|
|
358
|
+
"../../../assets/pages_functions/waterfall graph.svg": __vite_glob_0_172
|
|
355
359
|
});
|
|
356
360
|
const iconList = Object.entries(iconModules).map(([path, url]) => {
|
|
357
361
|
var _a;
|
package/dist/main.js
CHANGED
|
@@ -141,7 +141,7 @@ import { Textarea } from "./components/Textarea/Textarea.js";
|
|
|
141
141
|
import { ToggleSwitch } from "./components/ToggleSwitch/ToggleSwitch.js";
|
|
142
142
|
import { FoodsTooltip } from "./components/Tooltip/FoodsTooltip.js";
|
|
143
143
|
import { FoodsTreeview } from "./components/Treeview/Treeview.js";
|
|
144
|
-
import { allTypographyVariants, typographyConfig } from "./themes/common/MUIComponents/typography.js";
|
|
144
|
+
import { allTypographyVariants, deprecatedVariants, typographyConfig } from "./themes/common/MUIComponents/typography.js";
|
|
145
145
|
import { allColors, allMainColors, dataVisualizationColors, extraColors, greenTheme, greyTheme, orangeTheme, redTheme, shadows, yellowTheme } from "./themes/common/colors.js";
|
|
146
146
|
import { components } from "./themes/common/components.js";
|
|
147
147
|
import { custom, numbers } from "./themes/common/custom.js";
|
|
@@ -321,6 +321,7 @@ export {
|
|
|
321
321
|
computeSize,
|
|
322
322
|
custom,
|
|
323
323
|
dataVisualizationColors,
|
|
324
|
+
deprecatedVariants,
|
|
324
325
|
extraColors,
|
|
325
326
|
getThemeLogo,
|
|
326
327
|
greenTheme,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ThemeOptions } from '@mui/material';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const deprecatedVariants: readonly ["small", "body", "big", "huge", "number-huge"];
|
|
3
|
+
export declare const allTypographyVariants: readonly ["small", "body", "big", "huge", "number-huge", "h1", "h2", "h3", "h4", "h5", "h6", "small-regular", "small-medium", "small-semibold", "small-bold", "body-regular", "body-medium", "body-semibold", "body-bold", "big-regular", "big-medium", "big-semibold", "big-bold", "huge-regular", "huge-medium", "huge-semibold", "huge-bold", "cta", "number-big", "number-inter", "number-small", "number-micro"];
|
|
3
4
|
export type customTypographyVariants = (typeof allTypographyVariants)[number];
|
|
4
5
|
type TypographyNewVariants = Record<customTypographyVariants, React.CSSProperties>;
|
|
5
6
|
type TypographyPropsNewVariants = Record<customTypographyVariants, true>;
|
|
@@ -1,216 +1,332 @@
|
|
|
1
1
|
import { greyTheme } from "../colors.js";
|
|
2
|
+
const deprecatedVariants = ["small", "body", "big", "huge", "number-huge"];
|
|
2
3
|
const allTypographyVariants = [
|
|
4
|
+
// Legacy, but I duplicate them to avoid breaking changes
|
|
5
|
+
...deprecatedVariants,
|
|
3
6
|
"h1",
|
|
4
7
|
"h2",
|
|
5
8
|
"h3",
|
|
6
9
|
"h4",
|
|
7
10
|
"h5",
|
|
8
11
|
"h6",
|
|
9
|
-
"
|
|
10
|
-
"huge-medium",
|
|
11
|
-
"huge",
|
|
12
|
-
"big-bold",
|
|
13
|
-
"big-medium",
|
|
14
|
-
"big",
|
|
15
|
-
"body-bold",
|
|
16
|
-
"body-medium",
|
|
17
|
-
"body",
|
|
18
|
-
"small-bold",
|
|
12
|
+
"small-regular",
|
|
19
13
|
"small-medium",
|
|
20
|
-
"small",
|
|
14
|
+
"small-semibold",
|
|
15
|
+
"small-bold",
|
|
16
|
+
"body-regular",
|
|
17
|
+
"body-medium",
|
|
18
|
+
"body-semibold",
|
|
19
|
+
"body-bold",
|
|
20
|
+
"big-regular",
|
|
21
|
+
"big-medium",
|
|
22
|
+
"big-semibold",
|
|
23
|
+
"big-bold",
|
|
24
|
+
"huge-regular",
|
|
25
|
+
"huge-medium",
|
|
26
|
+
"huge-semibold",
|
|
27
|
+
"huge-bold",
|
|
21
28
|
"cta",
|
|
22
|
-
"number-huge",
|
|
23
29
|
"number-big",
|
|
24
30
|
"number-inter",
|
|
25
31
|
"number-small",
|
|
26
32
|
"number-micro"
|
|
27
33
|
];
|
|
28
|
-
const typographyConfig = (_palette) =>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
fontWeight: "700",
|
|
34
|
+
const typographyConfig = (_palette) => {
|
|
35
|
+
const defaultOption = {
|
|
36
|
+
// I am thinking we may want to use `color: inherit` or something like that.
|
|
37
|
+
// Still unsure
|
|
38
|
+
color: greyTheme[2800],
|
|
39
|
+
fontStyle: "normal"
|
|
40
|
+
};
|
|
41
|
+
const smallDefaults = {
|
|
42
|
+
fontSize: "0.75rem",
|
|
43
|
+
lineHeight: "160%",
|
|
44
|
+
letterSpacing: "0%",
|
|
45
|
+
"@media (max-width:1200px)": {
|
|
46
|
+
fontSize: "0.6rem",
|
|
47
|
+
lineHeight: "160%"
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
const smallFonts = {
|
|
51
|
+
small: {
|
|
52
|
+
...defaultOption,
|
|
53
|
+
...smallDefaults,
|
|
54
|
+
fontWeight: 400
|
|
55
|
+
},
|
|
56
|
+
"small-regular": {
|
|
57
|
+
...defaultOption,
|
|
58
|
+
...smallDefaults,
|
|
59
|
+
fontWeight: 400
|
|
60
|
+
},
|
|
61
|
+
"small-medium": {
|
|
62
|
+
...defaultOption,
|
|
63
|
+
...smallDefaults,
|
|
64
|
+
fontWeight: 500
|
|
65
|
+
},
|
|
66
|
+
"small-semibold": {
|
|
67
|
+
...defaultOption,
|
|
68
|
+
...smallDefaults,
|
|
69
|
+
fontWeight: 600
|
|
70
|
+
},
|
|
71
|
+
"small-bold": {
|
|
72
|
+
...defaultOption,
|
|
73
|
+
...smallDefaults,
|
|
74
|
+
fontWeight: 700
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
const bodyDefaults = {
|
|
73
78
|
fontSize: "0.875rem",
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
fontWeight: "500",
|
|
110
|
-
fontSize: "1rem",
|
|
111
|
-
// 16px
|
|
112
|
-
lineHeight: "1.8rem",
|
|
113
|
-
color: greyTheme[2800]
|
|
114
|
-
},
|
|
115
|
-
big: {
|
|
116
|
-
fontStyle: "normal",
|
|
117
|
-
fontWeight: "400",
|
|
118
|
-
fontSize: "1rem",
|
|
119
|
-
// 16px
|
|
120
|
-
lineHeight: "1.8rem",
|
|
121
|
-
color: greyTheme[2800]
|
|
122
|
-
},
|
|
123
|
-
"body-bold": {
|
|
124
|
-
fontStyle: "bold",
|
|
125
|
-
fontWeight: "600",
|
|
126
|
-
fontSize: "1rem",
|
|
127
|
-
// 16px
|
|
128
|
-
lineHeight: "1.8rem",
|
|
129
|
-
color: greyTheme[2800]
|
|
130
|
-
},
|
|
131
|
-
"body-medium": {
|
|
132
|
-
fontStyle: "normal",
|
|
133
|
-
fontWeight: "500",
|
|
134
|
-
fontSize: "1rem",
|
|
135
|
-
// 16px
|
|
136
|
-
lineHeight: "1.8rem",
|
|
137
|
-
color: greyTheme[2800]
|
|
138
|
-
},
|
|
139
|
-
body: {
|
|
140
|
-
fontStyle: "normal",
|
|
141
|
-
fontWeight: "400",
|
|
79
|
+
lineHeight: "160%",
|
|
80
|
+
letterSpacing: "0%",
|
|
81
|
+
"@media (max-width:1200px)": {
|
|
82
|
+
fontSize: "0.75rem",
|
|
83
|
+
lineHeight: "160%"
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
const bodyFonts = {
|
|
87
|
+
body: {
|
|
88
|
+
...defaultOption,
|
|
89
|
+
...bodyDefaults,
|
|
90
|
+
fontWeight: 400
|
|
91
|
+
},
|
|
92
|
+
"body-regular": {
|
|
93
|
+
...defaultOption,
|
|
94
|
+
...bodyDefaults,
|
|
95
|
+
fontWeight: 400
|
|
96
|
+
},
|
|
97
|
+
"body-medium": {
|
|
98
|
+
...defaultOption,
|
|
99
|
+
...bodyDefaults,
|
|
100
|
+
fontWeight: 500
|
|
101
|
+
},
|
|
102
|
+
"body-semibold": {
|
|
103
|
+
...defaultOption,
|
|
104
|
+
...bodyDefaults,
|
|
105
|
+
fontWeight: 600
|
|
106
|
+
},
|
|
107
|
+
"body-bold": {
|
|
108
|
+
...defaultOption,
|
|
109
|
+
...bodyDefaults,
|
|
110
|
+
fontWeight: 700
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
const bigDefaults = {
|
|
142
114
|
fontSize: "1rem",
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}
|
|
115
|
+
lineHeight: "160%",
|
|
116
|
+
letterSpacing: "0%",
|
|
117
|
+
"@media (max-width:1200px)": {
|
|
118
|
+
fontSize: "0.875rem",
|
|
119
|
+
lineHeight: "160%"
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
const bigFonts = {
|
|
123
|
+
big: {
|
|
124
|
+
...defaultOption,
|
|
125
|
+
...bigDefaults,
|
|
126
|
+
fontWeight: "400"
|
|
127
|
+
},
|
|
128
|
+
"big-regular": {
|
|
129
|
+
...defaultOption,
|
|
130
|
+
...bigDefaults,
|
|
131
|
+
fontWeight: "400"
|
|
132
|
+
},
|
|
133
|
+
"big-medium": {
|
|
134
|
+
...defaultOption,
|
|
135
|
+
...bigDefaults,
|
|
136
|
+
fontWeight: "500"
|
|
137
|
+
},
|
|
138
|
+
"big-semibold": {
|
|
139
|
+
...defaultOption,
|
|
140
|
+
...bigDefaults,
|
|
141
|
+
fontWeight: "600"
|
|
142
|
+
},
|
|
143
|
+
"big-bold": {
|
|
144
|
+
...defaultOption,
|
|
145
|
+
...bigDefaults,
|
|
146
|
+
fontWeight: "700"
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
const hugeDefaults = {
|
|
150
|
+
fontSize: "1.125rem",
|
|
151
|
+
lineHeight: "160%",
|
|
152
|
+
letterSpacing: "0%",
|
|
153
|
+
"@media (max-width:1200px)": {
|
|
154
|
+
fontSize: "1rem",
|
|
155
|
+
lineHeight: "160%"
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
const hugeFonts = {
|
|
159
|
+
huge: {
|
|
160
|
+
...defaultOption,
|
|
161
|
+
...hugeDefaults,
|
|
162
|
+
fontWeight: 400
|
|
163
|
+
},
|
|
164
|
+
"huge-regular": {
|
|
165
|
+
...defaultOption,
|
|
166
|
+
...hugeDefaults,
|
|
167
|
+
fontWeight: 400
|
|
168
|
+
},
|
|
169
|
+
"huge-medium": {
|
|
170
|
+
...defaultOption,
|
|
171
|
+
...hugeDefaults,
|
|
172
|
+
fontWeight: 500
|
|
173
|
+
},
|
|
174
|
+
"huge-semibold": {
|
|
175
|
+
...defaultOption,
|
|
176
|
+
...hugeDefaults,
|
|
177
|
+
fontWeight: 600
|
|
178
|
+
},
|
|
179
|
+
"huge-bold": {
|
|
180
|
+
...defaultOption,
|
|
181
|
+
...hugeDefaults,
|
|
182
|
+
fontWeight: 700
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
const numberFonts = {
|
|
186
|
+
"number-huge": {
|
|
187
|
+
// Same as big because huge has disappeared
|
|
188
|
+
...defaultOption,
|
|
189
|
+
fontWeight: 700,
|
|
190
|
+
fontSize: "2rem",
|
|
191
|
+
lineHeight: "116%",
|
|
192
|
+
letterSpacing: "0%",
|
|
193
|
+
"@media (max-width:1200px)": {
|
|
194
|
+
fontSize: "1.75rem"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"number-big": {
|
|
198
|
+
...defaultOption,
|
|
199
|
+
fontWeight: 700,
|
|
200
|
+
fontSize: "2rem",
|
|
201
|
+
lineHeight: "116%",
|
|
202
|
+
letterSpacing: "0%",
|
|
203
|
+
"@media (max-width:1200px)": {
|
|
204
|
+
fontSize: "1.75rem"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"number-inter": {
|
|
208
|
+
...defaultOption,
|
|
209
|
+
fontWeight: 700,
|
|
210
|
+
fontSize: "1.25rem",
|
|
211
|
+
lineHeight: "140%",
|
|
212
|
+
letterSpacing: "0%",
|
|
213
|
+
"@media (max-width:1200px)": {
|
|
214
|
+
fontSize: "1.125rem"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"number-small": {
|
|
218
|
+
...defaultOption,
|
|
219
|
+
fontWeight: 700,
|
|
220
|
+
fontSize: "1rem",
|
|
221
|
+
lineHeight: "150%",
|
|
222
|
+
letterSpacing: "0%",
|
|
223
|
+
"@media (max-width:1200px)": {
|
|
224
|
+
fontSize: "0.75rem"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"number-micro": {
|
|
228
|
+
...defaultOption,
|
|
229
|
+
fontWeight: 700,
|
|
230
|
+
fontSize: "0.875rem",
|
|
231
|
+
lineHeight: "1.4rem",
|
|
232
|
+
color: greyTheme[2800]
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
const headers = {
|
|
236
|
+
h1: {
|
|
237
|
+
...defaultOption,
|
|
238
|
+
fontWeight: "700",
|
|
239
|
+
fontSize: "2rem",
|
|
240
|
+
lineHeight: "160%",
|
|
241
|
+
letterSpacing: "0%",
|
|
242
|
+
"@media (max-width:1200px)": {
|
|
243
|
+
fontSize: "1.375rem",
|
|
244
|
+
lineHeight: "140%"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
h2: {
|
|
248
|
+
...defaultOption,
|
|
249
|
+
fontWeight: "700",
|
|
250
|
+
fontSize: "1.5rem",
|
|
251
|
+
lineHeight: "160%",
|
|
252
|
+
letterSpacing: "0%",
|
|
253
|
+
"@media (max-width:1200px)": {
|
|
254
|
+
fontSize: "1.25rem",
|
|
255
|
+
lineHeight: "140%"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
h3: {
|
|
259
|
+
...defaultOption,
|
|
260
|
+
fontWeight: "700",
|
|
261
|
+
fontSize: "1.25rem",
|
|
262
|
+
lineHeight: "160%",
|
|
263
|
+
letterSpace: "0%",
|
|
264
|
+
"@media (max-width:1200px)": {
|
|
265
|
+
fontSize: "1.125rem",
|
|
266
|
+
lineHeight: "140%"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
h4: {
|
|
270
|
+
...defaultOption,
|
|
271
|
+
fontWeight: "700",
|
|
272
|
+
fontSize: "1.125rem",
|
|
273
|
+
lineHeight: "160%",
|
|
274
|
+
letterSpacing: "0%",
|
|
275
|
+
"@media (max-width:1200px)": {
|
|
276
|
+
fontSize: "1rem",
|
|
277
|
+
lineHeight: "150%"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
h5: {
|
|
281
|
+
...defaultOption,
|
|
282
|
+
fontWeight: "700",
|
|
283
|
+
fontSize: "1rem",
|
|
284
|
+
lineHeight: "160%",
|
|
285
|
+
letterSpacing: "0%",
|
|
286
|
+
"@media (max-width:1200px)": {
|
|
287
|
+
fontSize: "0.875rem",
|
|
288
|
+
lineHeight: "150%"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
// Deprecated
|
|
292
|
+
h6: {
|
|
293
|
+
...defaultOption,
|
|
294
|
+
fontWeight: "700",
|
|
295
|
+
fontSize: "1rem",
|
|
296
|
+
lineHeight: "160%",
|
|
297
|
+
letterSpacing: "0%",
|
|
298
|
+
"@media (max-width:1200px)": {
|
|
299
|
+
fontSize: "0.875rem",
|
|
300
|
+
lineHeight: "150%"
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
const ctaAndLinks = {
|
|
305
|
+
cta: {
|
|
306
|
+
...defaultOption,
|
|
307
|
+
fontWeight: 700,
|
|
308
|
+
fontSize: "0.875rem",
|
|
309
|
+
lineHeight: "150%",
|
|
310
|
+
letterSpacing: "0%",
|
|
311
|
+
"@media (max-width:1200px)": {
|
|
312
|
+
fontSize: "1rem"
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
const typographyOptions = {
|
|
317
|
+
fontFamily: ["Montserrat", "serif"].join(","),
|
|
318
|
+
...headers,
|
|
319
|
+
...smallFonts,
|
|
320
|
+
...bodyFonts,
|
|
321
|
+
...bigFonts,
|
|
322
|
+
...hugeFonts,
|
|
323
|
+
...ctaAndLinks,
|
|
324
|
+
...numberFonts
|
|
325
|
+
};
|
|
326
|
+
return typographyOptions;
|
|
327
|
+
};
|
|
213
328
|
export {
|
|
214
329
|
allTypographyVariants,
|
|
330
|
+
deprecatedVariants,
|
|
215
331
|
typographyConfig
|
|
216
332
|
};
|
|
@@ -408,16 +408,13 @@ const components = {
|
|
|
408
408
|
},
|
|
409
409
|
...variant === "tags-white" && {
|
|
410
410
|
padding: theme.spacing(0, 1),
|
|
411
|
-
border: `1px solid ${theme.custom.grey[400]}`,
|
|
411
|
+
border: `1px solid ${theme.custom.grey[400]} !important`,
|
|
412
412
|
borderRadius: "4px",
|
|
413
413
|
backgroundColor: theme.custom.grey[100],
|
|
414
414
|
color: theme.custom.grey[2800],
|
|
415
415
|
height: "24px",
|
|
416
|
-
/* This is because of a small curser `pointer` show
|
|
417
|
-
In case action is not specified
|
|
418
|
-
@ts-expect-error */
|
|
419
416
|
cursor: "default",
|
|
420
|
-
...ownerState.onClick !== void 0
|
|
417
|
+
...ownerState.onClick !== void 0 && {
|
|
421
418
|
cursor: "pointer",
|
|
422
419
|
":hover": {
|
|
423
420
|
border: `1px solid ${theme.custom.grey[500]}`,
|
|
@@ -432,15 +429,11 @@ const components = {
|
|
|
432
429
|
backgroundColor: theme.custom.grey[100],
|
|
433
430
|
color: theme.custom.grey[1400]
|
|
434
431
|
}
|
|
435
|
-
} : {
|
|
436
|
-
":hover": {
|
|
437
|
-
cursor: "default"
|
|
438
|
-
}
|
|
439
432
|
}
|
|
440
433
|
},
|
|
441
434
|
...variant === "tags-red" && {
|
|
442
435
|
padding: theme.spacing(0, 1),
|
|
443
|
-
border: `1px solid ${theme.custom.
|
|
436
|
+
border: `1px solid ${theme.custom.red[100]}`,
|
|
444
437
|
borderRadius: "4px",
|
|
445
438
|
backgroundColor: theme.custom.red[100],
|
|
446
439
|
color: theme.custom.red[600],
|
|
@@ -727,43 +720,6 @@ const components = {
|
|
|
727
720
|
}
|
|
728
721
|
})
|
|
729
722
|
}
|
|
730
|
-
},
|
|
731
|
-
MuiTypography: {
|
|
732
|
-
styleOverrides: {
|
|
733
|
-
h1: ({ theme }) => ({
|
|
734
|
-
[theme.breakpoints.up("md")]: {
|
|
735
|
-
fontSize: "2rem",
|
|
736
|
-
// 32px desktop (au lieu de 28px mobile)
|
|
737
|
-
lineHeight: "3.2rem"
|
|
738
|
-
// Proportionnel
|
|
739
|
-
}
|
|
740
|
-
}),
|
|
741
|
-
h2: ({ theme }) => ({
|
|
742
|
-
[theme.breakpoints.up("md")]: {
|
|
743
|
-
fontSize: "1.5rem",
|
|
744
|
-
// 24px desktop (au lieu de 22px mobile)
|
|
745
|
-
lineHeight: "2.4rem"
|
|
746
|
-
// Proportionnel
|
|
747
|
-
}
|
|
748
|
-
}),
|
|
749
|
-
h3: ({ theme }) => ({
|
|
750
|
-
[theme.breakpoints.up("md")]: {
|
|
751
|
-
fontSize: "1.25rem",
|
|
752
|
-
// 20px desktop (au lieu de 18px mobile)
|
|
753
|
-
lineHeight: "2rem"
|
|
754
|
-
// Proportionnel
|
|
755
|
-
}
|
|
756
|
-
}),
|
|
757
|
-
h4: ({ theme }) => ({
|
|
758
|
-
[theme.breakpoints.up("md")]: {
|
|
759
|
-
fontSize: "1.125rem",
|
|
760
|
-
// 18px desktop (au lieu de 16px mobile)
|
|
761
|
-
lineHeight: "1.8rem"
|
|
762
|
-
// Proportionnel
|
|
763
|
-
}
|
|
764
|
-
})
|
|
765
|
-
// H5, H6, body, big, small restent à 16px sur tous écrans
|
|
766
|
-
}
|
|
767
723
|
}
|
|
768
724
|
};
|
|
769
725
|
export {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foodpilot/foods",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.11.
|
|
4
|
+
"version": "2.11.33",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/main.js",
|
|
7
7
|
"module": "./dist/main.js",
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
"@mui/x-date-pickers": "^7.0.0",
|
|
211
211
|
"@mui/x-tree-view": "^7.0.0",
|
|
212
212
|
"i18next": "^23.0.0 || ^25.0.0",
|
|
213
|
-
"lodash": "^4.17.
|
|
213
|
+
"lodash": "^4.17.23",
|
|
214
214
|
"material-react-table": "^2.0.0",
|
|
215
215
|
"react": "^18.0.0 || ^19.0.0",
|
|
216
216
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
@@ -278,9 +278,9 @@
|
|
|
278
278
|
"react-dom": "^19.0.0",
|
|
279
279
|
"rollup-plugin-visualizer": "^6.0.4",
|
|
280
280
|
"size-limit": "^11.2.0",
|
|
281
|
-
"storybook": "^9.1.
|
|
281
|
+
"storybook": "^9.1.17",
|
|
282
282
|
"typescript": "^5.3.3",
|
|
283
|
-
"vite": "^6.
|
|
283
|
+
"vite": "^6.4.1",
|
|
284
284
|
"vite-bundle-visualizer": "^1.2.1",
|
|
285
285
|
"vite-plugin-dts": "^4.5.0",
|
|
286
286
|
"vite-plugin-svgr": "^3"
|
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
"i18next-browser-languagedetector": "^7.2.0",
|
|
312
312
|
"i18next-http-backend": "^2.4.2",
|
|
313
313
|
"lexical": "^0.21.0",
|
|
314
|
-
"lodash": "^4.17.
|
|
314
|
+
"lodash": "^4.17.23",
|
|
315
315
|
"material-react-table": "^3.2.1",
|
|
316
316
|
"material-ui-popup-state": "^5.3.1",
|
|
317
317
|
"prettier": "^3.1.1",
|