@lifesg/react-design-system 1.0.0-alpha.2 → 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 (253) hide show
  1. package/README.md +2 -0
  2. package/accordion/accordion-item.style.d.ts +5 -2
  3. package/accordion/accordion.style.d.ts +1 -1
  4. package/accordion/index.js +165 -172
  5. package/accordion/index.js.map +1 -1
  6. package/alert/alert.style.d.ts +4 -1
  7. package/alert/index.js +107 -119
  8. package/alert/index.js.map +1 -1
  9. package/animations/index.js +1 -1
  10. package/animations/index.js.map +1 -1
  11. package/box-container/box-container.styles.d.ts +8 -1
  12. package/box-container/index.js +69 -74
  13. package/box-container/index.js.map +1 -1
  14. package/breadcrumb/breadcrumb.style.d.ts +4 -4
  15. package/breadcrumb/index.js +102 -106
  16. package/breadcrumb/index.js.map +1 -1
  17. package/breadcrumb/types.d.ts +5 -1
  18. package/button/button.d.ts +2 -2
  19. package/button/index.js +140 -143
  20. package/button/index.js.map +1 -1
  21. package/card/card.d.ts +3 -0
  22. package/card/card.style.d.ts +1 -0
  23. package/card/index.d.ts +1 -0
  24. package/card/index.js +132 -0
  25. package/card/index.js.map +1 -0
  26. package/{icon → card}/package.json +1 -1
  27. package/card/types.d.ts +4 -0
  28. package/checkbox/checkbox.d.ts +1 -1
  29. package/checkbox/checkbox.style.d.ts +4 -1
  30. package/checkbox/index.js +11 -21
  31. package/checkbox/index.js.map +1 -1
  32. package/cjs/index.js +1999 -1021
  33. package/cjs/index.js.map +1 -1
  34. package/color/color.d.ts +4 -59
  35. package/color/index.js +1 -1
  36. package/color/index.js.map +1 -1
  37. package/color/types.d.ts +5 -1
  38. package/date-input/date-input.d.ts +1 -1
  39. package/date-input/date-input.style.d.ts +2 -6
  40. package/date-input/index.js +121 -136
  41. package/date-input/index.js.map +1 -1
  42. package/date-input/types.d.ts +14 -16
  43. package/design-token/design-token.d.ts +4 -0
  44. package/design-token/index.d.ts +2 -0
  45. package/design-token/index.js +6 -0
  46. package/design-token/index.js.map +1 -0
  47. package/design-token/package.json +7 -0
  48. package/design-token/types.d.ts +7 -0
  49. package/error-display/error-display-data.d.ts +11 -0
  50. package/error-display/error-display.d.ts +3 -0
  51. package/error-display/error-display.style.d.ts +7 -0
  52. package/error-display/index.d.ts +2 -0
  53. package/error-display/index.js +322 -0
  54. package/error-display/index.js.map +1 -0
  55. package/error-display/package.json +7 -0
  56. package/error-display/types.d.ts +20 -0
  57. package/feedback-rating/feedback-rating-data.d.ts +5 -0
  58. package/feedback-rating/feedback-rating-stars-container-data.d.ts +3 -0
  59. package/feedback-rating/feedback-rating-stars-container.d.ts +3 -0
  60. package/feedback-rating/feedback-rating-stars-container.styles.d.ts +12 -0
  61. package/feedback-rating/feedback-rating.d.ts +3 -0
  62. package/feedback-rating/feedback-rating.styles.d.ts +5 -0
  63. package/feedback-rating/index.d.ts +2 -0
  64. package/feedback-rating/index.js +329 -0
  65. package/feedback-rating/index.js.map +1 -0
  66. package/feedback-rating/package.json +7 -0
  67. package/feedback-rating/types.d.ts +14 -0
  68. package/footer/footer-download-app.d.ts +2 -0
  69. package/footer/footer-download-app.style.d.ts +6 -0
  70. package/footer/footer-helper.d.ts +12 -0
  71. package/footer/footer.d.ts +3 -0
  72. package/footer/footer.style.d.ts +12 -0
  73. package/footer/index.d.ts +2 -0
  74. package/footer/index.js +373 -0
  75. package/footer/index.js.map +1 -0
  76. package/footer/package.json +7 -0
  77. package/footer/types.d.ts +31 -0
  78. package/form/form-custom-field.d.ts +3 -0
  79. package/form/form-input-group.d.ts +1 -1
  80. package/form/form-input.d.ts +1 -1
  81. package/form/form-label-addon.d.ts +1 -2
  82. package/form/form-label.d.ts +1 -1
  83. package/form/form-label.style.d.ts +1 -0
  84. package/form/form-phone-number-input.d.ts +3 -0
  85. package/form/form-textarea.d.ts +1 -1
  86. package/form/form-unit-number-input.d.ts +3 -0
  87. package/form/index.d.ts +9 -6
  88. package/form/index.js +774 -629
  89. package/form/index.js.map +1 -1
  90. package/form/types.d.ts +14 -5
  91. package/icon-button/icon-button.d.ts +1 -1
  92. package/icon-button/icon-button.style.d.ts +6 -1
  93. package/icon-button/index.js +9 -15
  94. package/icon-button/index.js.map +1 -1
  95. package/icon-button/types.d.ts +2 -3
  96. package/index.d.ts +11 -1
  97. package/index.js +1997 -1019
  98. package/index.js.map +1 -1
  99. package/input/index.js +84 -41
  100. package/input/index.js.map +1 -1
  101. package/input/input.d.ts +1 -1
  102. package/input/input.style.d.ts +9 -0
  103. package/input/types.d.ts +2 -0
  104. package/input-group/index.js +392 -312
  105. package/input-group/index.js.map +1 -1
  106. package/input-group/input-group-list-addon.d.ts +1 -1
  107. package/input-group/input-group-list-addon.style.d.ts +4 -1
  108. package/input-group/input-group.d.ts +1 -1
  109. package/input-group/input-group.style.d.ts +1 -2
  110. package/input-group/types.d.ts +8 -8
  111. package/input-select/index.js +278 -242
  112. package/input-select/index.js.map +1 -1
  113. package/input-select/input-select-wrapper.d.ts +1 -1
  114. package/input-select/input-select.d.ts +1 -1
  115. package/input-select/input-select.styles.d.ts +5 -1
  116. package/input-select/types.d.ts +15 -11
  117. package/input-textarea/index.js +132 -121
  118. package/input-textarea/index.js.map +1 -1
  119. package/input-textarea/textarea-counter.d.ts +2 -1
  120. package/input-textarea/textarea.d.ts +2 -2
  121. package/input-textarea/types.d.ts +1 -0
  122. package/layout/container.d.ts +3 -0
  123. package/layout/content.d.ts +3 -0
  124. package/layout/index.d.ts +7 -0
  125. package/layout/index.js +55 -0
  126. package/layout/index.js.map +1 -0
  127. package/layout/package.json +7 -0
  128. package/layout/section.d.ts +3 -0
  129. package/layout/types.d.ts +15 -0
  130. package/link-list/index.js +130 -130
  131. package/link-list/index.js.map +1 -1
  132. package/link-list/link-list.styles.d.ts +12 -2
  133. package/link-list/types.d.ts +1 -1
  134. package/masonry/index.js.map +1 -1
  135. package/masonry/masonry.d.ts +2 -2
  136. package/masthead/index.d.ts +1 -0
  137. package/masthead/index.js +9 -0
  138. package/masthead/index.js.map +1 -0
  139. package/masthead/masthead.d.ts +2 -0
  140. package/masthead/masthead.style.d.ts +1 -0
  141. package/masthead/package.json +7 -0
  142. package/media/index.js +1 -1
  143. package/media/index.js.map +1 -1
  144. package/media/media.d.ts +2 -1
  145. package/modal/index.d.ts +1 -1
  146. package/modal/index.js +30 -43
  147. package/modal/index.js.map +1 -1
  148. package/modal/modal-box.styles.d.ts +5 -2
  149. package/modal/modal.d.ts +1 -1
  150. package/modal/modal.styles.d.ts +1 -0
  151. package/modal/types.d.ts +4 -2
  152. package/navbar/brand.d.ts +10 -0
  153. package/navbar/brand.styles.d.ts +5 -0
  154. package/navbar/drawer.d.ts +3 -0
  155. package/navbar/drawer.styles.d.ts +15 -0
  156. package/navbar/index.d.ts +7 -0
  157. package/navbar/index.js +651 -0
  158. package/navbar/index.js.map +1 -0
  159. package/navbar/navbar-action-buttons.d.ts +10 -0
  160. package/navbar/navbar-action-buttons.styles.d.ts +9 -0
  161. package/navbar/navbar-items.d.ts +11 -0
  162. package/navbar/navbar-items.styles.d.ts +10 -0
  163. package/navbar/navbar.d.ts +3 -0
  164. package/navbar/navbar.styles.d.ts +19 -0
  165. package/navbar/package.json +7 -0
  166. package/navbar/types.d.ts +56 -0
  167. package/notification-banner/index.d.ts +3 -0
  168. package/notification-banner/index.js +266 -0
  169. package/notification-banner/index.js.map +1 -0
  170. package/notification-banner/notification-banner-hoc.d.ts +3 -0
  171. package/notification-banner/notification-banner.d.ts +6 -0
  172. package/notification-banner/notification-banner.styles.d.ts +15 -0
  173. package/notification-banner/package.json +7 -0
  174. package/notification-banner/types.d.ts +22 -0
  175. package/overlay/index.js +1 -1
  176. package/overlay/index.js.map +1 -1
  177. package/overlay/types.d.ts +1 -1
  178. package/package.json +4 -1
  179. package/phone-number-input/data/country-code.d.ts +1 -0
  180. package/phone-number-input/index.d.ts +1 -0
  181. package/phone-number-input/index.js +850 -0
  182. package/phone-number-input/index.js.map +1 -0
  183. package/phone-number-input/package.json +7 -0
  184. package/phone-number-input/phone-number-input-helper.d.ts +5 -0
  185. package/phone-number-input/phone-number-input.d.ts +3 -0
  186. package/phone-number-input/phone-number-input.styles.d.ts +1 -0
  187. package/phone-number-input/types.d.ts +42 -0
  188. package/popover/index.js +148 -153
  189. package/popover/index.js.map +1 -1
  190. package/popover/popover.styles.d.ts +1 -1
  191. package/popover/types.d.ts +3 -3
  192. package/progress-indicator/index.d.ts +2 -0
  193. package/progress-indicator/index.js +240 -0
  194. package/progress-indicator/index.js.map +1 -0
  195. package/progress-indicator/package.json +7 -0
  196. package/progress-indicator/progress-indicator.d.ts +3 -0
  197. package/progress-indicator/progress-indicator.style.d.ts +19 -0
  198. package/progress-indicator/types.d.ts +9 -0
  199. package/radio-button/index.js +7 -7
  200. package/radio-button/index.js.map +1 -1
  201. package/shared/dropdown-list/dropdown-list.d.ts +1 -1
  202. package/shared/dropdown-list/dropdown-list.styles.d.ts +6 -2
  203. package/shared/dropdown-list/dropdown-search.d.ts +2 -1
  204. package/shared/dropdown-list/dropdown-search.styles.d.ts +9 -1
  205. package/shared/dropdown-list/types.d.ts +21 -12
  206. package/smart-app-banner/index.d.ts +2 -0
  207. package/smart-app-banner/index.js +373 -0
  208. package/smart-app-banner/index.js.map +1 -0
  209. package/smart-app-banner/package.json +7 -0
  210. package/smart-app-banner/smart-app-banner.d.ts +3 -0
  211. package/smart-app-banner/smart-app-banner.styles.d.ts +31 -0
  212. package/smart-app-banner/types.d.ts +18 -0
  213. package/spec/design-token-spec/base-design-token-set.d.ts +2 -0
  214. package/text/index.js +62 -65
  215. package/text/index.js.map +1 -1
  216. package/text/text-style.d.ts +4 -100
  217. package/text-list/index.js +7 -7
  218. package/text-list/index.js.map +1 -1
  219. package/theme/design-token-helper.d.ts +2 -0
  220. package/theme/index.js +1 -1
  221. package/theme/index.js.map +1 -1
  222. package/theme/types.d.ts +12 -3
  223. package/timeline/index.js +95 -98
  224. package/timeline/index.js.map +1 -1
  225. package/timepicker/index.js +213 -207
  226. package/timepicker/index.js.map +1 -1
  227. package/timepicker/timepicker-dropdown.styles.d.ts +2 -2
  228. package/timepicker/types.d.ts +3 -3
  229. package/toggle-button/index.js +118 -121
  230. package/toggle-button/index.js.map +1 -1
  231. package/tooltip/index.js +127 -125
  232. package/tooltip/index.js.map +1 -1
  233. package/tooltip/tooltip.styles.d.ts +3 -1
  234. package/unit-number/index.d.ts +2 -0
  235. package/unit-number/index.js +403 -0
  236. package/unit-number/index.js.map +1 -0
  237. package/unit-number/package.json +7 -0
  238. package/unit-number/types.d.ts +27 -0
  239. package/unit-number/unit-number-input.d.ts +3 -0
  240. package/unit-number/unit-number-input.style.d.ts +16 -0
  241. package/util/date-helper.d.ts +19 -0
  242. package/util/index.d.ts +2 -0
  243. package/util/utility-types.d.ts +3 -0
  244. package/icon/arrow-right-icon.d.ts +0 -3
  245. package/icon/icon.d.ts +0 -3
  246. package/icon/index.d.ts +0 -2
  247. package/icon/index.js +0 -12
  248. package/icon/index.js.map +0 -1
  249. package/icon/info-icon.d.ts +0 -3
  250. package/icon/play-alt-icon.d.ts +0 -3
  251. package/icon/search-icon.d.ts +0 -3
  252. package/icon/shared.style.d.ts +0 -1
  253. package/icon/types.d.ts +0 -9
@@ -1,8 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  export declare type FadePosition = "left" | "right" | "both";
3
+ export interface FadeColorSet {
4
+ left?: string[] | undefined;
5
+ right?: string[] | undefined;
6
+ }
3
7
  export interface BreadcrumbProps {
4
8
  links: React.AnchorHTMLAttributes<HTMLAnchorElement>[];
5
- fadeColor?: string[] | undefined;
9
+ fadeColor?: string[] | FadeColorSet | undefined;
6
10
  fadePosition?: FadePosition | undefined;
7
11
  itemStyle?: string | undefined;
8
12
  id?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { ButtonProps } from "./types";
3
3
  export declare const Button: {
4
- Default: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
5
- Small: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
4
+ Default: (props: ButtonProps & React.RefAttributes<HTMLButtonElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
5
+ Small: (props: ButtonProps & React.RefAttributes<HTMLButtonElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
6
6
  };
package/button/index.js CHANGED
@@ -1,163 +1,160 @@
1
- import{jsxs as t,jsx as e}from"react/jsx-runtime";import r from"react";import n,{keyframes as i,css as a}from"styled-components";var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=Array.isArray,c="object"==typeof o&&o&&o.Object===Object&&o,h="object"==typeof self&&self&&self.Object===Object&&self,d=c||h||Function("return this")(),s=d.Symbol,g=s,u=Object.prototype,f=u.hasOwnProperty,p=u.toString,y=g?g.toStringTag:void 0;var m=function(t){var e=f.call(t,y),r=t[y];try{t[y]=void 0;var n=!0}catch(t){}var i=p.call(t);return n&&(e?t[y]=r:delete t[y]),i},S=Object.prototype.toString;var F=m,$=function(t){return S.call(t)},v=s?s.toStringTag:void 0;var b=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":v&&v in Object(t)?F(t):$(t)};var B=b,H=function(t){return null!=t&&"object"==typeof t};var D=function(t){return"symbol"==typeof t||H(t)&&"[object Symbol]"==B(t)},z=l,w=D,_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x=/^\w*$/;var k=function(t,e){if(z(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!w(t))||(x.test(t)||!_.test(t)||null!=e&&t in Object(e))};var C=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},E=b,W=C;var N,A=function(t){if(!W(t))return!1;var e=E(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},O=d["__core-js_shared__"],j=(N=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+N:"";var T=function(t){return!!j&&j in t},R=Function.prototype.toString;var L=A,P=T,V=C,I=function(t){if(null!=t){try{return R.call(t)}catch(t){}try{return t+""}catch(t){}}return""},X=/^\[object .+?Constructor\]$/,M=Function.prototype,G=Object.prototype,Z=M.toString,U=G.hasOwnProperty,Y=RegExp("^"+Z.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var q=function(t){return!(!V(t)||P(t))&&(L(t)?Y:X).test(I(t))},J=function(t,e){return null==t?void 0:t[e]};var K=function(t,e){var r=J(t,e);return q(r)?r:void 0},Q=K(Object,"create"),tt=Q;var et=function(){this.__data__=tt?tt(null):{},this.size=0};var rt=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},nt=Q,it=Object.prototype.hasOwnProperty;var at=function(t){var e=this.__data__;if(nt){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return it.call(e,t)?e[t]:void 0},ot=Q,lt=Object.prototype.hasOwnProperty;var ct=Q;var ht=et,dt=rt,st=at,gt=function(t){var e=this.__data__;return ot?void 0!==e[t]:lt.call(e,t)},ut=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ct&&void 0===e?"__lodash_hash_undefined__":e,this};function ft(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ft.prototype.clear=ht,ft.prototype.delete=dt,ft.prototype.get=st,ft.prototype.has=gt,ft.prototype.set=ut;var pt=ft;var yt=function(){this.__data__=[],this.size=0};var mt=function(t,e){return t===e||t!=t&&e!=e};var St=function(t,e){for(var r=t.length;r--;)if(mt(t[r][0],e))return r;return-1},Ft=St,$t=Array.prototype.splice;var vt=St;var bt=St;var Bt=St;var Ht=yt,Dt=function(t){var e=this.__data__,r=Ft(e,t);return!(r<0)&&(r==e.length-1?e.pop():$t.call(e,r,1),--this.size,!0)},zt=function(t){var e=this.__data__,r=vt(e,t);return r<0?void 0:e[r][1]},wt=function(t){return bt(this.__data__,t)>-1},_t=function(t,e){var r=this.__data__,n=Bt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function xt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}xt.prototype.clear=Ht,xt.prototype.delete=Dt,xt.prototype.get=zt,xt.prototype.has=wt,xt.prototype.set=_t;var kt=xt,Ct=K(d,"Map"),Et=pt,Wt=kt,Nt=Ct;var At=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var Ot=function(t,e){var r=t.__data__;return At(e)?r["string"==typeof e?"string":"hash"]:r.map},jt=Ot;var Tt=Ot;var Rt=Ot;var Lt=Ot;var Pt=function(){this.size=0,this.__data__={hash:new Et,map:new(Nt||Wt),string:new Et}},Vt=function(t){var e=jt(this,t).delete(t);return this.size-=e?1:0,e},It=function(t){return Tt(this,t).get(t)},Xt=function(t){return Rt(this,t).has(t)},Mt=function(t,e){var r=Lt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function Gt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Gt.prototype.clear=Pt,Gt.prototype.delete=Vt,Gt.prototype.get=It,Gt.prototype.has=Xt,Gt.prototype.set=Mt;var Zt=Gt;function Ut(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=t.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(Ut.Cache||Zt),r}Ut.Cache=Zt;var Yt=Ut;var qt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Jt=/\\(\\)?/g,Kt=function(t){var e=Yt(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(qt,(function(t,r,n,i){e.push(n?i.replace(Jt,"$1"):r||t)})),e}));var Qt=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i},te=l,ee=D,re=s?s.prototype:void 0,ne=re?re.toString:void 0;var ie=function t(e){if("string"==typeof e)return e;if(te(e))return Qt(e,t)+"";if(ee(e))return ne?ne.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r},ae=ie;var oe=l,le=k,ce=Kt,he=function(t){return null==t?"":ae(t)};var de=D;var se=function(t,e){return oe(t)?t:le(t,e)?[t]:ce(he(t))},ge=function(t){if("string"==typeof t||de(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var ue=function(t,e){for(var r=0,n=(e=se(e,t)).length;null!=t&&r<n;)t=t[ge(e[r++])];return r&&r==n?t:void 0};var fe=function(t,e,r){var n=null==t?void 0:ue(t,e);return void 0===n?r:n};const pe=(t,e,r)=>e?fe(r,e)||fe(t,e):r||t,ye=(t,e)=>{const r=e||t.defaultValue;return fe(t.collections,r)};var me;!function(t){t.colorScheme="colorScheme",t.layout="layout",t.textStyleScheme="textStyleScheme"}(me||(me={}));const Se={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"},Fe=t=>e=>{const r=e.theme,n=ye(Se,r[me.colorScheme]);return r.options&&r.options.color?pe(n,t,r.options.color):pe(n,t)},$e={Brand:{1:Fe("Brand.1"),2:Fe("Brand.2"),3:Fe("Brand.3"),4:Fe("Brand.4"),5:Fe("Brand.5"),6:Fe("Brand.6")},Primary:Fe("Primary"),PrimaryDark:Fe("PrimaryDark"),Secondary:Fe("Secondary"),Accent:{Light:{1:Fe("Accent.Light.1"),2:Fe("Accent.Light.2"),3:Fe("Accent.Light.3"),4:Fe("Accent.Light.4"),5:Fe("Accent.Light.5"),6:Fe("Accent.Light.6")},Dark:{1:Fe("Accent.Dark.1"),2:Fe("Accent.Dark.2"),3:Fe("Accent.Dark.3")}},Neutral:{1:Fe("Neutral.1"),2:Fe("Neutral.2"),3:Fe("Neutral.3"),4:Fe("Neutral.4"),5:Fe("Neutral.5"),6:Fe("Neutral.6"),7:Fe("Neutral.7"),8:Fe("Neutral.8")},Validation:{Green:{Text:Fe("Validation.Green.Text"),Icon:Fe("Validation.Green.Icon"),Border:Fe("Validation.Green.Border"),Background:Fe("Validation.Green.Background")},Orange:{Text:Fe("Validation.Orange.Text"),Icon:Fe("Validation.Orange.Icon"),Border:Fe("Validation.Orange.Border"),Background:Fe("Validation.Orange.Background"),Badge:Fe("Validation.Orange.Badge")},Red:{Text:Fe("Validation.Red.Text"),Icon:Fe("Validation.Red.Icon"),Border:Fe("Validation.Red.Border"),Background:Fe("Validation.Red.Background")}}},ve={mobileS:320,mobileM:375,mobileL:480,tablet:1199,desktopM:1399,desktopL:1999,desktop4k:3840},be=t=>Object.keys(ve).reduce(((e,r)=>{const n=ve[r];return e[r]=`@media screen and (${t}: ${n}px)`,e}),{}),Be=be("max-width"),He=(be("min-width"),n.div`
1
+ import e,{jsxs as t,jsx as n}from"react/jsx-runtime";import r from"react";import i,{keyframes as a,css as o}from"styled-components";var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=Array.isArray,d="object"==typeof l&&l&&l.Object===Object&&l,h="object"==typeof self&&self&&self.Object===Object&&self,g=d||h||Function("return this")(),s=g.Symbol,u=s,f=Object.prototype,p=f.hasOwnProperty,y=f.toString,m=u?u.toStringTag:void 0;var S=function(e){var t=p.call(e,m),n=e[m];try{e[m]=void 0;var r=!0}catch(e){}var i=y.call(e);return r&&(t?e[m]=n:delete e[m]),i},F=Object.prototype.toString;var $=S,b=function(e){return F.call(e)},v=s?s.toStringTag:void 0;var H=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":v&&v in Object(e)?$(e):b(e)};var B=H,D=function(e){return null!=e&&"object"==typeof e};var _=function(e){return"symbol"==typeof e||D(e)&&"[object Symbol]"==B(e)},z=c,w=_,x=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,C=/^\w*$/;var k=function(e,t){if(z(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!w(e))||(C.test(e)||!x.test(e)||null!=t&&e in Object(t))};var E=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},W=H,A=E;var N,O=function(e){if(!A(e))return!1;var t=W(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},j=g["__core-js_shared__"],T=(N=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+N:"";var V=function(e){return!!T&&T in e},P=Function.prototype.toString;var R=O,I=V,L=E,X=function(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""},G=/^\[object .+?Constructor\]$/,M=Function.prototype,Z=Object.prototype,U=M.toString,Y=Z.hasOwnProperty,q=RegExp("^"+U.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var J=function(e){return!(!L(e)||I(e))&&(R(e)?q:G).test(X(e))},K=function(e,t){return null==e?void 0:e[t]};var Q=function(e,t){var n=K(e,t);return J(n)?n:void 0},ee=Q(Object,"create"),te=ee;var ne=function(){this.__data__=te?te(null):{},this.size=0};var re=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ie=ee,ae=Object.prototype.hasOwnProperty;var oe=function(e){var t=this.__data__;if(ie){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return ae.call(t,e)?t[e]:void 0},le=ee,ce=Object.prototype.hasOwnProperty;var de=ee;var he=ne,ge=re,se=oe,ue=function(e){var t=this.__data__;return le?void 0!==t[e]:ce.call(t,e)},fe=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=de&&void 0===t?"__lodash_hash_undefined__":t,this};function pe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}pe.prototype.clear=he,pe.prototype.delete=ge,pe.prototype.get=se,pe.prototype.has=ue,pe.prototype.set=fe;var ye=pe;var me=function(){this.__data__=[],this.size=0};var Se=function(e,t){return e===t||e!=e&&t!=t};var Fe=function(e,t){for(var n=e.length;n--;)if(Se(e[n][0],t))return n;return-1},$e=Fe,be=Array.prototype.splice;var ve=Fe;var He=Fe;var Be=Fe;var De=me,_e=function(e){var t=this.__data__,n=$e(t,e);return!(n<0)&&(n==t.length-1?t.pop():be.call(t,n,1),--this.size,!0)},ze=function(e){var t=this.__data__,n=ve(t,e);return n<0?void 0:t[n][1]},we=function(e){return He(this.__data__,e)>-1},xe=function(e,t){var n=this.__data__,r=Be(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function Ce(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ce.prototype.clear=De,Ce.prototype.delete=_e,Ce.prototype.get=ze,Ce.prototype.has=we,Ce.prototype.set=xe;var ke=Ce,Ee=Q(g,"Map"),We=ye,Ae=ke,Ne=Ee;var Oe=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var je=function(e,t){var n=e.__data__;return Oe(t)?n["string"==typeof t?"string":"hash"]:n.map},Te=je;var Ve=je;var Pe=je;var Re=je;var Ie=function(){this.size=0,this.__data__={hash:new We,map:new(Ne||Ae),string:new We}},Le=function(e){var t=Te(this,e).delete(e);return this.size-=t?1:0,t},Xe=function(e){return Ve(this,e).get(e)},Ge=function(e){return Pe(this,e).has(e)},Me=function(e,t){var n=Re(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function Ze(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ze.prototype.clear=Ie,Ze.prototype.delete=Le,Ze.prototype.get=Xe,Ze.prototype.has=Ge,Ze.prototype.set=Me;var Ue=Ze;function Ye(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Ye.Cache||Ue),n}Ye.Cache=Ue;var qe=Ye;var Je=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ke=/\\(\\)?/g,Qe=function(e){var t=qe(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Je,(function(e,n,r,i){t.push(r?i.replace(Ke,"$1"):n||e)})),t}));var et=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},tt=c,nt=_,rt=s?s.prototype:void 0,it=rt?rt.toString:void 0;var at=function e(t){if("string"==typeof t)return t;if(tt(t))return et(t,e)+"";if(nt(t))return it?it.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n},ot=at;var lt=c,ct=k,dt=Qe,ht=function(e){return null==e?"":ot(e)};var gt=_;var st=function(e,t){return lt(e)?e:ct(e,t)?[e]:dt(ht(e))},ut=function(e){if("string"==typeof e||gt(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var ft=function(e,t){for(var n=0,r=(t=st(t,e)).length;null!=e&&n<r;)e=e[ut(t[n++])];return n&&n==r?e:void 0};var pt=function(e,t,n){var r=null==e?void 0:ft(e,t);return void 0===r?n:r};const yt=(e,t,n)=>t?pt(n,t)||pt(e,t):n||e,mt=(e,t)=>{const n=t||e.defaultValue;return pt(e.collections,n)};var St;!function(e){e.colorScheme="colorScheme",e.layout="layout",e.textStyleScheme="textStyleScheme",e.designTokenScheme="designTokenScheme"}(St||(St={}));const Ft={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"},$t=e=>t=>{const n=t.theme,r=mt(Ft,n[St.colorScheme]);return n.options&&n.options.color?yt(r,e,n.options.color):yt(r,e)},bt={Brand:{1:$t("Brand.1"),2:$t("Brand.2"),3:$t("Brand.3"),4:$t("Brand.4"),5:$t("Brand.5"),6:$t("Brand.6")},Primary:$t("Primary"),PrimaryDark:$t("PrimaryDark"),Secondary:$t("Secondary"),Accent:{Light:{1:$t("Accent.Light.1"),2:$t("Accent.Light.2"),3:$t("Accent.Light.3"),4:$t("Accent.Light.4"),5:$t("Accent.Light.5"),6:$t("Accent.Light.6")},Dark:{1:$t("Accent.Dark.1"),2:$t("Accent.Dark.2"),3:$t("Accent.Dark.3")}},Neutral:{1:$t("Neutral.1"),2:$t("Neutral.2"),3:$t("Neutral.3"),4:$t("Neutral.4"),5:$t("Neutral.5"),6:$t("Neutral.6"),7:$t("Neutral.7"),8:$t("Neutral.8")},Validation:{Green:{Text:$t("Validation.Green.Text"),Icon:$t("Validation.Green.Icon"),Border:$t("Validation.Green.Border"),Background:$t("Validation.Green.Background")},Orange:{Text:$t("Validation.Orange.Text"),Icon:$t("Validation.Orange.Icon"),Border:$t("Validation.Orange.Border"),Background:$t("Validation.Orange.Background"),Badge:$t("Validation.Orange.Badge")},Red:{Text:$t("Validation.Red.Text"),Icon:$t("Validation.Red.Icon"),Border:$t("Validation.Red.Border"),Background:$t("Validation.Red.Background")}},Shadow:{Accent:$t("Shadow.Accent"),Red:$t("Shadow.Red")}},vt={mobileS:320,mobileM:375,mobileL:480,tablet:1199,desktopM:1399,desktopL:1999,desktop4k:3840},Ht=e=>Object.keys(vt).reduce(((t,n)=>{const r=vt[n];return t[n]=`@media screen and (${e}: ${r}px)`,t}),{}),Bt=Ht("max-width"),Dt=(Ht("min-width"),i.div`
2
2
  display: inline-block;
3
3
  position: relative;
4
- width: ${t=>t.$size}px;
5
- height: ${t=>t.$size}px;
6
- `),De=i`
4
+ width: ${e=>e.$size}px;
5
+ height: ${e=>e.$size}px;
6
+ `),_t=a`
7
7
  0% {
8
8
  transform: rotate(0deg);
9
9
  }
10
10
  100% {
11
11
  transform: rotate(360deg);
12
12
  }
13
- `,ze=n.div`
13
+ `,zt=i.div`
14
14
  box-sizing: border-box;
15
15
  display: block;
16
16
  position: absolute;
17
- width: ${t=>t.$size}px;
18
- height: ${t=>t.$size}px;
19
- margin: ${t=>t.$borderWidth}px;
20
- border-width: ${t=>t.$borderWidth}px;
17
+ width: ${e=>e.$size}px;
18
+ height: ${e=>e.$size}px;
19
+ margin: ${e=>e.$borderWidth}px;
20
+ border-width: ${e=>e.$borderWidth}px;
21
21
  border-style: solid;
22
22
  border-radius: 50%;
23
- border-color: ${t=>t.$color||$e.Neutral[8](t)}
23
+ border-color: ${e=>e.$color||bt.Neutral[8](e)}
24
24
  transparent transparent transparent;
25
- animation: ${De} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
26
- `,we=n(ze)`
25
+ animation: ${_t} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
26
+ `,wt=i(zt)`
27
27
  animation-delay: -0.45s;
28
- `,_e=n(ze)`
28
+ `,xt=i(zt)`
29
29
  animation-delay: -0.3s;
30
- `,xe=n(ze)`
30
+ `,Ct=i(zt)`
31
31
  animation-delay: -0.15s;
32
- `,ke={Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"},Ce={collections:{base:{D1:{fontFamily:ke.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:ke.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:ke.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:ke.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:ke.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:ke.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:ke.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:ke.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:ke.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:ke.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:ke.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:ke.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:ke.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:ke.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}}},defaultValue:"base"},Ee=t=>e=>{const r=e.theme,n=ye(Ce,r[me.textStyleScheme]);return r.options&&r.options.textStyle?pe(n,t,r.options.textStyle):pe(n,t)},We={D1:{fontFamily:Ee("D1.fontFamily"),fontSize:Ee("D1.fontSize"),fontWeight:Ee("D1.fontWeight"),lineHeight:Ee("D1.lineHeight"),letterSpacing:Ee("D1.letterSpacing")},D2:{fontFamily:Ee("D2.fontFamily"),fontSize:Ee("D2.fontSize"),fontWeight:Ee("D2.fontWeight"),lineHeight:Ee("D2.lineHeight"),letterSpacing:Ee("D2.letterSpacing")},D3:{fontFamily:Ee("D3.fontFamily"),fontSize:Ee("D3.fontSize"),fontWeight:Ee("D3.fontWeight"),lineHeight:Ee("D3.lineHeight"),letterSpacing:Ee("D3.letterSpacing")},D4:{fontFamily:Ee("D4.fontFamily"),fontSize:Ee("D4.fontSize"),fontWeight:Ee("D4.fontWeight"),lineHeight:Ee("D4.lineHeight"),letterSpacing:Ee("D4.letterSpacing")},DBody:{fontFamily:Ee("DBody.fontFamily"),fontSize:Ee("DBody.fontSize"),fontWeight:Ee("DBody.fontWeight"),lineHeight:Ee("DBody.lineHeight"),letterSpacing:Ee("DBody.letterSpacing")},H1:{fontFamily:Ee("H1.fontFamily"),fontSize:Ee("H1.fontSize"),fontWeight:Ee("H1.fontWeight"),lineHeight:Ee("H1.lineHeight"),letterSpacing:Ee("H1.letterSpacing")},H2:{fontFamily:Ee("H2.fontFamily"),fontSize:Ee("H2.fontSize"),fontWeight:Ee("H2.fontWeight"),lineHeight:Ee("H2.lineHeight"),letterSpacing:Ee("H2.letterSpacing")},H3:{fontFamily:Ee("H3.fontFamily"),fontSize:Ee("H3.fontSize"),fontWeight:Ee("H3.fontWeight"),lineHeight:Ee("H3.lineHeight"),letterSpacing:Ee("H3.letterSpacing")},H4:{fontFamily:Ee("H4.fontFamily"),fontSize:Ee("H4.fontSize"),fontWeight:Ee("H4.fontWeight"),lineHeight:Ee("H4.lineHeight"),letterSpacing:Ee("H4.letterSpacing")},H5:{fontFamily:Ee("H5.fontFamily"),fontSize:Ee("H5.fontSize"),fontWeight:Ee("H5.fontWeight"),lineHeight:Ee("H5.lineHeight"),letterSpacing:Ee("H5.letterSpacing")},H6:{fontFamily:Ee("H6.fontFamily"),fontSize:Ee("H6.fontSize"),fontWeight:Ee("H6.fontWeight"),lineHeight:Ee("H6.lineHeight"),letterSpacing:Ee("H6.letterSpacing")},Body:{fontFamily:Ee("Body.fontFamily"),fontSize:Ee("Body.fontSize"),fontWeight:Ee("Body.fontWeight"),lineHeight:Ee("Body.lineHeight"),letterSpacing:Ee("Body.letterSpacing")},BodySmall:{fontFamily:Ee("BodySmall.fontFamily"),fontSize:Ee("BodySmall.fontSize"),fontWeight:Ee("BodySmall.fontWeight"),lineHeight:Ee("BodySmall.lineHeight"),letterSpacing:Ee("BodySmall.letterSpacing")},XSmall:{fontFamily:Ee("XSmall.fontFamily"),fontSize:Ee("XSmall.fontSize"),fontWeight:Ee("XSmall.fontWeight"),lineHeight:Ee("XSmall.lineHeight"),letterSpacing:Ee("XSmall.letterSpacing")}},Ne=t=>{switch(t){case 700:case"bold":return ke.Bold;case 600:case"semibold":return ke.Semibold;case 300:case"light":return ke.Light;case 400:case"regular":return ke.Regular;default:return""}},Ae=(t,e)=>r=>{const n=We[t].fontFamily(r),i=We[t].fontWeight(r);return Object.values(ke).includes(n)?a`
33
- font-family: ${Ne(e)||Ne(i)||n};
32
+ `,kt={Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"},Et={collections:{base:{D1:{fontFamily:kt.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:kt.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:kt.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:kt.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:kt.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:kt.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:kt.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:kt.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:kt.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:kt.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:kt.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:kt.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:kt.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:kt.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}}},defaultValue:"base"},Wt=e=>t=>{const n=t.theme,r=mt(Et,n[St.textStyleScheme]);return n.options&&n.options.textStyle?yt(r,e,n.options.textStyle):yt(r,e)},At={D1:{fontFamily:Wt("D1.fontFamily"),fontSize:Wt("D1.fontSize"),fontWeight:Wt("D1.fontWeight"),lineHeight:Wt("D1.lineHeight"),letterSpacing:Wt("D1.letterSpacing")},D2:{fontFamily:Wt("D2.fontFamily"),fontSize:Wt("D2.fontSize"),fontWeight:Wt("D2.fontWeight"),lineHeight:Wt("D2.lineHeight"),letterSpacing:Wt("D2.letterSpacing")},D3:{fontFamily:Wt("D3.fontFamily"),fontSize:Wt("D3.fontSize"),fontWeight:Wt("D3.fontWeight"),lineHeight:Wt("D3.lineHeight"),letterSpacing:Wt("D3.letterSpacing")},D4:{fontFamily:Wt("D4.fontFamily"),fontSize:Wt("D4.fontSize"),fontWeight:Wt("D4.fontWeight"),lineHeight:Wt("D4.lineHeight"),letterSpacing:Wt("D4.letterSpacing")},DBody:{fontFamily:Wt("DBody.fontFamily"),fontSize:Wt("DBody.fontSize"),fontWeight:Wt("DBody.fontWeight"),lineHeight:Wt("DBody.lineHeight"),letterSpacing:Wt("DBody.letterSpacing")},H1:{fontFamily:Wt("H1.fontFamily"),fontSize:Wt("H1.fontSize"),fontWeight:Wt("H1.fontWeight"),lineHeight:Wt("H1.lineHeight"),letterSpacing:Wt("H1.letterSpacing")},H2:{fontFamily:Wt("H2.fontFamily"),fontSize:Wt("H2.fontSize"),fontWeight:Wt("H2.fontWeight"),lineHeight:Wt("H2.lineHeight"),letterSpacing:Wt("H2.letterSpacing")},H3:{fontFamily:Wt("H3.fontFamily"),fontSize:Wt("H3.fontSize"),fontWeight:Wt("H3.fontWeight"),lineHeight:Wt("H3.lineHeight"),letterSpacing:Wt("H3.letterSpacing")},H4:{fontFamily:Wt("H4.fontFamily"),fontSize:Wt("H4.fontSize"),fontWeight:Wt("H4.fontWeight"),lineHeight:Wt("H4.lineHeight"),letterSpacing:Wt("H4.letterSpacing")},H5:{fontFamily:Wt("H5.fontFamily"),fontSize:Wt("H5.fontSize"),fontWeight:Wt("H5.fontWeight"),lineHeight:Wt("H5.lineHeight"),letterSpacing:Wt("H5.letterSpacing")},H6:{fontFamily:Wt("H6.fontFamily"),fontSize:Wt("H6.fontSize"),fontWeight:Wt("H6.fontWeight"),lineHeight:Wt("H6.lineHeight"),letterSpacing:Wt("H6.letterSpacing")},Body:{fontFamily:Wt("Body.fontFamily"),fontSize:Wt("Body.fontSize"),fontWeight:Wt("Body.fontWeight"),lineHeight:Wt("Body.lineHeight"),letterSpacing:Wt("Body.letterSpacing")},BodySmall:{fontFamily:Wt("BodySmall.fontFamily"),fontSize:Wt("BodySmall.fontSize"),fontWeight:Wt("BodySmall.fontWeight"),lineHeight:Wt("BodySmall.lineHeight"),letterSpacing:Wt("BodySmall.letterSpacing")},XSmall:{fontFamily:Wt("XSmall.fontFamily"),fontSize:Wt("XSmall.fontSize"),fontWeight:Wt("XSmall.fontWeight"),lineHeight:Wt("XSmall.lineHeight"),letterSpacing:Wt("XSmall.letterSpacing")}},Nt=e=>{switch(e){case 700:case"bold":return kt.Bold;case 600:case"semibold":return kt.Semibold;case 300:case"light":return kt.Light;case 400:case"regular":return kt.Regular;default:return""}},Ot=(e,t)=>n=>{const r=At[e].fontFamily(n),i=At[e].fontWeight(n);return Object.values(kt).includes(r)?o`
33
+ font-family: ${Nt(t)||Nt(i)||r};
34
34
  font-weight: normal !important;
35
- `:a`
36
- font-family: ${n};
37
- font-weight: ${(Oe(e)||i)??"normal"};
38
- `},Oe=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""}},je=(t,e,r=!1)=>n=>{const i=We[t],o=i.fontSize(n);return a`
39
- ${Ae(t,e)}
40
- font-size: ${o}rem !important;
35
+ `:o`
36
+ font-family: ${r};
37
+ font-weight: ${(jt(t)||i)??"normal"};
38
+ `},jt=e=>{switch(e){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""}},Tt=(e,t,n=!1)=>r=>{const i=At[e],a=i.fontSize(r);return o`
39
+ ${Ot(e,t)}
40
+ font-size: ${a}rem !important;
41
41
  line-height: ${i.lineHeight}rem !important;
42
- letter-spacing: ${i.letterSpacing(n)||0}rem !important;
43
- ${a`
44
- margin-bottom: ${o*(r?1.05:0)}rem;
42
+ letter-spacing: ${i.letterSpacing(r)||0}rem !important;
43
+ ${o`
44
+ margin-bottom: ${a*(n?1.05:0)}rem;
45
45
  `}
46
- `},Te=(t=!1,e=!1)=>e?a`
46
+ `},Vt=(e=!1,t=!1)=>t?o`
47
47
  display: block;
48
- `:t?a`
48
+ `:e?o`
49
49
  display: inline;
50
- `:a`
50
+ `:o`
51
51
  display: block;
52
- `,Re=n.svg`
53
- height: 1rem;
54
- width: 1rem;
55
- vertical-align: text-top;
56
-
57
- #path {
58
- fill: ${$e.Neutral[8]};
59
- }
60
- `,Le=t=>e(Re,{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 16 16",...t,children:e("g",{fill:"none",fillRule:"evenodd",children:e("g",{id:"path",fillRule:"nonzero",children:e("g",{children:e("g",{children:e("g",{children:e("path",{d:"M8.706 14.603l6.075-6.075c.294-.29.294-.765 0-1.06L8.706 1.398c-.29-.294-.765-.294-1.06 0l-.693.694c-.3.297-.294.78.013 1.072L10.73 6.75H1.75c-.416 0-.75.334-.75.75v1c0 .416.334.75.75.75h8.981l-3.765 3.587c-.304.291-.31.775-.013 1.072l.694.694c.29.294.765.294 1.06 0z",transform:"translate(-2384.000000, -760.000000) translate(2253.000000, 692.000000) translate(16.000000, 64.000000) translate(115.000000, 4.000000) translate(0.000000, 0.000000)"})})})})})})}),Pe=t=>e(Re,{width:"1rem",height:"1rem",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",...t,children:e("path",{id:"path",d:"M20\n\t\t8.639c-.934\n\t\t0-1.742.342-2.43 1.03-.684.684-1.03 1.495-1.03 2.429 0 .931.346 1.742 1.03 2.426.688.688 1.496 1.03 2.43 1.03.931 0 1.742-.342 2.43-1.03.684-.684 1.026-1.495 1.026-2.426 0-.934-.342-1.745-1.026-2.43-.688-.687-1.499-1.03-2.43-1.03m4.61 20.91v-1.976a.959.959 0 0 0-.287-.7.959.959 0 0 0-.7-.286h-.99v-8.232a.954.954 0 0 0-.287-.7.945.945 0 0 0-.7-.29h-5.269a.95.95 0 0 0-.7.29.954.954 0 0 0-.286.7v1.976c0 .271.095.506.286.7a.959.959 0 0 0 .7.287h.99v5.269h-.99a.959.959 0 0 0-.7.286.959.959 0 0 0-.286.7v1.977c0 .274.095.505.286.7a.959.959 0 0 0 .7.286h7.246a.959.959 0 0 0 .7-.287.959.959 0 0 0 .286-.7M20 2.5c3.15 0 6.068.788 8.75 2.365a17.67 17.67 0 0 1 6.385 6.386C36.71 13.933 37.5 16.848 37.5 20c0 3.15-.79 6.068-2.365 8.751a17.71 17.71 0 0 1-6.385 6.385C26.068 36.712 23.15 37.5 20 37.5c-3.153 0-6.068-.788-8.75-2.363a17.71 17.71 0 0 1-6.385-6.385c-1.575-2.683-2.365-5.6-2.365-8.75 0-3.154.79-6.069 2.365-8.751a17.67 17.67 0 0 1 6.385-6.386C13.932 3.288 16.847 2.5 20 2.5",fillRule:"nonzero"})}),Ve=t=>e(Re,{xmlns:"http://www.w3.org/2000/svg",width:"2rem",height:"2rem",viewBox:"0 0 64 64",id:"play-icon",...t,children:e("path",{id:"path",d:"M52.762 37.237 20.474 53.38A5.856 5.856 0 0 1 12 48.143V15.856a5.856 5.856 0 0 1 8.474-5.238l32.288 16.144a5.856 5.856 0 0 1 0 10.475z",fillRule:"nonzero"})}),Ie=t=>e(Re,{xmlns:"http://www.w3.org/2000/svg",width:"2rem",height:"2rem",viewBox:"0 0 32 32",fill:"none",...t,children:e("g",{id:"search",children:e("path",{id:"path",fillRule:"evenodd",clipRule:"evenodd",d:"M7.60986 7.60986C5.86994 9.34977 5 11.445 5 13.8956C5 16.3462 5.86994 18.4414 7.60986 20.1813C9.34977 21.9212 11.445 22.7911 13.8956 22.7911C15.6355 22.7911 17.2345 22.3133 18.6926 21.3576L24.2063 26.8713C24.3044 26.9571 24.4146 27 24.5372 27C24.6597 27 24.77 26.9571 24.868 26.8713L26.8713 24.868C26.9571 24.77 27 24.6597 27 24.5372C27 24.4146 26.9571 24.3044 26.8713 24.2063L21.3576 18.6926C22.3133 17.2345 22.7911 15.6355 22.7911 13.8956C22.7911 11.445 21.9212 9.34977 20.1813 7.60986C18.4414 5.86994 16.3462 5 13.8956 5C11.445 5 9.34977 5.86994 7.60986 7.60986ZM9.59484 18.178C8.4063 16.9894 7.81205 15.562 7.81205 13.8956C7.81205 12.2292 8.4063 10.8017 9.59484 9.61321C10.7834 8.42468 12.2169 7.83042 13.8956 7.83042C15.5742 7.83042 17.0047 8.42162 18.1872 9.60403C19.3696 10.7864 19.9608 12.2169 19.9608 13.8956C19.9608 15.5742 19.3696 17.0047 18.1872 18.1872C17.0047 19.3696 15.5742 19.9608 13.8956 19.9608C12.2169 19.9608 10.7834 19.3665 9.59484 18.178Z"})})}),Xe=n.span`
61
- font-size: 1rem;
62
- `;var Me;!function(t){t.D1=n.h1`
63
- ${t=>a`
64
- ${je("D1",t.weight,t.paragraph)}
65
- color: ${$e.Neutral[1]};
66
- ${Te(t.inline,t.paragraph)}
52
+ `;var Pt,Rt={};Object.defineProperty(Rt,"__esModule",{value:!0});var It=e;const Lt=e=>It.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:It.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"})});var Xt;Lt.displayName="ExternalIcon",Pt=Rt.ExternalIcon=Lt,function(e){e.D1=i.h1`
53
+ ${e=>o`
54
+ ${Tt("D1",e.weight,e.paragraph)}
55
+ color: ${bt.Neutral[1]};
56
+ ${Vt(e.inline,e.paragraph)}
67
57
  `}
68
- `,t.D2=n.h1`
69
- ${t=>a`
70
- ${je("D2",t.weight,t.paragraph)}
71
- color: ${$e.Neutral[1]};
72
- ${Te(t.inline,t.paragraph)}
58
+ `,e.D2=i.h1`
59
+ ${e=>o`
60
+ ${Tt("D2",e.weight,e.paragraph)}
61
+ color: ${bt.Neutral[1]};
62
+ ${Vt(e.inline,e.paragraph)}
73
63
  `}
74
- `,t.D3=n.h1`
75
- ${t=>a`
76
- ${je("D3",t.weight,t.paragraph)}
77
- color: ${$e.Neutral[1]};
78
- ${Te(t.inline,t.paragraph)}
64
+ `,e.D3=i.h1`
65
+ ${e=>o`
66
+ ${Tt("D3",e.weight,e.paragraph)}
67
+ color: ${bt.Neutral[1]};
68
+ ${Vt(e.inline,e.paragraph)}
79
69
  `}
80
- `,t.D4=n.h1`
81
- ${t=>a`
82
- ${je("D4",t.weight,t.paragraph)}
83
- color: ${$e.Neutral[1]};
84
- ${Te(t.inline,t.paragraph)}
70
+ `,e.D4=i.h1`
71
+ ${e=>o`
72
+ ${Tt("D4",e.weight,e.paragraph)}
73
+ color: ${bt.Neutral[1]};
74
+ ${Vt(e.inline,e.paragraph)}
85
75
  `}
86
- `,t.DBody=n.h1`
87
- ${t=>a`
88
- ${je("DBody",t.weight,t.paragraph)}
89
- color: ${$e.Neutral[1]};
90
- ${Te(t.inline,t.paragraph)}
76
+ `,e.DBody=i.h1`
77
+ ${e=>o`
78
+ ${Tt("DBody",e.weight,e.paragraph)}
79
+ color: ${bt.Neutral[1]};
80
+ ${Vt(e.inline,e.paragraph)}
91
81
  `}
92
- `,t.H1=n.h1`
93
- ${t=>a`
94
- ${je("H1",t.weight,t.paragraph)}
95
- color: ${$e.Neutral[1]};
96
- ${Te(t.inline,t.paragraph)}
82
+ `,e.H1=i.h1`
83
+ ${e=>o`
84
+ ${Tt("H1",e.weight,e.paragraph)}
85
+ color: ${bt.Neutral[1]};
86
+ ${Vt(e.inline,e.paragraph)}
97
87
  `}
98
- `,t.H2=n.h2`
99
- ${t=>a`
100
- ${je("H2",t.weight,t.paragraph)}
101
- color: ${$e.Neutral[1]};
102
- ${Te(t.inline,t.paragraph)}
88
+ `,e.H2=i.h2`
89
+ ${e=>o`
90
+ ${Tt("H2",e.weight,e.paragraph)}
91
+ color: ${bt.Neutral[1]};
92
+ ${Vt(e.inline,e.paragraph)}
103
93
  `}
104
- `,t.H3=n.h3`
105
- ${t=>a`
106
- ${je("H3",t.weight,t.paragraph)}
107
- color: ${$e.Neutral[1]};
108
- ${Te(t.inline,t.paragraph)}
94
+ `,e.H3=i.h3`
95
+ ${e=>o`
96
+ ${Tt("H3",e.weight,e.paragraph)}
97
+ color: ${bt.Neutral[1]};
98
+ ${Vt(e.inline,e.paragraph)}
109
99
  `}
110
- `,t.H4=n.h4`
111
- ${t=>a`
112
- ${je("H4",t.weight,t.paragraph)}
113
- color: ${$e.Neutral[1]};
114
- ${Te(t.inline,t.paragraph)}
100
+ `,e.H4=i.h4`
101
+ ${e=>o`
102
+ ${Tt("H4",e.weight,e.paragraph)}
103
+ color: ${bt.Neutral[1]};
104
+ ${Vt(e.inline,e.paragraph)}
115
105
  `}
116
- `,t.H5=n.h5`
117
- ${t=>a`
118
- ${je("H5",t.weight,t.paragraph)}
119
- color: ${$e.Neutral[1]};
120
- ${Te(t.inline,t.paragraph)}
106
+ `,e.H5=i.h5`
107
+ ${e=>o`
108
+ ${Tt("H5",e.weight,e.paragraph)}
109
+ color: ${bt.Neutral[1]};
110
+ ${Vt(e.inline,e.paragraph)}
121
111
  `}
122
- `,t.H6=n.h6`
123
- ${t=>a`
124
- ${je("H6",t.weight,t.paragraph)}
125
- color: ${$e.Neutral[1]};
126
- ${Te(t.inline,t.paragraph)}
112
+ `,e.H6=i.h6`
113
+ ${e=>o`
114
+ ${Tt("H6",e.weight,e.paragraph)}
115
+ color: ${bt.Neutral[1]};
116
+ ${Vt(e.inline,e.paragraph)}
127
117
  `}
128
- `,t.Body=n.p`
129
- ${t=>a`
130
- ${je("Body",t.weight,t.paragraph)}
131
- color: ${$e.Neutral[1]};
132
- ${Te(t.inline,t.paragraph)}
118
+ `,e.Body=i.p`
119
+ ${e=>o`
120
+ ${Tt("Body",e.weight,e.paragraph)}
121
+ color: ${bt.Neutral[1]};
122
+ ${Vt(e.inline,e.paragraph)}
133
123
  `}
134
- `,t.BodySmall=n.p`
135
- ${t=>a`
136
- ${je("BodySmall",t.weight,t.paragraph)}
137
- color: ${$e.Neutral[1]};
138
- ${Te(t.inline,t.paragraph)}
124
+ `,e.BodySmall=i.p`
125
+ ${e=>o`
126
+ ${Tt("BodySmall",e.weight,e.paragraph)}
127
+ color: ${bt.Neutral[1]};
128
+ ${Vt(e.inline,e.paragraph)}
139
129
  `}
140
- `,t.XSmall=n.span`
141
- ${t=>a`
142
- ${je("XSmall",t.weight,t.paragraph)}
143
- color: ${$e.Neutral[1]};
144
- ${Te(t.inline,t.paragraph)}
130
+ `,e.XSmall=i.span`
131
+ ${e=>o`
132
+ ${Tt("XSmall",e.weight,e.paragraph)}
133
+ color: ${bt.Neutral[1]};
134
+ ${Vt(e.inline,e.paragraph)}
145
135
  `}
146
- `,t.Hyperlink={Default:t=>Ue({...t,textStyle:"Body"}),Small:t=>Ue({...t,textStyle:"BodySmall"})}}(Me||(Me={}));const Ge=n.a`
147
- ${t=>a`
148
- ${je(t.textStyle,t.weight)}
149
- color: ${$e.Primary};
136
+ `,e.Hyperlink={Default:e=>Zt({...e,textStyle:"Body"}),Small:e=>Zt({...e,textStyle:"BodySmall"})}}(Xt||(Xt={}));const Gt=i.a`
137
+ ${e=>o`
138
+ ${Tt(e.textStyle,e.weight)}
139
+ color: ${bt.Primary};
150
140
  text-decoration: none;
151
141
 
152
142
  :hover,
153
143
  :active,
154
144
  :focus {
155
- color: ${$e.Secondary};
145
+ color: ${bt.Secondary};
146
+
147
+ svg {
148
+ color: ${bt.Secondary};
149
+ }
156
150
  }
157
151
  `}
158
- `,Ze=n((({type:t,...r})=>{switch(t){case"arrow-right":return e(Le,{...r});case"info":return e(Pe,{...r});case"search":return e(Ie,{...r});case"play-alt":return e(Ve,{...r});default:{const n=`sgds-icon sgds-icon-${t}`,i=r.className?`${n} ${r.className}`:n;return e(Xe,{...r,className:i})}}}))`
152
+ `,Mt=i(Pt)`
153
+ height: 1rem;
154
+ width: 1rem;
159
155
  margin-left: 0.4rem;
160
- `,Ue=({external:r=!1,children:n,...i})=>t(Ge,{...i,children:[n,r&&e(Ze,{type:"external"})]});var Ye;!function(t){t[t.Subpage=0]="Subpage",t[t.Domain=1]="Domain"}(Ye||(Ye={}));const qe=n.button`
156
+ vertical-align: middle;
157
+ `,Zt=({external:e=!1,children:r,...i})=>t(Gt,{...i,children:[r,e&&n(Mt,{})]});var Ut;!function(e){e[e.Subpage=0]="Subpage",e[e.Domain=1]="Domain"}(Ut||(Ut={}));const Yt=i.button`
161
158
  padding: 0.5rem 1rem;
162
159
  min-width: 4rem;
163
160
  border-radius: 4px;
@@ -176,22 +173,22 @@ import{jsxs as t,jsx as e}from"react/jsx-runtime";import r from"react";import n,
176
173
  // -----------------------------------------------------------------------------
177
174
  // BUTTON STYLE + TEXT COLOR
178
175
  // -----------------------------------------------------------------------------
179
- ${t=>{switch(t.$buttonStyle){case"secondary":return a`
180
- background-color: ${$e.Neutral[8](t)};
181
- border: 1px solid ${$e.Primary(t)};
176
+ ${e=>{switch(e.$buttonStyle){case"secondary":return o`
177
+ background-color: ${bt.Neutral[8](e)};
178
+ border: 1px solid ${bt.Primary(e)};
182
179
 
183
180
  span {
184
- color: ${$e.Primary(t)};
181
+ color: ${bt.Primary(e)};
185
182
  }
186
- `;case"light":return a`
187
- background-color: ${$e.Neutral[8](t)};
188
- border: 1px solid ${$e.Neutral[5](t)};
183
+ `;case"light":return o`
184
+ background-color: ${bt.Neutral[8](e)};
185
+ border: 1px solid ${bt.Neutral[5](e)};
189
186
 
190
187
  span {
191
- color: ${$e.Primary(t)};
188
+ color: ${bt.Primary(e)};
192
189
  }
193
- `;case"disabled":return a`
194
- background-color: ${$e.Neutral[6](t)};
190
+ `;case"disabled":return o`
191
+ background-color: ${bt.Neutral[6](e)};
195
192
  border: 1px solid transparent;
196
193
  cursor: not-allowed;
197
194
 
@@ -200,9 +197,9 @@ import{jsxs as t,jsx as e}from"react/jsx-runtime";import r from"react";import n,
200
197
  }
201
198
 
202
199
  span {
203
- color: ${$e.Neutral[3](t)};
200
+ color: ${bt.Neutral[3](e)};
204
201
  }
205
- `;case"link":return a`
202
+ `;case"link":return o`
206
203
  background-color: transparent;
207
204
  border: none;
208
205
  border-radius: unset;
@@ -211,58 +208,58 @@ import{jsxs as t,jsx as e}from"react/jsx-runtime";import r from"react";import n,
211
208
  box-shadow: none;
212
209
  }
213
210
 
214
- color: ${$e.Primary};
211
+ color: ${bt.Primary};
215
212
  :hover,
216
213
  :active,
217
214
  :focus {
218
215
  span {
219
- color: ${$e.Secondary};
216
+ color: ${bt.Secondary};
220
217
  }
221
218
  }
222
- `;default:return a`
223
- background-color: ${$e.Primary(t)};
219
+ `;default:return o`
220
+ background-color: ${bt.Primary(e)};
224
221
  border: 1px solid transparent;
225
222
 
226
- ${Be.mobileL} {
223
+ ${Bt.mobileL} {
227
224
  width: 100%;
228
225
  }
229
226
 
230
227
  span {
231
- color: ${$e.Neutral[8](t)};
228
+ color: ${bt.Neutral[8](e)};
232
229
  }
233
230
  `}}}
234
231
 
235
232
  // -----------------------------------------------------------------------------
236
233
  // BUTTON SIZE + TEXT SIZE
237
234
  // -----------------------------------------------------------------------------
238
- ${t=>"small"===t.$buttonSizeStyle?a`
235
+ ${e=>"small"===e.$buttonSizeStyle?o`
239
236
  height: 2.5rem;
240
237
  span {
241
- ${je("H5","semibold")}
238
+ ${Tt("H5","semibold")}
242
239
  }
243
240
 
244
- ${Be.mobileS} {
241
+ ${Bt.mobileS} {
245
242
  height: auto;
246
243
  }
247
- `:a`
244
+ `:o`
248
245
  height: 3rem;
249
246
  span {
250
- ${je("H4","semibold")}
247
+ ${Tt("H4","semibold")}
251
248
  }
252
249
 
253
- ${Be.mobileS} {
250
+ ${Bt.mobileS} {
254
251
  height: auto;
255
252
  }
256
253
  `}
257
- `,Je=n((({color:r,className:n,size:i=18})=>t(He,{className:n,$size:i,$color:r,children:[e(ze,{id:"inner1",$size:i-2,$borderWidth:2}),e(we,{id:"inner2",$size:i-2,$borderWidth:2}),e(_e,{id:"inner3",$size:i-2,$borderWidth:2}),e(xe,{id:"inner4",$size:i-2,$borderWidth:2})]})))`
254
+ `,qt=i((({color:e,className:r,size:i=18})=>t(Dt,{className:r,$size:i,$color:e,children:[n(zt,{id:"inner1",$size:i-2,$borderWidth:2}),n(wt,{id:"inner2",$size:i-2,$borderWidth:2}),n(xt,{id:"inner3",$size:i-2,$borderWidth:2}),n(Ct,{id:"inner4",$size:i-2,$borderWidth:2})]})))`
258
255
  margin-right: 0.5rem;
259
- ${t=>{let e;switch(t.$buttonStyle){case"secondary":case"light":case"link":e=$e.Primary(t);break;case"disabled":e=$e.Neutral[3](t);break;default:e=$e.Neutral[8](t)}return a`
256
+ ${e=>{let t;switch(e.$buttonStyle){case"secondary":case"light":case"link":t=bt.Primary(e);break;case"disabled":t=bt.Neutral[3](e);break;default:t=bt.Neutral[8](e)}return o`
260
257
  #inner1,
261
258
  #inner2,
262
259
  #inner3,
263
260
  #inner4 {
264
- border-color: ${e} transparent transparent transparent;
261
+ border-color: ${t} transparent transparent transparent;
265
262
  }
266
263
  `}}
267
- `,Ke={Default:r.forwardRef(((r,n)=>{const{children:i,disabled:a=!1,loading:o=!1,styleType:l="default",...c}=r,h={$buttonStyle:a?"disabled":l,$buttonSizeStyle:"default"};return t(qe,{ref:n,"data-testid":c["data-testid"]||"button",disabled:a,...h,...c,children:[o&&e(Je,{...h}),e("span",{children:i})]})})),Small:r.forwardRef(((r,n)=>{const{children:i,disabled:a=!1,loading:o=!1,styleType:l="default",...c}=r,h={$buttonStyle:a?"disabled":l,$buttonSizeStyle:"small"};return t(qe,{ref:n,"data-testid":c["data-testid"]||"button",disabled:a,...h,...c,children:[o&&e(Je,{...h,size:16}),e("span",{children:i})]})}))};export{Ke as Button};
264
+ `,Jt={Default:r.forwardRef(((e,r)=>{const{children:i,disabled:a=!1,loading:o=!1,styleType:l="default",...c}=e,d={$buttonStyle:a?"disabled":l,$buttonSizeStyle:"default"};return t(Yt,{ref:r,"data-testid":c["data-testid"]||"button",disabled:a,...d,...c,children:[o&&n(qt,{...d}),n("span",{children:i})]})})),Small:r.forwardRef(((e,r)=>{const{children:i,disabled:a=!1,loading:o=!1,styleType:l="default",...c}=e,d={$buttonStyle:a?"disabled":l,$buttonSizeStyle:"small"};return t(Yt,{ref:r,"data-testid":c["data-testid"]||"button",disabled:a,...d,...c,children:[o&&n(qt,{...d,size:16}),n("span",{children:i})]})}))};export{Jt as Button};
268
265
  //# sourceMappingURL=index.js.map