@heliux-org/design-system-core 0.0.321-Test → 0.0.322

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. package/dist/Panel.css +1 -1
  2. package/dist/Panel.css.map +1 -1
  3. package/dist/Toast.css +1 -1
  4. package/dist/Toast.css.map +1 -1
  5. package/dist/Toast.js +1 -1
  6. package/dist/Toast.js.map +1 -1
  7. package/dist/components/Toast/Toast.js +2 -2
  8. package/dist/components/Toast/Toast.js.map +1 -1
  9. package/dist/components/WorkflowList/WorkflowList.js +1 -1
  10. package/dist/components/WorkflowList/WorkflowList.js.map +1 -1
  11. package/dist/esm/components/Toast/Toast.d.ts.map +1 -1
  12. package/dist/esm/components/WorkflowList/WorkflowList.d.ts.map +1 -1
  13. package/dist/esm/src/components/Panel/Panel.module.scss.js +1 -1
  14. package/dist/esm/src/components/Toast/Toast.js +1 -1
  15. package/dist/esm/src/components/Toast/Toast.js.map +1 -1
  16. package/dist/esm/src/components/Toast/Toast.module.scss.js +1 -1
  17. package/dist/esm/src/components/WorkflowList/WorkflowList.js +1 -1
  18. package/dist/esm/src/components/WorkflowList/WorkflowList.js.map +1 -1
  19. package/dist/main.css +2 -2
  20. package/dist/main.css.map +1 -1
  21. package/dist/main.js +1 -1
  22. package/dist/main.js.map +1 -1
  23. package/dist/mocked_classnames_esm/components/Toast/Toast.d.ts.map +1 -1
  24. package/dist/mocked_classnames_esm/components/WorkflowList/WorkflowList.d.ts.map +1 -1
  25. package/dist/mocked_classnames_esm/src/components/Panel/Panel.module.scss.js +1 -1
  26. package/dist/mocked_classnames_esm/src/components/Toast/Toast.js +1 -1
  27. package/dist/mocked_classnames_esm/src/components/Toast/Toast.js.map +1 -1
  28. package/dist/mocked_classnames_esm/src/components/Toast/Toast.module.scss.js +1 -1
  29. package/dist/mocked_classnames_esm/src/components/WorkflowList/WorkflowList.js +1 -1
  30. package/dist/mocked_classnames_esm/src/components/WorkflowList/WorkflowList.js.map +1 -1
  31. package/dist/types/components/Toast/Toast.d.ts.map +1 -1
  32. package/dist/types/components/WorkflowList/WorkflowList.d.ts.map +1 -1
  33. package/package.json +3 -3
  34. package/src/components/Panel/Panel.module.scss +1 -1
  35. package/src/components/Toast/Toast.module.scss +19 -9
  36. package/src/components/Toast/Toast.tsx +15 -12
  37. package/src/components/Toast/__stories__/toast.stories.tsx +25 -0
  38. package/src/components/WorkflowList/WorkflowList.tsx +1 -0
  39. package/dist/01099e901d8d36c4208d.woff +0 -0
  40. package/dist/014b33f2d67746925624.woff2 +0 -1
  41. package/dist/01ddb13e174e5dc916e701c7efaa323b.woff2 +0 -1
  42. package/dist/01ddb76edb91ce0e42b2f4d2b117fe20.woff2 +0 -1
  43. package/dist/0204dde18eabd48872bc.woff +0 -0
  44. package/dist/03446f23dd9b11b08a50.woff2 +0 -0
  45. package/dist/03a843e969c73d167dfe1881bacceb81.woff +0 -1
  46. package/dist/09ad0d44c84b8ba10b08.woff2 +0 -1
  47. package/dist/09cce7da915e05bce40f.woff +0 -1
  48. package/dist/09cfa47ba8e8e7694606.woff +0 -1
  49. package/dist/0b03efa08247214660c7.woff2 +0 -0
  50. package/dist/0fbb1058f3361e047fca.woff2 +0 -1
  51. package/dist/10a7cf76e9c63de3773a.woff2 +0 -0
  52. package/dist/11d2826e26962217b6c9.woff +0 -0
  53. package/dist/13289e71e3f82bc351e3.woff +0 -1
  54. package/dist/136d07570e1fc99faa06.woff +0 -0
  55. package/dist/1492107708a4234faa12.woff2 +0 -1
  56. package/dist/16360d4137e1735070eef904fa94e6a8.woff +0 -1
  57. package/dist/18ad1cf5e2baedef7ba63332351bf412.woff +0 -1
  58. package/dist/1954637cd7a765c3e565.woff2 +0 -0
  59. package/dist/19572db4e7a381e7bf2fb83c32666be1.woff2 +0 -1
  60. package/dist/1a88434be4dcedb1a52f.woff2 +0 -1
  61. package/dist/1b9ba53f26dcc0beb844.woff2 +0 -0
  62. package/dist/1f4b4c24e700ed40c15d.woff +0 -1
  63. package/dist/232301dc2e7000ba9ed6.woff +0 -0
  64. package/dist/23d8d6b1a5073479abfcb58cf7b586b4.woff2 +0 -1
  65. package/dist/250c3a2ede6ce02f4a23.woff2 +0 -0
  66. package/dist/25338105b4de064cde15.woff +0 -0
  67. package/dist/29531b3b68d076a07707.woff2 +0 -1
  68. package/dist/2973470e0640c3bdee66.woff2 +0 -0
  69. package/dist/297ffdb5c554283afbb5.woff +0 -0
  70. package/dist/2a712138501c20b4d01b.woff2 +0 -1
  71. package/dist/2aed460e210a5e9fa9d2.woff2 +0 -1
  72. package/dist/33d1d8a1d63d6ae2f308.woff +0 -1
  73. package/dist/345cfd636ceea3a1a0f6.woff2 +0 -0
  74. package/dist/355190d2021a12f1cc6ad0525dd59c38.woff +0 -1
  75. package/dist/35c15972348798dad1efca7cf236175e.woff2 +0 -1
  76. package/dist/35fad97547043f76468c232e2bdf5a08.woff +0 -1
  77. package/dist/372969e7f85a7afdcb2946f68eab626d.woff +0 -1
  78. package/dist/386a08442f3625ff3fbe.woff2 +0 -0
  79. package/dist/3936ac0e60ab737d0f74.woff +0 -0
  80. package/dist/3a370a4e1fa49031c3f6.woff +0 -0
  81. package/dist/3b26695ac5295e07a0cd63df7ea66b10.woff2 +0 -1
  82. package/dist/3b99b639b060f6d2e0db5a0fdc495996.woff +0 -1
  83. package/dist/3c6d84970708c4007cf0159ba4df71c0.woff2 +0 -1
  84. package/dist/3ed2a6b08cffaa5b9790de3fc53b56f6.woff2 +0 -1
  85. package/dist/4082afcc8ecc984a4d8d.woff +0 -0
  86. package/dist/435b0f6f271370b0839f.woff +0 -0
  87. package/dist/43e7cfe43e0f0cf43319.woff +0 -1
  88. package/dist/47a0cd12a43866e41e9c.woff +0 -1
  89. package/dist/47aa3c5bb709255fac99.woff +0 -0
  90. package/dist/4847a2111cc8855a1e79.woff2 +0 -0
  91. package/dist/48fea4af52bcd858ce6d.woff +0 -0
  92. package/dist/49c3eb86c07f2edb67ea9aa6103c3b23.woff +0 -1
  93. package/dist/4a92609d862ec1ce681b.woff2 +0 -1
  94. package/dist/4b7978710036d8d520cf.woff +0 -0
  95. package/dist/4cc8c318e48c129331abd522210a6a3c.woff2 +0 -1
  96. package/dist/513294968676ce0c1b16.woff2 +0 -1
  97. package/dist/52204d5fcf3c5b87cd0048b120dd621c.woff +0 -1
  98. package/dist/5306fc642b7e9bca419c.woff2 +0 -1
  99. package/dist/537a6a86f72fc03dfb4b.woff2 +0 -1
  100. package/dist/54668f027d5519ae0290.woff +0 -1
  101. package/dist/54d4de458f4a7cf1de00.woff +0 -1
  102. package/dist/5518fbc8e4bc1fd8384e.woff +0 -1
  103. package/dist/582f881e26bdb790d1ab.woff2 +0 -0
  104. package/dist/58aa8475a6835b0930c56a994963aa05.woff2 +0 -1
  105. package/dist/59b92307682bb394d25b.woff2 +0 -0
  106. package/dist/5c4edf9d8f18059917c8bc1e2fa0ea90.woff2 +0 -1
  107. package/dist/5c8fa8cd79a6d09061de.woff +0 -0
  108. package/dist/5d51d5ad082ebe1aacec.woff2 +0 -0
  109. package/dist/5fdbb1bf3c7a7e0ed412.woff +0 -1
  110. package/dist/60cb1cbd11af7f89845b.woff2 +0 -1
  111. package/dist/60e20fa3232b4f90f34b5b3b1740e826.woff +0 -1
  112. package/dist/62c163261dab4a2f8eda3b31a6434adf.woff +0 -1
  113. package/dist/65940de5646f05a28592.woff +0 -1
  114. package/dist/66c62da463c3ce5c494d.woff +0 -0
  115. package/dist/66ceb65f7020d57d50b9.woff2 +0 -0
  116. package/dist/67e24d0983d58e847b05.woff +0 -1
  117. package/dist/691e82d42b380a7fe68f.woff +0 -0
  118. package/dist/69f2e3adff94869a1d8a.woff2 +0 -0
  119. package/dist/6aa01e407de54146957c547b30a3b0e6.woff +0 -1
  120. package/dist/6c601958e90e661de3382a7fe4f78e7f.woff2 +0 -1
  121. package/dist/6c690e1f6c653e4bf4866c11614f5827.woff2 +0 -1
  122. package/dist/6cfdc9d232b607d3df66.woff2 +0 -0
  123. package/dist/6d6421837c766e4d088f.woff +0 -1
  124. package/dist/6dc1dda9720e775f33dc.woff +0 -0
  125. package/dist/6dff4ee633b4cd8b6b39.woff +0 -0
  126. package/dist/6f4a6159caca9ab95587.woff2 +0 -0
  127. package/dist/70147ef2a77793b48d82.woff2 +0 -1
  128. package/dist/71e76016cb243cb61f4c.woff2 +0 -0
  129. package/dist/7251d5be33c6490cfb4986c3a49290e8.woff2 +0 -1
  130. package/dist/73240af009a904ae7afe.woff2 +0 -1
  131. package/dist/7472099cf2dd355e97a5.woff +0 -1
  132. package/dist/766750908073fa0cd7a6.woff +0 -1
  133. package/dist/774b80d9be696b17960a8deaef05adc0.woff2 +0 -1
  134. package/dist/77dce4945c4c5f155932.woff +0 -1
  135. package/dist/78a8b1f924d760497fa051e52fbb7795.woff2 +0 -1
  136. package/dist/79166d79f03989b8aba7.woff +0 -1
  137. package/dist/79baff6b2fa906d87852c03f7679eb3f.woff2 +0 -1
  138. package/dist/7b1d9b469b515b0c4cdd.woff +0 -1
  139. package/dist/7b57046ebc97a545f2bb.woff +0 -0
  140. package/dist/7b57de0ce8c95939e6b8.woff2 +0 -1
  141. package/dist/7c5ebcac4f4a3db1c778.woff2 +0 -1
  142. package/dist/7c761b0f2c601d1a483c.woff +0 -0
  143. package/dist/7e1290813e40739a052b.woff +0 -1
  144. package/dist/7e6a90782fef1d025002ed72b769e600.woff2 +0 -1
  145. package/dist/8036e0831788488e9ed646936f41fc05.woff +0 -1
  146. package/dist/81ad8820722a456be666.woff2 +0 -1
  147. package/dist/83cf4919339de9c1a4c48c9735a21723.woff +0 -1
  148. package/dist/8458a3bda74267bf5d97.woff2 +0 -0
  149. package/dist/89d77f5589e8a987ee717abe6d7e8dfd.woff2 +0 -1
  150. package/dist/8b45276c8d5867ea6b1e.woff2 +0 -0
  151. package/dist/8f03f0afb95f82422803.woff2 +0 -0
  152. package/dist/902e557cc62aff17d1b5.woff2 +0 -0
  153. package/dist/904e8c770706fdbf73a8.woff2 +0 -0
  154. package/dist/926521dbe259000a453262d6dcd49c7e.woff +0 -1
  155. package/dist/93368fc6cebb1d93c649.woff +0 -1
  156. package/dist/94623a4162bdde9850c432dcaf619b59.woff2 +0 -1
  157. package/dist/95775bff98b1cfdafc34dda5151c8802.woff +0 -1
  158. package/dist/973c21b55a914d39a309.woff +0 -0
  159. package/dist/9df6dc5e3cba70111b2be25f0692eb81.woff +0 -1
  160. package/dist/a118ebf10dd8a24c62c8.woff2 +0 -1
  161. package/dist/a3a96b09695f14dbd53a.woff2 +0 -1
  162. package/dist/a67b864a330c617dc636.woff2 +0 -1
  163. package/dist/a8e9c3637ef4939ceb079a3f13166bb8.woff2 +0 -1
  164. package/dist/a95154480606675e4b725f11d38034c2.woff +0 -1
  165. package/dist/ad100fe76ac13b04765ac92ef1ac9204.woff2 +0 -1
  166. package/dist/af077451598574c55faf.woff +0 -1
  167. package/dist/b24430ab47bf89dd9467.woff2 +0 -1
  168. package/dist/b27cb3871ed771961ef6f0abd49db997.woff2 +0 -1
  169. package/dist/b41f5a0ee6a4078d2c77.woff2 +0 -1
  170. package/dist/b5381a007239f959a8ffd87481486d32.woff2 +0 -1
  171. package/dist/b5fb6bb4bf91a7aaa50c.woff2 +0 -0
  172. package/dist/b66ab0190dcf7b5da696.woff +0 -0
  173. package/dist/b7b142be3ffae5c23169bac704b1bb60.woff +0 -1
  174. package/dist/b9649759f410addb8c032905cceeb97d.woff +0 -1
  175. package/dist/bd99033c95e6080c75315bbed34e6d59.woff2 +0 -1
  176. package/dist/bfe989eec14e93f897a73fb317c54aa9.woff2 +0 -1
  177. package/dist/c1899469e4a717878c96.woff +0 -1
  178. package/dist/c3776e542750e50906a6.woff2 +0 -0
  179. package/dist/c39f3347364862a2fcbc658a48ed4bd4.woff +0 -1
  180. package/dist/c3a7b44953f18240009b2e0ac912e9df.woff2 +0 -1
  181. package/dist/c431ed0a2362f8d52494.woff2 +0 -0
  182. package/dist/c577012f754683283865.woff2 +0 -1
  183. package/dist/c68ed1a8049685920a59dd4354f4aaa9.woff2 +0 -1
  184. package/dist/c8b0c1f510bf8de7daaf.woff +0 -0
  185. package/dist/c92cd7a3a5d153f9a0abf57dd804dd2b.woff +0 -1
  186. package/dist/c9b2b494eb80f7f2103e.woff2 +0 -0
  187. package/dist/components/Grid/Grid.js +0 -32
  188. package/dist/components/Grid/Grid.js.map +0 -1
  189. package/dist/components/Grid/index.js +0 -18
  190. package/dist/components/Grid/index.js.map +0 -1
  191. package/dist/components/Icon/Icons/components/Lines.js +0 -21
  192. package/dist/components/Icon/Icons/components/Lines.js.map +0 -1
  193. package/dist/components/Icon/Icons/components/Notifications.js +0 -21
  194. package/dist/components/Icon/Icons/components/Notifications.js.map +0 -1
  195. package/dist/components/Icon/Icons/components/Update.js +0 -21
  196. package/dist/components/Icon/Icons/components/Update.js.map +0 -1
  197. package/dist/d04675069ea1d1163d5b.woff +0 -1
  198. package/dist/d5c9e35869f14956363533d05784d64e.woff +0 -1
  199. package/dist/d77c896979b205e7f475.woff +0 -1
  200. package/dist/d819b79b58be33ac004b.woff +0 -1
  201. package/dist/d8e13db10ac0902e5aa9.woff +0 -0
  202. package/dist/d9ffac4b1274280a5dc6341396db6fac.woff +0 -1
  203. package/dist/da40969e6e82c3dc9082.woff2 +0 -1
  204. package/dist/da4786673aaa2c4b4f8d.woff +0 -0
  205. package/dist/db0557b7781482567e41.woff2 +0 -0
  206. package/dist/dbc02abfebdd8b088734.woff +0 -0
  207. package/dist/dcab3a63294cf260b4a8.woff2 +0 -1
  208. package/dist/e04ede2afc0ae86eded8.woff +0 -1
  209. package/dist/e2f1e36b0c624f25532d8f7eea997b81.woff2 +0 -1
  210. package/dist/e74b51075235ecbcce56ef63f802e2b4.woff +0 -1
  211. package/dist/e7ebb6275c8bf2c533ac.woff +0 -0
  212. package/dist/eaa4c684c6cbd502a918.woff2 +0 -0
  213. package/dist/ec8691527a0ae8f48e13.woff2 +0 -1
  214. package/dist/esm/components/Grid/Grid.d.ts +0 -16
  215. package/dist/esm/components/Grid/Grid.d.ts.map +0 -1
  216. package/dist/esm/components/Grid/index.d.ts +0 -2
  217. package/dist/esm/components/Grid/index.d.ts.map +0 -1
  218. package/dist/esm/components/Icon/Icons/components/Lines.d.ts +0 -7
  219. package/dist/esm/components/Icon/Icons/components/Lines.d.ts.map +0 -1
  220. package/dist/esm/components/Icon/Icons/components/Notifications.d.ts +0 -7
  221. package/dist/esm/components/Icon/Icons/components/Notifications.d.ts.map +0 -1
  222. package/dist/esm/components/Icon/Icons/components/Update.d.ts +0 -7
  223. package/dist/esm/components/Icon/Icons/components/Update.d.ts.map +0 -1
  224. package/dist/esm/src/components/Grid/Grid.js +0 -2
  225. package/dist/esm/src/components/Grid/Grid.js.map +0 -1
  226. package/dist/esm/src/components/Icon/Icons/components/Lines.js +0 -2
  227. package/dist/esm/src/components/Icon/Icons/components/Lines.js.map +0 -1
  228. package/dist/esm/src/components/Icon/Icons/components/Notifications.js +0 -2
  229. package/dist/esm/src/components/Icon/Icons/components/Notifications.js.map +0 -1
  230. package/dist/esm/src/components/Icon/Icons/components/Update.js +0 -2
  231. package/dist/esm/src/components/Icon/Icons/components/Update.js.map +0 -1
  232. package/dist/f0acd6dd9d2dfb3ee94805c0534aaf5a.woff2 +0 -1
  233. package/dist/f0ae7cd56c0838373da6.woff2 +0 -1
  234. package/dist/f127fb3e26067096b39f.woff2 +0 -1
  235. package/dist/f21524cbececeda8295b7e0da9cf9d33.woff +0 -1
  236. package/dist/f2798934e74c3cb482ac.woff +0 -0
  237. package/dist/f358e02809604db8670a4f2d76aab7c3.woff +0 -1
  238. package/dist/f3f79dee35d5d2e35177.woff2 +0 -1
  239. package/dist/f445886ca310d5db40df.woff +0 -1
  240. package/dist/f44bfcba9cd05a5294d6.woff +0 -0
  241. package/dist/f6f16d45b3baa0c950a8.woff +0 -1
  242. package/dist/faae70a4933c7cc49e51aaa6bcad28cc.woff +0 -1
  243. package/dist/faafc5bdf648fa17b73bc05f44cc9668.woff +0 -1
  244. package/dist/fc39afa9a656eea4bef0.woff +0 -1
  245. package/dist/fcd095115aef9c8af77c.woff2 +0 -0
  246. package/dist/fde15f04e1d14415a4e05ee9a8c2cf02.woff +0 -1
  247. package/dist/fonts/Alliance-Mono.164f4884488954efba9ec76591a73503.woff +0 -1
  248. package/dist/fonts/Alliance-Mono.4c7ac54a7dfa122f25d7fdd4dfeaa959.woff2 +0 -1
  249. package/dist/fonts/Alliance-NeueBlack.0bfbc1cb826066552dab836cb7fa0abf.woff +0 -1
  250. package/dist/fonts/Alliance-NeueBlack.4f4e74a44effbe81b54bf5615d44242c.woff2 +0 -1
  251. package/dist/fonts/Alliance-NeueBlackItalic.5bdd4e9c7011fd5cbd37de3004a4e2b5.woff2 +0 -1
  252. package/dist/fonts/Alliance-NeueBlackItalic.bdf77e17cb99795ff12ca52fb07f9509.woff +0 -1
  253. package/dist/fonts/Alliance-NeueBold.085208854e04300e39e641c5b5302b7a.woff2 +0 -1
  254. package/dist/fonts/Alliance-NeueBold.26ab7f9dc4625a669bfe6ba311ebab35.woff +0 -1
  255. package/dist/fonts/Alliance-NeueBoldItalic.07cfe7ca033edf2e2bd3f85af60bf982.woff +0 -1
  256. package/dist/fonts/Alliance-NeueBoldItalic.ffad1cb45886073ad03536d08e285e86.woff2 +0 -1
  257. package/dist/fonts/Alliance-NeueExtraBold.500b09c0240bbaab8d2c1c1820920dd7.woff2 +0 -1
  258. package/dist/fonts/Alliance-NeueExtraBold.66285fbff1ddc389ab8412d0fca73e83.woff +0 -1
  259. package/dist/fonts/Alliance-NeueExtraBoldtalic.a5a9e565750d9354f4c1477fab933da5.woff +0 -1
  260. package/dist/fonts/Alliance-NeueExtraBoldtalic.e8c96cad53be70f8daed48cca6544e70.woff2 +0 -1
  261. package/dist/fonts/Alliance-NeueLight.90627507b283a7c34980f01d535ac461.woff2 +0 -1
  262. package/dist/fonts/Alliance-NeueLight.96e91b7a125a510c1d45e3bffce258ef.woff +0 -1
  263. package/dist/fonts/Alliance-NeueLightItalic.4119bbc389ff1fb42a98ef5148878aca.woff +0 -1
  264. package/dist/fonts/Alliance-NeueLightItalic.e497adce676d88b4a324d72d54d7503b.woff2 +0 -1
  265. package/dist/fonts/Alliance-NeueMedium.11c212ee6182037495ac44ae96ea373b.woff +0 -1
  266. package/dist/fonts/Alliance-NeueMedium.ebac6e88e281a6a65f1cd736f0bb1773.woff2 +0 -1
  267. package/dist/fonts/Alliance-NeueMediumItalic.4e1ef4b1585c0db4a39328a9e3814ac1.woff +0 -1
  268. package/dist/fonts/Alliance-NeueMediumItalic.b238d352ce63753da0e1b45070f6800c.woff2 +0 -1
  269. package/dist/fonts/Alliance-NeueRegular.346720b42d66deed0e7864c026ac4db7.woff +0 -1
  270. package/dist/fonts/Alliance-NeueRegular.9e53ee3bcaa8730f79fd6602e063ba37.woff2 +0 -1
  271. package/dist/fonts/Alliance-NeueRegularItalic.75006e9967efb398fdabb1b891bd0662.woff +0 -1
  272. package/dist/fonts/Alliance-NeueRegularItalic.cf4653fd61156cdf12593439702b505b.woff2 +0 -1
  273. package/dist/fonts/Alliance-NeueSemiBold.23ef58d677dc1a87367b983f2a1615ca.woff +0 -1
  274. package/dist/fonts/Alliance-NeueSemiBold.e3134caa7f12179d56a7b8cbc366ab53.woff2 +0 -1
  275. package/dist/fonts/Alliance-NeueSemiBoldItalic.318b318f601637b94a7d47b487583225.woff2 +0 -1
  276. package/dist/fonts/Alliance-NeueSemiBoldItalic.6d99e64150789fd5e65ac98876564cd7.woff +0 -1
  277. package/dist/fonts/Alliance-PlattBlack.24515b6b495d6e088eab43b83b5f53da.woff +0 -1
  278. package/dist/fonts/Alliance-PlattBlack.fedf51c1aa1ec0093d2abe4bf62861c0.woff2 +0 -1
  279. package/dist/fonts/Alliance-PlattBold.64bf49a72df1e3891a0ad2b3cb4e5474.woff +0 -1
  280. package/dist/fonts/Alliance-PlattBold.6a2801d9ab5eab9dfd410a9a7d1e090d.woff2 +0 -1
  281. package/dist/fonts/Alliance-PlattExtraBold.31136655400a915e357400fdf6b078c6.woff2 +0 -1
  282. package/dist/fonts/Alliance-PlattExtraBold.4a87edc0a690f2cbd1401a63f3dea7ab.woff +0 -1
  283. package/dist/fonts/Alliance-PlattLight.690858eafc528a06bf5eda5dcc7900d2.woff +0 -1
  284. package/dist/fonts/Alliance-PlattLight.cf6ec141b53f807d6810e7c498f1d96e.woff2 +0 -1
  285. package/dist/fonts/Alliance-PlattMedium.7aac8ca74e0acd9be37fc902c5d4babd.woff2 +0 -1
  286. package/dist/fonts/Alliance-PlattMedium.e4a2d0d129128454af037a833551bb60.woff +0 -1
  287. package/dist/fonts/Alliance-PlattRegular.6af87dc403719e993c52aec8fa312b71.woff2 +0 -1
  288. package/dist/fonts/Alliance-PlattRegular.7e45b38b4b11450c7f1a56395dadf926.woff +0 -1
  289. package/dist/fonts/Alliance-PlattSemiBold.2f85b1819e3c6c2fd2a4f0baef97bede.woff2 +0 -1
  290. package/dist/fonts/Alliance-PlattSemiBold.610ebffbf604ea718f2441831353bd51.woff +0 -1
  291. package/dist/fonts/Alliance-TextBlack.90bd88eede54e46a9d811d1b8182d7af.woff +0 -1
  292. package/dist/fonts/Alliance-TextBlack.c06a65cf54fec9f5cc67d2b7dca82ce2.woff2 +0 -1
  293. package/dist/fonts/Alliance-TextBlackItalic.599dbb8ec28f6da4deb3ce7913e5f7f9.woff +0 -1
  294. package/dist/fonts/Alliance-TextBlackItalic.c448c5849f817bcf250a85c15802fd6f.woff2 +0 -1
  295. package/dist/fonts/Alliance-TextBold.0c6f0bb74d778e30051a983c071583bc.woff +0 -1
  296. package/dist/fonts/Alliance-TextBold.12d1680f5d22b5e8f1b851695444d31d.woff2 +0 -1
  297. package/dist/fonts/Alliance-TextBoldItalic.984801af03f8840991ed2932d9a4c2a2.woff2 +0 -1
  298. package/dist/fonts/Alliance-TextBoldItalic.e28b0f147377a5894123a5271fdc9af9.woff +0 -1
  299. package/dist/fonts/Alliance-TextExtraBold.6ba126ea38065b576cdd9f399b80643b.woff2 +0 -1
  300. package/dist/fonts/Alliance-TextExtraBold.8afab8df5a53b6b103afc05695d933c5.woff +0 -1
  301. package/dist/fonts/Alliance-TextExtraBoldItalic.25a229f8ba1981dfd99434d70019c44d.woff2 +0 -1
  302. package/dist/fonts/Alliance-TextExtraBoldItalic.f4486f5def1f6005a4276d9f2b859588.woff +0 -1
  303. package/dist/fonts/Alliance-TextLight.451bf0d6f8387b8e53a937817c7cf43f.woff +0 -1
  304. package/dist/fonts/Alliance-TextLight.719755f0df1b16bef8098f3aa5e10707.woff2 +0 -1
  305. package/dist/fonts/Alliance-TextLightItalic.21da52c8f0382e71d9dfde2f2b3a58c1.woff2 +0 -1
  306. package/dist/fonts/Alliance-TextLightItalic.75d2bff2c904dc017e6c05aeb42f6192.woff +0 -1
  307. package/dist/icons/Lines.js +0 -3
  308. package/dist/icons/Lines.js.LICENSE.txt +0 -8
  309. package/dist/icons/Lines.js.map +0 -1
  310. package/dist/icons/Notifications.js +0 -3
  311. package/dist/icons/Notifications.js.LICENSE.txt +0 -8
  312. package/dist/icons/Notifications.js.map +0 -1
  313. package/dist/icons/Update.js +0 -3
  314. package/dist/icons/Update.js.LICENSE.txt +0 -8
  315. package/dist/icons/Update.js.map +0 -1
  316. package/dist/images/5cf0119910166fb74bc03b63b0b0ce5e.png +0 -1
  317. package/dist/images/f983ea46ffaf2444f5381f222fb8b090.png +0 -1
  318. package/dist/images/faac24eb82dc03336fb46c0cbe81893d.png +0 -1
  319. package/dist/mocked_classnames_esm/components/Grid/Grid.d.ts +0 -16
  320. package/dist/mocked_classnames_esm/components/Grid/Grid.d.ts.map +0 -1
  321. package/dist/mocked_classnames_esm/components/Grid/index.d.ts +0 -2
  322. package/dist/mocked_classnames_esm/components/Grid/index.d.ts.map +0 -1
  323. package/dist/mocked_classnames_esm/components/Icon/Icons/components/Lines.d.ts +0 -7
  324. package/dist/mocked_classnames_esm/components/Icon/Icons/components/Lines.d.ts.map +0 -1
  325. package/dist/mocked_classnames_esm/components/Icon/Icons/components/Notifications.d.ts +0 -7
  326. package/dist/mocked_classnames_esm/components/Icon/Icons/components/Notifications.d.ts.map +0 -1
  327. package/dist/mocked_classnames_esm/components/Icon/Icons/components/Update.d.ts +0 -7
  328. package/dist/mocked_classnames_esm/components/Icon/Icons/components/Update.d.ts.map +0 -1
  329. package/dist/mocked_classnames_esm/src/components/Grid/Grid.js +0 -2
  330. package/dist/mocked_classnames_esm/src/components/Grid/Grid.js.map +0 -1
  331. package/dist/mocked_classnames_esm/src/components/Icon/Icons/components/Lines.js +0 -2
  332. package/dist/mocked_classnames_esm/src/components/Icon/Icons/components/Lines.js.map +0 -1
  333. package/dist/mocked_classnames_esm/src/components/Icon/Icons/components/Notifications.js +0 -2
  334. package/dist/mocked_classnames_esm/src/components/Icon/Icons/components/Notifications.js.map +0 -1
  335. package/dist/mocked_classnames_esm/src/components/Icon/Icons/components/Update.js +0 -2
  336. package/dist/mocked_classnames_esm/src/components/Icon/Icons/components/Update.js.map +0 -1
  337. package/dist/types/components/Grid/Grid.d.ts +0 -16
  338. package/dist/types/components/Grid/Grid.d.ts.map +0 -1
  339. package/dist/types/components/Grid/index.d.ts +0 -2
  340. package/dist/types/components/Grid/index.d.ts.map +0 -1
  341. package/dist/types/components/Icon/Icons/components/Lines.d.ts +0 -7
  342. package/dist/types/components/Icon/Icons/components/Lines.d.ts.map +0 -1
  343. package/dist/types/components/Icon/Icons/components/Notifications.d.ts +0 -7
  344. package/dist/types/components/Icon/Icons/components/Notifications.d.ts.map +0 -1
  345. package/dist/types/components/Icon/Icons/components/Update.d.ts +0 -7
  346. package/dist/types/components/Icon/Icons/components/Update.d.ts.map +0 -1
@@ -181,9 +181,9 @@ const Toast = ({ index = 0, totalToasts = 1, open = false, loading = false, auto
181
181
  return () => clearTimeout(timer);
182
182
  }, []);
183
183
  const scaleStyle = isScaling ? { transform: 'scale(1)', transition: 'transform 0.3s ease-out' } : {};
184
- return ((0, jsx_runtime_1.jsx)("div", Object.assign({ ref: toastRef, className: classNames, style: Object.assign(Object.assign({}, toastStyle), scaleStyle), role: "alert", "aria-live": "polite" }, { children: (0, jsx_runtime_1.jsxs)(Flex_1.default, Object.assign({ align: Flex_1.default.align.CENTER, justify: Flex_1.default.justify.START, gap: Flex_1.default.gaps.MEDIUM, className: (0, classnames_1.default)(Toast_module_scss_1.default.toastContent, {
184
+ return ((0, jsx_runtime_1.jsx)("div", Object.assign({ ref: toastRef, className: (0, classnames_1.default)(Toast_module_scss_1.default.toast, classNames), style: Object.assign(Object.assign({}, toastStyle), scaleStyle), role: "alert", "aria-live": "polite" }, { children: (0, jsx_runtime_1.jsxs)(Flex_1.default, Object.assign({ align: Flex_1.default.align.CENTER, justify: Flex_1.default.justify.START, gap: Flex_1.default.gaps.MEDIUM, className: (0, classnames_1.default)(Toast_module_scss_1.default.toastContent, {
185
185
  [Toast_module_scss_1.default.noLeftIcon]: hideIcon || (!icon && !(0, ToastHelpers_1.getIcon)(type, null))
186
- }), style: scaleStyle }, { children: [iconElement && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: (0, classnames_1.default)(Toast_module_scss_1.default.icon, Toast_module_scss_1.default.iconAnimation), style: scaleStyle }, { children: iconElement }))), (0, jsx_runtime_1.jsxs)(Flex_1.default, Object.assign({ direction: Flex_1.default.directions.COLUMN, justify: Flex_1.default.justify.START, align: Flex_1.default.align.START, className: Toast_module_scss_1.default.textContent, style: scaleStyle }, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: Toast_module_scss_1.default.textWrapper, ref: textRef, style: scaleStyle }, { children: (0, jsx_runtime_1.jsx)(Text_1.default, Object.assign({ type: Text_1.default.types.TEXT1, color: Text_1.default.colors.PRIMARY }, { children: clampedText })) })), description && ((0, jsx_runtime_1.jsx)(Text_1.default, Object.assign({ type: Text_1.default.types.TEXT2, color: Text_1.default.colors.SECONDARY, style: scaleStyle }, { children: description })))] })), toastLinks, (toastButtons || deprecatedAction) && ((0, jsx_runtime_1.jsx)(Flex_1.default, Object.assign({ className: Toast_module_scss_1.default.actions }, { children: toastButtons || deprecatedAction }))), loading && (0, jsx_runtime_1.jsx)(Loader_1.default, { size: Loader_1.default.sizes.XS }), closeable && ((0, jsx_runtime_1.jsx)(IconButton_1.default, { className: Toast_module_scss_1.default.closeButton, onClick: handleClose, size: Button_1.default.sizes.SMALL, kind: Button_1.default.kinds.TERTIARY, ariaLabel: closeButtonAriaLabel, icon: Close_1.default, hideTooltip: true, iconSize: 15 }))] })) })));
186
+ }) }, { children: [iconElement && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: (0, classnames_1.default)(Toast_module_scss_1.default.icon, Toast_module_scss_1.default.iconAnimation), style: scaleStyle }, { children: iconElement }))), (0, jsx_runtime_1.jsxs)(Flex_1.default, Object.assign({ direction: Flex_1.default.directions.COLUMN, justify: Flex_1.default.justify.START, align: Flex_1.default.align.START, className: Toast_module_scss_1.default.textContent }, { children: [(0, jsx_runtime_1.jsx)(Text_1.default, Object.assign({ type: Text_1.default.types.TEXT1, color: Text_1.default.colors.PRIMARY, className: Toast_module_scss_1.default.toastText, style: { whiteSpace: "normal" } }, { children: children })), description && ((0, jsx_runtime_1.jsx)(Text_1.default, Object.assign({ type: Text_1.default.types.TEXT2, color: Text_1.default.colors.SECONDARY, className: Toast_module_scss_1.default.toastDescription, style: { whiteSpace: "normal" } }, { children: description })))] })), toastLinks, (toastButtons || deprecatedAction) && ((0, jsx_runtime_1.jsx)(Flex_1.default, Object.assign({ className: Toast_module_scss_1.default.actions }, { children: toastButtons || deprecatedAction }))), loading && (0, jsx_runtime_1.jsx)(Loader_1.default, { size: Loader_1.default.sizes.XS }), closeable && ((0, jsx_runtime_1.jsx)(IconButton_1.default, { className: Toast_module_scss_1.default.closeButton, onClick: handleClose, size: Button_1.default.sizes.SMALL, kind: Button_1.default.kinds.TERTIARY, ariaLabel: closeButtonAriaLabel, icon: Close_1.default, hideTooltip: true, iconSize: 15 }))] })) })));
187
187
  };
188
188
  exports.Toast = Toast;
189
189
  const ToastWithProps = (0, types_1.withStaticProps)(Toast, {
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.js","sourceRoot":"","sources":["../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,CACrC,uBAAC,cAAI,kBAAC,SAAS,EAAE,2BAAM,CAAC,OAAO,gBAC5B,YAAY,IAAI,gBAAgB,IAC5B,CACR,EACA,OAAO,IAAI,uBAAC,gBAAM,IAAC,IAAI,EAAE,gBAAM,CAAC,KAAK,CAAC,EAAE,GAAI,EAC5C,SAAS,IAAI,CACZ,uBAAC,oBAAU,IACT,SAAS,EAAE,2BAAM,CAAC,WAAW,EAC7B,OAAO,EAAE,WAAW,EACpB,IAAI,EAAE,gBAAM,CAAC,KAAK,CAAC,KAAK,EACxB,IAAI,EAAE,gBAAM,CAAC,KAAK,CAAC,QAAQ,EAC3B,SAAS,EAAE,oBAAoB,EAC/B,IAAI,EAAE,eAAU,EAChB,WAAW,QACX,QAAQ,EAAE,EAAE,GACZ,CACH,KACI,IACH,CACP,CAAC;AACJ,CAAC,CAAC;AASO,sBAAK;AAPd,MAAM,cAAc,GAAG,IAAA,uBAAe,EAAC,KAAK,EAAE;IAC5C,KAAK,EAAE,0BAAS;IAChB,SAAS,EAAE,+BAAc;IACzB,WAAW,EAAE,gCAAe;CAC7B,CAAC,CAAC;AAEH,kBAAe,cAAc,CAAC"}
@@ -11,7 +11,7 @@ const Heading_1 = __importDefault(require("../Heading/Heading"));
11
11
  const IconConstants_1 = require("../Icon/IconConstants");
12
12
  const WorkflowList_module_scss_1 = __importDefault(require("./WorkflowList.module.scss"));
13
13
  const WorkflowList = ({ workflowItems, onStepClick }) => {
14
- return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: WorkflowList_module_scss_1.default.workflowListContainer }, { children: [(0, jsx_runtime_1.jsx)("div", { className: WorkflowList_module_scss_1.default.verticalLine }), workflowItems.map((item) => ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: WorkflowList_module_scss_1.default.workflowItem }, { children: item.isActive ? ((0, jsx_runtime_1.jsx)(WorkflowCard_1.default, { backgroundColor: item.backgroundColor || Box_1.default.backgroundColors.Success, title: item.title, titleColor: item.titleColor || Heading_1.default.colors.SUCCESS, showIcon: item.showIcon, iconType: IconConstants_1.IconType.PATH, iconPath: item.iconPath || "ic_view_double_16", showSubheader: true, subheaderText: item.subText, actionButtons: item.actionButtons, currentStep: item.currentStep || 1, totalSteps: item.totalSteps || 1, showReviewers: item.showReviewers, reviewers: item.reviewers, hideStepIndicator: true, onStepClick: () => onStepClick && onStepClick(item.id), padding: Box_1.default.paddings.MEDIUM, isActive: item.isActive })) : ((0, jsx_runtime_1.jsx)(WorkflowStep_1.default, { count: item.count, title: item.title, iconPath: item.iconPath, subText: item.subText, showReviewers: item.showReviewers, reviewers: item.reviewers })) }), item.id)))] })));
14
+ return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: WorkflowList_module_scss_1.default.workflowListContainer }, { children: [(0, jsx_runtime_1.jsx)("div", { className: WorkflowList_module_scss_1.default.verticalLine }), workflowItems.map((item) => ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: WorkflowList_module_scss_1.default.workflowItem }, { children: item.isActive ? ((0, jsx_runtime_1.jsx)(WorkflowCard_1.default, { backgroundColor: item.backgroundColor || Box_1.default.backgroundColors.Success, title: item.title, titleColor: item.titleColor || Heading_1.default.colors.SUCCESS, showIcon: item.showIcon, iconType: IconConstants_1.IconType.PATH, iconPath: item.iconPath || "ic_view_double_16", useCurrentColor: true, showSubheader: true, subheaderText: item.subText, actionButtons: item.actionButtons, currentStep: item.currentStep || 1, totalSteps: item.totalSteps || 1, showReviewers: item.showReviewers, reviewers: item.reviewers, hideStepIndicator: true, onStepClick: () => onStepClick && onStepClick(item.id), padding: Box_1.default.paddings.MEDIUM, isActive: item.isActive })) : ((0, jsx_runtime_1.jsx)(WorkflowStep_1.default, { count: item.count, title: item.title, iconPath: item.iconPath, subText: item.subText, showReviewers: item.showReviewers, reviewers: item.reviewers })) }), item.id)))] })));
15
15
  };
16
16
  exports.default = WorkflowList;
17
17
  //# sourceMappingURL=WorkflowList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WorkflowList.js","sourceRoot":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AAG,MAAM,KAAK,IAAI,CAAC;CAC7C;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA2C7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,2 +1,2 @@
1
- var n={panelHeaderStyled:"panelHeaderStyled_1971ceb9f0",panelHeaderInner:"panelHeaderInner_3d3383ecfd",backgroundStyled:"backgroundStyled_c34503e947","overlay-fade-in":"overlay-fade-in_324f3516b0",textStyled:"textStyled_67da43a58f",headerTextStyled:"headerTextStyled_61ef10a774",leftContent:"leftContent_39c5e36ff5",rightContent:"rightContent_39c5e36ff5",headerDivider:"headerDivider_e8e7242910",containerStyled:"containerStyled_3f63313cff",panelMenuStyled:"panelMenuStyled_d070154e53",innerStyled:"innerStyled_f600f00ff0",CloseLayerStyled:"CloseLayerStyled_afb9324f81",panelFooterStyled:"panelFooterStyled_6e1e080369"};!function(n){if("undefined"==typeof document)return;const e=document.head||document.getElementsByTagName("head")[0],t="s_id-e2d85b7a493d_0_0_320";if(e.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,e.firstChild?e.insertBefore(i,e.firstChild):e.appendChild(i),i.appendChild(document.createTextNode(n))}('.panelHeaderStyled_1971ceb9f0 {\n padding: 0 8px;\n}\n\n.panelHeaderInner_3d3383ecfd {\n position: sticky;\n top: 0;\n right: 0;\n left: 0;\n display: flex;\n width: 100%;\n z-index: 1;\n flex-wrap: nowrap;\n align-items: center;\n background-color: var(--surface-level-100);\n line-height: 1.5em;\n padding: 0.5rem 0;\n margin: 0 auto;\n box-sizing: border-box;\n}\n\n.backgroundStyled_c34503e947 {\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n position: fixed;\n background-color: var(--surface-overlay);\n animation: overlay-fade-in_324f3516b0 70ms var(--motion-timing-enter);\n transition: all 0.26s ease-in-out;\n z-index: 7000;\n}\n\n.textStyled_67da43a58f {\n font-weight: 400;\n line-height: 1.5em;\n padding: 1rem 0;\n margin-bottom: 0;\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.headerTextStyled_61ef10a774 {\n font-size: 15px;\n font-style: normal;\n font-weight: 600;\n line-height: 22px;\n font-weight: "500";\n text-transform: "capitalize";\n}\n\n.leftContent_39c5e36ff5 {\n display: flex;\n align-items: center;\n}\n\n.rightContent_39c5e36ff5 {\n display: flex;\n align-items: center;\n}\n\n.headerDivider_e8e7242910 {\n height: 1px;\n background-color: var(--divider-color);\n margin-top: 8px;\n}\n\n.containerStyled_3f63313cff {\n padding: 0 8px;\n flex: 1;\n}\n\n.panelMenuStyled_d070154e53 {\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n position: fixed;\n will-change: transform;\n transition: all 0.26s ease-in-out;\n z-index: 100;\n display: flex;\n}\n\n.innerStyled_f600f00ff0 {\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n background-color: var(--surface-level-100);\n box-shadow: var(--box-shadow-medium);\n max-width: 100%;\n min-width: 380px;\n z-index: 9999;\n}\n\n.CloseLayerStyled_afb9324f81 {\n background-color: transparent;\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n}\n\n.panelFooterStyled_6e1e080369 {\n position: sticky;\n display: flex;\n z-index: 2000;\n bottom: 0;\n right: 0;\n left: 0;\n display: flex;\n background-color: var(--surface-level-100);\n line-height: 1.5em;\n justify-content: space-between;\n padding: 8px 16px;\n align-items: flex-start;\n gap: 8px;\n}');export{n as default};
1
+ var n={panelHeaderStyled:"panelHeaderStyled_1971ceb9f0",panelHeaderInner:"panelHeaderInner_3d3383ecfd",backgroundStyled:"backgroundStyled_c34503e947","overlay-fade-in":"overlay-fade-in_324f3516b0",textStyled:"textStyled_67da43a58f",headerTextStyled:"headerTextStyled_61ef10a774",leftContent:"leftContent_39c5e36ff5",rightContent:"rightContent_39c5e36ff5",headerDivider:"headerDivider_e8e7242910",containerStyled:"containerStyled_3f63313cff",panelMenuStyled:"panelMenuStyled_ccd372cec8",innerStyled:"innerStyled_f600f00ff0",CloseLayerStyled:"CloseLayerStyled_afb9324f81",panelFooterStyled:"panelFooterStyled_6e1e080369"};!function(n){if("undefined"==typeof document)return;const e=document.head||document.getElementsByTagName("head")[0],t="s_id-eff5cdb2d08b_0_0_320";if(e.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,e.firstChild?e.insertBefore(i,e.firstChild):e.appendChild(i),i.appendChild(document.createTextNode(n))}('.panelHeaderStyled_1971ceb9f0 {\n padding: 0 8px;\n}\n\n.panelHeaderInner_3d3383ecfd {\n position: sticky;\n top: 0;\n right: 0;\n left: 0;\n display: flex;\n width: 100%;\n z-index: 1;\n flex-wrap: nowrap;\n align-items: center;\n background-color: var(--surface-level-100);\n line-height: 1.5em;\n padding: 0.5rem 0;\n margin: 0 auto;\n box-sizing: border-box;\n}\n\n.backgroundStyled_c34503e947 {\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n position: fixed;\n background-color: var(--surface-overlay);\n animation: overlay-fade-in_324f3516b0 70ms var(--motion-timing-enter);\n transition: all 0.26s ease-in-out;\n z-index: 7000;\n}\n\n.textStyled_67da43a58f {\n font-weight: 400;\n line-height: 1.5em;\n padding: 1rem 0;\n margin-bottom: 0;\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.headerTextStyled_61ef10a774 {\n font-size: 15px;\n font-style: normal;\n font-weight: 600;\n line-height: 22px;\n font-weight: "500";\n text-transform: "capitalize";\n}\n\n.leftContent_39c5e36ff5 {\n display: flex;\n align-items: center;\n}\n\n.rightContent_39c5e36ff5 {\n display: flex;\n align-items: center;\n}\n\n.headerDivider_e8e7242910 {\n height: 1px;\n background-color: var(--divider-color);\n margin-top: 8px;\n}\n\n.containerStyled_3f63313cff {\n padding: 0 8px;\n flex: 1;\n}\n\n.panelMenuStyled_ccd372cec8 {\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n position: fixed;\n will-change: transform;\n transition: all 0.26s ease-in-out;\n z-index: 9999;\n display: flex;\n}\n\n.innerStyled_f600f00ff0 {\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n background-color: var(--surface-level-100);\n box-shadow: var(--box-shadow-medium);\n max-width: 100%;\n min-width: 380px;\n z-index: 9999;\n}\n\n.CloseLayerStyled_afb9324f81 {\n background-color: transparent;\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n}\n\n.panelFooterStyled_6e1e080369 {\n position: sticky;\n display: flex;\n z-index: 2000;\n bottom: 0;\n right: 0;\n left: 0;\n display: flex;\n background-color: var(--surface-level-100);\n line-height: 1.5em;\n justify-content: space-between;\n padding: 8px 16px;\n align-items: flex-start;\n gap: 8px;\n}');export{n as default};
2
2
  //# sourceMappingURL=Panel.module.scss.js.map
@@ -1,2 +1,2 @@
1
- import{defineProperty as t,slicedToArray as o}from"../../../_virtual/_rollupPluginBabelHelpers.js";import{__rest as e}from"../../../_virtual/_tslib.js";import{jsx as n,jsxs as i}from"@emotion/react/jsx-runtime";import{camelCase as r}from"lodash-es";import s from"classnames";import{useMemo as a,useCallback as c,useEffect as l,useRef as u,useState as m}from"react";import"react-transition-group";import p from"../Button/Button.js";import f from"../Text/Text.js";import d from"../Loader/Loader.js";import v from"../Flex/Flex.js";import T from"../Icon/Icons/components/Close.js";import j from"./ToastLink/ToastLink.js";import y from"./ToastButton/ToastButton.js";import{ToastType as g,ToastPositions as h,ToastActionType as b}from"./ToastConstants.js";import{getIcon as N}from"./ToastHelpers.js";import{NOOP as O}from"../../utils/function-utils.js";import{getStyle as L}from"../../helpers/typesciptCssModulesHelper.js";import{withStaticProps as C}from"../../types/withStaticProps.js";import x from"../IconButton/IconButton.js";import A from"./Toast.module.scss.js";var B=function(C){var B=C.index,R=void 0===B?0:B,I=C.totalToasts,E=void 0===I?1:I,S=C.open,k=void 0!==S&&S,z=C.loading,M=void 0!==z&&z,H=C.autoHideDuration,w=void 0===H?null:H,P=C.type,_=void 0===P?g.NORMAL:P,D=C.icon,F=C.hideIcon,U=void 0!==F&&F,X=C.action,Y=C.actions,K=C.children,W=C.closeable,q=void 0===W||W,G=C.onClose,J=void 0===G?O:G,Q=C.className,V=C.closeButtonAriaLabel,Z=void 0===V?"Close":V,$=C.description,tt=void 0===$?"":$,ot=C.position,et=void 0===ot?h.TopRight:ot,nt=a((function(){return Y?Y.filter((function(t){return t.type===b.LINK})).map((function(t){var o=e(t,["type"]);return n(j,Object.assign({className:A.actionLink},o),o.href)})):null}),[Y]);s(A.toast,Q,t({},A.stacked,E>1));var it=a((function(){return Y?Y.filter((function(t){return t.type===b.BUTTON})).map((function(t,o){var i=t.content,r=e(t,["type","content"]);return n(y,Object.assign({className:A.actionButton},r,{children:i}),"alert-button-".concat(o))})):null}),[Y]),rt=a((function(){return s(A.toast,L(A,r("type-"+_)),Q)}),[_,Q]),st=c((function(){J&&J()}),[J]);l((function(){if(k&&w>0){var t=setTimeout((function(){st()}),w);return function(){return clearTimeout(t)}}}),[k,w,st]);var at=u(),ct=c((function(t){J&&null!=t&&(clearTimeout(at.current),at.current=setTimeout((function(){st()}),t))}),[st,J]);l((function(){return k&&w>0&&ct(w),function(){clearTimeout(at.current)}}),[k,w,ct]);var lt=!U&&N(_,D),ut=a((function(){return t({},et.includes("Top")?"top":"bottom","".concat(72*R,"px"))}),[R,et]),mt=m(!1),pt=(o(mt,2),u(null)),ft=m(K),dt=o(ft,2),vt=dt[0],Tt=dt[1];l((function(){var t=function(){var t=pt.current;if(t){var o=2*parseFloat(getComputedStyle(t).lineHeight),e=(""+K).split(" "),n="";t.style.height="auto";for(var i=0;e.length>i;i++){var r=n+(n?" ":"")+e[i];if(t.textContent=r,t.offsetHeight>o){n=n.trim()+"...";break}n=r}Tt(n)}};return t(),window.addEventListener("resize",t),function(){return window.removeEventListener("resize",t)}}),[K]);var jt=m(!0),yt=o(jt,2),gt=yt[0],ht=yt[1],bt=u(null);l((function(){ht(!0);var t=setTimeout((function(){return ht(!1)}),300);return function(){return clearTimeout(t)}}),[]);var Nt=gt?{transform:"scale(1)",transition:"transform 0.3s ease-out"}:{};return n("div",Object.assign({ref:bt,className:rt,style:Object.assign(Object.assign({},ut),Nt),role:"alert","aria-live":"polite"},{children:i(v,Object.assign({align:v.align.CENTER,justify:v.justify.START,gap:v.gaps.MEDIUM,className:s(A.toastContent,t({},A.noLeftIcon,U||!D&&!N(_,null))),style:Nt},{children:[lt&&n("div",Object.assign({className:s(A.icon,A.iconAnimation),style:Nt},{children:lt})),i(v,Object.assign({direction:v.directions.COLUMN,justify:v.justify.START,align:v.align.START,className:A.textContent,style:Nt},{children:[n("div",Object.assign({className:A.textWrapper,ref:pt,style:Nt},{children:n(f,Object.assign({type:f.types.TEXT1,color:f.colors.PRIMARY},{children:vt}))})),tt&&n(f,Object.assign({type:f.types.TEXT2,color:f.colors.SECONDARY,style:Nt},{children:tt}))]})),nt,(it||X)&&n(v,Object.assign({className:A.actions},{children:it||X})),M&&n(d,{size:d.sizes.XS}),q&&n(x,{className:A.closeButton,onClick:st,size:p.sizes.SMALL,kind:p.kinds.TERTIARY,ariaLabel:Z,icon:T,hideTooltip:!0,iconSize:15})]}))}))},R=C(B,{types:g,positions:h,actionTypes:b});export{B as Toast,R as default};
1
+ import{defineProperty as t,slicedToArray as o}from"../../../_virtual/_rollupPluginBabelHelpers.js";import{__rest as e}from"../../../_virtual/_tslib.js";import{jsx as n,jsxs as i}from"@emotion/react/jsx-runtime";import{camelCase as r}from"lodash-es";import s from"classnames";import{useMemo as a,useCallback as c,useEffect as l,useRef as u,useState as m}from"react";import"react-transition-group";import p from"../Button/Button.js";import f from"../Text/Text.js";import d from"../Loader/Loader.js";import T from"../Flex/Flex.js";import v from"../Icon/Icons/components/Close.js";import j from"./ToastLink/ToastLink.js";import g from"./ToastButton/ToastButton.js";import{ToastType as y,ToastPositions as h,ToastActionType as b}from"./ToastConstants.js";import{getIcon as N}from"./ToastHelpers.js";import{NOOP as L}from"../../utils/function-utils.js";import{getStyle as O}from"../../helpers/typesciptCssModulesHelper.js";import{withStaticProps as C}from"../../types/withStaticProps.js";import x from"../IconButton/IconButton.js";import A from"./Toast.module.scss.js";var B=function(C){var B=C.index,R=void 0===B?0:B,S=C.totalToasts,I=void 0===S?1:S,E=C.open,k=void 0!==E&&E,w=C.loading,z=void 0!==w&&w,M=C.autoHideDuration,H=void 0===M?null:M,D=C.type,P=void 0===D?y.NORMAL:D,_=C.icon,F=C.hideIcon,U=void 0!==F&&F,X=C.action,Y=C.actions,K=C.children,q=C.closeable,G=void 0===q||q,J=C.onClose,Q=void 0===J?L:J,V=C.className,W=C.closeButtonAriaLabel,Z=void 0===W?"Close":W,$=C.description,tt=void 0===$?"":$,ot=C.position,et=void 0===ot?h.TopRight:ot,nt=a((function(){return Y?Y.filter((function(t){return t.type===b.LINK})).map((function(t){var o=e(t,["type"]);return n(j,Object.assign({className:A.actionLink},o),o.href)})):null}),[Y]);s(A.toast,V,t({},A.stacked,I>1));var it=a((function(){return Y?Y.filter((function(t){return t.type===b.BUTTON})).map((function(t,o){var i=t.content,r=e(t,["type","content"]);return n(g,Object.assign({className:A.actionButton},r,{children:i}),"alert-button-".concat(o))})):null}),[Y]),rt=a((function(){return s(A.toast,O(A,r("type-"+P)),V)}),[P,V]),st=c((function(){Q&&Q()}),[Q]);l((function(){if(k&&H>0){var t=setTimeout((function(){st()}),H);return function(){return clearTimeout(t)}}}),[k,H,st]);var at=u(),ct=c((function(t){Q&&null!=t&&(clearTimeout(at.current),at.current=setTimeout((function(){st()}),t))}),[st,Q]);l((function(){return k&&H>0&&ct(H),function(){clearTimeout(at.current)}}),[k,H,ct]);var lt=!U&&N(P,_),ut=a((function(){return t({},et.includes("Top")?"top":"bottom","".concat(72*R,"px"))}),[R,et]),mt=m(!1),pt=(o(mt,2),u(null)),ft=m(K),dt=o(ft,2),Tt=dt[1];l((function(){var t=function(){var t=pt.current;if(t){var o=2*parseFloat(getComputedStyle(t).lineHeight),e=(""+K).split(" "),n="";t.style.height="auto";for(var i=0;e.length>i;i++){var r=n+(n?" ":"")+e[i];if(t.textContent=r,t.offsetHeight>o){n=n.trim()+"...";break}n=r}Tt(n)}};return t(),window.addEventListener("resize",t),function(){return window.removeEventListener("resize",t)}}),[K]);var vt=m(!0),jt=o(vt,2),gt=jt[0],yt=jt[1],ht=u(null);l((function(){yt(!0);var t=setTimeout((function(){return yt(!1)}),300);return function(){return clearTimeout(t)}}),[]);var bt=gt?{transform:"scale(1)",transition:"transform 0.3s ease-out"}:{};return n("div",Object.assign({ref:ht,className:s(A.toast,rt),style:Object.assign(Object.assign({},ut),bt),role:"alert","aria-live":"polite"},{children:i(T,Object.assign({align:T.align.CENTER,justify:T.justify.START,gap:T.gaps.MEDIUM,className:s(A.toastContent,t({},A.noLeftIcon,U||!_&&!N(P,null)))},{children:[lt&&n("div",Object.assign({className:s(A.icon,A.iconAnimation),style:bt},{children:lt})),i(T,Object.assign({direction:T.directions.COLUMN,justify:T.justify.START,align:T.align.START,className:A.textContent},{children:[n(f,Object.assign({type:f.types.TEXT1,color:f.colors.PRIMARY,className:A.toastText,style:{whiteSpace:"normal"}},{children:K})),tt&&n(f,Object.assign({type:f.types.TEXT2,color:f.colors.SECONDARY,className:A.toastDescription,style:{whiteSpace:"normal"}},{children:tt}))]})),nt,(it||X)&&n(T,Object.assign({className:A.actions},{children:it||X})),z&&n(d,{size:d.sizes.XS}),G&&n(x,{className:A.closeButton,onClick:st,size:p.sizes.SMALL,kind:p.kinds.TERTIARY,ariaLabel:Z,icon:v,hideTooltip:!0,iconSize:15})]}))}))},R=C(B,{types:y,positions:h,actionTypes:b});export{B as Toast,R as default};
2
2
  //# sourceMappingURL=Toast.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.js","sources":["../../../../../src/components/Toast/Toast.tsx"],"sourcesContent":["import { camelCase } from \"lodash-es\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport cx from \"classnames\";\nimport React, {\n FC,\n ReactNode,\n ReactElement,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport { CSSTransition, TransitionGroup } from \"react-transition-group\";\nimport Button from \"../../components/Button/Button\";\nimport Icon, { IconSubComponentProps } from \"../Icon/Icon\";\nimport Text from \"../Text/Text\";\nimport Loader from \"../Loader/Loader\";\nimport Flex from \"../Flex/Flex\";\nimport CloseSmall from \"../Icon/Icons/components/Close\";\nimport ToastLink from \"./ToastLink/ToastLink\";\nimport ToastButton from \"./ToastButton/ToastButton\";\nimport {\n ToastAction,\n ToastActionType,\n ToastType,\n ToastPositions,\n} from \"./ToastConstants\";\nimport { getIcon } from \"./ToastHelpers\";\nimport { NOOP } from \"../../utils/function-utils\";\nimport { getStyle } from \"../../helpers/typesciptCssModulesHelper\";\nimport { withStaticProps, VibeComponentProps } from \"../../types\";\nimport IconButton from \"../IconButton/IconButton\";\nimport DropdownChevronUp from \"../Icon/Icons/components/DropdownChevronUp\";\nimport ProgressRing from \"../ProgressRing/ProgressRing\";\nimport Success from \"../Icon/Icons/components/Success\";\nimport { Warning } from \"../Icon/Icons\";\nimport styles from \"./Toast.module.scss\";\n\nexport interface ToastProps extends VibeComponentProps {\n actions?: ToastAction[];\n /** If true, Toast is open (visible) */\n open?: boolean;\n loading?: boolean;\n type?: ToastType;\n /** Possible to override the default icon */\n icon?: string | React.FC<IconSubComponentProps> | null;\n /** If true, won't show the icon */\n hideIcon?: boolean;\n /** The action to display */\n action?: JSX.Element;\n /** If false, won't show the close button */\n closeable?: boolean;\n onClose?: () => void;\n /** The number of milliseconds to wait before\n * automatically closing the Toast\n * (0 or null cancels this behaviour) */\n autoHideDuration?: number;\n children?: ReactElement | ReactElement[] | string;\n closeButtonAriaLabel?: string;\n description?: string;\n index?: number;\n position?: ToastPositions;\n totalToasts?: number;\n}\n\ninterface ToastContainerProps {\n children: ReactNode;\n position?: ToastPositions;\n}\n\nconst ToastContainer: FC<ToastContainerProps> = ({ children, position = ToastPositions.TopRight }) => {\n const [toasts, setToasts] = useState<React.ReactElement[]>([]);\n\n useEffect(() => {\n const childrenArray = React.Children.toArray(children) as React.ReactElement[];\n setToasts(childrenArray);\n }, [children]);\n\n const containerClassName = cx(\n styles.toastContainer,\n styles[position]\n );\n\n return (\n <div className={containerClassName}>\n <TransitionGroup>\n {toasts.map((toast, index) => \n <CSSTransition\n key={toast.key || index}\n classNames={{\n enter: styles.toastEnter,\n enterActive: styles.toastEnterActive,\n exit: styles.toastExit,\n exitActive: styles.toastExitActive,\n }}\n timeout={{ enter: 400, exit: 400 }}\n >\n {React.cloneElement(toast, { \n index,\n position,\n totalToasts: toasts.length\n })}\n </CSSTransition>\n )}\n </TransitionGroup>\n </div>\n );\n};\n\nconst Toast: FC<ToastProps> & {\n types?: typeof ToastType;\n positions?: typeof ToastPositions;\n actionTypes?: typeof ToastActionType;\n} = ({\n index = 0,\n totalToasts = 1,\n open = false,\n loading = false,\n autoHideDuration = null,\n type = ToastType.NORMAL,\n icon,\n hideIcon = false,\n action: deprecatedAction,\n actions,\n children,\n closeable = true,\n onClose = NOOP,\n className,\n id,\n closeButtonAriaLabel = \"Close\",\n \"data-testid\": dataTestId,\n description = \"\",\n position = ToastPositions.TopRight,\n}) => {\n const toastLinks = useMemo(() => {\n return actions\n ? actions\n .filter((action) => action.type === ToastActionType.LINK)\n .map(({ type: _type, ...otherProps }) => (\n <ToastLink\n key={otherProps.href}\n className={styles.actionLink}\n {...otherProps}\n />\n ))\n : null;\n }, [actions]);\n\n const toastClassName = cx(\n styles.toast,\n className,\n { [styles.stacked]: totalToasts > 1 }\n );\n\n const toastButtons: JSX.Element[] | null = useMemo(() => {\n return actions\n ? actions\n .filter((action) => action.type === ToastActionType.BUTTON)\n .map(({ type: _type, content, ...otherProps }, index) => (\n <ToastButton\n key={`alert-button-${index}`}\n className={styles.actionButton}\n {...otherProps}\n >\n {content}\n </ToastButton>\n ))\n : null;\n }, [actions]);\n\n const classNames = useMemo(\n () =>\n cx(\n styles.toast,\n getStyle(styles, camelCase(\"type-\" + type)),\n className\n ),\n [type, className]\n );\n\n const handleClose = useCallback(() => {\n if (onClose) {\n onClose();\n }\n }, [onClose]);\n\n useEffect(() => {\n if (open && autoHideDuration > 0) {\n const timer = setTimeout(() => {\n handleClose();\n }, autoHideDuration);\n return () => clearTimeout(timer);\n }\n }, [open, autoHideDuration, handleClose]);\n\n /* Timer */\n const timerAutoHide = useRef<NodeJS.Timeout>();\n const setAutoHideTimer = useCallback(\n (duration: number) => {\n if (!onClose || duration == null) {\n return;\n }\n\n clearTimeout(timerAutoHide.current);\n timerAutoHide.current = setTimeout(() => {\n handleClose();\n }, duration);\n },\n [handleClose, onClose]\n );\n\n useEffect(() => {\n if (open && autoHideDuration > 0) {\n setAutoHideTimer(autoHideDuration);\n }\n\n return () => {\n clearTimeout(timerAutoHide.current);\n };\n }, [open, autoHideDuration, setAutoHideTimer]);\n\n const iconElement = !hideIcon && getIcon(type, icon);\n\n const toastStyle = useMemo(() => ({\n [position.includes('Top') ? 'top' : 'bottom']: `${index * (64 + 8)}px`,\n }), [index, position]);\n\n\n const translateY = position === ToastPositions.TopRight\n ? `${index * 110}%`\n : `${-index * 110}%`;\n\n\n const [isExpanded, setIsExpanded] = useState(false);\n\n const toggleExpand = () => {\n setIsExpanded(!isExpanded);\n };\n\n const textRef = useRef<HTMLDivElement>(null);\n const [clampedText, setClampedText] = useState(children);\n\n useEffect(() => {\n const clampText = () => {\n const element = textRef.current;\n if (!element) return;\n\n const maxHeight = parseFloat(getComputedStyle(element).lineHeight) * 2;\n const words = children.toString().split(' ');\n let result = '';\n let currentHeight = 0;\n\n element.style.height = 'auto';\n for (let i = 0; i < words.length; i++) {\n const word = words[i];\n const testString = result + (result ? ' ' : '') + word;\n element.textContent = testString;\n currentHeight = element.offsetHeight;\n\n if (currentHeight <= maxHeight) {\n result = testString;\n } else {\n result = result.trim() + '...';\n break;\n }\n }\n setClampedText(result);\n };\n\n clampText();\n window.addEventListener('resize', clampText);\n return () => window.removeEventListener('resize', clampText);\n }, [children]);\n\n const [isScaling, setIsScaling] = useState(true);\n const toastRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n setIsScaling(true);\n const timer = setTimeout(() => setIsScaling(false), 300); // 300ms matches the animation duration\n return () => clearTimeout(timer);\n }, []);\n\n const scaleStyle = isScaling ? { transform: 'scale(1)', transition: 'transform 0.3s ease-out' } : {};\n\n return (\n <div \n ref={toastRef}\n className={classNames} \n style={{...toastStyle, ...scaleStyle}}\n role=\"alert\" \n aria-live=\"polite\"\n >\n <Flex \n align={Flex.align.CENTER} \n justify={Flex.justify.START} \n gap={Flex.gaps.MEDIUM} \n className={cx(styles.toastContent, {\n [styles.noLeftIcon]: hideIcon || (!icon && !getIcon(type, null))\n })}\n style={scaleStyle}\n >\n {iconElement && (\n <div className={cx(styles.icon, styles.iconAnimation)} style={scaleStyle}>\n {iconElement}\n </div>\n )}\n <Flex \n direction={Flex.directions.COLUMN} \n justify={Flex.justify.START} \n align={Flex.align.START} \n className={styles.textContent}\n style={scaleStyle}\n >\n <div className={styles.textWrapper} ref={textRef} style={scaleStyle}>\n <Text\n type={Text.types.TEXT1}\n color={Text.colors.PRIMARY}\n >\n {clampedText}\n </Text>\n </div>\n {description && (\n <Text type={Text.types.TEXT2} color={Text.colors.SECONDARY} style={scaleStyle}>\n {description}\n </Text>\n )}\n </Flex>\n {toastLinks}\n {(toastButtons || deprecatedAction) && (\n <Flex className={styles.actions}>\n {toastButtons || deprecatedAction}\n </Flex>\n )}\n {loading && <Loader size={Loader.sizes.XS} />}\n {closeable && (\n <IconButton\n className={styles.closeButton}\n onClick={handleClose}\n size={Button.sizes.SMALL}\n kind={Button.kinds.TERTIARY}\n ariaLabel={closeButtonAriaLabel}\n icon={CloseSmall}\n hideTooltip\n iconSize={15}\n />\n )}\n </Flex>\n </div>\n );\n};\n\nconst ToastWithProps = withStaticProps(Toast, {\n types: ToastType,\n positions: ToastPositions,\n actionTypes: ToastActionType\n});\n\nexport default ToastWithProps;\nexport { Toast, ToastContainer };"],"names":["Toast","_ref2","_ref2$index","index","_ref2$totalToasts","totalToasts","_ref2$open","open","_ref2$loading","loading","_ref2$autoHideDuratio","autoHideDuration","_ref2$type","type","ToastType","NORMAL","icon","_ref2$hideIcon","hideIcon","deprecatedAction","action","actions","children","_ref2$closeable","closeable","_ref2$onClose","onClose","NOOP","className","_ref2$closeButtonAria","closeButtonAriaLabel","_ref2$description","description","_ref2$position","position","ToastPositions","TopRight","toastLinks","useMemo","filter","ToastActionType","LINK","map","_a","otherProps","__rest","_jsx","ToastLink","Object","assign","styles","actionLink","href","cx","toast","_defineProperty","stacked","toastButtons","BUTTON","content","ToastButton","actionButton","concat","classNames","getStyle","camelCase","handleClose","useCallback","useEffect","timer","setTimeout","clearTimeout","timerAutoHide","useRef","setAutoHideTimer","duration","current","iconElement","getIcon","toastStyle","includes","_useState3","useState","textRef","_slicedToArray","_useState5","_useState6","clampedText","setClampedText","clampText","element","maxHeight","parseFloat","getComputedStyle","lineHeight","words","split","result","style","height","i","length","testString","textContent","offsetHeight","trim","window","addEventListener","removeEventListener","_useState7","_useState8","isScaling","setIsScaling","toastRef","scaleStyle","transform","transition","ref","role","_jsxs","Flex","align","CENTER","justify","START","gap","gaps","MEDIUM","toastContent","noLeftIcon","iconAnimation","direction","directions","COLUMN","textWrapper","Text","types","TEXT1","color","colors","PRIMARY","TEXT2","SECONDARY","Loader","size","sizes","XS","IconButton","closeButton","onClick","Button","SMALL","kind","kinds","TERTIARY","ariaLabel","CloseSmall","hideTooltip","iconSize","ToastWithProps","withStaticProps","positions","actionTypes"],"mappings":"uiCA8GA,IAAMA,EAIF,SAJOC,GAwBN,IAAAC,EAAAD,EAnBHE,MAAAA,OAAQ,IAAHD,EAAG,EAACA,EAAAE,EAAAH,EACTI,YAAAA,OAAc,IAAHD,EAAG,EAACA,EAAAE,EAAAL,EACfM,KAAAA,OAAO,IAAHD,GAAQA,EAAAE,EAAAP,EACZQ,QAAAA,OAAU,IAAHD,GAAQA,EAAAE,EAAAT,EACfU,iBAAAA,OAA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uD,MAGL0C,EAACC,EAAIxE,OAAAC,OAAA,CACHkF,UAAWX,EAAKY,WAAWC,OAC3BV,QAASH,EAAKG,QAAQC,MACtBH,MAAOD,EAAKC,MAAMG,MAClBhG,UAAWsB,EAAOqD,YAClBL,MAAOgB,IAAU,CAAA5F,SAAA,CAEjBwB,EAAK,MAAAE,OAAAC,OAAA,CAAArB,UAAWsB,EAAOoF,YAAajB,IAAKlC,GAASe,MAAOgB,IACvD,CAAA5F,SAAAwB,EAACyF,EACCvF,OAAAC,OAAA,CAAApC,KAAM0H,EAAKC,MAAMC,MACjBC,MAAOH,EAAKI,OAAOC,SAElB,CAAAtH,SAAAiE,SAGJvD,IACCc,EAACyF,EAAKvF,OAAAC,OAAA,CAAApC,KAAM0H,EAAKC,MAAMK,MAAOH,MAAOH,EAAKI,OAAOG,UAAW5C,MAAOgB,IAAU,CAAA5F,SAC1EU,UAINK,IACCoB,IAAgBtC,IAChB2B,EAAC0E,iBAAK5F,UAAWsB,EAAO7B,SAAO,CAAAC,SAC5BmC,IAAgBtC,KAGpBV,GAAWqC,EAACiG,EAAM,CAACC,KAAMD,EAAOE,MAAMC,KACtC1H,GACCsB,EAACqG,EACC,CAAAvH,UAAWsB,EAAOkG,YAClBC,QAASnF,GACT8E,KAAMM,EAAOL,MAAMM,MACnBC,KAAMF,EAAOG,MAAMC,SACnBC,UAAW7H,EACXd,KAAM4I,EACNC,aAAW,EACXC,SAAU,WAMtB,EAEMC,EAAiBC,EAAgBhK,EAAO,CAC5CwI,MAAO1H,EACPmJ,UAAW9H,EACX+H,YAAa1H"}
1
+ {"version":3,"file":"Toast.js","sources":["../../../../../src/components/Toast/Toast.tsx"],"sourcesContent":["import { camelCase } from \"lodash-es\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport cx from \"classnames\";\nimport React, {\n FC,\n ReactNode,\n ReactElement,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport { CSSTransition, TransitionGroup } from \"react-transition-group\";\nimport Button from \"../../components/Button/Button\";\nimport Icon, { IconSubComponentProps } from \"../Icon/Icon\";\nimport Text from \"../Text/Text\";\nimport Loader from \"../Loader/Loader\";\nimport Flex from \"../Flex/Flex\";\nimport CloseSmall from \"../Icon/Icons/components/Close\";\nimport ToastLink from \"./ToastLink/ToastLink\";\nimport ToastButton from \"./ToastButton/ToastButton\";\nimport {\n ToastAction,\n ToastActionType,\n ToastType,\n ToastPositions,\n} from \"./ToastConstants\";\nimport { getIcon } from \"./ToastHelpers\";\nimport { NOOP } from \"../../utils/function-utils\";\nimport { getStyle } from \"../../helpers/typesciptCssModulesHelper\";\nimport { withStaticProps, VibeComponentProps } from \"../../types\";\nimport IconButton from \"../IconButton/IconButton\";\nimport DropdownChevronUp from \"../Icon/Icons/components/DropdownChevronUp\";\nimport ProgressRing from \"../ProgressRing/ProgressRing\";\nimport Success from \"../Icon/Icons/components/Success\";\nimport { Warning } from \"../Icon/Icons\";\nimport styles from \"./Toast.module.scss\";\n\nexport interface ToastProps extends VibeComponentProps {\n actions?: ToastAction[];\n /** If true, Toast is open (visible) */\n open?: boolean;\n loading?: boolean;\n type?: ToastType;\n /** Possible to override the default icon */\n icon?: string | React.FC<IconSubComponentProps> | null;\n /** If true, won't show the icon */\n hideIcon?: boolean;\n /** The action to display */\n action?: JSX.Element;\n /** If false, won't show the close button */\n closeable?: boolean;\n onClose?: () => void;\n /** The number of milliseconds to wait before\n * automatically closing the Toast\n * (0 or null cancels this behaviour) */\n autoHideDuration?: number;\n children?: ReactElement | ReactElement[] | string;\n closeButtonAriaLabel?: string;\n description?: string;\n index?: number;\n position?: ToastPositions;\n totalToasts?: number;\n}\n\ninterface ToastContainerProps {\n children: ReactNode;\n position?: ToastPositions;\n}\n\nconst ToastContainer: FC<ToastContainerProps> = ({ children, position = ToastPositions.TopRight }) => {\n const [toasts, setToasts] = useState<React.ReactElement[]>([]);\n\n useEffect(() => {\n const childrenArray = React.Children.toArray(children) as React.ReactElement[];\n setToasts(childrenArray);\n }, [children]);\n\n const containerClassName = cx(\n styles.toastContainer,\n styles[position]\n );\n\n return (\n <div className={containerClassName}>\n <TransitionGroup>\n {toasts.map((toast, index) => \n <CSSTransition\n key={toast.key || index}\n classNames={{\n enter: styles.toastEnter,\n enterActive: styles.toastEnterActive,\n exit: styles.toastExit,\n exitActive: styles.toastExitActive,\n }}\n timeout={{ enter: 400, exit: 400 }}\n >\n {React.cloneElement(toast, { \n index,\n position,\n totalToasts: toasts.length\n })}\n </CSSTransition>\n )}\n </TransitionGroup>\n </div>\n );\n};\n\nconst Toast: FC<ToastProps> & {\n types?: typeof ToastType;\n positions?: typeof ToastPositions;\n actionTypes?: typeof ToastActionType;\n} = ({\n index = 0,\n totalToasts = 1,\n open = false,\n loading = false,\n autoHideDuration = null,\n type = ToastType.NORMAL,\n icon,\n hideIcon = false,\n action: deprecatedAction,\n actions,\n children,\n closeable = true,\n onClose = NOOP,\n className,\n id,\n closeButtonAriaLabel = \"Close\",\n \"data-testid\": dataTestId,\n description = \"\",\n position = ToastPositions.TopRight,\n}) => {\n const toastLinks = useMemo(() => {\n return actions\n ? actions\n .filter((action) => action.type === ToastActionType.LINK)\n .map(({ type: _type, ...otherProps }) => (\n <ToastLink\n key={otherProps.href}\n className={styles.actionLink}\n {...otherProps}\n />\n ))\n : null;\n }, [actions]);\n\n const toastClassName = cx(\n styles.toast,\n className,\n { [styles.stacked]: totalToasts > 1 }\n );\n\n const toastButtons: JSX.Element[] | null = useMemo(() => {\n return actions\n ? actions\n .filter((action) => action.type === ToastActionType.BUTTON)\n .map(({ type: _type, content, ...otherProps }, index) => (\n <ToastButton\n key={`alert-button-${index}`}\n className={styles.actionButton}\n {...otherProps}\n >\n {content}\n </ToastButton>\n ))\n : null;\n }, [actions]);\n\n const classNames = useMemo(\n () =>\n cx(\n styles.toast,\n getStyle(styles, camelCase(\"type-\" + type)),\n className\n ),\n [type, className]\n );\n\n const handleClose = useCallback(() => {\n if (onClose) {\n onClose();\n }\n }, [onClose]);\n\n useEffect(() => {\n if (open && autoHideDuration > 0) {\n const timer = setTimeout(() => {\n handleClose();\n }, autoHideDuration);\n return () => clearTimeout(timer);\n }\n }, [open, autoHideDuration, handleClose]);\n\n /* Timer */\n const timerAutoHide = useRef<NodeJS.Timeout>();\n const setAutoHideTimer = useCallback(\n (duration: number) => {\n if (!onClose || duration == null) {\n return;\n }\n\n clearTimeout(timerAutoHide.current);\n timerAutoHide.current = setTimeout(() => {\n handleClose();\n }, duration);\n },\n [handleClose, onClose]\n );\n\n useEffect(() => {\n if (open && autoHideDuration > 0) {\n setAutoHideTimer(autoHideDuration);\n }\n\n return () => {\n clearTimeout(timerAutoHide.current);\n };\n }, [open, autoHideDuration, setAutoHideTimer]);\n\n const iconElement = !hideIcon && getIcon(type, icon);\n\n const toastStyle = useMemo(() => ({\n [position.includes('Top') ? 'top' : 'bottom']: `${index * (64 + 8)}px`,\n }), [index, position]);\n\n\n const translateY = position === ToastPositions.TopRight\n ? `${index * 110}%`\n : `${-index * 110}%`;\n\n\n const [isExpanded, setIsExpanded] = useState(false);\n\n const toggleExpand = () => {\n setIsExpanded(!isExpanded);\n };\n\n const textRef = useRef<HTMLDivElement>(null);\n const [clampedText, setClampedText] = useState(children);\n\n useEffect(() => {\n const clampText = () => {\n const element = textRef.current;\n if (!element) return;\n\n const maxHeight = parseFloat(getComputedStyle(element).lineHeight) * 2;\n const words = children.toString().split(' ');\n let result = '';\n let currentHeight = 0;\n\n element.style.height = 'auto';\n for (let i = 0; i < words.length; i++) {\n const word = words[i];\n const testString = result + (result ? ' ' : '') + word;\n element.textContent = testString;\n currentHeight = element.offsetHeight;\n\n if (currentHeight <= maxHeight) {\n result = testString;\n } else {\n result = result.trim() + '...';\n break;\n }\n }\n setClampedText(result);\n };\n\n clampText();\n window.addEventListener('resize', clampText);\n return () => window.removeEventListener('resize', clampText);\n }, [children]);\n\n const [isScaling, setIsScaling] = useState(true);\n const toastRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n setIsScaling(true);\n const timer = setTimeout(() => setIsScaling(false), 300); // 300ms matches the animation duration\n return () => clearTimeout(timer);\n }, []);\n\n const scaleStyle = isScaling ? { transform: 'scale(1)', transition: 'transform 0.3s ease-out' } : {};\n\n return (\n <div \n ref={toastRef}\n className={cx(styles.toast, classNames)} \n style={{...toastStyle, ...scaleStyle}}\n role=\"alert\" \n aria-live=\"polite\"\n >\n <Flex \n align={Flex.align.CENTER} \n justify={Flex.justify.START} \n gap={Flex.gaps.MEDIUM} \n className={cx(styles.toastContent, {\n [styles.noLeftIcon]: hideIcon || (!icon && !getIcon(type, null))\n })}\n >\n {iconElement && (\n <div className={cx(styles.icon, styles.iconAnimation)} style={scaleStyle}>\n {iconElement}\n </div>\n )}\n <Flex \n direction={Flex.directions.COLUMN} \n justify={Flex.justify.START} \n align={Flex.align.START} \n className={styles.textContent}\n >\n <Text\n type={Text.types.TEXT1}\n color={Text.colors.PRIMARY}\n className={styles.toastText}\n style={{whiteSpace: \"normal\"}} \n >\n {children}\n </Text>\n {description && (\n <Text \n type={Text.types.TEXT2} \n color={Text.colors.SECONDARY} \n className={styles.toastDescription}\n style={{whiteSpace: \"normal\"}} \n >\n {description}\n </Text>\n )}\n </Flex>\n {toastLinks}\n {(toastButtons || deprecatedAction) && (\n <Flex className={styles.actions}>\n {toastButtons || deprecatedAction}\n </Flex>\n )}\n {loading && <Loader size={Loader.sizes.XS} />}\n {closeable && (\n <IconButton\n className={styles.closeButton}\n onClick={handleClose}\n size={Button.sizes.SMALL}\n kind={Button.kinds.TERTIARY}\n ariaLabel={closeButtonAriaLabel}\n icon={CloseSmall}\n hideTooltip\n iconSize={15}\n />\n )}\n </Flex>\n </div>\n );\n};\n\nconst ToastWithProps = withStaticProps(Toast, {\n types: ToastType,\n positions: ToastPositions,\n actionTypes: ToastActionType\n});\n\nexport default ToastWithProps;\nexport { Toast, ToastContainer };"],"names":["Toast","_ref2","_ref2$index","index","_ref2$totalToasts","totalToasts","_ref2$open","open","_ref2$loading","loading","_ref2$autoHideDuratio","autoHideDuration","_ref2$type","type","ToastType","NORMAL","icon","_ref2$hideIcon","hideIcon","deprecatedAction","action","actions","children","_ref2$closeable","closeable","_ref2$onClose","onClose","NOOP","className","_ref2$closeButtonAria","closeButtonAriaLabel","_ref2$description","description","_ref2$position","position","ToastPositions","TopRight","toastLinks","useMemo","filter","ToastActionType","LINK","map","_a","otherProps","__rest","_jsx","ToastLink","Object","assign","styles","actionLink","href","cx","toast","_defineProperty","stacked","toastButtons","BUTTON","content","ToastButton","actionButton","concat","classNames","getStyle","camelCase","handleClose","useCallback","useEffect","timer","setTimeout","clearTimeout","timerAutoHide","useRef","setAutoHideTimer","duration","current","iconElement","getIcon","toastStyle","includes","_useState3","useState","textRef","_slicedToArray","_useState5","_useState6","setClampedText","clampText","element","maxHeight","parseFloat","getComputedStyle","lineHeight","words","split","result","style","height","i","length","testString","textContent","offsetHeight","trim","window","addEventListener","removeEventListener","_useState7","_useState8","isScaling","setIsScaling","toastRef","scaleStyle","transform","transition","ref","role","_jsxs","Flex","align","CENTER","justify","START","gap","gaps","MEDIUM","toastContent","noLeftIcon","iconAnimation","direction","directions","COLUMN","Text","types","TEXT1","color","colors","PRIMARY","toastText","whiteSpace","TEXT2","SECONDARY","toastDescription","Loader","size","sizes","XS","IconButton","closeButton","onClick","Button","SMALL","kind","kinds","TERTIARY","ariaLabel","CloseSmall","hideTooltip","iconSize","ToastWithProps","withStaticProps","positions","actionTypes"],"mappings":"uiCA8GA,IAAMA,EAIF,SAJOC,GAwBN,IAAAC,EAAAD,EAnBHE,MAAAA,OAAQ,IAAHD,EAAG,EAACA,EAAAE,EAAAH,EACTI,YAAAA,OAAc,IAAHD,EAAG,EAACA,EAAAE,EAAAL,EACfM,KAAAA,OAAO,IAAHD,GAAQA,EAAAE,EAAAP,EACZQ,QAAAA,OAAU,IAAHD,GAAQA,EAAAE,EAAAT,EACfU,iBAAAA,OAAmB,IAAHD,EAAG,KAAIA,EAAAE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AAWC,OAC3BV,QAASH,EAAKG,QAAQC,MACtBH,MAAOD,EAAKC,MAAMG,MAClB/F,UAAWsB,EAAOoD,aAElB,CAAAhF,SAAA,CAAAwB,EAACuF,EAAIrF,OAAAC,OAAA,CACHpC,KAAMwH,EAAKC,MAAMC,MACjBC,MAAOH,EAAKI,OAAOC,QACnB9G,UAAWsB,EAAOyF,UAClB1C,MAAO,CAAC2C,WAAY,WAEnB,CAAAtH,SAAAA,KAEFU,IACCc,EAACuF,EACCrF,OAAAC,OAAA,CAAApC,KAAMwH,EAAKC,MAAMO,MACjBL,MAAOH,EAAKI,OAAOK,UACnBlH,UAAWsB,EAAO6F,iBAClB9C,MAAO,CAAC2C,WAAY,WAAS,CAAAtH,SAE5BU,UAINK,IACCoB,IAAgBtC,IAChB2B,EAACyE,iBAAK3F,UAAWsB,EAAO7B,SAAO,CAAAC,SAC5BmC,IAAgBtC,KAGpBV,GAAWqC,EAACkG,EAAM,CAACC,KAAMD,EAAOE,MAAMC,KACtC3H,GACCsB,EAACsG,EACC,CAAAxH,UAAWsB,EAAOmG,YAClBC,QAASpF,GACT+E,KAAMM,EAAOL,MAAMM,MACnBC,KAAMF,EAAOG,MAAMC,SACnBC,UAAW9H,EACXd,KAAM6I,EACNC,aAAW,EACXC,SAAU,WAMtB,EAEMC,EAAiBC,EAAgBjK,EAAO,CAC5CsI,MAAOxH,EACPoJ,UAAW/H,EACXgI,YAAa3H"}
@@ -1,2 +1,2 @@
1
- var n={iconAnimation:"iconAnimation_9c287d9361",iconFadeInScale:"iconFadeInScale_1bd39eb390",toastContainer:"toastContainer_c70ffb0ed9",topRight:"topRight_045bf2c2b9",bottomRight:"bottomRight_94126368e5",toast:"toast_62d1bf1364",scaleIn:"scaleIn_e6aaacfa44",toastContent:"toastContent_e09cbb1e90",noLeftIcon:"noLeftIcon_7070adde38",icon:"icon_217ee3b40a",typePositive:"typePositive_fe365c742d",typeNegative:"typeNegative_02a1558df7",typeWarning:"typeWarning_a3765572fc",textContent:"textContent_be4333f9b7",textWrapper:"textWrapper_9d923b9093",actions:"actions_9ecaf38d86",closeButton:"closeButton_1482b5c5eb",toastEnter:"toastEnter_3bcb4de1c1",toastEnterActive:"toastEnterActive_cfa11ef10e",toastExit:"toastExit_7df0cc2c51",toastExitActive:"toastExitActive_17a76448f3",slideUp:"slideUp_80da5e9c49"};!function(n){if("undefined"==typeof document)return;const t=document.head||document.getElementsByTagName("head")[0],e="s_id-8ea43714826c_0_0_320";if(t.querySelector("#"+e))return;const a=document.createElement("style");a.id=e,t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.appendChild(document.createTextNode(n))}("@keyframes scaleIn_e6aaacfa44 {\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes iconFadeInScale_1bd39eb390 {\n 0% {\n opacity: 0;\n transform: scale(0.5);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n }\n}\n.iconAnimation_9c287d9361 {\n animation: iconFadeInScale_1bd39eb390 0.3s ease-out 0.1s forwards;\n opacity: 0;\n}\n.toastContainer_c70ffb0ed9 {\n position: fixed;\n z-index: 9999999999;\n display: flex;\n flex-direction: column;\n gap: 8px;\n max-width: 500px;\n}\n.topRight_045bf2c2b9 {\n top: 16px;\n right: 16px;\n}\n.bottomRight_94126368e5 {\n bottom: 8px;\n right: 16px;\n flex-direction: column-reverse;\n}\n.toast_62d1bf1364 {\n position: absolute;\n right: 0;\n width: 100%;\n max-width: 500px;\n height: auto;\n max-height: none;\n box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.04);\n border: 1px solid var(--divider-primary, rgba(16, 24, 27, 0.1));\n border-radius: var(--border-radius-full);\n background-color: var(--surface-level-050);\n transition: transform 0.3s ease-out, opacity 0.3s ease-out;\n margin-bottom: 8px;\n z-index: 9999999999;\n animation: scaleIn_e6aaacfa44 0.3s ease-out forwards;\n transform-origin: top right;\n}\n.toastContent_e09cbb1e90 {\n padding: var(--spacing-xs) var(--spacing-xs);\n height: auto;\n min-height: 100%;\n animation: scaleIn_e6aaacfa44 0.3s ease-out forwards;\n transform-origin: top right;\n}\n.noLeftIcon_7070adde38 {\n padding: var(--spacing-xs) var(--spacing-medium);\n}\n.icon_217ee3b40a {\n flex-shrink: 0;\n height: 36px;\n width: 36px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 2px;\n border-radius: var(--border-radius-full);\n background-color: var(--surface-level-200);\n}\n.typePositive_fe365c742d .icon_217ee3b40a {\n border: 1px solid var(--text-success);\n background-color: transparent;\n}\n.typeNegative_02a1558df7 .icon_217ee3b40a {\n border: 1px solid var(--text-alert);\n background-color: transparent;\n}\n.typeWarning_a3765572fc .icon_217ee3b40a {\n border: 1px solid var(--text-warning);\n background-color: transparent;\n}\n.textContent_be4333f9b7 {\n flex-grow: 1;\n min-width: 0;\n max-width: 100%;\n overflow: visible;\n}\n.textWrapper_9d923b9093 {\n white-space: normal;\n overflow-wrap: break-word;\n word-wrap: break-word;\n hyphens: auto;\n max-height: none;\n display: block;\n overflow: visible;\n text-overflow: clip;\n line-height: 1.3;\n font-size: 14px;\n}\n.actions_9ecaf38d86 {\n flex-shrink: 0;\n margin-left: var(--spacing-small);\n}\n.closeButton_1482b5c5eb {\n flex-shrink: 0;\n margin-left: var(--spacing-small);\n color: var(--text-secondary);\n}\n.typePositive_fe365c742d {\n border-top: none;\n color: var(--text-success);\n background-color: var(--surface-success);\n}\n.typeNegative_02a1558df7 {\n border-top: none;\n color: var(--text-alert);\n background-color: var(--surface-alert);\n}\n.typeWarning_a3765572fc {\n border-top: none;\n color: var(--text-warning);\n background-color: var(--surface-warning);\n}\n.toastEnter_3bcb4de1c1 {\n opacity: 0;\n transform: translateY(20px) scale(0.8);\n}\n.toastEnterActive_cfa11ef10e {\n opacity: 1;\n transform: translateY(0) scale(1);\n transition: opacity 400ms, transform 400ms;\n}\n.toastExit_7df0cc2c51 {\n opacity: 1;\n transform: translateX(0);\n}\n.toastExitActive_17a76448f3 {\n opacity: 0;\n transform: translateX(100%);\n transition: opacity 400ms, transform 400ms;\n}\n@keyframes slideUp_80da5e9c49 {\n from {\n transform: translateY(20px) scale(0.8);\n opacity: 0;\n }\n to {\n transform: translateY(0) scale(1);\n opacity: 1;\n }\n}\n.toast_62d1bf1364 {\n animation: slideUp_80da5e9c49 400ms ease-out;\n}");export{n as default};
1
+ var n={iconAnimation:"iconAnimation_9c287d9361",iconFadeInScale:"iconFadeInScale_1bd39eb390",toastContainer:"toastContainer_3824751a32",topRight:"topRight_045bf2c2b9",bottomRight:"bottomRight_94126368e5",toast:"toast_5caf390ebc",scaleIn:"scaleIn_e6aaacfa44",toastContent:"toastContent_211c97d5f8",noLeftIcon:"noLeftIcon_7070adde38",icon:"icon_5090bdd2ac",typePositive:"typePositive_fe365c742d",typeNegative:"typeNegative_02a1558df7",typeWarning:"typeWarning_a3765572fc",textContent:"textContent_760517639f",textWrapper:"textWrapper_8fc977be9f",actions:"actions_f23666c161",closeButton:"closeButton_751e72c227",toastEnter:"toastEnter_3bcb4de1c1",toastEnterActive:"toastEnterActive_cfa11ef10e",toastExit:"toastExit_7df0cc2c51",toastExitActive:"toastExitActive_17a76448f3",slideUp:"slideUp_80da5e9c49"};!function(n){if("undefined"==typeof document)return;const t=document.head||document.getElementsByTagName("head")[0],e="s_id-c15bd7a55964_0_0_320";if(t.querySelector("#"+e))return;const a=document.createElement("style");a.id=e,t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.appendChild(document.createTextNode(n))}("@keyframes scaleIn_e6aaacfa44 {\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes iconFadeInScale_1bd39eb390 {\n 0% {\n opacity: 0;\n transform: scale(0.5);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n }\n}\n.iconAnimation_9c287d9361 {\n animation: iconFadeInScale_1bd39eb390 0.3s ease-out 0.1s forwards;\n opacity: 0;\n}\n.toastContainer_3824751a32 {\n position: fixed;\n z-index: 9999999999;\n display: flex;\n flex-direction: column;\n gap: 8px;\n max-width: 500px;\n height: auto;\n max-height: none;\n}\n.topRight_045bf2c2b9 {\n top: 16px;\n right: 16px;\n}\n.bottomRight_94126368e5 {\n bottom: 8px;\n right: 16px;\n flex-direction: column-reverse;\n}\n.toast_5caf390ebc {\n position: absolute;\n right: 0;\n width: 100%;\n max-width: 400px;\n height: auto;\n max-height: none;\n box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.04);\n border: 1px solid var(--divider-primary, rgba(16, 24, 27, 0.1));\n border-radius: 40px;\n background-color: var(--surface-level-050);\n transition: transform 0.3s ease-out, opacity 0.3s ease-out;\n margin-bottom: 8px;\n z-index: 9999999999;\n animation: scaleIn_e6aaacfa44 0.3s ease-out forwards;\n transform-origin: top right;\n box-sizing: border-box;\n}\n.toastContent_211c97d5f8 {\n padding: var(--spacing-xs) var(--spacing-xs);\n height: auto;\n max-height: none;\n min-height: 100%;\n animation: scaleIn_e6aaacfa44 0.3s ease-out forwards;\n transform-origin: top right;\n width: 100%;\n overflow: visible;\n}\n.noLeftIcon_7070adde38 {\n padding: var(--spacing-xs) var(--spacing-medium);\n}\n.icon_5090bdd2ac {\n flex-shrink: 0;\n height: 36px;\n width: 36px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 2px;\n border-radius: var(--border-radius-full);\n background-color: var(--surface-level-200);\n flex-shrink: 0;\n}\n.typePositive_fe365c742d .icon_5090bdd2ac {\n border: 1px solid var(--text-success);\n background-color: transparent;\n}\n.typeNegative_02a1558df7 .icon_5090bdd2ac {\n border: 1px solid var(--text-alert);\n background-color: transparent;\n}\n.typeWarning_a3765572fc .icon_5090bdd2ac {\n border: 1px solid var(--text-warning);\n background-color: transparent;\n}\n.textContent_760517639f {\n flex: 1;\n min-width: 0;\n max-width: 100%;\n overflow: visible;\n flex-grow: 1;\n min-width: 0;\n}\n.textWrapper_8fc977be9f {\n display: block;\n white-space: normal;\n overflow-wrap: break-word;\n word-wrap: break-word;\n hyphens: auto;\n max-height: none;\n overflow: visible;\n text-overflow: clip;\n line-height: 1.3;\n font-size: 14px;\n width: 100%;\n}\n.actions_f23666c161 {\n flex-shrink: 0;\n margin-left: var(--spacing-small);\n flex-shrink: 0;\n}\n.closeButton_751e72c227 {\n flex-shrink: 0;\n margin-left: var(--spacing-small);\n color: var(--text-secondary);\n flex-shrink: 0;\n}\n.typePositive_fe365c742d {\n border-top: none;\n color: var(--text-success);\n background-color: var(--surface-success);\n}\n.typeNegative_02a1558df7 {\n border-top: none;\n color: var(--text-alert);\n background-color: var(--surface-alert);\n}\n.typeWarning_a3765572fc {\n border-top: none;\n color: var(--text-warning);\n background-color: var(--surface-warning);\n}\n.toastEnter_3bcb4de1c1 {\n opacity: 0;\n transform: translateY(20px) scale(0.8);\n}\n.toastEnterActive_cfa11ef10e {\n opacity: 1;\n transform: translateY(0) scale(1);\n transition: opacity 400ms, transform 400ms;\n}\n.toastExit_7df0cc2c51 {\n opacity: 1;\n transform: translateX(0);\n}\n.toastExitActive_17a76448f3 {\n opacity: 0;\n transform: translateX(100%);\n transition: opacity 400ms, transform 400ms;\n}\n@keyframes slideUp_80da5e9c49 {\n from {\n transform: translateY(20px) scale(0.8);\n opacity: 0;\n }\n to {\n transform: translateY(0) scale(1);\n opacity: 1;\n }\n}\n.toast_5caf390ebc {\n animation: slideUp_80da5e9c49 400ms ease-out;\n}");export{n as default};
2
2
  //# sourceMappingURL=Toast.module.scss.js.map
@@ -1,2 +1,2 @@
1
- import{jsxs as o,jsx as e}from"@emotion/react/jsx-runtime";import t from"../WorkflowCard/WorkflowCard.js";import r from"../WorkflowStep/WorkflowStep.js";import i from"../Box/Box.js";import s from"../Heading/Heading.js";import{IconType as n}from"../Icon/IconConstants.js";import c from"./WorkflowList.module.scss.js";var a=function(a){var l=a.workflowItems,w=a.onStepClick;return o("div",Object.assign({className:c.workflowListContainer},{children:[e("div",{className:c.verticalLine}),l.map((function(o){return e("div",Object.assign({className:c.workflowItem},{children:o.isActive?e(t,{backgroundColor:o.backgroundColor||i.backgroundColors.Success,title:o.title,titleColor:o.titleColor||s.colors.SUCCESS,showIcon:o.showIcon,iconType:n.PATH,iconPath:o.iconPath||"ic_view_double_16",showSubheader:!0,subheaderText:o.subText,actionButtons:o.actionButtons,currentStep:o.currentStep||1,totalSteps:o.totalSteps||1,showReviewers:o.showReviewers,reviewers:o.reviewers,hideStepIndicator:!0,onStepClick:function(){return w&&w(o.id)},padding:i.paddings.MEDIUM,isActive:o.isActive}):e(r,{count:o.count,title:o.title,iconPath:o.iconPath,subText:o.subText,showReviewers:o.showReviewers,reviewers:o.reviewers})}),o.id)}))]}))};export{a as default};
1
+ import{jsxs as o,jsx as e}from"@emotion/react/jsx-runtime";import t from"../WorkflowCard/WorkflowCard.js";import r from"../WorkflowStep/WorkflowStep.js";import i from"../Box/Box.js";import s from"../Heading/Heading.js";import{IconType as n}from"../Icon/IconConstants.js";import c from"./WorkflowList.module.scss.js";var a=function(a){var l=a.workflowItems,u=a.onStepClick;return o("div",Object.assign({className:c.workflowListContainer},{children:[e("div",{className:c.verticalLine}),l.map((function(o){return e("div",Object.assign({className:c.workflowItem},{children:o.isActive?e(t,{backgroundColor:o.backgroundColor||i.backgroundColors.Success,title:o.title,titleColor:o.titleColor||s.colors.SUCCESS,showIcon:o.showIcon,iconType:n.PATH,iconPath:o.iconPath||"ic_view_double_16",useCurrentColor:!0,showSubheader:!0,subheaderText:o.subText,actionButtons:o.actionButtons,currentStep:o.currentStep||1,totalSteps:o.totalSteps||1,showReviewers:o.showReviewers,reviewers:o.reviewers,hideStepIndicator:!0,onStepClick:function(){return u&&u(o.id)},padding:i.paddings.MEDIUM,isActive:o.isActive}):e(r,{count:o.count,title:o.title,iconPath:o.iconPath,subText:o.subText,showReviewers:o.showReviewers,reviewers:o.reviewers})}),o.id)}))]}))};export{a as default};
2
2
  //# sourceMappingURL=WorkflowList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WorkflowList.js","sources":["../../../../../src/components/WorkflowList/WorkflowList.tsx"],"sourcesContent":["import React from 'react';\nimport WorkflowCard from '../WorkflowCard/WorkflowCard';\nimport WorkflowStep from '../WorkflowStep/WorkflowStep';\nimport Box from '../Box/Box';\nimport Heading from '../Heading/Heading';\nimport { IconType } from '../Icon/IconConstants';\nimport { PathName } from \"../Icon/SvgIcon/paths\";\nimport styles from './WorkflowList.module.scss';\nimport { Reviewer as CardReviewer } from '../WorkflowCard/WorkflowCard';\n\nexport interface WorkflowItem {\n id: string;\n isActive: boolean;\n count: number;\n title: string;\n iconPath?: PathName | string;\n subText: string;\n showReviewers: boolean;\n reviewers: CardReviewer[];\n backgroundColor?: string;\n titleColor?: string;\n currentStep?: number;\n totalSteps?: number;\n actionButtons?: React.ReactNode;\n showIcon: boolean;\n}\n\ninterface WorkflowListProps {\n workflowItems: WorkflowItem[];\n onStepClick?: (id: string | number) => void;\n}\n\nconst WorkflowList: React.FC<WorkflowListProps> = ({ workflowItems, onStepClick }) => {\n return (\n <div className={styles.workflowListContainer}>\n <div className={styles.verticalLine}></div>\n {workflowItems.map((item) => (\n <div key={item.id} className={styles.workflowItem}>\n {item.isActive ? (\n <WorkflowCard\n backgroundColor={item.backgroundColor || Box.backgroundColors.Success}\n title={item.title}\n titleColor={item.titleColor || Heading.colors.SUCCESS}\n showIcon={item.showIcon}\n iconType={IconType.PATH}\n iconPath={item.iconPath || \"ic_view_double_16\"}\n showSubheader={true}\n subheaderText={item.subText}\n actionButtons={item.actionButtons}\n currentStep={item.currentStep || 1}\n totalSteps={item.totalSteps || 1}\n showReviewers={item.showReviewers}\n reviewers={item.reviewers}\n hideStepIndicator\n onStepClick={() => onStepClick && onStepClick(item.id)}\n padding={Box.paddings.MEDIUM}\n isActive={item.isActive}\n >\n {/* Add any children content here if needed */}\n </WorkflowCard>\n ) : (\n <WorkflowStep\n count={item.count}\n title={item.title}\n iconPath={item.iconPath as PathName}\n subText={item.subText}\n showReviewers={item.showReviewers}\n reviewers={item.reviewers}\n />\n )}\n </div>\n ))}\n </div>\n );\n};\n\nexport default WorkflowList;"],"names":["WorkflowList","_ref","workflowItems","onStepClick","_jsxs","Object","assign","className","styles","workflowListContainer","children","_jsx","verticalLine","map","item","workflowItem","isActive","WorkflowCard","backgroundColor","Box","backgroundColors","Success","title","titleColor","Heading","colors","SUCCESS","showIcon","iconType","IconType","PATH","iconPath","showSubheader","subheaderText","subText","actionButtons","currentStep","totalSteps","showReviewers","reviewers","hideStepIndicator","id","padding","paddings","MEDIUM","WorkflowStep","count"],"mappings":"4TAgCA,IAAMA,EAA4C,SAAhCC,GAAmE,IAAhCC,EAAaD,EAAbC,cAAeC,EAAWF,EAAXE,YAClE,OACEC,EAAK,MAAAC,OAAAC,OAAA,CAAAC,UAAWC,EAAOC,uBAAqB,CAAAC,SAAA,CAC1CC,EAAK,MAAA,CAAAJ,UAAWC,EAAOI,eACtBV,EAAcW,KAAI,SAACC,GAAI,OACtBH,uBAAmBJ,UAAWC,EAAOO,cAAY,CAAAL,SAC9CI,EAAKE,SACJL,EAACM,EAAY,CACXC,gBAAiBJ,EAAKI,iBAAmBC,EAAIC,iBAAiBC,QAC9DC,MAAOR,EAAKQ,MACZC,WAAYT,EAAKS,YAAcC,EAAQC,OAAOC,QAC9CC,SAAUb,EAAKa,SACfC,SAAUC,EAASC,KACnBC,SAAUjB,EAAKiB,UAAY,oBAC3BC,eAAe,EACfC,cAAenB,EAAKoB,QACpBC,cAAerB,EAAKqB,cACpBC,YAAatB,EAAKsB,aAAe,EACjCC,WAAYvB,EAAKuB,YAAc,EAC/BC,cAAexB,EAAKwB,cACpBC,UAAWzB,EAAKyB,UAChBC,qBACArC,YAAa,WAAA,OAAMA,GAAeA,EAAYW,EAAK2B,GAAG,EACtDC,QAASvB,EAAIwB,SAASC,OACtB5B,SAAUF,EAAKE,WAKjBL,EAACkC,EACC,CAAAC,MAAOhC,EAAKgC,MACZxB,MAAOR,EAAKQ,MACZS,SAAUjB,EAAKiB,SACfG,QAASpB,EAAKoB,QACdI,cAAexB,EAAKwB,cACpBC,UAAWzB,EAAKyB,cA9BZzB,EAAK2B,GAiCT,OAId"}
1
+ {"version":3,"file":"WorkflowList.js","sources":["../../../../../src/components/WorkflowList/WorkflowList.tsx"],"sourcesContent":["import React from 'react';\nimport WorkflowCard from '../WorkflowCard/WorkflowCard';\nimport WorkflowStep from '../WorkflowStep/WorkflowStep';\nimport Box from '../Box/Box';\nimport Heading from '../Heading/Heading';\nimport { IconType } from '../Icon/IconConstants';\nimport { PathName } from \"../Icon/SvgIcon/paths\";\nimport styles from './WorkflowList.module.scss';\nimport { Reviewer as CardReviewer } from '../WorkflowCard/WorkflowCard';\n\nexport interface WorkflowItem {\n id: string;\n isActive: boolean;\n count: number;\n title: string;\n iconPath?: PathName | string;\n subText: string;\n showReviewers: boolean;\n reviewers: CardReviewer[];\n backgroundColor?: string;\n titleColor?: string;\n currentStep?: number;\n totalSteps?: number;\n actionButtons?: React.ReactNode;\n showIcon: boolean;\n}\n\ninterface WorkflowListProps {\n workflowItems: WorkflowItem[];\n onStepClick?: (id: string | number) => void;\n}\n\nconst WorkflowList: React.FC<WorkflowListProps> = ({ workflowItems, onStepClick }) => {\n return (\n <div className={styles.workflowListContainer}>\n <div className={styles.verticalLine}></div>\n {workflowItems.map((item) => (\n <div key={item.id} className={styles.workflowItem}>\n {item.isActive ? (\n <WorkflowCard\n backgroundColor={item.backgroundColor || Box.backgroundColors.Success}\n title={item.title}\n titleColor={item.titleColor || Heading.colors.SUCCESS}\n showIcon={item.showIcon}\n iconType={IconType.PATH}\n iconPath={item.iconPath || \"ic_view_double_16\"}\n useCurrentColor\n showSubheader={true}\n subheaderText={item.subText}\n actionButtons={item.actionButtons}\n currentStep={item.currentStep || 1}\n totalSteps={item.totalSteps || 1}\n showReviewers={item.showReviewers}\n reviewers={item.reviewers}\n hideStepIndicator\n onStepClick={() => onStepClick && onStepClick(item.id)}\n padding={Box.paddings.MEDIUM}\n isActive={item.isActive}\n >\n {/* Add any children content here if needed */}\n </WorkflowCard>\n ) : (\n <WorkflowStep\n count={item.count}\n title={item.title}\n iconPath={item.iconPath as PathName}\n subText={item.subText}\n showReviewers={item.showReviewers}\n reviewers={item.reviewers}\n />\n )}\n </div>\n ))}\n </div>\n );\n};\n\nexport default WorkflowList;"],"names":["WorkflowList","_ref","workflowItems","onStepClick","_jsxs","Object","assign","className","styles","workflowListContainer","children","_jsx","verticalLine","map","item","workflowItem","isActive","WorkflowCard","backgroundColor","Box","backgroundColors","Success","title","titleColor","Heading","colors","SUCCESS","showIcon","iconType","IconType","PATH","iconPath","useCurrentColor","showSubheader","subheaderText","subText","actionButtons","currentStep","totalSteps","showReviewers","reviewers","hideStepIndicator","id","padding","paddings","MEDIUM","WorkflowStep","count"],"mappings":"4TAgCA,IAAMA,EAA4C,SAAhCC,GAAmE,IAAhCC,EAAaD,EAAbC,cAAeC,EAAWF,EAAXE,YAClE,OACEC,EAAK,MAAAC,OAAAC,OAAA,CAAAC,UAAWC,EAAOC,uBAAqB,CAAAC,SAAA,CAC1CC,EAAK,MAAA,CAAAJ,UAAWC,EAAOI,eACtBV,EAAcW,KAAI,SAACC,GAAI,OACtBH,uBAAmBJ,UAAWC,EAAOO,cAAY,CAAAL,SAC9CI,EAAKE,SACJL,EAACM,EAAY,CACXC,gBAAiBJ,EAAKI,iBAAmBC,EAAIC,iBAAiBC,QAC9DC,MAAOR,EAAKQ,MACZC,WAAYT,EAAKS,YAAcC,EAAQC,OAAOC,QAC9CC,SAAUb,EAAKa,SACfC,SAAUC,EAASC,KACnBC,SAAUjB,EAAKiB,UAAY,oBAC3BC,iBACA,EAAAC,eAAe,EACfC,cAAepB,EAAKqB,QACpBC,cAAetB,EAAKsB,cACpBC,YAAavB,EAAKuB,aAAe,EACjCC,WAAYxB,EAAKwB,YAAc,EAC/BC,cAAezB,EAAKyB,cACpBC,UAAW1B,EAAK0B,UAChBC,mBACA,EAAAtC,YAAa,WAAA,OAAMA,GAAeA,EAAYW,EAAK4B,GAAG,EACtDC,QAASxB,EAAIyB,SAASC,OACtB7B,SAAUF,EAAKE,WAKjBL,EAACmC,EACC,CAAAC,MAAOjC,EAAKiC,MACZzB,MAAOR,EAAKQ,MACZS,SAAUjB,EAAKiB,SACfI,QAASrB,EAAKqB,QACdI,cAAezB,EAAKyB,cACpBC,UAAW1B,EAAK0B,cA/BZ1B,EAAK4B,GAkCT,OAId"}
package/dist/main.css CHANGED
@@ -58,7 +58,7 @@
58
58
  .components-ProcessingToast-ProcessingToast-module__toast--qM6vf{box-shadow:0px 1px 4px 0px rgba(0,0,0,.08),0px 2px 3px 0px rgba(0,0,0,.07);border:1px solid var(--divider-primary, rgba(16, 24, 27, 0.1));-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz);margin:var(--spacing-medium);position:fixed;z-index:10000;right:0;align-items:center;display:flex;min-width:320px;border-radius:var(--border-radius-medium);color:var(--text-primary);gap:var(--spacing-small);background-color:var(--surface-level-100);padding:var(--spacing-small) var(--spacing-medium) var(--spacing-small) var(--spacing-medium)}.components-ProcessingToast-ProcessingToast-module__topRight--CBRSv{top:0}.components-ProcessingToast-ProcessingToast-module__bottomRight--oxXhn{bottom:0}.components-ProcessingToast-ProcessingToast-module__closeButton--rbb3q{margin-left:var(--spacing-small);color:var(--text-primary)}.components-ProcessingToast-ProcessingToast-module__iconExpanded--_Qr9E{transition:transform .3s ease;transform:rotate(180deg)}.components-ProcessingToast-ProcessingToast-module__iconCollapsed--aQxn8{transition:transform .3s ease;transform:rotate(0deg)}.components-ProcessingToast-ProcessingToast-module__content--LSOqv{transition:max-height .3s ease;overflow:hidden;width:95%}.components-ProcessingToast-ProcessingToast-module__header--lD5tJ{width:100%;background-color:var(--surface-level-200);padding:10px 10px}.components-ProcessingToast-ProcessingToast-module__cell--SgMU8{border-top:1px solid var(--divider-primary);padding:6px 0px;width:100%}
59
59
  .hds-scrollable-container{box-sizing:border-box;overflow-x:auto;overflow-y:hidden}.hds-scrollable-container *{box-sizing:border-box}.hds-scrollable-container.allow-vertical-scrolling{overflow-y:visible}
60
60
  .components-Toast-ToastLink-ToastLink-module__actionLink--gSB5H{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}
61
- @keyframes components-Toast-Toast-module__scaleIn--VfDU1{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes components-Toast-Toast-module__iconFadeInScale--G5LvV{0%{opacity:0;transform:scale(0.5)}100%{opacity:1;transform:scale(1)}}.components-Toast-Toast-module__iconAnimation--w8pKh{animation:components-Toast-Toast-module__iconFadeInScale--G5LvV .3s ease-out .1s forwards;opacity:0}.components-Toast-Toast-module__toastContainer--PlU0m{position:fixed;z-index:9999999999;display:flex;flex-direction:column;gap:8px;max-width:500px}.components-Toast-Toast-module__topRight--CTHQl{top:16px;right:16px}.components-Toast-Toast-module__bottomRight--YMbW9{bottom:8px;right:16px;flex-direction:column-reverse}.components-Toast-Toast-module__toast--N1gRe{position:absolute;right:0;width:100%;max-width:500px;height:auto;max-height:none;box-shadow:0px 4px 5px 0px rgba(0,0,0,.04);border:1px solid var(--divider-primary, rgba(16, 24, 27, 0.1));border-radius:var(--border-radius-full);background-color:var(--surface-level-050);transition:transform .3s ease-out,opacity .3s ease-out;margin-bottom:8px;z-index:9999999999;animation:components-Toast-Toast-module__scaleIn--VfDU1 .3s ease-out forwards;transform-origin:top right}.components-Toast-Toast-module__toastContent--Qe2tI{padding:var(--spacing-xs) var(--spacing-xs);height:auto;min-height:100%;animation:components-Toast-Toast-module__scaleIn--VfDU1 .3s ease-out forwards;transform-origin:top right}.components-Toast-Toast-module__noLeftIcon--CkMpf{padding:var(--spacing-xs) var(--spacing-medium)}.components-Toast-Toast-module__icon--A1ndn{flex-shrink:0;height:36px;width:36px;display:flex;justify-content:center;align-items:center;padding:2px;border-radius:var(--border-radius-full);background-color:var(--surface-level-200)}.components-Toast-Toast-module__typePositive--JyjQz .components-Toast-Toast-module__icon--A1ndn{border:1px solid var(--text-success);background-color:rgba(0,0,0,0)}.components-Toast-Toast-module__typeNegative--Yccsl .components-Toast-Toast-module__icon--A1ndn{border:1px solid var(--text-alert);background-color:rgba(0,0,0,0)}.components-Toast-Toast-module__typeWarning--OSVDA .components-Toast-Toast-module__icon--A1ndn{border:1px solid var(--text-warning);background-color:rgba(0,0,0,0)}.components-Toast-Toast-module__textContent--pEAuQ{flex-grow:1;min-width:0;max-width:100%;overflow:visible}.components-Toast-Toast-module__textWrapper--tPF4O{white-space:normal;overflow-wrap:break-word;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;max-height:none;display:block;overflow:visible;text-overflow:clip;line-height:1.3;font-size:14px}.components-Toast-Toast-module__actions--AhXPy{flex-shrink:0;margin-left:var(--spacing-small)}.components-Toast-Toast-module__closeButton--gYgjI{flex-shrink:0;margin-left:var(--spacing-small);color:var(--text-secondary)}.components-Toast-Toast-module__typePositive--JyjQz{border-top:none;color:var(--text-success);background-color:var(--surface-success)}.components-Toast-Toast-module__typeNegative--Yccsl{border-top:none;color:var(--text-alert);background-color:var(--surface-alert)}.components-Toast-Toast-module__typeWarning--OSVDA{border-top:none;color:var(--text-warning);background-color:var(--surface-warning)}.components-Toast-Toast-module__toastEnter--s1q27{opacity:0;transform:translateY(20px) scale(0.8)}.components-Toast-Toast-module__toastEnterActive--duSzu{opacity:1;transform:translateY(0) scale(1);transition:opacity 400ms,transform 400ms}.components-Toast-Toast-module__toastExit--hP04i{opacity:1;transform:translateX(0)}.components-Toast-Toast-module__toastExitActive--m4iOp{opacity:0;transform:translateX(100%);transition:opacity 400ms,transform 400ms}@keyframes components-Toast-Toast-module__slideUp--fmJ3k{from{transform:translateY(20px) scale(0.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.components-Toast-Toast-module__toast--N1gRe{animation:components-Toast-Toast-module__slideUp--fmJ3k 400ms ease-out}
61
+ @keyframes components-Toast-Toast-module__scaleIn--VfDU1{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes components-Toast-Toast-module__iconFadeInScale--G5LvV{0%{opacity:0;transform:scale(0.5)}100%{opacity:1;transform:scale(1)}}.components-Toast-Toast-module__iconAnimation--w8pKh{animation:components-Toast-Toast-module__iconFadeInScale--G5LvV .3s ease-out .1s forwards;opacity:0}.components-Toast-Toast-module__toastContainer--PlU0m{position:fixed;z-index:9999999999;display:flex;flex-direction:column;gap:8px;max-width:500px;height:auto;max-height:none}.components-Toast-Toast-module__topRight--CTHQl{top:16px;right:16px}.components-Toast-Toast-module__bottomRight--YMbW9{bottom:8px;right:16px;flex-direction:column-reverse}.components-Toast-Toast-module__toast--N1gRe{position:absolute;right:0;width:100%;max-width:400px;height:auto;max-height:none;box-shadow:0px 4px 5px 0px rgba(0,0,0,.04);border:1px solid var(--divider-primary, rgba(16, 24, 27, 0.1));border-radius:40px;background-color:var(--surface-level-050);transition:transform .3s ease-out,opacity .3s ease-out;margin-bottom:8px;z-index:9999999999;animation:components-Toast-Toast-module__scaleIn--VfDU1 .3s ease-out forwards;transform-origin:top right;box-sizing:border-box}.components-Toast-Toast-module__toastContent--Qe2tI{padding:var(--spacing-xs) var(--spacing-xs);height:auto;max-height:none;min-height:100%;animation:components-Toast-Toast-module__scaleIn--VfDU1 .3s ease-out forwards;transform-origin:top right;width:100%;overflow:visible}.components-Toast-Toast-module__noLeftIcon--CkMpf{padding:var(--spacing-xs) var(--spacing-medium)}.components-Toast-Toast-module__icon--A1ndn{flex-shrink:0;height:36px;width:36px;display:flex;justify-content:center;align-items:center;padding:2px;border-radius:var(--border-radius-full);background-color:var(--surface-level-200);flex-shrink:0}.components-Toast-Toast-module__typePositive--JyjQz .components-Toast-Toast-module__icon--A1ndn{border:1px solid var(--text-success);background-color:rgba(0,0,0,0)}.components-Toast-Toast-module__typeNegative--Yccsl .components-Toast-Toast-module__icon--A1ndn{border:1px solid var(--text-alert);background-color:rgba(0,0,0,0)}.components-Toast-Toast-module__typeWarning--OSVDA .components-Toast-Toast-module__icon--A1ndn{border:1px solid var(--text-warning);background-color:rgba(0,0,0,0)}.components-Toast-Toast-module__textContent--pEAuQ{flex:1;min-width:0;max-width:100%;overflow:visible;flex-grow:1;min-width:0}.components-Toast-Toast-module__textWrapper--tPF4O{display:block;white-space:normal;overflow-wrap:break-word;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;max-height:none;overflow:visible;text-overflow:clip;line-height:1.3;font-size:14px;width:100%}.components-Toast-Toast-module__actions--AhXPy{flex-shrink:0;margin-left:var(--spacing-small);flex-shrink:0}.components-Toast-Toast-module__closeButton--gYgjI{flex-shrink:0;margin-left:var(--spacing-small);color:var(--text-secondary);flex-shrink:0}.components-Toast-Toast-module__typePositive--JyjQz{border-top:none;color:var(--text-success);background-color:var(--surface-success)}.components-Toast-Toast-module__typeNegative--Yccsl{border-top:none;color:var(--text-alert);background-color:var(--surface-alert)}.components-Toast-Toast-module__typeWarning--OSVDA{border-top:none;color:var(--text-warning);background-color:var(--surface-warning)}.components-Toast-Toast-module__toastEnter--s1q27{opacity:0;transform:translateY(20px) scale(0.8)}.components-Toast-Toast-module__toastEnterActive--duSzu{opacity:1;transform:translateY(0) scale(1);transition:opacity 400ms,transform 400ms}.components-Toast-Toast-module__toastExit--hP04i{opacity:1;transform:translateX(0)}.components-Toast-Toast-module__toastExitActive--m4iOp{opacity:0;transform:translateX(100%);transition:opacity 400ms,transform 400ms}@keyframes components-Toast-Toast-module__slideUp--fmJ3k{from{transform:translateY(20px) scale(0.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.components-Toast-Toast-module__toast--N1gRe{animation:components-Toast-Toast-module__slideUp--fmJ3k 400ms ease-out}
62
62
  a[href].components-AttentionBox-AttentionBoxLink-AttentionBoxLink-module__attentionBoxLink--_W_fb,a[href].components-AttentionBox-AttentionBoxLink-AttentionBoxLink-module__attentionBoxLink--_W_fb:hover{color:var(--text-primary);text-decoration:underline}
63
63
  .components-ButtonGroup-ButtonGroup-module__buttonGroup--ezRz4{display:flex;flex-direction:column}.components-ButtonGroup-ButtonGroup-module__subTextContainer--HRHkV{font:var(--font-text2-normal);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-ButtonGroup-ButtonGroup-module__buttonsContainer--NjEqF{display:flex;align-items:center;justify-content:center}.components-ButtonGroup-ButtonGroup-module__buttonsContainer--NjEqF .components-ButtonGroup-ButtonGroup-module__button--yAaaM{border:1px solid;background-color:var(--surface-level-100);border-color:var(--divider-primary)}.components-ButtonGroup-ButtonGroup-module__buttonsContainer--NjEqF .components-ButtonGroup-ButtonGroup-module__button--yAaaM.components-ButtonGroup-ButtonGroup-module__activeButton--iHPiI{z-index:20;background-color:var(--surface-selected);border-color:var(--primary-color)}.components-ButtonGroup-ButtonGroup-module__buttonsContainer--NjEqF .components-ButtonGroup-ButtonGroup-module__button--yAaaM.components-ButtonGroup-ButtonGroup-module__activeButton--iHPiI:hover{background-color:var(--surface-selected)}.components-ButtonGroup-ButtonGroup-module__optionText--cVnfX:not(.components-ButtonGroup-ButtonGroup-module__disabled--ebgWv){color:var(--text-primary)}.components-ButtonGroup-ButtonGroup-module__optionText--cVnfX:not(.components-ButtonGroup-ButtonGroup-module__disabled--ebgWv).components-ButtonGroup-ButtonGroup-module__selected--RQOfT{z-index:10;color:var(--text-primary)}.components-ButtonGroup-ButtonGroup-module__kindTertiary--mLHhc .components-ButtonGroup-ButtonGroup-module__button--yAaaM{border-color:rgba(0,0,0,0)}.components-ButtonGroup-ButtonGroup-module__kindTertiary--mLHhc .components-ButtonGroup-ButtonGroup-module__button--yAaaM:first-child{border-color:rgba(0,0,0,0)}.components-ButtonGroup-ButtonGroup-module__wrapper--Uv7_A.components-ButtonGroup-ButtonGroup-module__disabled--ebgWv{cursor:not-allowed}.components-ButtonGroup-ButtonGroup-module__button--yAaaM.components-ButtonGroup-ButtonGroup-module__disabled--ebgWv{cursor:not-allowed;background-color:var(--disabled-background-color);opacity:.5}.components-ButtonGroup-ButtonGroup-module__button--yAaaM.components-ButtonGroup-ButtonGroup-module__buttonDisabled--oVzL_{background-color:var(--disabled-background-color);opacity:.5;cursor:not-allowed}
64
64
  .components-HiddenText-HiddenText-module__hiddenTextWrapper--QY5cR{clip:rect(0, 0, 0, 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}
@@ -160,7 +160,7 @@ a[href].components-AttentionBox-AttentionBoxLink-AttentionBoxLink-module__attent
160
160
  .components-PageHeader-PageHeader-module__PageHeader--a9DoK{position:relative;padding-top:100px;width:100%}.components-PageHeader-PageHeader-module__PageHeaderBreadcrumbs--NnMgD ol{margin:0 -2px 0 -4px;padding:0px;height:4px}.components-PageHeader-PageHeader-module__PageHeaderRightActions--asxg2{position:relative;bottom:8px;width:100%;display:flex;flex-direction:column;margin-left:auto}.components-PageHeader-PageHeader-module__PageHeaderTitle--XNaAh{padding-bottom:8px;padding-top:0;margin:0}.components-PageHeader-PageHeader-module__PageHeaderTabs--ro6Er{padding:8px 0 0;margin-bottom:-1px}.components-PageHeader-PageHeader-module__PageHeaderTabs--ro6Er ul{padding:0}.components-PageHeader-PageHeader-module__PageHeaderDivider--sxJUH{margin:0px}@media(min-width: 768px){.components-PageHeader-PageHeader-module__PageHeaderContainer--L4mdP{flex-direction:row}}
161
161
  .components-HeaderActions-HeaderActions-module__h1Bold--KS5_Y{font:var(--font-h1-bold);letter-spacing:var(--letter-spacing-h1-bold);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h1Normal--BD5uP{font:var(--font-h1-normal);letter-spacing:var(--letter-spacing-h1-normal);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h1Light--JDhA6{font:var(--font-h1-light);letter-spacing:var(--letter-spacing-h1-light);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h2Bold--Ep35_{font:var(--font-h2-bold);letter-spacing:var(--letter-spacing-h2-bold);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h2Normal--AQ2m6{font:var(--font-h2-normal);letter-spacing:var(--letter-spacing-h2-normal);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h2Light--vbIGx{font:var(--font-h2-light);letter-spacing:var(--letter-spacing-h2-light);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h3Bold--LI5hP{font:var(--font-h3-bold);letter-spacing:var(--letter-spacing-h3-bold);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h3Normal--hmGNd{font:var(--font-h3-normal);letter-spacing:var(--letter-spacing-h3-normal);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h3Light--LYVP1{font:var(--font-h3-light);letter-spacing:var(--letter-spacing-h3-light);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h4Bold--Qs_f7{font:var(--font-h4-bold);letter-spacing:var(--letter-spacing-h4-bold);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h4Normal--YXXPm{font:var(--font-h4-normal);letter-spacing:var(--letter-spacing-h4-normal);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h4Light--ZWMSD{font:var(--font-h4-light);letter-spacing:var(--letter-spacing-h4-light);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h5Bold--FBW3w{font:var(--font-h5-bold);letter-spacing:var(--letter-spacing-h5-bold);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h5Normal--v4Jj9{font:var(--font-h5-normal);letter-spacing:var(--letter-spacing-h5-normal);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h5Light--gvUqL{font:var(--font-h5-light);letter-spacing:var(--letter-spacing-h5-light);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h6Bold--UzenP{font:var(--font-h6-bold);letter-spacing:var(--letter-spacing-h6-bold);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h6Normal--THa04{font:var(--font-h6-normal);letter-spacing:var(--letter-spacing-h6-normal);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__h6Light--REszS{font:var(--font-h6-light);letter-spacing:var(--letter-spacing-h6-light);-webkit-font-smoothing:var(--font-smoothing-webkit);-moz-osx-font-smoothing:var(--font-smoothing-moz)}.components-HeaderActions-HeaderActions-module__heading--VvPCO{margin:0}
162
162
  .components-SectionHeader-SectionHeader-module__sectionHeader--YdZI0{display:flex;width:100%;justify-content:space-between;border-bottom:1px solid var(--divider-primary);padding-right:12px;align-items:flex-end}.components-SectionHeader-SectionHeader-module__text--csEkI{font-weight:600}.components-SectionHeader-SectionHeader-module__large--oSmUk{font-size:18px;padding-top:30px;padding-bottom:10px;line-height:22px}.components-SectionHeader-SectionHeader-module__medium--LIcQg{font-size:14px;padding-top:14px;padding-bottom:6px;line-height:22px}.components-SectionHeader-SectionHeader-module__small--YWGnT{font-size:12px;line-height:15px;padding-top:6px;padding-bottom:2px}.components-SectionHeader-SectionHeader-module__indented--FUcgf{padding-left:16px}
163
- .components-Panel-Panel-module__panelHeaderStyled--z1A90{padding:0 8px}.components-Panel-Panel-module__panelHeaderInner--DysYW{position:sticky;top:0;right:0;left:0;display:flex;width:100%;z-index:1;flex-wrap:nowrap;align-items:center;background-color:var(--surface-level-100);line-height:1.5em;padding:.5rem 0;margin:0 auto;box-sizing:border-box}.components-Panel-Panel-module__backgroundStyled--LpGJ8{top:0;right:0;left:0;bottom:0;position:fixed;background-color:var(--surface-overlay);animation:components-Panel-Panel-module__overlay-fade-in--LoWTO 70ms var(--motion-timing-enter);transition:all .26s ease-in-out;z-index:7000}.components-Panel-Panel-module__textStyled--uXp3Z{font-weight:400;line-height:1.5em;padding:1rem 0;margin-bottom:0;display:flex;flex-direction:column;height:100%}.components-Panel-Panel-module__headerTextStyled--mpUua{font-size:15px;font-style:normal;font-weight:600;line-height:22px;font-weight:"500";text-transform:"capitalize"}.components-Panel-Panel-module__leftContent--PoHmV{display:flex;align-items:center}.components-Panel-Panel-module__rightContent--UJVpC{display:flex;align-items:center}.components-Panel-Panel-module__headerDivider--JZjDW{height:1px;background-color:var(--divider-color);margin-top:8px}.components-Panel-Panel-module__containerStyled--ZzlA3{padding:0 8px;flex:1}.components-Panel-Panel-module__panelMenuStyled--ptdRL{top:0;right:0;left:0;bottom:0;position:fixed;will-change:transform;transition:all .26s ease-in-out;z-index:100;display:flex}.components-Panel-Panel-module__innerStyled--QJvYG{position:relative;display:flex;flex-direction:column;overflow:hidden;background-color:var(--surface-level-100);box-shadow:var(--box-shadow-medium);max-width:100%;min-width:380px;z-index:9999}.components-Panel-Panel-module__CloseLayerStyled--FmSUp{background-color:rgba(0,0,0,0);position:absolute;top:0;right:0;left:0;bottom:0;width:100%;height:100%}.components-Panel-Panel-module__panelFooterStyled--MkmVA{position:sticky;display:flex;z-index:2000;bottom:0;right:0;left:0;display:flex;background-color:var(--surface-level-100);line-height:1.5em;justify-content:space-between;padding:8px 16px;align-items:flex-start;gap:8px}
163
+ .components-Panel-Panel-module__panelHeaderStyled--z1A90{padding:0 8px}.components-Panel-Panel-module__panelHeaderInner--DysYW{position:sticky;top:0;right:0;left:0;display:flex;width:100%;z-index:1;flex-wrap:nowrap;align-items:center;background-color:var(--surface-level-100);line-height:1.5em;padding:.5rem 0;margin:0 auto;box-sizing:border-box}.components-Panel-Panel-module__backgroundStyled--LpGJ8{top:0;right:0;left:0;bottom:0;position:fixed;background-color:var(--surface-overlay);animation:components-Panel-Panel-module__overlay-fade-in--LoWTO 70ms var(--motion-timing-enter);transition:all .26s ease-in-out;z-index:7000}.components-Panel-Panel-module__textStyled--uXp3Z{font-weight:400;line-height:1.5em;padding:1rem 0;margin-bottom:0;display:flex;flex-direction:column;height:100%}.components-Panel-Panel-module__headerTextStyled--mpUua{font-size:15px;font-style:normal;font-weight:600;line-height:22px;font-weight:"500";text-transform:"capitalize"}.components-Panel-Panel-module__leftContent--PoHmV{display:flex;align-items:center}.components-Panel-Panel-module__rightContent--UJVpC{display:flex;align-items:center}.components-Panel-Panel-module__headerDivider--JZjDW{height:1px;background-color:var(--divider-color);margin-top:8px}.components-Panel-Panel-module__containerStyled--ZzlA3{padding:0 8px;flex:1}.components-Panel-Panel-module__panelMenuStyled--ptdRL{top:0;right:0;left:0;bottom:0;position:fixed;will-change:transform;transition:all .26s ease-in-out;z-index:9999;display:flex}.components-Panel-Panel-module__innerStyled--QJvYG{position:relative;display:flex;flex-direction:column;overflow:hidden;background-color:var(--surface-level-100);box-shadow:var(--box-shadow-medium);max-width:100%;min-width:380px;z-index:9999}.components-Panel-Panel-module__CloseLayerStyled--FmSUp{background-color:rgba(0,0,0,0);position:absolute;top:0;right:0;left:0;bottom:0;width:100%;height:100%}.components-Panel-Panel-module__panelFooterStyled--MkmVA{position:sticky;display:flex;z-index:2000;bottom:0;right:0;left:0;display:flex;background-color:var(--surface-level-100);line-height:1.5em;justify-content:space-between;padding:8px 16px;align-items:flex-start;gap:8px}
164
164
  .components-Sidebar-Sidebar-module__headerStyled--rynmG{display:flex;align-items:center;margin-bottom:50px}.components-Sidebar-Sidebar-module__headerStyled--rynmG img{margin-top:4px;margin-left:4px}.components-Sidebar-Sidebar-module__closeIcon--g5otE{padding-right:5px;margin-left:0px}.components-Sidebar-Sidebar-module__containerStyled--fKbnr{padding:0 1rem;flex:1}.components-Sidebar-Sidebar-module__sidebarMenuStyled--QJmkS{top:0;right:0;left:0;bottom:0;position:fixed;will-change:transform;transition:all .26s ease-in-out;z-index:9999;display:flex}.components-Sidebar-Sidebar-module__innerStyled--fYUQn{position:relative;display:flex;flex-direction:column;overflow:hidden;overflow-y:auto;box-shadow:var(--box-shadow-small);background-color:var(--surface-level-100);padding:16px 6px 0 6px;max-width:100%;width:100vw;z-index:9999;font-size:14px;color:var(--text-secondary)}@media(min-width: 576px){.components-Sidebar-Sidebar-module__innerStyled--fYUQn{width:50vw}}@media(min-width: 768px){.components-Sidebar-Sidebar-module__innerStyled--fYUQn{width:25vw}}@media(min-width: 992px){.components-Sidebar-Sidebar-module__innerStyled--fYUQn{width:20vw}}@media(min-width: 1200px){.components-Sidebar-Sidebar-module__innerStyled--fYUQn{width:15rem}}.components-Sidebar-Sidebar-module__overlay--ff5Fy{top:0;right:0;left:0;bottom:0;position:fixed;background-color:rgba(0,0,0,.3);animation:components-Sidebar-Sidebar-module__overlay-fade-in--t74sS 70ms var(--motion-timing-enter);transition:all .26s ease-in-out;z-index:7000}.components-Sidebar-Sidebar-module__CloseLayerStyled--uOas2{background-color:rgba(0,0,0,0);position:absolute;top:0;right:0;left:0;bottom:0;width:100%;height:100%}.components-Sidebar-Sidebar-module__sectionLabelStyled--nPiod{display:flex;align-items:center;font-weight:600;padding:28px 4px 8px 4px;line-height:22px;gap:8px}.components-Sidebar-Sidebar-module__menuItemStyled--qR3lO{height:38px;display:flex;align-items:center;border-radius:4px}.components-Sidebar-Sidebar-module__menuItemLink--Zk95n{color:var(--text-secondary);text-decoration:none;font-weight:400;padding-left:28px;height:100%;width:100%;border-radius:var(--border-radius-medium);display:flex;align-items:center;transition:all var(--motion-productive-medium) ease 0ms}.components-Sidebar-Sidebar-module__menuItemLink--Zk95n:hover{cursor:pointer;background:var(--surface-level-200);color:var(--text-primary);text-decoration:none}.components-Sidebar-Sidebar-module__menuItemLink--Zk95n.components-Sidebar-Sidebar-module__withIcon--TdFSy{padding-left:4px}.components-Sidebar-Sidebar-module__menuItemLink--Zk95n .components-Sidebar-Sidebar-module__menuIcon--jIXKC{margin-right:4px}.components-Sidebar-Sidebar-module__menuItemCounter--ehHDD{margin-left:8px;margin-right:8px}.components-Sidebar-Sidebar-module__active--f9vsU{background:var(--surface-level-200);color:var(--text-primary)}.components-Sidebar-Sidebar-module__active--f9vsU:hover{background:var(--surface-level-300)}
165
165
  .folder-container{cursor:pointer;line-height:1;-webkit-user-select:none;user-select:none}.folder-container .names{display:flex;height:1.75rem;align-items:center;position:relative;border-radius:6px}.folder-container .names[data-level]{margin-left:calc(1.875rem*attr(data-level))}.folder-container .names:hover,.folder-container .names.active{background-color:#f5f7f8;cursor:pointer}.folder-container>.names{margin-bottom:4px}.folder-container .status{width:.875rem;height:.875rem;z-index:10;display:inline-flex;align-items:center;justify-content:center;margin-right:10px}.folder-container .icon{width:1.5rem;height:100%;display:inline-flex;align-items:center}.folder-container .name{transition:opacity 100ms ease 0ms;color:var(--text-primary);white-space:nowrap;font-size:.875rem}.folder-container .name:hover{opacity:.7}.folder-container .name .indent{position:absolute !important;top:50% !important;transform:translateY(-50%) !important;width:1px !important;height:100% !important;background-color:var(--text-primary) !important;margin-left:-1px !important}.folder-container .extra{font-size:.75rem;align-self:baseline;padding-left:4px;color:var(--text-primary)}.folder-container .content{display:flex;flex-direction:column;height:auto}
166
166
  .file-container{cursor:pointer;line-height:1;-webkit-user-select:none;user-select:none;border-radius:6px;margin-bottom:4px}.file-container:hover,.file-container.active{background-color:#f5f7f8;cursor:pointer}.names{display:flex;height:1.75rem;align-items:center;position:relative;padding-left:23px;padding-right:10px}.icon{width:1.5rem;height:100%;display:inline-flex;align-items:center}.name{transition:opacity 100ms ease 0ms;color:var(--text-primary);white-space:nowrap;font-size:.875rem}.name:hover{opacity:.7}.extra{font-size:.75rem;align-self:baseline;padding-left:4px;color:var(--text-primary)}