@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
package/theme/types.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { ColorSet, ColorSetOptions } from "../color/types";
2
+ import { DesignTokenSet, DesignTokenSetOptions } from "../design-token/types";
2
3
  import { TextStyleSetOptionsType, TextStyleSetType } from "../text/types";
3
4
  export declare type ThemeLayout = "normal";
4
5
  export declare type ColorScheme = "base" | "bookingsg";
@@ -9,21 +10,29 @@ export declare type TextStyleScheme = "base";
9
10
  export declare type FontStyleCollectionsMap = {
10
11
  [key in TextStyleScheme]: TextStyleSetType;
11
12
  };
13
+ export declare type DesignTokenScheme = "base";
14
+ export declare type DesignTokenCollectionsMap = {
15
+ [key in DesignTokenScheme]: DesignTokenSet;
16
+ };
12
17
  export declare enum ThemeContextKeys {
13
18
  colorScheme = "colorScheme",
14
19
  layout = "layout",
15
- textStyleScheme = "textStyleScheme"
20
+ textStyleScheme = "textStyleScheme",
21
+ designTokenScheme = "designTokenScheme"
16
22
  }
17
23
  export interface ThemeSpecOptions {
18
24
  /** for color customisation, can specify subset of set */
19
25
  color?: ColorSetOptions | undefined;
20
26
  textStyle?: TextStyleSetOptionsType | undefined;
27
+ designToken?: DesignTokenSetOptions | undefined;
21
28
  }
22
29
  export interface ThemeSpec {
23
30
  /** Sets the color scheme of the theme */
24
31
  [ThemeContextKeys.colorScheme]: ColorScheme;
25
32
  /** Sets the text style scheme of the theme */
26
33
  [ThemeContextKeys.textStyleScheme]: TextStyleScheme;
34
+ /** Sets the design token scheme of the theme */
35
+ [ThemeContextKeys.designTokenScheme]: DesignTokenScheme;
27
36
  /** Sets the layout scheme of the theme */
28
37
  [ThemeContextKeys.layout]?: ThemeLayout | undefined;
29
38
  /** For specific customisations to any schemes */
package/timeline/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import{createElement as t}from"react";import e,{jsxs as n,jsx as i,Fragment as r}from"react/jsx-runtime";import o,{css as a}from"styled-components";const l={Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"},c={D1:{fontFamily:l.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:l.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:l.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:l.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:l.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:l.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:l.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:l.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:l.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:l.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:l.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:l.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:l.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:l.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}};var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},g=Array.isArray,f="object"==typeof h&&h&&h.Object===Object&&h,d="object"==typeof self&&self&&self.Object===Object&&self,p=f||d||Function("return this")(),s=p.Symbol,u=s,m=Object.prototype,y=m.hasOwnProperty,F=m.toString,S=u?u.toStringTag:void 0;var v=function(t){var e=y.call(t,S),n=t[S];try{t[S]=void 0;var i=!0}catch(t){}var r=F.call(t);return i&&(e?t[S]=n:delete t[S]),r},$=Object.prototype.toString;var H=v,B=function(t){return $.call(t)},D=s?s.toStringTag:void 0;var b=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":D&&D in Object(t)?H(t):B(t)};var _=b,z=function(t){return null!=t&&"object"==typeof t};var C=function(t){return"symbol"==typeof t||z(t)&&"[object Symbol]"==_(t)},w=g,x=C,E=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,W=/^\w*$/;var k=function(t,e){if(w(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!x(t))||(W.test(t)||!E.test(t)||null!=e&&t in Object(e))};var A=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},O=b,j=A;var V,L=function(t){if(!j(t))return!1;var e=O(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},N=p["__core-js_shared__"],T=(V=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";var I=function(t){return!!T&&T in t},P=Function.prototype.toString;var R=L,X=I,G=A,M=function(t){if(null!=t){try{return P.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))&&(R(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 dt=rt,pt=ot,st=ct,ut=function(t){var e=this.__data__;return ht?void 0!==e[t]:gt.call(e,t)},mt=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 yt(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])}}yt.prototype.clear=dt,yt.prototype.delete=pt,yt.prototype.get=st,yt.prototype.has=ut,yt.prototype.set=mt;var Ft=yt;var St=function(){this.__data__=[],this.size=0};var vt=function(t,e){return t===e||t!=t&&e!=e};var $t=function(t,e){for(var n=t.length;n--;)if(vt(t[n][0],e))return n;return-1},Ht=$t,Bt=Array.prototype.splice;var Dt=$t;var bt=$t;var _t=$t;var zt=St,Ct=function(t){var e=this.__data__,n=Ht(e,t);return!(n<0)&&(n==e.length-1?e.pop():Bt.call(e,n,1),--this.size,!0)},wt=function(t){var e=this.__data__,n=Dt(e,t);return n<0?void 0:e[n][1]},xt=function(t){return bt(this.__data__,t)>-1},Et=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=zt,Wt.prototype.delete=Ct,Wt.prototype.get=wt,Wt.prototype.has=xt,Wt.prototype.set=Et;var kt=Wt,At=et(p,"Map"),Ot=Ft,jt=kt,Vt=At;var Lt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var Nt=function(t,e){var n=t.__data__;return Lt(e)?n["string"==typeof e?"string":"hash"]:n.map},Tt=Nt;var It=Nt;var Pt=Nt;var Rt=Nt;var Xt=function(){this.size=0,this.__data__={hash:new Ot,map:new(Vt||jt),string:new Ot}},Gt=function(t){var e=Tt(this,t).delete(t);return this.size-=e?1:0,e},Mt=function(t){return It(this,t).get(t)},Zt=function(t){return Pt(this,t).has(t)},Ut=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 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=s?s.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=k,fe=ee,de=function(t){return null==t?"":ce(t)};var pe=C;var se=function(t,e){return he(t)?t:ge(t,e)?[t]:fe(de(t))},ue=function(t){if("string"==typeof t||pe(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var me=function(t,e){for(var n=0,i=(e=se(e,t)).length;null!=t&&n<i;)t=t[ue(e[n++])];return n&&n==i?t:void 0};var ye=function(t,e,n){var i=null==t?void 0:me(t,e);return void 0===i?n:i};const Fe=(t,e,n)=>e?ye(n,e)||ye(t,e):n||t,Se=(t,e)=>{const n=e||t.defaultValue;return ye(t.collections,n)};var ve;!function(t){t.colorScheme="colorScheme",t.layout="layout",t.textStyleScheme="textStyleScheme"}(ve||(ve={}));const $e={collections:{base:c},defaultValue:"base"},He=t=>e=>{const n=e.theme,i=Se($e,n[ve.textStyleScheme]);return n.options&&n.options.textStyle?Fe(i,t,n.options.textStyle):Fe(i,t)},Be={D1:{fontFamily:He("D1.fontFamily"),fontSize:He("D1.fontSize"),fontWeight:He("D1.fontWeight"),lineHeight:He("D1.lineHeight"),letterSpacing:He("D1.letterSpacing")},D2:{fontFamily:He("D2.fontFamily"),fontSize:He("D2.fontSize"),fontWeight:He("D2.fontWeight"),lineHeight:He("D2.lineHeight"),letterSpacing:He("D2.letterSpacing")},D3:{fontFamily:He("D3.fontFamily"),fontSize:He("D3.fontSize"),fontWeight:He("D3.fontWeight"),lineHeight:He("D3.lineHeight"),letterSpacing:He("D3.letterSpacing")},D4:{fontFamily:He("D4.fontFamily"),fontSize:He("D4.fontSize"),fontWeight:He("D4.fontWeight"),lineHeight:He("D4.lineHeight"),letterSpacing:He("D4.letterSpacing")},DBody:{fontFamily:He("DBody.fontFamily"),fontSize:He("DBody.fontSize"),fontWeight:He("DBody.fontWeight"),lineHeight:He("DBody.lineHeight"),letterSpacing:He("DBody.letterSpacing")},H1:{fontFamily:He("H1.fontFamily"),fontSize:He("H1.fontSize"),fontWeight:He("H1.fontWeight"),lineHeight:He("H1.lineHeight"),letterSpacing:He("H1.letterSpacing")},H2:{fontFamily:He("H2.fontFamily"),fontSize:He("H2.fontSize"),fontWeight:He("H2.fontWeight"),lineHeight:He("H2.lineHeight"),letterSpacing:He("H2.letterSpacing")},H3:{fontFamily:He("H3.fontFamily"),fontSize:He("H3.fontSize"),fontWeight:He("H3.fontWeight"),lineHeight:He("H3.lineHeight"),letterSpacing:He("H3.letterSpacing")},H4:{fontFamily:He("H4.fontFamily"),fontSize:He("H4.fontSize"),fontWeight:He("H4.fontWeight"),lineHeight:He("H4.lineHeight"),letterSpacing:He("H4.letterSpacing")},H5:{fontFamily:He("H5.fontFamily"),fontSize:He("H5.fontSize"),fontWeight:He("H5.fontWeight"),lineHeight:He("H5.lineHeight"),letterSpacing:He("H5.letterSpacing")},H6:{fontFamily:He("H6.fontFamily"),fontSize:He("H6.fontSize"),fontWeight:He("H6.fontWeight"),lineHeight:He("H6.lineHeight"),letterSpacing:He("H6.letterSpacing")},Body:{fontFamily:He("Body.fontFamily"),fontSize:He("Body.fontSize"),fontWeight:He("Body.fontWeight"),lineHeight:He("Body.lineHeight"),letterSpacing:He("Body.letterSpacing")},BodySmall:{fontFamily:He("BodySmall.fontFamily"),fontSize:He("BodySmall.fontSize"),fontWeight:He("BodySmall.fontWeight"),lineHeight:He("BodySmall.lineHeight"),letterSpacing:He("BodySmall.letterSpacing")},XSmall:{fontFamily:He("XSmall.fontFamily"),fontSize:He("XSmall.fontSize"),fontWeight:He("XSmall.fontWeight"),lineHeight:He("XSmall.lineHeight"),letterSpacing:He("XSmall.letterSpacing")}},De=t=>{switch(t){case 700:case"bold":return l.Bold;case 600:case"semibold":return l.Semibold;case 300:case"light":return l.Light;case 400:case"regular":return l.Regular;default:return""}},be=(t,e)=>n=>{const i=Be[t].fontFamily(n),r=Be[t].fontWeight(n);return Object.values(l).includes(i)?a`
2
- font-family: ${De(e)||De(r)||i};
1
+ import{createElement as t}from"react";import e,{jsxs as n,jsx as i,Fragment as r}from"react/jsx-runtime";import o,{css as a}from"styled-components";const l={Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"},c={D1:{fontFamily:l.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:l.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:l.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:l.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:l.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:l.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:l.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:l.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:l.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:l.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:l.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:l.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:l.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:l.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}};var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},g=Array.isArray,d="object"==typeof h&&h&&h.Object===Object&&h,f="object"==typeof self&&self&&self.Object===Object&&self,p=d||f||Function("return this")(),s=p.Symbol,u=s,m=Object.prototype,y=m.hasOwnProperty,S=m.toString,F=u?u.toStringTag:void 0;var v=function(t){var e=y.call(t,F),n=t[F];try{t[F]=void 0;var i=!0}catch(t){}var r=S.call(t);return i&&(e?t[F]=n:delete t[F]),r},$=Object.prototype.toString;var H=v,B=function(t){return $.call(t)},b=s?s.toStringTag:void 0;var D=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":b&&b in Object(t)?H(t):B(t)};var _=D,z=function(t){return null!=t&&"object"==typeof t};var C=function(t){return"symbol"==typeof t||z(t)&&"[object Symbol]"==_(t)},w=g,x=C,E=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,k=/^\w*$/;var W=function(t,e){if(w(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!x(t))||(k.test(t)||!E.test(t)||null!=e&&t in Object(e))};var A=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},O=D,j=A;var V,L=function(t){if(!j(t))return!1;var e=O(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},N=p["__core-js_shared__"],R=(V=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";var T=function(t){return!!R&&R in t},I=Function.prototype.toString;var P=L,X=T,G=A,M=function(t){if(null!=t){try{return I.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))&&(P(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 dt=nt;var ft=rt,pt=ot,st=ct,ut=function(t){var e=this.__data__;return ht?void 0!==e[t]:gt.call(e,t)},mt=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=dt&&void 0===e?"__lodash_hash_undefined__":e,this};function yt(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])}}yt.prototype.clear=ft,yt.prototype.delete=pt,yt.prototype.get=st,yt.prototype.has=ut,yt.prototype.set=mt;var St=yt;var Ft=function(){this.__data__=[],this.size=0};var vt=function(t,e){return t===e||t!=t&&e!=e};var $t=function(t,e){for(var n=t.length;n--;)if(vt(t[n][0],e))return n;return-1},Ht=$t,Bt=Array.prototype.splice;var bt=$t;var Dt=$t;var _t=$t;var zt=Ft,Ct=function(t){var e=this.__data__,n=Ht(e,t);return!(n<0)&&(n==e.length-1?e.pop():Bt.call(e,n,1),--this.size,!0)},wt=function(t){var e=this.__data__,n=bt(e,t);return n<0?void 0:e[n][1]},xt=function(t){return Dt(this.__data__,t)>-1},Et=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 kt(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])}}kt.prototype.clear=zt,kt.prototype.delete=Ct,kt.prototype.get=wt,kt.prototype.has=xt,kt.prototype.set=Et;var Wt=kt,At=et(p,"Map"),Ot=St,jt=Wt,Vt=At;var Lt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var Nt=function(t,e){var n=t.__data__;return Lt(e)?n["string"==typeof e?"string":"hash"]:n.map},Rt=Nt;var Tt=Nt;var It=Nt;var Pt=Nt;var Xt=function(){this.size=0,this.__data__={hash:new Ot,map:new(Vt||jt),string:new Ot}},Gt=function(t){var e=Rt(this,t).delete(t);return this.size-=e?1:0,e},Mt=function(t){return Tt(this,t).get(t)},Zt=function(t){return It(this,t).has(t)},Ut=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 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=s?s.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=W,de=ee,fe=function(t){return null==t?"":ce(t)};var pe=C;var se=function(t,e){return he(t)?t:ge(t,e)?[t]:de(fe(t))},ue=function(t){if("string"==typeof t||pe(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var me=function(t,e){for(var n=0,i=(e=se(e,t)).length;null!=t&&n<i;)t=t[ue(e[n++])];return n&&n==i?t:void 0};var ye=function(t,e,n){var i=null==t?void 0:me(t,e);return void 0===i?n:i};const Se=(t,e,n)=>e?ye(n,e)||ye(t,e):n||t,Fe=(t,e)=>{const n=e||t.defaultValue;return ye(t.collections,n)};var ve;!function(t){t.colorScheme="colorScheme",t.layout="layout",t.textStyleScheme="textStyleScheme",t.designTokenScheme="designTokenScheme"}(ve||(ve={}));const $e={collections:{base:c},defaultValue:"base"},He=t=>e=>{const n=e.theme,i=Fe($e,n[ve.textStyleScheme]);return n.options&&n.options.textStyle?Se(i,t,n.options.textStyle):Se(i,t)},Be={D1:{fontFamily:He("D1.fontFamily"),fontSize:He("D1.fontSize"),fontWeight:He("D1.fontWeight"),lineHeight:He("D1.lineHeight"),letterSpacing:He("D1.letterSpacing")},D2:{fontFamily:He("D2.fontFamily"),fontSize:He("D2.fontSize"),fontWeight:He("D2.fontWeight"),lineHeight:He("D2.lineHeight"),letterSpacing:He("D2.letterSpacing")},D3:{fontFamily:He("D3.fontFamily"),fontSize:He("D3.fontSize"),fontWeight:He("D3.fontWeight"),lineHeight:He("D3.lineHeight"),letterSpacing:He("D3.letterSpacing")},D4:{fontFamily:He("D4.fontFamily"),fontSize:He("D4.fontSize"),fontWeight:He("D4.fontWeight"),lineHeight:He("D4.lineHeight"),letterSpacing:He("D4.letterSpacing")},DBody:{fontFamily:He("DBody.fontFamily"),fontSize:He("DBody.fontSize"),fontWeight:He("DBody.fontWeight"),lineHeight:He("DBody.lineHeight"),letterSpacing:He("DBody.letterSpacing")},H1:{fontFamily:He("H1.fontFamily"),fontSize:He("H1.fontSize"),fontWeight:He("H1.fontWeight"),lineHeight:He("H1.lineHeight"),letterSpacing:He("H1.letterSpacing")},H2:{fontFamily:He("H2.fontFamily"),fontSize:He("H2.fontSize"),fontWeight:He("H2.fontWeight"),lineHeight:He("H2.lineHeight"),letterSpacing:He("H2.letterSpacing")},H3:{fontFamily:He("H3.fontFamily"),fontSize:He("H3.fontSize"),fontWeight:He("H3.fontWeight"),lineHeight:He("H3.lineHeight"),letterSpacing:He("H3.letterSpacing")},H4:{fontFamily:He("H4.fontFamily"),fontSize:He("H4.fontSize"),fontWeight:He("H4.fontWeight"),lineHeight:He("H4.lineHeight"),letterSpacing:He("H4.letterSpacing")},H5:{fontFamily:He("H5.fontFamily"),fontSize:He("H5.fontSize"),fontWeight:He("H5.fontWeight"),lineHeight:He("H5.lineHeight"),letterSpacing:He("H5.letterSpacing")},H6:{fontFamily:He("H6.fontFamily"),fontSize:He("H6.fontSize"),fontWeight:He("H6.fontWeight"),lineHeight:He("H6.lineHeight"),letterSpacing:He("H6.letterSpacing")},Body:{fontFamily:He("Body.fontFamily"),fontSize:He("Body.fontSize"),fontWeight:He("Body.fontWeight"),lineHeight:He("Body.lineHeight"),letterSpacing:He("Body.letterSpacing")},BodySmall:{fontFamily:He("BodySmall.fontFamily"),fontSize:He("BodySmall.fontSize"),fontWeight:He("BodySmall.fontWeight"),lineHeight:He("BodySmall.lineHeight"),letterSpacing:He("BodySmall.letterSpacing")},XSmall:{fontFamily:He("XSmall.fontFamily"),fontSize:He("XSmall.fontSize"),fontWeight:He("XSmall.fontWeight"),lineHeight:He("XSmall.lineHeight"),letterSpacing:He("XSmall.letterSpacing")}},be=t=>{switch(t){case 700:case"bold":return l.Bold;case 600:case"semibold":return l.Semibold;case 300:case"light":return l.Light;case 400:case"regular":return l.Regular;default:return""}},De=(t,e)=>n=>{const i=Be[t].fontFamily(n),r=Be[t].fontWeight(n);return Object.values(l).includes(i)?a`
2
+ font-family: ${be(e)||be(r)||i};
3
3
  font-weight: normal !important;
4
4
  `:a`
5
5
  font-family: ${i};
6
6
  font-weight: ${(_e(e)||r)??"normal"};
7
7
  `},_e=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""}},ze=(t,e,n=!1)=>i=>{const r=Be[t],o=r.fontSize(i);return a`
8
- ${be(t,e)}
8
+ ${De(t,e)}
9
9
  font-size: ${o}rem !important;
10
10
  line-height: ${r.lineHeight}rem !important;
11
11
  letter-spacing: ${r.letterSpacing(i)||0}rem !important;
@@ -18,7 +18,7 @@ import{createElement as t}from"react";import e,{jsxs as n,jsx as i,Fragment as r
18
18
  display: inline;
19
19
  `:a`
20
20
  display: block;
21
- `;var we,xe={};Object.defineProperty(xe,"__esModule",{value:!0});var Ee=e;const We=t=>Ee.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:Ee.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"})});We.displayName="ExternalIcon",we=xe.ExternalIcon=We;const ke={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"},Ae=t=>e=>{const n=e.theme,i=Se(ke,n[ve.colorScheme]);return n.options&&n.options.color?Fe(i,t,n.options.color):Fe(i,t)},Oe=(Ae("Brand.1"),Ae("Brand.2"),Ae("Brand.3"),Ae("Brand.4"),Ae("Brand.5"),Ae("Brand.6"),Ae("Primary")),je=(Ae("PrimaryDark"),Ae("Secondary")),Ve={Light:{1:Ae("Accent.Light.1"),2:Ae("Accent.Light.2"),3:Ae("Accent.Light.3"),4:Ae("Accent.Light.4"),5:Ae("Accent.Light.5"),6:Ae("Accent.Light.6")},Dark:{1:Ae("Accent.Dark.1"),2:Ae("Accent.Dark.2"),3:Ae("Accent.Dark.3")}},Le={1:Ae("Neutral.1"),2:Ae("Neutral.2"),3:Ae("Neutral.3"),4:Ae("Neutral.4"),5:Ae("Neutral.5"),6:Ae("Neutral.6"),7:Ae("Neutral.7"),8:Ae("Neutral.8")};Ae("Validation.Green.Text"),Ae("Validation.Green.Icon"),Ae("Validation.Green.Border"),Ae("Validation.Green.Background"),Ae("Validation.Orange.Text"),Ae("Validation.Orange.Icon"),Ae("Validation.Orange.Border"),Ae("Validation.Orange.Background"),Ae("Validation.Orange.Badge"),Ae("Validation.Red.Text"),Ae("Validation.Red.Icon"),Ae("Validation.Red.Border"),Ae("Validation.Red.Background");var Ne;!function(t){t.D1=o.h1`
21
+ `;var we,xe={};Object.defineProperty(xe,"__esModule",{value:!0});var Ee=e;const ke=t=>Ee.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:Ee.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"})});ke.displayName="ExternalIcon",we=xe.ExternalIcon=ke;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"},Ae=t=>e=>{const n=e.theme,i=Fe(We,n[ve.colorScheme]);return n.options&&n.options.color?Se(i,t,n.options.color):Se(i,t)},Oe=(Ae("Brand.1"),Ae("Brand.2"),Ae("Brand.3"),Ae("Brand.4"),Ae("Brand.5"),Ae("Brand.6"),Ae("Primary")),je=(Ae("PrimaryDark"),Ae("Secondary")),Ve={Light:{1:Ae("Accent.Light.1"),2:Ae("Accent.Light.2"),3:Ae("Accent.Light.3"),4:Ae("Accent.Light.4"),5:Ae("Accent.Light.5"),6:Ae("Accent.Light.6")},Dark:{1:Ae("Accent.Dark.1"),2:Ae("Accent.Dark.2"),3:Ae("Accent.Dark.3")}},Le={1:Ae("Neutral.1"),2:Ae("Neutral.2"),3:Ae("Neutral.3"),4:Ae("Neutral.4"),5:Ae("Neutral.5"),6:Ae("Neutral.6"),7:Ae("Neutral.7"),8:Ae("Neutral.8")};Ae("Validation.Green.Text"),Ae("Validation.Green.Icon"),Ae("Validation.Green.Border"),Ae("Validation.Green.Background"),Ae("Validation.Orange.Text"),Ae("Validation.Orange.Icon"),Ae("Validation.Orange.Border"),Ae("Validation.Orange.Background"),Ae("Validation.Orange.Badge"),Ae("Validation.Red.Text"),Ae("Validation.Red.Icon"),Ae("Validation.Red.Border"),Ae("Validation.Red.Background"),Ae("Shadow.Accent"),Ae("Shadow.Red");var Ne;!function(t){t.D1=o.h1`
22
22
  ${t=>a`
23
23
  ${ze("D1",t.weight,t.paragraph)}
24
24
  color: ${Le[1]};
@@ -102,7 +102,7 @@ import{createElement as t}from"react";import e,{jsxs as n,jsx as i,Fragment as r
102
102
  color: ${Le[1]};
103
103
  ${Ce(t.inline,t.paragraph)}
104
104
  `}
105
- `,t.Hyperlink={Default:t=>Pe({...t,textStyle:"Body"}),Small:t=>Pe({...t,textStyle:"BodySmall"})}}(Ne||(Ne={}));const Te=o.a`
105
+ `,t.Hyperlink={Default:t=>Ie({...t,textStyle:"Body"}),Small:t=>Ie({...t,textStyle:"BodySmall"})}}(Ne||(Ne={}));const Re=o.a`
106
106
  ${t=>a`
107
107
  ${ze(t.textStyle,t.weight)}
108
108
  color: ${Oe};
@@ -118,12 +118,12 @@ import{createElement as t}from"react";import e,{jsxs as n,jsx as i,Fragment as r
118
118
  }
119
119
  }
120
120
  `}
121
- `,Ie=o(we)`
121
+ `,Te=o(we)`
122
122
  height: 1rem;
123
123
  width: 1rem;
124
124
  margin-left: 0.4rem;
125
125
  vertical-align: middle;
126
- `,Pe=({external:t=!1,children:e,...r})=>n(Te,{...r,children:[e,t&&i(Ie,{})]});var Re;!function(t){t[t.Subpage=0]="Subpage",t[t.Domain=1]="Domain"}(Re||(Re={}));const Xe={mobileS:320,mobileM:375,mobileL:480,tablet:1199,desktopM:1399,desktopL:1999,desktop4k:3840},Ge=t=>Object.keys(Xe).reduce(((e,n)=>{const i=Xe[n];return e[n]=`@media screen and (${t}: ${i}px)`,e}),{}),Me=Ge("max-width"),Ze=(Ge("min-width"),o.div`
126
+ `,Ie=({external:t=!1,children:e,...r})=>n(Re,{...r,children:[e,t&&i(Te,{})]});var Pe;!function(t){t[t.Subpage=0]="Subpage",t[t.Domain=1]="Domain"}(Pe||(Pe={}));const Xe={mobileS:320,mobileM:375,mobileL:480,tablet:1199,desktopM:1399,desktopL:1999,desktop4k:3840},Ge=t=>Object.keys(Xe).reduce(((e,n)=>{const i=Xe[n];return e[n]=`@media screen and (${t}: ${i}px)`,e}),{}),Me=Ge("max-width"),Ze=(Ge("min-width"),o.div`
127
127
  width: 1rem;
128
128
  height: 1rem;
129
129
  margin-top: 0.5rem;
@@ -192,5 +192,5 @@ import{createElement as t}from"react";import e,{jsxs as n,jsx as i,Fragment as r
192
192
  color: ${Le[1]};
193
193
  }
194
194
  `}
195
- `,rn=({items:e,className:o,title:a,startCol:l,colSpan:c,"data-base-indicator-testid":h,"data-testid":g="timeline"})=>{const f=t=>"string"==typeof t?i(Ne.Body,{className:"timeline-item-content-text",children:t}):i(r,{children:t}),d=t=>"string"==typeof t?i(tn,{weight:"semibold",className:"timeline-item-title",children:t}):i(r,{children:t}),p=e=>e.slice(0,2).map(((e,n)=>t(nn,{...e,key:`status-pill-${n}`,"data-testid":"status-pill",className:"timeline-status-pill"},i(Ne.XSmall,{children:e.label}))));return n(Je,{className:o,"data-testid":g,$startCol:l,$colSpan:c,children:[i(Ke,{id:"timeline-title",children:a}),e.map(((t,e)=>{const{title:r,content:o,statuses:a}=t;return n(Qe,{children:[n(qe,{children:[i(Ze,{"data-testid":h?`circleindicator${e+1}_div_${h}`:"circleindicator",$filled:0===e}),i(Ue,{})]}),n(Ye,{className:"timeline-item-content",children:[d(r),a&&i(en,{children:p(a)}),f(o)]})]},`timeline-item-${e}`)}))]})};export{rn as Timeline};
195
+ `,rn=({items:e,className:o,title:a,startCol:l,colSpan:c,"data-base-indicator-testid":h,"data-testid":g="timeline"})=>{const d=t=>"string"==typeof t?i(Ne.Body,{className:"timeline-item-content-text",children:t}):i(r,{children:t}),f=t=>"string"==typeof t?i(tn,{weight:"semibold",className:"timeline-item-title",children:t}):i(r,{children:t}),p=e=>e.slice(0,2).map(((e,n)=>t(nn,{...e,key:`status-pill-${n}`,"data-testid":"status-pill",className:"timeline-status-pill"},i(Ne.XSmall,{children:e.label}))));return n(Je,{className:o,"data-testid":g,$startCol:l,$colSpan:c,children:[i(Ke,{id:"timeline-title",children:a}),e.map(((t,e)=>{const{title:r,content:o,statuses:a}=t;return n(Qe,{children:[n(qe,{children:[i(Ze,{"data-testid":h?`circleindicator${e+1}_div_${h}`:"circleindicator",$filled:0===e}),i(Ue,{})]}),n(Ye,{className:"timeline-item-content",children:[f(r),a&&i(en,{children:p(a)}),d(o)]})]},`timeline-item-${e}`)}))]})};export{rn as Timeline};
196
196
  //# sourceMappingURL=index.js.map