@kaizen/components 1.35.1 → 1.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/dist/cjs/Button/GenericButton/GenericButton.cjs +1 -1
  2. package/dist/cjs/Button/GenericButton/GenericButton.cjs.map +1 -1
  3. package/dist/cjs/KaizenProvider/KaizenProvider.cjs +6 -1
  4. package/dist/cjs/KaizenProvider/KaizenProvider.cjs.map +1 -1
  5. package/dist/cjs/Modal/ContextModal/ContextModal.cjs +9 -6
  6. package/dist/cjs/Modal/ContextModal/ContextModal.cjs.map +1 -1
  7. package/dist/cjs/MultiSelect/subcomponents/Popover/Popover.cjs +1 -1
  8. package/dist/cjs/MultiSelect/subcomponents/Popover/Popover.cjs.map +1 -1
  9. package/dist/cjs/Notification/ToastNotification/ToastNotification/ToastNotification.cjs +33 -0
  10. package/dist/cjs/Notification/ToastNotification/ToastNotification/ToastNotification.cjs.map +1 -0
  11. package/dist/cjs/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.cjs +36 -0
  12. package/dist/cjs/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.cjs.map +1 -0
  13. package/dist/cjs/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.module.scss.cjs +7 -0
  14. package/dist/cjs/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.module.scss.cjs.map +1 -0
  15. package/dist/cjs/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/ToastNotificationsMap.cjs +42 -0
  16. package/dist/cjs/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/ToastNotificationsMap.cjs.map +1 -0
  17. package/dist/cjs/Notification/ToastNotification/context/ToastNotificationContext.cjs +72 -0
  18. package/dist/cjs/Notification/ToastNotification/context/ToastNotificationContext.cjs.map +1 -0
  19. package/dist/cjs/Notification/ToastNotification/hooks/useToastNotification.cjs +9 -0
  20. package/dist/cjs/Notification/ToastNotification/hooks/useToastNotification.cjs.map +1 -0
  21. package/dist/cjs/RichTextEditor/RichTextEditor/RichTextEditor.cjs +6 -2
  22. package/dist/cjs/RichTextEditor/RichTextEditor/RichTextEditor.cjs.map +1 -1
  23. package/dist/cjs/__future__/Select/Select.cjs +24 -2
  24. package/dist/cjs/__future__/Select/Select.cjs.map +1 -1
  25. package/dist/cjs/dts/Modal/ContextModal/ContextModal.d.ts +2 -1
  26. package/dist/cjs/dts/MultiSelect/MultiSelect.d.ts +4 -2
  27. package/dist/cjs/dts/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.d.ts +3 -0
  28. package/dist/cjs/dts/MultiSelect/types.d.ts +6 -0
  29. package/dist/cjs/dts/Notification/ToastNotification/ToastNotification/ToastNotification.d.ts +16 -0
  30. package/dist/cjs/dts/Notification/ToastNotification/ToastNotification/index.d.ts +1 -0
  31. package/dist/cjs/dts/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.d.ts +4 -0
  32. package/dist/cjs/dts/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/ToastNotificationsMap.d.ts +12 -0
  33. package/dist/cjs/dts/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/index.d.ts +1 -0
  34. package/dist/cjs/dts/Notification/ToastNotification/context/ToastNotificationContext.d.ts +21 -0
  35. package/dist/cjs/dts/Notification/ToastNotification/hooks/useToastNotification.d.ts +2 -0
  36. package/dist/cjs/dts/Notification/ToastNotification/index.d.ts +3 -2
  37. package/dist/cjs/dts/Notification/ToastNotification/types.d.ts +1 -9
  38. package/dist/cjs/dts/Notification/index.d.ts +1 -0
  39. package/dist/cjs/dts/RichTextEditor/RichTextEditor/RichTextEditor.d.ts +1 -1
  40. package/dist/cjs/dts/__future__/Select/Select.d.ts +5 -1
  41. package/dist/cjs/index.cjs +6 -0
  42. package/dist/cjs/index.cjs.map +1 -1
  43. package/dist/cjs/index.css +4 -3
  44. package/dist/esm/Button/GenericButton/GenericButton.mjs +1 -1
  45. package/dist/esm/Button/GenericButton/GenericButton.mjs.map +1 -1
  46. package/dist/esm/KaizenProvider/KaizenProvider.mjs +6 -1
  47. package/dist/esm/KaizenProvider/KaizenProvider.mjs.map +1 -1
  48. package/dist/esm/Modal/ContextModal/ContextModal.mjs +9 -6
  49. package/dist/esm/Modal/ContextModal/ContextModal.mjs.map +1 -1
  50. package/dist/esm/MultiSelect/subcomponents/Popover/Popover.mjs +1 -1
  51. package/dist/esm/MultiSelect/subcomponents/Popover/Popover.mjs.map +1 -1
  52. package/dist/esm/Notification/ToastNotification/ToastNotification/ToastNotification.mjs +31 -0
  53. package/dist/esm/Notification/ToastNotification/ToastNotification/ToastNotification.mjs.map +1 -0
  54. package/dist/esm/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.mjs +34 -0
  55. package/dist/esm/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.mjs.map +1 -0
  56. package/dist/esm/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.module.scss.mjs +5 -0
  57. package/dist/esm/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.module.scss.mjs.map +1 -0
  58. package/dist/esm/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/ToastNotificationsMap.mjs +40 -0
  59. package/dist/esm/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/ToastNotificationsMap.mjs.map +1 -0
  60. package/dist/esm/Notification/ToastNotification/context/ToastNotificationContext.mjs +69 -0
  61. package/dist/esm/Notification/ToastNotification/context/ToastNotificationContext.mjs.map +1 -0
  62. package/dist/esm/Notification/ToastNotification/hooks/useToastNotification.mjs +7 -0
  63. package/dist/esm/Notification/ToastNotification/hooks/useToastNotification.mjs.map +1 -0
  64. package/dist/esm/RichTextEditor/RichTextEditor/RichTextEditor.mjs +6 -2
  65. package/dist/esm/RichTextEditor/RichTextEditor/RichTextEditor.mjs.map +1 -1
  66. package/dist/esm/__future__/Select/Select.mjs +25 -3
  67. package/dist/esm/__future__/Select/Select.mjs.map +1 -1
  68. package/dist/esm/dts/Modal/ContextModal/ContextModal.d.ts +2 -1
  69. package/dist/esm/dts/MultiSelect/MultiSelect.d.ts +4 -2
  70. package/dist/esm/dts/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.d.ts +3 -0
  71. package/dist/esm/dts/MultiSelect/types.d.ts +6 -0
  72. package/dist/esm/dts/Notification/ToastNotification/ToastNotification/ToastNotification.d.ts +16 -0
  73. package/dist/esm/dts/Notification/ToastNotification/ToastNotification/index.d.ts +1 -0
  74. package/dist/esm/dts/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.d.ts +4 -0
  75. package/dist/esm/dts/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/ToastNotificationsMap.d.ts +12 -0
  76. package/dist/esm/dts/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/index.d.ts +1 -0
  77. package/dist/esm/dts/Notification/ToastNotification/context/ToastNotificationContext.d.ts +21 -0
  78. package/dist/esm/dts/Notification/ToastNotification/hooks/useToastNotification.d.ts +2 -0
  79. package/dist/esm/dts/Notification/ToastNotification/index.d.ts +3 -2
  80. package/dist/esm/dts/Notification/ToastNotification/types.d.ts +1 -9
  81. package/dist/esm/dts/Notification/index.d.ts +1 -0
  82. package/dist/esm/dts/RichTextEditor/RichTextEditor/RichTextEditor.d.ts +1 -1
  83. package/dist/esm/dts/__future__/Select/Select.d.ts +5 -1
  84. package/dist/esm/index.css +5 -4
  85. package/dist/esm/index.mjs +3 -0
  86. package/dist/esm/index.mjs.map +1 -1
  87. package/dist/index.d.ts +50 -3
  88. package/dist/styles.css +1 -1
  89. package/package.json +2 -2
  90. package/src/Button/Button/_docs/Button.mdx +5 -0
  91. package/src/Button/Button/_docs/Button.stories.tsx +27 -1
  92. package/src/Button/GenericButton/GenericButton.spec.tsx +69 -0
  93. package/src/Button/GenericButton/GenericButton.tsx +1 -1
  94. package/src/DatePicker/DatePicker.spec.tsx +1 -1
  95. package/src/KaizenProvider/KaizenProvider.tsx +6 -1
  96. package/src/Modal/ContextModal/ContextModal.spec.tsx +3 -3
  97. package/src/Modal/ContextModal/ContextModal.tsx +9 -5
  98. package/src/MultiSelect/MultiSelect.spec.tsx +56 -1
  99. package/src/MultiSelect/MultiSelect.tsx +10 -3
  100. package/src/MultiSelect/_docs/MultiSelect.mdx +10 -0
  101. package/src/MultiSelect/_docs/MultiSelect.stickersheet.stories.tsx +81 -43
  102. package/src/MultiSelect/_docs/MultiSelect.stories.tsx +21 -0
  103. package/src/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.module.scss +9 -0
  104. package/src/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.tsx +8 -1
  105. package/src/MultiSelect/subcomponents/MultiSelectToggle/_docs/MultiSelectToggle.stickersheet.stories.tsx +17 -0
  106. package/src/MultiSelect/subcomponents/Popover/Popover.tsx +1 -1
  107. package/src/MultiSelect/types.ts +7 -0
  108. package/src/Notification/ToastNotification/ToastNotification/ToastNotification.spec.tsx +33 -0
  109. package/src/Notification/ToastNotification/ToastNotification/ToastNotification.tsx +48 -0
  110. package/src/Notification/ToastNotification/ToastNotification/index.ts +1 -0
  111. package/src/Notification/ToastNotification/{subcomponents/ToastNotificationsList → ToastNotificationsList}/ToastNotificationsList.module.scss +1 -1
  112. package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.tsx +40 -0
  113. package/src/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/ToastNotificationsMap.tsx +49 -0
  114. package/src/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/index.ts +1 -0
  115. package/src/Notification/ToastNotification/_docs/ToastNotification.mdx +19 -14
  116. package/src/Notification/ToastNotification/_docs/ToastNotification.stickersheet.stories.tsx +33 -70
  117. package/src/Notification/ToastNotification/_docs/ToastNotification.stories.tsx +123 -93
  118. package/src/Notification/ToastNotification/context/ToastNotificationContext.tsx +96 -0
  119. package/src/Notification/ToastNotification/hooks/useToastNotification.ts +9 -0
  120. package/src/Notification/ToastNotification/index.ts +3 -2
  121. package/src/Notification/ToastNotification/types.ts +1 -18
  122. package/src/Notification/index.ts +1 -0
  123. package/src/RichTextEditor/RichTextEditor/RichTextEditor.tsx +6 -1
  124. package/src/RichTextEditor/utils/commands/addMark.spec.ts +0 -1
  125. package/src/Tooltip/Tooltip.spec.tsx +6 -1
  126. package/src/__future__/Select/Select.spec.tsx +109 -14
  127. package/src/__future__/Select/Select.tsx +32 -3
  128. package/src/__future__/Select/_docs/Select.mdx +8 -0
  129. package/src/__future__/Select/_docs/Select.stories.tsx +29 -0
  130. package/dist/cjs/dts/Notification/ToastNotification/ToastNotification.d.ts +0 -14
  131. package/dist/cjs/dts/Notification/ToastNotification/subcomponents/ToastNotificationManager/ToastNotificationManager.d.ts +0 -7
  132. package/dist/cjs/dts/Notification/ToastNotification/subcomponents/ToastNotificationManager/index.d.ts +0 -1
  133. package/dist/cjs/dts/Notification/ToastNotification/subcomponents/ToastNotificationsList/ToastNotificationsList.d.ts +0 -11
  134. package/dist/cjs/dts/Notification/ToastNotification/subcomponents/ToastNotificationsListContainer/ToastNotificationsListContainer.d.ts +0 -7
  135. package/dist/cjs/dts/Notification/ToastNotification/subcomponents/ToastNotificationsListContainer/index.d.ts +0 -1
  136. package/dist/esm/dts/Notification/ToastNotification/ToastNotification.d.ts +0 -14
  137. package/dist/esm/dts/Notification/ToastNotification/subcomponents/ToastNotificationManager/ToastNotificationManager.d.ts +0 -7
  138. package/dist/esm/dts/Notification/ToastNotification/subcomponents/ToastNotificationManager/index.d.ts +0 -1
  139. package/dist/esm/dts/Notification/ToastNotification/subcomponents/ToastNotificationsList/ToastNotificationsList.d.ts +0 -11
  140. package/dist/esm/dts/Notification/ToastNotification/subcomponents/ToastNotificationsListContainer/ToastNotificationsListContainer.d.ts +0 -7
  141. package/dist/esm/dts/Notification/ToastNotification/subcomponents/ToastNotificationsListContainer/index.d.ts +0 -1
  142. package/src/Notification/ToastNotification/ToastNotification.spec.tsx +0 -31
  143. package/src/Notification/ToastNotification/ToastNotification.tsx +0 -43
  144. package/src/Notification/ToastNotification/subcomponents/ToastNotificationManager/ToastNotificationManager.spec.tsx +0 -144
  145. package/src/Notification/ToastNotification/subcomponents/ToastNotificationManager/ToastNotificationManager.tsx +0 -135
  146. package/src/Notification/ToastNotification/subcomponents/ToastNotificationManager/index.ts +0 -1
  147. package/src/Notification/ToastNotification/subcomponents/ToastNotificationsList/ToastNotificationsList.tsx +0 -40
  148. package/src/Notification/ToastNotification/subcomponents/ToastNotificationsListContainer/ToastNotificationsListContainer.spec.tsx +0 -73
  149. package/src/Notification/ToastNotification/subcomponents/ToastNotificationsListContainer/ToastNotificationsListContainer.tsx +0 -31
  150. package/src/Notification/ToastNotification/subcomponents/ToastNotificationsListContainer/index.ts +0 -1
  151. /package/dist/cjs/dts/Notification/ToastNotification/{subcomponents/ToastNotificationsList → ToastNotificationsList}/index.d.ts +0 -0
  152. /package/dist/esm/dts/Notification/ToastNotification/{subcomponents/ToastNotificationsList → ToastNotificationsList}/index.d.ts +0 -0
  153. /package/src/Notification/ToastNotification/{subcomponents/ToastNotificationsList → ToastNotificationsList}/index.ts +0 -0
@@ -7,10 +7,10 @@
7
7
  .Wrapper-module_wrapper__89WmC{background:var(--color-gray-100,#f9f9f9);display:grid;grid-template-rows:min-content 1fr min-content;min-height:100vh;position:relative}
8
8
  .FooterActions-module_footerAction__v7eL-{display:flex;flex-basis:auto;flex-grow:1}.FooterActions-module_footerActionPrevious__2XByZ{grid-area:"prev";justify-content:start}.FooterActions-module_footerActionNext__IKRta{grid-area:"next";justify-content:end}
9
9
  .FooterRoot-module_footerRoot__N-6nQ{align-items:center;background:var(--color-blue-500,#0168b3);display:grid;flex-grow:1;gap:var(--spacing-16,1rem);grid-template-areas:"prev stepper next";grid-template-columns:1fr 2fr 1fr;justify-content:center;padding:var(--spacing-24,1.5rem) var(--spacing-12,.75rem)}@media (min-width:768px){.FooterRoot-module_footerRoot__N-6nQ{bottom:0;grid-template-columns:1fr 5fr 1fr;padding:var(--spacing-24,1.5rem) var(--spacing-32,2rem);position:sticky;z-index:1}}
10
- .Titles-module_titles__JYwU0{align-items:center;flex-grow:1;grid-area:titles;justify-content:center}.Titles-module_pageTitle__YDp9S,.Titles-module_titles__JYwU0{display:flex;flex-direction:column}.Titles-module_prefix__40x8n{margin-bottom:var(--spacing-4,.25rem)}.Titles-module_status__huuP7{margin-top:var(--spacing-8,.5rem)}
11
10
  .Actions-module_actions__Prrp0{align-items:center;display:flex;flex-direction:column;flex-grow:1;grid-area:actions;justify-content:center}@media (min-width:768px){.Actions-module_actions__Prrp0{align-items:flex-start;flex-direction:row;justify-content:flex-end;margin-top:calc(var(--spacing-12, .75rem)*-1)}}
12
- .Branding-module_branding__4h-rD{display:flex;flex-grow:1;grid-area:branding;justify-content:center;padding-top:var(--spacing-4,.25rem)}@media (min-width:768px){.Branding-module_branding__4h-rD{justify-content:unset}}.Branding-module_logo__vqqec{flex-basis:7.5rem}
11
+ .Titles-module_titles__JYwU0{align-items:center;flex-grow:1;grid-area:titles;justify-content:center}.Titles-module_pageTitle__YDp9S,.Titles-module_titles__JYwU0{display:flex;flex-direction:column}.Titles-module_prefix__40x8n{margin-bottom:var(--spacing-4,.25rem)}.Titles-module_status__huuP7{margin-top:var(--spacing-8,.5rem)}
13
12
  .ProgressStepper-module_stepsContainer__WMxXN{grid-area:stepper;width:100%}.ProgressStepper-module_stepList__b1wWX{align-items:flex-end;display:none;justify-content:center;list-style:none;margin:0;padding:0}@media (min-width:768px){.ProgressStepper-module_stepList__b1wWX{display:flex}}.ProgressStepper-module_step__-Ep19{container:step/inline-size;display:flex;flex-basis:100%;flex-grow:1;justify-content:center;max-width:var(--spacing-96,6rem);overflow-wrap:break-word;position:relative}.ProgressStepper-module_stepContent__B4uFS{align-items:center;display:flex;flex-direction:column}.ProgressStepper-module_stepIndicator__-qEWT{height:1.25rem;position:relative;width:1.25rem}.ProgressStepper-module_stepName__hS4lp{display:none;font-weight:var(--typography-paragraph-bold-font-weight,600);margin-bottom:var(--spacing-12,.75rem);text-align:center}.ProgressStepper-module_stepIcon__0Kh4y{color:var(--color-white,#fff);height:1.25rem;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:1.25rem}.ProgressStepper-module_stepDivider__KEZPU{border:var(--spacing-1,.0625rem) solid var(--color-white,#fff);border-radius:var(--border-solid-border-radius,7px);display:flex;flex-grow:1;height:0;left:100%;margin:0;min-width:calc(100% - var(--spacing-24, 1.5rem));position:absolute;top:calc(100% - .625rem);transform:translateX(-50%)}[dir=rtl] .ProgressStepper-module_stepDivider__KEZPU{left:unset;right:100%;transform:translateX(50%)}.ProgressStepper-module_stepperDescription__B00hX{display:flex;justify-content:center}@media (min-width:768px){.ProgressStepper-module_stepperDescription__B00hX{height:0;overflow:hidden;position:absolute;width:0}}@container step (min-width: 4.5rem){.ProgressStepper-module_stepName__hS4lp{display:inline}}
13
+ .Branding-module_branding__4h-rD{display:flex;flex-grow:1;grid-area:branding;justify-content:center;padding-top:var(--spacing-4,.25rem)}@media (min-width:768px){.Branding-module_branding__4h-rD{justify-content:unset}}.Branding-module_logo__vqqec{flex-basis:7.5rem}
14
14
  .Root-module_root__7DVw5{align-items:center;background-color:var(--color-white,#fff);box-shadow:var(--shadow-small-box-shadow,0 3px 16px rgba(0,0,0,.06),0 1px 3px rgba(0,0,0,.1));display:grid;flex-grow:1;gap:var(--spacing-16,1rem);grid-template:"branding" min-content "titles" max-content "actions" min-content/1fr;justify-content:center;padding:var(--spacing-24,1.5rem);text-align:center}@media (min-width:768px){.Root-module_root__7DVw5{align-items:start;grid-template:"branding titles actions" min-content/1fr max-content 1fr;position:sticky;top:0;z-index:1}}
15
15
  .SVG-module_icon__8J5Ev{display:inline-block;height:20px;width:20px}.SVG-module_icon__8J5Ev>use{pointer-events:none}@media screen and (-ms-high-contrast:active){.SVG-module_icon__8J5Ev{color:#000}}@media screen and (-ms-high-contrast:white-on-black){.SVG-module_icon__8J5Ev{color:#fff}}@media screen and (-ms-high-contrast:black-on-white){.SVG-module_icon__8J5Ev{color:#000}}.SVG-module_inheritSize__Q8iam{display:block;height:inherit;width:inherit}
16
16
  .Avatar-module_wrapper__LY2q2{align-items:center;background:var(--color-gray-300,#eaeaec);border-radius:100%;box-sizing:border-box;display:flex;justify-content:center;overflow:hidden}.Avatar-module_wrapper__LY2q2:not(.Avatar-module_small__PeksS){border:3px solid var(--color-white,#fff);box-shadow:var(--shadow-small-box-shadow,0 3px 16px rgba(0,0,0,.06),0 1px 3px rgba(0,0,0,.1))}.Avatar-module_wrapper__LY2q2.Avatar-module_personal__2U7--{background:var(--color-orange-100,#fff0e8)}.Avatar-module_wrapper__LY2q2.Avatar-module_otherUser__b-drl{background:var(--color-gray-300,#eaeaec)}.Avatar-module_wrapper__LY2q2.Avatar-module_company__2qtJE{background:var(--color-white,#fff);border:0;border-radius:var(--border-solid-border-radius,7px);padding:6px}.Avatar-module_wrapper__LY2q2.Avatar-module_small__PeksS{height:1.25rem;width:1.25rem}.Avatar-module_wrapper__LY2q2.Avatar-module_small__PeksS .Avatar-module_initials__VDY2Q{margin-bottom:-1px}.Avatar-module_wrapper__LY2q2.Avatar-module_small__PeksS.Avatar-module_company__2qtJE{padding:0}.Avatar-module_wrapper__LY2q2.Avatar-module_medium__Vy3V8{height:3rem;width:3rem}.Avatar-module_wrapper__LY2q2.Avatar-module_medium__Vy3V8 .Avatar-module_initials__VDY2Q{margin-bottom:-1px}.Avatar-module_wrapper__LY2q2.Avatar-module_large__qiNWs{height:4.5rem;width:4.5rem}.Avatar-module_wrapper__LY2q2.Avatar-module_xlarge__Vx4IG{height:6rem;width:6rem}.Avatar-module_wrapper__LY2q2.Avatar-module_xxlarge__oOoGq{height:7.75rem;width:7.75rem}.Avatar-module_wrapper__LY2q2 .Avatar-module_initials__VDY2Q{speak-as:spell-out;border-bottom:none;text-decoration:none}.Avatar-module_avatarImage__FuULy{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.Avatar-module_loading__i9V-D .Avatar-module_avatarImage__FuULy{display:none}.Avatar-module_companyAvatarImage__7rlfG{border-radius:4px;box-sizing:border-box;-o-object-fit:contain;object-fit:contain}.Avatar-module_fallbackIcon__MPWxq{color:rgba(var(--color-purple-800-rgb,47,36,56),.7);width:28px}.Avatar-module_xxlarge__oOoGq .Avatar-module_fallbackIcon__MPWxq{width:75px}.Avatar-module_xlarge__Vx4IG .Avatar-module_fallbackIcon__MPWxq{width:60px}.Avatar-module_large__qiNWs .Avatar-module_fallbackIcon__MPWxq{width:35px}.Avatar-module_medium__Vy3V8 .Avatar-module_fallbackIcon__MPWxq{margin-bottom:-1px;width:25px}.Avatar-module_small__PeksS .Avatar-module_fallbackIcon__MPWxq{margin-bottom:-1px;width:10px}.Avatar-module_initials__VDY2Q{box-sizing:border-box;color:var(--color-purple-800,#2f2438);font-family:var(--typography-heading-1-font-family,"Inter","Noto Sans",Helvetica,Arial,sans-serif);font-size:22px;font-weight:var(--typography-heading-1-font-weight,700);letter-spacing:var(--typography-heading-3-letter-spacing,normal);padding-left:5px;padding-right:5px;text-align:center;width:100%}.Avatar-module_initials__VDY2Q:not(.Avatar-module_longName__31Yuf):before{content:"";display:block;margin-top:-.001em}.Avatar-module_xlarge__Vx4IG .Avatar-module_initials__VDY2Q,.Avatar-module_xxlarge__oOoGq .Avatar-module_initials__VDY2Q{font-size:34px;letter-spacing:var(--typography-heading-1-letter-spacing,normal)}.Avatar-module_medium__Vy3V8 .Avatar-module_initials__VDY2Q{font-size:16px}.Avatar-module_medium__Vy3V8 .Avatar-module_initials__VDY2Q,.Avatar-module_small__PeksS .Avatar-module_initials__VDY2Q{font-weight:var(--typography-heading-5-font-weight,600);letter-spacing:var(--typography-heading-5-letter-spacing,normal)}.Avatar-module_small__PeksS .Avatar-module_initials__VDY2Q{font-size:8px}
@@ -96,6 +96,8 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs{all:unset;-webkit-ap
96
96
  .ClearAllButton-module_clearAllButton__XNkm2{white-space:nowrap}
97
97
  .FilterBar-module_filterBar__ZhQLn{background-color:var(--color-white,#fff);border-radius:var(--border-solid-border-radius,7px);box-shadow:var(--shadow-small-box-shadow,0 3px 16px rgba(0,0,0,.06),0 1px 3px rgba(0,0,0,.1));display:flex;padding:var(--spacing-8,.5rem)}.FilterBar-module_filtersContainer__v6OJn{display:flex;flex-grow:1;flex-wrap:wrap;gap:var(--spacing-8,.5rem)}
98
98
  .GuidanceBlock-module_rightMargin__-iEFa{margin-right:var(--spacing-8,.5rem)}.GuidanceBlock-module_noRightMargin__4Uy9N{margin-right:0}.GuidanceBlock-module_banner__FxKcd.GuidanceBlock-module_noMaxWidth__UzHP1{max-width:inherit}.GuidanceBlock-module_banner__FxKcd{background:var(--color-white,#fff);border:var(--border-borderless-border-width,2px) var(--border-borderless-border-style,solid) var(--border-borderless-border-color,transparent);border-radius:var(--border-solid-border-radius,7px);box-shadow:var(--shadow-small-box-shadow,0 3px 16px rgba(0,0,0,.06),0 1px 3px rgba(0,0,0,.1));color:var(--color-purple-800,#2f2438);display:flex;flex-direction:column;gap:var(--spacing-sm,.75rem);max-width:1080px;min-width:320px;padding:var(--spacing-lg,2.25rem);position:relative;top:-1px;transition:opacity var(--animation-duration-slow,.4s) ease,margin-top var(--animation-duration-fast,.3s) var(--animation-duration-slow,.4s) ease}@media (min-width:1024px){.GuidanceBlock-module_banner__FxKcd{align-items:center;flex-direction:row;gap:var(--spacing-md,1.5rem);min-height:calc(12rem - var(--spacing-lg, 2.25rem)*2);width:auto}}@media (max-width:767px){.GuidanceBlock-module_banner__FxKcd{min-width:unset}}.GuidanceBlock-module_illustrationWrapper__AEljX{display:flex}@media (min-width:768px) and (max-width:1023px){.GuidanceBlock-module_illustrationWrapper__AEljX{align-self:center;justify-content:center;padding:var(--spacing-sm,.75rem);text-align:center}}@media (max-width:767px){.GuidanceBlock-module_illustrationWrapper__AEljX{display:none}}.GuidanceBlock-module_illustration__sU1Vu{height:155px;width:155px}.GuidanceBlock-module_hasSceneIllustration__tvFRD .GuidanceBlock-module_illustration__sU1Vu{display:flex;height:auto;justify-content:center;max-height:300px;max-width:300px;width:300px}.GuidanceBlock-module_hasSceneIllustration__tvFRD .GuidanceBlock-module_illustration__sU1Vu figure{aspect-ratio:4/3;max-height:100%;max-width:100%}.GuidanceBlock-module_hasSceneIllustration__tvFRD .GuidanceBlock-module_illustration__sU1Vu img{height:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center}.GuidanceBlock-module_descriptionContainer__aywtY{align-self:center;flex:1;max-width:780px;text-align:center}@media (min-width:1024px){.GuidanceBlock-module_descriptionContainer__aywtY{padding:0 var(--spacing-sm,.75rem);text-align:left}}@media (max-width:767px){.GuidanceBlock-module_descriptionContainer__aywtY{margin:var(--spacing-sm,.75rem);max-width:100%}}@media (min-width:1024px){[dir=rtl] .GuidanceBlock-module_descriptionContainer__aywtY{padding:0 var(--spacing-sm,.75rem);text-align:right}}.GuidanceBlock-module_descriptionAndActions__E5BcL{align-items:center;display:flex;flex:1;gap:var(--spacing-md,1.5rem);justify-content:space-between}@media (max-width:1023px){.GuidanceBlock-module_descriptionAndActions__E5BcL{align-items:unset;flex-direction:column;width:100%}}.GuidanceBlock-module_buttonContainer__U2Hxn{display:flex;flex:1 0 auto;flex-direction:row-reverse;gap:var(--spacing-sm,.75rem);justify-content:center;min-width:-moz-max-content;min-width:max-content}@media (min-width:768px){.GuidanceBlock-module_buttonContainer__U2Hxn{text-align:center}}@media (max-width:767px){.GuidanceBlock-module_buttonContainer__U2Hxn{flex-direction:column;margin-top:var(--spacing-xs,.375rem);width:100%}}[dir=rtl] .GuidanceBlock-module_buttonContainer__U2Hxn svg{transform:rotate(180deg)}.GuidanceBlock-module_hidden__CbgXn{margin-bottom:0;opacity:0}.GuidanceBlock-module_headingWrapper__zgVmA{margin-bottom:var(--spacing-md,1.5rem)}.GuidanceBlock-module_cancel__UaIA-{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;color:inherit;color:var(--color-purple-800,#2f2438);cursor:pointer;display:inline;font:inherit;margin:0;padding:0;position:absolute;right:var(--spacing-sm,.75rem);top:var(--spacing-sm,.75rem)}.GuidanceBlock-module_cancel__UaIA- .GuidanceBlock-module_icon__y2xz8{opacity:70%;transition:var(--animation-duration-fast,.3s) opacity}.GuidanceBlock-module_cancel__UaIA-.GuidanceBlock-module_disabled__Uhgsr .GuidanceBlock-module_icon__y2xz8,.GuidanceBlock-module_cancel__UaIA-:disabled .GuidanceBlock-module_icon__y2xz8{opacity:30%}.GuidanceBlock-module_cancel__UaIA-:not(:disabled,.GuidanceBlock-module_disabled__Uhgsr).GuidanceBlock-module_active__YJaZt .GuidanceBlock-module_icon__y2xz8,.GuidanceBlock-module_cancel__UaIA-:not(:disabled,.GuidanceBlock-module_disabled__Uhgsr).GuidanceBlock-module_hover__7V9x1 .GuidanceBlock-module_icon__y2xz8,.GuidanceBlock-module_cancel__UaIA-:not(:disabled,.GuidanceBlock-module_disabled__Uhgsr):active .GuidanceBlock-module_icon__y2xz8,.GuidanceBlock-module_cancel__UaIA-:not(:disabled,.GuidanceBlock-module_disabled__Uhgsr):focus .GuidanceBlock-module_icon__y2xz8,.GuidanceBlock-module_cancel__UaIA-:not(:disabled,.GuidanceBlock-module_disabled__Uhgsr):hover .GuidanceBlock-module_icon__y2xz8{opacity:100%}.GuidanceBlock-module_positive__yENlT{background:var(--color-green-100,#e8f8f4)}.GuidanceBlock-module_negative__E-Jvh{background:var(--color-red-100,#fdeaee)}.GuidanceBlock-module_informative__ZUH4j{background:var(--color-blue-100,#e6f6ff)}.GuidanceBlock-module_cautionary__sJ1CE{background:var(--color-yellow-100,#fff9e4)}.GuidanceBlock-module_assertive__6PZlM{background:var(--color-orange-100,#fff0e8)}.GuidanceBlock-module_prominent__nn-r4{background:var(--color-purple-100,#f4edf8)}.GuidanceBlock-module_inline__GwOWR,.GuidanceBlock-module_stacked__rDupX{align-items:unset;flex-flow:row wrap;gap:var(--spacing-md,1.5rem);min-width:unset}@media (max-width:1023px){.GuidanceBlock-module_inline__GwOWR,.GuidanceBlock-module_stacked__rDupX{flex-direction:unset}}.GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_illustrationWrapper__AEljX,.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_illustrationWrapper__AEljX{margin-right:var(--spacing-sm,.75rem)}[dir=rtl] .GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_illustrationWrapper__AEljX,[dir=rtl] .GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_illustrationWrapper__AEljX{margin-left:var(--spacing-sm,.75rem);margin-right:inherit}@media (min-width:768px) and (max-width:1023px){.GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_illustrationWrapper__AEljX,.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_illustrationWrapper__AEljX{padding:0}}@media (max-width:767px){.GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_illustrationWrapper__AEljX,.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_illustrationWrapper__AEljX{display:flex}}.GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_descriptionAndActions__E5BcL,.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_descriptionAndActions__E5BcL{margin:auto 0}.GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_descriptionContainer__aywtY,.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_descriptionContainer__aywtY{max-width:unset;min-width:320px;text-align:left}@media (min-width:1024px){.GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_descriptionContainer__aywtY,.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_descriptionContainer__aywtY{padding:0}}@media (max-width:767px){.GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_descriptionContainer__aywtY,.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_descriptionContainer__aywtY{margin:0}}[dir=rtl] .GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_descriptionContainer__aywtY,[dir=rtl] .GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_descriptionContainer__aywtY{text-align:right}@media (min-width:1024px){[dir=rtl] .GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_descriptionContainer__aywtY,[dir=rtl] .GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_descriptionContainer__aywtY{padding:0}}.GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_buttonContainer__U2Hxn,.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_buttonContainer__U2Hxn{justify-content:flex-start;min-width:unset;padding-left:var(--spacing-sm,.75rem);width:unset}@media (max-width:767px){.GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_buttonContainer__U2Hxn,.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_buttonContainer__U2Hxn{flex-direction:row-reverse}}[dir=rtl] .GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_buttonContainer__U2Hxn,[dir=rtl] .GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_buttonContainer__U2Hxn{padding-left:0;padding-right:var(--spacing-sm,.75rem)}.GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_buttonContainer__U2Hxn>*,.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_buttonContainer__U2Hxn>*{width:unset}.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_hasSceneIllustration__tvFRD,.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_hasSceneIllustration__tvFRD{justify-content:center}.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB,.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB{flex-direction:column}.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB.GuidanceBlock-module_hasSceneIllustration__tvFRD .GuidanceBlock-module_illustration__sU1Vu,.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB.GuidanceBlock-module_hasSceneIllustration__tvFRD .GuidanceBlock-module_illustration__sU1Vu{width:100%}.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_illustrationWrapper__AEljX,.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_illustrationWrapper__AEljX{align-self:center;margin:0 auto}.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_descriptionContainer__aywtY,.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_descriptionContainer__aywtY{min-width:unset;text-align:center}[dir=rtl] .GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_descriptionContainer__aywtY,[dir=rtl] .GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_descriptionContainer__aywtY{text-align:center}.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_buttonContainer__U2Hxn,.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_buttonContainer__U2Hxn{flex-direction:column;justify-content:center;min-width:unset;padding:0}.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB.GuidanceBlock-module_smallScreenTextAlignment__oWufj .GuidanceBlock-module_descriptionContainer__aywtY,.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB.GuidanceBlock-module_smallScreenTextAlignment__oWufj .GuidanceBlock-module_descriptionContainer__aywtY{text-align:left}[dir=rtl] .GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB.GuidanceBlock-module_smallScreenTextAlignment__oWufj .GuidanceBlock-module_descriptionContainer__aywtY,[dir=rtl] .GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB.GuidanceBlock-module_smallScreenTextAlignment__oWufj .GuidanceBlock-module_descriptionContainer__aywtY{text-align:right}.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_descriptionAndActions__E5BcL{align-items:unset;flex-direction:column}.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_descriptionContainer__aywtY{align-self:flex-start}
99
+ .GenericNotification-module_notification__-JP1M{box-sizing:border-box;display:flex;pointer-events:all}.GenericNotification-module_notification__-JP1M.GenericNotification-module_inline__OciO5,.GenericNotification-module_notification__-JP1M.GenericNotification-module_toast__GOVfC{border:var(--border-solid-border-width,2px) var(--border-solid-border-style,solid);border-radius:var(--border-solid-border-radius,7px);margin-bottom:var(--spacing-24,1.5rem)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_inline__OciO5{min-height:46px;padding:calc(var(--spacing-6, .375rem) - var(--border-solid-border-width, 2px)) var(--spacing-12,.75rem);transition:opacity .2s ease,transform .2s ease-out,margin-top .2s ease,margin-bottom .2s ease;width:auto}.GenericNotification-module_notification__-JP1M.GenericNotification-module_toast__GOVfC{box-shadow:var(--shadow-small-box-shadow,0 3px 16px rgba(0,0,0,.06),0 1px 3px rgba(0,0,0,.1));container-type:inline-size;max-width:100%;padding:calc(var(--spacing-6, .375rem) - var(--border-solid-border-width, 2px)) 10px;transition:opacity .2s ease,transform .3s ease-out,margin-top .2s ease .2s,margin-bottom .2s ease;width:25rem;will-change:transform}.GenericNotification-module_notification__-JP1M.GenericNotification-module_global__Weka-{align-items:center;border-radius:0;border-width:0;display:flex;margin-bottom:0;position:relative;transition:margin-top .2s ease,margin-bottom .2s ease;width:100%;z-index:1030}.GenericNotification-module_notification__-JP1M.GenericNotification-module_positive__U-3HK{background:var(--color-green-100,#e8f8f4);border-color:var(--color-green-300,#8fdbc7);color:var(--color-purple-800,#2f2438)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_global__Weka-.GenericNotification-module_positive__U-3HK{background-color:var(--color-green-200,#c4ede2)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_informative__WLimi{background:var(--color-blue-100,#e6f6ff);border-color:var(--color-blue-300,#73c0e8);color:var(--color-purple-800,#2f2438)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_global__Weka-.GenericNotification-module_informative__WLimi{background-color:var(--color-blue-200,#bde2f5)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_cautionary__lneFu,.GenericNotification-module_notification__-JP1M.GenericNotification-module_security__QTALa{background:var(--color-yellow-100,#fff9e4);border-color:var(--color-yellow-400,#ffca4d);color:var(--color-purple-800,#2f2438)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_global__Weka-.GenericNotification-module_cautionary__lneFu,.GenericNotification-module_notification__-JP1M.GenericNotification-module_global__Weka-.GenericNotification-module_security__QTALa{background-color:var(--color-yellow-200,#ffeeb3)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_negative__lUWhD{background:var(--color-red-100,#fdeaee);border-color:var(--color-red-300,#f597a8);color:var(--color-purple-800,#2f2438)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_global__Weka-.GenericNotification-module_negative__lUWhD{background-color:var(--color-red-200,#f9c2cb)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_hidden__WJjct{opacity:0}.GenericNotification-module_notification__-JP1M.GenericNotification-module_hidden__WJjct.GenericNotification-module_global__Weka-,.GenericNotification-module_notification__-JP1M.GenericNotification-module_hidden__WJjct.GenericNotification-module_inline__OciO5{margin-bottom:0}.GenericNotification-module_notification__-JP1M.GenericNotification-module_hidden__WJjct.GenericNotification-module_inline__OciO5{transform:translateY(-50%);transition-timing-function:ease-in}.GenericNotification-module_notification__-JP1M.GenericNotification-module_hidden__WJjct.GenericNotification-module_toast__GOVfC{transform:translateX(50%);transition-timing-function:ease-in}.GenericNotification-module_notification__-JP1M.GenericNotification-module_hidden__WJjct.GenericNotification-module_global__Weka-{opacity:100%;z-index:1029}.GenericNotification-module_notification__-JP1M.GenericNotification-module_noBottomMargin__28nF8{margin-bottom:0}.GenericNotification-module_notification__-JP1M.GenericNotification-module_persistent__O7bgI{transition:none}.GenericNotification-module_notification__-JP1M.GenericNotification-module_subtle__kPns9{background:none;border:none;padding:0}.GenericNotification-module_icon__SDb8v{align-items:flex-start;box-sizing:content-box}.GenericNotification-module_positive__U-3HK .GenericNotification-module_icon__SDb8v{color:var(--color-green-500,#44a289)}.GenericNotification-module_informative__WLimi .GenericNotification-module_icon__SDb8v{color:var(--color-blue-500,#0168b3)}.GenericNotification-module_cautionary__lneFu .GenericNotification-module_icon__SDb8v,.GenericNotification-module_security__QTALa .GenericNotification-module_icon__SDb8v{color:var(--color-yellow-500,#ffb600)}.GenericNotification-module_negative__lUWhD .GenericNotification-module_icon__SDb8v{color:var(--color-red-500,#c93b55)}.GenericNotification-module_inline__OciO5 .GenericNotification-module_icon__SDb8v,.GenericNotification-module_toast__GOVfC .GenericNotification-module_icon__SDb8v{height:22px;margin-top:var(--spacing-6,.375rem);width:22px}.GenericNotification-module_global__Weka- .GenericNotification-module_icon__SDb8v{border-radius:var(--border-solid-border-radius,7px);color:var(--color-white,#fff);height:calc(var(--spacing-24, 1.5rem)*1.25);margin:calc(var(--spacing-24, 1.5rem)/4);padding:calc(var(--spacing-24, 1.5rem)*2/2 - var(--spacing-24, 1.5rem)*1.25/2);width:calc(var(--spacing-24, 1.5rem)*1.25)}.GenericNotification-module_global__Weka-.GenericNotification-module_positive__U-3HK .GenericNotification-module_icon__SDb8v{background-color:var(--color-green-500,#44a289)}.GenericNotification-module_global__Weka-.GenericNotification-module_informative__WLimi .GenericNotification-module_icon__SDb8v{background-color:var(--color-blue-500,#0168b3)}.GenericNotification-module_global__Weka-.GenericNotification-module_cautionary__lneFu .GenericNotification-module_icon__SDb8v,.GenericNotification-module_global__Weka-.GenericNotification-module_security__QTALa .GenericNotification-module_icon__SDb8v{background-color:var(--color-yellow-500,#ffb600)}.GenericNotification-module_global__Weka-.GenericNotification-module_negative__lUWhD .GenericNotification-module_icon__SDb8v{background-color:var(--color-red-500,#c93b55)}.GenericNotification-module_textContainer__Avpbk{box-sizing:content-box;display:flex;flex:1 0 0;flex-flow:row wrap}.GenericNotification-module_inline__OciO5 .GenericNotification-module_textContainer__Avpbk,.GenericNotification-module_toast__GOVfC .GenericNotification-module_textContainer__Avpbk{margin-inline-start:var(--spacing-6,.375rem)}.GenericNotification-module_toast__GOVfC .GenericNotification-module_textContainer__Avpbk{-webkit-hyphens:auto;hyphens:auto;margin-inline-start:var(--spacing-6,.375rem);max-width:calc(100% - var(--spacing-48, 3rem));overflow-wrap:break-word}.GenericNotification-module_global__Weka- .GenericNotification-module_textContainer__Avpbk{margin-inline-start:var(--spacing-12,.75rem);padding:calc(var(--spacing-24, 1.5rem)*.25) 0}.GenericNotification-module_inline__OciO5 .GenericNotification-module_textContainer__Avpbk{transition:opacity .2s ease}.GenericNotification-module_textContainer__Avpbk.GenericNotification-module_forceMultiline__JcVA4{flex-direction:column}.GenericNotification-module_title__dvQOr{color:inherit;font-family:var(--typography-heading-6-font-family,"Inter","Noto Sans",Helvetica,Arial,sans-serif);font-size:var(--typography-heading-6-font-size,.875rem);font-weight:var(--typography-heading-6-font-weight,700);letter-spacing:var(--typography-heading-6-letter-spacing,normal);line-height:var(--typography-heading-6-line-height,1.5rem);margin:0;padding-right:6px;position:relative;text-transform:none;top:.37em}.GenericNotification-module_text__X-5ld{color:inherit;margin:0}.GenericNotification-module_inline__OciO5 .GenericNotification-module_text__X-5ld,.GenericNotification-module_text__X-5ld,.GenericNotification-module_toast__GOVfC .GenericNotification-module_text__X-5ld{font-family:var(--typography-paragraph-small-font-family,"Inter","Noto Sans",Helvetica,Arial,sans-serif);font-size:var(--typography-paragraph-small-font-size,.875rem);font-weight:var(--typography-paragraph-small-font-weight,400);letter-spacing:var(--typography-paragraph-small-letter-spacing,normal);line-height:var(--typography-paragraph-small-line-height,1.125rem);position:relative}.GenericNotification-module_inline__OciO5 .GenericNotification-module_text__X-5ld,.GenericNotification-module_toast__GOVfC .GenericNotification-module_text__X-5ld{flex:0 1 auto;margin-top:var(--spacing-6,.375rem);padding-bottom:var(--spacing-12,.75rem);top:.21em}.GenericNotification-module_toast__GOVfC .GenericNotification-module_text__X-5ld{width:100%}.GenericNotification-module_global__Weka- .GenericNotification-module_text__X-5ld{font-size:var(--typography-paragraph-body-font-size,1rem);font-weight:var(--typography-paragraph-body-font-weight,400);letter-spacing:var(--typography-paragraph-body-letter-spacing,normal);line-height:var(--typography-paragraph-body-line-height,1.5rem);position:static}.GenericNotification-module_text__X-5ld a[href]{color:var(--color-blue-500,#0168b3);text-decoration:underline}.GenericNotification-module_text__X-5ld a[href]:hover{color:var(--color-blue-500,#0168b3);text-decoration:none}.GenericNotification-module_global__Weka- .GenericNotification-module_text__X-5ld a[href]{color:var(--color-purple-800,#2f2438)}.GenericNotification-module_text__X-5ld strong{font-weight:var(--typography-button-secondary-font-weight,500)}.GenericNotification-module_text__X-5ld p{font-weight:inherit}.GenericNotification-module_cancel__c6wky{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;color:var(--color-purple-800,#2f2438);cursor:pointer;font:inherit;margin:0;padding:0;transform:none;transition:none}.GenericNotification-module_cancel__c6wky .GenericNotification-module_icon__SDb8v{opacity:70%;transition:var(--animation-duration-fast,.3s) opacity}.GenericNotification-module_cancel__c6wky:disabled .GenericNotification-module_icon__SDb8v,.GenericNotification-module_disabled__WGBhD.GenericNotification-module_cancel__c6wky .GenericNotification-module_icon__SDb8v{opacity:30%}.GenericNotification-module_cancel__c6wky:not(:disabled,.GenericNotification-module_disabled__WGBhD).GenericNotification-module_active__-6ahb .GenericNotification-module_icon__SDb8v,.GenericNotification-module_cancel__c6wky:not(:disabled,.GenericNotification-module_disabled__WGBhD).GenericNotification-module_hover__hUURd .GenericNotification-module_icon__SDb8v,.GenericNotification-module_cancel__c6wky:not(:disabled,.GenericNotification-module_disabled__WGBhD):active .GenericNotification-module_icon__SDb8v,.GenericNotification-module_cancel__c6wky:not(:disabled,.GenericNotification-module_disabled__WGBhD):focus .GenericNotification-module_icon__SDb8v,.GenericNotification-module_cancel__c6wky:not(:disabled,.GenericNotification-module_disabled__WGBhD):hover .GenericNotification-module_icon__SDb8v{opacity:100%}.GenericNotification-module_cancel__c6wky:active{transform:translateY(1px)}.GenericNotification-module_inline__OciO5 .GenericNotification-module_cancel__c6wky,.GenericNotification-module_toast__GOVfC .GenericNotification-module_cancel__c6wky{height:var(--spacing-48,3rem);margin-bottom:calc(var(--spacing-6, .375rem)*-1);margin-top:calc(var(--spacing-6, .375rem)*-1);width:var(--spacing-48,3rem)}.GenericNotification-module_inline__OciO5 .GenericNotification-module_cancel__c6wky{margin-right:calc(var(--spacing-12, .75rem)*-1)}.GenericNotification-module_toast__GOVfC .GenericNotification-module_cancel__c6wky{margin-right:-10px}.GenericNotification-module_global__Weka- .GenericNotification-module_cancel__c6wky{height:3.75rem;margin-bottom:calc(var(--spacing-12, .75rem)*-1);margin-right:-15px;margin-top:calc(var(--spacing-12, .75rem)*-1);padding-right:calc(var(--spacing-24, 1.5rem)*.625);width:3.75rem}.GenericNotification-module_cancelLabel__HJzsk{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.GenericNotification-module_cancel__c6wky{align-items:center;display:flex;justify-content:center;position:relative}.GenericNotification-module_cancel__c6wky:focus{outline:none}.GenericNotification-module_cancel__c6wky:focus-visible:after{background:transparent;border-color:var(--color-blue-500,#0168b3);border-radius:var(--border-focus-ring-border-radius,10px);border-style:var(--border-focus-ring-border-style,solid);border-width:var(--border-focus-ring-border-width,2px);content:"";inset:6px;pointer-events:none;position:absolute}.GenericNotification-module_notificationTitle__Oaqb8{line-height:var(--typography-heading-6-line-height,1.5rem);margin-inline-end:var(--spacing-6,.375rem);position:relative;top:.42em}@container (max-width: 25rem){.GenericNotification-module_notificationTitle__Oaqb8{width:100%}}
100
+ .ToastNotificationsList-module_toastNotificationsList__APiSP{align-items:flex-end;bottom:0;display:flex;flex-direction:column;max-width:100%;overflow:hidden;padding-bottom:0;padding-top:172px;pointer-events:none;position:fixed;right:var(--spacing-md,1.5rem);top:0;z-index:1030}@media (max-width:1079px){.ToastNotificationsList-module_toastNotificationsList__APiSP{padding-top:108px}}@media (max-width:767px){.ToastNotificationsList-module_toastNotificationsList__APiSP{left:var(--spacing-md,1.5rem)}}
99
101
  @keyframes LikertScaleLegacy-module_pop__hTH48{0%{opacity:50%;-webkit-transform:scale(1)}to{opacity:0;-webkit-transform:scale(1.78)}}.LikertScaleLegacy-module_container__5wjIJ{box-sizing:border-box;position:relative;width:220px}@media only screen and (max-width:767px){.LikertScaleLegacy-module_container__5wjIJ{position:static;width:258px}}.LikertScaleLegacy-module_container__5wjIJ.LikertScaleLegacy-module_rated__KXpzU .LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_unselected__nP5p9 .LikertScaleLegacy-module_likertItemFill__yj0tC{transition:background .1s}.LikertScaleLegacy-module_container__5wjIJ.LikertScaleLegacy-module_reversed__qrwrP.LikertScaleLegacy-module_rated__KXpzU .LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_unselected__nP5p9 .LikertScaleLegacy-module_likertItemFill__yj0tC{background-color:transparent;border-color:rgba(var(--color-white-rgb,255,255,255),.65)}.LikertScaleLegacy-module_container__5wjIJ :where(.LikertScaleLegacy-module_likertItem4__0SWtD,.LikertScaleLegacy-module_likertItem5__ZF0By) .LikertScaleLegacy-module_check__3wQsx{color:#fff}.LikertScaleLegacy-module_container__5wjIJ :is(.LikertScaleLegacy-module_likertItem4__0SWtD.LikertScaleLegacy-module_suggested__0xk0D,.LikertScaleLegacy-module_likertItem5__ZF0By.LikertScaleLegacy-module_suggested__0xk0D) .LikertScaleLegacy-module_check__3wQsx{color:#fff}.LikertScaleLegacy-module_likertItemFill__yj0tC:focus,.LikertScaleLegacy-module_likertItem__LwX2w:focus{outline:none}.LikertScaleLegacy-module_likertItem__LwX2w:focus-visible .LikertScaleLegacy-module_likertItemFill__yj0tC{outline:var(--color-blue-500,#0168b3) var(--border-focus-ring-border-style,solid) var(--border-focus-ring-border-width,2px);outline-offset:1px}.LikertScaleLegacy-module_reversed__qrwrP .LikertScaleLegacy-module_likertItem__LwX2w:focus-visible .LikertScaleLegacy-module_likertItemFill__yj0tC{outline-color:var(--color-blue-300,#73c0e8)}.LikertScaleLegacy-module_itemContainer__9Vfq0{display:inline-block;font-size:0;height:37px;white-space:nowrap;width:100%}.LikertScaleLegacy-module_legend__HYNg-{left:0;position:absolute;right:0;text-align:center;top:calc(var(--spacing-md, 1.5rem)*-1)}@media only screen and (max-width:767px){.LikertScaleLegacy-module_legend__HYNg-{position:static;top:0}}.LikertScaleLegacy-module_likertItem__LwX2w{display:inline-block;font-size:1px;line-height:1;margin-left:2px;margin-right:2px;overflow-x:visible;padding:0;position:relative;width:18.5%}.LikertScaleLegacy-module_likertItem__LwX2w[dir=rtl]:first-child,[dir=rtl] .LikertScaleLegacy-module_likertItem__LwX2w:first-child{margin-left:2px}.LikertScaleLegacy-module_likertItem__LwX2w[dir=rtl]:last-child,[dir=rtl] .LikertScaleLegacy-module_likertItem__LwX2w:last-child{margin-right:2px}.LikertScaleLegacy-module_likertItem__LwX2w:first-child .LikertScaleLegacy-module_likertItemFill__yj0tC{border-bottom-left-radius:35px;border-top-left-radius:35px}[dir=rtl] .LikertScaleLegacy-module_likertItem__LwX2w:first-child .LikertScaleLegacy-module_likertItemFill__yj0tC{border-radius:0;border-bottom-right-radius:35px;border-top-right-radius:35px}.LikertScaleLegacy-module_likertItem__LwX2w:first-child .LikertScaleLegacy-module_likertItemFill__yj0tC:after{border-bottom-left-radius:35px;border-top-left-radius:35px}[dir=rtl] .LikertScaleLegacy-module_likertItem__LwX2w:first-child .LikertScaleLegacy-module_likertItemFill__yj0tC:after{border-radius:0;border-bottom-right-radius:35px;border-top-right-radius:35px}.LikertScaleLegacy-module_likertItem__LwX2w:last-child .LikertScaleLegacy-module_likertItemFill__yj0tC{border-bottom-right-radius:35px;border-top-right-radius:35px}[dir=rtl] .LikertScaleLegacy-module_likertItem__LwX2w:last-child .LikertScaleLegacy-module_likertItemFill__yj0tC{border-radius:0;border-bottom-left-radius:35px;border-top-left-radius:35px}.LikertScaleLegacy-module_likertItem__LwX2w:last-child .LikertScaleLegacy-module_likertItemFill__yj0tC:after{border-bottom-right-radius:35px;border-top-right-radius:35px}[dir=rtl] .LikertScaleLegacy-module_likertItem__LwX2w:last-child .LikertScaleLegacy-module_likertItemFill__yj0tC:after{border-radius:0;border-bottom-left-radius:35px;border-top-left-radius:35px}.LikertScaleLegacy-module_likertItem__LwX2w:first-child{margin-left:0;margin-right:2px}.LikertScaleLegacy-module_likertItem__LwX2w:last-child{margin-left:2px;margin-right:0}.LikertScaleLegacy-module_likertItem__LwX2w:after,.LikertScaleLegacy-module_likertItem__LwX2w:before{content:"";height:100%;position:absolute;right:100%;top:0;width:2px}.LikertScaleLegacy-module_likertItem__LwX2w:after{left:100%;right:auto}.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_selected__MVmcb .LikertScaleLegacy-module_field1__TDRE-,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_selected__MVmcb .LikertScaleLegacy-module_field1__TDRE-:after,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_suggested__0xk0D .LikertScaleLegacy-module_field1__TDRE-,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_suggested__0xk0D .LikertScaleLegacy-module_field1__TDRE-:after{background-color:var(--color-yellow-300,#ffe36e)}.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_selected__MVmcb .LikertScaleLegacy-module_field2__s-CD7,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_selected__MVmcb .LikertScaleLegacy-module_field2__s-CD7:after,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_suggested__0xk0D .LikertScaleLegacy-module_field2__s-CD7,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_suggested__0xk0D .LikertScaleLegacy-module_field2__s-CD7:after{background-color:var(--color-yellow-400,#ffca4d)}.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_selected__MVmcb .LikertScaleLegacy-module_field3__xp5eQ,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_selected__MVmcb .LikertScaleLegacy-module_field3__xp5eQ:after,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_suggested__0xk0D .LikertScaleLegacy-module_field3__xp5eQ,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_suggested__0xk0D .LikertScaleLegacy-module_field3__xp5eQ:after{background-color:var(--color-orange-400,#ff9461)}.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_selected__MVmcb .LikertScaleLegacy-module_field4__IVK7E,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_selected__MVmcb .LikertScaleLegacy-module_field4__IVK7E:after,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_suggested__0xk0D .LikertScaleLegacy-module_field4__IVK7E,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_suggested__0xk0D .LikertScaleLegacy-module_field4__IVK7E:after{background-color:var(--color-orange-500,#e96c2f)}.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_selected__MVmcb .LikertScaleLegacy-module_field5__9sETV,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_selected__MVmcb .LikertScaleLegacy-module_field5__9sETV:after,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_suggested__0xk0D .LikertScaleLegacy-module_field5__9sETV,.LikertScaleLegacy-module_likertItem__LwX2w.LikertScaleLegacy-module_suggested__0xk0D .LikertScaleLegacy-module_field5__9sETV:after{background-color:var(--color-red-500,#c93b55)}.LikertScaleLegacy-module_likertItemFill__yj0tC{border:var(--border-solid-border-width,2px) var(--border-solid-border-style,solid) var(--color-gray-500,#8c8c97);height:35px;transition:background .1s,border-color .1s}.LikertScaleLegacy-module_likertItemFill__yj0tC:hover{transition:background 0s,border-color 0s}.LikertScaleLegacy-module_likertItemFill__yj0tC:after{content:" ";display:block;height:100%;pointer-events:none;width:100%}.LikertScaleLegacy-module_likertItemFill__yj0tC.LikertScaleLegacy-module_pop__hTH48:after{-webkit-animation:LikertScaleLegacy-module_pop__hTH48 .7s cubic-bezier(0,.94,.32,1) 1}.LikertScaleLegacy-module_reversed__qrwrP .LikertScaleLegacy-module_likertItemFill__yj0tC{border-color:rgba(var(--color-white-rgb,255,255,255),.65)}.LikertScaleLegacy-module_check__3wQsx{color:#000;display:block;left:50%;margin:-10px 0 0 -10px;position:absolute;top:50%}.LikertScaleLegacy-module_likertItem1__cYmY6 .LikertScaleLegacy-module_check__3wQsx{margin-left:-9px}[dir=rtl] .LikertScaleLegacy-module_likertItem1__cYmY6 .LikertScaleLegacy-module_check__3wQsx{margin-left:-11px}.LikertScaleLegacy-module_likertItem5__ZF0By .LikertScaleLegacy-module_check__3wQsx{margin-left:-12px}[dir=rtl] .LikertScaleLegacy-module_likertItem5__ZF0By .LikertScaleLegacy-module_check__3wQsx{margin-left:-9px}.LikertScaleLegacy-module_hovered__vVUN6 :where(.LikertScaleLegacy-module_likertItem4__0SWtD,.LikertScaleLegacy-module_likertItem5__ZF0By) .LikertScaleLegacy-module_check__3wQsx{color:#000}.LikertScaleLegacy-module_hovered__vVUN6.LikertScaleLegacy-module_reversed__qrwrP .LikertScaleLegacy-module_itemContainer__9Vfq0>:not(.LikertScaleLegacy-module_suggested__0xk0D.LikertScaleLegacy-module_likertItem__LwX2w) .LikertScaleLegacy-module_check__3wQsx{color:#fff}@media only screen and (max-width:767px){.LikertScaleLegacy-module_container__5wjIJ{min-width:258px}.LikertScaleLegacy-module_itemContainer__9Vfq0{height:50px}.LikertScaleLegacy-module_likertItem__LwX2w:first-child .LikertScaleLegacy-module_likertItemFill__yj0tC{border-bottom-left-radius:48px;border-top-left-radius:48px}[dir=rtl] .LikertScaleLegacy-module_likertItem__LwX2w:first-child .LikertScaleLegacy-module_likertItemFill__yj0tC{border-radius:0;border-bottom-right-radius:48px;border-top-right-radius:48px}.LikertScaleLegacy-module_likertItem__LwX2w:first-child .LikertScaleLegacy-module_likertItemFill__yj0tC:after{border-bottom-left-radius:48px;border-top-left-radius:48px}[dir=rtl] .LikertScaleLegacy-module_likertItem__LwX2w:first-child .LikertScaleLegacy-module_likertItemFill__yj0tC:after{border-radius:0;border-bottom-right-radius:48px;border-top-right-radius:48px}.LikertScaleLegacy-module_likertItem__LwX2w:last-child .LikertScaleLegacy-module_likertItemFill__yj0tC{border-bottom-right-radius:48px;border-top-right-radius:48px}[dir=rtl] .LikertScaleLegacy-module_likertItem__LwX2w:last-child .LikertScaleLegacy-module_likertItemFill__yj0tC{border-radius:0;border-bottom-left-radius:48px;border-top-left-radius:48px}.LikertScaleLegacy-module_likertItem__LwX2w:last-child .LikertScaleLegacy-module_likertItemFill__yj0tC:after{border-bottom-right-radius:48px;border-top-right-radius:48px}[dir=rtl] .LikertScaleLegacy-module_likertItem__LwX2w:last-child .LikertScaleLegacy-module_likertItemFill__yj0tC:after{border-radius:0;border-bottom-left-radius:48px;border-top-left-radius:48px}.LikertScaleLegacy-module_likertItemFill__yj0tC{height:48px}}@media print{.LikertScaleLegacy-module_legend__HYNg-{display:none}.LikertScaleLegacy-module_container__5wjIJ{right:2em;top:1em;width:150px}.LikertScaleLegacy-module_container__5wjIJ .LikertScaleLegacy-module_likertItem__LwX2w .LikertScaleLegacy-module_likertItemFill__yj0tC{background:#fff;border:1px solid #d7d8d8;height:25px}.LikertScaleLegacy-module_container__5wjIJ .LikertScaleLegacy-module_likertItem__LwX2w:first-child .LikertScaleLegacy-module_likertItemFill__yj0tC,.LikertScaleLegacy-module_container__5wjIJ .LikertScaleLegacy-module_likertItem__LwX2w:last-child .LikertScaleLegacy-module_likertItemFill__yj0tC{background:#fff;border-width:2px}}
100
102
  .GenericModal-module_defaultModalWidth__kG7lU{max-width:600px;min-width:300px}.GenericModal-module_backdropLayer__RNQ-U{background-color:#000;bottom:0;left:0;opacity:50%;position:fixed;right:0;top:0;z-index:1040}.GenericModal-module_backdropLayer__RNQ-U[dir=rtl],[dir=rtl] .GenericModal-module_backdropLayer__RNQ-U{left:0;right:0}.GenericModal-module_scrollLayer__A5VdY{align-items:center;bottom:0;display:flex;left:0;overflow-y:auto;position:fixed;right:0;top:0;z-index:1050}.GenericModal-module_scrollLayer__A5VdY[dir=rtl],[dir=rtl] .GenericModal-module_scrollLayer__A5VdY{left:0;right:0}.GenericModal-module_modalLayer__WfD1U{margin:auto;padding:1.5rem 0;width:100%}.GenericModal-module_animatingEnter__P3wuk{transition-duration:var(--animation-duration-fast,.3s)}.GenericModal-module_animatingEnter__P3wuk .GenericModal-module_backdropLayer__RNQ-U{animation-duration:201ms;animation-fill-mode:forwards;animation-name:GenericModal-module_fade-0-to-0-5__-4t3h}@keyframes GenericModal-module_fade-0-to-0-5__-4t3h{0%{opacity:0}to{opacity:.5}}.GenericModal-module_animatingEnter__P3wuk [data-modal]{animation-duration:var(--animation-duration-fast,.3s);animation-fill-mode:forwards;animation-name:GenericModal-module_custom-1__G0JT4;animation-timing-function:var(--animation-easing-function-bounce-in,cubic-bezier(.485,.155,.24,1.245))}@keyframes GenericModal-module_custom-1__G0JT4{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.GenericModal-module_animatingLeave__rNkKX{transition-duration:var(--animation-duration-rapid,.2s)}.GenericModal-module_animatingLeave__rNkKX .GenericModal-module_backdropLayer__RNQ-U{animation-duration:var(--animation-duration-rapid,.2s);animation-fill-mode:forwards;animation-name:GenericModal-module_fade-0-5-to-0__JkaSn}@keyframes GenericModal-module_fade-0-5-to-0__JkaSn{0%{opacity:.5}to{opacity:0}}.GenericModal-module_animatingLeave__rNkKX [data-modal]{animation-duration:var(--animation-duration-rapid,.2s);animation-fill-mode:forwards;animation-name:GenericModal-module_custom-3__oWflS;animation-timing-function:var(--animation-easing-function-bounce-out,cubic-bezier(.485,.155,.515,.845))}@keyframes GenericModal-module_custom-3__oWflS{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.5)}}.GenericModal-module_unscrollable__HjRaW{overflow:hidden!important}.GenericModal-module_pseudoScrollbar__BhRqh{padding-right:15px!important}.GenericModal-module_hide__SK9PI{opacity:0;pointer-events:none}
101
103
  .ModalAccessibleDescription-module_modalDescription__gq-Mn{grid-column-start:2}
@@ -106,7 +108,6 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs{all:unset;-webkit-ap
106
108
  .ConfirmationModal-module_defaultModalWidth__K3fje{max-width:600px;min-width:300px}.ConfirmationModal-module_backdropLayer__wvXnl{background-color:#000;bottom:0;left:0;opacity:50%;position:fixed;right:0;top:0;z-index:1040}.ConfirmationModal-module_backdropLayer__wvXnl[dir=rtl],[dir=rtl] .ConfirmationModal-module_backdropLayer__wvXnl{left:0;right:0}.ConfirmationModal-module_scrollLayer__x-yP4{align-items:center;bottom:0;display:flex;left:0;overflow-y:auto;position:fixed;right:0;top:0;z-index:1050}.ConfirmationModal-module_scrollLayer__x-yP4[dir=rtl],[dir=rtl] .ConfirmationModal-module_scrollLayer__x-yP4{left:0;right:0}.ConfirmationModal-module_modalLayer__MucTZ{margin:auto;padding:1.5rem 0;width:100%}.ConfirmationModal-module_modal__k3pXu{-webkit-font-smoothing:antialiased;background-color:var(--color-white,#fff);border-radius:var(--border-solid-border-radius,7px);box-shadow:var(--shadow-large-box-shadow,0 8px 40px rgba(0,0,0,.08),0 3px 9px rgba(0,0,0,.1));color:var(--color-purple-800,#2f2438);margin:auto;position:relative;width:90%}@media (min-width:768px){.ConfirmationModal-module_modal__k3pXu{width:100%}}.ConfirmationModal-module_animatingEnter__4W4xh{transition-duration:var(--animation-duration-fast,.3s)}.ConfirmationModal-module_animatingEnter__4W4xh .ConfirmationModal-module_backdropLayer__wvXnl{animation-duration:201ms;animation-fill-mode:forwards;animation-name:ConfirmationModal-module_fade-0-to-0-5__353tZ}@keyframes ConfirmationModal-module_fade-0-to-0-5__353tZ{0%{opacity:0}to{opacity:.5}}.ConfirmationModal-module_animatingEnter__4W4xh [data-modal]{animation-duration:var(--animation-duration-fast,.3s);animation-fill-mode:forwards;animation-name:ConfirmationModal-module_custom-1__Ibcy-;animation-timing-function:var(--animation-easing-function-bounce-in,cubic-bezier(.485,.155,.24,1.245))}@keyframes ConfirmationModal-module_custom-1__Ibcy-{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.ConfirmationModal-module_animatingLeave__n-S4X{transition-duration:var(--animation-duration-rapid,.2s)}.ConfirmationModal-module_animatingLeave__n-S4X .ConfirmationModal-module_backdropLayer__wvXnl{animation-duration:var(--animation-duration-rapid,.2s);animation-fill-mode:forwards;animation-name:ConfirmationModal-module_fade-0-5-to-0__pfhV-}@keyframes ConfirmationModal-module_fade-0-5-to-0__pfhV-{0%{opacity:.5}to{opacity:0}}.ConfirmationModal-module_animatingLeave__n-S4X [data-modal]{animation-duration:var(--animation-duration-rapid,.2s);animation-fill-mode:forwards;animation-name:ConfirmationModal-module_custom-3__MEO7v;animation-timing-function:var(--animation-easing-function-bounce-out,cubic-bezier(.485,.155,.515,.845))}@keyframes ConfirmationModal-module_custom-3__MEO7v{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.5)}}.ConfirmationModal-module_unscrollable__wg2AZ{overflow:hidden!important}.ConfirmationModal-module_pseudoScrollbar__NqMuT{padding-right:15px!important}.ConfirmationModal-module_hide__jOdWV{opacity:0;pointer-events:none}.ConfirmationModal-module_modal__k3pXu{max-width:600px;min-width:300px}.ConfirmationModal-module_header__Ooy23{border-radius:var(--border-solid-border-radius,7px) var(--border-solid-border-radius,7px) 0 0;color:var(--color-white,#fff);text-align:left}.ConfirmationModal-module_header__Ooy23.ConfirmationModal-module_padded__nGa2-{padding:var(--spacing-md,1.5rem) var(--spacing-lg,2.25rem)}@media (max-width:768px){.ConfirmationModal-module_header__Ooy23.ConfirmationModal-module_padded__nGa2-{padding:var(--spacing-md,1.5rem)}}.ConfirmationModal-module_header__Ooy23 h1{color:var(--color-purple-800,#2f2438)}.ConfirmationModal-module_iconContainer__QjdGa{position:relative}.ConfirmationModal-module_positiveHeader__8Dmja{background-color:var(--color-green-100,#e8f8f4)}.ConfirmationModal-module_positiveHeader__8Dmja .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_positiveHeader__8Dmja .ConfirmationModal-module_svgIcon__f1ncQ>svg{color:var(--color-green-500,#44a289)}.ConfirmationModal-module_assertiveHeader__3chNK{background-color:var(--color-orange-100,#fff0e8)}.ConfirmationModal-module_assertiveHeader__3chNK .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_assertiveHeader__3chNK .ConfirmationModal-module_svgIcon__f1ncQ>svg{color:var(--color-orange-500,#e96c2f)}.ConfirmationModal-module_informativeHeader__lTv94{background-color:var(--color-blue-100,#e6f6ff)}.ConfirmationModal-module_informativeHeader__lTv94 .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_informativeHeader__lTv94 .ConfirmationModal-module_svgIcon__f1ncQ>svg{color:var(--color-blue-500,#0168b3)}.ConfirmationModal-module_negativeHeader__Pmob9{background-color:var(--color-red-100,#fdeaee)}.ConfirmationModal-module_negativeHeader__Pmob9 .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_negativeHeader__Pmob9 .ConfirmationModal-module_svgIcon__f1ncQ>svg{color:var(--color-red-500,#c93b55)}.ConfirmationModal-module_cautionaryHeader__ZnE4P{background-color:var(--color-yellow-100,#fff9e4)}.ConfirmationModal-module_cautionaryHeader__ZnE4P .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_cautionaryHeader__ZnE4P .ConfirmationModal-module_svgIcon__f1ncQ>svg{color:var(--color-yellow-500,#ffb600)}.ConfirmationModal-module_assertiveHeader__3chNK,.ConfirmationModal-module_cautionaryHeader__ZnE4P,.ConfirmationModal-module_informativeHeader__lTv94,.ConfirmationModal-module_negativeHeader__Pmob9,.ConfirmationModal-module_positiveHeader__8Dmja{align-items:center;display:grid;grid-template-columns:.2fr 2fr}.ConfirmationModal-module_assertiveHeader__3chNK .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_cautionaryHeader__ZnE4P .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_informativeHeader__lTv94 .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_negativeHeader__Pmob9 .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_positiveHeader__8Dmja .ConfirmationModal-module_iconContainer__QjdGa{align-self:flex-start}@media (min-width:768px){.ConfirmationModal-module_assertiveHeader__3chNK .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_cautionaryHeader__ZnE4P .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_informativeHeader__lTv94 .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_negativeHeader__Pmob9 .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_positiveHeader__8Dmja .ConfirmationModal-module_iconContainer__QjdGa{align-self:center}}.ConfirmationModal-module_assertiveHeader__3chNK .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_assertiveHeader__3chNK .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_cautionaryHeader__ZnE4P .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_cautionaryHeader__ZnE4P .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_informativeHeader__lTv94 .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_informativeHeader__lTv94 .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_negativeHeader__Pmob9 .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_negativeHeader__Pmob9 .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_positiveHeader__8Dmja .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_positiveHeader__8Dmja .ConfirmationModal-module_svgIcon__f1ncQ>svg{height:30px;width:30px}@media (max-width:768px){.ConfirmationModal-module_assertiveHeader__3chNK .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_assertiveHeader__3chNK .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_cautionaryHeader__ZnE4P .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_cautionaryHeader__ZnE4P .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_informativeHeader__lTv94 .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_informativeHeader__lTv94 .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_negativeHeader__Pmob9 .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_negativeHeader__Pmob9 .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_positiveHeader__8Dmja .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_positiveHeader__8Dmja .ConfirmationModal-module_svgIcon__f1ncQ>svg{margin-right:.9375rem;position:relative;top:.125rem}}.ConfirmationModal-module_assertiveHeader__3chNK.ConfirmationModal-module_prominent__8-gkP,.ConfirmationModal-module_cautionaryHeader__ZnE4P.ConfirmationModal-module_prominent__8-gkP,.ConfirmationModal-module_informativeHeader__lTv94.ConfirmationModal-module_prominent__8-gkP,.ConfirmationModal-module_negativeHeader__Pmob9.ConfirmationModal-module_prominent__8-gkP,.ConfirmationModal-module_positiveHeader__8Dmja.ConfirmationModal-module_prominent__8-gkP{grid-template-columns:1.1fr 2fr}@media (max-width:768px){.ConfirmationModal-module_assertiveHeader__3chNK.ConfirmationModal-module_prominent__8-gkP,.ConfirmationModal-module_cautionaryHeader__ZnE4P.ConfirmationModal-module_prominent__8-gkP,.ConfirmationModal-module_informativeHeader__lTv94.ConfirmationModal-module_prominent__8-gkP,.ConfirmationModal-module_negativeHeader__Pmob9.ConfirmationModal-module_prominent__8-gkP,.ConfirmationModal-module_positiveHeader__8Dmja.ConfirmationModal-module_prominent__8-gkP{align-items:flex-start;display:flex;flex-direction:column;place-content:flex-start center}}.ConfirmationModal-module_assertiveHeader__3chNK.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_cautionaryHeader__ZnE4P.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_informativeHeader__lTv94.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_negativeHeader__Pmob9.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_positiveHeader__8Dmja.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_iconContainer__QjdGa{position:absolute;top:8%}@media (max-width:768px){.ConfirmationModal-module_assertiveHeader__3chNK.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_cautionaryHeader__ZnE4P.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_informativeHeader__lTv94.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_negativeHeader__Pmob9.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_iconContainer__QjdGa,.ConfirmationModal-module_positiveHeader__8Dmja.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_iconContainer__QjdGa{margin-bottom:var(--spacing-sm,.75rem);position:relative;top:0}}.ConfirmationModal-module_assertiveHeader__3chNK.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_assertiveHeader__3chNK.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_cautionaryHeader__ZnE4P.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_cautionaryHeader__ZnE4P.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_informativeHeader__lTv94.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_informativeHeader__lTv94.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_negativeHeader__Pmob9.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_negativeHeader__Pmob9.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_positiveHeader__8Dmja.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_positiveHeader__8Dmja.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_svgIcon__f1ncQ>svg{color:var(--color-purple-800,#2f2438);height:155px;margin:0 auto;width:155px}@media (max-width:768px){.ConfirmationModal-module_assertiveHeader__3chNK.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_assertiveHeader__3chNK.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_cautionaryHeader__ZnE4P.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_cautionaryHeader__ZnE4P.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_informativeHeader__lTv94.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_informativeHeader__lTv94.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_negativeHeader__Pmob9.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_negativeHeader__Pmob9.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_svgIcon__f1ncQ>svg,.ConfirmationModal-module_positiveHeader__8Dmja.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_spotIcon__rFSHQ,.ConfirmationModal-module_positiveHeader__8Dmja.ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_svgIcon__f1ncQ>svg{height:86px;width:86px}}.ConfirmationModal-module_prominent__8-gkP{align-items:center;display:grid;grid-template-columns:1.1fr 2fr}@media (max-width:768px){.ConfirmationModal-module_prominent__8-gkP{grid-template-columns:1fr}}.ConfirmationModal-module_padded__nGa2-{padding:var(--spacing-md,1.5rem) var(--spacing-lg,2.25rem) var(--spacing-md,1.5rem) var(--spacing-lg,2.25rem)}@media (max-width:768px){.ConfirmationModal-module_padded__nGa2-{padding:var(--spacing-md,1.5rem)}}
107
109
  .ContextModal-module_defaultModalWidth__bgf7L{max-width:600px;min-width:300px}.ContextModal-module_backdropLayer__wuj3B{background-color:#000;bottom:0;left:0;opacity:50%;position:fixed;right:0;top:0;z-index:1040}.ContextModal-module_backdropLayer__wuj3B[dir=rtl],[dir=rtl] .ContextModal-module_backdropLayer__wuj3B{left:0;right:0}.ContextModal-module_scrollLayer__JANXA{align-items:center;bottom:0;display:flex;left:0;overflow-y:auto;position:fixed;right:0;top:0;z-index:1050}.ContextModal-module_scrollLayer__JANXA[dir=rtl],[dir=rtl] .ContextModal-module_scrollLayer__JANXA{left:0;right:0}.ContextModal-module_modalLayer__Cx6aX{margin:auto;padding:1.5rem 0;width:100%}.ContextModal-module_modal__wriV7{-webkit-font-smoothing:antialiased;background-color:var(--color-white,#fff);border-radius:var(--border-solid-border-radius,7px);box-shadow:var(--shadow-large-box-shadow,0 8px 40px rgba(0,0,0,.08),0 3px 9px rgba(0,0,0,.1));color:var(--color-purple-800,#2f2438);margin:auto;position:relative;width:90%}@media (min-width:768px){.ContextModal-module_modal__wriV7{width:100%}}.ContextModal-module_animatingEnter__53BlF{transition-duration:var(--animation-duration-fast,.3s)}.ContextModal-module_animatingEnter__53BlF .ContextModal-module_backdropLayer__wuj3B{animation-duration:201ms;animation-fill-mode:forwards;animation-name:ContextModal-module_fade-0-to-0-5__vZx9M}@keyframes ContextModal-module_fade-0-to-0-5__vZx9M{0%{opacity:0}to{opacity:.5}}.ContextModal-module_animatingEnter__53BlF [data-modal]{animation-duration:var(--animation-duration-fast,.3s);animation-fill-mode:forwards;animation-name:ContextModal-module_custom-1__be8sO;animation-timing-function:var(--animation-easing-function-bounce-in,cubic-bezier(.485,.155,.24,1.245))}@keyframes ContextModal-module_custom-1__be8sO{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.ContextModal-module_animatingLeave__-JR11{transition-duration:var(--animation-duration-rapid,.2s)}.ContextModal-module_animatingLeave__-JR11 .ContextModal-module_backdropLayer__wuj3B{animation-duration:var(--animation-duration-rapid,.2s);animation-fill-mode:forwards;animation-name:ContextModal-module_fade-0-5-to-0__R4eO-}@keyframes ContextModal-module_fade-0-5-to-0__R4eO-{0%{opacity:.5}to{opacity:0}}.ContextModal-module_animatingLeave__-JR11 [data-modal]{animation-duration:var(--animation-duration-rapid,.2s);animation-fill-mode:forwards;animation-name:ContextModal-module_custom-3__klp3m;animation-timing-function:var(--animation-easing-function-bounce-out,cubic-bezier(.485,.155,.515,.845))}@keyframes ContextModal-module_custom-3__klp3m{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.5)}}.ContextModal-module_unscrollable__kF7MR{overflow:hidden!important}.ContextModal-module_pseudoScrollbar__6RfHj{padding-right:15px!important}.ContextModal-module_hide__Sdnsg{opacity:0;pointer-events:none}.ContextModal-module_modal__wriV7{max-width:840px;min-width:300px}@media (min-width:768px){.ContextModal-module_modal__wriV7{width:90%}}.ContextModal-module_animatingEnter__53BlF .ContextModal-module_modal__wriV7{animation-duration:var(--animation-duration-fast,.3s);animation-fill-mode:forwards;animation-name:ContextModal-module_custom-5__deZpl;animation-timing-function:var(--animation-easing-function-bounce-in,cubic-bezier(.485,.155,.24,1.245))}@keyframes ContextModal-module_custom-5__deZpl{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.ContextModal-module_animatingLeave__-JR11 .ContextModal-module_modal__wriV7{animation-duration:var(--animation-duration-rapid,.2s);animation-fill-mode:forwards;animation-name:ContextModal-module_custom-7__rPmP4;animation-timing-function:var(--animation-easing-function-bounce-out,cubic-bezier(.485,.155,.515,.845))}@keyframes ContextModal-module_custom-7__rPmP4{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.5)}}.ContextModal-module_header__V4IRF{color:var(--color-purple-800,#2f2438);text-align:left}.ContextModal-module_header__V4IRF.ContextModal-module_padded__osmk1{padding:var(--spacing-md,1.5rem)}@media (min-width:768px){.ContextModal-module_header__V4IRF.ContextModal-module_padded__osmk1{padding:var(--spacing-md,1.5rem) var(--spacing-lg,2.25rem)}}.ContextModal-module_footerWithSecondaryAction__-5sq8,.ContextModal-module_footer__JIwF5{white-space:normal}@media (min-width:768px){.ContextModal-module_footerWithSecondaryAction__-5sq8,.ContextModal-module_footer__JIwF5{white-space:nowrap}}.ContextModal-module_footerWithSecondaryAction__-5sq8{margin-left:calc(var(--spacing-sm, .75rem)*-1)}.ContextModal-module_emptyFooter__UHWc-{height:var(--spacing-sm,.75rem)}.ContextModal-module_portraitContentlayout__kqUJG{box-sizing:content-box;display:block;padding:var(--spacing-md,1.5rem)}@media (min-width:768px){.ContextModal-module_portraitContentlayout__kqUJG{-moz-column-gap:var(--spacing-xl,3rem);column-gap:var(--spacing-xl,3rem);display:grid;grid-auto-columns:1fr;grid-auto-flow:column;max-width:800px;padding:var(--spacing-md,1.5rem) var(--spacing-lg,2.25rem)}}.ContextModal-module_landscapeContentlayout__IFqQN{display:flex;flex-direction:column;padding:var(--spacing-md,1.5rem)}@media (min-width:768px){.ContextModal-module_landscapeContentlayout__IFqQN{padding:var(--spacing-md,1.5rem) var(--spacing-lg,2.25rem)}}.ContextModal-module_landscapeContentlayout__IFqQN .ContextModal-module_image__aEDvK{align-items:center;display:flex;flex-direction:column;justify-content:center}.ContextModal-module_landscapeContentlayout__IFqQN .ContextModal-module_content__-KrFF{padding-left:0}@media (min-width:768px){.ContextModal-module_landscapeContentlayout__IFqQN .ContextModal-module_content__-KrFF{max-width:100%}}
108
110
  .InputEditModal-module_defaultModalWidth__My9Eh{max-width:600px;min-width:300px}.InputEditModal-module_backdropLayer__aVLSb{background-color:#000;bottom:0;left:0;opacity:50%;position:fixed;right:0;top:0;z-index:1040}.InputEditModal-module_backdropLayer__aVLSb[dir=rtl],[dir=rtl] .InputEditModal-module_backdropLayer__aVLSb{left:0;right:0}.InputEditModal-module_scrollLayer__isygg{align-items:center;bottom:0;display:flex;left:0;overflow-y:auto;position:fixed;right:0;top:0;z-index:1050}.InputEditModal-module_scrollLayer__isygg[dir=rtl],[dir=rtl] .InputEditModal-module_scrollLayer__isygg{left:0;right:0}.InputEditModal-module_modalLayer__r5vqj{margin:auto;padding:1.5rem 0;width:100%}.InputEditModal-module_modal__SbQqp{-webkit-font-smoothing:antialiased;background-color:var(--color-white,#fff);border-radius:var(--border-solid-border-radius,7px);box-shadow:var(--shadow-large-box-shadow,0 8px 40px rgba(0,0,0,.08),0 3px 9px rgba(0,0,0,.1));color:var(--color-purple-800,#2f2438);margin:auto;position:relative;width:90%}@media (min-width:768px){.InputEditModal-module_modal__SbQqp{width:100%}}.InputEditModal-module_animatingEnter__qZgX2{transition-duration:var(--animation-duration-fast,.3s)}.InputEditModal-module_animatingEnter__qZgX2 .InputEditModal-module_backdropLayer__aVLSb{animation-duration:201ms;animation-fill-mode:forwards;animation-name:InputEditModal-module_fade-0-to-0-5__ywvjR}@keyframes InputEditModal-module_fade-0-to-0-5__ywvjR{0%{opacity:0}to{opacity:.5}}.InputEditModal-module_animatingEnter__qZgX2 [data-modal]{animation-duration:var(--animation-duration-fast,.3s);animation-fill-mode:forwards;animation-name:InputEditModal-module_custom-1__wSZX6;animation-timing-function:var(--animation-easing-function-bounce-in,cubic-bezier(.485,.155,.24,1.245))}@keyframes InputEditModal-module_custom-1__wSZX6{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.InputEditModal-module_animatingLeave__S2HGz{transition-duration:var(--animation-duration-rapid,.2s)}.InputEditModal-module_animatingLeave__S2HGz .InputEditModal-module_backdropLayer__aVLSb{animation-duration:var(--animation-duration-rapid,.2s);animation-fill-mode:forwards;animation-name:InputEditModal-module_fade-0-5-to-0__s2WmG}@keyframes InputEditModal-module_fade-0-5-to-0__s2WmG{0%{opacity:.5}to{opacity:0}}.InputEditModal-module_animatingLeave__S2HGz [data-modal]{animation-duration:var(--animation-duration-rapid,.2s);animation-fill-mode:forwards;animation-name:InputEditModal-module_custom-3__T3riv;animation-timing-function:var(--animation-easing-function-bounce-out,cubic-bezier(.485,.155,.515,.845))}@keyframes InputEditModal-module_custom-3__T3riv{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.5)}}.InputEditModal-module_unscrollable__GN1M2{overflow:hidden!important}.InputEditModal-module_pseudoScrollbar__WCHmn{padding-right:15px!important}.InputEditModal-module_hide__N88RW{opacity:0;pointer-events:none}.InputEditModal-module_modal__SbQqp{max-width:600px;min-width:300px}.InputEditModal-module_animatingEnter__qZgX2 .InputEditModal-module_modal__SbQqp{animation-duration:var(--animation-duration-fast,.3s);animation-fill-mode:forwards;animation-name:InputEditModal-module_custom-5__trORr;animation-timing-function:var(--animation-easing-function-bounce-in,cubic-bezier(.485,.155,.24,1.245))}@keyframes InputEditModal-module_custom-5__trORr{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.InputEditModal-module_animatingLeave__S2HGz .InputEditModal-module_modal__SbQqp{animation-duration:var(--animation-duration-rapid,.2s);animation-fill-mode:forwards;animation-name:InputEditModal-module_custom-7__-98CZ;animation-timing-function:var(--animation-easing-function-bounce-out,cubic-bezier(.485,.155,.515,.845))}@keyframes InputEditModal-module_custom-7__-98CZ{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.5)}}.InputEditModal-module_header__nivTf{color:var(--color-purple-800,#2f2438);text-align:left}.InputEditModal-module_header__nivTf.InputEditModal-module_textAlignRTL__5QQP8{text-align:right}.InputEditModal-module_header__nivTf.InputEditModal-module_padded__ZdEIS{padding:var(--spacing-md,1.5rem) var(--spacing-lg,2.25rem)}@media (max-width:768px){.InputEditModal-module_header__nivTf.InputEditModal-module_padded__ZdEIS{padding:var(--spacing-md,1.5rem)}}.InputEditModal-module_body__LyxBE{background:var(--color-gray-200,#f4f4f5)}.InputEditModal-module_body__LyxBE.InputEditModal-module_padded__ZdEIS{padding:var(--spacing-md,1.5rem) var(--spacing-lg,2.25rem) var(--spacing-md,1.5rem) var(--spacing-lg,2.25rem)}@media (max-width:768px){.InputEditModal-module_body__LyxBE.InputEditModal-module_padded__ZdEIS{padding:var(--spacing-md,1.5rem)}}
109
- .GenericNotification-module_notification__-JP1M{box-sizing:border-box;display:flex;pointer-events:all}.GenericNotification-module_notification__-JP1M.GenericNotification-module_inline__OciO5,.GenericNotification-module_notification__-JP1M.GenericNotification-module_toast__GOVfC{border:var(--border-solid-border-width,2px) var(--border-solid-border-style,solid);border-radius:var(--border-solid-border-radius,7px);margin-bottom:var(--spacing-24,1.5rem)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_inline__OciO5{min-height:46px;padding:calc(var(--spacing-6, .375rem) - var(--border-solid-border-width, 2px)) var(--spacing-12,.75rem);transition:opacity .2s ease,transform .2s ease-out,margin-top .2s ease,margin-bottom .2s ease;width:auto}.GenericNotification-module_notification__-JP1M.GenericNotification-module_toast__GOVfC{box-shadow:var(--shadow-small-box-shadow,0 3px 16px rgba(0,0,0,.06),0 1px 3px rgba(0,0,0,.1));container-type:inline-size;max-width:100%;padding:calc(var(--spacing-6, .375rem) - var(--border-solid-border-width, 2px)) 10px;transition:opacity .2s ease,transform .3s ease-out,margin-top .2s ease .2s,margin-bottom .2s ease;width:25rem;will-change:transform}.GenericNotification-module_notification__-JP1M.GenericNotification-module_global__Weka-{align-items:center;border-radius:0;border-width:0;display:flex;margin-bottom:0;position:relative;transition:margin-top .2s ease,margin-bottom .2s ease;width:100%;z-index:1030}.GenericNotification-module_notification__-JP1M.GenericNotification-module_positive__U-3HK{background:var(--color-green-100,#e8f8f4);border-color:var(--color-green-300,#8fdbc7);color:var(--color-purple-800,#2f2438)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_global__Weka-.GenericNotification-module_positive__U-3HK{background-color:var(--color-green-200,#c4ede2)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_informative__WLimi{background:var(--color-blue-100,#e6f6ff);border-color:var(--color-blue-300,#73c0e8);color:var(--color-purple-800,#2f2438)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_global__Weka-.GenericNotification-module_informative__WLimi{background-color:var(--color-blue-200,#bde2f5)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_cautionary__lneFu,.GenericNotification-module_notification__-JP1M.GenericNotification-module_security__QTALa{background:var(--color-yellow-100,#fff9e4);border-color:var(--color-yellow-400,#ffca4d);color:var(--color-purple-800,#2f2438)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_global__Weka-.GenericNotification-module_cautionary__lneFu,.GenericNotification-module_notification__-JP1M.GenericNotification-module_global__Weka-.GenericNotification-module_security__QTALa{background-color:var(--color-yellow-200,#ffeeb3)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_negative__lUWhD{background:var(--color-red-100,#fdeaee);border-color:var(--color-red-300,#f597a8);color:var(--color-purple-800,#2f2438)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_global__Weka-.GenericNotification-module_negative__lUWhD{background-color:var(--color-red-200,#f9c2cb)}.GenericNotification-module_notification__-JP1M.GenericNotification-module_hidden__WJjct{opacity:0}.GenericNotification-module_notification__-JP1M.GenericNotification-module_hidden__WJjct.GenericNotification-module_global__Weka-,.GenericNotification-module_notification__-JP1M.GenericNotification-module_hidden__WJjct.GenericNotification-module_inline__OciO5{margin-bottom:0}.GenericNotification-module_notification__-JP1M.GenericNotification-module_hidden__WJjct.GenericNotification-module_inline__OciO5{transform:translateY(-50%);transition-timing-function:ease-in}.GenericNotification-module_notification__-JP1M.GenericNotification-module_hidden__WJjct.GenericNotification-module_toast__GOVfC{transform:translateX(50%);transition-timing-function:ease-in}.GenericNotification-module_notification__-JP1M.GenericNotification-module_hidden__WJjct.GenericNotification-module_global__Weka-{opacity:100%;z-index:1029}.GenericNotification-module_notification__-JP1M.GenericNotification-module_noBottomMargin__28nF8{margin-bottom:0}.GenericNotification-module_notification__-JP1M.GenericNotification-module_persistent__O7bgI{transition:none}.GenericNotification-module_notification__-JP1M.GenericNotification-module_subtle__kPns9{background:none;border:none;padding:0}.GenericNotification-module_icon__SDb8v{align-items:flex-start;box-sizing:content-box}.GenericNotification-module_positive__U-3HK .GenericNotification-module_icon__SDb8v{color:var(--color-green-500,#44a289)}.GenericNotification-module_informative__WLimi .GenericNotification-module_icon__SDb8v{color:var(--color-blue-500,#0168b3)}.GenericNotification-module_cautionary__lneFu .GenericNotification-module_icon__SDb8v,.GenericNotification-module_security__QTALa .GenericNotification-module_icon__SDb8v{color:var(--color-yellow-500,#ffb600)}.GenericNotification-module_negative__lUWhD .GenericNotification-module_icon__SDb8v{color:var(--color-red-500,#c93b55)}.GenericNotification-module_inline__OciO5 .GenericNotification-module_icon__SDb8v,.GenericNotification-module_toast__GOVfC .GenericNotification-module_icon__SDb8v{height:22px;margin-top:var(--spacing-6,.375rem);width:22px}.GenericNotification-module_global__Weka- .GenericNotification-module_icon__SDb8v{border-radius:var(--border-solid-border-radius,7px);color:var(--color-white,#fff);height:calc(var(--spacing-24, 1.5rem)*1.25);margin:calc(var(--spacing-24, 1.5rem)/4);padding:calc(var(--spacing-24, 1.5rem)*2/2 - var(--spacing-24, 1.5rem)*1.25/2);width:calc(var(--spacing-24, 1.5rem)*1.25)}.GenericNotification-module_global__Weka-.GenericNotification-module_positive__U-3HK .GenericNotification-module_icon__SDb8v{background-color:var(--color-green-500,#44a289)}.GenericNotification-module_global__Weka-.GenericNotification-module_informative__WLimi .GenericNotification-module_icon__SDb8v{background-color:var(--color-blue-500,#0168b3)}.GenericNotification-module_global__Weka-.GenericNotification-module_cautionary__lneFu .GenericNotification-module_icon__SDb8v,.GenericNotification-module_global__Weka-.GenericNotification-module_security__QTALa .GenericNotification-module_icon__SDb8v{background-color:var(--color-yellow-500,#ffb600)}.GenericNotification-module_global__Weka-.GenericNotification-module_negative__lUWhD .GenericNotification-module_icon__SDb8v{background-color:var(--color-red-500,#c93b55)}.GenericNotification-module_textContainer__Avpbk{box-sizing:content-box;display:flex;flex:1 0 0;flex-flow:row wrap}.GenericNotification-module_inline__OciO5 .GenericNotification-module_textContainer__Avpbk,.GenericNotification-module_toast__GOVfC .GenericNotification-module_textContainer__Avpbk{margin-inline-start:var(--spacing-6,.375rem)}.GenericNotification-module_toast__GOVfC .GenericNotification-module_textContainer__Avpbk{-webkit-hyphens:auto;hyphens:auto;margin-inline-start:var(--spacing-6,.375rem);max-width:calc(100% - var(--spacing-48, 3rem));overflow-wrap:break-word}.GenericNotification-module_global__Weka- .GenericNotification-module_textContainer__Avpbk{margin-inline-start:var(--spacing-12,.75rem);padding:calc(var(--spacing-24, 1.5rem)*.25) 0}.GenericNotification-module_inline__OciO5 .GenericNotification-module_textContainer__Avpbk{transition:opacity .2s ease}.GenericNotification-module_textContainer__Avpbk.GenericNotification-module_forceMultiline__JcVA4{flex-direction:column}.GenericNotification-module_title__dvQOr{color:inherit;font-family:var(--typography-heading-6-font-family,"Inter","Noto Sans",Helvetica,Arial,sans-serif);font-size:var(--typography-heading-6-font-size,.875rem);font-weight:var(--typography-heading-6-font-weight,700);letter-spacing:var(--typography-heading-6-letter-spacing,normal);line-height:var(--typography-heading-6-line-height,1.5rem);margin:0;padding-right:6px;position:relative;text-transform:none;top:.37em}.GenericNotification-module_text__X-5ld{color:inherit;margin:0}.GenericNotification-module_inline__OciO5 .GenericNotification-module_text__X-5ld,.GenericNotification-module_text__X-5ld,.GenericNotification-module_toast__GOVfC .GenericNotification-module_text__X-5ld{font-family:var(--typography-paragraph-small-font-family,"Inter","Noto Sans",Helvetica,Arial,sans-serif);font-size:var(--typography-paragraph-small-font-size,.875rem);font-weight:var(--typography-paragraph-small-font-weight,400);letter-spacing:var(--typography-paragraph-small-letter-spacing,normal);line-height:var(--typography-paragraph-small-line-height,1.125rem);position:relative}.GenericNotification-module_inline__OciO5 .GenericNotification-module_text__X-5ld,.GenericNotification-module_toast__GOVfC .GenericNotification-module_text__X-5ld{flex:0 1 auto;margin-top:var(--spacing-6,.375rem);padding-bottom:var(--spacing-12,.75rem);top:.21em}.GenericNotification-module_toast__GOVfC .GenericNotification-module_text__X-5ld{width:100%}.GenericNotification-module_global__Weka- .GenericNotification-module_text__X-5ld{font-size:var(--typography-paragraph-body-font-size,1rem);font-weight:var(--typography-paragraph-body-font-weight,400);letter-spacing:var(--typography-paragraph-body-letter-spacing,normal);line-height:var(--typography-paragraph-body-line-height,1.5rem);position:static}.GenericNotification-module_text__X-5ld a[href]{color:var(--color-blue-500,#0168b3);text-decoration:underline}.GenericNotification-module_text__X-5ld a[href]:hover{color:var(--color-blue-500,#0168b3);text-decoration:none}.GenericNotification-module_global__Weka- .GenericNotification-module_text__X-5ld a[href]{color:var(--color-purple-800,#2f2438)}.GenericNotification-module_text__X-5ld strong{font-weight:var(--typography-button-secondary-font-weight,500)}.GenericNotification-module_text__X-5ld p{font-weight:inherit}.GenericNotification-module_cancel__c6wky{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;color:var(--color-purple-800,#2f2438);cursor:pointer;font:inherit;margin:0;padding:0;transform:none;transition:none}.GenericNotification-module_cancel__c6wky .GenericNotification-module_icon__SDb8v{opacity:70%;transition:var(--animation-duration-fast,.3s) opacity}.GenericNotification-module_cancel__c6wky:disabled .GenericNotification-module_icon__SDb8v,.GenericNotification-module_disabled__WGBhD.GenericNotification-module_cancel__c6wky .GenericNotification-module_icon__SDb8v{opacity:30%}.GenericNotification-module_cancel__c6wky:not(:disabled,.GenericNotification-module_disabled__WGBhD).GenericNotification-module_active__-6ahb .GenericNotification-module_icon__SDb8v,.GenericNotification-module_cancel__c6wky:not(:disabled,.GenericNotification-module_disabled__WGBhD).GenericNotification-module_hover__hUURd .GenericNotification-module_icon__SDb8v,.GenericNotification-module_cancel__c6wky:not(:disabled,.GenericNotification-module_disabled__WGBhD):active .GenericNotification-module_icon__SDb8v,.GenericNotification-module_cancel__c6wky:not(:disabled,.GenericNotification-module_disabled__WGBhD):focus .GenericNotification-module_icon__SDb8v,.GenericNotification-module_cancel__c6wky:not(:disabled,.GenericNotification-module_disabled__WGBhD):hover .GenericNotification-module_icon__SDb8v{opacity:100%}.GenericNotification-module_cancel__c6wky:active{transform:translateY(1px)}.GenericNotification-module_inline__OciO5 .GenericNotification-module_cancel__c6wky,.GenericNotification-module_toast__GOVfC .GenericNotification-module_cancel__c6wky{height:var(--spacing-48,3rem);margin-bottom:calc(var(--spacing-6, .375rem)*-1);margin-top:calc(var(--spacing-6, .375rem)*-1);width:var(--spacing-48,3rem)}.GenericNotification-module_inline__OciO5 .GenericNotification-module_cancel__c6wky{margin-right:calc(var(--spacing-12, .75rem)*-1)}.GenericNotification-module_toast__GOVfC .GenericNotification-module_cancel__c6wky{margin-right:-10px}.GenericNotification-module_global__Weka- .GenericNotification-module_cancel__c6wky{height:3.75rem;margin-bottom:calc(var(--spacing-12, .75rem)*-1);margin-right:-15px;margin-top:calc(var(--spacing-12, .75rem)*-1);padding-right:calc(var(--spacing-24, 1.5rem)*.625);width:3.75rem}.GenericNotification-module_cancelLabel__HJzsk{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.GenericNotification-module_cancel__c6wky{align-items:center;display:flex;justify-content:center;position:relative}.GenericNotification-module_cancel__c6wky:focus{outline:none}.GenericNotification-module_cancel__c6wky:focus-visible:after{background:transparent;border-color:var(--color-blue-500,#0168b3);border-radius:var(--border-focus-ring-border-radius,10px);border-style:var(--border-focus-ring-border-style,solid);border-width:var(--border-focus-ring-border-width,2px);content:"";inset:6px;pointer-events:none;position:absolute}.GenericNotification-module_notificationTitle__Oaqb8{line-height:var(--typography-heading-6-line-height,1.5rem);margin-inline-end:var(--spacing-6,.375rem);position:relative;top:.42em}@container (max-width: 25rem){.GenericNotification-module_notificationTitle__Oaqb8{width:100%}}
110
111
  .TruncateIndicator-module_truncateIndicatorWrapper__FgApk{align-items:center;background-color:transparent;color:rgba(var(--color-purple-800-rgb,47,36,56),.7);display:flex;height:36px;justify-content:center;margin:0 5px;width:36px}
111
112
  .Pagination-module_container__JHnDH{align-items:center;display:flex;justify-content:center}.Pagination-module_pagesIndicatorWrapper__taluU{display:flex;flex-direction:row;justify-content:space-around}.Pagination-module_arrowIconWrapper__RMTET{align-items:center;background-color:transparent;border:var(--border-focus-ring-border-width,2px) var(--border-focus-ring-border-style,solid) var(--color-blue-300,#73c0e8);border-radius:18px;box-sizing:border-box;color:var(--color-blue-500,#0168b3);display:flex;height:36px;justify-content:center;margin:0 5px;width:36px}.Pagination-module_arrowIconWrapper__RMTET:disabled{opacity:35%;pointer-events:none}.Pagination-module_arrowIconWrapper__RMTET:hover{background-color:var(--color-blue-100,#e6f6ff)}.Pagination-module_arrowIconWrapper__RMTET:focus{background-color:var(--color-blue-200,#bde2f5)}.Pagination-module_arrowIconWrapper__RMTET:focus:focus-visible{outline:none}.Pagination-module_arrowIconWrapper__RMTET:focus .Pagination-module_pageIndicatorFocusRing__57ku4{border:var(--border-focus-ring-border-width,2px) var(--border-focus-ring-border-style,solid) var(--color-blue-500,#0168b3)}.Pagination-module_truncateIndicatorWrapper__bwywo{align-items:center;background-color:transparent;color:rgba(var(--color-purple-800-rgb,47,36,56),.7);display:flex;height:36px;justify-content:center;margin:0 5px;width:36px}
112
113
  .Popover-module_root__OrmwT{left:50%;position:absolute;width:220px}.Popover-module_cautionaryBox__n7c9G,.Popover-module_defaultBox__X9FWm,.Popover-module_informativeBox__c0Pen,.Popover-module_negativeBox__dS4tj,.Popover-module_positiveBox__fUR-4{background:var(--color-white,#fff);border:var(--border-solid-border-width,2px) var(--border-solid-border-style,solid) var(--color-gray-300,#eaeaec);border-radius:var(--border-solid-border-radius,7px);color:var(--color-purple-800,#2f2438);filter:drop-shadow(0 0 7px rgba(0,0,0,.1));padding:var(--spacing-sm,.75rem) 1rem 1rem;text-align:left}.Popover-module_defaultArrow__6rN-3:after,.Popover-module_defaultArrow__6rN-3:before{border-left:7px solid transparent;border-right:7px solid transparent;content:"";left:0;position:absolute;top:0}.Popover-module_defaultArrow__6rN-3:before{border-top:7px solid var(--color-gray-300,#eaeaec)}.Popover-module_defaultArrow__6rN-3:after{border-top:7px solid #fff;margin-top:-2px;z-index:1}.Popover-module_informativeBox__c0Pen{background:var(--color-blue-100,#e6f6ff);border-color:var(--color-blue-300,#73c0e8)}.Popover-module_informativeArrow__ZWiUz:after,.Popover-module_informativeArrow__ZWiUz:before{border-left:7px solid transparent;border-right:7px solid transparent;content:"";left:0;position:absolute;top:0}.Popover-module_informativeArrow__ZWiUz:before{border-top:7px solid var(--color-blue-300,#73c0e8)}.Popover-module_informativeArrow__ZWiUz:after{border-top:7px solid var(--color-blue-100,#e6f6ff);margin-top:-2px;z-index:1}.Popover-module_positiveBox__fUR-4{background:var(--color-green-100,#e8f8f4);border-color:var(--color-green-300,#8fdbc7)}.Popover-module_positiveArrow__ApDyE:after,.Popover-module_positiveArrow__ApDyE:before{border-left:7px solid transparent;border-right:7px solid transparent;content:"";left:0;position:absolute;top:0}.Popover-module_positiveArrow__ApDyE:before{border-top:7px solid var(--color-green-300,#8fdbc7)}.Popover-module_positiveArrow__ApDyE:after{border-top:7px solid var(--color-green-100,#e8f8f4);margin-top:-2px;z-index:1}.Popover-module_negativeBox__dS4tj{background:var(--color-red-100,#fdeaee);border-color:var(--color-red-300,#f597a8)}.Popover-module_negativeArrow__BpNUL:after,.Popover-module_negativeArrow__BpNUL:before{border-left:7px solid transparent;border-right:7px solid transparent;content:"";left:0;position:absolute;top:0}.Popover-module_negativeArrow__BpNUL:before{border-top:7px solid var(--color-red-300,#f597a8)}.Popover-module_negativeArrow__BpNUL:after{border-top:7px solid var(--color-red-100,#fdeaee);margin-top:-2px;z-index:1}.Popover-module_cautionaryBox__n7c9G{background:var(--color-yellow-100,#fff9e4);border-color:var(--color-yellow-400,#ffca4d)}.Popover-module_cautionaryArrow__YRo-K:after,.Popover-module_cautionaryArrow__YRo-K:before{border-left:7px solid transparent;border-right:7px solid transparent;content:"";left:0;position:absolute;top:0}.Popover-module_cautionaryArrow__YRo-K:before{border-top:7px solid var(--color-yellow-400,#ffca4d)}.Popover-module_cautionaryArrow__YRo-K:after{border-top:7px solid var(--color-yellow-100,#fff9e4);margin-top:-2px;z-index:1}.Popover-module_header__b3DtD{align-items:center;display:flex;margin-bottom:var(--spacing-xs,.375rem);padding-right:var(--spacing-md,1.5rem);position:relative;white-space:nowrap}.Popover-module_container__JwR7Q{position:relative;white-space:pre-line}.Popover-module_icon__6S-3a{display:inherit;margin-right:var(--spacing-xs,.375rem)}.Popover-module_informativeIcon__WqmCv{color:var(--color-blue-500,#0168b3)}.Popover-module_positiveIcon__wyqmw{color:var(--color-green-400,#5dcbad)}.Popover-module_negativeIcon__Bb7-e{color:var(--color-red-500,#c93b55)}.Popover-module_cautionaryIcon__rptji{color:var(--color-yellow-500,#ffb600)}.Popover-module_close__8h4Rt{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;color:inherit;color:rgba(var(--color-purple-800-rgb,47,36,56),.7);display:inline;display:inherit;font:inherit;margin:0 0 0 auto;padding:0;position:absolute;right:0}.Popover-module_close__8h4Rt:hover{color:var(--color-purple-800,#2f2438)}.Popover-module_close__8h4Rt:focus{outline:none}.Popover-module_close__8h4Rt:focus-visible{border-radius:var(--border-borderless-border-radius,7px);color:var(--color-purple-800,#2f2438);outline:var(--color-blue-500,#0168b3) var(--border-focus-ring-border-style,solid) var(--border-focus-ring-border-width,2px);outline-offset:calc(var(--border-focus-ring-border-width, 2px)*-1)}.Popover-module_arrowWrapper__DiE3-{height:7px;position:absolute;width:14px}.Popover-module_arrow__PS4V6{height:7px;width:14px}.Popover-module_arrowSideTop__JoORK,[data-popper-placement^=bottom] .Popover-module_arrowWrapper__DiE3-{bottom:100%;left:50%;margin-top:-9px}.Popover-module_arrowSideTop__JoORK .Popover-module_arrow__PS4V6,[data-popper-placement^=bottom] .Popover-module_arrowWrapper__DiE3- .Popover-module_arrow__PS4V6{transform:rotate(180deg)}.Popover-module_arrowSideLeft__2Zhqb,[data-popper-placement^=left] .Popover-module_arrowWrapper__DiE3-{margin-right:-10px;right:0}.Popover-module_arrowSideLeft__2Zhqb .Popover-module_arrow__PS4V6,[data-popper-placement^=left] .Popover-module_arrowWrapper__DiE3- .Popover-module_arrow__PS4V6{transform:rotate(270deg)}.Popover-module_arrowSideRight__fHKWI,[data-popper-placement^=right] .Popover-module_arrowWrapper__DiE3-{left:0;margin-left:-10px}.Popover-module_arrowSideRight__fHKWI .Popover-module_arrow__PS4V6,[data-popper-placement^=right] .Popover-module_arrowWrapper__DiE3- .Popover-module_arrow__PS4V6{transform:rotate(90deg)}.Popover-module_arrowSideBottom__mBr5k,[data-popper-placement^=top] .Popover-module_arrowWrapper__DiE3-{left:50%;top:100%}.Popover-module_arrowPositionCenter__l8V0-{transform:translateX(-50%)}.Popover-module_arrowPositionStart__eXyu0{left:var(--spacing-md,1.5rem);right:auto}.Popover-module_arrowPositionEnd__UY4MU{left:auto;right:var(--spacing-md,1.5rem)}.Popover-module_large__-LH0l{max-width:450px;width:auto}.Popover-module_singleLine__7il24{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@@ -42,7 +42,7 @@ const GenericButton = /*#__PURE__*/function () {
42
42
  };
43
43
  return /*#__PURE__*/React.createElement("span", {
44
44
  className: classnames(styles.container, props.fullWidth && styles.fullWidth),
45
- "aria-live": "polite"
45
+ "aria-live": "workingLabel" in props ? "polite" : undefined
46
46
  }, determineButtonRenderer());
47
47
  });
48
48
  GenericButton.defaultProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"GenericButton.mjs","sources":["../../../../src/Button/GenericButton/GenericButton.tsx"],"sourcesContent":["import React, {\n ComponentType,\n forwardRef,\n Ref,\n useImperativeHandle,\n useRef,\n MouseEvent,\n FocusEvent,\n} from \"react\"\nimport classnames from \"classnames\"\nimport { Badge, BadgeAnimated } from \"~components/Badge\"\nimport { LoadingSpinner } from \"~components/Loading\"\nimport styles from \"./GenericButton.module.scss\"\n\nexport type CustomButtonProps = {\n id?: string\n className: string\n href?: string\n disabled?: boolean\n onClick?: (e: MouseEvent<any>) => void\n onFocus?: (e: FocusEvent<HTMLElement>) => void\n onBlur?: (e: FocusEvent<HTMLElement>) => void\n children?: React.ReactNode\n \"data-testid\"?: string\n}\n\nexport type ButtonFormAttributes = Pick<\n React.ButtonHTMLAttributes<HTMLButtonElement>,\n | \"form\"\n | \"formAction\"\n | \"formMethod\"\n | \"formEncType\"\n | \"formTarget\"\n | \"formNoValidate\"\n>\n\nexport type GenericProps = {\n id?: string\n reversed?: boolean\n onClick?: (e: MouseEvent) => void\n onMouseDown?: (e: MouseEvent) => void\n href?: string\n newTabAndIUnderstandTheAccessibilityImplications?: boolean\n disableTabFocusAndIUnderstandTheAccessibilityImplications?: boolean\n onFocus?: (e: FocusEvent<HTMLElement>) => void\n onBlur?: (e: FocusEvent<HTMLElement>) => void\n component?: ComponentType<CustomButtonProps>\n classNameOverride?: string\n}\n\nexport type WorkingProps = {\n working: true\n workingLabel: string\n workingLabelHidden?: boolean\n}\n\nexport type WorkingUndefinedProps = {\n working?: false\n}\n\nexport type ButtonBadgeProps = {\n text: string\n animateChange?: boolean\n variant?: \"default\" | \"dark\" | \"active\"\n reversed?: boolean\n}\n\nexport type RenderProps = GenericButtonProps & {\n additionalContent?: React.ReactNode\n iconButton?: boolean\n directionalLink?: boolean\n paginationLink?: boolean\n isActive?: boolean\n}\n\nexport type ButtonRef = { focus: () => void }\n\nexport type GenericButtonProps = GenericProps &\n ButtonFormAttributes &\n (WorkingProps | WorkingUndefinedProps) & {\n label: string\n primary?: boolean\n destructive?: boolean\n secondary?: boolean\n /** @default \"regular\" */\n size?: \"small\" | \"regular\"\n badge?: ButtonBadgeProps\n type?: \"submit\" | \"reset\" | \"button\"\n fullWidth?: boolean\n iconPosition?: \"start\" | \"end\"\n icon?: JSX.Element\n disabled?: boolean\n }\n\n// We're treating custom props as anything that is kebab cased.\n// This is so we can support properties like aria-* or data-*\nconst getCustomProps = (props: Record<string, any>): Record<string, string> => {\n const keys = Object.keys(props).filter(k => k.indexOf(\"-\") !== -1)\n return keys.reduce<Record<string, any>>((acc, val) => {\n acc[val] = props[val]\n return acc\n }, {})\n}\n\nexport const GenericButton = forwardRef(\n (props: RenderProps, ref: Ref<ButtonRef | undefined>) => {\n const buttonRef = useRef<HTMLButtonElement | HTMLAnchorElement>()\n useImperativeHandle(ref, () => ({\n focus: (): void => {\n buttonRef.current?.focus()\n },\n }))\n\n const determineButtonRenderer = (): JSX.Element => {\n if (props.component) {\n return renderCustomComponent(props.component, props)\n }\n\n if (props.href && !props.disabled && !props.working) {\n return renderLink(props, buttonRef as Ref<HTMLAnchorElement>)\n }\n\n return renderButton(props, buttonRef as Ref<HTMLButtonElement>)\n }\n\n return (\n <span\n className={classnames(\n styles.container,\n props.fullWidth && styles.fullWidth\n )}\n aria-live=\"polite\"\n >\n {determineButtonRenderer()}\n </span>\n )\n }\n)\n\nGenericButton.defaultProps = {\n iconPosition: \"start\",\n iconButton: false,\n primary: false,\n secondary: false,\n newTabAndIUnderstandTheAccessibilityImplications: false,\n disableTabFocusAndIUnderstandTheAccessibilityImplications: false,\n type: \"button\",\n}\n\nGenericButton.displayName = \"GenericButton\"\n\nconst renderCustomComponent = (\n CustomComponent: ComponentType<CustomButtonProps>,\n props: RenderProps\n): JSX.Element => {\n const { id, disabled, href, onClick, onFocus, onBlur, ...rest } = props\n const customProps = getCustomProps(rest)\n return (\n <CustomComponent\n id={id}\n className={buttonClass(props)}\n disabled={disabled}\n href={href}\n onClick={onClick}\n onFocus={onFocus}\n onBlur={onBlur}\n aria-label={generateAriaLabel(props)}\n {...customProps}\n >\n {renderContent(props)}\n </CustomComponent>\n )\n}\n\nconst renderButton = (\n props: RenderProps,\n ref: Ref<HTMLButtonElement>\n): JSX.Element => {\n const {\n id,\n disabled,\n onClick,\n onMouseDown,\n type,\n disableTabFocusAndIUnderstandTheAccessibilityImplications,\n onFocus,\n onBlur,\n form,\n formAction,\n formMethod,\n formEncType,\n formTarget,\n formNoValidate,\n ...rest\n } = props\n const customProps = getCustomProps(rest)\n\n return (\n <button\n // eslint-disable-next-line react/button-has-type\n type={type}\n id={id}\n disabled={disabled}\n className={buttonClass(props)}\n onClick={onClick}\n onFocus={onFocus}\n onBlur={onBlur}\n onMouseDown={(e): void => onMouseDown && onMouseDown(e)}\n aria-label={generateAriaLabel(props)}\n aria-disabled={disabled || props.working ? true : undefined}\n form={form}\n formAction={formAction}\n formMethod={formMethod}\n formEncType={formEncType}\n formTarget={formTarget}\n formNoValidate={formNoValidate}\n tabIndex={\n disableTabFocusAndIUnderstandTheAccessibilityImplications\n ? -1\n : undefined\n }\n ref={ref}\n {...customProps}\n >\n {renderContent(props)}\n </button>\n )\n}\n\nconst renderLink = (\n props: RenderProps,\n ref: Ref<HTMLAnchorElement>\n): JSX.Element => {\n const {\n id,\n href,\n onClick,\n newTabAndIUnderstandTheAccessibilityImplications,\n onFocus,\n onBlur,\n ...rest\n } = props\n const customProps = getCustomProps(rest)\n\n const target = newTabAndIUnderstandTheAccessibilityImplications\n ? \"_blank\"\n : \"_self\"\n\n return (\n <a\n id={id}\n href={href}\n target={target}\n rel={target === \"_blank\" ? \"noopener noreferrer\" : undefined}\n className={buttonClass(props)}\n onClick={onClick}\n onFocus={onFocus}\n onBlur={onBlur}\n ref={ref}\n aria-label={generateAriaLabel(props)}\n {...customProps}\n >\n {renderContent(props)}\n </a>\n )\n}\n\nconst buttonClass = (props: RenderProps): string => {\n const isDefault = !props.primary && !props.destructive && !props.secondary\n return classnames(\n styles.button,\n isDefault && styles.default,\n props.primary && styles.primary,\n props.destructive && styles.destructive,\n props.secondary && styles.secondary,\n props.size && styles[props.size],\n props.reversed && styles.reversed,\n props.iconButton && styles.iconButton,\n props.working && styles.working,\n (props.directionalLink || props.paginationLink) && styles.circleButton,\n props.directionalLink && styles.directionalLink,\n props.paginationLink && styles.paginationLink,\n props.isActive && styles.isPaginationLinkActive,\n props.classNameOverride\n )\n}\n\nconst renderLoadingSpinner = (): JSX.Element => (\n <div className={styles.loadingSpinner}>\n <LoadingSpinner accessibilityLabel=\"\" size=\"sm\" />\n </div>\n)\n\nconst renderWorkingContent = (\n props: Extract<RenderProps, { working: true }>\n): JSX.Element => {\n if (props.workingLabelHidden) {\n return (\n <>\n {/* This is to ensure the button stays at the correct width */}\n <span className={styles.hidden} aria-hidden=\"true\">\n {renderDefaultContent(props)}\n </span>\n <span className={styles.centeredLoadingSpinner}>\n {renderLoadingSpinner()}\n </span>\n </>\n )\n }\n\n return (\n <>\n {props.iconPosition !== \"end\" && renderLoadingSpinner()}\n <span className={styles.label}>{props.workingLabel}</span>\n {props.additionalContent && (\n <span className={styles.additionalContentWrapper}>\n {props.additionalContent}\n </span>\n )}\n {props.iconPosition === \"end\" && renderLoadingSpinner()}\n </>\n )\n}\n\nconst renderDefaultContent = (props: RenderProps): JSX.Element => (\n <>\n {props.icon && props.iconPosition !== \"end\" && renderIcon(props.icon)}\n {(!props.icon || !props.iconButton) && (\n <span className={styles.label}>{props.label}</span>\n )}\n {props.additionalContent && (\n <span className={styles.additionalContentWrapper}>\n {props.additionalContent}\n </span>\n )}\n {renderBadge(props)}\n {props.icon && props.iconPosition === \"end\" && renderIcon(props.icon)}\n </>\n)\n\nconst renderBadge = (props: RenderProps): JSX.Element | null => {\n if (!props.badge) return null\n\n const { text, animateChange, reversed, variant } = props.badge\n\n if (animateChange) {\n return (\n <BadgeAnimated variant={variant} reversed={reversed}>\n {text}\n </BadgeAnimated>\n )\n }\n return (\n <Badge variant={variant} reversed={reversed}>\n {text}\n </Badge>\n )\n}\n\nconst renderContent = (props: RenderProps): JSX.Element => (\n <span className={styles.content}>\n {props.working ? renderWorkingContent(props) : renderDefaultContent(props)}\n </span>\n)\n\nconst renderIcon = (icon: JSX.Element): JSX.Element => (\n <span className={styles.iconWrapper}>{icon}</span>\n)\n\n// We only want an aria-label in the case that the button has just an icon and no text\n// This can happen when the button is working and workingLabelHidden is true,\n// or when this is an IconButton\nconst generateAriaLabel = (props: RenderProps): string | undefined => {\n if (props.working && props.workingLabelHidden) {\n return props.workingLabel\n }\n\n if (props.iconButton) {\n return props.label\n }\n\n return undefined\n}\n"],"names":["getCustomProps","props","keys","Object","filter","k","indexOf","reduce","acc","val","GenericButton","forwardRef","ref","buttonRef","useRef","useImperativeHandle","focus","_a","current","determineButtonRenderer","component","renderCustomComponent","href","disabled","working","renderLink","renderButton","React","createElement","className","classnames","styles","container","fullWidth","defaultProps","iconPosition","iconButton","primary","secondary","newTabAndIUnderstandTheAccessibilityImplications","disableTabFocusAndIUnderstandTheAccessibilityImplications","type","displayName","CustomComponent","id","onClick","onFocus","onBlur","rest","__rest","customProps","__assign","buttonClass","generateAriaLabel","renderContent","onMouseDown","form","formAction","formMethod","formEncType","formTarget","formNoValidate","e","undefined","tabIndex","target","rel","isDefault","destructive","button","size","reversed","directionalLink","paginationLink","circleButton","isActive","isPaginationLinkActive","classNameOverride","renderLoadingSpinner","loadingSpinner","LoadingSpinner","accessibilityLabel","renderWorkingContent","workingLabelHidden","Fragment","hidden","renderDefaultContent","centeredLoadingSpinner","label","workingLabel","additionalContent","additionalContentWrapper","icon","renderIcon","renderBadge","badge","text","animateChange","variant","BadgeAnimated","Badge","content","iconWrapper"],"mappings":";;;;;;;;;;;AA8FA;AACA;AACA,IAAMA,cAAc,GAAG,SAAAA,CAACC,KAA0B,EAAA;EAChD,IAAMC,IAAI,GAAGC,MAAM,CAACD,IAAI,CAACD,KAAK,CAAC,CAACG,MAAM,CAAC,UAAAC,CAAC,EAAI;IAAA,OAAAA,CAAC,CAACC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;EAAA,CAAA,CAAC;EAClE,OAAOJ,IAAI,CAACK,MAAM,CAAsB,UAACC,GAAG,EAAEC,GAAG,EAAA;IAC/CD,GAAG,CAACC,GAAG,CAAC,GAAGR,KAAK,CAACQ,GAAG,CAAC;IACrB,OAAOD,GAAG;EACX,CAAA,EAAE,CAAE,CAAA,CAAC;AACR,CAAC;AAAA,MAEYE,aAAa;EAAA,MAAbA,aAAa,gBAAGC,UAAU,CACrC,UAACV,KAAkB,EAAEW,GAA+B,EAAA;IAClD,IAAMC,SAAS,GAAGC,MAAM,EAAyC;IACjEC,mBAAmB,CAACH,GAAG,EAAE,YAAA;MAAM,OAAC;QAC9BI,KAAK,EAAE,SAAAA,CAAA,EAAA;;UACL,CAAAC,EAAA,GAAAJ,SAAS,CAACK,OAAO,MAAE,IAAA,IAAAD,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAAA,EAAA,CAAAD,KAAK,CAAA,CAAE;QAC3B;MACF,CAAA;IAAC,CAAA,CAAC;IAEH,IAAMG,uBAAuB,GAAG,SAAAA,CAAA,EAAA;MAC9B,IAAIlB,KAAK,CAACmB,SAAS,EAAE;QACnB,OAAOC,qBAAqB,CAACpB,KAAK,CAACmB,SAAS,EAAEnB,KAAK,CAAC;MACrD;MAED,IAAIA,KAAK,CAACqB,IAAI,IAAI,CAACrB,KAAK,CAACsB,QAAQ,IAAI,CAACtB,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AAS;AAClB,CAAC;"}
1
+ {"version":3,"file":"GenericButton.mjs","sources":["../../../../src/Button/GenericButton/GenericButton.tsx"],"sourcesContent":["import React, {\n ComponentType,\n forwardRef,\n Ref,\n useImperativeHandle,\n useRef,\n MouseEvent,\n FocusEvent,\n} from \"react\"\nimport classnames from \"classnames\"\nimport { Badge, BadgeAnimated } from \"~components/Badge\"\nimport { LoadingSpinner } from \"~components/Loading\"\nimport styles from \"./GenericButton.module.scss\"\n\nexport type CustomButtonProps = {\n id?: string\n className: string\n href?: string\n disabled?: boolean\n onClick?: (e: MouseEvent<any>) => void\n onFocus?: (e: FocusEvent<HTMLElement>) => void\n onBlur?: (e: FocusEvent<HTMLElement>) => void\n children?: React.ReactNode\n \"data-testid\"?: string\n}\n\nexport type ButtonFormAttributes = Pick<\n React.ButtonHTMLAttributes<HTMLButtonElement>,\n | \"form\"\n | \"formAction\"\n | \"formMethod\"\n | \"formEncType\"\n | \"formTarget\"\n | \"formNoValidate\"\n>\n\nexport type GenericProps = {\n id?: string\n reversed?: boolean\n onClick?: (e: MouseEvent) => void\n onMouseDown?: (e: MouseEvent) => void\n href?: string\n newTabAndIUnderstandTheAccessibilityImplications?: boolean\n disableTabFocusAndIUnderstandTheAccessibilityImplications?: boolean\n onFocus?: (e: FocusEvent<HTMLElement>) => void\n onBlur?: (e: FocusEvent<HTMLElement>) => void\n component?: ComponentType<CustomButtonProps>\n classNameOverride?: string\n}\n\nexport type WorkingProps = {\n working: true\n workingLabel: string\n workingLabelHidden?: boolean\n}\n\nexport type WorkingUndefinedProps = {\n working?: false\n}\n\nexport type ButtonBadgeProps = {\n text: string\n animateChange?: boolean\n variant?: \"default\" | \"dark\" | \"active\"\n reversed?: boolean\n}\n\nexport type RenderProps = GenericButtonProps & {\n additionalContent?: React.ReactNode\n iconButton?: boolean\n directionalLink?: boolean\n paginationLink?: boolean\n isActive?: boolean\n}\n\nexport type ButtonRef = { focus: () => void }\n\nexport type GenericButtonProps = GenericProps &\n ButtonFormAttributes &\n (WorkingProps | WorkingUndefinedProps) & {\n label: string\n primary?: boolean\n destructive?: boolean\n secondary?: boolean\n /** @default \"regular\" */\n size?: \"small\" | \"regular\"\n badge?: ButtonBadgeProps\n type?: \"submit\" | \"reset\" | \"button\"\n fullWidth?: boolean\n iconPosition?: \"start\" | \"end\"\n icon?: JSX.Element\n disabled?: boolean\n }\n\n// We're treating custom props as anything that is kebab cased.\n// This is so we can support properties like aria-* or data-*\nconst getCustomProps = (props: Record<string, any>): Record<string, string> => {\n const keys = Object.keys(props).filter(k => k.indexOf(\"-\") !== -1)\n return keys.reduce<Record<string, any>>((acc, val) => {\n acc[val] = props[val]\n return acc\n }, {})\n}\n\nexport const GenericButton = forwardRef(\n (props: RenderProps, ref: Ref<ButtonRef | undefined>) => {\n const buttonRef = useRef<HTMLButtonElement | HTMLAnchorElement>()\n useImperativeHandle(ref, () => ({\n focus: (): void => {\n buttonRef.current?.focus()\n },\n }))\n\n const determineButtonRenderer = (): JSX.Element => {\n if (props.component) {\n return renderCustomComponent(props.component, props)\n }\n\n if (props.href && !props.disabled && !props.working) {\n return renderLink(props, buttonRef as Ref<HTMLAnchorElement>)\n }\n\n return renderButton(props, buttonRef as Ref<HTMLButtonElement>)\n }\n\n return (\n <span\n className={classnames(\n styles.container,\n props.fullWidth && styles.fullWidth\n )}\n aria-live={\"workingLabel\" in props ? \"polite\" : undefined}\n >\n {determineButtonRenderer()}\n </span>\n )\n }\n)\n\nGenericButton.defaultProps = {\n iconPosition: \"start\",\n iconButton: false,\n primary: false,\n secondary: false,\n newTabAndIUnderstandTheAccessibilityImplications: false,\n disableTabFocusAndIUnderstandTheAccessibilityImplications: false,\n type: \"button\",\n}\n\nGenericButton.displayName = \"GenericButton\"\n\nconst renderCustomComponent = (\n CustomComponent: ComponentType<CustomButtonProps>,\n props: RenderProps\n): JSX.Element => {\n const { id, disabled, href, onClick, onFocus, onBlur, ...rest } = props\n const customProps = getCustomProps(rest)\n return (\n <CustomComponent\n id={id}\n className={buttonClass(props)}\n disabled={disabled}\n href={href}\n onClick={onClick}\n onFocus={onFocus}\n onBlur={onBlur}\n aria-label={generateAriaLabel(props)}\n {...customProps}\n >\n {renderContent(props)}\n </CustomComponent>\n )\n}\n\nconst renderButton = (\n props: RenderProps,\n ref: Ref<HTMLButtonElement>\n): JSX.Element => {\n const {\n id,\n disabled,\n onClick,\n onMouseDown,\n type,\n disableTabFocusAndIUnderstandTheAccessibilityImplications,\n onFocus,\n onBlur,\n form,\n formAction,\n formMethod,\n formEncType,\n formTarget,\n formNoValidate,\n ...rest\n } = props\n const customProps = getCustomProps(rest)\n\n return (\n <button\n // eslint-disable-next-line react/button-has-type\n type={type}\n id={id}\n disabled={disabled}\n className={buttonClass(props)}\n onClick={onClick}\n onFocus={onFocus}\n onBlur={onBlur}\n onMouseDown={(e): void => onMouseDown && onMouseDown(e)}\n aria-label={generateAriaLabel(props)}\n aria-disabled={disabled || props.working ? true : undefined}\n form={form}\n formAction={formAction}\n formMethod={formMethod}\n formEncType={formEncType}\n formTarget={formTarget}\n formNoValidate={formNoValidate}\n tabIndex={\n disableTabFocusAndIUnderstandTheAccessibilityImplications\n ? -1\n : undefined\n }\n ref={ref}\n {...customProps}\n >\n {renderContent(props)}\n </button>\n )\n}\n\nconst renderLink = (\n props: RenderProps,\n ref: Ref<HTMLAnchorElement>\n): JSX.Element => {\n const {\n id,\n href,\n onClick,\n newTabAndIUnderstandTheAccessibilityImplications,\n onFocus,\n onBlur,\n ...rest\n } = props\n const customProps = getCustomProps(rest)\n\n const target = newTabAndIUnderstandTheAccessibilityImplications\n ? \"_blank\"\n : \"_self\"\n\n return (\n <a\n id={id}\n href={href}\n target={target}\n rel={target === \"_blank\" ? \"noopener noreferrer\" : undefined}\n className={buttonClass(props)}\n onClick={onClick}\n onFocus={onFocus}\n onBlur={onBlur}\n ref={ref}\n aria-label={generateAriaLabel(props)}\n {...customProps}\n >\n {renderContent(props)}\n </a>\n )\n}\n\nconst buttonClass = (props: RenderProps): string => {\n const isDefault = !props.primary && !props.destructive && !props.secondary\n return classnames(\n styles.button,\n isDefault && styles.default,\n props.primary && styles.primary,\n props.destructive && styles.destructive,\n props.secondary && styles.secondary,\n props.size && styles[props.size],\n props.reversed && styles.reversed,\n props.iconButton && styles.iconButton,\n props.working && styles.working,\n (props.directionalLink || props.paginationLink) && styles.circleButton,\n props.directionalLink && styles.directionalLink,\n props.paginationLink && styles.paginationLink,\n props.isActive && styles.isPaginationLinkActive,\n props.classNameOverride\n )\n}\n\nconst renderLoadingSpinner = (): JSX.Element => (\n <div className={styles.loadingSpinner}>\n <LoadingSpinner accessibilityLabel=\"\" size=\"sm\" />\n </div>\n)\n\nconst renderWorkingContent = (\n props: Extract<RenderProps, { working: true }>\n): JSX.Element => {\n if (props.workingLabelHidden) {\n return (\n <>\n {/* This is to ensure the button stays at the correct width */}\n <span className={styles.hidden} aria-hidden=\"true\">\n {renderDefaultContent(props)}\n </span>\n <span className={styles.centeredLoadingSpinner}>\n {renderLoadingSpinner()}\n </span>\n </>\n )\n }\n\n return (\n <>\n {props.iconPosition !== \"end\" && renderLoadingSpinner()}\n <span className={styles.label}>{props.workingLabel}</span>\n {props.additionalContent && (\n <span className={styles.additionalContentWrapper}>\n {props.additionalContent}\n </span>\n )}\n {props.iconPosition === \"end\" && renderLoadingSpinner()}\n </>\n )\n}\n\nconst renderDefaultContent = (props: RenderProps): JSX.Element => (\n <>\n {props.icon && props.iconPosition !== \"end\" && renderIcon(props.icon)}\n {(!props.icon || !props.iconButton) && (\n <span className={styles.label}>{props.label}</span>\n )}\n {props.additionalContent && (\n <span className={styles.additionalContentWrapper}>\n {props.additionalContent}\n </span>\n )}\n {renderBadge(props)}\n {props.icon && props.iconPosition === \"end\" && renderIcon(props.icon)}\n </>\n)\n\nconst renderBadge = (props: RenderProps): JSX.Element | null => {\n if (!props.badge) return null\n\n const { text, animateChange, reversed, variant } = props.badge\n\n if (animateChange) {\n return (\n <BadgeAnimated variant={variant} reversed={reversed}>\n {text}\n </BadgeAnimated>\n )\n }\n return (\n <Badge variant={variant} reversed={reversed}>\n {text}\n </Badge>\n )\n}\n\nconst renderContent = (props: RenderProps): JSX.Element => (\n <span className={styles.content}>\n {props.working ? renderWorkingContent(props) : renderDefaultContent(props)}\n </span>\n)\n\nconst renderIcon = (icon: JSX.Element): JSX.Element => (\n <span className={styles.iconWrapper}>{icon}</span>\n)\n\n// We only want an aria-label in the case that the button has just an icon and no text\n// This can happen when the button is working and workingLabelHidden is true,\n// or when this is an IconButton\nconst generateAriaLabel = (props: RenderProps): string | undefined => {\n if (props.working && props.workingLabelHidden) {\n return props.workingLabel\n }\n\n if (props.iconButton) {\n return props.label\n }\n\n return undefined\n}\n"],"names":["getCustomProps","props","keys","Object","filter","k","indexOf","reduce","acc","val","GenericButton","forwardRef","ref","buttonRef","useRef","useImperativeHandle","focus","_a","current","determineButtonRenderer","component","renderCustomComponent","href","disabled","working","renderLink","renderButton","React","createElement","className","classnames","styles","container","fullWidth","undefined","defaultProps","iconPosition","iconButton","primary","secondary","newTabAndIUnderstandTheAccessibilityImplications","disableTabFocusAndIUnderstandTheAccessibilityImplications","type","displayName","CustomComponent","id","onClick","onFocus","onBlur","rest","__rest","customProps","__assign","buttonClass","generateAriaLabel","renderContent","onMouseDown","form","formAction","formMethod","formEncType","formTarget","formNoValidate","e","tabIndex","target","rel","isDefault","destructive","button","size","reversed","directionalLink","paginationLink","circleButton","isActive","isPaginationLinkActive","classNameOverride","renderLoadingSpinner","loadingSpinner","LoadingSpinner","accessibilityLabel","renderWorkingContent","workingLabelHidden","Fragment","hidden","renderDefaultContent","centeredLoadingSpinner","label","workingLabel","additionalContent","additionalContentWrapper","icon","renderIcon","renderBadge","badge","text","animateChange","variant","BadgeAnimated","Badge","content","iconWrapper"],"mappings":";;;;;;;;;;;AA8FA;AACA;AACA,IAAMA,cAAc,GAAG,SAAAA,CAACC,KAA0B,EAAA;EAChD,IAAMC,IAAI,GAAGC,MAAM,CAACD,IAAI,CAACD,KAAK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AgB;EAE9D,IAAID,aAAa,EAAE;IACjB,oBACEtE,KAAA,CAAAC,aAAA,CAACuE,aAAa,EAAA;MAACD,OAAO,EAAEA,OAAO;MAAE3B,QAAQ,EAAEA;KAAQ,EAChDyB,IAAI,CACS;EAEnB;EACD,oBACErE,KAAA,CAAAC,aAAA,CAACwE,KAAK,EAAA;IAACF,OAAO,EAAEA,OAAO;IAAE3B,QAAQ,EAAEA;GAAQ,EACxCyB,IAAI,CACC;AAEZ,CAAC;AAED,IAAMzC,aAAa,GAAG,SAAAA,CAACtD,KAAkB;EAAkB,oBACzD0B,KAAM,CAAAC,aAAA,CAAA,MAAA,EAAA;IAAAC,SAAS,EAAEE,MAAM,CAACsE;EAAO,CAAA,EAC5BpG,KAAK,CAACuB,OAAO,GAAG0D,oBAAoB,CAACjF,KAAK,CAAC,GAAGqF,oBAAoB,CAACrF,KAAK,CAAC,CACrE;CACR;AAED,IAAM4F,UAAU,GAAG,SAAAA,CAACD,IAAiB,EAAkB;EAAA,oBACrDjE,KAAM,CAAAC,aAAA,CAAA,MAAA,EAAA;IAAAC,SAAS,EAAEE,MAAM,CAACuE;EAAc,CAAA,EAAAV,IAAI,CAAQ;AACnD,CAAA;AAED;AACA;AACA;AACA,IAAMtC,iBAAiB,GAAG,SAAAA,CAACrD,KAAkB,EAAA;EAC3C,IAAIA,KAAK,CAACuB,OAAO,IAAIvB,KAAK,CAACkF,kBAAkB,EAAE;IAC7C,OAAOlF,KAAK,CAACwF,YAAY;EAC1B;EAED,IAAIxF,KAAK,CAACoC,UAAU,EAAE;IACpB,OAAOpC,KAAK,CAACuF,KAAK;EACnB;EAED,OAAOtD,SAAS;AAClB,CAAC;"}
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
+ import '../Notification/InlineNotification/InlineNotification.mjs';
3
+ import '../Notification/GlobalNotification/GlobalNotification.mjs';
4
+ import '../Notification/ToastNotification/ToastNotification/ToastNotification.mjs';
5
+ import { ToastNotificationsList } from '../Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.mjs';
6
+ import { ToastNotificationProvider } from '../Notification/ToastNotification/context/ToastNotificationContext.mjs';
2
7
  import { FontDefinitions } from './subcomponents/FontDefinitions/FontDefinitions.mjs';
3
8
  import { OptionalIntlProvider } from './subcomponents/OptionalIntlProvider/OptionalIntlProvider.mjs';
4
9
  const KaizenProvider = /*#__PURE__*/function () {
@@ -8,7 +13,7 @@ const KaizenProvider = /*#__PURE__*/function () {
8
13
  locale = _b === void 0 ? "en" : _b;
9
14
  return /*#__PURE__*/React.createElement(OptionalIntlProvider, {
10
15
  locale: locale
11
- }, /*#__PURE__*/React.createElement(React.Fragment, null, children, /*#__PURE__*/React.createElement(FontDefinitions, null)));
16
+ }, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ToastNotificationProvider, null, /*#__PURE__*/React.createElement(ToastNotificationsList, null), children), /*#__PURE__*/React.createElement(FontDefinitions, null)));
12
17
  };
13
18
  KaizenProvider.displayName = "KaizenProvider";
14
19
  return KaizenProvider;
@@ -1 +1 @@
1
- {"version":3,"file":"KaizenProvider.mjs","sources":["../../../src/KaizenProvider/KaizenProvider.tsx"],"sourcesContent":["import React from \"react\"\nimport { FontDefinitions } from \"./subcomponents/FontDefinitions\"\nimport { OptionalIntlProvider } from \"./subcomponents/OptionalIntlProvider\"\n\nexport type KaizenProviderProps = {\n children: React.ReactNode\n locale?: string\n}\n\nexport const KaizenProvider = ({\n children,\n locale = \"en\",\n}: KaizenProviderProps): JSX.Element => (\n <OptionalIntlProvider locale={locale}>\n <>\n {children}\n <FontDefinitions />\n </>\n </OptionalIntlProvider>\n)\n\nKaizenProvider.displayName = \"KaizenProvider\"\n"],"names":["KaizenProvider","_a","children","_b","locale","React","createElement","OptionalIntlProvider","Fragment","FontDefinitions","displayName"],"mappings":";;;MASaA,cAAc;EAAA,MAAdA,cAAc,GAAG,SAAAA,CAACC,EAGT,EAAA;IAFpB,IAAAC,QAAQ,cAAA;MACRC,EAAA,GAAAF,EAAA,CAAAG,MAAa;MAAbA,MAAM,GAAAD,EAAA,KAAA,KAAA,CAAA,GAAG,IAAI,GAAAA,EAAA;IACyB,oBACtCE,KAAC,CAAAC,aAAA,CAAAC,oBAAoB,EAAC;MAAAH,MAAM,EAAEA;IAAM,CAAA,eAClCC,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAG,QAAA,EAAA,IAAA,EACGN,QAAQ,eACTG,KAAA,CAAAC,aAAA,CAACG,eAAe,EAAA,IAAA,CAAG,CAClB,CACkB;EANe,CAOvC;EAEDT,cAAc,CAACU,WAAW,GAAG,gBAAgB;EAAA,OAZhCV,cAAc;AAAA;"}
1
+ {"version":3,"file":"KaizenProvider.mjs","sources":["../../../src/KaizenProvider/KaizenProvider.tsx"],"sourcesContent":["import React from \"react\"\nimport { ToastNotificationsList } from \"~components/Notification\"\nimport { ToastNotificationProvider } from \"~components/Notification/ToastNotification/context/ToastNotificationContext\"\nimport { FontDefinitions } from \"./subcomponents/FontDefinitions\"\nimport { OptionalIntlProvider } from \"./subcomponents/OptionalIntlProvider\"\n\nexport type KaizenProviderProps = {\n children: React.ReactNode\n locale?: string\n}\n\nexport const KaizenProvider = ({\n children,\n locale = \"en\",\n}: KaizenProviderProps): JSX.Element => (\n <OptionalIntlProvider locale={locale}>\n <>\n <ToastNotificationProvider>\n <ToastNotificationsList />\n {children}\n </ToastNotificationProvider>\n <FontDefinitions />\n </>\n </OptionalIntlProvider>\n)\n\nKaizenProvider.displayName = \"KaizenProvider\"\n"],"names":["KaizenProvider","_a","children","_b","locale","React","createElement","OptionalIntlProvider","Fragment","ToastNotificationProvider","ToastNotificationsList","FontDefinitions","displayName"],"mappings":";;;;;;;;MAWaA,cAAc;EAAA,MAAdA,cAAc,GAAG,SAAAA,CAACC,EAGT,EAAA;IAFpB,IAAAC,QAAQ,cAAA;MACRC,EAAA,GAAAF,EAAA,CAAAG,MAAa;MAAbA,MAAM,GAAAD,EAAA,KAAA,KAAA,CAAA,GAAG,IAAI,GAAAA,EAAA;IACyB,oBACtCE,KAAC,CAAAC,aAAA,CAAAC,oBAAoB,EAAC;MAAAH,MAAM,EAAEA;IAAM,CAAA,eAClCC,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAG,QAAA,EAAA,IAAA,eACEH,KAAA,CAAAC,aAAA,CAACG,yBAAyB,EAAA,IAAA,eACxBJ,KAAA,CAAAC,aAAA,CAACI,sBAAsB,EAAG,IAAA,CAAA,EACzBR,QAAQ,CACiB,eAC5BG,KAAA,CAAAC,aAAA,CAACK,eAAe,EAAA,IAAA,CAAG,CAClB,CACkB;EATe,CAUvC;EAEDX,cAAc,CAACY,WAAW,GAAG,gBAAgB;EAAA,OAfhCZ,cAAc;AAAA;"}
@@ -24,6 +24,7 @@ const ContextModal = /*#__PURE__*/function () {
24
24
  layout = _c === void 0 ? "portrait" : _c,
25
25
  title = _a.title,
26
26
  onConfirm = _a.onConfirm,
27
+ propsOnDismiss = _a.onDismiss,
27
28
  onAfterLeave = _a.onAfterLeave,
28
29
  _d = _a.confirmLabel,
29
30
  confirmLabel = _d === void 0 ? "Confirm" : _d,
@@ -32,8 +33,10 @@ const ContextModal = /*#__PURE__*/function () {
32
33
  children = _a.children,
33
34
  contentHeader = _a.contentHeader,
34
35
  image = _a.image,
35
- props = __rest(_a, ["isOpen", "unpadded", "layout", "title", "onConfirm", "onAfterLeave", "confirmLabel", "confirmWorking", "renderBackground", "children", "contentHeader", "image"]);
36
- var onDismiss = confirmWorking ? undefined : props.onDismiss;
36
+ secondaryLabel = _a.secondaryLabel,
37
+ onSecondaryAction = _a.onSecondaryAction,
38
+ props = __rest(_a, ["isOpen", "unpadded", "layout", "title", "onConfirm", "onDismiss", "onAfterLeave", "confirmLabel", "confirmWorking", "renderBackground", "children", "contentHeader", "image", "secondaryLabel", "onSecondaryAction"]);
39
+ var onDismiss = confirmWorking ? undefined : propsOnDismiss;
37
40
  var footerActions = [];
38
41
  var workingProps = confirmWorking ? {
39
42
  working: true,
@@ -47,10 +50,10 @@ const ContextModal = /*#__PURE__*/function () {
47
50
  };
48
51
  footerActions.push(__assign(__assign({}, confirmAction), workingProps));
49
52
  }
50
- if (props.secondaryLabel) {
53
+ if (secondaryLabel) {
51
54
  footerActions.push({
52
- label: props.secondaryLabel,
53
- onClick: props.onSecondaryAction,
55
+ label: secondaryLabel,
56
+ onClick: onSecondaryAction,
54
57
  disabled: !!confirmWorking
55
58
  });
56
59
  }
@@ -78,7 +81,7 @@ const ContextModal = /*#__PURE__*/function () {
78
81
  }, image), /*#__PURE__*/React.createElement("div", {
79
82
  className: styles.content
80
83
  }, children, onConfirm != null && /*#__PURE__*/React.createElement("div", {
81
- className: props.secondaryLabel ? styles.footerWithSecondaryAction : styles.footer
84
+ className: secondaryLabel ? styles.footerWithSecondaryAction : styles.footer
82
85
  })))), /*#__PURE__*/React.createElement(ModalFooter, {
83
86
  variant: image ? "context" : undefined,
84
87
  actions: footerActions,
@@ -1 +1 @@
1
- {"version":3,"file":"ContextModal.mjs","sources":["../../../../src/Modal/ContextModal/ContextModal.tsx"],"sourcesContent":["import React, { HTMLAttributes } from \"react\"\nimport classnames from \"classnames\"\nimport { ButtonProps } from \"~components/Button\"\nimport { Heading } from \"~components/Heading\"\nimport {\n GenericModal,\n ModalFooter,\n ModalHeader,\n ModalAccessibleLabel,\n ModalBody,\n} from \"~components/Modal/GenericModal\"\nimport styles from \"./ContextModal.module.scss\"\n\nexport type ContextModalSecondaryActionProps =\n | {\n secondaryLabel: string\n onSecondaryAction: () => void\n }\n | {\n secondaryLabel?: undefined\n }\n\nexport type ContextModalProps = Readonly<\n {\n isOpen: boolean\n unpadded?: boolean\n /**\n * Defines the orientation layout of the image and content\n */\n layout?: \"portrait\" | \"landscape\"\n title: string\n onConfirm?: () => void\n onDismiss: () => void\n onAfterLeave?: () => void\n confirmLabel?: string\n confirmWorking?: { label: string; labelHidden?: boolean }\n /**\n * @deprecated use data-testid instead\n */\n automationId?: string\n renderBackground?: () => React.ReactNode\n image?: React.ReactNode\n children: React.ReactNode\n contentHeader?: React.ReactNode\n } & ContextModalSecondaryActionProps &\n HTMLAttributes<HTMLDivElement>\n>\n\n/**\n * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082093114/Modal Guidance} |\n * {@link https://cultureamp.design/?path=/docs/components-modals--contextmodal--docs Storybook}\n */\nexport const ContextModal = ({\n isOpen,\n unpadded = false,\n layout = \"portrait\",\n title,\n onConfirm,\n onAfterLeave,\n confirmLabel = \"Confirm\",\n confirmWorking,\n renderBackground,\n children,\n contentHeader,\n image,\n ...props\n}: ContextModalProps): JSX.Element => {\n const onDismiss = confirmWorking ? undefined : props.onDismiss\n\n const footerActions: ButtonProps[] = []\n\n const workingProps = confirmWorking\n ? {\n working: true,\n workingLabel: confirmWorking.label,\n workingLabelHidden: confirmWorking.labelHidden,\n }\n : {}\n\n if (onConfirm) {\n const confirmAction = { label: confirmLabel, onClick: onConfirm }\n footerActions.push({ ...confirmAction, ...workingProps })\n }\n\n if (props.secondaryLabel) {\n footerActions.push({\n label: props.secondaryLabel,\n onClick: props.onSecondaryAction,\n disabled: !!confirmWorking,\n })\n }\n\n return (\n <GenericModal\n isOpen={isOpen}\n onEscapeKeyup={onDismiss}\n onOutsideModalClick={onDismiss}\n onAfterLeave={onAfterLeave}\n >\n <div className={styles.modal} data-modal {...props}>\n {renderBackground && renderBackground()}\n <ModalHeader onDismiss={onDismiss}>\n <div\n className={classnames(styles.header, !unpadded && styles.padded)}\n >\n <ModalAccessibleLabel>\n <Heading variant=\"heading-2\" tag=\"h2\">\n {title}\n </Heading>\n </ModalAccessibleLabel>\n </div>\n </ModalHeader>\n {contentHeader && (\n <div className={styles.contentHeader}>{contentHeader}</div>\n )}\n <ModalBody>\n <div\n className={classnames(\n styles.contentLayout,\n styles[`${layout}Contentlayout`]\n )}\n >\n {image && <div className={styles.image}>{image}</div>}\n <div className={styles.content}>\n {children}\n {onConfirm != null && (\n <div\n className={\n props.secondaryLabel\n ? styles.footerWithSecondaryAction\n : styles.footer\n }\n ></div>\n )}\n </div>\n </div>\n </ModalBody>\n <ModalFooter\n variant={image ? \"context\" : undefined}\n actions={footerActions}\n appearance=\"primary\"\n unpadded={unpadded}\n />\n </div>\n </GenericModal>\n )\n}\n\nContextModal.displayName = \"ContextModal\"\n"],"names":["ContextModal","_a","isOpen","_b","unpadded","_c","layout","title","onConfirm","onAfterLeave","_d","confirmLabel","confirmWorking","renderBackground","children","contentHeader","image","props","__rest","onDismiss","undefined","footerActions","workingProps","working","workingLabel","label","workingLabelHidden","labelHidden","confirmAction","onClick","push","__assign","secondaryLabel","onSecondaryAction","disabled","React","createElement","GenericModal","onEscapeKeyup","onOutsideModalClick","className","styles","modal","ModalHeader","classnames","header","padded","ModalAccessibleLabel","Heading","variant","tag","ModalBody","contentLayout","concat","content","footerWithSecondaryAction","footer","ModalFooter","actions","appearance","displayName"],"mappings":";;;;;;;;;;;;;AAgDA;;;AAGG;AAHH,MAIaA,YAAY;EAAA,MAAZA,YAAY,GAAG,SAAAA,CAACC,EAcT,EAAA;IAblB,IAAAC,MAAM,YAAA;MACNC,EAAA,GAAAF,EAAA,CAAAG,QAAgB;MAAhBA,QAAQ,GAAAD,EAAA,KAAA,KAAA,CAAA,GAAG,KAAK,GAAAA,EAAA;MAChBE,EAAA,GAAAJ,EAAA,CAAAK,MAAmB;MAAnBA,MAAM,GAAAD,EAAA,KAAA,KAAA,CAAA,GAAG,UAAU,GAAAA,EAAA;MACnBE,KAAK,WAAA;MACLC,SAAS,GAAAP,EAAA,CAAAO,SAAA;MACTC,YAAY,GAAAR,EAAA,CAAAQ,YAAA;MACZC,EAAwB,GAAAT,EAAA,CAAAU,YAAA;MAAxBA,YAAY,GAAAD,EAAA,KAAA,KAAA,CAAA,GAAG,SAAS,GAAAA,EAAA;MACxBE,cAAc,GAAAX,EAAA,CAAAW,cAAA;MACdC,gBAAgB,GAAAZ,EAAA,CAAAY,gBAAA;MAChBC,QAAQ,GAAAb,EAAA,CAAAa,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R,OAAO,EAAEjC,KAAK,GAAG,SAAS,GAAGI,SAAS;MACtCsC,OAAO,EAAErC,aAAa;MACtBsC,UAAU,EAAC,SAAS;MACpBvD,QAAQ,EAAEA;IAAQ,CAAA,CAClB,CACE,CACO;EAEnB,CAAC;EAEDJ,YAAY,CAAC4D,WAAW,GAAG,cAAc;EAAA,OAhG5B5D,YAAY;AAAA;"}
1
+ {"version":3,"file":"ContextModal.mjs","sources":["../../../../src/Modal/ContextModal/ContextModal.tsx"],"sourcesContent":["import React, { HTMLAttributes } from \"react\"\nimport classnames from \"classnames\"\nimport { ButtonProps } from \"~components/Button\"\nimport { Heading } from \"~components/Heading\"\nimport {\n GenericModal,\n ModalFooter,\n ModalHeader,\n ModalAccessibleLabel,\n ModalBody,\n} from \"~components/Modal/GenericModal\"\nimport styles from \"./ContextModal.module.scss\"\n\nexport type ContextModalSecondaryActionProps =\n | {\n secondaryLabel: string\n onSecondaryAction: () => void\n }\n | {\n secondaryLabel?: undefined\n onSecondaryAction?: never\n }\n\nexport type ContextModalProps = Readonly<\n {\n isOpen: boolean\n unpadded?: boolean\n /**\n * Defines the orientation layout of the image and content\n */\n layout?: \"portrait\" | \"landscape\"\n title: string\n onConfirm?: () => void\n onDismiss: () => void\n onAfterLeave?: () => void\n confirmLabel?: string\n confirmWorking?: { label: string; labelHidden?: boolean }\n /**\n * @deprecated use data-testid instead\n */\n automationId?: string\n renderBackground?: () => React.ReactNode\n image?: React.ReactNode\n children: React.ReactNode\n contentHeader?: React.ReactNode\n } & ContextModalSecondaryActionProps &\n HTMLAttributes<HTMLDivElement>\n>\n\n/**\n * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082093114/Modal Guidance} |\n * {@link https://cultureamp.design/?path=/docs/components-modals--contextmodal--docs Storybook}\n */\nexport const ContextModal = ({\n isOpen,\n unpadded = false,\n layout = \"portrait\",\n title,\n onConfirm,\n onDismiss: propsOnDismiss,\n onAfterLeave,\n confirmLabel = \"Confirm\",\n confirmWorking,\n renderBackground,\n children,\n contentHeader,\n image,\n secondaryLabel,\n onSecondaryAction,\n ...props\n}: ContextModalProps): JSX.Element => {\n const onDismiss = confirmWorking ? undefined : propsOnDismiss\n\n const footerActions: ButtonProps[] = []\n\n const workingProps = confirmWorking\n ? {\n working: true,\n workingLabel: confirmWorking.label,\n workingLabelHidden: confirmWorking.labelHidden,\n }\n : {}\n\n if (onConfirm) {\n const confirmAction = { label: confirmLabel, onClick: onConfirm }\n footerActions.push({ ...confirmAction, ...workingProps })\n }\n\n if (secondaryLabel) {\n footerActions.push({\n label: secondaryLabel,\n onClick: onSecondaryAction,\n disabled: !!confirmWorking,\n })\n }\n\n return (\n <GenericModal\n isOpen={isOpen}\n onEscapeKeyup={onDismiss}\n onOutsideModalClick={onDismiss}\n onAfterLeave={onAfterLeave}\n >\n <div className={styles.modal} data-modal {...props}>\n {renderBackground && renderBackground()}\n <ModalHeader onDismiss={onDismiss}>\n <div\n className={classnames(styles.header, !unpadded && styles.padded)}\n >\n <ModalAccessibleLabel>\n <Heading variant=\"heading-2\" tag=\"h2\">\n {title}\n </Heading>\n </ModalAccessibleLabel>\n </div>\n </ModalHeader>\n {contentHeader && (\n <div className={styles.contentHeader}>{contentHeader}</div>\n )}\n <ModalBody>\n <div\n className={classnames(\n styles.contentLayout,\n styles[`${layout}Contentlayout`]\n )}\n >\n {image && <div className={styles.image}>{image}</div>}\n <div className={styles.content}>\n {children}\n {onConfirm != null && (\n <div\n className={\n secondaryLabel\n ? styles.footerWithSecondaryAction\n : styles.footer\n }\n ></div>\n )}\n </div>\n </div>\n </ModalBody>\n <ModalFooter\n variant={image ? \"context\" : undefined}\n actions={footerActions}\n appearance=\"primary\"\n unpadded={unpadded}\n />\n </div>\n </GenericModal>\n )\n}\n\nContextModal.displayName = \"ContextModal\"\n"],"names":["ContextModal","_a","isOpen","_b","unpadded","_c","layout","title","onConfirm","propsOnDismiss","onDismiss","onAfterLeave","_d","confirmLabel","confirmWorking","renderBackground","children","contentHeader","image","secondaryLabel","onSecondaryAction","props","__rest","undefined","footerActions","workingProps","working","workingLabel","label","workingLabelHidden","labelHidden","confirmAction","onClick","push","__assign","disabled","React","createElement","GenericModal","onEscapeKeyup","onOutsideModalClick","className","styles","modal","ModalHeader","classnames","header","padded","ModalAccessibleLabel","Heading","variant","tag","ModalBody","contentLayout","concat","content","footerWithSecondaryAction","footer","ModalFooter","actions","appearance","displayName"],"mappings":";;;;;;;;;;;;;AAiDA;;;AAGG;AAHH,MAIaA,YAAY;EAAA,MAAZA,YAAY,GAAG,SAAAA,CAACC,EAiBT,EAAA;IAhBlB,IAAAC,MAAM,GAAAD,EAAA,CAAAC,MAAA;MACNC,EAAA,GAAAF,EAAA,CAAAG,QAAgB;MAAhBA,QAAQ,GAAGD,EAAA,KAAA,KAAA,CAAA,GAAA,KAAK,GAAAA,EAAA;MAChBE,EAAmB,GAAAJ,EAAA,CAAAK,MAAA;MAAnBA,MAAM,GAAAD,EAAA,KAAA,KAAA,CAAA,GAAG,UAAU,GAAAA,EAAA;MACnBE,KAAK,GAAAN,EAAA,CAAAM,KAAA;MACLC,SAAS,GAAAP,EAAA,CAAAO,SAAA;MACEC,cAAc,GAAAR,EAAA,CAAAS,SAAA;MACzBC,YAAY,GAAAV,EAAA,CAAAU,YAAA;MACZC,EAAA,GAAAX,EAAA,CAAAY,YAAwB;MAAxBA,YAAY,GAAGD,EAAA,KAAA,KAAA,CAAA,GAAA,SAAS,GAAAA,EAAA;MACxBE,cAAc,GAAAb,EAAA,CAAAa,cAAA;MACdC,gBAAgB,GAAAd,EAAA,CAAAc,gBAAA;MAChBC,QAAQ,GAAAf,EAAA,CAAAe,QAAA;MACRC,aAAa,GAAAhB,EAAA,CAAAgB,aAAA;MACbC,KAAK,GAAAjB,EAAA,CAAAiB,KAAA;MACLC,cAAc,GAAAlB,EAAA,CAAAkB,cAAA;MACdC,iBAAiB,GAAAnB,EAAA,CAAAmB,iBAAA;MACdC,KAAK,GAhBmBC,MAAA,CAAArB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oC,UAAU,EAAC,SAAS;MACpBxD,QAAQ,EAAEA;IAAQ,CAAA,CAClB,CACE,CACO;EAEnB,CAAC;EAEDJ,YAAY,CAAC6D,WAAW,GAAG,cAAc;EAAA,OAnG5B7D,YAAY;AAAA;"}
@@ -20,7 +20,7 @@ const Popover = /*#__PURE__*/function () {
20
20
  floating: refs.floating.current
21
21
  },
22
22
  placement: "bottom-start",
23
- middleware: [offset(15), flip(), size({
23
+ middleware: [offset(6), flip(), size({
24
24
  apply: function (_a) {
25
25
  var availableWidth = _a.availableWidth,
26
26
  availableHeight = _a.availableHeight,
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.mjs","sources":["../../../../../src/MultiSelect/subcomponents/Popover/Popover.tsx"],"sourcesContent":["import React, { HTMLAttributes } from \"react\"\nimport { createPortal } from \"react-dom\"\nimport {\n autoUpdate,\n flip,\n offset,\n ReferenceType,\n useFloating,\n UseFloatingReturn,\n UseFloatingOptions,\n size,\n} from \"@floating-ui/react-dom\"\nimport classnames from \"classnames\"\nimport { FocusOn } from \"react-focus-on\"\nimport { ReactFocusOnProps } from \"react-focus-on/dist/es5/types\"\nimport { OverrideClassName } from \"~types/OverrideClassName\"\nimport styles from \"./Popover.module.scss\"\n\nexport type PopoverProps<RT extends ReferenceType = ReferenceType> = {\n children: React.ReactNode\n refs: UseFloatingReturn<RT>[\"refs\"]\n /**\n * passes in additional options / override for https://floating-ui.com/docs/tooltip#usefloating-hook\n */\n floatingOptions?: Omit<UseFloatingOptions, \"elements\">\n focusOnProps?: Omit<ReactFocusOnProps, \"children\">\n portalContainer?: Element | DocumentFragment\n} & OverrideClassName<HTMLAttributes<HTMLDivElement>>\n\nexport const Popover = <RT extends ReferenceType>({\n children,\n refs,\n floatingOptions,\n focusOnProps,\n portalContainer,\n classNameOverride,\n ...restProps\n}: PopoverProps<RT>): JSX.Element => {\n const { floatingStyles } = useFloating({\n elements: {\n reference: refs.reference.current,\n floating: refs.floating.current,\n },\n placement: \"bottom-start\",\n middleware: [\n offset(15),\n flip(),\n size({\n apply({ availableWidth, availableHeight, elements }) {\n Object.assign(elements.floating.style, {\n maxWidth: `${Math.min(availableWidth, 400)}px`,\n minWidth: `${Math.min(availableWidth, 196)}px`,\n maxHeight: `${Math.min(availableHeight, 352)}px`,\n })\n },\n }),\n ],\n whileElementsMounted: autoUpdate,\n ...floatingOptions,\n })\n\n return createPortal(\n <FocusOn scrollLock={false} {...focusOnProps}>\n <div\n ref={refs.setFloating}\n style={floatingStyles}\n className={classnames(styles.popover, classNameOverride)}\n role=\"dialog\"\n aria-modal=\"true\"\n {...restProps}\n >\n {children}\n </div>\n </FocusOn>,\n portalContainer ?? document.body\n )\n}\n\nPopover.displayName = \"Popover\"\n"],"names":["Popover","_a","children","refs","floatingOptions","focusOnProps","portalContainer","classNameOverride","restProps","__rest","floatingStyles","useFloating","__assign","elements","reference","current","floating","placement","middleware","offset","flip","size","apply","availableWidth","availableHeight","Object","assign","style","maxWidth","concat","Math","min","minWidth","maxHeight","whileElementsMounted","autoUpdate","createPortal","React","createElement","FocusOn","scrollLock","ref","setFloating","className","classnames","styles","popover","role","document","body","displayName"],"mappings":";;;;;;;MA6BaA,OAAO;EAAA,MAAPA,OAAO,GAAG,SAAAA,CAA2BC,EAQ/B,EAAA;IAPjB,IAAAC,QAAQ,cAAA;MACRC,IAAI,UAAA;MACJC,eAAe,qBAAA;MACfC,YAAY,kBAAA;MACZC,eAAe,qBAAA;MACfC,iBAAiB,uBAAA;MACdC,SAAS,GAPoCC,MAAA,CAAAR,EAAA,EAAA,CAAA,UAAA,EAAA,MAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,iBAAA,EAAA,mBAAA,CAQjD,CADa;IAEJ,IAAAS,cAAc,GAAKC,WAAW,CAAAC,QAAA,CAAA;MACpCC,QAAQ,EAAE;QACRC,SAAS,EAAEX,IAAI,CAACW,SAAS,CAACC,OAAO;QACjCC,QAAQ,EAAEb,IAAI,CAACa,QAAQ,CAACD;MACzB,CAAA;MACDE,S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AQ,CAACC,IAAI,CACjC;EACH,CAAC;EAEDjD,OAAO,CAACkD,WAAW,GAAG,SAAS;EAAA,OAjDlBlD,OAAO;AAAA;"}
1
+ {"version":3,"file":"Popover.mjs","sources":["../../../../../src/MultiSelect/subcomponents/Popover/Popover.tsx"],"sourcesContent":["import React, { HTMLAttributes } from \"react\"\nimport { createPortal } from \"react-dom\"\nimport {\n autoUpdate,\n flip,\n offset,\n ReferenceType,\n useFloating,\n UseFloatingReturn,\n UseFloatingOptions,\n size,\n} from \"@floating-ui/react-dom\"\nimport classnames from \"classnames\"\nimport { FocusOn } from \"react-focus-on\"\nimport { ReactFocusOnProps } from \"react-focus-on/dist/es5/types\"\nimport { OverrideClassName } from \"~types/OverrideClassName\"\nimport styles from \"./Popover.module.scss\"\n\nexport type PopoverProps<RT extends ReferenceType = ReferenceType> = {\n children: React.ReactNode\n refs: UseFloatingReturn<RT>[\"refs\"]\n /**\n * passes in additional options / override for https://floating-ui.com/docs/tooltip#usefloating-hook\n */\n floatingOptions?: Omit<UseFloatingOptions, \"elements\">\n focusOnProps?: Omit<ReactFocusOnProps, \"children\">\n portalContainer?: Element | DocumentFragment\n} & OverrideClassName<HTMLAttributes<HTMLDivElement>>\n\nexport const Popover = <RT extends ReferenceType>({\n children,\n refs,\n floatingOptions,\n focusOnProps,\n portalContainer,\n classNameOverride,\n ...restProps\n}: PopoverProps<RT>): JSX.Element => {\n const { floatingStyles } = useFloating({\n elements: {\n reference: refs.reference.current,\n floating: refs.floating.current,\n },\n placement: \"bottom-start\",\n middleware: [\n offset(6),\n flip(),\n size({\n apply({ availableWidth, availableHeight, elements }) {\n Object.assign(elements.floating.style, {\n maxWidth: `${Math.min(availableWidth, 400)}px`,\n minWidth: `${Math.min(availableWidth, 196)}px`,\n maxHeight: `${Math.min(availableHeight, 352)}px`,\n })\n },\n }),\n ],\n whileElementsMounted: autoUpdate,\n ...floatingOptions,\n })\n\n return createPortal(\n <FocusOn scrollLock={false} {...focusOnProps}>\n <div\n ref={refs.setFloating}\n style={floatingStyles}\n className={classnames(styles.popover, classNameOverride)}\n role=\"dialog\"\n aria-modal=\"true\"\n {...restProps}\n >\n {children}\n </div>\n </FocusOn>,\n portalContainer ?? document.body\n )\n}\n\nPopover.displayName = \"Popover\"\n"],"names":["Popover","_a","children","refs","floatingOptions","focusOnProps","portalContainer","classNameOverride","restProps","__rest","floatingStyles","useFloating","__assign","elements","reference","current","floating","placement","middleware","offset","flip","size","apply","availableWidth","availableHeight","Object","assign","style","maxWidth","concat","Math","min","minWidth","maxHeight","whileElementsMounted","autoUpdate","createPortal","React","createElement","FocusOn","scrollLock","ref","setFloating","className","classnames","styles","popover","role","document","body","displayName"],"mappings":";;;;;;;MA6BaA,OAAO;EAAA,MAAPA,OAAO,GAAG,SAAAA,CAA2BC,EAQ/B,EAAA;IAPjB,IAAAC,QAAQ,cAAA;MACRC,IAAI,UAAA;MACJC,eAAe,qBAAA;MACfC,YAAY,kBAAA;MACZC,eAAe,qBAAA;MACfC,iBAAiB,uBAAA;MACdC,SAAS,GAPoCC,MAAA,CAAAR,EAAA,EAAA,CAAA,UAAA,EAAA,MAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,iBAAA,EAAA,mBAAA,CAQjD,CADa;IAEJ,IAAAS,cAAc,GAAKC,WAAW,CAAAC,QAAA,CAAA;MACpCC,QAAQ,EAAE;QACRC,SAAS,EAAEX,IAAI,CAACW,SAAS,CAACC,OAAO;QACjCC,QAAQ,EAAEb,IAAI,CAACa,QAAQ,CAACD;MACzB,CAAA;MACDE,SAAS,EAAE,cAAc;MACzBC,UAAU,EAAE,CACVC,MAAM,CAAC,CAAC,CAAC,EACTC,IAAI,CAAE,CAAA,EACNC,IAAI,CAAC;QACHC,KAAK,YAACrB,EAA6C,EAAA;UAA3C,IAAAsB,cAAc,oBAAA;YAAEC,eAAe,GAAAvB,EAAA,CAAAuB,eAAA;YAAEX,QAAQ,GAAAZ,EAAA,CAAAY,QAAA;UAC/CY,MAAM,CAACC,MAAM,CAACb,QAAQ,CAACG,QAAQ,CAACW,KAAK,EAAE;YACrCC,QAAQ,EAAE,EAAG,CAAAC,MAAA,CAAAC,IAAI,CAACC,GAAG,CAACR,cAAc,EAAE,GAAG,CAAC,EAAI,IAAA,CAAA;YAC9CS,QAAQ,EAAE,EAAG,CAAAH,MAAA,CAAAC,IAAI,CAACC,GAAG,CAACR,cAAc,EAAE,GAAG,CAAC,EAAI,IAAA,CAAA;YAC9CU,SAAS,EAAE,EAAG,CAAAJ,MAAA,CAAAC,IAAI,CAACC,GAAG,CAACP,eAAe,EAAE,GAAG,CAAC,EAAI,IAAA;UACjD,CAAA,CAAC;QACH;OACF,CAAC,CACH;MACDU,oBAAoB,EAAEC;IAAU,GAC7B/B,eAAe,CAAA,CAClB,eArBoB;IAuBtB,oBAAOgC,YAAY,eACjBC,KAAC,CAAAC,aAAA,CAAAC,OAAO;MAACC,UAAU,EAAE;IAAK,CAAA,EAAMnC,YAAY,CAAA,eAC1CgC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA1B,QAAA,CAAA;MACE6B,GAAG,EAAEtC,IAAI,CAACuC,WAAW;MACrBf,KAAK,EAAEjB,cAAc;MACrBiC,SAAS,EAAEC,UAAU,CAACC,MAAM,CAACC,OAAO,EAAEvC,iBAAiB,CAAC;MACxDwC,IAAI,EAAC,QAAQ;oBACF;IAAM,CAAA,EACbvC,SAAS,CAEZ,EAAAN,QAAQ,CACL,CACE,EACVI,eAAe,KAAf,IAAA,IAAAA,eAAe,cAAfA,eAAe,GAAI0C,QAAQ,CAACC,IAAI,CACjC;EACH,CAAC;EAEDjD,OAAO,CAACkD,WAAW,GAAG,SAAS;EAAA,OAjDlBlD,OAAO;AAAA;"}
@@ -0,0 +1,31 @@
1
+ import { __rest, __assign } from 'tslib';
2
+ import { useId, useEffect } from 'react';
3
+ import { useToastNotificationContext } from '../context/ToastNotificationContext.mjs';
4
+ var ToastNotification = function (_a) {
5
+ var propsId = _a.id,
6
+ _b = _a.hideCloseIcon,
7
+ hideCloseIcon = _b === void 0 ? false : _b,
8
+ type = _a.type,
9
+ title = _a.title,
10
+ onHide = _a.onHide,
11
+ children = _a.children,
12
+ restProps = __rest(_a, ["id", "hideCloseIcon", "type", "title", "onHide", "children"]);
13
+ var reactId = useId();
14
+ var id = propsId || reactId;
15
+ var addToastNotification = useToastNotificationContext().addToastNotification;
16
+ var persistent = hideCloseIcon;
17
+ useEffect(function () {
18
+ addToastNotification(__assign({
19
+ id: id,
20
+ type: type,
21
+ title: title,
22
+ message: children,
23
+ persistent: persistent,
24
+ onHide: onHide
25
+ }, restProps));
26
+ }, []);
27
+ return null;
28
+ };
29
+ ToastNotification.displayName = "ToastNotification";
30
+ export { ToastNotification };
31
+ //# sourceMappingURL=ToastNotification.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToastNotification.mjs","sources":["../../../../../src/Notification/ToastNotification/ToastNotification/ToastNotification.tsx"],"sourcesContent":["import React, { useEffect, useId } from \"react\"\nimport { useToastNotificationContext } from \"../context/ToastNotificationContext\"\nimport { ToastNotificationObj } from \"../types\"\n\nexport type ToastNotificationProps = Omit<\n ToastNotificationObj,\n \"id\" | \"message\" | \"persistent\"\n> & {\n children: React.ReactNode\n id?: string\n /**\n * Removes the dismiss trigger. Functions the same as `persistent` in `addToastNotification`.\n * If this is true you will need to manage the removal of notifications manually.\n * @default false\n */\n hideCloseIcon?: boolean\n}\n\nexport const ToastNotification = ({\n id: propsId,\n hideCloseIcon = false,\n type,\n title,\n onHide,\n children,\n ...restProps\n}: ToastNotificationProps): null => {\n const reactId = useId()\n const id = propsId || reactId\n const { addToastNotification } = useToastNotificationContext()\n const persistent = hideCloseIcon\n\n useEffect(() => {\n addToastNotification({\n id,\n type,\n title,\n message: children,\n persistent,\n onHide,\n ...restProps,\n })\n }, [])\n\n return null\n}\n\nToastNotification.displayName = \"ToastNotification\"\n"],"names":["ToastNotification","_a","propsId","id","_b","hideCloseIcon","type","title","onHide","children","restProps","__rest","reactId","useId","addToastNotification","useToastNotificationContext","persistent","useEffect","__assign","message","displayName"],"mappings":";;;AAkBO,IAAMA,iBAAiB,GAAG,SAAAA,CAACC,EAQT,EAAA;EAPvB,IAAIC,OAAO,GAAAD,EAAA,CAAAE,EAAA;IACXC,EAAqB,GAAAH,EAAA,CAAAI,aAAA;IAArBA,aAAa,GAAGD,EAAA,KAAA,KAAA,CAAA,GAAA,KAAK,GAAAA,EAAA;IACrBE,IAAI,GAAAL,EAAA,CAAAK,IAAA;IACJC,KAAK,GAAAN,EAAA,CAAAM,KAAA;IACLC,MAAM,GAAAP,EAAA,CAAAO,MAAA;IACNC,QAAQ,GAAAR,EAAA,CAAAQ,QAAA;IACLC,SAAS,GAPoBC,MAAA,CAAAV,EAAA,EAAA,CAAA,IAAA,EAAA,eAAA,EAAA,MAAA,EAAA,OAAA,EAAA,QAAA,EAAA,UAAA,CAQjC,CADa;EAEZ,IAAMW,OAAO,GAAGC,KAAK,EAAE;EACvB,IAAMV,EAAE,GAAGD,OAAO,IAAIU,OAAO;EACrB,IAAAE,oBAAoB,GAAKC,2BAA2B,CAAE,CAAA,qBAAlC;EAC5B,IAAMC,UAAU,GAAGX,aAAa;EAEhCY,SAAS,CAAC,YAAA;IACRH,oBAAoB,CAAAI,QAAA,CAAA;MAClBf,EAAE,EAAAA,EAAA;MACFG,IAAI,EAAAA,IAAA;MACJC,KAAK,EAAAA,KAAA;MACLY,OAAO,EAAEV,QAAQ;MACjBO,UAAU,EAAAA,UAAA;MACVR,MAAM,EAAAA;IAAA,CAAA,EACHE,SAAS,CAAA,CACZ;EACH,CAAA,EAAE,EAAE,CAAC;EAEN,OAAO,IAAI;AACb,CAAC;AAEDV,iBAAiB,CAACoB,WAAW,GAAG,mBAAmB;"}
@@ -0,0 +1,34 @@
1
+ import React from 'react';
2
+ import { createPortal } from 'react-dom';
3
+ import { useToastNotificationContext } from '../context/ToastNotificationContext.mjs';
4
+ import { ToastNotificationsMap } from './subcomponents/ToastNotificationsMap/ToastNotificationsMap.mjs';
5
+ import styles from './ToastNotificationsList.module.scss.mjs';
6
+ const ToastNotificationsList = /*#__PURE__*/function () {
7
+ const ToastNotificationsList = function () {
8
+ var _a = useToastNotificationContext(),
9
+ notifications = _a.notifications,
10
+ removeToastNotification = _a.removeToastNotification;
11
+ var containers = document.querySelectorAll('[data-testid="toast-notifications-list"');
12
+ if (containers) {
13
+ // Remove any duplicate instances
14
+ // (eg. Storybook docs page has multiple stories each with their own context)
15
+ containers.forEach(function (c, i) {
16
+ if (i === 0) return;
17
+ c.remove();
18
+ });
19
+ }
20
+ return /*#__PURE__*/createPortal( /*#__PURE__*/React.createElement("div", {
21
+ "data-testid": "toast-notifications-list",
22
+ role: "status",
23
+ className: styles.toastNotificationsList
24
+ }, /*#__PURE__*/React.createElement(ToastNotificationsMap, {
25
+ notifications: notifications,
26
+ onHide: removeToastNotification,
27
+ container: containers[0]
28
+ })), document.body);
29
+ };
30
+ ToastNotificationsList.displayName = "ToastNotificationsList";
31
+ return ToastNotificationsList;
32
+ }();
33
+ export { ToastNotificationsList };
34
+ //# sourceMappingURL=ToastNotificationsList.mjs.map