@foodpilot/foods 2.15.0 → 2.16.0
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/illustrations/almost-there.svg.js +1 -1
- package/dist/assets/illustrations/animal-welfare.svg.js +1 -1
- package/dist/assets/illustrations/arrows.svg.js +1 -1
- package/dist/assets/illustrations/building-1.svg.js +1 -1
- package/dist/assets/illustrations/building-2.svg.js +1 -1
- package/dist/assets/illustrations/carbon-emissions-reduction.svg.js +1 -1
- package/dist/assets/illustrations/carbon-neutrality.svg.js +1 -1
- package/dist/assets/illustrations/coming-soon.svg.js +1 -1
- package/dist/assets/illustrations/congratulations.svg.js +1 -1
- package/dist/assets/illustrations/contact-support.svg.js +1 -1
- package/dist/assets/illustrations/data-analysis.svg.js +1 -1
- package/dist/assets/illustrations/diagnostic-and-questionnaire.svg.js +1 -1
- package/dist/assets/illustrations/diamond.svg.js +1 -1
- package/dist/assets/illustrations/economy.svg.js +1 -1
- package/dist/assets/illustrations/empty-basket.svg.js +1 -1
- package/dist/assets/illustrations/empty-folder.svg.js +1 -1
- package/dist/assets/illustrations/environment.svg.js +1 -1
- package/dist/assets/illustrations/governance.svg.js +1 -1
- package/dist/assets/illustrations/group-of-people.svg.js +1 -1
- package/dist/assets/illustrations/growing-plant.svg.js +1 -1
- package/dist/assets/illustrations/health-and-nutrition.svg.js +1 -1
- package/dist/assets/illustrations/informations.svg.js +1 -1
- package/dist/assets/illustrations/inputs-and-chemicals.svg.js +1 -1
- package/dist/assets/illustrations/keep-going.svg.js +1 -1
- package/dist/assets/illustrations/lock.svg.js +1 -1
- package/dist/assets/illustrations/missing-datas.svg.js +1 -1
- package/dist/assets/illustrations/motivation.svg.js +1 -1
- package/dist/assets/illustrations/no-access.svg.js +1 -1
- package/dist/assets/illustrations/packaging.svg.js +1 -1
- package/dist/assets/illustrations/product-simulation.svg.js +1 -1
- package/dist/assets/illustrations/recipe.svg.js +1 -1
- package/dist/assets/illustrations/rocket.svg.js +1 -1
- package/dist/assets/illustrations/scores-and-indicators.svg.js +1 -1
- package/dist/assets/illustrations/select-action.svg.js +1 -1
- package/dist/assets/illustrations/social.svg.js +1 -1
- package/dist/assets/illustrations/start.svg.js +1 -1
- package/dist/assets/illustrations/suppliers.svg.js +1 -1
- package/dist/assets/illustrations/target-1.svg.js +1 -1
- package/dist/assets/illustrations/target-2.svg.js +1 -1
- package/dist/assets/illustrations/terms-and-conditions.svg.js +1 -1
- package/dist/assets/illustrations/territory.svg.js +1 -1
- package/dist/assets/illustrations/trajectory-and-actions-plans.svg.js +1 -1
- package/dist/assets/illustrations/under-construction.svg.js +1 -1
- package/dist/assets/illustrations/waving-hand.svg.js +1 -1
- package/dist/components/Cards/DoughnutCard/DoughnutCard.d.ts +12 -0
- package/dist/components/Cards/DoughnutCard/DoughnutCard.js +3 -0
- package/dist/components/Cards/DoughnutCard/index.d.ts +2 -0
- package/dist/components/Cards/ScoreCard/Header/ScoreCardHeader.js +6 -10
- package/dist/components/Cards/index.d.ts +1 -0
- package/dist/components/Number/ScoreValue.d.ts +13 -0
- package/dist/components/Number/ScoreValue.js +3 -0
- package/dist/components/Number/index.d.ts +1 -0
- package/dist/components/Select/ScoreSelect/ScoreSelect.d.ts +28 -0
- package/dist/components/Select/ScoreSelect/ScoreSelect.js +2 -0
- package/dist/components/Select/ScoreSelect/ScoreSelectLayout.d.ts +11 -0
- package/dist/components/Select/ScoreSelect/ScoreSelectLayout.js +4 -0
- package/dist/components/Select/ScoreSelect/index.d.ts +1 -0
- package/dist/components/Select/index.d.ts +1 -0
- package/dist/main.js +1 -1
- package/dist/themes/common/custom.d.ts +35 -0
- package/dist/themes/common/custom.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";const
|
|
1
|
+
import*as e from"react";const t=t=>/* @__PURE__ */e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:112,height:112,fill:"none",viewBox:"0 0 112 112",...t},/* @__PURE__ */e.createElement("circle",{cx:56,cy:56,r:56,fill:"#edf9fa"}),/* @__PURE__ */e.createElement("g",{clipPath:"url(#clip0_10619_6253)"},/* @__PURE__ */e.createElement("path",{fill:"#026d72",d:"M59.14 34.55h-5.28v-7.9a2.64 2.64 0 1 1 5.28 0z"}),/* @__PURE__ */e.createElement("path",{fill:"#025155",d:"M53.86 28.62v5.93h5.28v-5.93a28 28 0 0 0-5.28 0"}),/* @__PURE__ */e.createElement("path",{fill:"#026d72",d:"M34.55 53.86v5.28h-7.9a2.64 2.64 0 0 1 0-5.28z"}),/* @__PURE__ */e.createElement("path",{fill:"#025155",d:"M28.62 59.14h5.93v-5.28h-5.93a28 28 0 0 0 0 5.28"}),/* @__PURE__ */e.createElement("path",{fill:"#026d72",d:"M53.86 78.45h5.28v7.9a2.64 2.64 0 0 1-5.28 0z"}),/* @__PURE__ */e.createElement("path",{fill:"#025155",d:"M59.14 84.38v-5.93h-5.28v5.93a28 28 0 0 0 5.28 0"}),/* @__PURE__ */e.createElement("path",{fill:"#026d72",d:"M78.45 59.14v-5.28h7.9a2.64 2.64 0 1 1 0 5.28z"}),/* @__PURE__ */e.createElement("path",{fill:"#025155",d:"M84.38 53.86h-5.93v5.28h5.93a28 28 0 0 0 0-5.28"}),/* @__PURE__ */e.createElement("path",{fill:"#018990",d:"M56.5 32.2c-13.4 0-24.3 10.9-24.3 24.3s10.9 24.3 24.3 24.3 24.3-10.9 24.3-24.3-10.9-24.3-24.3-24.3m0 43.32A19.05 19.05 0 0 1 37.48 56.5 19.05 19.05 0 0 1 56.5 37.48 19.05 19.05 0 0 1 75.52 56.5 19.04 19.04 0 0 1 56.5 75.52"}),/* @__PURE__ */e.createElement("path",{fill:"#026d72",d:"M72.5 38.22a24.2 24.2 0 0 1 6.03 16c0 13.4-10.9 24.3-24.31 24.3a24.2 24.2 0 0 1-16-6.02c4.45 5.09 11 8.3 18.28 8.3 13.4 0 24.3-10.9 24.3-24.3 0-7.28-3.21-13.83-8.3-18.28"}),/* @__PURE__ */e.createElement("path",{fill:"#00c0ca",d:"M37.21 24H26.64A2.64 2.64 0 0 0 24 26.64v10.57a2.64 2.64 0 0 0 5.28 0v-7.93h7.93a2.64 2.64 0 0 0 0-5.28m38.58 0h10.57A2.64 2.64 0 0 1 89 26.64v10.57a2.64 2.64 0 0 1-5.28 0v-7.93h-7.93a2.64 2.64 0 0 1 0-5.28M37.21 89H26.64A2.64 2.64 0 0 1 24 86.36V75.79a2.64 2.64 0 0 1 5.28 0v7.93h7.93a2.64 2.64 0 0 1 0 5.28m38.58 0h10.57A2.64 2.64 0 0 0 89 86.36V75.79a2.64 2.64 0 0 0-5.28 0v7.93h-7.93a2.64 2.64 0 0 0 0 5.28"}),/* @__PURE__ */e.createElement("path",{fill:"#2fcbd4",d:"M56.5 71.02a14.52 14.52 0 1 0 0-29.04 14.52 14.52 0 0 0 0 29.04"}),/* @__PURE__ */e.createElement("path",{fill:"#8ee2e7",d:"M56.5 41.98c-8.02 0-14.52 6.5-14.52 14.52H56.5z"})),/* @__PURE__ */e.createElement("defs",null,/* @__PURE__ */e.createElement("clipPath",{id:"clip0_10619_6253"},/* @__PURE__ */e.createElement("path",{fill:"#fff",d:"M24 24h65v65H24z"}))));export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as a from"react";const l=l=>/* @__PURE__ */a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:112,height:112,fill:"none",viewBox:"0 0 112 112",...l},/* @__PURE__ */a.createElement("circle",{cx:56,cy:56,r:56,fill:"#edf9fa"}),/* @__PURE__ */a.createElement("path",{fill:"#5fd7dd",d:"
|
|
1
|
+
import*as a from"react";const l=l=>/* @__PURE__ */a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:112,height:112,fill:"none",viewBox:"0 0 112 112",...l},/* @__PURE__ */a.createElement("circle",{cx:56,cy:56,r:56,fill:"#edf9fa"}),/* @__PURE__ */a.createElement("path",{fill:"#5fd7dd",d:"m36.52 97.23 54.79-10.2a2.54 2.54 0 0 0 2.03-2.94l-11.06-59.4-14.76-10.07-44.83 8.35a2.54 2.54 0 0 0-2.03 2.94l12.9 69.3a2.5 2.5 0 0 0 2.96 2.02"}),/* @__PURE__ */a.createElement("path",{fill:"#01a4ad",d:"m72.31 26.54 9.97-1.86-14.76-10.06 1.84 9.9a2.5 2.5 0 0 0 2.95 2.02"}),/* @__PURE__ */a.createElement("path",{fill:"#fff",d:"m75.9 52.76-37.35 6.96a1.27 1.27 0 0 1-1.47-1.01 1.25 1.25 0 0 1 1.01-1.47l37.36-6.96a1.27 1.27 0 0 1 1.47 1.01 1.26 1.26 0 0 1-1.01 1.47m-19.56 12.6-16.18 3.02a1.27 1.27 0 0 1-1.48-1 1.26 1.26 0 0 1 1.01-1.48l16.2-3.01a1.27 1.27 0 0 1 1.47 1 1.26 1.26 0 0 1-1.02 1.47m16.84-3.33-10.48 1.7a1.27 1.27 0 0 1-1.48-1.01 1.26 1.26 0 0 1 1.02-1.47l10.48-1.7a1.27 1.27 0 0 1 1.47 1 1.26 1.26 0 0 1-1.01 1.48m-4 10.5-27.41 4.51a1.27 1.27 0 0 1-1.48-1 1.26 1.26 0 0 1 1.02-1.47l27.4-4.52a1.27 1.27 0 0 1 1.48 1 1.26 1.26 0 0 1-1.01 1.48m5.41 8.09-31.2 5.09a1.27 1.27 0 0 1-1.48-1 1.26 1.26 0 0 1 1.01-1.48l31.2-5.09a1.27 1.27 0 0 1 1.48 1.01 1.25 1.25 0 0 1-1.01 1.47m-.3-36.52-18.68 3.47a1.27 1.27 0 0 1-1.48-1 1.25 1.25 0 0 1 1.02-1.47l18.67-3.48a1.27 1.27 0 0 1 1.48 1 1.25 1.25 0 0 1-1.02 1.48m-26.14 4.87-11.21 2.08a1.27 1.27 0 0 1-1.48-1 1.25 1.25 0 0 1 1.02-1.47l11.2-2.09a1.27 1.27 0 0 1 1.48 1 1.26 1.26 0 0 1-1.01 1.48m24.53-13.54L35.33 42.4a1.27 1.27 0 0 1-1.48-1 1.26 1.26 0 0 1 1.01-1.48l37.36-6.95a1.27 1.27 0 0 1 1.48 1 1.26 1.26 0 0 1-1.02 1.47m-19.04-5.42-19.93 3.7a1.27 1.27 0 0 1-1.47-1 1.26 1.26 0 0 1 1.01-1.47l19.93-3.71a1.27 1.27 0 0 1 1.47 1 1.25 1.25 0 0 1-1.01 1.48"}),/* @__PURE__ */a.createElement("path",{fill:"#026d72",d:"M87.65 78.66a10.1 10.1 0 0 0 8.12-11.76 10.1 10.1 0 0 0-11.8-8.05 10.1 10.1 0 0 0-8.13 11.76 10.1 10.1 0 0 0 11.8 8.05"}),/* @__PURE__ */a.createElement("path",{fill:"#fff",d:"M85.52 74.61c-.33.06-.67-.01-.94-.2l-4.34-2.94a1.26 1.26 0 0 1 .99-2.28q.25.05.45.2l3.28 2.24 4.43-6.4a1.27 1.27 0 0 1 1.76-.34 1.25 1.25 0 0 1 .33 1.75l-5.15 7.45a1.3 1.3 0 0 1-.81.52"}));export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";const l=l=>/* @__PURE__ */e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:112,height:112,fill:"none",viewBox:"0 0 112 112",...l},/* @__PURE__ */e.createElement("rect",{width:112,height:112,fill:"#edf9fa",rx:56}),/* @__PURE__ */e.createElement("g",{fillRule:"evenodd",clipPath:"url(#clip0_9177_567)",clipRule:"evenodd"},/* @__PURE__ */e.createElement("path",{fill:"#b18651",d:"M18.
|
|
1
|
+
import*as e from"react";const l=l=>/* @__PURE__ */e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:112,height:112,fill:"none",viewBox:"0 0 112 112",...l},/* @__PURE__ */e.createElement("rect",{width:112,height:112,fill:"#edf9fa",rx:56}),/* @__PURE__ */e.createElement("g",{fillRule:"evenodd",clipPath:"url(#clip0_9177_567)",clipRule:"evenodd"},/* @__PURE__ */e.createElement("path",{fill:"#b18651",d:"M18.73 24.1c24.37 4.63 49.25 4.53 74.65 0 .8-.14 1.52.62 1.52 1.43v55.25c0 .76-.71 1.22-1.53 1.42-24.88 6.4-49.76 6.8-74.64 0-.82-.2-1.53-.6-1.53-1.42V25.53c0-.76.71-1.57 1.53-1.42"}),/* @__PURE__ */e.createElement("path",{fill:"#01a4ad",d:"M27.92 53.77c.05-2.34.35-3.86.66-5.23.3-1.38.56-2.6.56-4.32s-3.05-3.5-6.5-5.54c-1.93-1.16-4.02-2.38-5.49-3.4v3.86c1.22.81 2.6 1.57 3.86 2.34 2.6 1.52 4.88 2.64 4.88 2.74 0 1.42-.26 2.44-.51 3.6-.36 1.53-.71 3.2-.76 5.9 0 .96-.2 1.42-.3 1.67-.41 1.02-.62 1.47.45 2.34.36.3.71.4 1.37.6.86.26 2.49.77 5.43 2.04a12 12 0 0 0-2.94 2.74c-1.27 1.88-1.68 4.06-.4 6.9 2.33 5.34 2.28 5.44 1.92 5.8-.86.96-2.28 2.48-2.69 8.42l3.2.61v-.25c.3-4.98 1.27-6 1.83-6.65 1.47-1.58 1.88-1.98-1.32-9.3-.71-1.62-.56-2.79.1-3.75.76-1.12 2.18-2.03 3.8-3 2.95 1.32 5.34 1.98 9-.35.7-.46 1.11-.36 1.32 0 1.06 1.62 1.22 5.43 1.32 7.4v.57c.05 1.22.8 2.9 1.77 4.21.97 1.27 2.29 2.24 3.56 2.29 1.01.05 2.34-.4 3.86-1.12 1.17-.56 2.49-1.22 3.76-1.88a55 55 0 0 1 3.86-1.93l.5-.2a26 26 0 0 0 6.5-4.17c2.34-2.13 3.86-4.77 2.7-7.61-.06-.15-.06-.1-.06-.15a25 25 0 0 1-1.57-4.17 12.7 12.7 0 0 0 7.57-.91c1.22-.51 2.13.76 3.14 2.23 1.68 2.34 3.56 4.98 7.47 4.88 1.93-.05 3.55.5 5.08 1.37v-3.66a11.6 11.6 0 0 0-5.13-.96c-2.24.05-3.56-1.83-4.77-3.5-1.83-2.55-3.46-4.83-7.01-3.36-1.58.66-2.8.86-4.06.86-1.07 0-2.24-.2-3.61-.5-.61-.77-1.68-1.73-3.76-3.71l-.35-.36-.71-.66a5.6 5.6 0 0 1-1.88-3.6 6.6 6.6 0 0 1 1.57-4.27c.05-.05.5.05 1.57-.3 1.43-.46 3.25-.92 4.98-1.12 1.47-.15 2.85-.1 3.5.4q.24.16.31.46a11.6 11.6 0 0 0 5.08 6.5 10 10 0 0 0 7.92 1.07c1.42-.35 1.83-.5 2.18-.6a52 52 0 0 1 4.12-1.02v-3.3c-1.63.3-2.95.66-4.98 1.21-.91.26-1.93.51-2.18.61-1.93.51-3.86.2-5.44-.76a8.2 8.2 0 0 1-3.6-4.67 4 4 0 0 0-1.47-2.08c-1.43-1.07-3.61-1.27-5.8-1.07-1.97.2-4.06.76-5.63 1.22-1.73.56-3.1 1.32-3.2 1.42a9.6 9.6 0 0 0-2.23 6.35 8.3 8.3 0 0 0 2.89 5.84l.71.66.36.35c2.54 2.4 3.4 3.2 3.7 3.66q.07.15.16.61c.15.97.45 2.49 2.08 6.14.05.1 0 0 .05.06.5 1.21-.46 2.64-1.88 3.96a24 24 0 0 1-6.04 3.8c-1.22.51-2.64 1.27-4.12 2.04l-2.23 1.16c-1.68.87-3.1 1.48-3.76 1.48-.2 0-.66-.46-1.12-1.02-.6-.81-1.11-1.78-1.11-2.39v-.55c-.1-2.24-.3-6.7-1.83-9.04-1.27-1.93-3.1-2.7-5.79-.97-2.59 1.68-4.42.81-7-.4-.47-.2-.92-.46-1.38-.61a56 56 0 0 0-6.2-2.44c.1-.46.16-.97.16-1.68z"}),/* @__PURE__ */e.createElement("path",{fill:"#8ee2e7",d:"M68.04 53.71c-.26-.45-1.17-1.32-3.71-3.65l-.36-.36-.7-.66a8.5 8.5 0 0 1-2.9-5.84 9.6 9.6 0 0 1 2.23-6.34c.1-.16 1.47-.92 3.2-1.43 1.58-.5 3.6-1.01 5.64-1.22 2.23-.25 4.36-.05 5.79 1.07q1 .73 1.47 2.08a8.3 8.3 0 0 0 3.6 4.68 7.2 7.2 0 0 0 5.44.76c.25-.05 1.27-.36 2.18-.61 2.03-.56 3.3-.92 4.98-1.22V25.53c0-.76-.71-1.52-1.53-1.42-25.39 4.52-50.27 4.62-74.64 0-.82-.15-1.53.6-1.53 1.42v9.75a70 70 0 0 0 5.49 3.4c3.45 2.03 6.5 3.86 6.5 5.54 0 1.73-.26 2.94-.56 4.32-.3 1.37-.66 2.89-.66 5.23 0 .7-.1 1.21-.15 1.67 1.11.36 3.04 1.02 6.2 2.44l1.36.6c2.6 1.23 4.47 2.09 7.01.41 2.7-1.77 4.57-1.01 5.79.97 1.52 2.34 1.73 6.8 1.83 9.04v.56c.05.6.5 1.57 1.12 2.38.45.56.86 1.02 1.11 1.02.66 0 2.08-.61 3.76-1.47q1.08-.55 2.23-1.17c1.48-.76 2.9-1.52 4.12-2.03.05 0 .2-.1.4-.2a23 23 0 0 0 5.64-3.61c1.42-1.27 2.39-2.74 1.88-3.96-.05-.05 0 .05-.05-.05-1.63-3.66-1.93-5.18-2.08-6.15a3 3 0 0 0-.16-.6z"}),/* @__PURE__ */e.createElement("path",{fill:"#9b6b3c",d:"M28.27 70.07c-1.22-2.85-.86-5.03.41-6.91a10 10 0 0 1 2.95-2.74 46 46 0 0 0-5.44-2.03c-.66-.2-1.01-.3-1.37-.61-1.07-.87-.86-1.32-.46-2.34.1-.25.3-.7.3-1.67.06-2.7.41-4.37.77-5.9.25-1.16.5-2.18.5-3.6 0-.15-2.28-1.22-4.87-2.74-1.27-.76-2.59-1.53-3.86-2.34v41.64c0 .76.71 1.17 1.53 1.42q4.39 1.23 8.78 2.14c.4-5.94 1.83-7.47 2.7-8.43.3-.36.4-.46-1.94-5.8z"}),/* @__PURE__ */e.createElement("path",{fill:"#beeef0",d:"M52.14 76.16c-1.32-.05-2.59-1.02-3.55-2.28-.97-1.27-1.73-3-1.78-4.22v-.56c-.1-1.93-.26-5.79-1.32-7.41-.26-.36-.66-.46-1.32 0-3.6 2.33-6 1.67-8.99.35-1.63.92-3 1.88-3.8 3-.67.96-.82 2.13-.11 3.76 3.2 7.26 2.8 7.72 1.32 9.29-.61.66-1.52 1.68-1.83 6.65V85c20.87 3.8 41.74 2.64 62.61-2.75.82-.2 1.53-.6 1.53-1.42V62.6a9.4 9.4 0 0 0-5.08-1.37c-3.91.1-5.79-2.54-7.46-4.87-1.02-1.48-1.93-2.75-3.15-2.24a14 14 0 0 1-5.33 1.12c-.77 0-1.48-.1-2.24-.2.25.86.66 2.13 1.57 4.16 0 .05 0 0 .06.15 1.21 2.85-.36 5.49-2.7 7.62a28 28 0 0 1-6.5 4.16l-.5.2a54 54 0 0 0-3.86 1.94c-1.27.66-2.54 1.32-3.76 1.87-1.52.66-2.84 1.17-3.86 1.12z"}),/* @__PURE__ */e.createElement("path",{fill:"#5fd7dd",d:"M94.9 58.84V44.22c-1.27.25-2.44.56-4.11 1.01-.36.1-.82.2-2.19.61-2.84.77-5.64.26-7.92-1.06a11.6 11.6 0 0 1-5.08-6.5.7.7 0 0 0-.3-.46c-.66-.5-2.03-.56-3.5-.4-1.73.2-3.56.65-4.98 1.11-1.12.36-1.53.26-1.58.3a6.6 6.6 0 0 0-1.57 4.27 5.2 5.2 0 0 0 1.88 3.6l.7.67.36.35a43 43 0 0 1 3.76 3.71c1.37.3 2.54.5 3.6.5 1.28 0 2.55-.2 4.07-.86 3.55-1.47 5.18.82 7 3.36 1.23 1.67 2.55 3.55 4.78 3.5 1.98-.05 3.66.3 5.13.96z"}),/* @__PURE__ */e.createElement("path",{fill:"#3c2517",d:"M30 31.07a2.4 2.4 0 0 0-2.44 2.43L30 39l2.44-5.49A2.4 2.4 0 0 0 30 31.07"}),/* @__PURE__ */e.createElement("path",{fill:"#82000a",d:"M47.52 41.73a2.4 2.4 0 0 0-2.44 2.44l2.44 5.48 2.44-5.48a2.4 2.4 0 0 0-2.44-2.44"}),/* @__PURE__ */e.createElement("path",{fill:"#8ee2e7",d:"M86.37 62.55A2.4 2.4 0 0 1 88.8 65l-2.43 5.48L83.93 65a2.4 2.4 0 0 1 2.44-2.44"}),/* @__PURE__ */e.createElement("path",{fill:"#026d72",d:"M68.85 73.21a2.4 2.4 0 0 1 2.44 2.44l-2.44 5.49-2.44-5.49a2.4 2.4 0 0 1 2.44-2.44"}),/* @__PURE__ */e.createElement("path",{fill:"#025155",d:"M83.57 32.59a2.4 2.4 0 0 1 2.44 2.44l-2.44 5.48-2.43-5.48a2.4 2.4 0 0 1 2.43-2.44"}),/* @__PURE__ */e.createElement("path",{fill:"#fac227",d:"M23.65 60.01a2.4 2.4 0 0 1 2.44 2.44l-2.44 5.48-2.44-5.48A2.4 2.4 0 0 1 23.65 60"}),/* @__PURE__ */e.createElement("path",{fill:"#a67d4c",d:"M18.73 24.1a195 195 0 0 0 37.32 3.41v59.57a137 137 0 0 1-37.32-4.98c-.82-.2-1.53-.6-1.53-1.42V25.43c0-.76.71-1.57 1.53-1.42z"}),/* @__PURE__ */e.createElement("path",{fill:"#01a4ad",d:"M27.92 53.77c.05-2.34.35-3.86.66-5.23.3-1.38.56-2.6.56-4.32s-3.05-3.5-6.5-5.54c-1.93-1.16-4.02-2.38-5.49-3.4v3.86c1.22.81 2.6 1.57 3.86 2.34 2.6 1.52 4.88 2.64 4.88 2.74 0 1.42-.26 2.44-.51 3.6-.36 1.53-.71 3.2-.76 5.9 0 .96-.2 1.42-.3 1.67-.41 1.02-.62 1.47.45 2.34.36.3.71.4 1.37.6.86.26 2.49.77 5.43 2.04a12 12 0 0 0-2.94 2.74c-1.27 1.88-1.68 4.06-.4 6.9 2.33 5.34 2.28 5.44 1.92 5.8-.86.96-2.28 2.48-2.69 8.42l3.2.61v-.25c.3-4.98 1.27-6 1.83-6.65 1.47-1.58 1.88-1.98-1.32-9.3-.71-1.62-.56-2.79.1-3.75.76-1.12 2.18-2.03 3.8-3 2.95 1.32 5.34 1.98 9-.35.7-.46 1.11-.36 1.32 0 1.06 1.62 1.22 5.43 1.32 7.4v.57c.05 1.22.8 2.9 1.77 4.21.97 1.27 2.29 2.24 3.56 2.29 1.01.05 2.34-.4 3.86-1.12l.05-.05v-3.6l-.05.05c-1.68.86-3.1 1.47-3.76 1.47-.2 0-.66-.46-1.12-1.02-.6-.81-1.11-1.78-1.11-2.38v-.56c-.1-2.24-.3-6.7-1.83-9.04-1.27-1.93-3.1-2.7-5.8-.97-2.58 1.68-4.4.82-7-.4-.46-.2-.91-.46-1.37-.61a56 56 0 0 0-6.2-2.44c.1-.46.16-.97.16-1.68z"}),/* @__PURE__ */e.createElement("path",{fill:"#5fd7dd",d:"M56.05 27.51q-18.9.1-37.32-3.4c-.82-.15-1.53.6-1.53 1.42v9.75a70 70 0 0 0 5.49 3.4c3.45 2.03 6.5 3.86 6.5 5.54 0 1.73-.26 2.94-.56 4.32-.3 1.37-.66 2.89-.66 5.23 0 .7-.1 1.21-.15 1.67 1.11.36 3.04 1.02 6.2 2.44l1.36.6c2.6 1.23 4.47 2.09 7.01.41 2.7-1.77 4.57-1.01 5.79.97 1.52 2.34 1.73 6.8 1.83 9.04v.56c.05.6.5 1.57 1.12 2.38.45.56.86 1.02 1.11 1.02.66 0 2.08-.61 3.76-1.47l.05-.05V27.46z"}),/* @__PURE__ */e.createElement("path",{fill:"#00c0ca",d:"M28.27 70.07c-1.22-2.85-.86-5.03.41-6.91a10 10 0 0 1 2.95-2.74 46 46 0 0 0-5.44-2.03c-.66-.2-1.01-.3-1.37-.61-1.07-.87-.86-1.32-.46-2.34.1-.25.3-.7.3-1.67.06-2.7.41-4.37.77-5.9.25-1.16.5-2.18.5-3.6 0-.15-2.28-1.22-4.87-2.74-1.27-.76-2.59-1.53-3.86-2.34v41.64c0 .76.71 1.17 1.53 1.42q4.39 1.23 8.78 2.14c.4-5.94 1.83-7.47 2.7-8.43.3-.36.4-.46-1.94-5.8z"}),/* @__PURE__ */e.createElement("path",{fill:"#8ee2e7",d:"M52.14 76.16c-1.32-.05-2.59-1.02-3.55-2.28-.97-1.27-1.73-3-1.78-4.22v-.56c-.1-1.93-.26-5.79-1.32-7.41-.26-.36-.66-.46-1.32 0-3.6 2.33-6 1.67-8.99.35-1.63.92-3 1.88-3.8 3-.67.96-.82 2.13-.11 3.76 3.2 7.26 2.8 7.72 1.32 9.29-.61.66-1.52 1.68-1.83 6.65V85a142 142 0 0 0 25.3 2.23V75.09l-.06.05c-1.52.66-2.84 1.17-3.86 1.12z"}),/* @__PURE__ */e.createElement("path",{fill:"#00c0ca",d:"M30 31.07a2.4 2.4 0 0 0-2.44 2.43L30 39l2.44-5.49A2.4 2.4 0 0 0 30 31.07"}),/* @__PURE__ */e.createElement("path",{fill:"#beeef0",d:"M47.52 41.73a2.4 2.4 0 0 0-2.44 2.44l2.44 5.48 2.44-5.48a2.4 2.4 0 0 0-2.44-2.44"}),/* @__PURE__ */e.createElement("path",{fill:"#018990",d:"M23.65 60.01a2.4 2.4 0 0 1 2.44 2.44l-2.44 5.48-2.44-5.48A2.4 2.4 0 0 1 23.65 60"})),/* @__PURE__ */e.createElement("defs",null,/* @__PURE__ */e.createElement("clipPath",{id:"clip0_9177_567"},/* @__PURE__ */e.createElement("path",{fill:"#fff",d:"M4 4h104v104H4z"}))));export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";const l=l=>/* @__PURE__ */e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:112,height:112,fill:"none",viewBox:"0 0 112 112",...l},/* @__PURE__ */e.createElement("circle",{cx:56,cy:56,r:56,fill:"#edf9fa"}),/* @__PURE__ */e.createElement("path",{fill:"#8ee2e7",d:"M19 25a4 4 0 0 1 4-4h35l13 14v48a4 4 0 0 1-4 4H23a4 4 0 0 1-4-4z"}),/* @__PURE__ */e.createElement("path",{fill:"#2fcbd4",d:"M71 35 58 21v14z"}),/* @__PURE__ */e.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M62.
|
|
1
|
+
import*as e from"react";const l=l=>/* @__PURE__ */e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:112,height:112,fill:"none",viewBox:"0 0 112 112",...l},/* @__PURE__ */e.createElement("circle",{cx:56,cy:56,r:56,fill:"#edf9fa"}),/* @__PURE__ */e.createElement("path",{fill:"#8ee2e7",d:"M19 25a4 4 0 0 1 4-4h35l13 14v48a4 4 0 0 1-4 4H23a4 4 0 0 1-4-4z"}),/* @__PURE__ */e.createElement("path",{fill:"#2fcbd4",d:"M71 35 58 21v14z"}),/* @__PURE__ */e.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M62.56 44H40.44c-.8 0-1.44-.65-1.44-1.44v-.12c0-.8.65-1.44 1.44-1.44h22.12c.8 0 1.44.65 1.44 1.44v.12c0 .8-.65 1.44-1.44 1.44m0 11H40.44c-.8 0-1.44-.65-1.44-1.44v-.12c0-.8.65-1.44 1.44-1.44h22.12c.8 0 1.44.65 1.44 1.44v.12c0 .8-.65 1.44-1.44 1.44m0 11H40.44c-.8 0-1.44-.65-1.44-1.44v-.12c0-.8.65-1.44 1.44-1.44h22.12c.8 0 1.44.65 1.44 1.44v.12c0 .8-.65 1.44-1.44 1.44m0 11H40.44c-.8 0-1.44-.65-1.44-1.44v-.12c0-.8.65-1.44 1.44-1.44h22.12c.8 0 1.44.65 1.44 1.44v.12c0 .8-.65 1.44-1.44 1.44",clipRule:"evenodd"}),/* @__PURE__ */e.createElement("path",{fill:"#026d72",d:"m29.87 44.57 3.17-3.17-.63-.63-2.54 2.54-1.28-1.28-.63.63zM30.5 47a4.4 4.4 0 0 1-3.18-1.32 4.5 4.5 0 0 1-.97-4.94A4.5 4.5 0 0 1 30.5 38a4.4 4.4 0 0 1 3.18 1.32 4.6 4.6 0 0 1 .97 4.94 4.6 4.6 0 0 1-2.4 2.39q-.81.35-1.75.35m-.63 8.57 3.17-3.17-.63-.63-2.54 2.54-1.28-1.28-.63.63zM30.5 58a4.4 4.4 0 0 1-3.18-1.32 4.5 4.5 0 0 1-.97-4.94A4.5 4.5 0 0 1 30.5 49a4.4 4.4 0 0 1 3.18 1.32 4.6 4.6 0 0 1 .97 4.94 4.6 4.6 0 0 1-2.4 2.39q-.81.35-1.75.35m-.63 8.57 3.17-3.17-.63-.63-2.54 2.54-1.28-1.28-.63.63zM30.5 69a4.4 4.4 0 0 1-3.18-1.32 4.5 4.5 0 0 1-.97-4.94A4.5 4.5 0 0 1 30.5 60a4.4 4.4 0 0 1 3.18 1.32 4.6 4.6 0 0 1 .97 4.93 4.6 4.6 0 0 1-2.4 2.4q-.81.35-1.75.35m-.63 8.57 3.17-3.17-.63-.63-2.54 2.54-1.28-1.28-.63.63zM30.5 80a4.4 4.4 0 0 1-3.18-1.32 4.5 4.5 0 0 1-.97-4.94A4.5 4.5 0 0 1 30.5 71a4.4 4.4 0 0 1 3.18 1.32 4.6 4.6 0 0 1 .97 4.94 4.6 4.6 0 0 1-2.4 2.39q-.81.35-1.75.35"}),/* @__PURE__ */e.createElement("path",{fill:"#00c0ca",d:"M79.02 84.3a22.5 22.5 0 1 0 0-45.02 22.5 22.5 0 0 0 0 45.01"}),/* @__PURE__ */e.createElement("path",{fill:"#fff",d:"M79 79.39a17.38 17.38 0 1 0 0-34.77 17.38 17.38 0 0 0 0 34.77"}),/* @__PURE__ */e.createElement("path",{fill:"#00c0ca",d:"M79 73.26a11.25 11.25 0 1 0 0-22.5 11.25 11.25 0 0 0 0 22.5"}),/* @__PURE__ */e.createElement("path",{fill:"#fff",d:"M79 67.12a5.1 5.1 0 1 0 0-10.22 5.1 5.1 0 0 0 0 10.22"}),/* @__PURE__ */e.createElement("path",{fill:"#026d72",d:"M98.65 42.35V35.4l-3.93 3.93v6.94h6.94l3.94-3.93z"}),/* @__PURE__ */e.createElement("path",{fill:"#026d72",d:"M92.1 48.9v-6.94l-3.92 3.93v6.93h6.93l3.93-3.93z"}),/* @__PURE__ */e.createElement("path",{fill:"#026d72",d:"M79 62.4a.4.4 0 0 1-.29-.11.4.4 0 0 1 0-.59l23.32-23.3a.4.4 0 0 1 .59 0c.16.15.16.4 0 .58L79.3 62.3a.4.4 0 0 1-.3.12z"}));export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";const l=l=>/* @__PURE__ */e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:112,height:112,fill:"none",viewBox:"0 0 112 112",...l},/* @__PURE__ */e.createElement("circle",{cx:56,cy:56,r:56,fill:"#edf9fa"}),/* @__PURE__ */e.createElement("path",{fill:"#018990",fillRule:"evenodd",d:"M42.
|
|
1
|
+
import*as e from"react";const l=l=>/* @__PURE__ */e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:112,height:112,fill:"none",viewBox:"0 0 112 112",...l},/* @__PURE__ */e.createElement("circle",{cx:56,cy:56,r:56,fill:"#edf9fa"}),/* @__PURE__ */e.createElement("path",{fill:"#018990",fillRule:"evenodd",d:"M42.68 51.04a6.24 6.24 0 0 1-6.23-6.26 6.24 6.24 0 0 1 6.23-6.26c3.44 0 6.22 2.8 6.22 6.26a6.24 6.24 0 0 1-6.22 6.26m18.68-3.43v-5.66l-4.44-1.13a15 15 0 0 0-1.39-3.36l2.35-3.96-3.99-4-3.93 2.35a15 15 0 0 0-3.34-1.39L45.5 26h-5.63l-1.12 4.46q-1.77.5-3.34 1.4l-3.94-2.36-3.98 4 2.34 3.96a15 15 0 0 0-1.38 3.36L24 41.95v5.66l4.44 1.13q.5 1.79 1.38 3.36l-2.34 3.96 3.98 4 3.94-2.35q1.57.89 3.34 1.39l1.12 4.46h5.63l1.13-4.46q1.77-.5 3.34-1.4l3.93 2.36 3.99-4-2.35-3.96a15 15 0 0 0 1.39-3.36z",clipRule:"evenodd"}),/* @__PURE__ */e.createElement("path",{fill:"#026d72",fillRule:"evenodd",d:"M70.65 74.37a5.8 5.8 0 0 1-5.78-5.82 5.8 5.8 0 0 1 5.78-5.81 5.8 5.8 0 0 1 5.78 5.81 5.8 5.8 0 0 1-5.78 5.82M88 71.18v-5.26l-4.12-1.05q-.46-1.66-1.29-3.12l2.18-3.67-3.7-3.72-3.66 2.18q-1.45-.82-3.1-1.29l-1.05-4.14h-5.23l-1.05 4.14q-1.64.45-3.1 1.3l-3.65-2.2-3.7 3.73 2.17 3.67q-.83 1.46-1.28 3.12l-4.13 1.05v5.26l4.13 1.06q.45 1.65 1.28 3.11l-2.17 3.68 3.7 3.72 3.65-2.19q1.46.84 3.1 1.3L68.03 86h5.23l1.05-4.15q1.65-.46 3.1-1.29l3.66 2.19 3.7-3.72-2.18-3.68q.83-1.46 1.29-3.11z",clipRule:"evenodd"}),/* @__PURE__ */e.createElement("path",{fill:"#8ee2e7",fillRule:"evenodd",d:"m72.52 43.09-6.86-1.33 7.26-8.28q-.97-.15-1.99-.15a12.5 12.5 0 0 0-12.46 12.53 12.5 12.5 0 0 0 12.46 12.53 12.5 12.5 0 0 0 12.38-13.97z",clipRule:"evenodd"}),/* @__PURE__ */e.createElement("path",{fill:"#8ee2e7",fillRule:"evenodd",d:"m72.52 43.09-12.9-2.5a12.5 12.5 0 0 0-.21 10.06l-27.66 25.8a6.8 6.8 0 0 0 8.67 8.5l.36-.12 25.48-27.35q2.18.9 4.67.91A12.5 12.5 0 0 0 83.4 45.86c0-3.76-1.65-7.13-4.26-9.43z",clipRule:"evenodd"}),/* @__PURE__ */e.createElement("path",{fill:"#01a4ad",fillRule:"evenodd",d:"m59.38 60.1-2.7-2.73 2.7-2.73 2.72 2.73z",clipRule:"evenodd"}));export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as a from"react";const l=l=>/* @__PURE__ */a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:112,height:112,fill:"none",viewBox:"0 0 112 112",...l},/* @__PURE__ */a.createElement("circle",{cx:56,cy:56,r:56,fill:"#edf9fa"}),/* @__PURE__ */a.createElement("path",{fill:"#01a4ad",d:"M62.2 27.
|
|
1
|
+
import*as a from"react";const l=l=>/* @__PURE__ */a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:112,height:112,fill:"none",viewBox:"0 0 112 112",...l},/* @__PURE__ */a.createElement("circle",{cx:56,cy:56,r:56,fill:"#edf9fa"}),/* @__PURE__ */a.createElement("path",{fill:"#01a4ad",d:"M62.2 27.12a.9.9 0 0 1 1.3-.22l-.54.75.54-.75.03.02.08.06A15 15 0 0 1 64.85 28c.8.71 1.87 1.76 2.98 3.1a22.5 22.5 0 0 1 5.1 11.1l.06.46.01.1a.93.93 0 0 1-1.85.1c-.5-4.44-2.67-8.05-4.75-10.58a26 26 0 0 0-3.9-3.82l-.06-.04-.02-.01a.9.9 0 0 1-.21-1.3m2.27-5.44a.9.9 0 0 1 1.26-.35l-.4.7.4-.7h.02q0 .02.03.02l.47.3q.5.3 1.33.9a32 32 0 0 1 4.07 3.5c3 3.07 6.23 7.67 6.84 13.65a.93.93 0 1 1-1.84.18c-.55-5.4-3.47-9.63-6.32-12.54a30 30 0 0 0-5.4-4.33l-.08-.05-.02-.02a.9.9 0 0 1-.36-1.26M24.52 65.33c.5-.11 1 .2 1.1.7l.03.08.09.31q.11.41.4 1.14c.37.96.98 2.25 1.9 3.58A14 14 0 0 0 38 77.23a.93.93 0 0 1-.24 1.83 15.8 15.8 0 0 1-11.23-6.86 20 20 0 0 1-2.68-5.71l-.01-.03v-.01l.9-.22-.9.21a.9.9 0 0 1 .69-1.1m-6.64 3.23c.5-.13 1 .17 1.13.67v.02l.16.5q.17.54.57 1.48a23 23 0 0 0 2.68 4.63 19.4 19.4 0 0 0 13.8 7.79.93.93 0 0 1-.2 1.84 21.2 21.2 0 0 1-15.08-8.52 25 25 0 0 1-3.67-7.1l-.04-.13v-.03l-.01-.01.9-.24-.9.23c-.13-.5.17-1 .66-1.13"}),/* @__PURE__ */a.createElement("path",{fill:"#2fcbd4",d:"M51.77 56.28c.46.61.12.94-.16 1.23-.55.56-.94.22-1.1.05L34.4 41.39a3.9 3.9 0 0 0-4.84-.6 3.8 3.8 0 0 0-.6 5.81l15.98 16.03c.42.43.42 1-.13 1.53-.54.53-.91.56-1.37.2l-10.29-8.41a3.86 3.86 0 0 0-4.87-.1 3.8 3.8 0 0 0 0 5.84l10.76 8.8 8.16 8.25c5.67 5.28 8.3 10.36 15.5 11.07 7.18.72 14.67-5.18 20.13-11.07 5.47-5.9 5.66-13.83 4.46-18.08-1.48-5.21-.28-14.21.27-17.63.17-1.04-.46-2.1-1.48-2.3-2.26-.44-5.29 1.41-8.17 5.63-3.72 5.4-2.15 13.08-3.77 11.45-1.62-1.62-7.09-9.22-7.09-9.22L55.44 29.13a3.9 3.9 0 0 0-4.55-1.77 3.8 3.8 0 0 0-1.98 5.5l10.68 17.92c.22.37.09.88-.5 1.25-.6.37-1.02.12-1.26-.2L42.39 31.15a3.9 3.9 0 0 0-4.71-1.28 3.8 3.8 0 0 0-1.4 5.67z"}),/* @__PURE__ */a.createElement("path",{fill:"#01a4ad",d:"M82.83 78.75c-5.47 5.89-12.95 11.78-20.14 11.07-5.13-.5-7.94-3.24-11.2-6.7 2.38 2.2 4.9 3.8 8.7 4.18 7.19.7 14.67-5.18 20.14-11.07S86 62.4 84.8 58.15c-1.45-5.12-.32-13.91.25-17.45q.54-.05 1.04.04c1.02.2 1.64 1.26 1.48 2.3-.55 3.42-1.75 12.42-.27 17.63 1.2 4.25 1.01 12.2-4.46 18.08"}),/* @__PURE__ */a.createElement("path",{fill:"#01a4ad",d:"M68.86 60.7a.93.93 0 0 1 1.6.91v.02l-.16.3q-.16.31-.42.92c-.32.8-.71 1.91-.94 3.19-.46 2.48-.32 5.44 1.77 7.91l.21.24.06.07a.92.92 0 0 1-1.42 1.17c-2.84-3.11-2.97-6.87-2.44-9.73a18 18 0 0 1 1.67-4.89l.05-.08v-.02z"}));export{l as default};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type DoughnutCardProps = {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Shared clipped surface for score summaries.
|
|
7
|
+
*
|
|
8
|
+
* Figma provenance: Doughnut card instances `12819:67597` and
|
|
9
|
+
* `13154:221906` (component key `269038bfd4fe010322dadf5cbad03883d044cf4a`).
|
|
10
|
+
* Consumers own the header, content, indicator data and accessible name.
|
|
11
|
+
*/
|
|
12
|
+
export declare const DoughnutCard: (props: DoughnutCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{jsxs as o,jsx as i}from"react/jsx-runtime";import{useTheme as r,Stack as t,Box as e}from"@mui/material";const n=n=>{const d=r(),s=d.custom.strokes.containerDivider;/* @__PURE__ */
|
|
2
|
+
return o(t,{alignItems:"center",sx:{position:"relative",isolation:"isolate",boxSizing:"border-box",width:d.custom.doughnutCard.width,minWidth:d.custom.doughnutCard.width,flexShrink:0,overflow:"hidden",backgroundColor:d.custom.grey[100],borderRadius:d.spacing(1.5),boxShadow:d.custom.shadows.grey},children:[n.children,
|
|
3
|
+
/* @__PURE__ */i(e,{"aria-hidden":!0,sx:{position:"absolute",inset:0,border:`${s.width} ${s.style} ${s.color}`,borderRadius:"inherit",boxSizing:"border-box",pointerEvents:"none"}})]})};export{n as DoughnutCard};
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{Stack as
|
|
2
|
-
return e(
|
|
3
|
-
/* @__PURE__ */t(
|
|
4
|
-
/* @__PURE__ */t(a,{selectedItem:c,setSelectedItem:s.setSelectedItem,optionsProps:
|
|
5
|
-
return e
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */t(r,{variant:"h3",children:c?.group}),
|
|
8
|
-
/* @__PURE__ */t(r,{variant:"body",children:c?.label})]}),
|
|
9
|
-
/* @__PURE__ */t(a,{selectedItem:c,setSelectedItem:s.setSelectedItem,optionsProps:l,variant:d,orientation:m})]})},g={noExtraSpacing:!1},h=n=>{const{selectedItemId:r,options:o,variant:a="primary",orientation:l="vertical",extraStyle:p={}}=n,h={...g,...p},x=Object.groupBy(o,e=>e.group),u={content:Object.entries(x).flatMap(([e,t])=>t?[{header:e,options:t}]:[]),onChange:()=>{}},[v,I]=s(null),y=e=>{const t=o.find(t=>t.id===e);I(t??null)};return c(()=>{if(void 0===r)return o.length>0?void I(o[0]):void 0;y(r)},[r,o,y]),/* @__PURE__ */e(i,{flexDirection:"row",justifyContent:"space-between",position:"relative",children:["primary"===a&&/* @__PURE__ */t(d,{selectedItem:v,setSelectedItem:y,optionsProps:u,orientation:l,variant:a,extraStyle:h}),"secondary"===a&&"vertical"===l&&/* @__PURE__ */t(m,{selectedItem:v,setSelectedItem:y,optionsProps:u,orientation:l,variant:a,extraStyle:h}),"secondary"===a&&"horizontal"===l&&
|
|
10
|
-
/* @__PURE__ */t(d,{selectedItem:v,setSelectedItem:y,optionsProps:u,orientation:l,variant:"primary",extraStyle:h})]})};export{h as ScoreCardHeader};
|
|
1
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{Stack as o,useTheme as r,Typography as i,Box as n}from"@mui/material";import{ValueSwitcher as a}from"./ValueSwitcher/ValueSwitcher.js";import{useState as s,useEffect as c}from"react";import{ScoreSelectLayout as l}from"../../../Select/ScoreSelect/ScoreSelectLayout.js";const p=(e,t)=>({padding:t.noExtraSpacing?"none":e.spacing(2,4),justifyContent:"space-between"}),d=s=>{const{selectedItem:c,optionsProps:l,variant:d,orientation:m,extraStyle:u}=s,S=r();/* @__PURE__ */
|
|
2
|
+
return e(o,{sx:p(S,u),flexDirection:"horizontal"===m?"row":"column",divider:"horizontal"===m&&/* @__PURE__ */t(n,{sx:{borderLeft:`${S.custom.strokes.containerDivider.width} ${S.custom.strokes.containerDivider.style} ${S.custom.grey[500]}`,height:"100%",marginInline:S.spacing()}}),children:[
|
|
3
|
+
/* @__PURE__ */t(o,{gap:S.spacing(1),children:/* @__PURE__ */t(i,{variant:"h3",children:c?.group})}),
|
|
4
|
+
/* @__PURE__ */t(a,{selectedItem:c,setSelectedItem:s.setSelectedItem,optionsProps:l,variant:d,orientation:m})]})},m=e=>{const{selectedItem:o,optionsProps:r,variant:i,orientation:n}=e;/* @__PURE__ */
|
|
5
|
+
return t(l,{title:o?.group??"",subtitle:o?.label,action:/* @__PURE__ */t(a,{selectedItem:o,setSelectedItem:e.setSelectedItem,optionsProps:r,variant:i,orientation:n}),boxed:!1,compact:!1})},u={noExtraSpacing:!1},S=r=>{const{selectedItemId:i,options:n,variant:a="primary",orientation:l="vertical",extraStyle:p={}}=r,S={...u,...p},v=Object.groupBy(n,e=>e.group),I={content:Object.entries(v).flatMap(([e,t])=>t?[{header:e,options:t}]:[]),onChange:()=>{}},[g,h]=s(null),y=e=>{const t=n.find(t=>t.id===e);h(t??null)};return c(()=>{if(void 0===i)return n.length>0?void h(n[0]):void 0;y(i)},[i,n,y]),/* @__PURE__ */e(o,{flexDirection:"row",justifyContent:"space-between",position:"relative",children:["primary"===a&&/* @__PURE__ */t(d,{selectedItem:g,setSelectedItem:y,optionsProps:I,orientation:l,variant:a,extraStyle:S}),"secondary"===a&&"vertical"===l&&/* @__PURE__ */t(m,{selectedItem:g,setSelectedItem:y,optionsProps:I,orientation:l,variant:a,extraStyle:S}),"secondary"===a&&"horizontal"===l&&
|
|
6
|
+
/* @__PURE__ */t(d,{selectedItem:g,setSelectedItem:y,optionsProps:I,orientation:l,variant:"primary",extraStyle:S})]})};export{S as ScoreCardHeader};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type FilledScoreValueProps = {
|
|
2
|
+
value: number | string;
|
|
3
|
+
unit: string;
|
|
4
|
+
emptyLabel?: never;
|
|
5
|
+
};
|
|
6
|
+
type EmptyScoreValueProps = {
|
|
7
|
+
value: null;
|
|
8
|
+
unit: string;
|
|
9
|
+
emptyLabel: string;
|
|
10
|
+
};
|
|
11
|
+
export type ScoreValueProps = FilledScoreValueProps | EmptyScoreValueProps;
|
|
12
|
+
export declare const ScoreValue: (props: ScoreValueProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{jsxs as e,jsx as r}from"react/jsx-runtime";import{useTheme as i,Stack as o,Box as t,Typography as n}from"@mui/material";import{FoodsIcon as c}from"../Icons/FoodsIcon.js";const a=a=>{const l=i();/* @__PURE__ */
|
|
2
|
+
return e(o,{direction:"row",sx:{alignItems:"flex-end",color:l.custom.grey[100],display:"inline-flex",gap:l.spacing(1),whiteSpace:"nowrap",width:"fit-content",wordBreak:"break-word"},children:[null===a.value?/* @__PURE__ */r(t,{role:"img","aria-label":a.emptyLabel,sx:{alignItems:"center",backgroundColor:l.custom.grey[400],borderRadius:l.spacing(.5),color:l.custom.grey[1400],display:"flex",flexShrink:0,height:l.custom.scoreValue.emptyIndicator.size,justifyContent:"center",width:l.custom.scoreValue.emptyIndicator.size},children:/* @__PURE__ */r(c,{icon:"empty",size:l.custom.scoreValue.emptyIndicator.iconSize})}):/* @__PURE__ */r(n,{variant:"number-big",color:"inherit",children:a.value}),
|
|
3
|
+
/* @__PURE__ */r(n,{variant:"big-regular",color:"inherit",children:a.unit})]})};export{a as ScoreValue};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { MouseEventHandler } from 'react';
|
|
2
|
+
type CommonScoreSelectProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
};
|
|
6
|
+
type StaticScoreSelectProps = {
|
|
7
|
+
onOpen?: never;
|
|
8
|
+
open?: never;
|
|
9
|
+
actionControls?: never;
|
|
10
|
+
actionAriaLabel?: never;
|
|
11
|
+
disabled?: never;
|
|
12
|
+
};
|
|
13
|
+
type InteractiveScoreSelectProps = {
|
|
14
|
+
onOpen: MouseEventHandler<HTMLElement>;
|
|
15
|
+
open: boolean;
|
|
16
|
+
actionControls: string;
|
|
17
|
+
actionAriaLabel: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
};
|
|
20
|
+
export type ScoreSelectProps = CommonScoreSelectProps & (StaticScoreSelectProps | InteractiveScoreSelectProps);
|
|
21
|
+
/**
|
|
22
|
+
* Compact boxed score heading.
|
|
23
|
+
*
|
|
24
|
+
* Figma provenance: Score select instances `12819:67598` and `13154:221907`.
|
|
25
|
+
* Selection state and menu content remain owned by the consumer.
|
|
26
|
+
*/
|
|
27
|
+
export declare const ScoreSelect: (props: ScoreSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{ScoreSelectLayout as t}from"./ScoreSelectLayout.js";import{FoodsIconButton as e}from"../../Button/FoodsIconButton.js";const n=n=>{const{title:i,subtitle:r}=n;let a;if(void 0!==n.onOpen){const t=n.onOpen;a=/* @__PURE__ */o(e,{size:"s",icon:"arrowDownShort",buttonProps:{type:"button","aria-controls":n.open?n.actionControls:void 0,"aria-expanded":n.open,"aria-haspopup":"menu","aria-label":n.actionAriaLabel,disabled:n.disabled,onClick:t}})}/* @__PURE__ */
|
|
2
|
+
return o(t,{title:i,subtitle:r,action:a,boxed:!0,compact:!0})};export{n as ScoreSelect};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type ScoreSelectLayoutProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
action?: ReactNode;
|
|
6
|
+
boxed: boolean;
|
|
7
|
+
compact: boolean;
|
|
8
|
+
};
|
|
9
|
+
/** Shared visual core for the canonical ScoreSelect and its legacy ScoreCardHeader adapter. */
|
|
10
|
+
export declare const ScoreSelectLayout: (props: ScoreSelectLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{jsxs as i,jsx as t}from"react/jsx-runtime";import{useTheme as e,Stack as r,Box as o,Typography as n}from"@mui/material";const s=s=>{const{title:d,subtitle:a,action:c,boxed:l,compact:p}=s,h=e(),b=h.custom.strokes.containerDivider;/* @__PURE__ */
|
|
2
|
+
return i(r,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{position:"relative",...l&&{backgroundColor:h.custom.grey[200],borderTopLeftRadius:h.spacing(1.5),borderTopRightRadius:h.spacing(1.5)},boxSizing:"border-box",padding:h.spacing(2,2,2,3),width:"100%"},children:[l&&/* @__PURE__ */t(o,{"aria-hidden":!0,sx:{position:"absolute",inset:0,border:`${b.width} ${b.style} ${b.color}`,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",boxSizing:"border-box",pointerEvents:"none"}}),
|
|
3
|
+
/* @__PURE__ */i(r,{gap:h.spacing(p?.25:.5),justifyContent:"center",sx:{flexGrow:1,minWidth:0},children:[
|
|
4
|
+
/* @__PURE__ */t(n,{variant:p?"h5":"h3",noWrap:!0,title:d,sx:{width:"100%"},children:d}),void 0!==a&&/* @__PURE__ */t(n,{variant:"body-regular",noWrap:!0,title:a,sx:{color:h.custom.grey[2500],width:"100%"},children:a})]}),void 0!==c&&/* @__PURE__ */t(o,{sx:{flexShrink:0},children:c})]})};export{s as ScoreSelectLayout};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ScoreSelect';
|
package/dist/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getThemeLogo as o,isTheme as t,themeLogos as r,themeOptions as m,themes as s}from"./themes/index.js";import{Button as n,Typography as e}from"@mui/material";import{AccordionProduct as i}from"./components/Accordion/ProductAccordion.js";import{AdditionalContentBox as p}from"./components/Box/AdditionalContentBox.js";import{AnchoredPopover as c,HeadlessPopover as a,ThemedPopover as f}from"./components/Popover/AnchoredPopover.js";import{Article as j}from"./components/CMS/ArticleBlock/Article.js";import{ArticlesBox as l}from"./components/CMS/ArticleBlock/ArticlesBox.js";import{Badge as d}from"./components/Badge/Badge.js";import{Banner as B}from"./components/Banner/Banner.js";import{BigPopoverLayout as C}from"./components/Popover/BigPopoverLayout.js";import{BlockItemContainer as u}from"./components/Layout/BlockList/Blocks/Container/BlockItemContainer.js";import{BlockItemInner as h}from"./components/Layout/BlockList/Blocks/Container/BlockItemInner.js";import{BlockListContainer as g}from"./components/Layout/BlockList/BlockListContainer.js";import{BottomSheetDialog as F}from"./components/Dialog/BottomSheetDialog.js";import{BoxStyled as T,SecondaryTabs as k}from"./components/Tabs/SecondaryTabs.js";import{BreadcrumbItem as x}from"./components/Navigation/Breadcrumbs/BreadcrumbItem.js";import{Breadcrumbs as P}from"./components/Navigation/Breadcrumbs/Breadcrumbs.js";import{BreakdownTable as I}from"./components/Chart/BreakdownTable/BreakdownTable.js";import{ButtonTabs as S}from"./components/Tabs/ButtonTabs.js";import{CardImage as y}from"./components/CardImage.js";import{CategoryBox as v}from"./components/Box/CategoryBox.js";import{CheckboxBlock as L}from"./components/Layout/BlockList/Blocks/InnerInputBlocks/CheckboxBlock.js";import{CollectiveTheme as b,CollectiveThemeOptions as N}from"./themes/themes/CollectiveTheme.js";import{ComingSoonBadge as A}from"./components/Badge/ComingSoonBadge.js";import{ComparisonArrow as H}from"./components/ComparisonBlock/ComparisonArrow.js";import{ComparisonBlock as R}from"./components/ComparisonBlock/ComparisonBlock.js";import{ComparisonLabel as G}from"./components/Chart/HistogramComparisonChart/ComparisonLabel.js";import{ConfirmDialog as w}from"./components/Form/FoodsFormBase/ConfirmDialog.js";import{ContextualContentBox as D}from"./components/Box/ContextualContentBox.js";import{CoordinatePopover as M}from"./components/Popover/CoordinatePopover.js";import{CountTabs as U}from"./components/Tabs/CountTabs/CountTabs.js";import{CustomRender as W}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/CustomRender.js";import{CustomToggleButton as E,TertiaryToggleButton as V}from"./components/Button/TertiaryToggleButton.js";import{CustomToggleButtonNodeTitle as z,TertiaryToggleButtonNodeTitle as O}from"./components/Button/TertiaryToggleButtonNodeTitle.js";import{CustomTypography as Q}from"./components/CustomTypography/CustomTypography.js";import{CustomizedAxisTick as q}from"./components/Chart/HistogramComparisonChart/CustomizedAxisTick.js";import{DefaultUserAction as J}from"./components/Navigation/FoodsNavBar/Plugin/DefaultUserAction.js";import{DottedBox as K}from"./components/Box/DottedBox.js";import{DoughnutChart as X}from"./components/Chart/DoughnutChart/DoughnutChart.js";import{DrawerAction as Y}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/DrawerAction.js";import{EcoScoreCell as Z}from"./components/Grid/Cell/EcoScoreCell.js";import{EditHeader as $}from"./components/Layout/BlockList/Headers/EditHeader.js";import{EllipsisItem as _}from"./components/Pagination/PageItems/EllipsisItem.js";import{EmptyForm as oo}from"./components/Layout/BlockList/Blocks/InnerInfoBlocks/EmptyForm.js";import{EvolutionChart as to}from"./components/Chart/EvolutionChart/EvolutionChart.js";import{FixedMultiValueFilter as ro}from"./components/Filter/FixedMultiValueFilter.js";import{FoodPilotTheme as mo,FoodpilotThemeOptions as so}from"./themes/themes/FoodPilotTheme.js";import{FoodsBadge as no}from"./components/Badge/FoodsBadge.js";import{FoodsCheckbox as eo}from"./components/Checkbox/FoodsCheckbox.js";import{FoodsFormBase as io}from"./components/Form/FoodsFormBase/FoodsFormBase.js";import{FoodsIcon as po}from"./components/Icons/FoodsIcon.js";import{FoodsIconButton as co}from"./components/Button/FoodsIconButton.js";import{FoodsIllustrations as ao}from"./components/Icons/FoodsIllustrations.js";import{FoodsNavbar as fo}from"./components/Navigation/FoodsNavBar/FoodsNavbar.js";import{FoodsPagination as jo}from"./components/Pagination/FoodsPagination.js";import{FoodsPaginationItem as lo}from"./components/Pagination/FoodsPaginationItem.js";import{FoodsRadioList as Bo}from"./components/Radio/FoodsRadioList.js";import{FoodsSearch as Co}from"./components/Search/FoodsSearch.js";import{FoodsSelect as uo,FoodsSelectServerPagination as ho}from"./components/Select/FoodsSelect/FoodsSelect.js";import{FoodsTabs as go,SpecialTabs as Fo}from"./components/Tabs/FoodsTabs/FoodsTabs.js";import{FoodsTags as To}from"./components/Tags/FoodsTags.js";import{FoodsTextInput as ko}from"./components/Form/FoodsFormFields/FoodsTextInput.js";import{FoodsThemeOptionsProvider as xo,FoodsThemeProvider as Po}from"./themes/FoodsThemeProvider.js";import{FoodsToggleButton as Io}from"./components/Button/FoodsToggleButton.js";import{FoodsTooltip as So}from"./components/Tooltip/FoodsTooltip.js";import{FoodsTreeview as yo}from"./components/Treeview/Treeview.js";import{FoodsUserTags as vo}from"./components/Tags/FoodsUserTags.js";import{FormAccordion as Lo}from"./components/Accordion/FormAccordion.js";import{FormBase as bo}from"./components/Form/FormBase.js";import{FormBaseContextProvider as No,useFormBaseContext as Ao}from"./components/Form/FoodsFormBase/FormBaseContext.js";import{FormBox as Ho}from"./components/Form/FormBox.js";import{FormPropertyBox as Ro}from"./components/Form/FormPropertyBox.js";import{FormTopBar as Go}from"./components/Form/FoodsFormBase/FormTopBar/FormTopBar.js";import{FormUnit as wo}from"./components/Form/FormUnit.js";import{GenericAccordion as Do}from"./components/Accordion/GenericAccordion.js";import{GreyTextCell as Mo}from"./components/Grid/Cell/GreyCell.js";import{HeaderNav as Uo,NavBarLink as Wo,Navbar as Eo,SubMenu as Vo,UserNav as zo}from"./components/Navigation/Navbar.js";import{HelperBox as Oo}from"./components/Box/HelperBox.js";import{HeroBlock as Qo}from"./components/CMS/HeroBlock/HeroBlock.js";import{HistogramComparisonChart as qo}from"./components/Chart/HistogramComparisonChart/HistogramComparisonChart.js";import{HorizontalGaugeChart as Jo}from"./components/Chart/HorizontalGauge/HorizontalGaugeChart.js";import{IconThread as Ko}from"./components/Navigation/IconThread.js";import{IndicatorBlock as Xo}from"./components/CMS/IndicatorBlock/IndicatorBlock.js";import{InfoBox as Yo}from"./components/Box/InfoBox.js";import{InfoHeaderWithIllustration as Zo}from"./components/Layout/InfoHeaderWithIllustration.js";import{InitHeader as $o}from"./components/Layout/BlockList/Headers/InitHeader.js";import{LeftComparisonPart as _o}from"./components/Layout/BlockList/Blocks/Common/LeftComparisonPart.js";import{LightIndicatorBlock as ot}from"./components/CMS/IndicatorBlock/LightIndicatorBlock.js";import{LineGroupBox as tt}from"./components/Box/LineGroupBox.js";import{LinearProgress as rt}from"./components/LinearProgress.js";import{LinkAction as mt}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/LinkAction.js";import{ListHeader as st}from"./components/Layout/BlockList/Headers/ListHeader.js";import{MRTGrid as nt}from"./components/Grid/MRTGrid.js";import{MultiValueFilter as et}from"./components/Filter/MultiValueFilter.js";import{NumberField as it}from"./components/Field/NumberField.js";import{NumberWithUnit as pt}from"./components/Number/NumberWithUnit.js";import{OptionsPopover as ct}from"./components/Popover/OptionsPopover.js";import{PageItem as at}from"./components/Pagination/PageItems/PageItem.js";import{PageUpAndDownItem as ft}from"./components/Pagination/PageItems/PageUpAndDownItem.js";import{FoodsPills as jt}from"./components/Input/Pills/Pills.js";import{PointsCell as lt}from"./components/Grid/Cell/PointsCell.js";import{PolymorphicChart as dt}from"./components/Chart/PolymorphicChart/PolymorphicChart.js";import{PolymorphicChartRenderer as Bt}from"./components/Chart/PolymorphicChart/PolymorphicChartRenderer.js";import{PrimaryCheckbox as Ct}from"./components/Checkbox/PrimaryCheckbox.js";import{PrimaryDialog as ut}from"./components/Dialog/PrimaryDialog.js";import{Progress as ht}from"./components/Progress/Progress.js";import{ProgressCard as gt}from"./components/ProgressCard/ProgressCard.js";import{QuoteBox as Ft}from"./components/Box/QuoteBox.js";import{RadioBlock as Tt}from"./components/Layout/BlockList/Blocks/InnerInputBlocks/RadioBlock.js";import{RadioBoolean as kt}from"./components/Radio/RadioBoolean.js";import{RadioList as xt}from"./components/Radio/RadioList.js";import{RichTextEditor as Pt}from"./components/RichTextEditor/RichTextEditor.js";import{RoundInput as It}from"./components/Input/RoundInput.js";import{RoundNumberInput as St}from"./components/Input/RoundNumberInput.js";import{ScatterPlot as yt}from"./components/Chart/ScatterPlot/ScatterPlot.js";import{Score as vt}from"./components/Number/Score.js";import{ScoreCard as Lt}from"./components/Cards/ScoreCard/ScoreCard.js";import{ScoreCardHeader as bt}from"./components/Cards/ScoreCard/Header/ScoreCardHeader.js";import{ScoreContainer as Nt}from"./components/Badge/ScoreContainer.js";import{SearchBox as At}from"./components/Input/SearchBox.js";import{SectionBox as Ht}from"./components/Box/SectionBox.js";import{SectionTabs as Rt}from"./components/Tabs/SectionTabs/SectionTabs.js";import{SeeMoreCard as Gt}from"./components/Cards/SeeMoreCard/SeeMoreCard.js";import{SelectBlock as wt}from"./components/Layout/BlockList/Blocks/InnerInputBlocks/SelectBlock.js";import{SelectionCard as Dt}from"./components/Cards/SelectionCard/SelectionCard.js";import{SelectionCardGroup as Mt}from"./components/Cards/SelectionCard/SelectionCardGroup.js";import{Separator as Ut}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/Separator.js";import{SolidGreyBox as Wt}from"./components/Box/SolidGreyBox.js";import{SpecialTab as Et}from"./components/Tabs/FoodsTabs/FoodsTabTemplate.js";import{SuggestionBlock as Vt}from"./components/Layout/BlockList/Blocks/InnerInfoBlocks/SuggestionBlock.js";import{TextArrowList as zt}from"./components/Text/TextArrowList.js";import{TextField as Ot}from"./components/Field/TextField.js";import{TextTitle as Qt}from"./components/Text/TextTitle.js";import{TextTitleGreyIcon as qt}from"./components/Text/TextTitleGreyIcon.js";import{Textarea as Jt}from"./components/Textarea/Textarea.js";import{ToggleSwitch as Kt}from"./components/ToggleSwitch/ToggleSwitch.js";import{TopLinkAction as Xt}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/TopLinkAction.js";import{TrajectoryCards as Yt}from"./components/Cards/TrajectoryCards/TrajectoryCards.js";import{TrajectoryChart as Zt}from"./components/Chart/TrajectoryChart/TrajectoryChart.js";import{TypographyList as $t}from"./components/CustomTypography/TypographyList.js";import{ValueDisplay as _t}from"./components/Layout/BlockList/Blocks/Common/ValueDisplay.js";import{ValueLabel as or}from"./components/Chart/HistogramComparisonChart/ValueLabel.js";import{ValueSwitcher as tr}from"./components/Cards/ScoreCard/Header/ValueSwitcher/ValueSwitcher.js";import{WarningBox as rr}from"./components/Box/WarningBox.js";import{WaterfallChart as mr}from"./components/Chart/WaterfallChart/WaterfallChart.js";import{WhiteBox as sr}from"./components/Box/WhiteBox.js";import{WhiteGrid as nr}from"./components/Box/WhiteGrid.js";import{WhitePopover as er}from"./components/Popover/WhitePopover.js";import{WhitePopoverOnIcon as ir}from"./components/Popover/WhitePopoverOnIcon.js";import{WinePilotTheme as pr,WinepilotThemeOptions as cr}from"./themes/themes/WinePilotTheme.js";import{allColors as ar,allMainColors as fr,blueTheme as jr,coralTheme as lr,dataVisualizationColors as dr,extraColors as Br,greenTheme as Cr,greyTheme as ur,orangeTheme as hr,redTheme as gr,shadows as Fr,yellowTheme as Tr}from"./themes/common/colors.js";import{allTypographyVariants as kr,deprecatedVariants as xr,typographyConfig as Pr}from"./themes/common/MUIComponents/typography.js";import{anyToCheckbox as Ir,checkboxToAny as Sr}from"./components/Checkbox/helperFunctions.js";import{breadcrumb as yr,custom as vr,numbers as Lr,strokes as br,tooltip as Nr}from"./themes/common/custom.js";import{components as Ar}from"./themes/common/components.js";import{computeSize as Hr,iconMapping as Rr}from"./components/Icons/iconConfig.js";import{illustationsMapping as Gr}from"./components/Icons/illustrationsConfig.js";import{spacing as wr}from"./themes/common/spacing.js";import{useResponsiveBreakpoints as Dr}from"./themes/responsive/useResponsiveBreakpoints.js";import{useResponsivePadding as Mr}from"./themes/responsive/useResponsivePadding.js";export{i as AccordionProduct,p as AdditionalContentBox,c as AnchoredPopover,j as Article,l as ArticlesBox,d as Badge,B as Banner,C as BigPopoverLayout,u as BlockItemContainer,h as BlockItemInner,g as BlockListContainer,F as BottomSheetDialog,T as BoxStyled,x as BreadcrumbItem,P as Breadcrumbs,I as BreakdownTable,n as Button,S as ButtonTabs,y as CardImage,v as CategoryBox,L as CheckboxBlock,b as CollectiveTheme,N as CollectiveThemeOptions,A as ComingSoonBadge,H as ComparisonArrow,R as ComparisonBlock,G as ComparisonLabel,w as ConfirmDialog,D as ContextualContentBox,M as CoordinatePopover,U as CountTabs,W as CustomRender,E as CustomToggleButton,z as CustomToggleButtonNodeTitle,Q as CustomTypography,q as CustomizedAxisTick,J as DefaultUserAction,K as DottedBox,X as DoughnutChart,Y as DrawerAction,Z as EcoScoreCell,$ as EditHeader,_ as EllipsisItem,oo as EmptyForm,to as EvolutionChart,ro as FixedMultiValueFilter,mo as FoodPilotTheme,so as FoodpilotThemeOptions,no as FoodsBadge,eo as FoodsCheckbox,io as FoodsFormBase,po as FoodsIcon,co as FoodsIconButton,ao as FoodsIllustrations,fo as FoodsNavbar,jo as FoodsPagination,lo as FoodsPaginationItem,Bo as FoodsRadioList,Co as FoodsSearch,uo as FoodsSelect,ho as FoodsSelectServerPagination,go as FoodsTabs,To as FoodsTags,ko as FoodsTextInput,xo as FoodsThemeOptionsProvider,Po as FoodsThemeProvider,Io as FoodsToggleButton,So as FoodsTooltip,yo as FoodsTreeview,vo as FoodsUserTags,Lo as FormAccordion,bo as FormBase,No as FormBaseContextProvider,Ho as FormBox,Ro as FormPropertyBox,Go as FormTopBar,wo as FormUnit,Do as GenericAccordion,Mo as GreyTextCell,Uo as HeaderNav,a as HeadlessPopover,Oo as HelperBox,Qo as HeroBlock,qo as HistogramComparisonChart,Jo as HorizontalGaugeChart,Ko as IconThread,Xo as IndicatorBlock,Yo as InfoBox,Zo as InfoHeaderWithIllustration,$o as InitHeader,_o as LeftComparisonPart,ot as LightIndicatorBlock,tt as LineGroupBox,rt as LinearProgress,mt as LinkAction,st as ListHeader,nt as MRTGrid,et as MultiValueFilter,Wo as NavBarLink,Eo as Navbar,it as NumberField,pt as NumberWithUnit,ct as OptionsPopover,at as PageItem,ft as PageUpAndDownItem,jt as Pills,lt as PointsCell,dt as PolymorphicChart,Bt as PolymorphicChartRenderer,Ct as PrimaryCheckbox,ut as PrimaryDialog,ht as Progress,gt as ProgressCard,Ft as QuoteBox,Tt as RadioBlock,kt as RadioBoolean,xt as RadioList,Pt as RichTextEditor,It as RoundInput,St as RoundNumberInput,yt as ScatterPlot,vt as Score,Lt as ScoreCard,bt as ScoreCardHeader,Nt as ScoreContainer,At as SearchBox,k as SecondaryTabs,Ht as SectionBox,Rt as SectionTabs,Gt as SeeMoreCard,wt as SelectBlock,Dt as SelectionCard,Mt as SelectionCardGroup,Ut as Separator,Wt as SolidGreyBox,Et as SpecialTab,Fo as SpecialTabs,Vo as SubMenu,Vt as SuggestionBlock,V as TertiaryToggleButton,O as TertiaryToggleButtonNodeTitle,zt as TextArrowList,Ot as TextField,Qt as TextTitle,qt as TextTitleGreyIcon,Jt as Textarea,f as ThemedPopover,Kt as ToggleSwitch,Xt as TopLinkAction,Yt as TrajectoryCards,Zt as TrajectoryChart,e as Typography,$t as TypographyList,zo as UserNav,_t as ValueDisplay,or as ValueLabel,tr as ValueSwitcher,rr as WarningBox,mr as WaterfallChart,sr as WhiteBox,nr as WhiteGrid,er as WhitePopover,ir as WhitePopoverOnIcon,pr as WinePilotTheme,cr as WinepilotThemeOptions,ar as allColors,fr as allMainColors,kr as allTypographyVariants,Ir as anyToCheckbox,jr as blueTheme,yr as breadcrumb,Sr as checkboxToAny,Ar as components,Hr as computeSize,lr as coralTheme,vr as custom,dr as dataVisualizationColors,xr as deprecatedVariants,Br as extraColors,o as getThemeLogo,Cr as greenTheme,ur as greyTheme,Rr as iconMapping,Gr as illustationsMapping,t as isTheme,Lr as numbers,hr as orangeTheme,gr as redTheme,Fr as shadows,wr as spacing,br as strokes,r as themeLogos,m as themeOptions,s as themes,Nr as tooltip,Pr as typographyConfig,Ao as useFormBaseContext,Dr as useResponsiveBreakpoints,Mr as useResponsivePadding,Tr as yellowTheme};
|
|
1
|
+
import{getThemeLogo as o,isTheme as r,themeLogos as t,themeOptions as m,themes as s}from"./themes/index.js";import{Button as n,Typography as e}from"@mui/material";import{AccordionProduct as i}from"./components/Accordion/ProductAccordion.js";import{AdditionalContentBox as p}from"./components/Box/AdditionalContentBox.js";import{AnchoredPopover as c,HeadlessPopover as a,ThemedPopover as f}from"./components/Popover/AnchoredPopover.js";import{Article as j}from"./components/CMS/ArticleBlock/Article.js";import{ArticlesBox as l}from"./components/CMS/ArticleBlock/ArticlesBox.js";import{Badge as d}from"./components/Badge/Badge.js";import{Banner as B}from"./components/Banner/Banner.js";import{BigPopoverLayout as C}from"./components/Popover/BigPopoverLayout.js";import{BlockItemContainer as u}from"./components/Layout/BlockList/Blocks/Container/BlockItemContainer.js";import{BlockItemInner as h}from"./components/Layout/BlockList/Blocks/Container/BlockItemInner.js";import{BlockListContainer as g}from"./components/Layout/BlockList/BlockListContainer.js";import{BottomSheetDialog as F}from"./components/Dialog/BottomSheetDialog.js";import{BoxStyled as T,SecondaryTabs as k}from"./components/Tabs/SecondaryTabs.js";import{BreadcrumbItem as x}from"./components/Navigation/Breadcrumbs/BreadcrumbItem.js";import{Breadcrumbs as S}from"./components/Navigation/Breadcrumbs/Breadcrumbs.js";import{BreakdownTable as P}from"./components/Chart/BreakdownTable/BreakdownTable.js";import{ButtonTabs as I}from"./components/Tabs/ButtonTabs.js";import{CardImage as y}from"./components/CardImage.js";import{CategoryBox as v}from"./components/Box/CategoryBox.js";import{CheckboxBlock as L}from"./components/Layout/BlockList/Blocks/InnerInputBlocks/CheckboxBlock.js";import{CollectiveTheme as b,CollectiveThemeOptions as N}from"./themes/themes/CollectiveTheme.js";import{ComingSoonBadge as A}from"./components/Badge/ComingSoonBadge.js";import{ComparisonArrow as H}from"./components/ComparisonBlock/ComparisonArrow.js";import{ComparisonBlock as R}from"./components/ComparisonBlock/ComparisonBlock.js";import{ComparisonLabel as D}from"./components/Chart/HistogramComparisonChart/ComparisonLabel.js";import{ConfirmDialog as G}from"./components/Form/FoodsFormBase/ConfirmDialog.js";import{ContextualContentBox as w}from"./components/Box/ContextualContentBox.js";import{CoordinatePopover as M}from"./components/Popover/CoordinatePopover.js";import{CountTabs as U}from"./components/Tabs/CountTabs/CountTabs.js";import{CustomRender as W}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/CustomRender.js";import{CustomToggleButton as E,TertiaryToggleButton as V}from"./components/Button/TertiaryToggleButton.js";import{CustomToggleButtonNodeTitle as z,TertiaryToggleButtonNodeTitle as O}from"./components/Button/TertiaryToggleButtonNodeTitle.js";import{CustomTypography as Q}from"./components/CustomTypography/CustomTypography.js";import{CustomizedAxisTick as q}from"./components/Chart/HistogramComparisonChart/CustomizedAxisTick.js";import{DefaultUserAction as J}from"./components/Navigation/FoodsNavBar/Plugin/DefaultUserAction.js";import{DottedBox as K}from"./components/Box/DottedBox.js";import{DoughnutCard as X}from"./components/Cards/DoughnutCard/DoughnutCard.js";import{DoughnutChart as Y}from"./components/Chart/DoughnutChart/DoughnutChart.js";import{DrawerAction as Z}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/DrawerAction.js";import{EcoScoreCell as $}from"./components/Grid/Cell/EcoScoreCell.js";import{EditHeader as _}from"./components/Layout/BlockList/Headers/EditHeader.js";import{EllipsisItem as oo}from"./components/Pagination/PageItems/EllipsisItem.js";import{EmptyForm as ro}from"./components/Layout/BlockList/Blocks/InnerInfoBlocks/EmptyForm.js";import{EvolutionChart as to}from"./components/Chart/EvolutionChart/EvolutionChart.js";import{FixedMultiValueFilter as mo}from"./components/Filter/FixedMultiValueFilter.js";import{FoodPilotTheme as so,FoodpilotThemeOptions as no}from"./themes/themes/FoodPilotTheme.js";import{FoodsBadge as eo}from"./components/Badge/FoodsBadge.js";import{FoodsCheckbox as io}from"./components/Checkbox/FoodsCheckbox.js";import{FoodsFormBase as po}from"./components/Form/FoodsFormBase/FoodsFormBase.js";import{FoodsIcon as co}from"./components/Icons/FoodsIcon.js";import{FoodsIconButton as ao}from"./components/Button/FoodsIconButton.js";import{FoodsIllustrations as fo}from"./components/Icons/FoodsIllustrations.js";import{FoodsNavbar as jo}from"./components/Navigation/FoodsNavBar/FoodsNavbar.js";import{FoodsPagination as lo}from"./components/Pagination/FoodsPagination.js";import{FoodsPaginationItem as Bo}from"./components/Pagination/FoodsPaginationItem.js";import{FoodsRadioList as Co}from"./components/Radio/FoodsRadioList.js";import{FoodsSearch as uo}from"./components/Search/FoodsSearch.js";import{FoodsSelect as ho,FoodsSelectServerPagination as go}from"./components/Select/FoodsSelect/FoodsSelect.js";import{FoodsTabs as Fo,SpecialTabs as To}from"./components/Tabs/FoodsTabs/FoodsTabs.js";import{FoodsTags as ko}from"./components/Tags/FoodsTags.js";import{FoodsTextInput as xo}from"./components/Form/FoodsFormFields/FoodsTextInput.js";import{FoodsThemeOptionsProvider as So,FoodsThemeProvider as Po}from"./themes/FoodsThemeProvider.js";import{FoodsToggleButton as Io}from"./components/Button/FoodsToggleButton.js";import{FoodsTooltip as yo}from"./components/Tooltip/FoodsTooltip.js";import{FoodsTreeview as vo}from"./components/Treeview/Treeview.js";import{FoodsUserTags as Lo}from"./components/Tags/FoodsUserTags.js";import{FormAccordion as bo}from"./components/Accordion/FormAccordion.js";import{FormBase as No}from"./components/Form/FormBase.js";import{FormBaseContextProvider as Ao,useFormBaseContext as Ho}from"./components/Form/FoodsFormBase/FormBaseContext.js";import{FormBox as Ro}from"./components/Form/FormBox.js";import{FormPropertyBox as Do}from"./components/Form/FormPropertyBox.js";import{FormTopBar as Go}from"./components/Form/FoodsFormBase/FormTopBar/FormTopBar.js";import{FormUnit as wo}from"./components/Form/FormUnit.js";import{GenericAccordion as Mo}from"./components/Accordion/GenericAccordion.js";import{GreyTextCell as Uo}from"./components/Grid/Cell/GreyCell.js";import{HeaderNav as Wo,NavBarLink as Eo,Navbar as Vo,SubMenu as zo,UserNav as Oo}from"./components/Navigation/Navbar.js";import{HelperBox as Qo}from"./components/Box/HelperBox.js";import{HeroBlock as qo}from"./components/CMS/HeroBlock/HeroBlock.js";import{HistogramComparisonChart as Jo}from"./components/Chart/HistogramComparisonChart/HistogramComparisonChart.js";import{HorizontalGaugeChart as Ko}from"./components/Chart/HorizontalGauge/HorizontalGaugeChart.js";import{IconThread as Xo}from"./components/Navigation/IconThread.js";import{IndicatorBlock as Yo}from"./components/CMS/IndicatorBlock/IndicatorBlock.js";import{InfoBox as Zo}from"./components/Box/InfoBox.js";import{InfoHeaderWithIllustration as $o}from"./components/Layout/InfoHeaderWithIllustration.js";import{InitHeader as _o}from"./components/Layout/BlockList/Headers/InitHeader.js";import{LeftComparisonPart as or}from"./components/Layout/BlockList/Blocks/Common/LeftComparisonPart.js";import{LightIndicatorBlock as rr}from"./components/CMS/IndicatorBlock/LightIndicatorBlock.js";import{LineGroupBox as tr}from"./components/Box/LineGroupBox.js";import{LinearProgress as mr}from"./components/LinearProgress.js";import{LinkAction as sr}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/LinkAction.js";import{ListHeader as nr}from"./components/Layout/BlockList/Headers/ListHeader.js";import{MRTGrid as er}from"./components/Grid/MRTGrid.js";import{MultiValueFilter as ir}from"./components/Filter/MultiValueFilter.js";import{NumberField as pr}from"./components/Field/NumberField.js";import{NumberWithUnit as cr}from"./components/Number/NumberWithUnit.js";import{OptionsPopover as ar}from"./components/Popover/OptionsPopover.js";import{PageItem as fr}from"./components/Pagination/PageItems/PageItem.js";import{PageUpAndDownItem as jr}from"./components/Pagination/PageItems/PageUpAndDownItem.js";import{FoodsPills as lr}from"./components/Input/Pills/Pills.js";import{PointsCell as dr}from"./components/Grid/Cell/PointsCell.js";import{PolymorphicChart as Br}from"./components/Chart/PolymorphicChart/PolymorphicChart.js";import{PolymorphicChartRenderer as Cr}from"./components/Chart/PolymorphicChart/PolymorphicChartRenderer.js";import{PrimaryCheckbox as ur}from"./components/Checkbox/PrimaryCheckbox.js";import{PrimaryDialog as hr}from"./components/Dialog/PrimaryDialog.js";import{Progress as gr}from"./components/Progress/Progress.js";import{ProgressCard as Fr}from"./components/ProgressCard/ProgressCard.js";import{QuoteBox as Tr}from"./components/Box/QuoteBox.js";import{RadioBlock as kr}from"./components/Layout/BlockList/Blocks/InnerInputBlocks/RadioBlock.js";import{RadioBoolean as xr}from"./components/Radio/RadioBoolean.js";import{RadioList as Sr}from"./components/Radio/RadioList.js";import{RichTextEditor as Pr}from"./components/RichTextEditor/RichTextEditor.js";import{RoundInput as Ir}from"./components/Input/RoundInput.js";import{RoundNumberInput as yr}from"./components/Input/RoundNumberInput.js";import{ScatterPlot as vr}from"./components/Chart/ScatterPlot/ScatterPlot.js";import{Score as Lr}from"./components/Number/Score.js";import{ScoreCard as br}from"./components/Cards/ScoreCard/ScoreCard.js";import{ScoreCardHeader as Nr}from"./components/Cards/ScoreCard/Header/ScoreCardHeader.js";import{ScoreContainer as Ar}from"./components/Badge/ScoreContainer.js";import{ScoreSelect as Hr}from"./components/Select/ScoreSelect/ScoreSelect.js";import{ScoreValue as Rr}from"./components/Number/ScoreValue.js";import{SearchBox as Dr}from"./components/Input/SearchBox.js";import{SectionBox as Gr}from"./components/Box/SectionBox.js";import{SectionTabs as wr}from"./components/Tabs/SectionTabs/SectionTabs.js";import{SeeMoreCard as Mr}from"./components/Cards/SeeMoreCard/SeeMoreCard.js";import{SelectBlock as Ur}from"./components/Layout/BlockList/Blocks/InnerInputBlocks/SelectBlock.js";import{SelectionCard as Wr}from"./components/Cards/SelectionCard/SelectionCard.js";import{SelectionCardGroup as Er}from"./components/Cards/SelectionCard/SelectionCardGroup.js";import{Separator as Vr}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/Separator.js";import{SolidGreyBox as zr}from"./components/Box/SolidGreyBox.js";import{SpecialTab as Or}from"./components/Tabs/FoodsTabs/FoodsTabTemplate.js";import{SuggestionBlock as Qr}from"./components/Layout/BlockList/Blocks/InnerInfoBlocks/SuggestionBlock.js";import{TextArrowList as qr}from"./components/Text/TextArrowList.js";import{TextField as Jr}from"./components/Field/TextField.js";import{TextTitle as Kr}from"./components/Text/TextTitle.js";import{TextTitleGreyIcon as Xr}from"./components/Text/TextTitleGreyIcon.js";import{Textarea as Yr}from"./components/Textarea/Textarea.js";import{ToggleSwitch as Zr}from"./components/ToggleSwitch/ToggleSwitch.js";import{TopLinkAction as $r}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/TopLinkAction.js";import{TrajectoryCards as _r}from"./components/Cards/TrajectoryCards/TrajectoryCards.js";import{TrajectoryChart as ot}from"./components/Chart/TrajectoryChart/TrajectoryChart.js";import{TypographyList as rt}from"./components/CustomTypography/TypographyList.js";import{ValueDisplay as tt}from"./components/Layout/BlockList/Blocks/Common/ValueDisplay.js";import{ValueLabel as mt}from"./components/Chart/HistogramComparisonChart/ValueLabel.js";import{ValueSwitcher as st}from"./components/Cards/ScoreCard/Header/ValueSwitcher/ValueSwitcher.js";import{WarningBox as nt}from"./components/Box/WarningBox.js";import{WaterfallChart as et}from"./components/Chart/WaterfallChart/WaterfallChart.js";import{WhiteBox as it}from"./components/Box/WhiteBox.js";import{WhiteGrid as pt}from"./components/Box/WhiteGrid.js";import{WhitePopover as ct}from"./components/Popover/WhitePopover.js";import{WhitePopoverOnIcon as at}from"./components/Popover/WhitePopoverOnIcon.js";import{WinePilotTheme as ft,WinepilotThemeOptions as jt}from"./themes/themes/WinePilotTheme.js";import{allColors as lt,allMainColors as dt,blueTheme as Bt,coralTheme as Ct,dataVisualizationColors as ut,extraColors as ht,greenTheme as gt,greyTheme as Ft,orangeTheme as Tt,redTheme as kt,shadows as xt,yellowTheme as St}from"./themes/common/colors.js";import{allTypographyVariants as Pt,deprecatedVariants as It,typographyConfig as yt}from"./themes/common/MUIComponents/typography.js";import{anyToCheckbox as vt,checkboxToAny as Lt}from"./components/Checkbox/helperFunctions.js";import{breadcrumb as bt,custom as Nt,doughnutCard as At,numbers as Ht,scoreValue as Rt,status as Dt,strokes as Gt,tooltip as wt}from"./themes/common/custom.js";import{components as Mt}from"./themes/common/components.js";import{computeSize as Ut,iconMapping as Wt}from"./components/Icons/iconConfig.js";import{illustationsMapping as Et}from"./components/Icons/illustrationsConfig.js";import{spacing as Vt}from"./themes/common/spacing.js";import{useResponsiveBreakpoints as zt}from"./themes/responsive/useResponsiveBreakpoints.js";import{useResponsivePadding as Ot}from"./themes/responsive/useResponsivePadding.js";export{i as AccordionProduct,p as AdditionalContentBox,c as AnchoredPopover,j as Article,l as ArticlesBox,d as Badge,B as Banner,C as BigPopoverLayout,u as BlockItemContainer,h as BlockItemInner,g as BlockListContainer,F as BottomSheetDialog,T as BoxStyled,x as BreadcrumbItem,S as Breadcrumbs,P as BreakdownTable,n as Button,I as ButtonTabs,y as CardImage,v as CategoryBox,L as CheckboxBlock,b as CollectiveTheme,N as CollectiveThemeOptions,A as ComingSoonBadge,H as ComparisonArrow,R as ComparisonBlock,D as ComparisonLabel,G as ConfirmDialog,w as ContextualContentBox,M as CoordinatePopover,U as CountTabs,W as CustomRender,E as CustomToggleButton,z as CustomToggleButtonNodeTitle,Q as CustomTypography,q as CustomizedAxisTick,J as DefaultUserAction,K as DottedBox,X as DoughnutCard,Y as DoughnutChart,Z as DrawerAction,$ as EcoScoreCell,_ as EditHeader,oo as EllipsisItem,ro as EmptyForm,to as EvolutionChart,mo as FixedMultiValueFilter,so as FoodPilotTheme,no as FoodpilotThemeOptions,eo as FoodsBadge,io as FoodsCheckbox,po as FoodsFormBase,co as FoodsIcon,ao as FoodsIconButton,fo as FoodsIllustrations,jo as FoodsNavbar,lo as FoodsPagination,Bo as FoodsPaginationItem,Co as FoodsRadioList,uo as FoodsSearch,ho as FoodsSelect,go as FoodsSelectServerPagination,Fo as FoodsTabs,ko as FoodsTags,xo as FoodsTextInput,So as FoodsThemeOptionsProvider,Po as FoodsThemeProvider,Io as FoodsToggleButton,yo as FoodsTooltip,vo as FoodsTreeview,Lo as FoodsUserTags,bo as FormAccordion,No as FormBase,Ao as FormBaseContextProvider,Ro as FormBox,Do as FormPropertyBox,Go as FormTopBar,wo as FormUnit,Mo as GenericAccordion,Uo as GreyTextCell,Wo as HeaderNav,a as HeadlessPopover,Qo as HelperBox,qo as HeroBlock,Jo as HistogramComparisonChart,Ko as HorizontalGaugeChart,Xo as IconThread,Yo as IndicatorBlock,Zo as InfoBox,$o as InfoHeaderWithIllustration,_o as InitHeader,or as LeftComparisonPart,rr as LightIndicatorBlock,tr as LineGroupBox,mr as LinearProgress,sr as LinkAction,nr as ListHeader,er as MRTGrid,ir as MultiValueFilter,Eo as NavBarLink,Vo as Navbar,pr as NumberField,cr as NumberWithUnit,ar as OptionsPopover,fr as PageItem,jr as PageUpAndDownItem,lr as Pills,dr as PointsCell,Br as PolymorphicChart,Cr as PolymorphicChartRenderer,ur as PrimaryCheckbox,hr as PrimaryDialog,gr as Progress,Fr as ProgressCard,Tr as QuoteBox,kr as RadioBlock,xr as RadioBoolean,Sr as RadioList,Pr as RichTextEditor,Ir as RoundInput,yr as RoundNumberInput,vr as ScatterPlot,Lr as Score,br as ScoreCard,Nr as ScoreCardHeader,Ar as ScoreContainer,Hr as ScoreSelect,Rr as ScoreValue,Dr as SearchBox,k as SecondaryTabs,Gr as SectionBox,wr as SectionTabs,Mr as SeeMoreCard,Ur as SelectBlock,Wr as SelectionCard,Er as SelectionCardGroup,Vr as Separator,zr as SolidGreyBox,Or as SpecialTab,To as SpecialTabs,zo as SubMenu,Qr as SuggestionBlock,V as TertiaryToggleButton,O as TertiaryToggleButtonNodeTitle,qr as TextArrowList,Jr as TextField,Kr as TextTitle,Xr as TextTitleGreyIcon,Yr as Textarea,f as ThemedPopover,Zr as ToggleSwitch,$r as TopLinkAction,_r as TrajectoryCards,ot as TrajectoryChart,e as Typography,rt as TypographyList,Oo as UserNav,tt as ValueDisplay,mt as ValueLabel,st as ValueSwitcher,nt as WarningBox,et as WaterfallChart,it as WhiteBox,pt as WhiteGrid,ct as WhitePopover,at as WhitePopoverOnIcon,ft as WinePilotTheme,jt as WinepilotThemeOptions,lt as allColors,dt as allMainColors,Pt as allTypographyVariants,vt as anyToCheckbox,Bt as blueTheme,bt as breadcrumb,Lt as checkboxToAny,Mt as components,Ut as computeSize,Ct as coralTheme,Nt as custom,ut as dataVisualizationColors,It as deprecatedVariants,At as doughnutCard,ht as extraColors,o as getThemeLogo,gt as greenTheme,Ft as greyTheme,Wt as iconMapping,Et as illustationsMapping,r as isTheme,Ht as numbers,Tt as orangeTheme,kt as redTheme,Rt as scoreValue,xt as shadows,Vt as spacing,Dt as status,Gt as strokes,t as themeLogos,m as themeOptions,s as themes,wt as tooltip,yt as typographyConfig,Ho as useFormBaseContext,zt as useResponsiveBreakpoints,Ot as useResponsivePadding,St as yellowTheme};
|
|
@@ -11,6 +11,38 @@ export declare const strokes: {
|
|
|
11
11
|
readonly width: "1px";
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Shared layout geometry for the published Doughnut card component.
|
|
16
|
+
* Figma provenance: component key `269038bfd4fe010322dadf5cbad03883d044cf4a`,
|
|
17
|
+
* Product empty `12819:67597`, and Product filled `13154:221906`.
|
|
18
|
+
*/
|
|
19
|
+
export declare const doughnutCard: {
|
|
20
|
+
readonly width: "300px";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Shared semantic colors for status surfaces.
|
|
24
|
+
* Figma provenance: `Status/Green/green-50` on Product score comparison
|
|
25
|
+
* `13154:221924`.
|
|
26
|
+
*/
|
|
27
|
+
export declare const status: {
|
|
28
|
+
readonly green: {
|
|
29
|
+
readonly surface: "#F2FFF9";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Shared Score value geometry.
|
|
34
|
+
* Figma provenance: Number empty state `13603:94567`, instantiated by
|
|
35
|
+
* Product score value `12819:67607`.
|
|
36
|
+
*/
|
|
37
|
+
export declare const scoreValue: {
|
|
38
|
+
readonly emptyIndicator: {
|
|
39
|
+
readonly size: "44px";
|
|
40
|
+
readonly iconSize: {
|
|
41
|
+
readonly width: 26;
|
|
42
|
+
readonly height: 26;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
14
46
|
/**
|
|
15
47
|
* Shared Breadcrumb geometry from the published Foods design system.
|
|
16
48
|
* Figma provenance: Page link `14270:126177`, Breadcrumb `14270:126197`, and overflow menu `14270:126193`.
|
|
@@ -110,7 +142,10 @@ type CustomThemeKeys = {
|
|
|
110
142
|
colorsWithExtra: typeof allColors;
|
|
111
143
|
onlyMainFromAll: typeof allMainColors;
|
|
112
144
|
};
|
|
145
|
+
doughnutCard: typeof doughnutCard;
|
|
113
146
|
strokes: typeof strokes;
|
|
147
|
+
status: typeof status;
|
|
148
|
+
scoreValue: typeof scoreValue;
|
|
114
149
|
breadcrumb: typeof breadcrumb;
|
|
115
150
|
tooltip: typeof tooltip;
|
|
116
151
|
searchBox: SxProps<Theme>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"i18next";import{greyTheme as r,shadows as e,allMainColors as i,allColors as t,extraColors as a,dataVisualizationColors as d,coralTheme as n,blueTheme as p,yellowTheme as x,orangeTheme as l,greenTheme as c,redTheme as g}from"./colors.js";const h={containerDivider:{color:r[600],style:"solid",width:"1px"}},s=`inset 0 0 0 ${h.containerDivider.width} ${h.containerDivider.color}`,
|
|
1
|
+
import o from"i18next";import{greyTheme as r,shadows as e,allMainColors as i,allColors as t,extraColors as a,dataVisualizationColors as d,coralTheme as n,blueTheme as p,yellowTheme as x,orangeTheme as l,greenTheme as c,redTheme as g}from"./colors.js";const h={containerDivider:{color:r[600],style:"solid",width:"1px"}},s={width:"300px"},u={green:{surface:"#F2FFF9"}},m={emptyIndicator:{size:"44px",iconSize:{width:26,height:26}}},b=`inset 0 0 0 ${h.containerDivider.width} ${h.containerDivider.color}`,w={gap:"4px",separatorIconSize:{width:16,height:16},pageLink:{height:"26px",paddingBlock:"2px",paddingInline:"8px",borderRadius:"8px",maxWidth:"226px",stroke:{default:b,hover:`inset 0 0 0 ${h.containerDivider.width} ${r[2800]}`},collapsed:{width:"24px",height:"16px",paddingInline:"4px",borderRadius:"4px"}},overflowMenu:{offset:"4px",padding:"16px",gap:"8px",borderRadius:"12px",boxShadow:`${b}, ${e.popover}`}},v=`${h.containerDivider.width} ${h.containerDivider.style} ${r[500]}`,y=`${h.containerDivider.width} ${h.containerDivider.style} ${h.containerDivider.color}`,$={contentAlignment:"center",default:{maxCharacters:100,width:"202px",maxWidth:"unset",padding:"12px 16px 12px 16px",borderRadius:"0.5rem",border:v,backgroundColor:r[100],boxShadow:`0px 4px 20px 0px ${r[500]}`,color:r[2800],margin:"8px",typographyVariant:"body-medium",arrow:{color:r[100],border:v}},simple:{width:"300px",maxWidth:"300px",contentMinHeight:"53px",paddingBlock:"2px",paddingInline:"8px",borderRadius:"8px",border:y,backgroundColor:r[100],boxShadow:e.popover,color:r[2500],margin:"8px",typographyVariant:"body-medium",arrow:{width:"16px",height:"8px",color:r[100],border:y}}},f={grey:r,red:g,green:c,orange:l,yellow:x,blue:p,coral:n,shadows:e,dataviz:{colors:d,extra:a,colorsWithExtra:t,onlyMainFromAll:i},doughnutCard:s,strokes:h,status:u,scoreValue:m,breadcrumb:w,tooltip:$,searchBox:{borderRadius:"24px",border:o=>"1px solid "+o.custom.grey[500],background:"white",boxShadow:o=>"0px 2px 8px 0px "+o.custom.grey[500]},rowMenuElement:{marginLeft:"12px",paddingRight:"8px",fontSize:"12px",fontWeight:"600",lineHeight:"20px"}},D={valueFormatterFn:(r,e=void 0)=>{const i=Number(r);return Number.isNaN(i)?"":e?i.toLocaleString(o.language,{maximumFractionDigits:e}):i.toLocaleString(o.language)}};export{w as breadcrumb,f as custom,s as doughnutCard,D as numbers,m as scoreValue,u as status,h as strokes,$ as tooltip};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foodpilot/foods",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.16.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/main.js",
|
|
7
7
|
"module": "./dist/main.js",
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
"name": "Components",
|
|
352
352
|
"path": "dist/components/**/*.js",
|
|
353
353
|
"gzip": true,
|
|
354
|
-
"limit": "
|
|
354
|
+
"limit": "280 KB"
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
357
|
"name": "Inner Components",
|