math-main-components 0.0.175 → 0.0.177

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/index.cjs.js CHANGED
@@ -9984,7 +9984,7 @@ function StepBack({ iconName = "arrow_back", text = "Weitere Möglichkeiten" })
9984
9984
  text)));
9985
9985
  }
9986
9986
 
9987
- var css_248z$3 = ".styles-module_container__jNs7m h3 {\n font-weight: 500;\n font-size: 16px;\n color: var(--foreground-1);\n}\n\n.styles-module_item_list__FxHkg.styles-module_has_children__Uu-8D {\n border-top: 1px solid var(--border-1);\n border-bottom: 1px solid var(--border-1);\n}\n\n.styles-module_item_list__FxHkg {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 6px;\n cursor: pointer;\n padding: 8px 14px;\n border-radius: 25px;\n transition: 0.2s ease-in-out;\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok.styles-module_default__SexGH:hover {\n background: var(--background-2);\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok.styles-module_red__KD3qJ:hover {\n background: var(--red-2);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_selected__iOu39 {\n color: var(--primary-1) !important;\n border-color: var(--primary-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_selected__iOu39 .styles-module_icon__Jy87z {\n color: var(--primary-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV {\n padding: 10px 20px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n gap: 10px;\n color: var(--foreground-1);\n flex-wrap: wrap;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_moreText__-blXb {\n flex: 1;\n margin-bottom: 4px;\n color: var(--primary-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_subtitle__DT5OF {\n color: var(--foreground-3);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_icon__Jy87z {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: var(--foreground-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_blue__theVn .styles-module_title__nIwzs {\n color: var(--blue-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_blue__theVn .styles-module_icon__Jy87z {\n color: var(--blue-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(even) {\n background: var(--background-2);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(odd) {\n background: var(--background-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:not(:last-child) {\n border-bottom: 1px solid var(--border-1);\n}";
9987
+ var css_248z$3 = ".styles-module_container__jNs7m h3 {\n font-weight: 500;\n font-size: 16px;\n color: var(--foreground-1);\n}\n\n.styles-module_item_list__FxHkg.styles-module_has_children__Uu-8D {\n border-top: 1px solid var(--border-1);\n border-bottom: 1px solid var(--border-1);\n}\n\n.styles-module_item_list__FxHkg {\n list-style: none;\n padding: 0;\n margin: 0;\n display: flex;\n flex-direction: column;\n gap: 0px;\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 6px;\n cursor: pointer;\n padding: 8px 14px;\n border-radius: 25px;\n transition: 0.2s ease-in-out;\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok.styles-module_default__SexGH:hover {\n background: var(--background-2);\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok.styles-module_red__KD3qJ:hover {\n background: var(--red-2);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_selected__iOu39 {\n color: var(--primary-1) !important;\n border-color: var(--primary-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_selected__iOu39 .styles-module_icon__Jy87z {\n color: var(--primary-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV {\n padding: 10px 20px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n gap: 10px;\n color: var(--foreground-1);\n flex-wrap: wrap;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_moreText__-blXb {\n flex: 1;\n margin-bottom: 4px;\n color: var(--primary-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_subtitle__DT5OF {\n color: var(--foreground-3);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_icon__Jy87z {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: var(--foreground-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_blue__theVn .styles-module_title__nIwzs {\n color: var(--blue-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_blue__theVn .styles-module_icon__Jy87z {\n color: var(--blue-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(even) {\n background: var(--background-2);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(odd) {\n background: var(--background-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:not(:last-child) {\n border-bottom: 1px solid var(--border-1);\n}\n\n@media (max-width: 750px) {\n .styles-module_item_list__FxHkg {\n gap: 20px;\n }\n .styles-module_item_list__FxHkg li.styles-module_item__sgyiV {\n background: var(--background-1);\n border-radius: 12px;\n padding: 20px;\n border: 1px solid var(--border-1);\n transition: 0.2s ease-in-out;\n display: flex;\n flex-direction: column;\n }\n}";
9988
9988
  var styles$3 = {"container":"styles-module_container__jNs7m","item_list":"styles-module_item_list__FxHkg","has_children":"styles-module_has_children__Uu-8D","action":"styles-module_action__YYTok","default":"styles-module_default__SexGH","red":"styles-module_red__KD3qJ","item":"styles-module_item__sgyiV","selected":"styles-module_selected__iOu39","icon":"styles-module_icon__Jy87z","moreText":"styles-module_moreText__-blXb","subtitle":"styles-module_subtitle__DT5OF","blue":"styles-module_blue__theVn","title":"styles-module_title__nIwzs"};
9989
9989
  styleInject(css_248z$3);
9990
9990
 
@@ -9999,8 +9999,10 @@ function Table({ items, title = "Titel", actions = [], moreActions, selected, st
9999
9999
  React__default["default"].createElement("div", { className: styles$3.icon },
10000
10000
  React__default["default"].createElement(SvgIcon, { iconName: item.iconName })),
10001
10001
  React__default["default"].createElement("div", { className: styles$3.title }, item.title),
10002
- React__default["default"].createElement("div", { className: styles$3.moreText }, item.moreText),
10003
- React__default["default"].createElement("div", { className: styles$3.subtitle }, item.subtitle),
10002
+ item.moreText &&
10003
+ React__default["default"].createElement("div", { className: styles$3.moreText }, item.moreText),
10004
+ item.subtitle &&
10005
+ React__default["default"].createElement("div", { className: styles$3.subtitle }, item.subtitle),
10004
10006
  moreActions &&
10005
10007
  moreActions.map((moreAction, index) => React__default["default"].createElement("div", { className: styles$3.more_action, key: item.title + index }, moreAction(item.data, index))),
10006
10008
  actions.length > 0 && actions.map((action, idx) => React__default["default"].createElement("div", { key: idx, className: [
@@ -10012,7 +10014,7 @@ function Table({ items, title = "Titel", actions = [], moreActions, selected, st
10012
10014
  action.title))))))));
10013
10015
  }
10014
10016
 
10015
- var css_248z$2 = ".styles-module_container__Kl-lB {\n display: flex;\n flex-direction: row;\n gap: 20px;\n margin-bottom: 20px;\n}\n\n.styles-module_tab__Veki- {\n flex: 1;\n border-radius: 42px;\n border-bottom: 2px;\n border-bottom-style: solid;\n border-bottom-color: var(--border-1);\n background: var(--background-1);\n color: var(--foreground-1);\n padding: 16px;\n text-align: center;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n}\n.styles-module_tab__Veki-.styles-module_selected__geNE7 {\n border-bottom-color: var(--primary-1);\n background: var(--primary-2);\n color: var(--primary-1);\n}\n\n@media (max-width: 750px) {\n .styles-module_container__Kl-lB {\n gap: 0px;\n display: grid;\n grid-template-columns: 1fr 1fr;\n }\n .styles-module_tab__Veki- {\n border-radius: 0px;\n }\n .styles-module_tab__Veki-:nth-child(1) {\n border-top-left-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(2) {\n border-top-right-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(3) {\n border-bottom-left-radius: 42px;\n }\n .styles-module_tab__Veki-:nth-child(4) {\n border-bottom-right-radius: 16px;\n }\n}";
10017
+ var css_248z$2 = ".styles-module_container__Kl-lB {\n display: flex;\n flex-direction: row;\n gap: 20px;\n margin-bottom: 20px;\n}\n\n.styles-module_tab__Veki- {\n flex: 1;\n border-radius: 42px;\n border-bottom: 2px;\n border-bottom-style: solid;\n border-bottom-color: var(--border-1);\n background: var(--background-1);\n color: var(--foreground-1);\n padding: 16px;\n text-align: center;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n}\n.styles-module_tab__Veki-.styles-module_selected__geNE7 {\n border-bottom-color: var(--primary-1);\n background: var(--primary-2);\n color: var(--primary-1);\n}\n\n@media (max-width: 750px) {\n .styles-module_container__Kl-lB {\n gap: 0px;\n display: grid;\n grid-template-columns: 1fr 1fr;\n }\n .styles-module_tab__Veki- {\n border-radius: 0px;\n }\n .styles-module_tab__Veki-:nth-child(1) {\n border-top-left-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(2) {\n border-top-right-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(3) {\n border-bottom-left-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(4) {\n border-bottom-right-radius: 16px;\n }\n}";
10016
10018
  var styles$2 = {"container":"styles-module_container__Kl-lB","tab":"styles-module_tab__Veki-","selected":"styles-module_selected__geNE7"};
10017
10019
  styleInject(css_248z$2);
10018
10020
 
package/dist/index.esm.js CHANGED
@@ -9958,7 +9958,7 @@ function StepBack({ iconName = "arrow_back", text = "Weitere Möglichkeiten" })
9958
9958
  text)));
9959
9959
  }
9960
9960
 
9961
- var css_248z$3 = ".styles-module_container__jNs7m h3 {\n font-weight: 500;\n font-size: 16px;\n color: var(--foreground-1);\n}\n\n.styles-module_item_list__FxHkg.styles-module_has_children__Uu-8D {\n border-top: 1px solid var(--border-1);\n border-bottom: 1px solid var(--border-1);\n}\n\n.styles-module_item_list__FxHkg {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 6px;\n cursor: pointer;\n padding: 8px 14px;\n border-radius: 25px;\n transition: 0.2s ease-in-out;\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok.styles-module_default__SexGH:hover {\n background: var(--background-2);\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok.styles-module_red__KD3qJ:hover {\n background: var(--red-2);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_selected__iOu39 {\n color: var(--primary-1) !important;\n border-color: var(--primary-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_selected__iOu39 .styles-module_icon__Jy87z {\n color: var(--primary-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV {\n padding: 10px 20px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n gap: 10px;\n color: var(--foreground-1);\n flex-wrap: wrap;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_moreText__-blXb {\n flex: 1;\n margin-bottom: 4px;\n color: var(--primary-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_subtitle__DT5OF {\n color: var(--foreground-3);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_icon__Jy87z {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: var(--foreground-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_blue__theVn .styles-module_title__nIwzs {\n color: var(--blue-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_blue__theVn .styles-module_icon__Jy87z {\n color: var(--blue-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(even) {\n background: var(--background-2);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(odd) {\n background: var(--background-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:not(:last-child) {\n border-bottom: 1px solid var(--border-1);\n}";
9961
+ var css_248z$3 = ".styles-module_container__jNs7m h3 {\n font-weight: 500;\n font-size: 16px;\n color: var(--foreground-1);\n}\n\n.styles-module_item_list__FxHkg.styles-module_has_children__Uu-8D {\n border-top: 1px solid var(--border-1);\n border-bottom: 1px solid var(--border-1);\n}\n\n.styles-module_item_list__FxHkg {\n list-style: none;\n padding: 0;\n margin: 0;\n display: flex;\n flex-direction: column;\n gap: 0px;\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 6px;\n cursor: pointer;\n padding: 8px 14px;\n border-radius: 25px;\n transition: 0.2s ease-in-out;\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok.styles-module_default__SexGH:hover {\n background: var(--background-2);\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok.styles-module_red__KD3qJ:hover {\n background: var(--red-2);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_selected__iOu39 {\n color: var(--primary-1) !important;\n border-color: var(--primary-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_selected__iOu39 .styles-module_icon__Jy87z {\n color: var(--primary-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV {\n padding: 10px 20px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n gap: 10px;\n color: var(--foreground-1);\n flex-wrap: wrap;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_moreText__-blXb {\n flex: 1;\n margin-bottom: 4px;\n color: var(--primary-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_subtitle__DT5OF {\n color: var(--foreground-3);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_icon__Jy87z {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: var(--foreground-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_blue__theVn .styles-module_title__nIwzs {\n color: var(--blue-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_blue__theVn .styles-module_icon__Jy87z {\n color: var(--blue-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(even) {\n background: var(--background-2);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(odd) {\n background: var(--background-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:not(:last-child) {\n border-bottom: 1px solid var(--border-1);\n}\n\n@media (max-width: 750px) {\n .styles-module_item_list__FxHkg {\n gap: 20px;\n }\n .styles-module_item_list__FxHkg li.styles-module_item__sgyiV {\n background: var(--background-1);\n border-radius: 12px;\n padding: 20px;\n border: 1px solid var(--border-1);\n transition: 0.2s ease-in-out;\n display: flex;\n flex-direction: column;\n }\n}";
9962
9962
  var styles$3 = {"container":"styles-module_container__jNs7m","item_list":"styles-module_item_list__FxHkg","has_children":"styles-module_has_children__Uu-8D","action":"styles-module_action__YYTok","default":"styles-module_default__SexGH","red":"styles-module_red__KD3qJ","item":"styles-module_item__sgyiV","selected":"styles-module_selected__iOu39","icon":"styles-module_icon__Jy87z","moreText":"styles-module_moreText__-blXb","subtitle":"styles-module_subtitle__DT5OF","blue":"styles-module_blue__theVn","title":"styles-module_title__nIwzs"};
9963
9963
  styleInject(css_248z$3);
9964
9964
 
@@ -9973,8 +9973,10 @@ function Table({ items, title = "Titel", actions = [], moreActions, selected, st
9973
9973
  React__default.createElement("div", { className: styles$3.icon },
9974
9974
  React__default.createElement(SvgIcon, { iconName: item.iconName })),
9975
9975
  React__default.createElement("div", { className: styles$3.title }, item.title),
9976
- React__default.createElement("div", { className: styles$3.moreText }, item.moreText),
9977
- React__default.createElement("div", { className: styles$3.subtitle }, item.subtitle),
9976
+ item.moreText &&
9977
+ React__default.createElement("div", { className: styles$3.moreText }, item.moreText),
9978
+ item.subtitle &&
9979
+ React__default.createElement("div", { className: styles$3.subtitle }, item.subtitle),
9978
9980
  moreActions &&
9979
9981
  moreActions.map((moreAction, index) => React__default.createElement("div", { className: styles$3.more_action, key: item.title + index }, moreAction(item.data, index))),
9980
9982
  actions.length > 0 && actions.map((action, idx) => React__default.createElement("div", { key: idx, className: [
@@ -9986,7 +9988,7 @@ function Table({ items, title = "Titel", actions = [], moreActions, selected, st
9986
9988
  action.title))))))));
9987
9989
  }
9988
9990
 
9989
- var css_248z$2 = ".styles-module_container__Kl-lB {\n display: flex;\n flex-direction: row;\n gap: 20px;\n margin-bottom: 20px;\n}\n\n.styles-module_tab__Veki- {\n flex: 1;\n border-radius: 42px;\n border-bottom: 2px;\n border-bottom-style: solid;\n border-bottom-color: var(--border-1);\n background: var(--background-1);\n color: var(--foreground-1);\n padding: 16px;\n text-align: center;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n}\n.styles-module_tab__Veki-.styles-module_selected__geNE7 {\n border-bottom-color: var(--primary-1);\n background: var(--primary-2);\n color: var(--primary-1);\n}\n\n@media (max-width: 750px) {\n .styles-module_container__Kl-lB {\n gap: 0px;\n display: grid;\n grid-template-columns: 1fr 1fr;\n }\n .styles-module_tab__Veki- {\n border-radius: 0px;\n }\n .styles-module_tab__Veki-:nth-child(1) {\n border-top-left-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(2) {\n border-top-right-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(3) {\n border-bottom-left-radius: 42px;\n }\n .styles-module_tab__Veki-:nth-child(4) {\n border-bottom-right-radius: 16px;\n }\n}";
9991
+ var css_248z$2 = ".styles-module_container__Kl-lB {\n display: flex;\n flex-direction: row;\n gap: 20px;\n margin-bottom: 20px;\n}\n\n.styles-module_tab__Veki- {\n flex: 1;\n border-radius: 42px;\n border-bottom: 2px;\n border-bottom-style: solid;\n border-bottom-color: var(--border-1);\n background: var(--background-1);\n color: var(--foreground-1);\n padding: 16px;\n text-align: center;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n}\n.styles-module_tab__Veki-.styles-module_selected__geNE7 {\n border-bottom-color: var(--primary-1);\n background: var(--primary-2);\n color: var(--primary-1);\n}\n\n@media (max-width: 750px) {\n .styles-module_container__Kl-lB {\n gap: 0px;\n display: grid;\n grid-template-columns: 1fr 1fr;\n }\n .styles-module_tab__Veki- {\n border-radius: 0px;\n }\n .styles-module_tab__Veki-:nth-child(1) {\n border-top-left-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(2) {\n border-top-right-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(3) {\n border-bottom-left-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(4) {\n border-bottom-right-radius: 16px;\n }\n}";
9990
9992
  var styles$2 = {"container":"styles-module_container__Kl-lB","tab":"styles-module_tab__Veki-","selected":"styles-module_selected__geNE7"};
9991
9993
  styleInject(css_248z$2);
9992
9994
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "math-main-components",
3
- "version": "0.0.175",
3
+ "version": "0.0.177",
4
4
  "author": "Emilian Scheel",
5
5
  "files": [
6
6
  "dist/**/*"