@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.
Files changed (99) hide show
  1. package/accordion/index.js +4 -4
  2. package/accordion/index.js.map +1 -1
  3. package/alert/index.js +42 -42
  4. package/alert/index.js.map +1 -1
  5. package/box-container/index.js +5 -5
  6. package/box-container/index.js.map +1 -1
  7. package/breadcrumb/index.js +2 -2
  8. package/breadcrumb/index.js.map +1 -1
  9. package/button/index.js +125 -125
  10. package/button/index.js.map +1 -1
  11. package/card/index.js +23 -23
  12. package/card/index.js.map +1 -1
  13. package/checkbox/index.js +3 -3
  14. package/checkbox/index.js.map +1 -1
  15. package/cjs/index.js +44 -46
  16. package/cjs/index.js.map +1 -1
  17. package/color/color.d.ts +4 -59
  18. package/color/index.js +1 -1
  19. package/color/index.js.map +1 -1
  20. package/color/types.d.ts +4 -0
  21. package/date-input/index.js +53 -49
  22. package/date-input/index.js.map +1 -1
  23. package/design-token/design-token.d.ts +4 -0
  24. package/design-token/index.d.ts +2 -0
  25. package/design-token/index.js +6 -0
  26. package/design-token/index.js.map +1 -0
  27. package/{icon → design-token}/package.json +1 -1
  28. package/design-token/types.d.ts +7 -0
  29. package/error-display/index.js +92 -92
  30. package/error-display/index.js.map +1 -1
  31. package/feedback-rating/index.js +58 -58
  32. package/feedback-rating/index.js.map +1 -1
  33. package/footer/index.js +10 -10
  34. package/footer/index.js.map +1 -1
  35. package/form/index.js +144 -140
  36. package/form/index.js.map +1 -1
  37. package/icon-button/index.js +3 -3
  38. package/icon-button/index.js.map +1 -1
  39. package/index.d.ts +0 -1
  40. package/index.js +63 -65
  41. package/index.js.map +1 -1
  42. package/input/index.js +18 -14
  43. package/input/index.js.map +1 -1
  44. package/input-group/index.js +125 -121
  45. package/input-group/index.js.map +1 -1
  46. package/input-select/index.js +32 -28
  47. package/input-select/index.js.map +1 -1
  48. package/input-textarea/index.js +112 -108
  49. package/input-textarea/index.js.map +1 -1
  50. package/link-list/index.js +35 -35
  51. package/link-list/index.js.map +1 -1
  52. package/modal/index.js +15 -15
  53. package/modal/index.js.map +1 -1
  54. package/navbar/index.js +188 -188
  55. package/navbar/index.js.map +1 -1
  56. package/notification-banner/index.js +2 -2
  57. package/notification-banner/index.js.map +1 -1
  58. package/package.json +1 -1
  59. package/phone-number-input/index.js +126 -122
  60. package/phone-number-input/index.js.map +1 -1
  61. package/popover/index.js +7 -7
  62. package/popover/index.js.map +1 -1
  63. package/progress-indicator/index.js +7 -7
  64. package/progress-indicator/index.js.map +1 -1
  65. package/radio-button/index.js +7 -7
  66. package/radio-button/index.js.map +1 -1
  67. package/smart-app-banner/index.js +14 -14
  68. package/smart-app-banner/index.js.map +1 -1
  69. package/spec/design-token-spec/base-design-token-set.d.ts +2 -0
  70. package/text/index.js +18 -18
  71. package/text/index.js.map +1 -1
  72. package/text/text-style.d.ts +4 -100
  73. package/text-list/index.js +7 -7
  74. package/text-list/index.js.map +1 -1
  75. package/theme/design-token-helper.d.ts +2 -0
  76. package/theme/index.js +1 -1
  77. package/theme/index.js.map +1 -1
  78. package/theme/types.d.ts +10 -1
  79. package/timeline/index.js +8 -8
  80. package/timeline/index.js.map +1 -1
  81. package/timepicker/index.js +61 -57
  82. package/timepicker/index.js.map +1 -1
  83. package/toggle-button/index.js +109 -109
  84. package/toggle-button/index.js.map +1 -1
  85. package/tooltip/index.js +5 -5
  86. package/tooltip/index.js.map +1 -1
  87. package/unit-number/index.js +113 -109
  88. package/unit-number/index.js.map +1 -1
  89. package/util/utility-types.d.ts +3 -0
  90. package/icon/document-with-pencil-icon.d.ts +0 -5
  91. package/icon/icon-data.d.ts +0 -3
  92. package/icon/icon-style.d.ts +0 -1
  93. package/icon/icon.d.ts +0 -6
  94. package/icon/index.d.ts +0 -2
  95. package/icon/index.js +0 -8
  96. package/icon/index.js.map +0 -1
  97. package/icon/location-unknown-icon.d.ts +0 -5
  98. package/icon/mail-unread-icon.d.ts +0 -5
  99. package/icon/types.d.ts +0 -18
@@ -0,0 +1,2 @@
1
+ import { DesignTokenSet } from "../../design-token/types";
2
+ export declare const BaseDesignTokenSet: DesignTokenSet;
package/text/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import t,{css as e}from"styled-components";import n,{jsxs as i,jsx as r}from"react/jsx-runtime";const a={Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"},o={D1:{fontFamily:a.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:a.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:a.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:a.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:a.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:a.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:a.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:a.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:a.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:a.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:a.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:a.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:a.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:a.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}};var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=Array.isArray,g="object"==typeof l&&l&&l.Object===Object&&l,h="object"==typeof self&&self&&self.Object===Object&&self,f=g||h||Function("return this")(),p=f.Symbol,y=p,u=Object.prototype,s=u.hasOwnProperty,d=u.toString,S=y?y.toStringTag:void 0;var F=function(t){var e=s.call(t,S),n=t[S];try{t[S]=void 0;var i=!0}catch(t){}var r=d.call(t);return i&&(e?t[S]=n:delete t[S]),r},m=Object.prototype.toString;var v=F,H=function(t){return m.call(t)},D=p?p.toStringTag:void 0;var B=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":D&&D in Object(t)?v(t):H(t)};var $=B,_=function(t){return null!=t&&"object"==typeof t};var b=function(t){return"symbol"==typeof t||_(t)&&"[object Symbol]"==$(t)},z=c,C=b,x=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,w=/^\w*$/;var E=function(t,e){if(z(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!C(t))||(w.test(t)||!x.test(t)||null!=e&&t in Object(e))};var W=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},A=B,O=W;var T,j=function(t){if(!O(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},k=f["__core-js_shared__"],V=(T=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||""))?"Symbol(src)_1."+T:"";var I=function(t){return!!V&&V in t},P=Function.prototype.toString;var R=j,L=I,N=W,X=function(t){if(null!=t){try{return P.call(t)}catch(t){}try{return t+""}catch(t){}}return""},G=/^\[object .+?Constructor\]$/,M=Function.prototype,Z=Object.prototype,U=M.toString,q=Z.hasOwnProperty,J=RegExp("^"+U.call(q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var K=function(t){return!(!N(t)||L(t))&&(R(t)?J:G).test(X(t))},Q=function(t,e){return null==t?void 0:t[e]};var Y=function(t,e){var n=Q(t,e);return K(n)?n:void 0},tt=Y(Object,"create"),et=tt;var nt=function(){this.__data__=et?et(null):{},this.size=0};var it=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},rt=tt,at=Object.prototype.hasOwnProperty;var ot=function(t){var e=this.__data__;if(rt){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return at.call(e,t)?e[t]:void 0},lt=tt,ct=Object.prototype.hasOwnProperty;var gt=tt;var ht=nt,ft=it,pt=ot,yt=function(t){var e=this.__data__;return lt?void 0!==e[t]:ct.call(e,t)},ut=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=gt&&void 0===e?"__lodash_hash_undefined__":e,this};function st(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])}}st.prototype.clear=ht,st.prototype.delete=ft,st.prototype.get=pt,st.prototype.has=yt,st.prototype.set=ut;var dt=st;var St=function(){this.__data__=[],this.size=0};var Ft=function(t,e){return t===e||t!=t&&e!=e};var mt=function(t,e){for(var n=t.length;n--;)if(Ft(t[n][0],e))return n;return-1},vt=mt,Ht=Array.prototype.splice;var Dt=mt;var Bt=mt;var $t=mt;var _t=St,bt=function(t){var e=this.__data__,n=vt(e,t);return!(n<0)&&(n==e.length-1?e.pop():Ht.call(e,n,1),--this.size,!0)},zt=function(t){var e=this.__data__,n=Dt(e,t);return n<0?void 0:e[n][1]},Ct=function(t){return Bt(this.__data__,t)>-1},xt=function(t,e){var n=this.__data__,i=$t(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function wt(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])}}wt.prototype.clear=_t,wt.prototype.delete=bt,wt.prototype.get=zt,wt.prototype.has=Ct,wt.prototype.set=xt;var Et=wt,Wt=Y(f,"Map"),At=dt,Ot=Et,Tt=Wt;var jt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var kt=function(t,e){var n=t.__data__;return jt(e)?n["string"==typeof e?"string":"hash"]:n.map},Vt=kt;var It=kt;var Pt=kt;var Rt=kt;var Lt=function(){this.size=0,this.__data__={hash:new At,map:new(Tt||Ot),string:new At}},Nt=function(t){var e=Vt(this,t).delete(t);return this.size-=e?1:0,e},Xt=function(t){return It(this,t).get(t)},Gt=function(t){return Pt(this,t).has(t)},Mt=function(t,e){var n=Rt(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};function Zt(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])}}Zt.prototype.clear=Lt,Zt.prototype.delete=Nt,Zt.prototype.get=Xt,Zt.prototype.has=Gt,Zt.prototype.set=Mt;var Ut=Zt;function qt(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],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(qt.Cache||Ut),n}qt.Cache=Ut;var Jt=qt;var Kt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qt=/\\(\\)?/g,Yt=function(t){var e=Jt(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(Kt,(function(t,n,i,r){e.push(i?r.replace(Qt,"$1"):n||t)})),e}));var te=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},ee=c,ne=b,ie=p?p.prototype:void 0,re=ie?ie.toString:void 0;var ae=function t(e){if("string"==typeof e)return e;if(ee(e))return te(e,t)+"";if(ne(e))return re?re.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n},oe=ae;var le=c,ce=E,ge=Yt,he=function(t){return null==t?"":oe(t)};var fe=b;var pe=function(t,e){return le(t)?t:ce(t,e)?[t]:ge(he(t))},ye=function(t){if("string"==typeof t||fe(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var ue=function(t,e){for(var n=0,i=(e=pe(e,t)).length;null!=t&&n<i;)t=t[ye(e[n++])];return n&&n==i?t:void 0};var se=function(t,e,n){var i=null==t?void 0:ue(t,e);return void 0===i?n:i};const de=(t,e,n)=>e?se(n,e)||se(t,e):n||t,Se=(t,e)=>{const n=e||t.defaultValue;return se(t.collections,n)};var Fe;!function(t){t.colorScheme="colorScheme",t.layout="layout",t.textStyleScheme="textStyleScheme"}(Fe||(Fe={}));const me={collections:{base:o},defaultValue:"base"},ve=t=>e=>{const n=e.theme,i=Se(me,n[Fe.textStyleScheme]);return n.options&&n.options.textStyle?de(i,t,n.options.textStyle):de(i,t)},He={D1:{fontFamily:ve("D1.fontFamily"),fontSize:ve("D1.fontSize"),fontWeight:ve("D1.fontWeight"),lineHeight:ve("D1.lineHeight"),letterSpacing:ve("D1.letterSpacing")},D2:{fontFamily:ve("D2.fontFamily"),fontSize:ve("D2.fontSize"),fontWeight:ve("D2.fontWeight"),lineHeight:ve("D2.lineHeight"),letterSpacing:ve("D2.letterSpacing")},D3:{fontFamily:ve("D3.fontFamily"),fontSize:ve("D3.fontSize"),fontWeight:ve("D3.fontWeight"),lineHeight:ve("D3.lineHeight"),letterSpacing:ve("D3.letterSpacing")},D4:{fontFamily:ve("D4.fontFamily"),fontSize:ve("D4.fontSize"),fontWeight:ve("D4.fontWeight"),lineHeight:ve("D4.lineHeight"),letterSpacing:ve("D4.letterSpacing")},DBody:{fontFamily:ve("DBody.fontFamily"),fontSize:ve("DBody.fontSize"),fontWeight:ve("DBody.fontWeight"),lineHeight:ve("DBody.lineHeight"),letterSpacing:ve("DBody.letterSpacing")},H1:{fontFamily:ve("H1.fontFamily"),fontSize:ve("H1.fontSize"),fontWeight:ve("H1.fontWeight"),lineHeight:ve("H1.lineHeight"),letterSpacing:ve("H1.letterSpacing")},H2:{fontFamily:ve("H2.fontFamily"),fontSize:ve("H2.fontSize"),fontWeight:ve("H2.fontWeight"),lineHeight:ve("H2.lineHeight"),letterSpacing:ve("H2.letterSpacing")},H3:{fontFamily:ve("H3.fontFamily"),fontSize:ve("H3.fontSize"),fontWeight:ve("H3.fontWeight"),lineHeight:ve("H3.lineHeight"),letterSpacing:ve("H3.letterSpacing")},H4:{fontFamily:ve("H4.fontFamily"),fontSize:ve("H4.fontSize"),fontWeight:ve("H4.fontWeight"),lineHeight:ve("H4.lineHeight"),letterSpacing:ve("H4.letterSpacing")},H5:{fontFamily:ve("H5.fontFamily"),fontSize:ve("H5.fontSize"),fontWeight:ve("H5.fontWeight"),lineHeight:ve("H5.lineHeight"),letterSpacing:ve("H5.letterSpacing")},H6:{fontFamily:ve("H6.fontFamily"),fontSize:ve("H6.fontSize"),fontWeight:ve("H6.fontWeight"),lineHeight:ve("H6.lineHeight"),letterSpacing:ve("H6.letterSpacing")},Body:{fontFamily:ve("Body.fontFamily"),fontSize:ve("Body.fontSize"),fontWeight:ve("Body.fontWeight"),lineHeight:ve("Body.lineHeight"),letterSpacing:ve("Body.letterSpacing")},BodySmall:{fontFamily:ve("BodySmall.fontFamily"),fontSize:ve("BodySmall.fontSize"),fontWeight:ve("BodySmall.fontWeight"),lineHeight:ve("BodySmall.lineHeight"),letterSpacing:ve("BodySmall.letterSpacing")},XSmall:{fontFamily:ve("XSmall.fontFamily"),fontSize:ve("XSmall.fontSize"),fontWeight:ve("XSmall.fontWeight"),lineHeight:ve("XSmall.lineHeight"),letterSpacing:ve("XSmall.letterSpacing")}},De=t=>{switch(t){case 700:case"bold":return a.Bold;case 600:case"semibold":return a.Semibold;case 300:case"light":return a.Light;case 400:case"regular":return a.Regular;default:return""}},Be=(t,n)=>i=>{const r=He[t].fontFamily(i),o=He[t].fontWeight(i);return Object.values(a).includes(r)?e`
1
+ import t,{css as e}from"styled-components";import n,{jsxs as i,jsx as r}from"react/jsx-runtime";const a={Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"},o={D1:{fontFamily:a.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:a.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:a.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:a.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:a.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:a.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:a.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:a.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:a.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:a.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:a.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:a.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:a.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:a.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}};var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=Array.isArray,g="object"==typeof l&&l&&l.Object===Object&&l,h="object"==typeof self&&self&&self.Object===Object&&self,f=g||h||Function("return this")(),p=f.Symbol,y=p,u=Object.prototype,s=u.hasOwnProperty,d=u.toString,S=y?y.toStringTag:void 0;var F=function(t){var e=s.call(t,S),n=t[S];try{t[S]=void 0;var i=!0}catch(t){}var r=d.call(t);return i&&(e?t[S]=n:delete t[S]),r},m=Object.prototype.toString;var v=F,H=function(t){return m.call(t)},D=p?p.toStringTag:void 0;var B=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":D&&D in Object(t)?v(t):H(t)};var $=B,_=function(t){return null!=t&&"object"==typeof t};var b=function(t){return"symbol"==typeof t||_(t)&&"[object Symbol]"==$(t)},z=c,C=b,x=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,w=/^\w*$/;var E=function(t,e){if(z(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!C(t))||(w.test(t)||!x.test(t)||null!=e&&t in Object(e))};var W=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},A=B,T=W;var O,j=function(t){if(!T(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},k=f["__core-js_shared__"],V=(O=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"";var R=function(t){return!!V&&V in t},I=Function.prototype.toString;var P=j,L=R,N=W,X=function(t){if(null!=t){try{return I.call(t)}catch(t){}try{return t+""}catch(t){}}return""},G=/^\[object .+?Constructor\]$/,M=Function.prototype,Z=Object.prototype,U=M.toString,q=Z.hasOwnProperty,J=RegExp("^"+U.call(q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var K=function(t){return!(!N(t)||L(t))&&(P(t)?J:G).test(X(t))},Q=function(t,e){return null==t?void 0:t[e]};var Y=function(t,e){var n=Q(t,e);return K(n)?n:void 0},tt=Y(Object,"create"),et=tt;var nt=function(){this.__data__=et?et(null):{},this.size=0};var it=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},rt=tt,at=Object.prototype.hasOwnProperty;var ot=function(t){var e=this.__data__;if(rt){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return at.call(e,t)?e[t]:void 0},lt=tt,ct=Object.prototype.hasOwnProperty;var gt=tt;var ht=nt,ft=it,pt=ot,yt=function(t){var e=this.__data__;return lt?void 0!==e[t]:ct.call(e,t)},ut=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=gt&&void 0===e?"__lodash_hash_undefined__":e,this};function st(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])}}st.prototype.clear=ht,st.prototype.delete=ft,st.prototype.get=pt,st.prototype.has=yt,st.prototype.set=ut;var dt=st;var St=function(){this.__data__=[],this.size=0};var Ft=function(t,e){return t===e||t!=t&&e!=e};var mt=function(t,e){for(var n=t.length;n--;)if(Ft(t[n][0],e))return n;return-1},vt=mt,Ht=Array.prototype.splice;var Dt=mt;var Bt=mt;var $t=mt;var _t=St,bt=function(t){var e=this.__data__,n=vt(e,t);return!(n<0)&&(n==e.length-1?e.pop():Ht.call(e,n,1),--this.size,!0)},zt=function(t){var e=this.__data__,n=Dt(e,t);return n<0?void 0:e[n][1]},Ct=function(t){return Bt(this.__data__,t)>-1},xt=function(t,e){var n=this.__data__,i=$t(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function wt(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])}}wt.prototype.clear=_t,wt.prototype.delete=bt,wt.prototype.get=zt,wt.prototype.has=Ct,wt.prototype.set=xt;var Et=wt,Wt=Y(f,"Map"),At=dt,Tt=Et,Ot=Wt;var jt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var kt=function(t,e){var n=t.__data__;return jt(e)?n["string"==typeof e?"string":"hash"]:n.map},Vt=kt;var Rt=kt;var It=kt;var Pt=kt;var Lt=function(){this.size=0,this.__data__={hash:new At,map:new(Ot||Tt),string:new At}},Nt=function(t){var e=Vt(this,t).delete(t);return this.size-=e?1:0,e},Xt=function(t){return Rt(this,t).get(t)},Gt=function(t){return It(this,t).has(t)},Mt=function(t,e){var n=Pt(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};function Zt(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])}}Zt.prototype.clear=Lt,Zt.prototype.delete=Nt,Zt.prototype.get=Xt,Zt.prototype.has=Gt,Zt.prototype.set=Mt;var Ut=Zt;function qt(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],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(qt.Cache||Ut),n}qt.Cache=Ut;var Jt=qt;var Kt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qt=/\\(\\)?/g,Yt=function(t){var e=Jt(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(Kt,(function(t,n,i,r){e.push(i?r.replace(Qt,"$1"):n||t)})),e}));var te=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},ee=c,ne=b,ie=p?p.prototype:void 0,re=ie?ie.toString:void 0;var ae=function t(e){if("string"==typeof e)return e;if(ee(e))return te(e,t)+"";if(ne(e))return re?re.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n},oe=ae;var le=c,ce=E,ge=Yt,he=function(t){return null==t?"":oe(t)};var fe=b;var pe=function(t,e){return le(t)?t:ce(t,e)?[t]:ge(he(t))},ye=function(t){if("string"==typeof t||fe(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var ue=function(t,e){for(var n=0,i=(e=pe(e,t)).length;null!=t&&n<i;)t=t[ye(e[n++])];return n&&n==i?t:void 0};var se=function(t,e,n){var i=null==t?void 0:ue(t,e);return void 0===i?n:i};const de=(t,e,n)=>e?se(n,e)||se(t,e):n||t,Se=(t,e)=>{const n=e||t.defaultValue;return se(t.collections,n)};var Fe;!function(t){t.colorScheme="colorScheme",t.layout="layout",t.textStyleScheme="textStyleScheme",t.designTokenScheme="designTokenScheme"}(Fe||(Fe={}));const me={collections:{base:o},defaultValue:"base"},ve=t=>e=>{const n=e.theme,i=Se(me,n[Fe.textStyleScheme]);return n.options&&n.options.textStyle?de(i,t,n.options.textStyle):de(i,t)},He={D1:{fontFamily:ve("D1.fontFamily"),fontSize:ve("D1.fontSize"),fontWeight:ve("D1.fontWeight"),lineHeight:ve("D1.lineHeight"),letterSpacing:ve("D1.letterSpacing")},D2:{fontFamily:ve("D2.fontFamily"),fontSize:ve("D2.fontSize"),fontWeight:ve("D2.fontWeight"),lineHeight:ve("D2.lineHeight"),letterSpacing:ve("D2.letterSpacing")},D3:{fontFamily:ve("D3.fontFamily"),fontSize:ve("D3.fontSize"),fontWeight:ve("D3.fontWeight"),lineHeight:ve("D3.lineHeight"),letterSpacing:ve("D3.letterSpacing")},D4:{fontFamily:ve("D4.fontFamily"),fontSize:ve("D4.fontSize"),fontWeight:ve("D4.fontWeight"),lineHeight:ve("D4.lineHeight"),letterSpacing:ve("D4.letterSpacing")},DBody:{fontFamily:ve("DBody.fontFamily"),fontSize:ve("DBody.fontSize"),fontWeight:ve("DBody.fontWeight"),lineHeight:ve("DBody.lineHeight"),letterSpacing:ve("DBody.letterSpacing")},H1:{fontFamily:ve("H1.fontFamily"),fontSize:ve("H1.fontSize"),fontWeight:ve("H1.fontWeight"),lineHeight:ve("H1.lineHeight"),letterSpacing:ve("H1.letterSpacing")},H2:{fontFamily:ve("H2.fontFamily"),fontSize:ve("H2.fontSize"),fontWeight:ve("H2.fontWeight"),lineHeight:ve("H2.lineHeight"),letterSpacing:ve("H2.letterSpacing")},H3:{fontFamily:ve("H3.fontFamily"),fontSize:ve("H3.fontSize"),fontWeight:ve("H3.fontWeight"),lineHeight:ve("H3.lineHeight"),letterSpacing:ve("H3.letterSpacing")},H4:{fontFamily:ve("H4.fontFamily"),fontSize:ve("H4.fontSize"),fontWeight:ve("H4.fontWeight"),lineHeight:ve("H4.lineHeight"),letterSpacing:ve("H4.letterSpacing")},H5:{fontFamily:ve("H5.fontFamily"),fontSize:ve("H5.fontSize"),fontWeight:ve("H5.fontWeight"),lineHeight:ve("H5.lineHeight"),letterSpacing:ve("H5.letterSpacing")},H6:{fontFamily:ve("H6.fontFamily"),fontSize:ve("H6.fontSize"),fontWeight:ve("H6.fontWeight"),lineHeight:ve("H6.lineHeight"),letterSpacing:ve("H6.letterSpacing")},Body:{fontFamily:ve("Body.fontFamily"),fontSize:ve("Body.fontSize"),fontWeight:ve("Body.fontWeight"),lineHeight:ve("Body.lineHeight"),letterSpacing:ve("Body.letterSpacing")},BodySmall:{fontFamily:ve("BodySmall.fontFamily"),fontSize:ve("BodySmall.fontSize"),fontWeight:ve("BodySmall.fontWeight"),lineHeight:ve("BodySmall.lineHeight"),letterSpacing:ve("BodySmall.letterSpacing")},XSmall:{fontFamily:ve("XSmall.fontFamily"),fontSize:ve("XSmall.fontSize"),fontWeight:ve("XSmall.fontWeight"),lineHeight:ve("XSmall.lineHeight"),letterSpacing:ve("XSmall.letterSpacing")}},De=t=>{switch(t){case 700:case"bold":return a.Bold;case 600:case"semibold":return a.Semibold;case 300:case"light":return a.Light;case 400:case"regular":return a.Regular;default:return""}},Be=(t,n)=>i=>{const r=He[t].fontFamily(i),o=He[t].fontWeight(i);return Object.values(a).includes(r)?e`
2
2
  font-family: ${De(n)||De(o)||r};
3
3
  font-weight: normal !important;
4
4
  `:e`
@@ -18,91 +18,91 @@ import t,{css as e}from"styled-components";import n,{jsxs as i,jsx as r}from"rea
18
18
  display: inline;
19
19
  `:e`
20
20
  display: block;
21
- `};var be,ze={};Object.defineProperty(ze,"__esModule",{value:!0});var Ce=n;const xe=t=>Ce.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:Ce.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"})});xe.displayName="ExternalIcon",be=ze.ExternalIcon=xe;const we={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"},Ee=t=>e=>{const n=e.theme,i=Se(we,n[Fe.colorScheme]);return n.options&&n.options.color?de(i,t,n.options.color):de(i,t)},We=(Ee("Brand.1"),Ee("Brand.2"),Ee("Brand.3"),Ee("Brand.4"),Ee("Brand.5"),Ee("Brand.6"),Ee("Primary")),Ae=(Ee("PrimaryDark"),Ee("Secondary")),Oe=(Ee("Accent.Light.1"),Ee("Accent.Light.2"),Ee("Accent.Light.3"),Ee("Accent.Light.4"),Ee("Accent.Light.5"),Ee("Accent.Light.6"),Ee("Accent.Dark.1"),Ee("Accent.Dark.2"),Ee("Accent.Dark.3"),{1:Ee("Neutral.1"),2:Ee("Neutral.2"),3:Ee("Neutral.3"),4:Ee("Neutral.4"),5:Ee("Neutral.5"),6:Ee("Neutral.6"),7:Ee("Neutral.7"),8:Ee("Neutral.8")});Ee("Validation.Green.Text"),Ee("Validation.Green.Icon"),Ee("Validation.Green.Border"),Ee("Validation.Green.Background"),Ee("Validation.Orange.Text"),Ee("Validation.Orange.Icon"),Ee("Validation.Orange.Border"),Ee("Validation.Orange.Background"),Ee("Validation.Orange.Badge"),Ee("Validation.Red.Text"),Ee("Validation.Red.Icon"),Ee("Validation.Red.Border"),Ee("Validation.Red.Background");var Te;!function(n){n.D1=t.h1`
21
+ `};var be,ze={};Object.defineProperty(ze,"__esModule",{value:!0});var Ce=n;const xe=t=>Ce.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:Ce.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"})});xe.displayName="ExternalIcon",be=ze.ExternalIcon=xe;const we={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"},Ee=t=>e=>{const n=e.theme,i=Se(we,n[Fe.colorScheme]);return n.options&&n.options.color?de(i,t,n.options.color):de(i,t)},We=(Ee("Brand.1"),Ee("Brand.2"),Ee("Brand.3"),Ee("Brand.4"),Ee("Brand.5"),Ee("Brand.6"),Ee("Primary")),Ae=(Ee("PrimaryDark"),Ee("Secondary")),Te=(Ee("Accent.Light.1"),Ee("Accent.Light.2"),Ee("Accent.Light.3"),Ee("Accent.Light.4"),Ee("Accent.Light.5"),Ee("Accent.Light.6"),Ee("Accent.Dark.1"),Ee("Accent.Dark.2"),Ee("Accent.Dark.3"),{1:Ee("Neutral.1"),2:Ee("Neutral.2"),3:Ee("Neutral.3"),4:Ee("Neutral.4"),5:Ee("Neutral.5"),6:Ee("Neutral.6"),7:Ee("Neutral.7"),8:Ee("Neutral.8")});Ee("Validation.Green.Text"),Ee("Validation.Green.Icon"),Ee("Validation.Green.Border"),Ee("Validation.Green.Background"),Ee("Validation.Orange.Text"),Ee("Validation.Orange.Icon"),Ee("Validation.Orange.Border"),Ee("Validation.Orange.Background"),Ee("Validation.Orange.Badge"),Ee("Validation.Red.Text"),Ee("Validation.Red.Icon"),Ee("Validation.Red.Border"),Ee("Validation.Red.Background"),Ee("Shadow.Accent"),Ee("Shadow.Red");var Oe;!function(n){n.D1=t.h1`
22
22
  ${t=>e`
23
23
  ${_e.getTextStyle("D1",t.weight,t.paragraph)}
24
- color: ${Oe[1]};
24
+ color: ${Te[1]};
25
25
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
26
26
  `}
27
27
  `,n.D2=t.h1`
28
28
  ${t=>e`
29
29
  ${_e.getTextStyle("D2",t.weight,t.paragraph)}
30
- color: ${Oe[1]};
30
+ color: ${Te[1]};
31
31
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
32
32
  `}
33
33
  `,n.D3=t.h1`
34
34
  ${t=>e`
35
35
  ${_e.getTextStyle("D3",t.weight,t.paragraph)}
36
- color: ${Oe[1]};
36
+ color: ${Te[1]};
37
37
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
38
38
  `}
39
39
  `,n.D4=t.h1`
40
40
  ${t=>e`
41
41
  ${_e.getTextStyle("D4",t.weight,t.paragraph)}
42
- color: ${Oe[1]};
42
+ color: ${Te[1]};
43
43
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
44
44
  `}
45
45
  `,n.DBody=t.h1`
46
46
  ${t=>e`
47
47
  ${_e.getTextStyle("DBody",t.weight,t.paragraph)}
48
- color: ${Oe[1]};
48
+ color: ${Te[1]};
49
49
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
50
50
  `}
51
51
  `,n.H1=t.h1`
52
52
  ${t=>e`
53
53
  ${_e.getTextStyle("H1",t.weight,t.paragraph)}
54
- color: ${Oe[1]};
54
+ color: ${Te[1]};
55
55
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
56
56
  `}
57
57
  `,n.H2=t.h2`
58
58
  ${t=>e`
59
59
  ${_e.getTextStyle("H2",t.weight,t.paragraph)}
60
- color: ${Oe[1]};
60
+ color: ${Te[1]};
61
61
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
62
62
  `}
63
63
  `,n.H3=t.h3`
64
64
  ${t=>e`
65
65
  ${_e.getTextStyle("H3",t.weight,t.paragraph)}
66
- color: ${Oe[1]};
66
+ color: ${Te[1]};
67
67
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
68
68
  `}
69
69
  `,n.H4=t.h4`
70
70
  ${t=>e`
71
71
  ${_e.getTextStyle("H4",t.weight,t.paragraph)}
72
- color: ${Oe[1]};
72
+ color: ${Te[1]};
73
73
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
74
74
  `}
75
75
  `,n.H5=t.h5`
76
76
  ${t=>e`
77
77
  ${_e.getTextStyle("H5",t.weight,t.paragraph)}
78
- color: ${Oe[1]};
78
+ color: ${Te[1]};
79
79
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
80
80
  `}
81
81
  `,n.H6=t.h6`
82
82
  ${t=>e`
83
83
  ${_e.getTextStyle("H6",t.weight,t.paragraph)}
84
- color: ${Oe[1]};
84
+ color: ${Te[1]};
85
85
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
86
86
  `}
87
87
  `,n.Body=t.p`
88
88
  ${t=>e`
89
89
  ${_e.getTextStyle("Body",t.weight,t.paragraph)}
90
- color: ${Oe[1]};
90
+ color: ${Te[1]};
91
91
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
92
92
  `}
93
93
  `,n.BodySmall=t.p`
94
94
  ${t=>e`
95
95
  ${_e.getTextStyle("BodySmall",t.weight,t.paragraph)}
96
- color: ${Oe[1]};
96
+ color: ${Te[1]};
97
97
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
98
98
  `}
99
99
  `,n.XSmall=t.span`
100
100
  ${t=>e`
101
101
  ${_e.getTextStyle("XSmall",t.weight,t.paragraph)}
102
- color: ${Oe[1]};
102
+ color: ${Te[1]};
103
103
  ${_e.getDisplayStyle(t.inline,t.paragraph)}
104
104
  `}
105
- `,n.Hyperlink={Default:t=>Ve({...t,textStyle:"Body"}),Small:t=>Ve({...t,textStyle:"BodySmall"})}}(Te||(Te={}));const je=t.a`
105
+ `,n.Hyperlink={Default:t=>Ve({...t,textStyle:"Body"}),Small:t=>Ve({...t,textStyle:"BodySmall"})}}(Oe||(Oe={}));const je=t.a`
106
106
  ${t=>e`
107
107
  ${_e.getTextStyle(t.textStyle,t.weight)}
108
108
  color: ${We};
@@ -123,5 +123,5 @@ import t,{css as e}from"styled-components";import n,{jsxs as i,jsx as r}from"rea
123
123
  width: 1rem;
124
124
  margin-left: 0.4rem;
125
125
  vertical-align: middle;
126
- `,Ve=({external:t=!1,children:e,...n})=>i(je,{...n,children:[e,t&&r(ke,{})]});var Ie;!function(t){t[t.Subpage=0]="Subpage",t[t.Domain=1]="Domain"}(Ie||(Ie={}));export{Ie as RedirectScope,Te as Text,He as TextStyle,_e as TextStyleHelper};
126
+ `,Ve=({external:t=!1,children:e,...n})=>i(je,{...n,children:[e,t&&r(ke,{})]});var Re;!function(t){t[t.Subpage=0]="Subpage",t[t.Domain=1]="Domain"}(Re||(Re={}));export{Re as RedirectScope,Oe as Text,He as TextStyle,_e as TextStyleHelper};
127
127
  //# sourceMappingURL=index.js.map