sate-lib 1.82.0 → 1.84.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/lib/components/menu-item/menu-item.js +1 -1
- package/lib/components/progress-indicator/progress-indicator.d.ts.map +1 -1
- package/lib/components/progress-indicator/progress-indicator.js +1 -1
- package/lib/components/progress-indicator/progress-indicator.styles.module.js +1 -1
- package/lib/components/progress-indicator/progress-indicator.styles_module.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{Badge as i}from"../badge/badge.js";import{Icon as r}from"../icon/icon.js";import s from"./menu-item.styles.module.js";function l({extra:
|
|
1
|
+
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{Badge as i}from"../badge/badge.js";import{Icon as r}from"../icon/icon.js";import s from"./menu-item.styles.module.js";function l(e){let a="string"==typeof e?parseFloat(e):e;return new Intl.NumberFormat("en-GB",{currency:"GBP",minimumFractionDigits:2,style:"currency"}).format(a)}function n({extra:n,special:c,photo:m,name:d,description:t,badges:o,prices:p}){return a("div",{className:[s.root,c&&s.special,n&&s.extra].filter(Boolean).join(" "),children:[a("div",{className:s.content,children:[m&&e("div",{className:s.icon,children:e(r,{name:"Eye-fill",size:12})}),a("div",{className:s.header,children:[a("div",{className:s.nameWrapper,children:[n&&e(i,{label:"Add",variant:"warning"}),e("div",{className:`bodyDefaultEmphasis ${s.name}`,children:d})]}),o&&e("div",{className:s.badges,children:o?.map((a,r)=>e(i,{...a},`badge-${a.label??a.icon??r}-${r}`))}),e("span",{className:s.dots})]}),e("div",{className:`bodySmall ${s.description}`,children:t})]}),e("div",{className:s.prices,children:p?.map(({label:i,value:r},c)=>a("div",{className:s.priceItem,children:[!n&&i&&e("span",{className:`bodyDefault ${s.priceLabel}`,children:i}),e("span",{className:`bodyDefaultEmphasis ${s.priceValue}`,children:n?`+${l(r)}`:l(r)})]},`price-${i??r}-${c}`))})]})}export{n as MenuItem};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-indicator.d.ts","sourceRoot":"","sources":["../../../src/components/progress-indicator/progress-indicator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"progress-indicator.d.ts","sourceRoot":"","sources":["../../../src/components/progress-indicator/progress-indicator.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,sBAAsB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,iBAAiB,CAAC,EACjC,IAAS,EACT,SAAS,GACT,EAAE,sBAAsB,2CAqExB;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as l,jsxs as s}from"react/jsx-runtime";import a from"./progress-indicator.styles.module.js";function c({size:c=24,className:r}){return l("span",{className:[a.root,r].filter(Boolean).join(" "),style:{"--pi-size":`${c}px`},children:s("svg",{"aria-hidden":"true",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{className:a.bar,d:"M13.25 2.94432v4.4444c0 .33152-.1317.64946-.3661.88388-.2345.23442-.5524.36611-.8839.36611s-.6495-.13169-.8839-.36611c-.2344-.23442-.3661-.55236-.3661-.88388v-4.4444c0-.33151.1317-.64945.3661-.88387.2344-.23442.5524-.36611.8839-.36611s.6494.13169.8839.36611c.2344.23442.3661.55236.3661.88387Z",fill:"currentColor",style:{"--pi-delay":"0s"}}),l("path",{className:a.bar,d:"m19.287 6.48054-3.1427 3.14267c-.2344.23442-.5524.36611-.8839.36611s-.6494-.13169-.8839-.36611c-.2344-.23442-.3661-.55236-.3661-.88388 0-.33151.1317-.64945.3661-.88387l3.1427-3.14267c.2344-.23441.5524-.36611.8839-.36611s.6494.1317.8839.36611c.2344.23442.3661.55236.3661.88388 0 .33151-.1317.64945-.3661.88387Z",fill:"currentColor",opacity:".15",style:{"--pi-delay":`${-1/8}s`}}),l("path",{className:a.bar,d:"M21.0552 13.2498h-4.4444c-.3315 0-.6495-.1317-.8839-.3661-.2344-.2344-.3661-.5524-.3661-.8839s.1317-.6495.3661-.8839c.2344-.2344.5524-.3661.8839-.3661h4.4444c.3315 0 .6494.1317.8839.3661.2344.2344.3661.5524.3661.8839s-.1317.6495-.3661.8839c-.2345.2344-.5524.3661-.8839.3661Z",fill:"currentColor",opacity:".27",style:{"--pi-delay":`${-2/8}s`}}),l("path",{className:a.bar,d:"m17.5193 19.2869-3.1427-3.1427c-.2344-.2344-.3661-.5523-.3661-.8839 0-.3315.1317-.6494.3661-.8838.2344-.2344.5524-.3661.8839-.3661s.6494.1317.8839.3661l3.1426 3.1426c.2344.2345.3661.5524.3661.8839s-.1317.6495-.3661.8839c-.2344.2344-.5523.3661-.8839.3661-.3315 0-.6494-.1317-.8838-.3661Z",fill:"currentColor",opacity:".39",style:{"--pi-delay":`${-3/8}s`}}),l("path",{className:a.bar,d:"M10.75 21.0553v-4.4444c0-.3315.1317-.6494.3661-.8839.2345-.2344.5524-.3661.8839-.3661s.6495.1317.8839.3661c.2344.2345.3661.5524.3661.8839v4.4444c0 .3315-.1317.6495-.3661.8839-.2344.2344-.5524.3661-.8839.3661s-.6494-.1317-.8839-.3661c-.2344-.2344-.3661-.5524-.3661-.8839Z",fill:"currentColor",opacity:".51",style:{"--pi-delay":"-0.5s"}}),l("path",{className:a.bar,d:"m4.71281 17.5191 3.14266-3.1427c.23442-.2344.55236-.3661.88388-.3661.33151 0 .64945.1317.88387.3661.23442.2344.36611.5524.36611.8839s-.13169.6495-.36611.8839l-3.14267 3.1426c-.23441.2345-.55235.3662-.88387.3662-.33152 0-.64946-.1317-.88387-.3662-.23442-.2344-.36612-.5523-.36612-.8838 0-.3316.1317-.6495.36612-.8839Z",fill:"currentColor",opacity:".63",style:{"--pi-delay":`${-5/8}s`}}),l("path",{className:a.bar,d:"M2.94432 10.7498h4.4444c.33152 0 .64946.1317.88388.3662.23442.2344.36611.5523.36611.8838s-.13169.6495-.36611.8839c-.23442.2344-.55236.3661-.88388.3661h-4.4444c-.33151 0-.64945-.1317-.88387-.3661-.23442-.2344-.36611-.5524-.36611-.8839s.13169-.6494.36611-.8838c.23442-.2345.55236-.3662.88387-.3662Z",fill:"currentColor",opacity:".75",style:{"--pi-delay":`${-6/8}s`}}),l("path",{className:a.bar,d:"m6.48048 4.71274 3.14267 3.14267c.23442.23442.36611.55236.36611.88387 0 .33152-.1317.64946-.36611.88388-.23442.23442-.55236.36611-.88388.36611-.33152 0-.64945-.13169-.88387-.36611L4.71273 6.48049c-.23442-.23441-.36611-.55235-.36611-.88387 0-.33152.13169-.64946.36611-.88388.23442-.23441.55236-.36611.88388-.36611.33151 0 .64945.1317.88387.36611Z",fill:"currentColor",opacity:".87",style:{"--pi-delay":`${-7/8}s`}})]})})}let r=c;export{c as ProgressIndicator,r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./progress-indicator.styles_module.css";let
|
|
1
|
+
import"./progress-indicator.styles_module.css";let s={root:"root-jlc8ih",svg:"svg-v69dia",bar:"bar-s8Ctcs",pulse:"pulse-WPg057"};export{s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.root-jlc8ih{animation:1s
|
|
1
|
+
.root-jlc8ih{--pi-size:24px;inline-size:var(--pi-size);block-size:var(--pi-size);justify-content:center;align-items:center;display:inline-flex}.svg-v69dia{block-size:100%;inline-size:100%;display:block}.bar-s8Ctcs{opacity:.1;animation:1s ease-in-out infinite pulse-WPg057;animation-delay:var(--pi-delay,0s);will-change:opacity}@keyframes pulse-WPg057{0%{opacity:1}to{opacity:.1}}
|