@razorpay/blade 12.48.0 → 12.49.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 (557) hide show
  1. package/build/lib/native/components/ActionList/ActionListItem.js +51 -0
  2. package/build/lib/native/components/ActionList/ActionListItem.js.map +1 -1
  3. package/build/lib/native/components/ActionList/ActionListNoResults.js +51 -0
  4. package/build/lib/native/components/ActionList/ActionListNoResults.js.map +1 -1
  5. package/build/lib/native/components/Alert/Alert.js +51 -0
  6. package/build/lib/native/components/Alert/Alert.js.map +1 -1
  7. package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js +51 -0
  8. package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
  9. package/build/lib/native/components/BottomSheet/BottomSheetCommon.js +51 -0
  10. package/build/lib/native/components/BottomSheet/BottomSheetCommon.js.map +1 -1
  11. package/build/lib/native/components/Carousel/NavigationButton/NavigationButton.js +51 -0
  12. package/build/lib/native/components/Carousel/NavigationButton/NavigationButton.js.map +1 -1
  13. package/build/lib/native/components/Collapsible/CollapsibleChevronIcon.native.js +51 -0
  14. package/build/lib/native/components/Collapsible/CollapsibleChevronIcon.native.js.map +1 -1
  15. package/build/lib/native/components/Form/FormHint.js +51 -0
  16. package/build/lib/native/components/Form/FormHint.js.map +1 -1
  17. package/build/lib/native/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js +13 -0
  18. package/build/lib/native/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js.map +1 -0
  19. package/build/lib/native/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js +13 -0
  20. package/build/lib/native/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js.map +1 -0
  21. package/build/lib/native/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js +13 -0
  22. package/build/lib/native/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js.map +1 -0
  23. package/build/lib/native/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js +13 -0
  24. package/build/lib/native/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js.map +1 -0
  25. package/build/lib/native/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js +13 -0
  26. package/build/lib/native/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js.map +1 -0
  27. package/build/lib/native/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js +13 -0
  28. package/build/lib/native/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js.map +1 -0
  29. package/build/lib/native/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js +13 -0
  30. package/build/lib/native/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js.map +1 -0
  31. package/build/lib/native/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js +13 -0
  32. package/build/lib/native/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js.map +1 -0
  33. package/build/lib/native/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js +13 -0
  34. package/build/lib/native/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js.map +1 -0
  35. package/build/lib/native/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js +13 -0
  36. package/build/lib/native/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js.map +1 -0
  37. package/build/lib/native/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js +13 -0
  38. package/build/lib/native/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js.map +1 -0
  39. package/build/lib/native/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js +13 -0
  40. package/build/lib/native/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js.map +1 -0
  41. package/build/lib/native/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js +13 -0
  42. package/build/lib/native/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js.map +1 -0
  43. package/build/lib/native/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js +13 -0
  44. package/build/lib/native/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js.map +1 -0
  45. package/build/lib/native/components/Icons/EducationFilledIcon/EducationFilledIcon.js +13 -0
  46. package/build/lib/native/components/Icons/EducationFilledIcon/EducationFilledIcon.js.map +1 -0
  47. package/build/lib/native/components/Icons/EngageFilledIcon/EngageFilledIcon.js +13 -0
  48. package/build/lib/native/components/Icons/EngageFilledIcon/EngageFilledIcon.js.map +1 -0
  49. package/build/lib/native/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js +13 -0
  50. package/build/lib/native/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js.map +1 -0
  51. package/build/lib/native/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js +13 -0
  52. package/build/lib/native/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js.map +1 -0
  53. package/build/lib/native/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js +13 -0
  54. package/build/lib/native/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js.map +1 -0
  55. package/build/lib/native/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js +13 -0
  56. package/build/lib/native/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js.map +1 -0
  57. package/build/lib/native/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js +13 -0
  58. package/build/lib/native/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js.map +1 -0
  59. package/build/lib/native/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js +13 -0
  60. package/build/lib/native/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js.map +1 -0
  61. package/build/lib/native/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js +13 -0
  62. package/build/lib/native/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js.map +1 -0
  63. package/build/lib/native/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js +13 -0
  64. package/build/lib/native/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js.map +1 -0
  65. package/build/lib/native/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js +13 -0
  66. package/build/lib/native/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js.map +1 -0
  67. package/build/lib/native/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js +13 -0
  68. package/build/lib/native/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js.map +1 -0
  69. package/build/lib/native/components/Icons/MoreFilledIcon/MoreFilledIcon.js +13 -0
  70. package/build/lib/native/components/Icons/MoreFilledIcon/MoreFilledIcon.js.map +1 -0
  71. package/build/lib/native/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js +13 -0
  72. package/build/lib/native/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js.map +1 -0
  73. package/build/lib/native/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js +13 -0
  74. package/build/lib/native/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js.map +1 -0
  75. package/build/lib/native/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js +13 -0
  76. package/build/lib/native/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js.map +1 -0
  77. package/build/lib/native/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js +13 -0
  78. package/build/lib/native/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js.map +1 -0
  79. package/build/lib/native/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js +13 -0
  80. package/build/lib/native/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js.map +1 -0
  81. package/build/lib/native/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js +13 -0
  82. package/build/lib/native/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js.map +1 -0
  83. package/build/lib/native/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js +13 -0
  84. package/build/lib/native/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js.map +1 -0
  85. package/build/lib/native/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js +13 -0
  86. package/build/lib/native/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js.map +1 -0
  87. package/build/lib/native/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js +13 -0
  88. package/build/lib/native/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js.map +1 -0
  89. package/build/lib/native/components/Icons/PosFilledIcon/PosFilledIcon.js +13 -0
  90. package/build/lib/native/components/Icons/PosFilledIcon/PosFilledIcon.js.map +1 -0
  91. package/build/lib/native/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js +13 -0
  92. package/build/lib/native/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js.map +1 -0
  93. package/build/lib/native/components/Icons/RouteFilledIcon/RouteFilledIcon.js +13 -0
  94. package/build/lib/native/components/Icons/RouteFilledIcon/RouteFilledIcon.js.map +1 -0
  95. package/build/lib/native/components/Icons/SaasFilledIcon/SaasFilledIcon.js +13 -0
  96. package/build/lib/native/components/Icons/SaasFilledIcon/SaasFilledIcon.js.map +1 -0
  97. package/build/lib/native/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js +13 -0
  98. package/build/lib/native/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js.map +1 -0
  99. package/build/lib/native/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js +13 -0
  100. package/build/lib/native/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js.map +1 -0
  101. package/build/lib/native/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js +13 -0
  102. package/build/lib/native/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js.map +1 -0
  103. package/build/lib/native/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js +13 -0
  104. package/build/lib/native/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js.map +1 -0
  105. package/build/lib/native/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js +13 -0
  106. package/build/lib/native/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js.map +1 -0
  107. package/build/lib/native/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js +13 -0
  108. package/build/lib/native/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js.map +1 -0
  109. package/build/lib/native/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js +13 -0
  110. package/build/lib/native/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js.map +1 -0
  111. package/build/lib/native/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js +13 -0
  112. package/build/lib/native/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js.map +1 -0
  113. package/build/lib/native/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js +13 -0
  114. package/build/lib/native/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js.map +1 -0
  115. package/build/lib/native/components/Icons/VolumeOffIcon/VolumeOffIcon.js +13 -0
  116. package/build/lib/native/components/Icons/VolumeOffIcon/VolumeOffIcon.js.map +1 -0
  117. package/build/lib/native/components/Icons/VolumeOnIcon/VolumeOnIcon.js +13 -0
  118. package/build/lib/native/components/Icons/VolumeOnIcon/VolumeOnIcon.js.map +1 -0
  119. package/build/lib/native/components/Input/DropdownInputTriggers/Chevron.js +51 -0
  120. package/build/lib/native/components/Input/DropdownInputTriggers/Chevron.js.map +1 -1
  121. package/build/lib/native/components/Input/PasswordInput/PasswordInput.js +51 -0
  122. package/build/lib/native/components/Input/PasswordInput/PasswordInput.js.map +1 -1
  123. package/build/lib/native/components/Input/SearchInput/SearchInput.js +51 -0
  124. package/build/lib/native/components/Input/SearchInput/SearchInput.js.map +1 -1
  125. package/build/lib/native/components/Input/TextArea/TextArea.js +51 -0
  126. package/build/lib/native/components/Input/TextArea/TextArea.js.map +1 -1
  127. package/build/lib/native/components/Input/TextInput/TextInput.js +51 -0
  128. package/build/lib/native/components/Input/TextInput/TextInput.js.map +1 -1
  129. package/build/lib/native/components/Popover/PopoverCloseButton.js +51 -0
  130. package/build/lib/native/components/Popover/PopoverCloseButton.js.map +1 -1
  131. package/build/lib/native/components/QuickFilters/QuickFilter.js +51 -0
  132. package/build/lib/native/components/QuickFilters/QuickFilter.js.map +1 -1
  133. package/build/lib/native/components/Table/tokens.js +51 -0
  134. package/build/lib/native/components/Table/tokens.js.map +1 -1
  135. package/build/lib/native/components/Tag/Tag.js +51 -0
  136. package/build/lib/native/components/Tag/Tag.js.map +1 -1
  137. package/build/lib/native/components/index.js +51 -0
  138. package/build/lib/native/components/index.js.map +1 -1
  139. package/build/lib/web/development/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js +50 -0
  140. package/build/lib/web/development/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js.map +1 -0
  141. package/build/lib/web/development/components/Icons/AcceptPaymentsFilledIcon/index.js +2 -0
  142. package/build/lib/web/development/components/Icons/AcceptPaymentsFilledIcon/index.js.map +1 -0
  143. package/build/lib/web/development/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js +47 -0
  144. package/build/lib/web/development/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js.map +1 -0
  145. package/build/lib/web/development/components/Icons/AffordabilityFilledIcon/index.js +2 -0
  146. package/build/lib/web/development/components/Icons/AffordabilityFilledIcon/index.js.map +1 -0
  147. package/build/lib/web/development/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js +47 -0
  148. package/build/lib/web/development/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js.map +1 -0
  149. package/build/lib/web/development/components/Icons/AutomatePayrollFilledIcon/index.js +2 -0
  150. package/build/lib/web/development/components/Icons/AutomatePayrollFilledIcon/index.js.map +1 -0
  151. package/build/lib/web/development/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js +44 -0
  152. package/build/lib/web/development/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js.map +1 -0
  153. package/build/lib/web/development/components/Icons/BankAccountVerificationFilledIcon/index.js +2 -0
  154. package/build/lib/web/development/components/Icons/BankAccountVerificationFilledIcon/index.js.map +1 -0
  155. package/build/lib/web/development/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js +44 -0
  156. package/build/lib/web/development/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js.map +1 -0
  157. package/build/lib/web/development/components/Icons/BfsiFilledIcon/index.js +2 -0
  158. package/build/lib/web/development/components/Icons/BfsiFilledIcon/index.js.map +1 -0
  159. package/build/lib/web/development/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js +44 -0
  160. package/build/lib/web/development/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js.map +1 -0
  161. package/build/lib/web/development/components/Icons/BillMeFilledIcon/index.js +2 -0
  162. package/build/lib/web/development/components/Icons/BillMeFilledIcon/index.js.map +1 -0
  163. package/build/lib/web/development/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js +49 -0
  164. package/build/lib/web/development/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js.map +1 -0
  165. package/build/lib/web/development/components/Icons/BulkPayoutsFilledIcon/index.js +2 -0
  166. package/build/lib/web/development/components/Icons/BulkPayoutsFilledIcon/index.js.map +1 -0
  167. package/build/lib/web/development/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js +50 -0
  168. package/build/lib/web/development/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js.map +1 -0
  169. package/build/lib/web/development/components/Icons/BusinessSpendManagementFilledIcon/index.js +2 -0
  170. package/build/lib/web/development/components/Icons/BusinessSpendManagementFilledIcon/index.js.map +1 -0
  171. package/build/lib/web/development/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js +56 -0
  172. package/build/lib/web/development/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js.map +1 -0
  173. package/build/lib/web/development/components/Icons/CompanyRegistrationFilledIcon/index.js +2 -0
  174. package/build/lib/web/development/components/Icons/CompanyRegistrationFilledIcon/index.js.map +1 -0
  175. package/build/lib/web/development/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js +47 -0
  176. package/build/lib/web/development/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js.map +1 -0
  177. package/build/lib/web/development/components/Icons/CreditsAndLoansFilledIcon/index.js +2 -0
  178. package/build/lib/web/development/components/Icons/CreditsAndLoansFilledIcon/index.js.map +1 -0
  179. package/build/lib/web/development/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js +44 -0
  180. package/build/lib/web/development/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js.map +1 -0
  181. package/build/lib/web/development/components/Icons/CurrentAccountFilledIcon/index.js +2 -0
  182. package/build/lib/web/development/components/Icons/CurrentAccountFilledIcon/index.js.map +1 -0
  183. package/build/lib/web/development/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js +64 -0
  184. package/build/lib/web/development/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js.map +1 -0
  185. package/build/lib/web/development/components/Icons/DigitalLendingFilledIcon/index.js +2 -0
  186. package/build/lib/web/development/components/Icons/DigitalLendingFilledIcon/index.js.map +1 -0
  187. package/build/lib/web/development/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js +50 -0
  188. package/build/lib/web/development/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js.map +1 -0
  189. package/build/lib/web/development/components/Icons/DisbursePaymentsFilledIcon/index.js +2 -0
  190. package/build/lib/web/development/components/Icons/DisbursePaymentsFilledIcon/index.js.map +1 -0
  191. package/build/lib/web/development/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js +44 -0
  192. package/build/lib/web/development/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js.map +1 -0
  193. package/build/lib/web/development/components/Icons/EcommerceFilledIcon/index.js +2 -0
  194. package/build/lib/web/development/components/Icons/EcommerceFilledIcon/index.js.map +1 -0
  195. package/build/lib/web/development/components/Icons/EducationFilledIcon/EducationFilledIcon.js +47 -0
  196. package/build/lib/web/development/components/Icons/EducationFilledIcon/EducationFilledIcon.js.map +1 -0
  197. package/build/lib/web/development/components/Icons/EducationFilledIcon/index.js +2 -0
  198. package/build/lib/web/development/components/Icons/EducationFilledIcon/index.js.map +1 -0
  199. package/build/lib/web/development/components/Icons/EngageFilledIcon/EngageFilledIcon.js +47 -0
  200. package/build/lib/web/development/components/Icons/EngageFilledIcon/EngageFilledIcon.js.map +1 -0
  201. package/build/lib/web/development/components/Icons/EngageFilledIcon/index.js +2 -0
  202. package/build/lib/web/development/components/Icons/EngageFilledIcon/index.js.map +1 -0
  203. package/build/lib/web/development/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js +47 -0
  204. package/build/lib/web/development/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js.map +1 -0
  205. package/build/lib/web/development/components/Icons/EscrowAccountFilledIcon/index.js +2 -0
  206. package/build/lib/web/development/components/Icons/EscrowAccountFilledIcon/index.js.map +1 -0
  207. package/build/lib/web/development/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js +56 -0
  208. package/build/lib/web/development/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js.map +1 -0
  209. package/build/lib/web/development/components/Icons/ForexManagementFilledIcon/index.js +2 -0
  210. package/build/lib/web/development/components/Icons/ForexManagementFilledIcon/index.js.map +1 -0
  211. package/build/lib/web/development/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js +44 -0
  212. package/build/lib/web/development/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js.map +1 -0
  213. package/build/lib/web/development/components/Icons/FreelanceFilledIcon/index.js +2 -0
  214. package/build/lib/web/development/components/Icons/FreelanceFilledIcon/index.js.map +1 -0
  215. package/build/lib/web/development/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js +44 -0
  216. package/build/lib/web/development/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js.map +1 -0
  217. package/build/lib/web/development/components/Icons/InstantSettlementFilledIcon/index.js +2 -0
  218. package/build/lib/web/development/components/Icons/InstantSettlementFilledIcon/index.js.map +1 -0
  219. package/build/lib/web/development/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js +57 -0
  220. package/build/lib/web/development/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js.map +1 -0
  221. package/build/lib/web/development/components/Icons/InternationalPaymentsFilledIcon/index.js +2 -0
  222. package/build/lib/web/development/components/Icons/InternationalPaymentsFilledIcon/index.js.map +1 -0
  223. package/build/lib/web/development/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js +49 -0
  224. package/build/lib/web/development/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js.map +1 -0
  225. package/build/lib/web/development/components/Icons/InvoicesFilledIcon/index.js +2 -0
  226. package/build/lib/web/development/components/Icons/InvoicesFilledIcon/index.js.map +1 -0
  227. package/build/lib/web/development/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js +49 -0
  228. package/build/lib/web/development/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js.map +1 -0
  229. package/build/lib/web/development/components/Icons/LoansForBusinessesFilledIcon/index.js +2 -0
  230. package/build/lib/web/development/components/Icons/LoansForBusinessesFilledIcon/index.js.map +1 -0
  231. package/build/lib/web/development/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js +44 -0
  232. package/build/lib/web/development/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js.map +1 -0
  233. package/build/lib/web/development/components/Icons/MagicCheckoutFilledIcon/index.js +2 -0
  234. package/build/lib/web/development/components/Icons/MagicCheckoutFilledIcon/index.js.map +1 -0
  235. package/build/lib/web/development/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js +44 -0
  236. package/build/lib/web/development/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js.map +1 -0
  237. package/build/lib/web/development/components/Icons/MagicKonnectFilledIcon/index.js +2 -0
  238. package/build/lib/web/development/components/Icons/MagicKonnectFilledIcon/index.js.map +1 -0
  239. package/build/lib/web/development/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js +44 -0
  240. package/build/lib/web/development/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js.map +1 -0
  241. package/build/lib/web/development/components/Icons/MobileAppFilledIcon/index.js +2 -0
  242. package/build/lib/web/development/components/Icons/MobileAppFilledIcon/index.js.map +1 -0
  243. package/build/lib/web/development/components/Icons/MoreFilledIcon/MoreFilledIcon.js +44 -0
  244. package/build/lib/web/development/components/Icons/MoreFilledIcon/MoreFilledIcon.js.map +1 -0
  245. package/build/lib/web/development/components/Icons/MoreFilledIcon/index.js +2 -0
  246. package/build/lib/web/development/components/Icons/MoreFilledIcon/index.js.map +1 -0
  247. package/build/lib/web/development/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js +44 -0
  248. package/build/lib/web/development/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js.map +1 -0
  249. package/build/lib/web/development/components/Icons/OptimizerFilledIcon/index.js +2 -0
  250. package/build/lib/web/development/components/Icons/OptimizerFilledIcon/index.js.map +1 -0
  251. package/build/lib/web/development/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js +44 -0
  252. package/build/lib/web/development/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js.map +1 -0
  253. package/build/lib/web/development/components/Icons/PaymentButtonFilledIcon/index.js +2 -0
  254. package/build/lib/web/development/components/Icons/PaymentButtonFilledIcon/index.js.map +1 -0
  255. package/build/lib/web/development/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js +48 -0
  256. package/build/lib/web/development/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js.map +1 -0
  257. package/build/lib/web/development/components/Icons/PaymentGatewayFilledIcon/index.js +2 -0
  258. package/build/lib/web/development/components/Icons/PaymentGatewayFilledIcon/index.js.map +1 -0
  259. package/build/lib/web/development/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js +56 -0
  260. package/build/lib/web/development/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js.map +1 -0
  261. package/build/lib/web/development/components/Icons/PaymentLinkFilledIcon/index.js +2 -0
  262. package/build/lib/web/development/components/Icons/PaymentLinkFilledIcon/index.js.map +1 -0
  263. package/build/lib/web/development/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js +50 -0
  264. package/build/lib/web/development/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js.map +1 -0
  265. package/build/lib/web/development/components/Icons/PaymentPagesFilledIcon/index.js +2 -0
  266. package/build/lib/web/development/components/Icons/PaymentPagesFilledIcon/index.js.map +1 -0
  267. package/build/lib/web/development/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js +45 -0
  268. package/build/lib/web/development/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js.map +1 -0
  269. package/build/lib/web/development/components/Icons/PayrollAddonsFilledIcon/index.js +2 -0
  270. package/build/lib/web/development/components/Icons/PayrollAddonsFilledIcon/index.js.map +1 -0
  271. package/build/lib/web/development/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js +48 -0
  272. package/build/lib/web/development/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js.map +1 -0
  273. package/build/lib/web/development/components/Icons/PayrollForCaFilledIcon/index.js +2 -0
  274. package/build/lib/web/development/components/Icons/PayrollForCaFilledIcon/index.js.map +1 -0
  275. package/build/lib/web/development/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js +47 -0
  276. package/build/lib/web/development/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js.map +1 -0
  277. package/build/lib/web/development/components/Icons/PayrollForStartupOrSmeFilledIcon/index.js +2 -0
  278. package/build/lib/web/development/components/Icons/PayrollForStartupOrSmeFilledIcon/index.js.map +1 -0
  279. package/build/lib/web/development/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js +53 -0
  280. package/build/lib/web/development/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js.map +1 -0
  281. package/build/lib/web/development/components/Icons/PettyCashBudgetFilledIcon/index.js +2 -0
  282. package/build/lib/web/development/components/Icons/PettyCashBudgetFilledIcon/index.js.map +1 -0
  283. package/build/lib/web/development/components/Icons/PosFilledIcon/PosFilledIcon.js +50 -0
  284. package/build/lib/web/development/components/Icons/PosFilledIcon/PosFilledIcon.js.map +1 -0
  285. package/build/lib/web/development/components/Icons/PosFilledIcon/index.js +2 -0
  286. package/build/lib/web/development/components/Icons/PosFilledIcon/index.js.map +1 -0
  287. package/build/lib/web/development/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js +47 -0
  288. package/build/lib/web/development/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js.map +1 -0
  289. package/build/lib/web/development/components/Icons/RazorpayxPayrollFilledIcon/index.js +2 -0
  290. package/build/lib/web/development/components/Icons/RazorpayxPayrollFilledIcon/index.js.map +1 -0
  291. package/build/lib/web/development/components/Icons/RouteFilledIcon/RouteFilledIcon.js +44 -0
  292. package/build/lib/web/development/components/Icons/RouteFilledIcon/RouteFilledIcon.js.map +1 -0
  293. package/build/lib/web/development/components/Icons/RouteFilledIcon/index.js +2 -0
  294. package/build/lib/web/development/components/Icons/RouteFilledIcon/index.js.map +1 -0
  295. package/build/lib/web/development/components/Icons/SaasFilledIcon/SaasFilledIcon.js +42 -0
  296. package/build/lib/web/development/components/Icons/SaasFilledIcon/SaasFilledIcon.js.map +1 -0
  297. package/build/lib/web/development/components/Icons/SaasFilledIcon/index.js +2 -0
  298. package/build/lib/web/development/components/Icons/SaasFilledIcon/index.js.map +1 -0
  299. package/build/lib/web/development/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js +53 -0
  300. package/build/lib/web/development/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js.map +1 -0
  301. package/build/lib/web/development/components/Icons/SmartCollectFilledIcon/index.js +2 -0
  302. package/build/lib/web/development/components/Icons/SmartCollectFilledIcon/index.js.map +1 -0
  303. package/build/lib/web/development/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js +44 -0
  304. package/build/lib/web/development/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js.map +1 -0
  305. package/build/lib/web/development/components/Icons/SolutionsFilledIcon/index.js +2 -0
  306. package/build/lib/web/development/components/Icons/SolutionsFilledIcon/index.js.map +1 -0
  307. package/build/lib/web/development/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js +60 -0
  308. package/build/lib/web/development/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js.map +1 -0
  309. package/build/lib/web/development/components/Icons/SourceToPayFilledIcon/index.js +2 -0
  310. package/build/lib/web/development/components/Icons/SourceToPayFilledIcon/index.js.map +1 -0
  311. package/build/lib/web/development/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js +64 -0
  312. package/build/lib/web/development/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js.map +1 -0
  313. package/build/lib/web/development/components/Icons/SubscriptionsFilledIcon/index.js +2 -0
  314. package/build/lib/web/development/components/Icons/SubscriptionsFilledIcon/index.js.map +1 -0
  315. package/build/lib/web/development/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js +50 -0
  316. package/build/lib/web/development/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js.map +1 -0
  317. package/build/lib/web/development/components/Icons/TaxPaymentsFilledIcon/index.js +2 -0
  318. package/build/lib/web/development/components/Icons/TaxPaymentsFilledIcon/index.js.map +1 -0
  319. package/build/lib/web/development/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js +53 -0
  320. package/build/lib/web/development/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js.map +1 -0
  321. package/build/lib/web/development/components/Icons/TokenHqFilledIcon/index.js +2 -0
  322. package/build/lib/web/development/components/Icons/TokenHqFilledIcon/index.js.map +1 -0
  323. package/build/lib/web/development/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js +64 -0
  324. package/build/lib/web/development/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js.map +1 -0
  325. package/build/lib/web/development/components/Icons/UpiAutopayFilledIcon/index.js +2 -0
  326. package/build/lib/web/development/components/Icons/UpiAutopayFilledIcon/index.js.map +1 -0
  327. package/build/lib/web/development/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js +52 -0
  328. package/build/lib/web/development/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js.map +1 -0
  329. package/build/lib/web/development/components/Icons/VendorPaymentsFilledIcon/index.js +2 -0
  330. package/build/lib/web/development/components/Icons/VendorPaymentsFilledIcon/index.js.map +1 -0
  331. package/build/lib/web/development/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js +47 -0
  332. package/build/lib/web/development/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js.map +1 -0
  333. package/build/lib/web/development/components/Icons/ViewLiveDemoFilledIcon/index.js +2 -0
  334. package/build/lib/web/development/components/Icons/ViewLiveDemoFilledIcon/index.js.map +1 -0
  335. package/build/lib/web/development/components/Icons/VolumeOffIcon/VolumeOffIcon.js +53 -0
  336. package/build/lib/web/development/components/Icons/VolumeOffIcon/VolumeOffIcon.js.map +1 -0
  337. package/build/lib/web/development/components/Icons/VolumeOffIcon/index.js +2 -0
  338. package/build/lib/web/development/components/Icons/VolumeOffIcon/index.js.map +1 -0
  339. package/build/lib/web/development/components/Icons/VolumeOnIcon/VolumeOnIcon.js +50 -0
  340. package/build/lib/web/development/components/Icons/VolumeOnIcon/VolumeOnIcon.js.map +1 -0
  341. package/build/lib/web/development/components/Icons/VolumeOnIcon/index.js +2 -0
  342. package/build/lib/web/development/components/Icons/VolumeOnIcon/index.js.map +1 -0
  343. package/build/lib/web/development/components/Icons/index.js +51 -0
  344. package/build/lib/web/development/components/Icons/index.js.map +1 -1
  345. package/build/lib/web/development/components/index.js +51 -0
  346. package/build/lib/web/development/components/index.js.map +1 -1
  347. package/build/lib/web/production/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js +50 -0
  348. package/build/lib/web/production/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js.map +1 -0
  349. package/build/lib/web/production/components/Icons/AcceptPaymentsFilledIcon/index.js +2 -0
  350. package/build/lib/web/production/components/Icons/AcceptPaymentsFilledIcon/index.js.map +1 -0
  351. package/build/lib/web/production/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js +47 -0
  352. package/build/lib/web/production/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js.map +1 -0
  353. package/build/lib/web/production/components/Icons/AffordabilityFilledIcon/index.js +2 -0
  354. package/build/lib/web/production/components/Icons/AffordabilityFilledIcon/index.js.map +1 -0
  355. package/build/lib/web/production/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js +47 -0
  356. package/build/lib/web/production/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js.map +1 -0
  357. package/build/lib/web/production/components/Icons/AutomatePayrollFilledIcon/index.js +2 -0
  358. package/build/lib/web/production/components/Icons/AutomatePayrollFilledIcon/index.js.map +1 -0
  359. package/build/lib/web/production/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js +44 -0
  360. package/build/lib/web/production/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js.map +1 -0
  361. package/build/lib/web/production/components/Icons/BankAccountVerificationFilledIcon/index.js +2 -0
  362. package/build/lib/web/production/components/Icons/BankAccountVerificationFilledIcon/index.js.map +1 -0
  363. package/build/lib/web/production/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js +44 -0
  364. package/build/lib/web/production/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js.map +1 -0
  365. package/build/lib/web/production/components/Icons/BfsiFilledIcon/index.js +2 -0
  366. package/build/lib/web/production/components/Icons/BfsiFilledIcon/index.js.map +1 -0
  367. package/build/lib/web/production/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js +44 -0
  368. package/build/lib/web/production/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js.map +1 -0
  369. package/build/lib/web/production/components/Icons/BillMeFilledIcon/index.js +2 -0
  370. package/build/lib/web/production/components/Icons/BillMeFilledIcon/index.js.map +1 -0
  371. package/build/lib/web/production/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js +49 -0
  372. package/build/lib/web/production/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js.map +1 -0
  373. package/build/lib/web/production/components/Icons/BulkPayoutsFilledIcon/index.js +2 -0
  374. package/build/lib/web/production/components/Icons/BulkPayoutsFilledIcon/index.js.map +1 -0
  375. package/build/lib/web/production/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js +50 -0
  376. package/build/lib/web/production/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js.map +1 -0
  377. package/build/lib/web/production/components/Icons/BusinessSpendManagementFilledIcon/index.js +2 -0
  378. package/build/lib/web/production/components/Icons/BusinessSpendManagementFilledIcon/index.js.map +1 -0
  379. package/build/lib/web/production/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js +56 -0
  380. package/build/lib/web/production/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js.map +1 -0
  381. package/build/lib/web/production/components/Icons/CompanyRegistrationFilledIcon/index.js +2 -0
  382. package/build/lib/web/production/components/Icons/CompanyRegistrationFilledIcon/index.js.map +1 -0
  383. package/build/lib/web/production/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js +47 -0
  384. package/build/lib/web/production/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js.map +1 -0
  385. package/build/lib/web/production/components/Icons/CreditsAndLoansFilledIcon/index.js +2 -0
  386. package/build/lib/web/production/components/Icons/CreditsAndLoansFilledIcon/index.js.map +1 -0
  387. package/build/lib/web/production/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js +44 -0
  388. package/build/lib/web/production/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js.map +1 -0
  389. package/build/lib/web/production/components/Icons/CurrentAccountFilledIcon/index.js +2 -0
  390. package/build/lib/web/production/components/Icons/CurrentAccountFilledIcon/index.js.map +1 -0
  391. package/build/lib/web/production/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js +64 -0
  392. package/build/lib/web/production/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js.map +1 -0
  393. package/build/lib/web/production/components/Icons/DigitalLendingFilledIcon/index.js +2 -0
  394. package/build/lib/web/production/components/Icons/DigitalLendingFilledIcon/index.js.map +1 -0
  395. package/build/lib/web/production/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js +50 -0
  396. package/build/lib/web/production/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js.map +1 -0
  397. package/build/lib/web/production/components/Icons/DisbursePaymentsFilledIcon/index.js +2 -0
  398. package/build/lib/web/production/components/Icons/DisbursePaymentsFilledIcon/index.js.map +1 -0
  399. package/build/lib/web/production/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js +44 -0
  400. package/build/lib/web/production/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js.map +1 -0
  401. package/build/lib/web/production/components/Icons/EcommerceFilledIcon/index.js +2 -0
  402. package/build/lib/web/production/components/Icons/EcommerceFilledIcon/index.js.map +1 -0
  403. package/build/lib/web/production/components/Icons/EducationFilledIcon/EducationFilledIcon.js +47 -0
  404. package/build/lib/web/production/components/Icons/EducationFilledIcon/EducationFilledIcon.js.map +1 -0
  405. package/build/lib/web/production/components/Icons/EducationFilledIcon/index.js +2 -0
  406. package/build/lib/web/production/components/Icons/EducationFilledIcon/index.js.map +1 -0
  407. package/build/lib/web/production/components/Icons/EngageFilledIcon/EngageFilledIcon.js +47 -0
  408. package/build/lib/web/production/components/Icons/EngageFilledIcon/EngageFilledIcon.js.map +1 -0
  409. package/build/lib/web/production/components/Icons/EngageFilledIcon/index.js +2 -0
  410. package/build/lib/web/production/components/Icons/EngageFilledIcon/index.js.map +1 -0
  411. package/build/lib/web/production/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js +47 -0
  412. package/build/lib/web/production/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js.map +1 -0
  413. package/build/lib/web/production/components/Icons/EscrowAccountFilledIcon/index.js +2 -0
  414. package/build/lib/web/production/components/Icons/EscrowAccountFilledIcon/index.js.map +1 -0
  415. package/build/lib/web/production/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js +56 -0
  416. package/build/lib/web/production/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js.map +1 -0
  417. package/build/lib/web/production/components/Icons/ForexManagementFilledIcon/index.js +2 -0
  418. package/build/lib/web/production/components/Icons/ForexManagementFilledIcon/index.js.map +1 -0
  419. package/build/lib/web/production/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js +44 -0
  420. package/build/lib/web/production/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js.map +1 -0
  421. package/build/lib/web/production/components/Icons/FreelanceFilledIcon/index.js +2 -0
  422. package/build/lib/web/production/components/Icons/FreelanceFilledIcon/index.js.map +1 -0
  423. package/build/lib/web/production/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js +44 -0
  424. package/build/lib/web/production/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js.map +1 -0
  425. package/build/lib/web/production/components/Icons/InstantSettlementFilledIcon/index.js +2 -0
  426. package/build/lib/web/production/components/Icons/InstantSettlementFilledIcon/index.js.map +1 -0
  427. package/build/lib/web/production/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js +57 -0
  428. package/build/lib/web/production/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js.map +1 -0
  429. package/build/lib/web/production/components/Icons/InternationalPaymentsFilledIcon/index.js +2 -0
  430. package/build/lib/web/production/components/Icons/InternationalPaymentsFilledIcon/index.js.map +1 -0
  431. package/build/lib/web/production/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js +49 -0
  432. package/build/lib/web/production/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js.map +1 -0
  433. package/build/lib/web/production/components/Icons/InvoicesFilledIcon/index.js +2 -0
  434. package/build/lib/web/production/components/Icons/InvoicesFilledIcon/index.js.map +1 -0
  435. package/build/lib/web/production/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js +49 -0
  436. package/build/lib/web/production/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js.map +1 -0
  437. package/build/lib/web/production/components/Icons/LoansForBusinessesFilledIcon/index.js +2 -0
  438. package/build/lib/web/production/components/Icons/LoansForBusinessesFilledIcon/index.js.map +1 -0
  439. package/build/lib/web/production/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js +44 -0
  440. package/build/lib/web/production/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js.map +1 -0
  441. package/build/lib/web/production/components/Icons/MagicCheckoutFilledIcon/index.js +2 -0
  442. package/build/lib/web/production/components/Icons/MagicCheckoutFilledIcon/index.js.map +1 -0
  443. package/build/lib/web/production/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js +44 -0
  444. package/build/lib/web/production/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js.map +1 -0
  445. package/build/lib/web/production/components/Icons/MagicKonnectFilledIcon/index.js +2 -0
  446. package/build/lib/web/production/components/Icons/MagicKonnectFilledIcon/index.js.map +1 -0
  447. package/build/lib/web/production/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js +44 -0
  448. package/build/lib/web/production/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js.map +1 -0
  449. package/build/lib/web/production/components/Icons/MobileAppFilledIcon/index.js +2 -0
  450. package/build/lib/web/production/components/Icons/MobileAppFilledIcon/index.js.map +1 -0
  451. package/build/lib/web/production/components/Icons/MoreFilledIcon/MoreFilledIcon.js +44 -0
  452. package/build/lib/web/production/components/Icons/MoreFilledIcon/MoreFilledIcon.js.map +1 -0
  453. package/build/lib/web/production/components/Icons/MoreFilledIcon/index.js +2 -0
  454. package/build/lib/web/production/components/Icons/MoreFilledIcon/index.js.map +1 -0
  455. package/build/lib/web/production/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js +44 -0
  456. package/build/lib/web/production/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js.map +1 -0
  457. package/build/lib/web/production/components/Icons/OptimizerFilledIcon/index.js +2 -0
  458. package/build/lib/web/production/components/Icons/OptimizerFilledIcon/index.js.map +1 -0
  459. package/build/lib/web/production/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js +44 -0
  460. package/build/lib/web/production/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js.map +1 -0
  461. package/build/lib/web/production/components/Icons/PaymentButtonFilledIcon/index.js +2 -0
  462. package/build/lib/web/production/components/Icons/PaymentButtonFilledIcon/index.js.map +1 -0
  463. package/build/lib/web/production/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js +48 -0
  464. package/build/lib/web/production/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js.map +1 -0
  465. package/build/lib/web/production/components/Icons/PaymentGatewayFilledIcon/index.js +2 -0
  466. package/build/lib/web/production/components/Icons/PaymentGatewayFilledIcon/index.js.map +1 -0
  467. package/build/lib/web/production/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js +56 -0
  468. package/build/lib/web/production/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js.map +1 -0
  469. package/build/lib/web/production/components/Icons/PaymentLinkFilledIcon/index.js +2 -0
  470. package/build/lib/web/production/components/Icons/PaymentLinkFilledIcon/index.js.map +1 -0
  471. package/build/lib/web/production/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js +50 -0
  472. package/build/lib/web/production/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js.map +1 -0
  473. package/build/lib/web/production/components/Icons/PaymentPagesFilledIcon/index.js +2 -0
  474. package/build/lib/web/production/components/Icons/PaymentPagesFilledIcon/index.js.map +1 -0
  475. package/build/lib/web/production/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js +45 -0
  476. package/build/lib/web/production/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js.map +1 -0
  477. package/build/lib/web/production/components/Icons/PayrollAddonsFilledIcon/index.js +2 -0
  478. package/build/lib/web/production/components/Icons/PayrollAddonsFilledIcon/index.js.map +1 -0
  479. package/build/lib/web/production/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js +48 -0
  480. package/build/lib/web/production/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js.map +1 -0
  481. package/build/lib/web/production/components/Icons/PayrollForCaFilledIcon/index.js +2 -0
  482. package/build/lib/web/production/components/Icons/PayrollForCaFilledIcon/index.js.map +1 -0
  483. package/build/lib/web/production/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js +47 -0
  484. package/build/lib/web/production/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js.map +1 -0
  485. package/build/lib/web/production/components/Icons/PayrollForStartupOrSmeFilledIcon/index.js +2 -0
  486. package/build/lib/web/production/components/Icons/PayrollForStartupOrSmeFilledIcon/index.js.map +1 -0
  487. package/build/lib/web/production/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js +53 -0
  488. package/build/lib/web/production/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js.map +1 -0
  489. package/build/lib/web/production/components/Icons/PettyCashBudgetFilledIcon/index.js +2 -0
  490. package/build/lib/web/production/components/Icons/PettyCashBudgetFilledIcon/index.js.map +1 -0
  491. package/build/lib/web/production/components/Icons/PosFilledIcon/PosFilledIcon.js +50 -0
  492. package/build/lib/web/production/components/Icons/PosFilledIcon/PosFilledIcon.js.map +1 -0
  493. package/build/lib/web/production/components/Icons/PosFilledIcon/index.js +2 -0
  494. package/build/lib/web/production/components/Icons/PosFilledIcon/index.js.map +1 -0
  495. package/build/lib/web/production/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js +47 -0
  496. package/build/lib/web/production/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js.map +1 -0
  497. package/build/lib/web/production/components/Icons/RazorpayxPayrollFilledIcon/index.js +2 -0
  498. package/build/lib/web/production/components/Icons/RazorpayxPayrollFilledIcon/index.js.map +1 -0
  499. package/build/lib/web/production/components/Icons/RouteFilledIcon/RouteFilledIcon.js +44 -0
  500. package/build/lib/web/production/components/Icons/RouteFilledIcon/RouteFilledIcon.js.map +1 -0
  501. package/build/lib/web/production/components/Icons/RouteFilledIcon/index.js +2 -0
  502. package/build/lib/web/production/components/Icons/RouteFilledIcon/index.js.map +1 -0
  503. package/build/lib/web/production/components/Icons/SaasFilledIcon/SaasFilledIcon.js +42 -0
  504. package/build/lib/web/production/components/Icons/SaasFilledIcon/SaasFilledIcon.js.map +1 -0
  505. package/build/lib/web/production/components/Icons/SaasFilledIcon/index.js +2 -0
  506. package/build/lib/web/production/components/Icons/SaasFilledIcon/index.js.map +1 -0
  507. package/build/lib/web/production/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js +53 -0
  508. package/build/lib/web/production/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js.map +1 -0
  509. package/build/lib/web/production/components/Icons/SmartCollectFilledIcon/index.js +2 -0
  510. package/build/lib/web/production/components/Icons/SmartCollectFilledIcon/index.js.map +1 -0
  511. package/build/lib/web/production/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js +44 -0
  512. package/build/lib/web/production/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js.map +1 -0
  513. package/build/lib/web/production/components/Icons/SolutionsFilledIcon/index.js +2 -0
  514. package/build/lib/web/production/components/Icons/SolutionsFilledIcon/index.js.map +1 -0
  515. package/build/lib/web/production/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js +60 -0
  516. package/build/lib/web/production/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js.map +1 -0
  517. package/build/lib/web/production/components/Icons/SourceToPayFilledIcon/index.js +2 -0
  518. package/build/lib/web/production/components/Icons/SourceToPayFilledIcon/index.js.map +1 -0
  519. package/build/lib/web/production/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js +64 -0
  520. package/build/lib/web/production/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js.map +1 -0
  521. package/build/lib/web/production/components/Icons/SubscriptionsFilledIcon/index.js +2 -0
  522. package/build/lib/web/production/components/Icons/SubscriptionsFilledIcon/index.js.map +1 -0
  523. package/build/lib/web/production/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js +50 -0
  524. package/build/lib/web/production/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js.map +1 -0
  525. package/build/lib/web/production/components/Icons/TaxPaymentsFilledIcon/index.js +2 -0
  526. package/build/lib/web/production/components/Icons/TaxPaymentsFilledIcon/index.js.map +1 -0
  527. package/build/lib/web/production/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js +53 -0
  528. package/build/lib/web/production/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js.map +1 -0
  529. package/build/lib/web/production/components/Icons/TokenHqFilledIcon/index.js +2 -0
  530. package/build/lib/web/production/components/Icons/TokenHqFilledIcon/index.js.map +1 -0
  531. package/build/lib/web/production/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js +64 -0
  532. package/build/lib/web/production/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js.map +1 -0
  533. package/build/lib/web/production/components/Icons/UpiAutopayFilledIcon/index.js +2 -0
  534. package/build/lib/web/production/components/Icons/UpiAutopayFilledIcon/index.js.map +1 -0
  535. package/build/lib/web/production/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js +52 -0
  536. package/build/lib/web/production/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js.map +1 -0
  537. package/build/lib/web/production/components/Icons/VendorPaymentsFilledIcon/index.js +2 -0
  538. package/build/lib/web/production/components/Icons/VendorPaymentsFilledIcon/index.js.map +1 -0
  539. package/build/lib/web/production/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js +47 -0
  540. package/build/lib/web/production/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js.map +1 -0
  541. package/build/lib/web/production/components/Icons/ViewLiveDemoFilledIcon/index.js +2 -0
  542. package/build/lib/web/production/components/Icons/ViewLiveDemoFilledIcon/index.js.map +1 -0
  543. package/build/lib/web/production/components/Icons/VolumeOffIcon/VolumeOffIcon.js +53 -0
  544. package/build/lib/web/production/components/Icons/VolumeOffIcon/VolumeOffIcon.js.map +1 -0
  545. package/build/lib/web/production/components/Icons/VolumeOffIcon/index.js +2 -0
  546. package/build/lib/web/production/components/Icons/VolumeOffIcon/index.js.map +1 -0
  547. package/build/lib/web/production/components/Icons/VolumeOnIcon/VolumeOnIcon.js +50 -0
  548. package/build/lib/web/production/components/Icons/VolumeOnIcon/VolumeOnIcon.js.map +1 -0
  549. package/build/lib/web/production/components/Icons/VolumeOnIcon/index.js +2 -0
  550. package/build/lib/web/production/components/Icons/VolumeOnIcon/index.js.map +1 -0
  551. package/build/lib/web/production/components/Icons/index.js +51 -0
  552. package/build/lib/web/production/components/Icons/index.js.map +1 -1
  553. package/build/lib/web/production/components/index.js +51 -0
  554. package/build/lib/web/production/components/index.js.map +1 -1
  555. package/build/types/components/index.d.ts +103 -1
  556. package/build/types/components/index.native.d.ts +103 -1
  557. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Alert.js","sources":["../../../../../src/components/Alert/Alert.tsx"],"sourcesContent":["import type { ReactChild, ReactElement } from 'react';\nimport React, { Fragment, useState, forwardRef } from 'react';\n\nimport { StyledAlert } from './StyledAlert';\nimport type { IconComponent } from '~components/Icons';\nimport {\n AlertOctagonIcon,\n AlertTriangleIcon,\n CheckCircleIcon,\n CloseIcon,\n InfoIcon,\n} from '~components/Icons';\nimport { castNativeType, castWebType, useBreakpoint, getPlatformType } from '~utils';\nimport { metaAttribute, MetaConstants } from '~utils/metaAttribute';\nimport { getStyledProps } from '~components/Box/styledProps';\nimport type { StyledPropsBlade } from '~components/Box/styledProps';\nimport { IconButton } from '~components/Button/IconButton';\nimport BaseBox from '~components/Box/BaseBox';\nimport { Text } from '~components/Typography';\nimport BaseButton from '~components/Button/BaseButton';\nimport { BaseLink } from '~components/Link/BaseLink';\nimport type { FeedbackColors, SubtleOrIntense } from '~tokens/theme/theme';\nimport { useTheme } from '~components/BladeProvider';\nimport type {\n DataAnalyticsAttribute,\n BladeElementRef,\n DotNotationSpacingStringToken,\n TestID,\n} from '~utils/types';\nimport { makeAccessible } from '~utils/makeAccessible';\nimport { MAKE_ANALYTICS_CONSTANTS, makeAnalyticsAttribute } from '~utils/makeAnalyticsAttribute';\n\ntype PrimaryAction = {\n text: string;\n onClick: () => void;\n};\n\ntype SecondaryActionButton = {\n text: string;\n onClick: () => void;\n};\n\ntype SecondaryActionLinkButton = {\n text: string;\n href: string;\n onClick?: () => void;\n target?: string;\n /**\n * When `target` is set to `_blank` this is automatically set to `noopener noreferrer`\n */\n rel?: string;\n};\n\ntype SecondaryAction = SecondaryActionButton | SecondaryActionLinkButton;\n\ntype AlertProps = {\n /**\n * Body content, pass text or JSX. Avoid passing components except `Link` to customize the content.\n */\n description: ReactChild;\n\n /**\n * A brief heading\n */\n title?: string;\n\n /**\n * Shows a dismiss button\n *\n * @default true\n */\n isDismissible?: boolean;\n\n /**\n * A callback when the dismiss button is clicked\n */\n onDismiss?: () => void;\n\n /**\n * Can be used to render custom icon\n */\n icon?: IconComponent;\n\n /**\n * Can be set to `high` for a more prominent look. Not to be confused with a11y emphasis.\n *\n * @default subtle\n */\n emphasis?: SubtleOrIntense;\n\n /**\n * Makes the Alert span the entire container width, instead of the default max width of `584px`.\n * This also makes the alert borderless, useful for creating full bleed layouts.\n *\n * @default false\n */\n isFullWidth?: boolean;\n\n /**\n * Sets the color tone\n */\n color?: FeedbackColors;\n\n /**\n * Renders a primary action button and a secondary action link button\n */\n actions?: {\n /**\n * Renders a button (should **always** be present if `secondary` action is being used)\n */\n primary?: PrimaryAction;\n /**\n * Renders a Link button\n */\n secondary?: SecondaryAction;\n };\n} & TestID &\n StyledPropsBlade &\n DataAnalyticsAttribute;\n\nconst isReactNative = getPlatformType() === 'react-native';\n\n// Need extra wrappers on React Native only for alignment\nconst CloseButtonWrapper = isReactNative ? BaseBox : Fragment;\n\nconst intentIconMap = {\n positive: CheckCircleIcon,\n negative: AlertOctagonIcon,\n information: InfoIcon,\n neutral: InfoIcon,\n notice: AlertTriangleIcon,\n};\n\nconst _Alert = (\n {\n description,\n title,\n isDismissible = true,\n onDismiss,\n emphasis = 'subtle',\n isFullWidth = false,\n color = 'neutral',\n actions,\n testID,\n icon,\n ...rest\n }: AlertProps,\n ref: React.Ref<BladeElementRef>,\n): ReactElement | null => {\n const { theme } = useTheme();\n const { matchedDeviceType } = useBreakpoint({ breakpoints: theme.breakpoints });\n const [isVisible, setIsVisible] = useState(true);\n\n const isDesktop = matchedDeviceType === 'desktop';\n const isMobile = !isDesktop;\n\n const Icon = icon ?? intentIconMap[color];\n let iconOffset: DotNotationSpacingStringToken = 'spacing.1';\n\n // certain special cases below needs special care for near perfect alignment\n if (isReactNative) {\n if (isFullWidth && !title) {\n iconOffset = 'spacing.1';\n } else if (!isFullWidth && !title) {\n iconOffset = 'spacing.0';\n } else if (!isFullWidth && title) {\n iconOffset = 'spacing.2';\n }\n } else if (isMobile) {\n if (!isFullWidth && title) {\n iconOffset = 'spacing.2';\n } else if (isFullWidth && !title) {\n iconOffset = 'spacing.2';\n }\n } else if (isFullWidth) {\n iconOffset = 'spacing.1';\n }\n\n const shouldCenterAlign = isFullWidth && !title;\n let alignment: 'center' | 'flex-start' = 'flex-start';\n if (!isFullWidth) alignment = 'flex-start';\n if (shouldCenterAlign) alignment = 'center';\n\n const leadingIcon = (\n <BaseBox display=\"flex\" alignSelf={alignment} marginTop={iconOffset}>\n <Icon\n color={\n emphasis === 'intense'\n ? 'surface.icon.staticWhite.normal'\n : `feedback.icon.${color}.${emphasis === 'subtle' ? 'intense' : 'subtle'}`\n }\n size=\"medium\"\n />\n </BaseBox>\n );\n\n const textColor =\n emphasis === 'intense' ? 'surface.text.staticWhite.normal' : 'surface.text.gray.subtle';\n const _title = title ? (\n <BaseBox marginBottom=\"spacing.2\">\n <Text color={textColor} size=\"medium\" weight=\"semibold\">\n {title}\n </Text>\n </BaseBox>\n ) : null;\n\n const _description = (\n <BaseBox marginTop={title || isReactNative ? 'spacing.0' : 'spacing.1'}>\n <Text color={textColor} size=\"small\">\n {description}\n </Text>\n </BaseBox>\n );\n\n const primaryAction = actions?.primary ? (\n <BaseBox\n marginRight=\"spacing.5\"\n display={isReactNative ? castNativeType('flex') : castWebType('inline-flex')}\n >\n <BaseButton\n size=\"small\"\n onClick={actions.primary.onClick}\n color={emphasis === 'intense' ? 'white' : color}\n variant=\"secondary\"\n data-analytics-name={MAKE_ANALYTICS_CONSTANTS.ALERT.PRIMARY_ACTION_BUTTON}\n >\n {actions.primary.text}\n </BaseButton>\n </BaseBox>\n ) : null;\n\n const secondaryActionParams: Partial<SecondaryActionLinkButton> | null = actions?.secondary\n ? {\n onClick: actions.secondary.onClick,\n }\n : null;\n\n /**\n * TS assumes only common properties to be present for `SecondaryAction` union type\n * We add a type guard that checks if href is present on secondary action:\n * - If yes, then TS can assume it to be `SecondaryActionLinkButton` (href being a required property)\n * - If no, then it would be `SecondaryActionButton` (and link properties wouldn't be needed)\n */\n if (actions?.secondary && secondaryActionParams && 'href' in actions.secondary) {\n secondaryActionParams.href = actions.secondary.href;\n secondaryActionParams.target = actions.secondary.target;\n secondaryActionParams.rel = actions.secondary.rel;\n }\n\n const secondaryAction = actions?.secondary ? (\n <BaseBox marginRight=\"spacing.4\" display={(isReactNative ? 'flex' : 'inline-flex') as never}>\n <BaseLink\n size=\"small\"\n color={emphasis === 'intense' ? 'white' : color}\n {...secondaryActionParams}\n >\n {actions.secondary.text}\n </BaseLink>\n </BaseBox>\n ) : null;\n\n // For certain cases we wish to render actions inline with text content\n const showActionsHorizontal = isFullWidth && isDesktop;\n\n const actionsHorizontal =\n showActionsHorizontal && (primaryAction || secondaryAction) ? (\n <BaseBox flexDirection=\"row\" alignItems=\"center\">\n {primaryAction}\n {secondaryAction}\n </BaseBox>\n ) : null;\n\n const actionsVertical =\n !showActionsHorizontal && (primaryAction || secondaryAction) ? (\n <BaseBox marginTop=\"spacing.4\" flexDirection=\"row\" alignItems=\"center\">\n {primaryAction}\n {secondaryAction}\n </BaseBox>\n ) : null;\n\n const onClickDismiss = (): void => {\n if (onDismiss) {\n onDismiss();\n }\n setIsVisible(false);\n };\n const closeButton = isDismissible ? (\n <CloseButtonWrapper>\n <IconButton\n accessibilityLabel=\"Dismiss alert\"\n onClick={onClickDismiss}\n emphasis={emphasis === 'intense' ? 'subtle' : 'intense'}\n size=\"large\"\n icon={CloseIcon}\n />\n </CloseButtonWrapper>\n ) : null;\n\n const a11yProps = makeAccessible({\n // React Native doesn't has status as role\n role: isReactNative || color === 'negative' || color === 'notice' ? 'alert' : 'status',\n // override the implicit live region of role `alert`\n ...(color === 'notice' && { liveRegion: 'polite' }),\n });\n\n if (!isVisible) {\n return null;\n }\n\n return (\n <BaseBox\n ref={ref as never}\n {...a11yProps}\n {...metaAttribute({ name: MetaConstants.Alert, testID })}\n {...getStyledProps(rest)}\n {...makeAnalyticsAttribute(rest)}\n >\n <StyledAlert\n color={color}\n emphasis={emphasis}\n isFullWidth={isFullWidth}\n isDesktop={isDesktop}\n textAlign={'left' as never}\n >\n {leadingIcon}\n <BaseBox\n flex={1}\n paddingLeft={isFullWidth ? 'spacing.4' : 'spacing.3'}\n paddingRight={showActionsHorizontal ? 'spacing.4' : 'spacing.2'}\n >\n {_title}\n {_description}\n {actionsVertical}\n </BaseBox>\n {actionsHorizontal}\n {closeButton}\n </StyledAlert>\n </BaseBox>\n );\n};\n\nconst Alert = forwardRef(_Alert);\n\nexport type { AlertProps };\nexport { Alert };\n"],"names":["isReactNative","getPlatformType","CloseButtonWrapper","BaseBox","Fragment","intentIconMap","positive","CheckCircleIcon","negative","AlertOctagonIcon","information","InfoIcon","neutral","notice","AlertTriangleIcon","_Alert","_ref","ref","description","title","_ref$isDismissible","isDismissible","onDismiss","_ref$emphasis","emphasis","_ref$isFullWidth","isFullWidth","_ref$color","color","actions","testID","icon","rest","_objectWithoutProperties","_excluded","_useTheme","useTheme","theme","_useBreakpoint","useBreakpoint","breakpoints","matchedDeviceType","_useState","useState","_useState2","_slicedToArray","isVisible","setIsVisible","isDesktop","isMobile","Icon","iconOffset","shouldCenterAlign","alignment","leadingIcon","_jsx","display","alignSelf","marginTop","children","size","textColor","_title","marginBottom","Text","weight","_description","primaryAction","primary","marginRight","castNativeType","castWebType","BaseButton","onClick","variant","MAKE_ANALYTICS_CONSTANTS","ALERT","PRIMARY_ACTION_BUTTON","text","secondaryActionParams","secondary","href","target","rel","secondaryAction","BaseLink","Object","assign","showActionsHorizontal","actionsHorizontal","_jsxs","flexDirection","alignItems","actionsVertical","onClickDismiss","closeButton","IconButton","accessibilityLabel","CloseIcon","a11yProps","makeAccessible","role","liveRegion","metaAttribute","name","MetaConstants","Alert","getStyledProps","makeAnalyticsAttribute","StyledAlert","textAlign","flex","paddingLeft","paddingRight","forwardRef"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAA,SAAA,CAAA,CAAA,aAAA,CAAA,OAAA,CAAA,eAAA,CAAA,WAAA,CA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,IAAI,CAAErG,aAAa,EAAI4B,KAAK,GAAK,UAAU,EAAIA,KAAK,GAAK,QAAQ,CAAG,OAAO,CAAG,QAAQ,CAAA,CAElFA,KAAK,GAAK,QAAQ,EAAI,CAAE0E,UAAU,CAAE,QAAS,CAAC,CACnD,CAAC,CAEF,GAAI,CAACxD,SAAS,CAAE,CACd,OAAO,IAAI,CACb,CAEA,OACES,GAAA,CAACpD,OAAO,CAAAmF,MAAA,CAAAC,MAAA,CAAA,CACNtE,GAAG,CAAEA,GAAa,CAAA,CACdkF,SAAS,CACTI,aAAa,CAAC,CAAEC,IAAI,CAAEC,aAAa,CAACC,KAAK,CAAE5E,MAAM,CAANA,MAAO,CAAC,CAAC,CACpD6E,cAAc,CAAC3E,IAAI,CAAC,CACpB4E,sBAAsB,CAAC5E,IAAI,CAAC,CAAA,CAAA2B,QAAA,CAEhC+B,IAAA,CAACmB,WAAW,CACVjF,CAAAA,KAAK,CAAEA,KAAM,CACbJ,QAAQ,CAAEA,QAAS,CACnBE,WAAW,CAAEA,WAAY,CACzBsB,SAAS,CAAEA,SAAU,CACrB8D,SAAS,CAAE,MAAgB,CAAAnD,QAAA,CAE1BL,CAAAA,WAAW,CACZoC,IAAA,CAACvF,OAAO,CAAA,CACN4G,IAAI,CAAE,CAAE,CACRC,WAAW,CAAEtF,WAAW,CAAG,WAAW,CAAG,WAAY,CACrDuF,YAAY,CAAEzB,qBAAqB,CAAG,WAAW,CAAG,WAAY,CAAA7B,QAAA,CAAA,CAE/DG,MAAM,CACNI,YAAY,CACZ2B,eAAe,CACT,CAAA,CAAC,CACTJ,iBAAiB,CACjBM,WAAW,CAAA,CACD,CAAC,CAAA,CACP,CAAC,CAEd,CAAC,CAEK,IAAAW,KAAK,CAAGQ,UAAU,CAACnG,MAAM;;;;"}
1
+ {"version":3,"file":"Alert.js","sources":["../../../../../src/components/Alert/Alert.tsx"],"sourcesContent":["import type { ReactChild, ReactElement } from 'react';\nimport React, { Fragment, useState, forwardRef } from 'react';\n\nimport { StyledAlert } from './StyledAlert';\nimport type { IconComponent } from '~components/Icons';\nimport {\n AlertOctagonIcon,\n AlertTriangleIcon,\n CheckCircleIcon,\n CloseIcon,\n InfoIcon,\n} from '~components/Icons';\nimport { castNativeType, castWebType, useBreakpoint, getPlatformType } from '~utils';\nimport { metaAttribute, MetaConstants } from '~utils/metaAttribute';\nimport { getStyledProps } from '~components/Box/styledProps';\nimport type { StyledPropsBlade } from '~components/Box/styledProps';\nimport { IconButton } from '~components/Button/IconButton';\nimport BaseBox from '~components/Box/BaseBox';\nimport { Text } from '~components/Typography';\nimport BaseButton from '~components/Button/BaseButton';\nimport { BaseLink } from '~components/Link/BaseLink';\nimport type { FeedbackColors, SubtleOrIntense } from '~tokens/theme/theme';\nimport { useTheme } from '~components/BladeProvider';\nimport type {\n DataAnalyticsAttribute,\n BladeElementRef,\n DotNotationSpacingStringToken,\n TestID,\n} from '~utils/types';\nimport { makeAccessible } from '~utils/makeAccessible';\nimport { MAKE_ANALYTICS_CONSTANTS, makeAnalyticsAttribute } from '~utils/makeAnalyticsAttribute';\n\ntype PrimaryAction = {\n text: string;\n onClick: () => void;\n};\n\ntype SecondaryActionButton = {\n text: string;\n onClick: () => void;\n};\n\ntype SecondaryActionLinkButton = {\n text: string;\n href: string;\n onClick?: () => void;\n target?: string;\n /**\n * When `target` is set to `_blank` this is automatically set to `noopener noreferrer`\n */\n rel?: string;\n};\n\ntype SecondaryAction = SecondaryActionButton | SecondaryActionLinkButton;\n\ntype AlertProps = {\n /**\n * Body content, pass text or JSX. Avoid passing components except `Link` to customize the content.\n */\n description: ReactChild;\n\n /**\n * A brief heading\n */\n title?: string;\n\n /**\n * Shows a dismiss button\n *\n * @default true\n */\n isDismissible?: boolean;\n\n /**\n * A callback when the dismiss button is clicked\n */\n onDismiss?: () => void;\n\n /**\n * Can be used to render custom icon\n */\n icon?: IconComponent;\n\n /**\n * Can be set to `high` for a more prominent look. Not to be confused with a11y emphasis.\n *\n * @default subtle\n */\n emphasis?: SubtleOrIntense;\n\n /**\n * Makes the Alert span the entire container width, instead of the default max width of `584px`.\n * This also makes the alert borderless, useful for creating full bleed layouts.\n *\n * @default false\n */\n isFullWidth?: boolean;\n\n /**\n * Sets the color tone\n */\n color?: FeedbackColors;\n\n /**\n * Renders a primary action button and a secondary action link button\n */\n actions?: {\n /**\n * Renders a button (should **always** be present if `secondary` action is being used)\n */\n primary?: PrimaryAction;\n /**\n * Renders a Link button\n */\n secondary?: SecondaryAction;\n };\n} & TestID &\n StyledPropsBlade &\n DataAnalyticsAttribute;\n\nconst isReactNative = getPlatformType() === 'react-native';\n\n// Need extra wrappers on React Native only for alignment\nconst CloseButtonWrapper = isReactNative ? BaseBox : Fragment;\n\nconst intentIconMap = {\n positive: CheckCircleIcon,\n negative: AlertOctagonIcon,\n information: InfoIcon,\n neutral: InfoIcon,\n notice: AlertTriangleIcon,\n};\n\nconst _Alert = (\n {\n description,\n title,\n isDismissible = true,\n onDismiss,\n emphasis = 'subtle',\n isFullWidth = false,\n color = 'neutral',\n actions,\n testID,\n icon,\n ...rest\n }: AlertProps,\n ref: React.Ref<BladeElementRef>,\n): ReactElement | null => {\n const { theme } = useTheme();\n const { matchedDeviceType } = useBreakpoint({ breakpoints: theme.breakpoints });\n const [isVisible, setIsVisible] = useState(true);\n\n const isDesktop = matchedDeviceType === 'desktop';\n const isMobile = !isDesktop;\n\n const Icon = icon ?? intentIconMap[color];\n let iconOffset: DotNotationSpacingStringToken = 'spacing.1';\n\n // certain special cases below needs special care for near perfect alignment\n if (isReactNative) {\n if (isFullWidth && !title) {\n iconOffset = 'spacing.1';\n } else if (!isFullWidth && !title) {\n iconOffset = 'spacing.0';\n } else if (!isFullWidth && title) {\n iconOffset = 'spacing.2';\n }\n } else if (isMobile) {\n if (!isFullWidth && title) {\n iconOffset = 'spacing.2';\n } else if (isFullWidth && !title) {\n iconOffset = 'spacing.2';\n }\n } else if (isFullWidth) {\n iconOffset = 'spacing.1';\n }\n\n const shouldCenterAlign = isFullWidth && !title;\n let alignment: 'center' | 'flex-start' = 'flex-start';\n if (!isFullWidth) alignment = 'flex-start';\n if (shouldCenterAlign) alignment = 'center';\n\n const leadingIcon = (\n <BaseBox display=\"flex\" alignSelf={alignment} marginTop={iconOffset}>\n <Icon\n color={\n emphasis === 'intense'\n ? 'surface.icon.staticWhite.normal'\n : `feedback.icon.${color}.${emphasis === 'subtle' ? 'intense' : 'subtle'}`\n }\n size=\"medium\"\n />\n </BaseBox>\n );\n\n const textColor =\n emphasis === 'intense' ? 'surface.text.staticWhite.normal' : 'surface.text.gray.subtle';\n const _title = title ? (\n <BaseBox marginBottom=\"spacing.2\">\n <Text color={textColor} size=\"medium\" weight=\"semibold\">\n {title}\n </Text>\n </BaseBox>\n ) : null;\n\n const _description = (\n <BaseBox marginTop={title || isReactNative ? 'spacing.0' : 'spacing.1'}>\n <Text color={textColor} size=\"small\">\n {description}\n </Text>\n </BaseBox>\n );\n\n const primaryAction = actions?.primary ? (\n <BaseBox\n marginRight=\"spacing.5\"\n display={isReactNative ? castNativeType('flex') : castWebType('inline-flex')}\n >\n <BaseButton\n size=\"small\"\n onClick={actions.primary.onClick}\n color={emphasis === 'intense' ? 'white' : color}\n variant=\"secondary\"\n data-analytics-name={MAKE_ANALYTICS_CONSTANTS.ALERT.PRIMARY_ACTION_BUTTON}\n >\n {actions.primary.text}\n </BaseButton>\n </BaseBox>\n ) : null;\n\n const secondaryActionParams: Partial<SecondaryActionLinkButton> | null = actions?.secondary\n ? {\n onClick: actions.secondary.onClick,\n }\n : null;\n\n /**\n * TS assumes only common properties to be present for `SecondaryAction` union type\n * We add a type guard that checks if href is present on secondary action:\n * - If yes, then TS can assume it to be `SecondaryActionLinkButton` (href being a required property)\n * - If no, then it would be `SecondaryActionButton` (and link properties wouldn't be needed)\n */\n if (actions?.secondary && secondaryActionParams && 'href' in actions.secondary) {\n secondaryActionParams.href = actions.secondary.href;\n secondaryActionParams.target = actions.secondary.target;\n secondaryActionParams.rel = actions.secondary.rel;\n }\n\n const secondaryAction = actions?.secondary ? (\n <BaseBox marginRight=\"spacing.4\" display={(isReactNative ? 'flex' : 'inline-flex') as never}>\n <BaseLink\n size=\"small\"\n color={emphasis === 'intense' ? 'white' : color}\n {...secondaryActionParams}\n >\n {actions.secondary.text}\n </BaseLink>\n </BaseBox>\n ) : null;\n\n // For certain cases we wish to render actions inline with text content\n const showActionsHorizontal = isFullWidth && isDesktop;\n\n const actionsHorizontal =\n showActionsHorizontal && (primaryAction || secondaryAction) ? (\n <BaseBox flexDirection=\"row\" alignItems=\"center\">\n {primaryAction}\n {secondaryAction}\n </BaseBox>\n ) : null;\n\n const actionsVertical =\n !showActionsHorizontal && (primaryAction || secondaryAction) ? (\n <BaseBox marginTop=\"spacing.4\" flexDirection=\"row\" alignItems=\"center\">\n {primaryAction}\n {secondaryAction}\n </BaseBox>\n ) : null;\n\n const onClickDismiss = (): void => {\n if (onDismiss) {\n onDismiss();\n }\n setIsVisible(false);\n };\n const closeButton = isDismissible ? (\n <CloseButtonWrapper>\n <IconButton\n accessibilityLabel=\"Dismiss alert\"\n onClick={onClickDismiss}\n emphasis={emphasis === 'intense' ? 'subtle' : 'intense'}\n size=\"large\"\n icon={CloseIcon}\n />\n </CloseButtonWrapper>\n ) : null;\n\n const a11yProps = makeAccessible({\n // React Native doesn't has status as role\n role: isReactNative || color === 'negative' || color === 'notice' ? 'alert' : 'status',\n // override the implicit live region of role `alert`\n ...(color === 'notice' && { liveRegion: 'polite' }),\n });\n\n if (!isVisible) {\n return null;\n }\n\n return (\n <BaseBox\n ref={ref as never}\n {...a11yProps}\n {...metaAttribute({ name: MetaConstants.Alert, testID })}\n {...getStyledProps(rest)}\n {...makeAnalyticsAttribute(rest)}\n >\n <StyledAlert\n color={color}\n emphasis={emphasis}\n isFullWidth={isFullWidth}\n isDesktop={isDesktop}\n textAlign={'left' as never}\n >\n {leadingIcon}\n <BaseBox\n flex={1}\n paddingLeft={isFullWidth ? 'spacing.4' : 'spacing.3'}\n paddingRight={showActionsHorizontal ? 'spacing.4' : 'spacing.2'}\n >\n {_title}\n {_description}\n {actionsVertical}\n </BaseBox>\n {actionsHorizontal}\n {closeButton}\n </StyledAlert>\n </BaseBox>\n );\n};\n\nconst Alert = forwardRef(_Alert);\n\nexport type { AlertProps };\nexport { Alert };\n"],"names":["isReactNative","getPlatformType","CloseButtonWrapper","BaseBox","Fragment","intentIconMap","positive","CheckCircleIcon","negative","AlertOctagonIcon","information","InfoIcon","neutral","notice","AlertTriangleIcon","_Alert","_ref","ref","description","title","_ref$isDismissible","isDismissible","onDismiss","_ref$emphasis","emphasis","_ref$isFullWidth","isFullWidth","_ref$color","color","actions","testID","icon","rest","_objectWithoutProperties","_excluded","_useTheme","useTheme","theme","_useBreakpoint","useBreakpoint","breakpoints","matchedDeviceType","_useState","useState","_useState2","_slicedToArray","isVisible","setIsVisible","isDesktop","isMobile","Icon","iconOffset","shouldCenterAlign","alignment","leadingIcon","_jsx","display","alignSelf","marginTop","children","size","textColor","_title","marginBottom","Text","weight","_description","primaryAction","primary","marginRight","castNativeType","castWebType","BaseButton","onClick","variant","MAKE_ANALYTICS_CONSTANTS","ALERT","PRIMARY_ACTION_BUTTON","text","secondaryActionParams","secondary","href","target","rel","secondaryAction","BaseLink","Object","assign","showActionsHorizontal","actionsHorizontal","_jsxs","flexDirection","alignItems","actionsVertical","onClickDismiss","closeButton","IconButton","accessibilityLabel","CloseIcon","a11yProps","makeAccessible","role","liveRegion","metaAttribute","name","MetaConstants","Alert","getStyledProps","makeAnalyticsAttribute","StyledAlert","textAlign","flex","paddingLeft","paddingRight","forwardRef"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAG,WAAW,CAAG,WAAY,CACrDuF,YAAY,CAAEzB,qBAAqB,CAAG,WAAW,CAAG,WAAY,CAAA7B,QAAA,CAAA,CAE/DG,MAAM,CACNI,YAAY,CACZ2B,eAAe,CACT,CAAA,CAAC,CACTJ,iBAAiB,CACjBM,WAAW,CAAA,CACD,CAAC,CAAA,CACP,CAAC,CAEd,CAAC,CAEK,IAAAW,KAAK,CAAGQ,UAAU,CAACnG,MAAM;;;;"}
@@ -8,9 +8,11 @@ import { Text } from '../Typography/Text/Text.js';
8
8
  import '../Typography/Code/Code.js';
9
9
  import '../Typography/Display/Display.js';
10
10
  import { IconButton } from '../Button/IconButton/IconButton.js';
11
+ import '../Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js';
11
12
  import '../Icons/AcceptPaymentsIcon/AcceptPaymentsIcon.js';
12
13
  import '../Icons/ActivityIcon/ActivityIcon.js';
13
14
  import '../Icons/AddressBookIcon/AddressBookIcon.js';
15
+ import '../Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js';
14
16
  import '../Icons/AffordabilityIcon/AffordabilityIcon.js';
15
17
  import '../Icons/AirplayIcon/AirplayIcon.js';
16
18
  import '../Icons/AlertCircleIcon/AlertCircleIcon.js';
@@ -46,8 +48,10 @@ import '../Icons/ArrowUpRightIcon/ArrowUpRightIcon.js';
46
48
  import '../Icons/AtSignIcon/AtSignIcon.js';
47
49
  import '../Icons/AttachmentIcon/AttachmentIcon.js';
48
50
  import '../Icons/AutomateAccountingIcon/AutomateAccountingIcon.js';
51
+ import '../Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js';
49
52
  import '../Icons/AutomatePayrollIcon/AutomatePayrollIcon.js';
50
53
  import '../Icons/AwardIcon/AwardIcon.js';
54
+ import '../Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js';
51
55
  import '../Icons/BankAccountVerificationIcon/BankAccountVerificationIcon.js';
52
56
  import '../Icons/BankIcon/BankIcon.js';
53
57
  import '../Icons/BarChartAltIcon/BarChartAltIcon.js';
@@ -62,8 +66,10 @@ import '../Icons/BatteryChargingIcon/BatteryChargingIcon.js';
62
66
  import '../Icons/BatteryIcon/BatteryIcon.js';
63
67
  import '../Icons/BellIcon/BellIcon.js';
64
68
  import '../Icons/BellOffIcon/BellOffIcon.js';
69
+ import '../Icons/BfsiFilledIcon/BfsiFilledIcon.js';
65
70
  import '../Icons/BfsiIcon/BfsiIcon.js';
66
71
  import '../Icons/BillIcon/BillIcon.js';
72
+ import '../Icons/BillMeFilledIcon/BillMeFilledIcon.js';
67
73
  import '../Icons/BillMeIcon/BillMeIcon.js';
68
74
  import '../Icons/BluetoothIcon/BluetoothIcon.js';
69
75
  import '../Icons/BoldIcon/BoldIcon.js';
@@ -73,8 +79,10 @@ import '../Icons/BoxIcon/BoxIcon.js';
73
79
  import '../Icons/BriefcaseIcon/BriefcaseIcon.js';
74
80
  import '../Icons/BugIcon/BugIcon.js';
75
81
  import '../Icons/BuildingIcon/BuildingIcon.js';
82
+ import '../Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js';
76
83
  import '../Icons/BulkPayoutsIcon/BulkPayoutsIcon.js';
77
84
  import '../Icons/BusinessBankingIcon/BusinessBankingIcon.js';
85
+ import '../Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js';
78
86
  import '../Icons/BusinessSpendManagementIcon/BusinessSpendManagementIcon.js';
79
87
  import '../Icons/CalendarIcon/CalendarIcon.js';
80
88
  import '../Icons/CameraIcon/CameraIcon.js';
@@ -111,6 +119,7 @@ import '../Icons/CodepenIcon/CodepenIcon.js';
111
119
  import '../Icons/CoinIcon/CoinIcon.js';
112
120
  import '../Icons/CoinsIcon/CoinsIcon.js';
113
121
  import '../Icons/CommandIcon/CommandIcon.js';
122
+ import '../Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js';
114
123
  import '../Icons/CompanyRegistrationIcon/CompanyRegistrationIcon.js';
115
124
  import '../Icons/CompassIcon/CompassIcon.js';
116
125
  import '../Icons/ConfettiIcon/ConfettiIcon.js';
@@ -128,15 +137,19 @@ import '../Icons/CornerUpLeftIcon/CornerUpLeftIcon.js';
128
137
  import '../Icons/CornerUpRightIcon/CornerUpRightIcon.js';
129
138
  import '../Icons/CpuIcon/CpuIcon.js';
130
139
  import '../Icons/CreditCardIcon/CreditCardIcon.js';
140
+ import '../Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js';
131
141
  import '../Icons/CreditsAndLoansIcon/CreditsAndLoansIcon.js';
132
142
  import '../Icons/CropIcon/CropIcon.js';
133
143
  import '../Icons/CrosshairIcon/CrosshairIcon.js';
144
+ import '../Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js';
134
145
  import '../Icons/CurrentAccountIcon/CurrentAccountIcon.js';
135
146
  import '../Icons/CustomersIcon/CustomersIcon.js';
136
147
  import '../Icons/CutIcon/CutIcon.js';
137
148
  import '../Icons/DashboardIcon/DashboardIcon.js';
138
149
  import '../Icons/DeleteIcon/DeleteIcon.js';
150
+ import '../Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js';
139
151
  import '../Icons/DigitalLendingIcon/DigitalLendingIcon.js';
152
+ import '../Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js';
140
153
  import '../Icons/DisbursePaymentsIcon/DisbursePaymentsIcon.js';
141
154
  import '../Icons/DiscIcon/DiscIcon.js';
142
155
  import '../Icons/DollarIcon/DollarIcon.js';
@@ -146,13 +159,17 @@ import '../Icons/DownloadCloudIcon/DownloadCloudIcon.js';
146
159
  import '../Icons/DownloadIcon/DownloadIcon.js';
147
160
  import '../Icons/DragHandleIcon/DragHandleIcon.js';
148
161
  import '../Icons/DropletIcon/DropletIcon.js';
162
+ import '../Icons/EcommerceFilledIcon/EcommerceFilledIcon.js';
149
163
  import '../Icons/EcommerceIcon/EcommerceIcon.js';
150
164
  import '../Icons/EditComposeIcon/EditComposeIcon.js';
151
165
  import '../Icons/EditIcon/EditIcon.js';
152
166
  import '../Icons/EditInlineIcon/EditInlineIcon.js';
167
+ import '../Icons/EducationFilledIcon/EducationFilledIcon.js';
153
168
  import '../Icons/EducationIcon/EducationIcon.js';
169
+ import '../Icons/EngageFilledIcon/EngageFilledIcon.js';
154
170
  import '../Icons/EngageIcon/EngageIcon.js';
155
171
  import '../Icons/EqualsIcon/EqualsIcon.js';
172
+ import '../Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js';
156
173
  import '../Icons/EscrowAccountIcon/EscrowAccountIcon.js';
157
174
  import '../Icons/ExportIcon/ExportIcon.js';
158
175
  import '../Icons/ExternalLinkIcon/ExternalLinkIcon.js';
@@ -172,7 +189,9 @@ import '../Icons/FilterIcon/FilterIcon.js';
172
189
  import '../Icons/FlagIcon/FlagIcon.js';
173
190
  import '../Icons/FlaskIcon/FlaskIcon.js';
174
191
  import '../Icons/FolderIcon/FolderIcon.js';
192
+ import '../Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js';
175
193
  import '../Icons/ForexManagementIcon/ForexManagementIcon.js';
194
+ import '../Icons/FreelanceFilledIcon/FreelanceFilledIcon.js';
176
195
  import '../Icons/FreelanceIcon/FreelanceIcon.js';
177
196
  import '../Icons/FullScreenEnterIcon/FullScreenEnterIcon.js';
178
197
  import '../Icons/FullScreenExitIcon/FullScreenExitIcon.js';
@@ -193,8 +212,11 @@ import '../Icons/InboxIcon/InboxIcon.js';
193
212
  import '../Icons/IndiaFlagIcon/IndiaFlagIcon.js';
194
213
  import '../Icons/InfoIcon/InfoIcon.js';
195
214
  import '../Icons/InstagramIcon/InstagramIcon.js';
215
+ import '../Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js';
196
216
  import '../Icons/InstantSettlementIcon/InstantSettlementIcon.js';
217
+ import '../Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js';
197
218
  import '../Icons/InternationalPaymentsIcon/InternationalPaymentsIcon.js';
219
+ import '../Icons/InvoicesFilledIcon/InvoicesFilledIcon.js';
198
220
  import '../Icons/InvoicesIcon/InvoicesIcon.js';
199
221
  import '../Icons/ItalicIcon/ItalicIcon.js';
200
222
  import '../Icons/KeyIcon/KeyIcon.js';
@@ -207,11 +229,14 @@ import '../Icons/LinkIcon/LinkIcon.js';
207
229
  import '../Icons/ListIcon/ListIcon.js';
208
230
  import '../Icons/ListSearchIcon/ListSearchIcon.js';
209
231
  import '../Icons/LoaderIcon/LoaderIcon.js';
232
+ import '../Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js';
210
233
  import '../Icons/LoansForBusinessesIcon/LoansForBusinessesIcon.js';
211
234
  import '../Icons/LockIcon/LockIcon.js';
212
235
  import '../Icons/LogInIcon/LogInIcon.js';
213
236
  import '../Icons/LogOutIcon/LogOutIcon.js';
237
+ import '../Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js';
214
238
  import '../Icons/MagicCheckoutIcon/MagicCheckoutIcon.js';
239
+ import '../Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js';
215
240
  import '../Icons/MagicKonnectIcon/MagicKonnectIcon.js';
216
241
  import '../Icons/MailIcon/MailIcon.js';
217
242
  import '../Icons/MailOpenIcon/MailOpenIcon.js';
@@ -228,9 +253,11 @@ import '../Icons/MinimizeIcon/MinimizeIcon.js';
228
253
  import '../Icons/MinusCircleIcon/MinusCircleIcon.js';
229
254
  import '../Icons/MinusIcon/MinusIcon.js';
230
255
  import '../Icons/MinusSquareIcon/MinusSquareIcon.js';
256
+ import '../Icons/MobileAppFilledIcon/MobileAppFilledIcon.js';
231
257
  import '../Icons/MobileAppIcon/MobileAppIcon.js';
232
258
  import '../Icons/MonitorIcon/MonitorIcon.js';
233
259
  import '../Icons/MoonIcon/MoonIcon.js';
260
+ import '../Icons/MoreFilledIcon/MoreFilledIcon.js';
234
261
  import '../Icons/MoreHorizontalIcon/MoreHorizontalIcon.js';
235
262
  import '../Icons/MoreIcon/MoreIcon.js';
236
263
  import '../Icons/MoreVerticalIcon/MoreVerticalIcon.js';
@@ -241,22 +268,31 @@ import '../Icons/NavigationIcon/NavigationIcon.js';
241
268
  import '../Icons/NoSignalIcon/NoSignalIcon.js';
242
269
  import '../Icons/OctagonIcon/OctagonIcon.js';
243
270
  import '../Icons/OffersIcon/OffersIcon.js';
271
+ import '../Icons/OptimizerFilledIcon/OptimizerFilledIcon.js';
244
272
  import '../Icons/OptimizerIcon/OptimizerIcon.js';
245
273
  import '../Icons/PackageIcon/PackageIcon.js';
246
274
  import '../Icons/PaperclipIcon/PaperclipIcon.js';
247
275
  import '../Icons/PauseCircleIcon/PauseCircleIcon.js';
248
276
  import '../Icons/PauseIcon/PauseIcon.js';
277
+ import '../Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js';
249
278
  import '../Icons/PaymentButtonIcon/PaymentButtonIcon.js';
250
279
  import '../Icons/PaymentButtonsIcon/PaymentButtonsIcon.js';
280
+ import '../Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js';
251
281
  import '../Icons/PaymentGatewayIcon/PaymentGatewayIcon.js';
282
+ import '../Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js';
252
283
  import '../Icons/PaymentLinkIcon/PaymentLinkIcon.js';
253
284
  import '../Icons/PaymentLinksIcon/PaymentLinksIcon.js';
285
+ import '../Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js';
254
286
  import '../Icons/PaymentPagesIcon/PaymentPagesIcon.js';
255
287
  import '../Icons/PayoutLinkIcon/PayoutLinkIcon.js';
288
+ import '../Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js';
256
289
  import '../Icons/PayrollAddonsIcon/PayrollAddonsIcon.js';
290
+ import '../Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js';
257
291
  import '../Icons/PayrollForCaIcon/PayrollForCaIcon.js';
292
+ import '../Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js';
258
293
  import '../Icons/PayrollForStartupOrSmeIcon/PayrollForStartupOrSmeIcon.js';
259
294
  import '../Icons/PercentIcon/PercentIcon.js';
295
+ import '../Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js';
260
296
  import '../Icons/PettyCashBudgetIcon/PettyCashBudgetIcon.js';
261
297
  import '../Icons/PhoneCallIcon/PhoneCallIcon.js';
262
298
  import '../Icons/PhoneForwardedIcon/PhoneForwardedIcon.js';
@@ -274,6 +310,7 @@ import '../Icons/PlusCircleIcon/PlusCircleIcon.js';
274
310
  import '../Icons/PlusIcon/PlusIcon.js';
275
311
  import '../Icons/PlusSquareIcon/PlusSquareIcon.js';
276
312
  import '../Icons/PocketIcon/PocketIcon.js';
313
+ import '../Icons/PosFilledIcon/PosFilledIcon.js';
277
314
  import '../Icons/PosIcon/PosIcon.js';
278
315
  import '../Icons/PowerIcon/PowerIcon.js';
279
316
  import '../Icons/PrinterIcon/PrinterIcon.js';
@@ -283,6 +320,7 @@ import '../Icons/RadioIcon/RadioIcon.js';
283
320
  import '../Icons/RayIcon/RayIcon.js';
284
321
  import '../Icons/RazorpayIcon/RazorpayIcon.js';
285
322
  import '../Icons/RazorpayXIcon/RazorpayXIcon.js';
323
+ import '../Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js';
286
324
  import '../Icons/RazorpayxPayrollIcon/RazorpayxPayrollIcon.js';
287
325
  import '../Icons/RefreshIcon/RefreshIcon.js';
288
326
  import '../Icons/RepeatIcon/RepeatIcon.js';
@@ -291,10 +329,12 @@ import '../Icons/ResizerIcon/ResizerIcon.js';
291
329
  import '../Icons/RewindIcon/RewindIcon.js';
292
330
  import '../Icons/RotateClockWiseIcon/RotateClockWiseIcon.js';
293
331
  import '../Icons/RotateCounterClockWiseIcon/RotateCounterClockWiseIcon.js';
332
+ import '../Icons/RouteFilledIcon/RouteFilledIcon.js';
294
333
  import '../Icons/RouteIcon/RouteIcon.js';
295
334
  import '../Icons/RoutesIcon/RoutesIcon.js';
296
335
  import '../Icons/RupeeIcon/RupeeIcon.js';
297
336
  import '../Icons/RupeesIcon/RupeesIcon.js';
337
+ import '../Icons/SaasFilledIcon/SaasFilledIcon.js';
298
338
  import '../Icons/SaasIcon/SaasIcon.js';
299
339
  import '../Icons/SaveIcon/SaveIcon.js';
300
340
  import '../Icons/ScissorsIcon/ScissorsIcon.js';
@@ -320,10 +360,13 @@ import '../Icons/SkipForwardIcon/SkipForwardIcon.js';
320
360
  import '../Icons/SlackIcon/SlackIcon.js';
321
361
  import '../Icons/SlashIcon/SlashIcon.js';
322
362
  import '../Icons/SlidersIcon/SlidersIcon.js';
363
+ import '../Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js';
323
364
  import '../Icons/SmartCollectIcon/SmartCollectIcon.js';
324
365
  import '../Icons/SmartphoneIcon/SmartphoneIcon.js';
366
+ import '../Icons/SolutionsFilledIcon/SolutionsFilledIcon.js';
325
367
  import '../Icons/SolutionsIcon/SolutionsIcon.js';
326
368
  import '../Icons/SortIcon/SortIcon.js';
369
+ import '../Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js';
327
370
  import '../Icons/SourceToPayIcon/SourceToPayIcon.js';
328
371
  import '../Icons/SparklesIcon/SparklesIcon.js';
329
372
  import '../Icons/SpeakerIcon/SpeakerIcon.js';
@@ -332,6 +375,7 @@ import '../Icons/StampIcon/StampIcon.js';
332
375
  import '../Icons/StarIcon/StarIcon.js';
333
376
  import '../Icons/StopCircleIcon/StopCircleIcon.js';
334
377
  import '../Icons/StorefrontIcon/StorefrontIcon.js';
378
+ import '../Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js';
335
379
  import '../Icons/SubscriptionsIcon/SubscriptionsIcon.js';
336
380
  import '../Icons/SunIcon/SunIcon.js';
337
381
  import '../Icons/SunriseIcon/SunriseIcon.js';
@@ -339,6 +383,7 @@ import '../Icons/SunsetIcon/SunsetIcon.js';
339
383
  import '../Icons/TabletIcon/TabletIcon.js';
340
384
  import '../Icons/TagIcon/TagIcon.js';
341
385
  import '../Icons/TargetIcon/TargetIcon.js';
386
+ import '../Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js';
342
387
  import '../Icons/TaxPaymentsIcon/TaxPaymentsIcon.js';
343
388
  import '../Icons/TestIcon/TestIcon.js';
344
389
  import '../Icons/ThermometerIcon/ThermometerIcon.js';
@@ -347,6 +392,7 @@ import '../Icons/ThumbsUpIcon/ThumbsUpIcon.js';
347
392
  import '../Icons/TicketIcon/TicketIcon.js';
348
393
  import '../Icons/ToggleLeftIcon/ToggleLeftIcon.js';
349
394
  import '../Icons/ToggleRightIcon/ToggleRightIcon.js';
395
+ import '../Icons/TokenHqFilledIcon/TokenHqFilledIcon.js';
350
396
  import '../Icons/TokenHqIcon/TokenHqIcon.js';
351
397
  import '../Icons/TopLeftRoundedCornerIcon/TopLeftRoundedCornerIcon.js';
352
398
  import '../Icons/TopLeftSharpCornerIcon/TopLeftSharpCornerIcon.js';
@@ -364,6 +410,7 @@ import '../Icons/TypeIcon/TypeIcon.js';
364
410
  import '../Icons/UmbrellaIcon/UmbrellaIcon.js';
365
411
  import '../Icons/UnderlineIcon/UnderlineIcon.js';
366
412
  import '../Icons/UnlockIcon/UnlockIcon.js';
413
+ import '../Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js';
367
414
  import '../Icons/UpiAutopayIcon/UpiAutopayIcon.js';
368
415
  import '../Icons/UpiIcon/UpiIcon.js';
369
416
  import '../Icons/UploadCloudIcon/UploadCloudIcon.js';
@@ -374,15 +421,19 @@ import '../Icons/UserMinusIcon/UserMinusIcon.js';
374
421
  import '../Icons/UserPlusIcon/UserPlusIcon.js';
375
422
  import '../Icons/UserXIcon/UserXIcon.js';
376
423
  import '../Icons/UsersIcon/UsersIcon.js';
424
+ import '../Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js';
377
425
  import '../Icons/VendorPaymentsIcon/VendorPaymentsIcon.js';
378
426
  import '../Icons/VideoIcon/VideoIcon.js';
379
427
  import '../Icons/VideoOffIcon/VideoOffIcon.js';
428
+ import '../Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js';
380
429
  import '../Icons/ViewLiveDemoIcon/ViewLiveDemoIcon.js';
381
430
  import '../Icons/VoicemailIcon/VoicemailIcon.js';
382
431
  import '../Icons/VolumeHighIcon/VolumeHighIcon.js';
383
432
  import '../Icons/VolumeIcon/VolumeIcon.js';
384
433
  import '../Icons/VolumeLowIcon/VolumeLowIcon.js';
385
434
  import '../Icons/VolumeMuteIcon/VolumeMuteIcon.js';
435
+ import '../Icons/VolumeOffIcon/VolumeOffIcon.js';
436
+ import '../Icons/VolumeOnIcon/VolumeOnIcon.js';
386
437
  import '../Icons/WalletIcon/WalletIcon.js';
387
438
  import '../Icons/WatchIcon/WatchIcon.js';
388
439
  import '../Icons/WhatsAppIcon/WhatsAppIcon.js';
@@ -1 +1 @@
1
- {"version":3,"file":"BaseHeader.js","sources":["../../../../../src/components/BaseHeaderFooter/BaseHeader.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React from 'react';\nimport type { ReactDOMAttributes } from '@use-gesture/react/dist/declarations/src/types';\nimport { Divider } from '~components/Divider';\nimport type { DividerProps } from '~components/Divider';\nimport BaseBox from '~components/Box/BaseBox';\nimport { Heading, Text } from '~components/Typography';\nimport { IconButton } from '~components/Button/IconButton';\nimport { ChevronLeftIcon, CloseIcon } from '~components/Icons';\nimport type { DataAnalyticsAttribute, TestID } from '~utils/types';\nimport type { BoxProps } from '~components/Box';\nimport { Box } from '~components/Box';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\nimport { getComponentId } from '~utils/isValidAllowedChildren';\nimport { isReactNative, makeSize } from '~utils';\nimport { metaAttribute } from '~utils/metaAttribute';\nimport { logger, throwBladeError } from '~utils/logger';\nimport { size as sizeToken } from '~tokens/global';\nimport { makeAnalyticsAttribute } from '~utils/makeAnalyticsAttribute';\n\ntype BaseHeaderProps = {\n title?: string;\n subtitle?: string;\n /**\n * Leading part of the header placed at the left most side of the header\n */\n leading?: React.ReactNode;\n /**\n * Trailing part of the header placed at the right most side of the header\n */\n trailing?: React.ReactNode;\n /**\n * Placed adjacent to the title text\n */\n titleSuffix?: React.ReactNode;\n /**\n * @default true\n */\n showDivider?: boolean;\n /**\n * @default false\n */\n showBackButton?: boolean;\n\n /**\n * Slot for rendering any trailing interaction element into BaseHeader.\n *\n * E.g. Used in accordion to render CollapsibleChevronIcon\n */\n trailingInteractionElement?: React.ReactNode;\n\n /**\n * Decides size of the Header\n */\n size?: 'xlarge' | 'large' | 'medium';\n /**\n * @default true\n */\n showCloseButton?: boolean;\n\n /**\n * Disabled state of BaseHeader\n *\n * @default false\n */\n isDisabled?: boolean;\n\n paddingX?: BoxProps['paddingX'];\n marginY?: BoxProps['marginY'];\n marginTop?: BoxProps['marginTop'];\n marginBottom?: BoxProps['marginBottom'];\n alignItems?: BoxProps['alignItems'];\n dividerProps?: DividerProps;\n\n onCloseButtonClick?: () => void;\n onBackButtonClick?: () => void;\n closeButtonRef?: React.MutableRefObject<any>;\n backButtonRef?: React.MutableRefObject<any>;\n metaComponentName?: string;\n /**\n * inner child of BottomSheetHeader. Meant to be used for AutoComplete only\n */\n children?: React.ReactElement | React.ReactElement[];\n /**\n * Background image of the header\n *\n * You can use this for adding gradients.\n */\n backgroundImage?: BoxProps['backgroundImage'];\n /**\n * So we add a wrapper with custom styles in elements like leading, trailing interaction elements and trailing.\n * this props allows you to control that.\n *\n * For example, in Accordion, we add a wrapper with flex to center the icon (in some cases)\n *\n * @default false\n */\n shouldAlignLeadingAndTrailingElementsToCenter?: boolean;\n} & Pick<\n ReactDOMAttributes,\n | 'onClickCapture'\n | 'onKeyDown'\n | 'onKeyUp'\n | 'onLostPointerCapture'\n | 'onPointerCancel'\n | 'onPointerDown'\n | 'onPointerMove'\n | 'onPointerUp'\n> &\n TestID &\n DataAnalyticsAttribute;\n\ntype TrailingComponents = 'Button' | 'Badge' | 'Link' | 'Text' | 'Amount';\n\nconst commonCenterBoxProps: BoxProps = {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n};\n\nconst centerBoxProps: { xlarge: BoxProps; large: BoxProps; medium: BoxProps } = {\n xlarge: {\n ...commonCenterBoxProps,\n height: '28px',\n },\n large: {\n ...commonCenterBoxProps,\n // We want to align title, icon, titleSuffix, trailing, closeButton to baseline\n // But we also want to keep them center aligned to each other\n // So we add a virtual Box around these slots with 28px and center align them to that box\n // We have done similar thing in figma as well (which is where this 28px comes from)\n height: '28px',\n },\n medium: {\n ...commonCenterBoxProps,\n height: '20px',\n },\n};\n\nconst absolutePositionedButton = {\n position: 'absolute',\n top: 'spacing.0',\n right: 'spacing.0',\n} as const;\n\nconst sizeTokensMapping = {\n xlarge: {\n title: 'small',\n type: 'heading',\n },\n large: {\n title: 'large',\n type: 'text',\n },\n medium: {\n title: 'medium',\n type: 'text',\n },\n} as const;\n\n// prop restriction map for corresponding sub components\nconst propRestrictionMap = {\n large: {\n Button: {\n size: 'xsmall',\n variant: 'tertiary',\n },\n IconButton: {\n size: 'large',\n },\n Badge: {\n size: 'medium',\n },\n Link: {\n size: 'medium',\n },\n Text: {\n size: 'medium',\n variant: 'body',\n },\n Amount: {\n type: 'body',\n size: 'medium',\n },\n },\n xlarge: {\n Button: {\n size: 'xsmall',\n variant: 'tertiary',\n },\n IconButton: {\n size: 'large',\n },\n Badge: {\n size: 'medium',\n },\n Link: {\n size: 'medium',\n },\n Text: {\n size: 'medium',\n variant: 'body',\n },\n Amount: {\n type: 'body',\n size: 'medium',\n },\n },\n medium: {\n Button: {\n size: 'xsmall',\n variant: 'tertiary',\n },\n IconButton: {\n size: 'large',\n },\n Badge: {\n size: 'small',\n },\n Link: {\n size: 'small',\n },\n Text: {\n size: 'small',\n variant: 'body',\n },\n Amount: {\n type: 'body',\n size: 'small',\n },\n },\n} as const;\n\nconst useTrailingRestriction = ({\n trailing,\n size,\n}: {\n size: NonNullable<BaseHeaderProps['size']>;\n trailing: BaseHeaderProps['trailing'];\n}): React.ReactNode => {\n const [\n validatedTrailingComponent,\n setValidatedTrailingComponent,\n ] = React.useState<React.ReactElement | null>(null);\n\n // validate and restrict sub component props in trailing prop\n React.useEffect(() => {\n if (React.isValidElement(trailing)) {\n const trailingComponentType = getComponentId(trailing) as TrailingComponents;\n const restrictedProps = propRestrictionMap[size][trailingComponentType];\n\n const allowedComponents = Object.keys(propRestrictionMap[size]);\n if (__DEV__) {\n if (!restrictedProps) {\n throwBladeError({\n message: `Only one of \\`${allowedComponents.join(\n ', ',\n )}\\` component is accepted as trailing`,\n moduleName: 'Header',\n });\n }\n }\n\n const restrictedPropKeys = Object.keys(propRestrictionMap[size][trailingComponentType]);\n for (const prop of restrictedPropKeys) {\n if (trailing?.props?.hasOwnProperty(prop)) {\n logger({\n message: `Do not pass \"${prop}\" to \"${trailingComponentType}\" while inside Header trailing, because we override it.`,\n moduleName: 'Header',\n type: 'warn',\n });\n }\n }\n setValidatedTrailingComponent(\n React.cloneElement(trailing as React.ReactElement, restrictedProps),\n );\n }\n }, [trailing, size]);\n\n return validatedTrailingComponent;\n};\n\nconst _BaseHeader = ({\n title,\n subtitle,\n leading,\n titleSuffix,\n trailing,\n showDivider = true,\n showBackButton = false,\n showCloseButton = true,\n onBackButtonClick,\n onCloseButtonClick,\n closeButtonRef,\n backButtonRef,\n testID,\n onClickCapture,\n onKeyDown,\n onKeyUp,\n onLostPointerCapture,\n onPointerCancel,\n onPointerDown,\n onPointerMove,\n onPointerUp,\n metaComponentName,\n paddingX,\n marginY,\n marginBottom,\n marginTop,\n size = 'large',\n isDisabled,\n children,\n trailingInteractionElement,\n backgroundImage,\n alignItems = 'flex-start',\n dividerProps,\n shouldAlignLeadingAndTrailingElementsToCenter = false,\n ...rest\n}: BaseHeaderProps): React.ReactElement => {\n const validatedTrailingComponent = useTrailingRestriction({ trailing, size });\n const shouldWrapTitle = titleSuffix && trailing && showBackButton && showCloseButton;\n const hasOnlyChildren = children && !(title || subtitle || titleSuffix || leading);\n\n const webOnlyEventHandlers: Record<string, any> = isReactNative()\n ? {}\n : {\n onClickCapture,\n onKeyDown,\n onKeyUp,\n onLostPointerCapture,\n onPointerCancel,\n onPointerDown,\n onPointerMove,\n onPointerUp,\n };\n\n const renderTrailingInteractionElementWithChildren = (): React.ReactNode => {\n if (trailingInteractionElement && children) {\n return (\n <Box\n alignSelf={shouldAlignLeadingAndTrailingElementsToCenter ? 'center' : 'flex-start'}\n {...centerBoxProps[size]}\n >\n {trailingInteractionElement}\n </Box>\n );\n }\n return null;\n };\n\n const renderTrailingInteractionElementWithoutChildren = (): React.ReactNode => {\n if (trailingInteractionElement && !children) {\n return (\n <Box\n {...centerBoxProps[size]}\n alignSelf={shouldAlignLeadingAndTrailingElementsToCenter ? 'center' : undefined}\n >\n {trailingInteractionElement}\n </Box>\n );\n }\n return null;\n };\n\n const renderLeadingElement = (): React.ReactNode => {\n if (Boolean(leading)) {\n return (\n <BaseBox\n marginRight=\"spacing.3\"\n {...centerBoxProps[size]}\n alignSelf={shouldAlignLeadingAndTrailingElementsToCenter ? 'center' : undefined}\n >\n {leading}\n </BaseBox>\n );\n }\n return null;\n };\n\n const renderTrailingElement = (): React.ReactNode => {\n if (shouldAlignLeadingAndTrailingElementsToCenter && validatedTrailingComponent) {\n return (\n <BaseBox marginRight=\"spacing.5\" display=\"flex\" alignItems=\"center\" justifyContent=\"center\">\n <Box {...centerBoxProps[size]}>{validatedTrailingComponent}</Box>\n </BaseBox>\n );\n }\n if (validatedTrailingComponent) {\n return (\n <BaseBox marginRight=\"spacing.5\">\n <Box {...centerBoxProps[size]}>{validatedTrailingComponent}</Box>\n </BaseBox>\n );\n }\n return null;\n };\n\n return (\n <BaseBox\n {...metaAttribute({ name: metaComponentName, testID })}\n {...makeAnalyticsAttribute(rest)}\n backgroundImage={backgroundImage}\n >\n <BaseBox\n marginY={marginY ?? { base: 'spacing.5', m: 'spacing.6' }}\n paddingX={paddingX ?? { base: 'spacing.5', m: 'spacing.6' }}\n marginTop={marginTop}\n marginBottom={marginBottom}\n touchAction=\"none\"\n {...webOnlyEventHandlers}\n >\n <BaseBox position=\"relative\" display=\"flex\" flexDirection=\"row\" userSelect=\"none\">\n {showBackButton ? (\n <BaseBox overflow=\"visible\" marginRight=\"spacing.5\">\n <Box {...centerBoxProps[size]}>\n <IconButton\n ref={backButtonRef}\n size=\"large\"\n icon={ChevronLeftIcon}\n onClick={() => onBackButtonClick?.()}\n accessibilityLabel=\"Back\"\n />\n </Box>\n </BaseBox>\n ) : null}\n {hasOnlyChildren ? null : (\n <BaseBox\n paddingRight=\"spacing.5\"\n marginRight=\"auto\"\n flex=\"auto\"\n display=\"flex\"\n flexDirection=\"row\"\n alignItems={alignItems}\n >\n {renderLeadingElement()}\n <BaseBox flex=\"auto\">\n <BaseBox\n // Explicitly setting maxWidth in React Native because text is not being wrapped properly when multiple fix width components are rendered in header\n // In web, flex containers seem to work a expected\n // @todo: resolve this if we figure out some better solution later\n maxWidth={isReactNative() && shouldWrapTitle ? '100px' : undefined}\n flexShrink={0}\n display=\"flex\"\n flexDirection=\"row\"\n >\n {title ? (\n sizeTokensMapping[size].type === 'heading' ? (\n <Heading\n as=\"h2\"\n marginTop={makeSize(sizeToken['1'])}\n size={sizeTokensMapping[size].title}\n weight=\"semibold\"\n color={\n isDisabled ? 'surface.text.gray.disabled' : 'surface.text.gray.normal'\n }\n wordBreak=\"break-word\"\n >\n {title}\n </Heading>\n ) : (\n <Text\n size={sizeTokensMapping[size].title}\n marginTop={makeSize(sizeToken['1'])}\n weight=\"semibold\"\n color={\n isDisabled ? 'surface.text.gray.disabled' : 'surface.text.gray.normal'\n }\n wordBreak=\"break-word\"\n >\n {title}\n </Text>\n )\n ) : null}\n {titleSuffix && (\n <BaseBox marginLeft=\"spacing.3\">\n <Box {...centerBoxProps[size]}>{titleSuffix}</Box>\n </BaseBox>\n )}\n </BaseBox>\n {subtitle ? (\n <Text\n variant=\"body\"\n size=\"small\"\n weight=\"regular\"\n color={isDisabled ? 'surface.text.gray.disabled' : 'surface.text.gray.muted'}\n >\n {subtitle}\n </Text>\n ) : null}\n </BaseBox>\n </BaseBox>\n )}\n {renderTrailingElement()}\n\n {showCloseButton ? (\n <Box {...(hasOnlyChildren ? absolutePositionedButton : centerBoxProps[size])}>\n <IconButton\n ref={closeButtonRef}\n size=\"large\"\n icon={CloseIcon}\n accessibilityLabel=\"Close\"\n onClick={() => onCloseButtonClick?.()}\n />\n </Box>\n ) : null}\n {renderTrailingInteractionElementWithoutChildren()}\n </BaseBox>\n <BaseBox\n display=\"flex\"\n width=\"100%\"\n flexDirection=\"row\"\n alignItems=\"center\"\n justifyContent=\"space-between\"\n >\n <Box width=\"100%\">{children}</Box>\n {renderTrailingInteractionElementWithChildren()}\n </BaseBox>\n </BaseBox>\n {showDivider ? <Divider {...dividerProps} /> : null}\n </BaseBox>\n );\n};\n\nconst BaseHeader = assignWithoutSideEffects(_BaseHeader, {\n componentId: 'BaseHeader',\n});\n\nexport type { BaseHeaderProps };\nexport { BaseHeader };\n"],"names":["commonCenterBoxProps","display","alignItems","justifyContent","centerBoxProps","xlarge","Object","assign","height","large","medium","absolutePositionedButton","position","top","right","sizeTokensMapping","title","type","propRestrictionMap","Button","size","variant","IconButton","Badge","Link","Text","Amount","useTrailingRestriction","_ref","trailing","_React$useState","React","useState","_React$useState2","_slicedToArray","validatedTrailingComponent","setValidatedTrailingComponent","useEffect","isValidElement","trailingComponentType","getComponentId","restrictedProps","allowedComponents","keys","__DEV__","throwBladeError","message","join","moduleName","restrictedPropKeys","prop","_trailing$props","props","hasOwnProperty","logger","cloneElement","_BaseHeader","_ref2","subtitle","leading","titleSuffix","_ref2$showDivider","showDivider","_ref2$showBackButton","showBackButton","_ref2$showCloseButton","showCloseButton","onBackButtonClick","onCloseButtonClick","closeButtonRef","backButtonRef","testID","onClickCapture","onKeyDown","onKeyUp","onLostPointerCapture","onPointerCancel","onPointerDown","onPointerMove","onPointerUp","metaComponentName","paddingX","marginY","marginBottom","marginTop","_ref2$size","isDisabled","children","trailingInteractionElement","backgroundImage","_ref2$alignItems","dividerProps","_ref2$shouldAlignLead","shouldAlignLeadingAndTrailingElementsToCenter","rest","_objectWithoutProperties","_excluded","shouldWrapTitle","hasOnlyChildren","webOnlyEventHandlers","isReactNative","renderTrailingInteractionElementWithChildren","_jsx","Box","alignSelf","renderTrailingInteractionElementWithoutChildren","undefined","renderLeadingElement","Boolean","BaseBox","marginRight","renderTrailingElement","_jsxs","metaAttribute","name","makeAnalyticsAttribute","base","m","touchAction","flexDirection","userSelect","overflow","ref","icon","ChevronLeftIcon","onClick","accessibilityLabel","paddingRight","flex","maxWidth","flexShrink","Heading","as","makeSize","sizeToken","weight","color","wordBreak","marginLeft","CloseIcon","width","Divider","BaseHeader","assignWithoutSideEffects","componentId"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;siBAkHA,IAAMA,oBAA8B,CAAG,CACrCC,OAAO,CAAE,MAAM,CACfC,UAAU,CAAE,QAAQ,CACpBC,cAAc,CAAE,QAClB,CAAC,CAED,IAAMC,cAAuE,CAAG,CAC9EC,MAAM,CAAAC,MAAA,CAAAC,MAAA,CACDP,EAAAA,CAAAA,oBAAoB,CACvBQ,CAAAA,MAAM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Ae,CACpBjD,IAAI,CAAC,OAAO,CACZuG,IAAI,CAAEgB,SAAU,CAChBb,kBAAkB,CAAC,OAAO,CAC1BD,OAAO,CAAE,SAAAA,SAAM,CAAA,OAAAzD,kBAAkB,EAAA,IAAA,CAAA,KAAA,CAAA,CAAlBA,kBAAkB,EAAI,CAAC,CAAA,CACvC,CAAC,CAAA,CACC,CAAC,CACJ,IAAI,CACPqC,+CAA+C,EAAE,CAC3C,CAAA,CAAC,CACVO,IAAA,CAACH,OAAO,CAAA,CACN5G,OAAO,CAAC,MAAM,CACd2I,KAAK,CAAC,MAAM,CACZrB,aAAa,CAAC,KAAK,CACnBrH,UAAU,CAAC,QAAQ,CACnBC,cAAc,CAAC,eAAe,CAAAoF,QAAA,CAAA,CAE9Be,GAAA,CAACC,GAAG,CAACqC,CAAAA,KAAK,CAAC,MAAM,CAAArD,QAAA,CAAEA,QAAQ,CAAM,CAAC,CACjCc,4CAA4C,EAAE,CACxC,CAAA,CAAC,CACH,CAAA,CAAA,CAAC,CACTvC,WAAW,CAAGwC,GAAA,CAACuC,OAAO,CAAAvI,MAAA,CAAAC,MAAA,IAAKoF,YAAY,CAAG,CAAC,CAAG,IAAI,CAAA,CAAA,CAC5C,CAAC,CAEd,CAAC,CAEK,IAAAmD,UAAU,CAAGC,wBAAwB,CAACvF,WAAW,CAAE,CACvDwF,WAAW,CAAE,YACf,CAAC;;;;"}
1
+ {"version":3,"file":"BaseHeader.js","sources":["../../../../../src/components/BaseHeaderFooter/BaseHeader.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React from 'react';\nimport type { ReactDOMAttributes } from '@use-gesture/react/dist/declarations/src/types';\nimport { Divider } from '~components/Divider';\nimport type { DividerProps } from '~components/Divider';\nimport BaseBox from '~components/Box/BaseBox';\nimport { Heading, Text } from '~components/Typography';\nimport { IconButton } from '~components/Button/IconButton';\nimport { ChevronLeftIcon, CloseIcon } from '~components/Icons';\nimport type { DataAnalyticsAttribute, TestID } from '~utils/types';\nimport type { BoxProps } from '~components/Box';\nimport { Box } from '~components/Box';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\nimport { getComponentId } from '~utils/isValidAllowedChildren';\nimport { isReactNative, makeSize } from '~utils';\nimport { metaAttribute } from '~utils/metaAttribute';\nimport { logger, throwBladeError } from '~utils/logger';\nimport { size as sizeToken } from '~tokens/global';\nimport { makeAnalyticsAttribute } from '~utils/makeAnalyticsAttribute';\n\ntype BaseHeaderProps = {\n title?: string;\n subtitle?: string;\n /**\n * Leading part of the header placed at the left most side of the header\n */\n leading?: React.ReactNode;\n /**\n * Trailing part of the header placed at the right most side of the header\n */\n trailing?: React.ReactNode;\n /**\n * Placed adjacent to the title text\n */\n titleSuffix?: React.ReactNode;\n /**\n * @default true\n */\n showDivider?: boolean;\n /**\n * @default false\n */\n showBackButton?: boolean;\n\n /**\n * Slot for rendering any trailing interaction element into BaseHeader.\n *\n * E.g. Used in accordion to render CollapsibleChevronIcon\n */\n trailingInteractionElement?: React.ReactNode;\n\n /**\n * Decides size of the Header\n */\n size?: 'xlarge' | 'large' | 'medium';\n /**\n * @default true\n */\n showCloseButton?: boolean;\n\n /**\n * Disabled state of BaseHeader\n *\n * @default false\n */\n isDisabled?: boolean;\n\n paddingX?: BoxProps['paddingX'];\n marginY?: BoxProps['marginY'];\n marginTop?: BoxProps['marginTop'];\n marginBottom?: BoxProps['marginBottom'];\n alignItems?: BoxProps['alignItems'];\n dividerProps?: DividerProps;\n\n onCloseButtonClick?: () => void;\n onBackButtonClick?: () => void;\n closeButtonRef?: React.MutableRefObject<any>;\n backButtonRef?: React.MutableRefObject<any>;\n metaComponentName?: string;\n /**\n * inner child of BottomSheetHeader. Meant to be used for AutoComplete only\n */\n children?: React.ReactElement | React.ReactElement[];\n /**\n * Background image of the header\n *\n * You can use this for adding gradients.\n */\n backgroundImage?: BoxProps['backgroundImage'];\n /**\n * So we add a wrapper with custom styles in elements like leading, trailing interaction elements and trailing.\n * this props allows you to control that.\n *\n * For example, in Accordion, we add a wrapper with flex to center the icon (in some cases)\n *\n * @default false\n */\n shouldAlignLeadingAndTrailingElementsToCenter?: boolean;\n} & Pick<\n ReactDOMAttributes,\n | 'onClickCapture'\n | 'onKeyDown'\n | 'onKeyUp'\n | 'onLostPointerCapture'\n | 'onPointerCancel'\n | 'onPointerDown'\n | 'onPointerMove'\n | 'onPointerUp'\n> &\n TestID &\n DataAnalyticsAttribute;\n\ntype TrailingComponents = 'Button' | 'Badge' | 'Link' | 'Text' | 'Amount';\n\nconst commonCenterBoxProps: BoxProps = {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n};\n\nconst centerBoxProps: { xlarge: BoxProps; large: BoxProps; medium: BoxProps } = {\n xlarge: {\n ...commonCenterBoxProps,\n height: '28px',\n },\n large: {\n ...commonCenterBoxProps,\n // We want to align title, icon, titleSuffix, trailing, closeButton to baseline\n // But we also want to keep them center aligned to each other\n // So we add a virtual Box around these slots with 28px and center align them to that box\n // We have done similar thing in figma as well (which is where this 28px comes from)\n height: '28px',\n },\n medium: {\n ...commonCenterBoxProps,\n height: '20px',\n },\n};\n\nconst absolutePositionedButton = {\n position: 'absolute',\n top: 'spacing.0',\n right: 'spacing.0',\n} as const;\n\nconst sizeTokensMapping = {\n xlarge: {\n title: 'small',\n type: 'heading',\n },\n large: {\n title: 'large',\n type: 'text',\n },\n medium: {\n title: 'medium',\n type: 'text',\n },\n} as const;\n\n// prop restriction map for corresponding sub components\nconst propRestrictionMap = {\n large: {\n Button: {\n size: 'xsmall',\n variant: 'tertiary',\n },\n IconButton: {\n size: 'large',\n },\n Badge: {\n size: 'medium',\n },\n Link: {\n size: 'medium',\n },\n Text: {\n size: 'medium',\n variant: 'body',\n },\n Amount: {\n type: 'body',\n size: 'medium',\n },\n },\n xlarge: {\n Button: {\n size: 'xsmall',\n variant: 'tertiary',\n },\n IconButton: {\n size: 'large',\n },\n Badge: {\n size: 'medium',\n },\n Link: {\n size: 'medium',\n },\n Text: {\n size: 'medium',\n variant: 'body',\n },\n Amount: {\n type: 'body',\n size: 'medium',\n },\n },\n medium: {\n Button: {\n size: 'xsmall',\n variant: 'tertiary',\n },\n IconButton: {\n size: 'large',\n },\n Badge: {\n size: 'small',\n },\n Link: {\n size: 'small',\n },\n Text: {\n size: 'small',\n variant: 'body',\n },\n Amount: {\n type: 'body',\n size: 'small',\n },\n },\n} as const;\n\nconst useTrailingRestriction = ({\n trailing,\n size,\n}: {\n size: NonNullable<BaseHeaderProps['size']>;\n trailing: BaseHeaderProps['trailing'];\n}): React.ReactNode => {\n const [\n validatedTrailingComponent,\n setValidatedTrailingComponent,\n ] = React.useState<React.ReactElement | null>(null);\n\n // validate and restrict sub component props in trailing prop\n React.useEffect(() => {\n if (React.isValidElement(trailing)) {\n const trailingComponentType = getComponentId(trailing) as TrailingComponents;\n const restrictedProps = propRestrictionMap[size][trailingComponentType];\n\n const allowedComponents = Object.keys(propRestrictionMap[size]);\n if (__DEV__) {\n if (!restrictedProps) {\n throwBladeError({\n message: `Only one of \\`${allowedComponents.join(\n ', ',\n )}\\` component is accepted as trailing`,\n moduleName: 'Header',\n });\n }\n }\n\n const restrictedPropKeys = Object.keys(propRestrictionMap[size][trailingComponentType]);\n for (const prop of restrictedPropKeys) {\n if (trailing?.props?.hasOwnProperty(prop)) {\n logger({\n message: `Do not pass \"${prop}\" to \"${trailingComponentType}\" while inside Header trailing, because we override it.`,\n moduleName: 'Header',\n type: 'warn',\n });\n }\n }\n setValidatedTrailingComponent(\n React.cloneElement(trailing as React.ReactElement, restrictedProps),\n );\n }\n }, [trailing, size]);\n\n return validatedTrailingComponent;\n};\n\nconst _BaseHeader = ({\n title,\n subtitle,\n leading,\n titleSuffix,\n trailing,\n showDivider = true,\n showBackButton = false,\n showCloseButton = true,\n onBackButtonClick,\n onCloseButtonClick,\n closeButtonRef,\n backButtonRef,\n testID,\n onClickCapture,\n onKeyDown,\n onKeyUp,\n onLostPointerCapture,\n onPointerCancel,\n onPointerDown,\n onPointerMove,\n onPointerUp,\n metaComponentName,\n paddingX,\n marginY,\n marginBottom,\n marginTop,\n size = 'large',\n isDisabled,\n children,\n trailingInteractionElement,\n backgroundImage,\n alignItems = 'flex-start',\n dividerProps,\n shouldAlignLeadingAndTrailingElementsToCenter = false,\n ...rest\n}: BaseHeaderProps): React.ReactElement => {\n const validatedTrailingComponent = useTrailingRestriction({ trailing, size });\n const shouldWrapTitle = titleSuffix && trailing && showBackButton && showCloseButton;\n const hasOnlyChildren = children && !(title || subtitle || titleSuffix || leading);\n\n const webOnlyEventHandlers: Record<string, any> = isReactNative()\n ? {}\n : {\n onClickCapture,\n onKeyDown,\n onKeyUp,\n onLostPointerCapture,\n onPointerCancel,\n onPointerDown,\n onPointerMove,\n onPointerUp,\n };\n\n const renderTrailingInteractionElementWithChildren = (): React.ReactNode => {\n if (trailingInteractionElement && children) {\n return (\n <Box\n alignSelf={shouldAlignLeadingAndTrailingElementsToCenter ? 'center' : 'flex-start'}\n {...centerBoxProps[size]}\n >\n {trailingInteractionElement}\n </Box>\n );\n }\n return null;\n };\n\n const renderTrailingInteractionElementWithoutChildren = (): React.ReactNode => {\n if (trailingInteractionElement && !children) {\n return (\n <Box\n {...centerBoxProps[size]}\n alignSelf={shouldAlignLeadingAndTrailingElementsToCenter ? 'center' : undefined}\n >\n {trailingInteractionElement}\n </Box>\n );\n }\n return null;\n };\n\n const renderLeadingElement = (): React.ReactNode => {\n if (Boolean(leading)) {\n return (\n <BaseBox\n marginRight=\"spacing.3\"\n {...centerBoxProps[size]}\n alignSelf={shouldAlignLeadingAndTrailingElementsToCenter ? 'center' : undefined}\n >\n {leading}\n </BaseBox>\n );\n }\n return null;\n };\n\n const renderTrailingElement = (): React.ReactNode => {\n if (shouldAlignLeadingAndTrailingElementsToCenter && validatedTrailingComponent) {\n return (\n <BaseBox marginRight=\"spacing.5\" display=\"flex\" alignItems=\"center\" justifyContent=\"center\">\n <Box {...centerBoxProps[size]}>{validatedTrailingComponent}</Box>\n </BaseBox>\n );\n }\n if (validatedTrailingComponent) {\n return (\n <BaseBox marginRight=\"spacing.5\">\n <Box {...centerBoxProps[size]}>{validatedTrailingComponent}</Box>\n </BaseBox>\n );\n }\n return null;\n };\n\n return (\n <BaseBox\n {...metaAttribute({ name: metaComponentName, testID })}\n {...makeAnalyticsAttribute(rest)}\n backgroundImage={backgroundImage}\n >\n <BaseBox\n marginY={marginY ?? { base: 'spacing.5', m: 'spacing.6' }}\n paddingX={paddingX ?? { base: 'spacing.5', m: 'spacing.6' }}\n marginTop={marginTop}\n marginBottom={marginBottom}\n touchAction=\"none\"\n {...webOnlyEventHandlers}\n >\n <BaseBox position=\"relative\" display=\"flex\" flexDirection=\"row\" userSelect=\"none\">\n {showBackButton ? (\n <BaseBox overflow=\"visible\" marginRight=\"spacing.5\">\n <Box {...centerBoxProps[size]}>\n <IconButton\n ref={backButtonRef}\n size=\"large\"\n icon={ChevronLeftIcon}\n onClick={() => onBackButtonClick?.()}\n accessibilityLabel=\"Back\"\n />\n </Box>\n </BaseBox>\n ) : null}\n {hasOnlyChildren ? null : (\n <BaseBox\n paddingRight=\"spacing.5\"\n marginRight=\"auto\"\n flex=\"auto\"\n display=\"flex\"\n flexDirection=\"row\"\n alignItems={alignItems}\n >\n {renderLeadingElement()}\n <BaseBox flex=\"auto\">\n <BaseBox\n // Explicitly setting maxWidth in React Native because text is not being wrapped properly when multiple fix width components are rendered in header\n // In web, flex containers seem to work a expected\n // @todo: resolve this if we figure out some better solution later\n maxWidth={isReactNative() && shouldWrapTitle ? '100px' : undefined}\n flexShrink={0}\n display=\"flex\"\n flexDirection=\"row\"\n >\n {title ? (\n sizeTokensMapping[size].type === 'heading' ? (\n <Heading\n as=\"h2\"\n marginTop={makeSize(sizeToken['1'])}\n size={sizeTokensMapping[size].title}\n weight=\"semibold\"\n color={\n isDisabled ? 'surface.text.gray.disabled' : 'surface.text.gray.normal'\n }\n wordBreak=\"break-word\"\n >\n {title}\n </Heading>\n ) : (\n <Text\n size={sizeTokensMapping[size].title}\n marginTop={makeSize(sizeToken['1'])}\n weight=\"semibold\"\n color={\n isDisabled ? 'surface.text.gray.disabled' : 'surface.text.gray.normal'\n }\n wordBreak=\"break-word\"\n >\n {title}\n </Text>\n )\n ) : null}\n {titleSuffix && (\n <BaseBox marginLeft=\"spacing.3\">\n <Box {...centerBoxProps[size]}>{titleSuffix}</Box>\n </BaseBox>\n )}\n </BaseBox>\n {subtitle ? (\n <Text\n variant=\"body\"\n size=\"small\"\n weight=\"regular\"\n color={isDisabled ? 'surface.text.gray.disabled' : 'surface.text.gray.muted'}\n >\n {subtitle}\n </Text>\n ) : null}\n </BaseBox>\n </BaseBox>\n )}\n {renderTrailingElement()}\n\n {showCloseButton ? (\n <Box {...(hasOnlyChildren ? absolutePositionedButton : centerBoxProps[size])}>\n <IconButton\n ref={closeButtonRef}\n size=\"large\"\n icon={CloseIcon}\n accessibilityLabel=\"Close\"\n onClick={() => onCloseButtonClick?.()}\n />\n </Box>\n ) : null}\n {renderTrailingInteractionElementWithoutChildren()}\n </BaseBox>\n <BaseBox\n display=\"flex\"\n width=\"100%\"\n flexDirection=\"row\"\n alignItems=\"center\"\n justifyContent=\"space-between\"\n >\n <Box width=\"100%\">{children}</Box>\n {renderTrailingInteractionElementWithChildren()}\n </BaseBox>\n </BaseBox>\n {showDivider ? <Divider {...dividerProps} /> : null}\n </BaseBox>\n );\n};\n\nconst BaseHeader = assignWithoutSideEffects(_BaseHeader, {\n componentId: 'BaseHeader',\n});\n\nexport type { BaseHeaderProps };\nexport { BaseHeader };\n"],"names":["commonCenterBoxProps","display","alignItems","justifyContent","centerBoxProps","xlarge","Object","assign","height","large","medium","absolutePositionedButton","position","top","right","sizeTokensMapping","title","type","propRestrictionMap","Button","size","variant","IconButton","Badge","Link","Text","Amount","useTrailingRestriction","_ref","trailing","_React$useState","React","useState","_React$useState2","_slicedToArray","validatedTrailingComponent","setValidatedTrailingComponent","useEffect","isValidElement","trailingComponentType","getComponentId","restrictedProps","allowedComponents","keys","__DEV__","throwBladeError","message","join","moduleName","restrictedPropKeys","prop","_trailing$props","props","hasOwnProperty","logger","cloneElement","_BaseHeader","_ref2","subtitle","leading","titleSuffix","_ref2$showDivider","showDivider","_ref2$showBackButton","showBackButton","_ref2$showCloseButton","showCloseButton","onBackButtonClick","onCloseButtonClick","closeButtonRef","backButtonRef","testID","onClickCapture","onKeyDown","onKeyUp","onLostPointerCapture","onPointerCancel","onPointerDown","onPointerMove","onPointerUp","metaComponentName","paddingX","marginY","marginBottom","marginTop","_ref2$size","isDisabled","children","trailingInteractionElement","backgroundImage","_ref2$alignItems","dividerProps","_ref2$shouldAlignLead","shouldAlignLeadingAndTrailingElementsToCenter","rest","_objectWithoutProperties","_excluded","shouldWrapTitle","hasOnlyChildren","webOnlyEventHandlers","isReactNative","renderTrailingInteractionElementWithChildren","_jsx","Box","alignSelf","renderTrailingInteractionElementWithoutChildren","undefined","renderLeadingElement","Boolean","BaseBox","marginRight","renderTrailingElement","_jsxs","metaAttribute","name","makeAnalyticsAttribute","base","m","touchAction","flexDirection","userSelect","overflow","ref","icon","ChevronLeftIcon","onClick","accessibilityLabel","paddingRight","flex","maxWidth","flexShrink","Heading","as","makeSize","sizeToken","weight","color","wordBreak","marginLeft","CloseIcon","width","Divider","BaseHeader","assignWithoutSideEffects","componentId"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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