@lifesg/react-design-system 1.0.0-alpha.19 → 1.0.0-alpha.20
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/accordion/index.js +4 -4
- package/accordion/index.js.map +1 -1
- package/alert/index.js +42 -42
- package/alert/index.js.map +1 -1
- package/box-container/index.js +5 -5
- package/box-container/index.js.map +1 -1
- package/breadcrumb/index.js +2 -2
- package/breadcrumb/index.js.map +1 -1
- package/button/index.js +125 -125
- package/button/index.js.map +1 -1
- package/card/index.js +23 -23
- package/card/index.js.map +1 -1
- package/checkbox/index.js +3 -3
- package/checkbox/index.js.map +1 -1
- package/cjs/index.js +44 -46
- package/cjs/index.js.map +1 -1
- package/color/color.d.ts +4 -59
- package/color/index.js +1 -1
- package/color/index.js.map +1 -1
- package/color/types.d.ts +4 -0
- package/date-input/index.js +53 -49
- package/date-input/index.js.map +1 -1
- package/design-token/design-token.d.ts +4 -0
- package/design-token/index.d.ts +2 -0
- package/design-token/index.js +6 -0
- package/design-token/index.js.map +1 -0
- package/{icon → design-token}/package.json +1 -1
- package/design-token/types.d.ts +7 -0
- package/error-display/index.js +92 -92
- package/error-display/index.js.map +1 -1
- package/feedback-rating/index.js +58 -58
- package/feedback-rating/index.js.map +1 -1
- package/footer/index.js +10 -10
- package/footer/index.js.map +1 -1
- package/form/index.js +144 -140
- package/form/index.js.map +1 -1
- package/icon-button/index.js +3 -3
- package/icon-button/index.js.map +1 -1
- package/index.d.ts +0 -1
- package/index.js +63 -65
- package/index.js.map +1 -1
- package/input/index.js +18 -14
- package/input/index.js.map +1 -1
- package/input-group/index.js +125 -121
- package/input-group/index.js.map +1 -1
- package/input-select/index.js +32 -28
- package/input-select/index.js.map +1 -1
- package/input-textarea/index.js +112 -108
- package/input-textarea/index.js.map +1 -1
- package/link-list/index.js +35 -35
- package/link-list/index.js.map +1 -1
- package/modal/index.js +15 -15
- package/modal/index.js.map +1 -1
- package/navbar/index.js +188 -188
- package/navbar/index.js.map +1 -1
- package/notification-banner/index.js +2 -2
- package/notification-banner/index.js.map +1 -1
- package/package.json +1 -1
- package/phone-number-input/index.js +126 -122
- package/phone-number-input/index.js.map +1 -1
- package/popover/index.js +7 -7
- package/popover/index.js.map +1 -1
- package/progress-indicator/index.js +7 -7
- package/progress-indicator/index.js.map +1 -1
- package/radio-button/index.js +7 -7
- package/radio-button/index.js.map +1 -1
- package/smart-app-banner/index.js +14 -14
- package/smart-app-banner/index.js.map +1 -1
- package/spec/design-token-spec/base-design-token-set.d.ts +2 -0
- package/text/index.js +18 -18
- package/text/index.js.map +1 -1
- package/text/text-style.d.ts +4 -100
- package/text-list/index.js +7 -7
- package/text-list/index.js.map +1 -1
- package/theme/design-token-helper.d.ts +2 -0
- package/theme/index.js +1 -1
- package/theme/index.js.map +1 -1
- package/theme/types.d.ts +10 -1
- package/timeline/index.js +8 -8
- package/timeline/index.js.map +1 -1
- package/timepicker/index.js +61 -57
- package/timepicker/index.js.map +1 -1
- package/toggle-button/index.js +109 -109
- package/toggle-button/index.js.map +1 -1
- package/tooltip/index.js +5 -5
- package/tooltip/index.js.map +1 -1
- package/unit-number/index.js +113 -109
- package/unit-number/index.js.map +1 -1
- package/util/utility-types.d.ts +3 -0
- package/icon/document-with-pencil-icon.d.ts +0 -5
- package/icon/icon-data.d.ts +0 -3
- package/icon/icon-style.d.ts +0 -1
- package/icon/icon.d.ts +0 -6
- package/icon/index.d.ts +0 -2
- package/icon/index.js +0 -8
- package/icon/index.js.map +0 -1
- package/icon/location-unknown-icon.d.ts +0 -5
- package/icon/mail-unread-icon.d.ts +0 -5
- package/icon/types.d.ts +0 -18
package/card/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import t,{jsxs as e,jsx as n}from"react/jsx-runtime";import i,{css as r}from"styled-components";var o,a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l={};Object.defineProperty(l,"__esModule",{value:!0});var c=t;const h=t=>c.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:c.jsx("path",{d:"M4.25 17.5C3.764 17.5 3.35067 17.33 3.01 16.99C2.67 16.6493 2.5 16.236 2.5 15.75V4.25C2.5 3.764 2.67 3.35067 3.01 3.01C3.35067 2.67 3.764 2.5 4.25 2.5H9.208C9.444 2.5 9.649 2.58667 9.823 2.76C9.99633 2.934 10.083 3.139 10.083 3.375C10.083 3.611 9.99633 3.816 9.823 3.99C9.649 4.16333 9.444 4.25 9.208 4.25H4.25V15.75H15.75V10.792C15.75 10.556 15.8367 10.351 16.01 10.177C16.184 10.0037 16.389 9.917 16.625 9.917C16.861 9.917 17.066 10.0037 17.24 10.177C17.4133 10.351 17.5 10.556 17.5 10.792V15.75C17.5 16.236 17.33 16.6493 16.99 16.99C16.6493 17.33 16.236 17.5 15.75 17.5H4.25ZM7.5 12.5C7.33333 12.3333 7.25 12.1283 7.25 11.885C7.25 11.6423 7.33333 11.4377 7.5 11.271L14.521 4.25H12.708C12.472 4.25 12.2673 4.16333 12.094 3.99C11.92 3.816 11.833 3.611 11.833 3.375C11.833 3.139 11.92 2.934 12.094 2.76C12.2673 2.58667 12.472 2.5 12.708 2.5H16.625C16.861 2.5 17.066 2.58667 17.24 2.76C17.4133 2.934 17.5 3.139 17.5 3.375V7.292C17.5 7.528 17.4133 7.73267 17.24 7.906C17.066 8.08 16.861 8.167 16.625 8.167C16.389 8.167 16.184 8.08 16.01 7.906C15.8367 7.73267 15.75 7.528 15.75 7.292V5.479L8.708 12.521C8.54133 12.6877 8.34367 12.771 8.115 12.771C7.88567 12.771 7.68067 12.6807 7.5 12.5Z",fill:"currentColor"})});h.displayName="ExternalIcon",o=l.ExternalIcon=h;var g=Array.isArray,f="object"==typeof a&&a&&a.Object===Object&&a,p="object"==typeof self&&self&&self.Object===Object&&self,u=f||p||Function("return this")(),d=u.Symbol,s=d,y=Object.prototype,F=y.hasOwnProperty,S=y.toString,m=s?s.toStringTag:void 0;var v=function(t){var e=F.call(t,m),n=t[m];try{t[m]=void 0;var i=!0}catch(t){}var r=S.call(t);return i&&(e?t[m]=n:delete t[m]),r},H=Object.prototype.toString;var B=v,D=function(t){return H.call(t)},$=d?d.toStringTag:void 0;var _=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":$&&$ in Object(t)?B(t):D(t)};var b=_,z=function(t){return null!=t&&"object"==typeof t};var C=function(t){return"symbol"==typeof t||z(t)&&"[object Symbol]"==b(t)},w=g,E=C,W=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x=/^\w*$/;var A=function(t,e){if(w(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!E(t))||(x.test(t)||!W.test(t)||null!=e&&t in Object(e))};var O=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},j=_,k=O;var V,T=function(t){if(!k(t))return!1;var e=j(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},I=u["__core-js_shared__"],P=(V=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";var R=function(t){return!!P&&P in t},L=Function.prototype.toString;var N=T,X=R,G=O,M=function(t){if(null!=t){try{return L.call(t)}catch(t){}try{return t+""}catch(t){}}return""},Z=/^\[object .+?Constructor\]$/,U=Function.prototype,q=Object.prototype,J=U.toString,K=q.hasOwnProperty,Q=RegExp("^"+J.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Y=function(t){return!(!G(t)||X(t))&&(N(t)?Q:Z).test(M(t))},tt=function(t,e){return null==t?void 0:t[e]};var et=function(t,e){var n=tt(t,e);return Y(n)?n:void 0},nt=et(Object,"create"),it=nt;var rt=function(){this.__data__=it?it(null):{},this.size=0};var ot=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},at=nt,lt=Object.prototype.hasOwnProperty;var ct=function(t){var e=this.__data__;if(at){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return lt.call(e,t)?e[t]:void 0},ht=nt,gt=Object.prototype.hasOwnProperty;var ft=nt;var pt=rt,ut=ot,dt=ct,st=function(t){var e=this.__data__;return ht?void 0!==e[t]:gt.call(e,t)},yt=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ft&&void 0===e?"__lodash_hash_undefined__":e,this};function Ft(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Ft.prototype.clear=pt,Ft.prototype.delete=ut,Ft.prototype.get=dt,Ft.prototype.has=st,Ft.prototype.set=yt;var St=Ft;var mt=function(){this.__data__=[],this.size=0};var vt=function(t,e){return t===e||t!=t&&e!=e};var Ht=function(t,e){for(var n=t.length;n--;)if(vt(t[n][0],e))return n;return-1},Bt=Ht,Dt=Array.prototype.splice;var $t=Ht;var _t=Ht;var bt=Ht;var zt=mt,Ct=function(t){var e=this.__data__,n=Bt(e,t);return!(n<0)&&(n==e.length-1?e.pop():Dt.call(e,n,1),--this.size,!0)},wt=function(t){var e=this.__data__,n=$t(e,t);return n<0?void 0:e[n][1]},Et=function(t){return _t(this.__data__,t)>-1},Wt=function(t,e){var n=this.__data__,i=bt(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function xt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}xt.prototype.clear=zt,xt.prototype.delete=Ct,xt.prototype.get=wt,xt.prototype.has=Et,xt.prototype.set=Wt;var At=xt,Ot=et(u,"Map"),jt=St,kt=At,Vt=Ot;var Tt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var It=function(t,e){var n=t.__data__;return Tt(e)?n["string"==typeof e?"string":"hash"]:n.map},Pt=It;var Rt=It;var Lt=It;var Nt=It;var Xt=function(){this.size=0,this.__data__={hash:new jt,map:new(Vt||kt),string:new jt}},Gt=function(t){var e=Pt(this,t).delete(t);return this.size-=e?1:0,e},Mt=function(t){return Rt(this,t).get(t)},Zt=function(t){return Lt(this,t).has(t)},Ut=function(t,e){var n=Nt(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};function qt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}qt.prototype.clear=Xt,qt.prototype.delete=Gt,qt.prototype.get=Mt,qt.prototype.has=Zt,qt.prototype.set=Ut;var Jt=qt;function Kt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Kt.Cache||Jt),n}Kt.Cache=Jt;var Qt=Kt;var Yt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/\\(\\)?/g,ee=function(t){var e=Qt(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Yt,(function(t,n,i,r){e.push(i?r.replace(te,"$1"):n||t)})),e}));var ne=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r},ie=g,re=C,oe=d?d.prototype:void 0,ae=oe?oe.toString:void 0;var le=function t(e){if("string"==typeof e)return e;if(ie(e))return ne(e,t)+"";if(re(e))return ae?ae.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n},ce=le;var he=g,ge=A,fe=ee,pe=function(t){return null==t?"":ce(t)};var ue=C;var de=function(t,e){return he(t)?t:ge(t,e)?[t]:fe(pe(t))},se=function(t){if("string"==typeof t||ue(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var ye=function(t,e){for(var n=0,i=(e=de(e,t)).length;null!=t&&n<i;)t=t[se(e[n++])];return n&&n==i?t:void 0};var Fe=function(t,e,n){var i=null==t?void 0:ye(t,e);return void 0===i?n:i};const Se=(t,e,n)=>e?Fe(n,e)||Fe(t,e):n||t,me=(t,e)=>{const n=e||t.defaultValue;return Fe(t.collections,n)};var ve;!function(t){t.colorScheme="colorScheme",t.layout="layout",t.textStyleScheme="textStyleScheme"}(ve||(ve={}));const He={collections:{base:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#1C76D5",PrimaryDark:"#1869BF",Secondary:"#0056b3",Accent:{Dark:{1:"#465A88",2:"#556D99",3:"#8D8DBF"},Light:{1:"#57A9FF",2:"#81BFFF",3:"#BED7FF",4:"#E2ECFD",5:"#F6F8FF",6:"#FBFCFE"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}}},bookingsg:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#6F4AB8",PrimaryDark:"#6443A6",Secondary:"#6443A6",Accent:{Dark:{1:"#355985",2:"#68819D",3:"#9AABBE"},Light:{1:"#9F82D9",2:"#B5A5D7",3:"#CEC3E4 ",4:"#E2DBEF",5:"#F2EFF8",6:"#F7F6FB"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}}}},defaultValue:"base"},Be=t=>e=>{const n=e.theme,i=me(He,n[ve.colorScheme]);return n.options&&n.options.color?Se(i,t,n.options.color):Se(i,t)},De=(Be("Brand.1"),Be("Brand.2"),Be("Brand.3"),Be("Brand.4"),Be("Brand.5"),Be("Brand.6"),Be("Primary")),$e=(Be("PrimaryDark"),Be("Secondary")),_e=(Be("Accent.Light.1"),Be("Accent.Light.2"),Be("Accent.Light.3"),Be("Accent.Light.4"),Be("Accent.Light.5"),Be("Accent.Light.6"),Be("Accent.Dark.1"),Be("Accent.Dark.2"),Be("Accent.Dark.3"),{1:Be("Neutral.1"),2:Be("Neutral.2"),3:Be("Neutral.3"),4:Be("Neutral.4"),5:Be("Neutral.5"),6:Be("Neutral.6"),7:Be("Neutral.7"),8:Be("Neutral.8")}),be=(Be("Validation.Green.Text"),Be("Validation.Green.Icon"),Be("Validation.Green.Border"),Be("Validation.Green.Background"),Be("Validation.Orange.Text"),Be("Validation.Orange.Icon"),Be("Validation.Orange.Border"),Be("Validation.Orange.Background"),Be("Validation.Orange.Badge"),Be("Validation.Red.Text"),Be("Validation.Red.Icon"),Be("Validation.Red.Border"),Be("Validation.Red.Background"),{Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"}),ze={collections:{base:{D1:{fontFamily:be.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:be.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:be.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:be.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:be.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:be.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:be.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:be.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:be.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:be.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:be.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:be.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:be.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:be.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}}},defaultValue:"base"},Ce=t=>e=>{const n=e.theme,i=me(ze,n[ve.textStyleScheme]);return n.options&&n.options.textStyle?Se(i,t,n.options.textStyle):Se(i,t)},we={D1:{fontFamily:Ce("D1.fontFamily"),fontSize:Ce("D1.fontSize"),fontWeight:Ce("D1.fontWeight"),lineHeight:Ce("D1.lineHeight"),letterSpacing:Ce("D1.letterSpacing")},D2:{fontFamily:Ce("D2.fontFamily"),fontSize:Ce("D2.fontSize"),fontWeight:Ce("D2.fontWeight"),lineHeight:Ce("D2.lineHeight"),letterSpacing:Ce("D2.letterSpacing")},D3:{fontFamily:Ce("D3.fontFamily"),fontSize:Ce("D3.fontSize"),fontWeight:Ce("D3.fontWeight"),lineHeight:Ce("D3.lineHeight"),letterSpacing:Ce("D3.letterSpacing")},D4:{fontFamily:Ce("D4.fontFamily"),fontSize:Ce("D4.fontSize"),fontWeight:Ce("D4.fontWeight"),lineHeight:Ce("D4.lineHeight"),letterSpacing:Ce("D4.letterSpacing")},DBody:{fontFamily:Ce("DBody.fontFamily"),fontSize:Ce("DBody.fontSize"),fontWeight:Ce("DBody.fontWeight"),lineHeight:Ce("DBody.lineHeight"),letterSpacing:Ce("DBody.letterSpacing")},H1:{fontFamily:Ce("H1.fontFamily"),fontSize:Ce("H1.fontSize"),fontWeight:Ce("H1.fontWeight"),lineHeight:Ce("H1.lineHeight"),letterSpacing:Ce("H1.letterSpacing")},H2:{fontFamily:Ce("H2.fontFamily"),fontSize:Ce("H2.fontSize"),fontWeight:Ce("H2.fontWeight"),lineHeight:Ce("H2.lineHeight"),letterSpacing:Ce("H2.letterSpacing")},H3:{fontFamily:Ce("H3.fontFamily"),fontSize:Ce("H3.fontSize"),fontWeight:Ce("H3.fontWeight"),lineHeight:Ce("H3.lineHeight"),letterSpacing:Ce("H3.letterSpacing")},H4:{fontFamily:Ce("H4.fontFamily"),fontSize:Ce("H4.fontSize"),fontWeight:Ce("H4.fontWeight"),lineHeight:Ce("H4.lineHeight"),letterSpacing:Ce("H4.letterSpacing")},H5:{fontFamily:Ce("H5.fontFamily"),fontSize:Ce("H5.fontSize"),fontWeight:Ce("H5.fontWeight"),lineHeight:Ce("H5.lineHeight"),letterSpacing:Ce("H5.letterSpacing")},H6:{fontFamily:Ce("H6.fontFamily"),fontSize:Ce("H6.fontSize"),fontWeight:Ce("H6.fontWeight"),lineHeight:Ce("H6.lineHeight"),letterSpacing:Ce("H6.letterSpacing")},Body:{fontFamily:Ce("Body.fontFamily"),fontSize:Ce("Body.fontSize"),fontWeight:Ce("Body.fontWeight"),lineHeight:Ce("Body.lineHeight"),letterSpacing:Ce("Body.letterSpacing")},BodySmall:{fontFamily:Ce("BodySmall.fontFamily"),fontSize:Ce("BodySmall.fontSize"),fontWeight:Ce("BodySmall.fontWeight"),lineHeight:Ce("BodySmall.lineHeight"),letterSpacing:Ce("BodySmall.letterSpacing")},XSmall:{fontFamily:Ce("XSmall.fontFamily"),fontSize:Ce("XSmall.fontSize"),fontWeight:Ce("XSmall.fontWeight"),lineHeight:Ce("XSmall.lineHeight"),letterSpacing:Ce("XSmall.letterSpacing")}},Ee=t=>{switch(t){case 700:case"bold":return be.Bold;case 600:case"semibold":return be.Semibold;case 300:case"light":return be.Light;case 400:case"regular":return be.Regular;default:return""}},We=(t,e)=>n=>{const i=we[t].fontFamily(n),o=we[t].fontWeight(n);return Object.values(be).includes(i)?r`
|
|
1
|
+
import t,{jsxs as e,jsx as n}from"react/jsx-runtime";import i,{css as r}from"styled-components";var o,a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l={};Object.defineProperty(l,"__esModule",{value:!0});var c=t;const h=t=>c.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:c.jsx("path",{d:"M4.25 17.5C3.764 17.5 3.35067 17.33 3.01 16.99C2.67 16.6493 2.5 16.236 2.5 15.75V4.25C2.5 3.764 2.67 3.35067 3.01 3.01C3.35067 2.67 3.764 2.5 4.25 2.5H9.208C9.444 2.5 9.649 2.58667 9.823 2.76C9.99633 2.934 10.083 3.139 10.083 3.375C10.083 3.611 9.99633 3.816 9.823 3.99C9.649 4.16333 9.444 4.25 9.208 4.25H4.25V15.75H15.75V10.792C15.75 10.556 15.8367 10.351 16.01 10.177C16.184 10.0037 16.389 9.917 16.625 9.917C16.861 9.917 17.066 10.0037 17.24 10.177C17.4133 10.351 17.5 10.556 17.5 10.792V15.75C17.5 16.236 17.33 16.6493 16.99 16.99C16.6493 17.33 16.236 17.5 15.75 17.5H4.25ZM7.5 12.5C7.33333 12.3333 7.25 12.1283 7.25 11.885C7.25 11.6423 7.33333 11.4377 7.5 11.271L14.521 4.25H12.708C12.472 4.25 12.2673 4.16333 12.094 3.99C11.92 3.816 11.833 3.611 11.833 3.375C11.833 3.139 11.92 2.934 12.094 2.76C12.2673 2.58667 12.472 2.5 12.708 2.5H16.625C16.861 2.5 17.066 2.58667 17.24 2.76C17.4133 2.934 17.5 3.139 17.5 3.375V7.292C17.5 7.528 17.4133 7.73267 17.24 7.906C17.066 8.08 16.861 8.167 16.625 8.167C16.389 8.167 16.184 8.08 16.01 7.906C15.8367 7.73267 15.75 7.528 15.75 7.292V5.479L8.708 12.521C8.54133 12.6877 8.34367 12.771 8.115 12.771C7.88567 12.771 7.68067 12.6807 7.5 12.5Z",fill:"currentColor"})});h.displayName="ExternalIcon",o=l.ExternalIcon=h;var g=Array.isArray,f="object"==typeof a&&a&&a.Object===Object&&a,p="object"==typeof self&&self&&self.Object===Object&&self,u=f||p||Function("return this")(),d=u.Symbol,s=d,y=Object.prototype,F=y.hasOwnProperty,S=y.toString,m=s?s.toStringTag:void 0;var v=function(t){var e=F.call(t,m),n=t[m];try{t[m]=void 0;var i=!0}catch(t){}var r=S.call(t);return i&&(e?t[m]=n:delete t[m]),r},H=Object.prototype.toString;var B=v,D=function(t){return H.call(t)},$=d?d.toStringTag:void 0;var _=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":$&&$ in Object(t)?B(t):D(t)};var b=_,z=function(t){return null!=t&&"object"==typeof t};var C=function(t){return"symbol"==typeof t||z(t)&&"[object Symbol]"==b(t)},w=g,E=C,W=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,A=/^\w*$/;var x=function(t,e){if(w(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!E(t))||(A.test(t)||!W.test(t)||null!=e&&t in Object(e))};var O=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},j=_,k=O;var V,R=function(t){if(!k(t))return!1;var e=j(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},T=u["__core-js_shared__"],I=(V=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";var P=function(t){return!!I&&I in t},L=Function.prototype.toString;var N=R,X=P,G=O,M=function(t){if(null!=t){try{return L.call(t)}catch(t){}try{return t+""}catch(t){}}return""},Z=/^\[object .+?Constructor\]$/,U=Function.prototype,q=Object.prototype,J=U.toString,K=q.hasOwnProperty,Q=RegExp("^"+J.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Y=function(t){return!(!G(t)||X(t))&&(N(t)?Q:Z).test(M(t))},tt=function(t,e){return null==t?void 0:t[e]};var et=function(t,e){var n=tt(t,e);return Y(n)?n:void 0},nt=et(Object,"create"),it=nt;var rt=function(){this.__data__=it?it(null):{},this.size=0};var ot=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},at=nt,lt=Object.prototype.hasOwnProperty;var ct=function(t){var e=this.__data__;if(at){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return lt.call(e,t)?e[t]:void 0},ht=nt,gt=Object.prototype.hasOwnProperty;var ft=nt;var pt=rt,ut=ot,dt=ct,st=function(t){var e=this.__data__;return ht?void 0!==e[t]:gt.call(e,t)},yt=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ft&&void 0===e?"__lodash_hash_undefined__":e,this};function Ft(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Ft.prototype.clear=pt,Ft.prototype.delete=ut,Ft.prototype.get=dt,Ft.prototype.has=st,Ft.prototype.set=yt;var St=Ft;var mt=function(){this.__data__=[],this.size=0};var vt=function(t,e){return t===e||t!=t&&e!=e};var Ht=function(t,e){for(var n=t.length;n--;)if(vt(t[n][0],e))return n;return-1},Bt=Ht,Dt=Array.prototype.splice;var $t=Ht;var _t=Ht;var bt=Ht;var zt=mt,Ct=function(t){var e=this.__data__,n=Bt(e,t);return!(n<0)&&(n==e.length-1?e.pop():Dt.call(e,n,1),--this.size,!0)},wt=function(t){var e=this.__data__,n=$t(e,t);return n<0?void 0:e[n][1]},Et=function(t){return _t(this.__data__,t)>-1},Wt=function(t,e){var n=this.__data__,i=bt(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function At(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}At.prototype.clear=zt,At.prototype.delete=Ct,At.prototype.get=wt,At.prototype.has=Et,At.prototype.set=Wt;var xt=At,Ot=et(u,"Map"),jt=St,kt=xt,Vt=Ot;var Rt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var Tt=function(t,e){var n=t.__data__;return Rt(e)?n["string"==typeof e?"string":"hash"]:n.map},It=Tt;var Pt=Tt;var Lt=Tt;var Nt=Tt;var Xt=function(){this.size=0,this.__data__={hash:new jt,map:new(Vt||kt),string:new jt}},Gt=function(t){var e=It(this,t).delete(t);return this.size-=e?1:0,e},Mt=function(t){return Pt(this,t).get(t)},Zt=function(t){return Lt(this,t).has(t)},Ut=function(t,e){var n=Nt(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};function qt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}qt.prototype.clear=Xt,qt.prototype.delete=Gt,qt.prototype.get=Mt,qt.prototype.has=Zt,qt.prototype.set=Ut;var Jt=qt;function Kt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Kt.Cache||Jt),n}Kt.Cache=Jt;var Qt=Kt;var Yt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/\\(\\)?/g,ee=function(t){var e=Qt(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Yt,(function(t,n,i,r){e.push(i?r.replace(te,"$1"):n||t)})),e}));var ne=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r},ie=g,re=C,oe=d?d.prototype:void 0,ae=oe?oe.toString:void 0;var le=function t(e){if("string"==typeof e)return e;if(ie(e))return ne(e,t)+"";if(re(e))return ae?ae.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n},ce=le;var he=g,ge=x,fe=ee,pe=function(t){return null==t?"":ce(t)};var ue=C;var de=function(t,e){return he(t)?t:ge(t,e)?[t]:fe(pe(t))},se=function(t){if("string"==typeof t||ue(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var ye=function(t,e){for(var n=0,i=(e=de(e,t)).length;null!=t&&n<i;)t=t[se(e[n++])];return n&&n==i?t:void 0};var Fe=function(t,e,n){var i=null==t?void 0:ye(t,e);return void 0===i?n:i};const Se=(t,e,n)=>e?Fe(n,e)||Fe(t,e):n||t,me=(t,e)=>{const n=e||t.defaultValue;return Fe(t.collections,n)};var ve;!function(t){t.colorScheme="colorScheme",t.layout="layout",t.textStyleScheme="textStyleScheme",t.designTokenScheme="designTokenScheme"}(ve||(ve={}));const He={collections:{base:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#1C76D5",PrimaryDark:"#1869BF",Secondary:"#0056b3",Accent:{Dark:{1:"#465A88",2:"#556D99",3:"#8D8DBF"},Light:{1:"#57A9FF",2:"#81BFFF",3:"#BED7FF",4:"#E2ECFD",5:"#F6F8FF",6:"#FBFCFE"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}},Shadow:{Accent:"rgba(87, 169, 255, 0.5)",Red:"rgba(221, 102, 102, 0.8)"}},bookingsg:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#6F4AB8",PrimaryDark:"#6443A6",Secondary:"#6443A6",Accent:{Dark:{1:"#355985",2:"#68819D",3:"#9AABBE"},Light:{1:"#9F82D9",2:"#B5A5D7",3:"#CEC3E4 ",4:"#E2DBEF",5:"#F2EFF8",6:"#F7F6FB"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}},Shadow:{Accent:"rgba(161, 87, 255, 0.5)",Red:"rgba(221, 102, 102, 0.8)"}}},defaultValue:"base"},Be=t=>e=>{const n=e.theme,i=me(He,n[ve.colorScheme]);return n.options&&n.options.color?Se(i,t,n.options.color):Se(i,t)},De=(Be("Brand.1"),Be("Brand.2"),Be("Brand.3"),Be("Brand.4"),Be("Brand.5"),Be("Brand.6"),Be("Primary")),$e=(Be("PrimaryDark"),Be("Secondary")),_e=(Be("Accent.Light.1"),Be("Accent.Light.2"),Be("Accent.Light.3"),Be("Accent.Light.4"),Be("Accent.Light.5"),Be("Accent.Light.6"),Be("Accent.Dark.1"),Be("Accent.Dark.2"),Be("Accent.Dark.3"),{1:Be("Neutral.1"),2:Be("Neutral.2"),3:Be("Neutral.3"),4:Be("Neutral.4"),5:Be("Neutral.5"),6:Be("Neutral.6"),7:Be("Neutral.7"),8:Be("Neutral.8")}),be=(Be("Validation.Green.Text"),Be("Validation.Green.Icon"),Be("Validation.Green.Border"),Be("Validation.Green.Background"),Be("Validation.Orange.Text"),Be("Validation.Orange.Icon"),Be("Validation.Orange.Border"),Be("Validation.Orange.Background"),Be("Validation.Orange.Badge"),Be("Validation.Red.Text"),Be("Validation.Red.Icon"),Be("Validation.Red.Border"),Be("Validation.Red.Background"),Be("Shadow.Accent"),Be("Shadow.Red"),{Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"}),ze={collections:{base:{D1:{fontFamily:be.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:be.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:be.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:be.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:be.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:be.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:be.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:be.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:be.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:be.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:be.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:be.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:be.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:be.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}}},defaultValue:"base"},Ce=t=>e=>{const n=e.theme,i=me(ze,n[ve.textStyleScheme]);return n.options&&n.options.textStyle?Se(i,t,n.options.textStyle):Se(i,t)},we={D1:{fontFamily:Ce("D1.fontFamily"),fontSize:Ce("D1.fontSize"),fontWeight:Ce("D1.fontWeight"),lineHeight:Ce("D1.lineHeight"),letterSpacing:Ce("D1.letterSpacing")},D2:{fontFamily:Ce("D2.fontFamily"),fontSize:Ce("D2.fontSize"),fontWeight:Ce("D2.fontWeight"),lineHeight:Ce("D2.lineHeight"),letterSpacing:Ce("D2.letterSpacing")},D3:{fontFamily:Ce("D3.fontFamily"),fontSize:Ce("D3.fontSize"),fontWeight:Ce("D3.fontWeight"),lineHeight:Ce("D3.lineHeight"),letterSpacing:Ce("D3.letterSpacing")},D4:{fontFamily:Ce("D4.fontFamily"),fontSize:Ce("D4.fontSize"),fontWeight:Ce("D4.fontWeight"),lineHeight:Ce("D4.lineHeight"),letterSpacing:Ce("D4.letterSpacing")},DBody:{fontFamily:Ce("DBody.fontFamily"),fontSize:Ce("DBody.fontSize"),fontWeight:Ce("DBody.fontWeight"),lineHeight:Ce("DBody.lineHeight"),letterSpacing:Ce("DBody.letterSpacing")},H1:{fontFamily:Ce("H1.fontFamily"),fontSize:Ce("H1.fontSize"),fontWeight:Ce("H1.fontWeight"),lineHeight:Ce("H1.lineHeight"),letterSpacing:Ce("H1.letterSpacing")},H2:{fontFamily:Ce("H2.fontFamily"),fontSize:Ce("H2.fontSize"),fontWeight:Ce("H2.fontWeight"),lineHeight:Ce("H2.lineHeight"),letterSpacing:Ce("H2.letterSpacing")},H3:{fontFamily:Ce("H3.fontFamily"),fontSize:Ce("H3.fontSize"),fontWeight:Ce("H3.fontWeight"),lineHeight:Ce("H3.lineHeight"),letterSpacing:Ce("H3.letterSpacing")},H4:{fontFamily:Ce("H4.fontFamily"),fontSize:Ce("H4.fontSize"),fontWeight:Ce("H4.fontWeight"),lineHeight:Ce("H4.lineHeight"),letterSpacing:Ce("H4.letterSpacing")},H5:{fontFamily:Ce("H5.fontFamily"),fontSize:Ce("H5.fontSize"),fontWeight:Ce("H5.fontWeight"),lineHeight:Ce("H5.lineHeight"),letterSpacing:Ce("H5.letterSpacing")},H6:{fontFamily:Ce("H6.fontFamily"),fontSize:Ce("H6.fontSize"),fontWeight:Ce("H6.fontWeight"),lineHeight:Ce("H6.lineHeight"),letterSpacing:Ce("H6.letterSpacing")},Body:{fontFamily:Ce("Body.fontFamily"),fontSize:Ce("Body.fontSize"),fontWeight:Ce("Body.fontWeight"),lineHeight:Ce("Body.lineHeight"),letterSpacing:Ce("Body.letterSpacing")},BodySmall:{fontFamily:Ce("BodySmall.fontFamily"),fontSize:Ce("BodySmall.fontSize"),fontWeight:Ce("BodySmall.fontWeight"),lineHeight:Ce("BodySmall.lineHeight"),letterSpacing:Ce("BodySmall.letterSpacing")},XSmall:{fontFamily:Ce("XSmall.fontFamily"),fontSize:Ce("XSmall.fontSize"),fontWeight:Ce("XSmall.fontWeight"),lineHeight:Ce("XSmall.lineHeight"),letterSpacing:Ce("XSmall.letterSpacing")}},Ee=t=>{switch(t){case 700:case"bold":return be.Bold;case 600:case"semibold":return be.Semibold;case 300:case"light":return be.Light;case 400:case"regular":return be.Regular;default:return""}},We=(t,e)=>n=>{const i=we[t].fontFamily(n),o=we[t].fontWeight(n);return Object.values(be).includes(i)?r`
|
|
2
2
|
font-family: ${Ee(e)||Ee(o)||i};
|
|
3
3
|
font-weight: normal !important;
|
|
4
4
|
`:r`
|
|
5
5
|
font-family: ${i};
|
|
6
|
-
font-weight: ${(
|
|
7
|
-
`},
|
|
6
|
+
font-weight: ${(Ae(e)||o)??"normal"};
|
|
7
|
+
`},Ae=t=>{switch(t){case 300:case"light":return 300;case 400:case"regular":return 400;case 600:case"semibold":return 600;case 700:case"bold":return 700;case 900:case"black":return 900;default:return""}},xe=(t,e,n=!1)=>i=>{const o=we[t],a=o.fontSize(i);return r`
|
|
8
8
|
${We(t,e)}
|
|
9
9
|
font-size: ${a}rem !important;
|
|
10
10
|
line-height: ${o.lineHeight}rem !important;
|
|
@@ -20,91 +20,91 @@ import t,{jsxs as e,jsx as n}from"react/jsx-runtime";import i,{css as r}from"sty
|
|
|
20
20
|
display: block;
|
|
21
21
|
`;var je;!function(t){t.D1=i.h1`
|
|
22
22
|
${t=>r`
|
|
23
|
-
${
|
|
23
|
+
${xe("D1",t.weight,t.paragraph)}
|
|
24
24
|
color: ${_e[1]};
|
|
25
25
|
${Oe(t.inline,t.paragraph)}
|
|
26
26
|
`}
|
|
27
27
|
`,t.D2=i.h1`
|
|
28
28
|
${t=>r`
|
|
29
|
-
${
|
|
29
|
+
${xe("D2",t.weight,t.paragraph)}
|
|
30
30
|
color: ${_e[1]};
|
|
31
31
|
${Oe(t.inline,t.paragraph)}
|
|
32
32
|
`}
|
|
33
33
|
`,t.D3=i.h1`
|
|
34
34
|
${t=>r`
|
|
35
|
-
${
|
|
35
|
+
${xe("D3",t.weight,t.paragraph)}
|
|
36
36
|
color: ${_e[1]};
|
|
37
37
|
${Oe(t.inline,t.paragraph)}
|
|
38
38
|
`}
|
|
39
39
|
`,t.D4=i.h1`
|
|
40
40
|
${t=>r`
|
|
41
|
-
${
|
|
41
|
+
${xe("D4",t.weight,t.paragraph)}
|
|
42
42
|
color: ${_e[1]};
|
|
43
43
|
${Oe(t.inline,t.paragraph)}
|
|
44
44
|
`}
|
|
45
45
|
`,t.DBody=i.h1`
|
|
46
46
|
${t=>r`
|
|
47
|
-
${
|
|
47
|
+
${xe("DBody",t.weight,t.paragraph)}
|
|
48
48
|
color: ${_e[1]};
|
|
49
49
|
${Oe(t.inline,t.paragraph)}
|
|
50
50
|
`}
|
|
51
51
|
`,t.H1=i.h1`
|
|
52
52
|
${t=>r`
|
|
53
|
-
${
|
|
53
|
+
${xe("H1",t.weight,t.paragraph)}
|
|
54
54
|
color: ${_e[1]};
|
|
55
55
|
${Oe(t.inline,t.paragraph)}
|
|
56
56
|
`}
|
|
57
57
|
`,t.H2=i.h2`
|
|
58
58
|
${t=>r`
|
|
59
|
-
${
|
|
59
|
+
${xe("H2",t.weight,t.paragraph)}
|
|
60
60
|
color: ${_e[1]};
|
|
61
61
|
${Oe(t.inline,t.paragraph)}
|
|
62
62
|
`}
|
|
63
63
|
`,t.H3=i.h3`
|
|
64
64
|
${t=>r`
|
|
65
|
-
${
|
|
65
|
+
${xe("H3",t.weight,t.paragraph)}
|
|
66
66
|
color: ${_e[1]};
|
|
67
67
|
${Oe(t.inline,t.paragraph)}
|
|
68
68
|
`}
|
|
69
69
|
`,t.H4=i.h4`
|
|
70
70
|
${t=>r`
|
|
71
|
-
${
|
|
71
|
+
${xe("H4",t.weight,t.paragraph)}
|
|
72
72
|
color: ${_e[1]};
|
|
73
73
|
${Oe(t.inline,t.paragraph)}
|
|
74
74
|
`}
|
|
75
75
|
`,t.H5=i.h5`
|
|
76
76
|
${t=>r`
|
|
77
|
-
${
|
|
77
|
+
${xe("H5",t.weight,t.paragraph)}
|
|
78
78
|
color: ${_e[1]};
|
|
79
79
|
${Oe(t.inline,t.paragraph)}
|
|
80
80
|
`}
|
|
81
81
|
`,t.H6=i.h6`
|
|
82
82
|
${t=>r`
|
|
83
|
-
${
|
|
83
|
+
${xe("H6",t.weight,t.paragraph)}
|
|
84
84
|
color: ${_e[1]};
|
|
85
85
|
${Oe(t.inline,t.paragraph)}
|
|
86
86
|
`}
|
|
87
87
|
`,t.Body=i.p`
|
|
88
88
|
${t=>r`
|
|
89
|
-
${
|
|
89
|
+
${xe("Body",t.weight,t.paragraph)}
|
|
90
90
|
color: ${_e[1]};
|
|
91
91
|
${Oe(t.inline,t.paragraph)}
|
|
92
92
|
`}
|
|
93
93
|
`,t.BodySmall=i.p`
|
|
94
94
|
${t=>r`
|
|
95
|
-
${
|
|
95
|
+
${xe("BodySmall",t.weight,t.paragraph)}
|
|
96
96
|
color: ${_e[1]};
|
|
97
97
|
${Oe(t.inline,t.paragraph)}
|
|
98
98
|
`}
|
|
99
99
|
`,t.XSmall=i.span`
|
|
100
100
|
${t=>r`
|
|
101
|
-
${
|
|
101
|
+
${xe("XSmall",t.weight,t.paragraph)}
|
|
102
102
|
color: ${_e[1]};
|
|
103
103
|
${Oe(t.inline,t.paragraph)}
|
|
104
104
|
`}
|
|
105
|
-
`,t.Hyperlink={Default:t=>
|
|
105
|
+
`,t.Hyperlink={Default:t=>Re({...t,textStyle:"Body"}),Small:t=>Re({...t,textStyle:"BodySmall"})}}(je||(je={}));const ke=i.a`
|
|
106
106
|
${t=>r`
|
|
107
|
-
${
|
|
107
|
+
${xe(t.textStyle,t.weight)}
|
|
108
108
|
color: ${De};
|
|
109
109
|
text-decoration: none;
|
|
110
110
|
|
|
@@ -123,10 +123,10 @@ import t,{jsxs as e,jsx as n}from"react/jsx-runtime";import i,{css as r}from"sty
|
|
|
123
123
|
width: 1rem;
|
|
124
124
|
margin-left: 0.4rem;
|
|
125
125
|
vertical-align: middle;
|
|
126
|
-
`,
|
|
127
|
-
border-radius:
|
|
126
|
+
`,Re=({external:t=!1,children:i,...r})=>e(ke,{...r,children:[i,t&&n(Ve,{})]}),Te=i.div`
|
|
127
|
+
border-radius: 0.5rem;
|
|
128
128
|
background: ${_e[8]};
|
|
129
129
|
padding: 1rem 2rem;
|
|
130
|
-
box-shadow: 0
|
|
131
|
-
`,
|
|
130
|
+
box-shadow: 0 0.125rem 0.5rem rgba(104, 104, 104, 0.25);
|
|
131
|
+
`,Ie=({children:t,...e})=>{const i=e["data-testid"]||"card";return n(Te,{...e,"data-testid":i,children:"string"==typeof t?n(je.Body,{children:t}):t})};export{Ie as Card};
|
|
132
132
|
//# sourceMappingURL=index.js.map
|