@razorpay/blade 12.47.1 → 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.
- package/build/lib/native/components/ActionList/ActionListItem.js +51 -0
- package/build/lib/native/components/ActionList/ActionListItem.js.map +1 -1
- package/build/lib/native/components/ActionList/ActionListNoResults.js +51 -0
- package/build/lib/native/components/ActionList/ActionListNoResults.js.map +1 -1
- package/build/lib/native/components/Alert/Alert.js +51 -0
- package/build/lib/native/components/Alert/Alert.js.map +1 -1
- package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js +51 -0
- package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
- package/build/lib/native/components/BottomSheet/BottomSheetCommon.js +51 -0
- package/build/lib/native/components/BottomSheet/BottomSheetCommon.js.map +1 -1
- package/build/lib/native/components/Carousel/NavigationButton/NavigationButton.js +51 -0
- package/build/lib/native/components/Carousel/NavigationButton/NavigationButton.js.map +1 -1
- package/build/lib/native/components/Collapsible/CollapsibleChevronIcon.native.js +51 -0
- package/build/lib/native/components/Collapsible/CollapsibleChevronIcon.native.js.map +1 -1
- package/build/lib/native/components/Form/FormHint.js +51 -0
- package/build/lib/native/components/Form/FormHint.js.map +1 -1
- package/build/lib/native/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/EducationFilledIcon/EducationFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/EducationFilledIcon/EducationFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/EngageFilledIcon/EngageFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/EngageFilledIcon/EngageFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/MoreFilledIcon/MoreFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/MoreFilledIcon/MoreFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/PosFilledIcon/PosFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/PosFilledIcon/PosFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/RouteFilledIcon/RouteFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/RouteFilledIcon/RouteFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/SaasFilledIcon/SaasFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/SaasFilledIcon/SaasFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js +13 -0
- package/build/lib/native/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js.map +1 -0
- package/build/lib/native/components/Icons/VolumeOffIcon/VolumeOffIcon.js +13 -0
- package/build/lib/native/components/Icons/VolumeOffIcon/VolumeOffIcon.js.map +1 -0
- package/build/lib/native/components/Icons/VolumeOnIcon/VolumeOnIcon.js +13 -0
- package/build/lib/native/components/Icons/VolumeOnIcon/VolumeOnIcon.js.map +1 -0
- package/build/lib/native/components/Input/DropdownInputTriggers/Chevron.js +51 -0
- package/build/lib/native/components/Input/DropdownInputTriggers/Chevron.js.map +1 -1
- package/build/lib/native/components/Input/PasswordInput/PasswordInput.js +51 -0
- package/build/lib/native/components/Input/PasswordInput/PasswordInput.js.map +1 -1
- package/build/lib/native/components/Input/SearchInput/SearchInput.js +51 -0
- package/build/lib/native/components/Input/SearchInput/SearchInput.js.map +1 -1
- package/build/lib/native/components/Input/TextArea/TextArea.js +51 -0
- package/build/lib/native/components/Input/TextArea/TextArea.js.map +1 -1
- package/build/lib/native/components/Input/TextInput/TextInput.js +52 -1
- package/build/lib/native/components/Input/TextInput/TextInput.js.map +1 -1
- package/build/lib/native/components/Input/TextInput/useFormattedInput.js +1 -1
- package/build/lib/native/components/Input/TextInput/useFormattedInput.js.map +1 -1
- package/build/lib/native/components/Popover/PopoverCloseButton.js +51 -0
- package/build/lib/native/components/Popover/PopoverCloseButton.js.map +1 -1
- package/build/lib/native/components/QuickFilters/QuickFilter.js +51 -0
- package/build/lib/native/components/QuickFilters/QuickFilter.js.map +1 -1
- package/build/lib/native/components/Table/tokens.js +51 -0
- package/build/lib/native/components/Table/tokens.js.map +1 -1
- package/build/lib/native/components/Tag/Tag.js +51 -0
- package/build/lib/native/components/Tag/Tag.js.map +1 -1
- package/build/lib/native/components/index.js +51 -0
- package/build/lib/native/components/index.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/BaseDatePicker.web.js +162 -113
- package/build/lib/web/development/components/DatePicker/BaseDatePicker.web.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/CalendarFooter.web.js +1 -1
- package/build/lib/web/development/components/DatePicker/CalendarFooter.web.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/DateInput.web.js +202 -147
- package/build/lib/web/development/components/DatePicker/DateInput.web.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/QuickSelection/PresetContext.js +122 -0
- package/build/lib/web/development/components/DatePicker/QuickSelection/PresetContext.js.map +1 -0
- package/build/lib/web/development/components/DatePicker/QuickSelection/PresetDropdown.web.js +46 -0
- package/build/lib/web/development/components/DatePicker/QuickSelection/PresetDropdown.web.js.map +1 -0
- package/build/lib/web/development/components/DatePicker/QuickSelection/PresetSideBar.web.js +19 -19
- package/build/lib/web/development/components/DatePicker/QuickSelection/PresetSideBar.web.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/QuickSelection/utils.js +9 -0
- package/build/lib/web/development/components/DatePicker/QuickSelection/utils.js.map +1 -0
- package/build/lib/web/development/components/DatePicker/usePopup.js +10 -2
- package/build/lib/web/development/components/DatePicker/usePopup.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/utils.js +419 -1
- package/build/lib/web/development/components/DatePicker/utils.js.map +1 -1
- package/build/lib/web/development/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js +50 -0
- package/build/lib/web/development/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/AcceptPaymentsFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/AcceptPaymentsFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js +47 -0
- package/build/lib/web/development/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/AffordabilityFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/AffordabilityFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js +47 -0
- package/build/lib/web/development/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/AutomatePayrollFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/AutomatePayrollFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/BankAccountVerificationFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/BankAccountVerificationFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/BfsiFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/BfsiFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/BillMeFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/BillMeFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js +49 -0
- package/build/lib/web/development/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/BulkPayoutsFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/BulkPayoutsFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js +50 -0
- package/build/lib/web/development/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/BusinessSpendManagementFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/BusinessSpendManagementFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js +56 -0
- package/build/lib/web/development/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/CompanyRegistrationFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/CompanyRegistrationFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js +47 -0
- package/build/lib/web/development/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/CreditsAndLoansFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/CreditsAndLoansFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/CurrentAccountFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/CurrentAccountFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js +64 -0
- package/build/lib/web/development/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/DigitalLendingFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/DigitalLendingFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js +50 -0
- package/build/lib/web/development/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/DisbursePaymentsFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/DisbursePaymentsFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/EcommerceFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/EcommerceFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/EducationFilledIcon/EducationFilledIcon.js +47 -0
- package/build/lib/web/development/components/Icons/EducationFilledIcon/EducationFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/EducationFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/EducationFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/EngageFilledIcon/EngageFilledIcon.js +47 -0
- package/build/lib/web/development/components/Icons/EngageFilledIcon/EngageFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/EngageFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/EngageFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js +47 -0
- package/build/lib/web/development/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/EscrowAccountFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/EscrowAccountFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js +56 -0
- package/build/lib/web/development/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/ForexManagementFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/ForexManagementFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/FreelanceFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/FreelanceFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/InstantSettlementFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/InstantSettlementFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js +57 -0
- package/build/lib/web/development/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/InternationalPaymentsFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/InternationalPaymentsFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js +49 -0
- package/build/lib/web/development/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/InvoicesFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/InvoicesFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js +49 -0
- package/build/lib/web/development/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/LoansForBusinessesFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/LoansForBusinessesFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/MagicCheckoutFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/MagicCheckoutFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/MagicKonnectFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/MagicKonnectFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/MobileAppFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/MobileAppFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/MoreFilledIcon/MoreFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/MoreFilledIcon/MoreFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/MoreFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/MoreFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/OptimizerFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/OptimizerFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/PaymentButtonFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/PaymentButtonFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js +48 -0
- package/build/lib/web/development/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/PaymentGatewayFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/PaymentGatewayFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js +56 -0
- package/build/lib/web/development/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/PaymentLinkFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/PaymentLinkFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js +50 -0
- package/build/lib/web/development/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/PaymentPagesFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/PaymentPagesFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js +45 -0
- package/build/lib/web/development/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/PayrollAddonsFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/PayrollAddonsFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js +48 -0
- package/build/lib/web/development/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/PayrollForCaFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/PayrollForCaFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js +47 -0
- package/build/lib/web/development/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/PayrollForStartupOrSmeFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/PayrollForStartupOrSmeFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js +53 -0
- package/build/lib/web/development/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/PettyCashBudgetFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/PettyCashBudgetFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/PosFilledIcon/PosFilledIcon.js +50 -0
- package/build/lib/web/development/components/Icons/PosFilledIcon/PosFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/PosFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/PosFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js +47 -0
- package/build/lib/web/development/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/RazorpayxPayrollFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/RazorpayxPayrollFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/RouteFilledIcon/RouteFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/RouteFilledIcon/RouteFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/RouteFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/RouteFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/SaasFilledIcon/SaasFilledIcon.js +42 -0
- package/build/lib/web/development/components/Icons/SaasFilledIcon/SaasFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/SaasFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/SaasFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js +53 -0
- package/build/lib/web/development/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/SmartCollectFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/SmartCollectFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js +44 -0
- package/build/lib/web/development/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/SolutionsFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/SolutionsFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js +60 -0
- package/build/lib/web/development/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/SourceToPayFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/SourceToPayFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js +64 -0
- package/build/lib/web/development/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/SubscriptionsFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/SubscriptionsFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js +50 -0
- package/build/lib/web/development/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/TaxPaymentsFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/TaxPaymentsFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js +53 -0
- package/build/lib/web/development/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/TokenHqFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/TokenHqFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js +64 -0
- package/build/lib/web/development/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/UpiAutopayFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/UpiAutopayFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js +52 -0
- package/build/lib/web/development/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/VendorPaymentsFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/VendorPaymentsFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js +47 -0
- package/build/lib/web/development/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/ViewLiveDemoFilledIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/ViewLiveDemoFilledIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/VolumeOffIcon/VolumeOffIcon.js +53 -0
- package/build/lib/web/development/components/Icons/VolumeOffIcon/VolumeOffIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/VolumeOffIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/VolumeOffIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/VolumeOnIcon/VolumeOnIcon.js +50 -0
- package/build/lib/web/development/components/Icons/VolumeOnIcon/VolumeOnIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/VolumeOnIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/VolumeOnIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/index.js +51 -0
- package/build/lib/web/development/components/Icons/index.js.map +1 -1
- package/build/lib/web/development/components/Input/TextInput/TextInput.js +3 -1
- package/build/lib/web/development/components/Input/TextInput/TextInput.js.map +1 -1
- package/build/lib/web/development/components/Input/TextInput/useFormattedInput.js +21 -0
- package/build/lib/web/development/components/Input/TextInput/useFormattedInput.js.map +1 -1
- package/build/lib/web/development/components/index.js +51 -0
- package/build/lib/web/development/components/index.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/BaseDatePicker.web.js +162 -113
- package/build/lib/web/production/components/DatePicker/BaseDatePicker.web.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/CalendarFooter.web.js +1 -1
- package/build/lib/web/production/components/DatePicker/CalendarFooter.web.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/DateInput.web.js +202 -147
- package/build/lib/web/production/components/DatePicker/DateInput.web.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/QuickSelection/PresetContext.js +122 -0
- package/build/lib/web/production/components/DatePicker/QuickSelection/PresetContext.js.map +1 -0
- package/build/lib/web/production/components/DatePicker/QuickSelection/PresetDropdown.web.js +46 -0
- package/build/lib/web/production/components/DatePicker/QuickSelection/PresetDropdown.web.js.map +1 -0
- package/build/lib/web/production/components/DatePicker/QuickSelection/PresetSideBar.web.js +19 -19
- package/build/lib/web/production/components/DatePicker/QuickSelection/PresetSideBar.web.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/QuickSelection/utils.js +9 -0
- package/build/lib/web/production/components/DatePicker/QuickSelection/utils.js.map +1 -0
- package/build/lib/web/production/components/DatePicker/usePopup.js +10 -2
- package/build/lib/web/production/components/DatePicker/usePopup.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/utils.js +419 -1
- package/build/lib/web/production/components/DatePicker/utils.js.map +1 -1
- package/build/lib/web/production/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js +50 -0
- package/build/lib/web/production/components/Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/AcceptPaymentsFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/AcceptPaymentsFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js +47 -0
- package/build/lib/web/production/components/Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/AffordabilityFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/AffordabilityFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js +47 -0
- package/build/lib/web/production/components/Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/AutomatePayrollFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/AutomatePayrollFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/BankAccountVerificationFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/BankAccountVerificationFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/BfsiFilledIcon/BfsiFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/BfsiFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/BfsiFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/BillMeFilledIcon/BillMeFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/BillMeFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/BillMeFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js +49 -0
- package/build/lib/web/production/components/Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/BulkPayoutsFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/BulkPayoutsFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js +50 -0
- package/build/lib/web/production/components/Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/BusinessSpendManagementFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/BusinessSpendManagementFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js +56 -0
- package/build/lib/web/production/components/Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/CompanyRegistrationFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/CompanyRegistrationFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js +47 -0
- package/build/lib/web/production/components/Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/CreditsAndLoansFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/CreditsAndLoansFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/CurrentAccountFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/CurrentAccountFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js +64 -0
- package/build/lib/web/production/components/Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/DigitalLendingFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/DigitalLendingFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js +50 -0
- package/build/lib/web/production/components/Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/DisbursePaymentsFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/DisbursePaymentsFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/EcommerceFilledIcon/EcommerceFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/EcommerceFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/EcommerceFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/EducationFilledIcon/EducationFilledIcon.js +47 -0
- package/build/lib/web/production/components/Icons/EducationFilledIcon/EducationFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/EducationFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/EducationFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/EngageFilledIcon/EngageFilledIcon.js +47 -0
- package/build/lib/web/production/components/Icons/EngageFilledIcon/EngageFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/EngageFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/EngageFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js +47 -0
- package/build/lib/web/production/components/Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/EscrowAccountFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/EscrowAccountFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js +56 -0
- package/build/lib/web/production/components/Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/ForexManagementFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/ForexManagementFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/FreelanceFilledIcon/FreelanceFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/FreelanceFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/FreelanceFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/InstantSettlementFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/InstantSettlementFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js +57 -0
- package/build/lib/web/production/components/Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/InternationalPaymentsFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/InternationalPaymentsFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js +49 -0
- package/build/lib/web/production/components/Icons/InvoicesFilledIcon/InvoicesFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/InvoicesFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/InvoicesFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js +49 -0
- package/build/lib/web/production/components/Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/LoansForBusinessesFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/LoansForBusinessesFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/MagicCheckoutFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/MagicCheckoutFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/MagicKonnectFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/MagicKonnectFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/MobileAppFilledIcon/MobileAppFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/MobileAppFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/MobileAppFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/MoreFilledIcon/MoreFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/MoreFilledIcon/MoreFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/MoreFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/MoreFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/OptimizerFilledIcon/OptimizerFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/OptimizerFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/OptimizerFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/PaymentButtonFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/PaymentButtonFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js +48 -0
- package/build/lib/web/production/components/Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/PaymentGatewayFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/PaymentGatewayFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js +56 -0
- package/build/lib/web/production/components/Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/PaymentLinkFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/PaymentLinkFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js +50 -0
- package/build/lib/web/production/components/Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/PaymentPagesFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/PaymentPagesFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js +45 -0
- package/build/lib/web/production/components/Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/PayrollAddonsFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/PayrollAddonsFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js +48 -0
- package/build/lib/web/production/components/Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/PayrollForCaFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/PayrollForCaFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js +47 -0
- package/build/lib/web/production/components/Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/PayrollForStartupOrSmeFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/PayrollForStartupOrSmeFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js +53 -0
- package/build/lib/web/production/components/Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/PettyCashBudgetFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/PettyCashBudgetFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/PosFilledIcon/PosFilledIcon.js +50 -0
- package/build/lib/web/production/components/Icons/PosFilledIcon/PosFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/PosFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/PosFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js +47 -0
- package/build/lib/web/production/components/Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/RazorpayxPayrollFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/RazorpayxPayrollFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/RouteFilledIcon/RouteFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/RouteFilledIcon/RouteFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/RouteFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/RouteFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/SaasFilledIcon/SaasFilledIcon.js +42 -0
- package/build/lib/web/production/components/Icons/SaasFilledIcon/SaasFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/SaasFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/SaasFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js +53 -0
- package/build/lib/web/production/components/Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/SmartCollectFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/SmartCollectFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js +44 -0
- package/build/lib/web/production/components/Icons/SolutionsFilledIcon/SolutionsFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/SolutionsFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/SolutionsFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js +60 -0
- package/build/lib/web/production/components/Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/SourceToPayFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/SourceToPayFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js +64 -0
- package/build/lib/web/production/components/Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/SubscriptionsFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/SubscriptionsFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js +50 -0
- package/build/lib/web/production/components/Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/TaxPaymentsFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/TaxPaymentsFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js +53 -0
- package/build/lib/web/production/components/Icons/TokenHqFilledIcon/TokenHqFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/TokenHqFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/TokenHqFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js +64 -0
- package/build/lib/web/production/components/Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/UpiAutopayFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/UpiAutopayFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js +52 -0
- package/build/lib/web/production/components/Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/VendorPaymentsFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/VendorPaymentsFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js +47 -0
- package/build/lib/web/production/components/Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/ViewLiveDemoFilledIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/ViewLiveDemoFilledIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/VolumeOffIcon/VolumeOffIcon.js +53 -0
- package/build/lib/web/production/components/Icons/VolumeOffIcon/VolumeOffIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/VolumeOffIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/VolumeOffIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/VolumeOnIcon/VolumeOnIcon.js +50 -0
- package/build/lib/web/production/components/Icons/VolumeOnIcon/VolumeOnIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/VolumeOnIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/VolumeOnIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/index.js +51 -0
- package/build/lib/web/production/components/Icons/index.js.map +1 -1
- package/build/lib/web/production/components/Input/TextInput/TextInput.js +3 -1
- package/build/lib/web/production/components/Input/TextInput/TextInput.js.map +1 -1
- package/build/lib/web/production/components/Input/TextInput/useFormattedInput.js +21 -0
- package/build/lib/web/production/components/Input/TextInput/useFormattedInput.js.map +1 -1
- package/build/lib/web/production/components/index.js +51 -0
- package/build/lib/web/production/components/index.js.map +1 -1
- package/build/types/components/index.d.ts +113 -6
- package/build/types/components/index.native.d.ts +113 -6
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.js","sources":["../../../../../../../src/components/Input/TextInput/TextInput.tsx"],"sourcesContent":["import React, { useEffect, useState, useRef } from 'react';\nimport type { ReactElement, ReactNode } from 'react';\nimport type { TextInput as TextInputReactNative } from 'react-native';\nimport type { BaseInputProps } from '../BaseInput';\nimport { BaseInput } from '../BaseInput';\nimport { getKeyboardAndAutocompleteProps } from '../BaseInput/utils';\nimport type { TaggedInputProps } from '../BaseInput/useTaggedInput';\nimport { useTaggedInput } from '../BaseInput/useTaggedInput';\nimport { useFormattedInput } from './useFormattedInput';\nimport isEmpty from '~utils/lodashButBetter/isEmpty';\nimport type { IconComponent } from '~components/Icons';\nimport { CloseIcon } from '~components/Icons';\nimport { IconButton } from '~components/Button/IconButton';\nimport type { StyledPropsBlade } from '~components/Box/styledProps';\nimport { MetaConstants } from '~utils/metaAttribute';\nimport { CharacterCounter } from '~components/Form/CharacterCounter';\nimport BaseBox from '~components/Box/BaseBox';\nimport { Spinner } from '~components/Spinner';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\nimport { getPlatformType } from '~utils';\nimport { useMergeRefs } from '~utils/useMergeRefs';\nimport type {\n BladeElementRef,\n BladeElementRefWithValue,\n ContainerElementType,\n DataAnalyticsAttribute,\n} from '~utils/types';\nimport { hintMarginTop } from '~components/Form/formTokens';\nimport { Divider } from '~components/Divider';\nimport { getComponentId } from '~utils/isValidAllowedChildren';\nimport { DropdownOverlay } from '~components/Dropdown';\nimport type { FormInputOnEvent } from '~components/Form/FormTypes';\nimport { isIconComponent } from '~utils/isIconComponent';\n\n// Users should use PasswordInput for input type password\ntype Type = Exclude<BaseInputProps['type'], 'password'>;\n\ntype TextInputCommonProps = Pick<\n BaseInputProps,\n | 'label'\n | 'accessibilityLabel'\n | 'labelPosition'\n | 'labelSuffix'\n | 'labelTrailing'\n | 'necessityIndicator'\n | 'validationState'\n | 'helpText'\n | 'errorText'\n | 'successText'\n | 'placeholder'\n | 'defaultValue'\n | 'name'\n | 'onChange'\n | 'onFocus'\n | 'onBlur'\n | 'value'\n | 'isDisabled'\n | 'isRequired'\n | 'prefix'\n | 'suffix'\n | 'maxCharacters'\n | 'autoFocus'\n | 'keyboardReturnKeyType'\n | 'autoCompleteSuggestionType'\n | 'onSubmit'\n | 'autoCapitalize'\n | 'testID'\n | 'onClick'\n | 'size'\n | 'leadingIcon'\n | 'trailingButton'\n | 'trailingIcon'\n | 'textAlign'\n | keyof DataAnalyticsAttribute\n> & {\n /**\n * Decides whether to render a clear icon button\n */\n showClearButton?: boolean;\n\n /**\n * Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`\n */\n onClearButtonClick?: () => void;\n\n /**\n * Decides whether to show a loading spinner for the input field.\n */\n isLoading?: boolean;\n\n /**\n * Icon that will be rendered at the beginning of the input field\n * @deprecated Use `leading` instead. This prop will be removed in the next major version.\n */\n icon?: IconComponent;\n /**\n * Type of Input Field to be rendered. Use `PasswordInput` for type `password`\n *\n *\n * **Note on number type**\n *\n * `type=\"number\"` internally uses `inputMode=\"numeric\"` instead of HTML's `type=\"number\"` which also allows text characters.\n * If you have a usecase where you only want to support number input, you can handle it on validations end.\n *\n * Check out [Why the GOV.UK Design System team changed the input type for numbers](https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-changed-the-input-type-for-numbers/) for reasoning\n *\n * @default text\n */\n type?: Type;\n /**\n *\n * Icon or React Element to be rendered at the end of the input field\n */\n trailing?: React.ReactElement | IconComponent;\n /**\n * Icon or React Element to be rendered at the beginning of the input field\n */\n leading?: React.ReactElement | IconComponent;\n /**\n * Format pattern where # represents input characters and other symbols act as delimiters\n * When provided, input will be automatically formatted and onChange will include rawValue\n *\n * **Note:**\n * 1. Format pattern should only contain # symbols and special characters as delimiters.\n * Alphanumeric characters (letters and numbers) are not allowed in the format pattern.\n * 2. When format is provided, user input is restricted to alphanumeric characters only.\n * Special characters and symbols will be filtered out automatically from user input.\n *\n * @example \"#### #### #### ####\" for card numbers\n * @example \"##/##\" for expiry dates\n * @example \"(###) ###-####\" for phone numbers\n */\n format?:\n | '#### #### #### ####'\n | '##/##'\n | '##/##/####'\n | '(###) ###-####'\n | '###-##-####'\n | '##:##'\n | '##:##:##'\n | '#### #### ####'\n | '###.###.###.###'\n | '## ## ####'\n | '##-###-##'\n // eslint-disable-next-line @typescript-eslint/ban-types\n | (string & {});\n} & TaggedInputProps &\n StyledPropsBlade;\n\n/*\n Mandatory accessibilityLabel prop when label is not provided\n*/\ntype TextInputPropsWithA11yLabel = {\n /**\n * Label to be shown for the input field\n */\n label?: undefined;\n /**\n * Accessibility label for the input\n */\n accessibilityLabel: string;\n};\n\n/*\n Optional accessibilityLabel prop when label is provided\n*/\ntype TextInputPropsWithLabel = {\n /**\n * Label to be shown for the input field\n */\n label: string;\n /**\n * Accessibility label for the input\n */\n accessibilityLabel?: string;\n};\n\ntype TextInputProps = (TextInputPropsWithA11yLabel | TextInputPropsWithLabel) &\n TextInputCommonProps;\n\n// need to do this to tell TS to infer type as TextInput of React Native and make it believe that `ref.current.clear()` exists\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst isReactNative = (_textInputRef: any): _textInputRef is TextInputReactNative => {\n return getPlatformType() === 'react-native';\n};\n\nconst _TextInput: React.ForwardRefRenderFunction<BladeElementRef, TextInputProps> = (\n {\n label,\n accessibilityLabel,\n labelPosition = 'top',\n placeholder,\n type = 'text',\n defaultValue,\n name,\n value,\n maxCharacters,\n format,\n onChange,\n onClick,\n onFocus,\n onBlur,\n onSubmit,\n isDisabled,\n necessityIndicator,\n validationState,\n errorText,\n helpText,\n successText,\n isRequired,\n icon,\n prefix,\n showClearButton,\n onClearButtonClick,\n isLoading,\n suffix,\n autoFocus,\n keyboardReturnKeyType,\n autoCompleteSuggestionType,\n autoCapitalize,\n testID,\n size = 'medium',\n leadingIcon,\n trailingIcon,\n isTaggedInput,\n tags,\n onTagChange,\n trailing,\n leading,\n labelSuffix,\n labelTrailing,\n ...rest\n },\n ref,\n): ReactElement => {\n const textInputRef = React.useRef<BladeElementRefWithValue>(null);\n const mergedRef = useMergeRefs(ref, textInputRef);\n const [shouldShowClearButton, setShouldShowClearButton] = useState(false);\n const [isInputFocussed, setIsInputFocussed] = useState(autoFocus ?? false);\n\n if (__DEV__) {\n if (format) {\n const hasAlphanumeric = /[a-zA-Z0-9]/.test(format);\n if (hasAlphanumeric) {\n throw new Error(\n `[Blade: TextInput] Invalid format \"${format}\". Only # and special characters allowed, no letters/numbers.`,\n );\n }\n }\n }\n\n const formattingResult = useFormattedInput({\n format,\n onChange,\n value,\n defaultValue,\n });\n\n const inputValue = format ? formattingResult.formattedValue : value;\n const effectiveMaxCharacters = format ? formattingResult.maxLength : maxCharacters;\n\n const handleOnChange: FormInputOnEvent = React.useCallback(\n ({ name, value: inputValue }) => {\n if (format) {\n formattingResult.handleChange({ name, value: inputValue });\n } else {\n onChange?.({ name, value: inputValue });\n }\n },\n [format, formattingResult.handleChange, onChange],\n );\n\n const {\n activeTagIndex,\n setActiveTagIndex,\n getTags,\n handleTaggedInputKeydown,\n handleTaggedInputChange,\n handleTagsClear,\n } = useTaggedInput({\n isTaggedInput,\n tags,\n onTagChange,\n isDisabled,\n onChange: handleOnChange,\n name,\n value: inputValue,\n inputRef: textInputRef,\n });\n const [isTrailingDropDownOpen, setIsTrailingDropDownOpen] = React.useState(false);\n const [isLeadingDropDownOpen, setIsLeadingDropDownOpen] = React.useState(false);\n const textInputWrapperRef = useRef<ContainerElementType | null>(null);\n\n useEffect(() => {\n if (isTrailingDropDownOpen && isLeadingDropDownOpen) {\n setIsLeadingDropDownOpen(false);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isTrailingDropDownOpen]);\n\n useEffect(() => {\n if (isLeadingDropDownOpen && isTrailingDropDownOpen) {\n setIsTrailingDropDownOpen(false);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isLeadingDropDownOpen]);\n\n const leadingDropDown =\n leading && getComponentId(leading as React.ReactElement) === 'Dropdown' ? leading : null;\n\n const trailingDropdown =\n trailing && getComponentId(trailing as React.ReactElement) === 'Dropdown' ? trailing : null;\n // we need to look into name of component and check if it 's and icon or a dropdown\n const _leadingIcon: IconComponent | undefined = isIconComponent(leading)\n ? (leading as IconComponent)\n : undefined;\n\n const _trailingIcon: IconComponent | undefined = isIconComponent(trailing)\n ? (trailing as IconComponent)\n : undefined;\n const hasLeadingInteractionElement = !_leadingIcon && !leadingDropDown && leading;\n\n const hasTrailingInteractionElement = !_trailingIcon && !trailingDropdown && trailing;\n\n const renderDropdown = (\n dropdown: React.ReactElement,\n isOpen: boolean,\n setIsOpen: (isOpen: boolean) => void,\n defaultPlacement: 'bottom-start' | 'bottom-end',\n ): React.ReactElement | null => {\n if (!dropdown) {\n return null;\n }\n return React.cloneElement(dropdown, {\n selectionType: 'single',\n isOpen,\n onOpenChange: (isOpen: boolean) => {\n setIsOpen(isOpen);\n },\n children: React.Children.map(dropdown.props.children, (child) => {\n if (child.type === DropdownOverlay) {\n return React.cloneElement(child, {\n referenceRef: textInputWrapperRef,\n _isNestedDropdown: true,\n defaultPlacement,\n });\n }\n return child;\n }),\n });\n };\n\n const renderLeadingDropDown = renderDropdown(\n leadingDropDown as React.ReactElement,\n isLeadingDropDownOpen,\n setIsLeadingDropDownOpen,\n 'bottom-start',\n );\n const renderTrailingDropDown = renderDropdown(\n trailingDropdown as React.ReactElement,\n isTrailingDropDownOpen,\n setIsTrailingDropDownOpen,\n 'bottom-end',\n );\n\n React.useEffect(() => {\n setShouldShowClearButton(Boolean(showClearButton && (defaultValue ?? inputValue)));\n }, [showClearButton, defaultValue, inputValue]);\n\n const renderClearButton = (): React.ReactElement => {\n return (\n <IconButton\n size=\"medium\"\n icon={CloseIcon}\n onClick={() => {\n if (isEmpty(inputValue) && textInputRef.current) {\n // when the input field is uncontrolled take the ref and clear the input and then call the onClearButtonClick function\n if (isReactNative(textInputRef.current)) {\n textInputRef.current.clear();\n textInputRef.current.focus();\n } else if (textInputRef.current instanceof HTMLInputElement) {\n textInputRef.current.value = '';\n textInputRef.current.focus();\n }\n }\n handleTagsClear();\n // if the input field is controlled just call the click handler and the value change shall be left upto the consumer\n onClearButtonClick?.();\n textInputRef?.current?.focus();\n setShouldShowClearButton(false);\n }}\n isDisabled={isDisabled}\n accessibilityLabel=\"Clear Input Content\"\n />\n );\n };\n const hasTrailingDropDown = Boolean(trailingDropdown);\n\n const renderInteractionElement = (): ReactNode => {\n if (isLoading) {\n return <Spinner accessibilityLabel=\"Loading Content\" color=\"primary\" />;\n }\n\n if (shouldShowClearButton && hasTrailingDropDown) {\n return (\n <BaseBox display=\"flex\" gap=\"spacing.3\">\n {renderClearButton()} <Divider orientation=\"vertical\" />\n </BaseBox>\n );\n }\n\n if (showClearButton && hasTrailingInteractionElement) {\n return (\n <BaseBox display=\"flex\" gap=\"spacing.3\">\n {renderClearButton()} <Divider orientation=\"vertical\" /> {trailing as React.ReactElement}\n </BaseBox>\n );\n }\n\n if (shouldShowClearButton) {\n return renderClearButton();\n }\n\n if (hasTrailingInteractionElement) {\n return trailing as React.ReactElement;\n }\n return null;\n };\n return (\n <BaseInput\n id=\"textinput\"\n componentName={MetaConstants.TextInput}\n ref={mergedRef}\n setInputWrapperRef={(wrapperNode) => {\n textInputWrapperRef.current = wrapperNode;\n }}\n label={label as string}\n labelSuffix={labelSuffix}\n labelTrailing={labelTrailing}\n accessibilityLabel={accessibilityLabel}\n hideLabelText={!Boolean(label)}\n labelPosition={labelPosition}\n placeholder={placeholder}\n // CONTROLLED/UNCONTROLLED INPUT LOGIC:\n // For inputs WITHOUT format:\n // - Use standard React controlled/uncontrolled logic\n // - Controlled: user provides `value` prop → use `value` prop\n // - Uncontrolled: user provides `defaultValue` prop → use `defaultValue` prop\n //\n // For inputs WITH format:\n // - Formatting requires controlled mode to re-render and show formatted values\n // - Case 1: Only `value` provided → defaultValue: undefined, value: formattedValue (normal controlled)\n // - Case 2: Only `defaultValue` provided → defaultValue: undefined, value: formattedValue (convert to controlled)\n // - Case 3: Both `value` and `defaultValue` provided → defaultValue: defaultValue, value: formattedValue (let BaseInput detect conflict and throw error)\n //\n defaultValue={\n format\n ? value !== undefined && defaultValue !== undefined\n ? defaultValue\n : undefined\n : defaultValue\n }\n value={format ? inputValue : value}\n name={name}\n maxCharacters={effectiveMaxCharacters}\n isDropdownTrigger={isTaggedInput}\n tags={isTaggedInput ? getTags({ size }) : undefined}\n showAllTags={isInputFocussed}\n maxTagRows=\"single\"\n activeTagIndex={activeTagIndex}\n setActiveTagIndex={setActiveTagIndex}\n leadingDropDown={renderLeadingDropDown}\n trailingDropDown={renderTrailingDropDown}\n leadingInteractionElement={\n hasLeadingInteractionElement ? (leading as React.ReactElement) : null\n }\n onChange={({ name, value }: { name?: string; value?: string }) => {\n if (showClearButton && value?.length) {\n // show the clear button when the user starts typing in\n setShouldShowClearButton(true);\n }\n\n if (shouldShowClearButton && !value?.length) {\n // hide the clear button when the input field is empty\n setShouldShowClearButton(false);\n }\n\n handleTaggedInputChange({ name, value });\n handleOnChange({ name, value });\n }}\n onClick={onClick}\n onFocus={(e) => {\n setIsInputFocussed(true);\n onFocus?.(e);\n }}\n onBlur={(e) => {\n setIsInputFocussed(false);\n onBlur?.(e);\n }}\n onKeyDown={(e) => {\n handleTaggedInputKeydown(e);\n if (format) {\n formattingResult.handleKeyDown(e.event);\n }\n }}\n onSubmit={onSubmit}\n isDisabled={isDisabled}\n necessityIndicator={necessityIndicator}\n isRequired={isRequired}\n leadingIcon={_leadingIcon ?? leadingIcon ?? icon}\n prefix={prefix}\n trailingInteractionElement={renderInteractionElement()}\n trailingIcon={_trailingIcon ?? trailingIcon}\n suffix={suffix}\n validationState={validationState}\n errorText={errorText}\n helpText={helpText}\n successText={successText}\n trailingFooterSlot={(value) => {\n return format ? null : effectiveMaxCharacters ? (\n <BaseBox marginTop={hintMarginTop[size]} marginRight=\"spacing.1\">\n <CharacterCounter\n currentCount={value?.length ?? 0}\n maxCount={effectiveMaxCharacters}\n size={size}\n />\n </BaseBox>\n ) : null;\n }}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n testID={testID}\n {...getKeyboardAndAutocompleteProps({\n type,\n keyboardReturnKeyType,\n autoCompleteSuggestionType,\n autoCapitalize,\n })}\n size={size}\n {...rest}\n />\n );\n};\n\nconst TextInput = assignWithoutSideEffects(React.forwardRef(_TextInput), {\n displayName: 'TextInput',\n});\n\nexport type { TextInputProps };\nexport { TextInput };\n"],"names":["isReactNative","_textInputRef","getPlatformType","_TextInput","_ref","ref","_ref4","label","accessibilityLabel","_ref$labelPosition","labelPosition","placeholder","_ref$type","type","defaultValue","name","value","maxCharacters","format","onChange","onClick","onFocus","onBlur","onSubmit","isDisabled","necessityIndicator","validationState","errorText","helpText","successText","isRequired","icon","prefix","showClearButton","onClearButtonClick","isLoading","suffix","autoFocus","keyboardReturnKeyType","autoCompleteSuggestionType","autoCapitalize","testID","_ref$size","size","leadingIcon","trailingIcon","isTaggedInput","tags","onTagChange","trailing","leading","labelSuffix","labelTrailing","rest","_objectWithoutProperties","_excluded","textInputRef","React","useRef","mergedRef","useMergeRefs","_useState","useState","_useState2","_slicedToArray","shouldShowClearButton","setShouldShowClearButton","_useState3","_useState4","isInputFocussed","setIsInputFocussed","hasAlphanumeric","test","Error","concat","formattingResult","useFormattedInput","inputValue","formattedValue","effectiveMaxCharacters","maxLength","handleOnChange","useCallback","_ref2","handleChange","_useTaggedInput","useTaggedInput","inputRef","activeTagIndex","setActiveTagIndex","getTags","handleTaggedInputKeydown","handleTaggedInputChange","handleTagsClear","_React$useState","_React$useState2","isTrailingDropDownOpen","setIsTrailingDropDownOpen","_React$useState3","_React$useState4","isLeadingDropDownOpen","setIsLeadingDropDownOpen","textInputWrapperRef","useEffect","leadingDropDown","getComponentId","trailingDropdown","_leadingIcon","isIconComponent","undefined","_trailingIcon","hasLeadingInteractionElement","hasTrailingInteractionElement","renderDropdown","dropdown","isOpen","setIsOpen","defaultPlacement","cloneElement","selectionType","onOpenChange","children","Children","map","props","child","DropdownOverlay","referenceRef","_isNestedDropdown","renderLeadingDropDown","renderTrailingDropDown","Boolean","renderClearButton","_jsx","IconButton","CloseIcon","_textInputRef$current","isEmpty","current","clear","focus","HTMLInputElement","hasTrailingDropDown","renderInteractionElement","Spinner","color","_jsxs","BaseBox","display","gap","Divider","orientation","BaseInput","_objectSpread","id","componentName","MetaConstants","TextInput","setInputWrapperRef","wrapperNode","hideLabelText","isDropdownTrigger","showAllTags","maxTagRows","trailingDropDown","leadingInteractionElement","_ref3","length","e","onKeyDown","handleKeyDown","event","trailingInteractionElement","trailingFooterSlot","_value$length","marginTop","hintMarginTop","marginRight","CharacterCounter","currentCount","maxCount","getKeyboardAndAutocompleteProps","assignWithoutSideEffects","forwardRef","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoLA;AACA;AACA,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,aAAkB,EAA4C;AACnF,EAAA,OAAOC,eAAe,EAAE,KAAK,cAAc,CAAA;AAC7C,CAAC,CAAA;AAED,IAAMC,UAA2E,GAAG,SAA9EA,UAA2EA,CAAAC,IAAA,EA+C/EC,GAAG,EACc;AAAA,EAAA,IAAAC,KAAA,CAAA;AAAA,EAAA,IA9CfC,KAAK,GAAAH,IAAA,CAALG,KAAK;IACLC,kBAAkB,GAAAJ,IAAA,CAAlBI,kBAAkB;IAAAC,kBAAA,GAAAL,IAAA,CAClBM,aAAa;AAAbA,IAAAA,aAAa,GAA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AAG6D,sBAAsB,gBAC3CsD,GAAA,CAACc,OAAO,EAAA;AAAC4B,QAAAA,SAAS,EAAEC,aAAa,CAACrI,IAAI,CAAE;AAACsI,QAAAA,WAAW,EAAC,WAAW;QAAAxD,QAAA,eAC9DY,GAAA,CAAC6C,gBAAgB,EAAA;AACfC,UAAAA,YAAY,EAAAL,CAAAA,aAAA,GAAE9J,KAAK,aAALA,KAAK,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAALA,KAAK,CAAEuJ,MAAM,MAAAO,IAAAA,IAAAA,aAAA,KAAAA,KAAAA,CAAAA,GAAAA,aAAA,GAAI,CAAE;AACjCM,UAAAA,QAAQ,EAAErG,sBAAuB;AACjCpC,UAAAA,IAAI,EAAEA,IAAAA;SACP,CAAA;OACM,CAAC,GACR,IAAI,CAAA;AACV,KAAA;AACA;AAAA;AACAN,IAAAA,SAAS,EAAEA,SAAU;AACrBI,IAAAA,MAAM,EAAEA,MAAAA;AAAO,GAAA,EACX4I,+BAA+B,CAAC;AAClCxK,IAAAA,IAAI,EAAJA,IAAI;AACJyB,IAAAA,qBAAqB,EAArBA,qBAAqB;AACrBC,IAAAA,0BAA0B,EAA1BA,0BAA0B;AAC1BC,IAAAA,cAAc,EAAdA,cAAAA;AACF,GAAC,CAAC,CAAA,EAAA,EAAA,EAAA;AACFG,IAAAA,IAAI,EAAEA,IAAAA;GACFU,EAAAA,IAAI,CACT,CAAC,CAAA;AAEN,CAAC,CAAA;AAEKwG,IAAAA,SAAS,gBAAGyB,wBAAwB,eAAC7H,cAAK,CAAC8H,UAAU,CAACpL,UAAU,CAAC,EAAE;AACvEqL,EAAAA,WAAW,EAAE,WAAA;AACf,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"TextInput.js","sources":["../../../../../../../src/components/Input/TextInput/TextInput.tsx"],"sourcesContent":["import React, { useEffect, useState, useRef } from 'react';\nimport type { ReactElement, ReactNode } from 'react';\nimport type { TextInput as TextInputReactNative } from 'react-native';\nimport type { BaseInputProps } from '../BaseInput';\nimport { BaseInput } from '../BaseInput';\nimport { getKeyboardAndAutocompleteProps } from '../BaseInput/utils';\nimport type { TaggedInputProps } from '../BaseInput/useTaggedInput';\nimport { useTaggedInput } from '../BaseInput/useTaggedInput';\nimport { useFormattedInput } from './useFormattedInput';\nimport isEmpty from '~utils/lodashButBetter/isEmpty';\nimport type { IconComponent } from '~components/Icons';\nimport { CloseIcon } from '~components/Icons';\nimport { IconButton } from '~components/Button/IconButton';\nimport type { StyledPropsBlade } from '~components/Box/styledProps';\nimport { MetaConstants } from '~utils/metaAttribute';\nimport { CharacterCounter } from '~components/Form/CharacterCounter';\nimport BaseBox from '~components/Box/BaseBox';\nimport { Spinner } from '~components/Spinner';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\nimport { getPlatformType } from '~utils';\nimport { useMergeRefs } from '~utils/useMergeRefs';\nimport type {\n BladeElementRef,\n BladeElementRefWithValue,\n ContainerElementType,\n DataAnalyticsAttribute,\n} from '~utils/types';\nimport { hintMarginTop } from '~components/Form/formTokens';\nimport { Divider } from '~components/Divider';\nimport { getComponentId } from '~utils/isValidAllowedChildren';\nimport { DropdownOverlay } from '~components/Dropdown';\nimport type { FormInputOnEvent } from '~components/Form/FormTypes';\nimport { isIconComponent } from '~utils/isIconComponent';\n\n// Users should use PasswordInput for input type password\ntype Type = Exclude<BaseInputProps['type'], 'password'>;\n\ntype TextInputCommonProps = Pick<\n BaseInputProps,\n | 'label'\n | 'accessibilityLabel'\n | 'labelPosition'\n | 'labelSuffix'\n | 'labelTrailing'\n | 'necessityIndicator'\n | 'validationState'\n | 'helpText'\n | 'errorText'\n | 'successText'\n | 'placeholder'\n | 'defaultValue'\n | 'name'\n | 'onChange'\n | 'onFocus'\n | 'onBlur'\n | 'value'\n | 'isDisabled'\n | 'isRequired'\n | 'prefix'\n | 'suffix'\n | 'maxCharacters'\n | 'autoFocus'\n | 'keyboardReturnKeyType'\n | 'autoCompleteSuggestionType'\n | 'onSubmit'\n | 'autoCapitalize'\n | 'testID'\n | 'onClick'\n | 'size'\n | 'leadingIcon'\n | 'trailingButton'\n | 'trailingIcon'\n | 'textAlign'\n | 'popupId'\n | 'isPopupExpanded'\n | 'hasPopup'\n | 'componentName'\n | 'onKeyDown'\n | keyof DataAnalyticsAttribute\n> & {\n /**\n * Decides whether to render a clear icon button\n */\n showClearButton?: boolean;\n\n /**\n * Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`\n */\n onClearButtonClick?: () => void;\n\n /**\n * Decides whether to show a loading spinner for the input field.\n */\n isLoading?: boolean;\n\n /**\n * Icon that will be rendered at the beginning of the input field\n * @deprecated Use `leading` instead. This prop will be removed in the next major version.\n */\n icon?: IconComponent;\n /**\n * Type of Input Field to be rendered. Use `PasswordInput` for type `password`\n *\n *\n * **Note on number type**\n *\n * `type=\"number\"` internally uses `inputMode=\"numeric\"` instead of HTML's `type=\"number\"` which also allows text characters.\n * If you have a usecase where you only want to support number input, you can handle it on validations end.\n *\n * Check out [Why the GOV.UK Design System team changed the input type for numbers](https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-changed-the-input-type-for-numbers/) for reasoning\n *\n * @default text\n */\n type?: Type;\n /**\n *\n * Icon or React Element to be rendered at the end of the input field\n */\n trailing?: React.ReactElement | IconComponent;\n /**\n * Icon or React Element to be rendered at the beginning of the input field\n */\n leading?: React.ReactElement | IconComponent;\n /**\n * Format pattern where # represents input characters and other symbols act as delimiters\n * When provided, input will be automatically formatted and onChange will include rawValue\n *\n * **Note:**\n * 1. Format pattern should only contain # symbols and special characters as delimiters.\n * Alphanumeric characters (letters and numbers) are not allowed in the format pattern.\n * 2. When format is provided, user input is restricted to alphanumeric characters only.\n * Special characters and symbols will be filtered out automatically from user input.\n *\n * @example \"#### #### #### ####\" for card numbers\n * @example \"##/##\" for expiry dates\n * @example \"(###) ###-####\" for phone numbers\n */\n format?:\n | '#### #### #### ####'\n | '##/##'\n | '##/##/####'\n | '(###) ###-####'\n | '###-##-####'\n | '##:##'\n | '##:##:##'\n | '#### #### ####'\n | '###.###.###.###'\n | '## ## ####'\n | '##-###-##'\n // eslint-disable-next-line @typescript-eslint/ban-types\n | (string & {});\n} & TaggedInputProps &\n StyledPropsBlade;\n\n/*\n Mandatory accessibilityLabel prop when label is not provided\n*/\ntype TextInputPropsWithA11yLabel = {\n /**\n * Label to be shown for the input field\n */\n label?: undefined;\n /**\n * Accessibility label for the input\n */\n accessibilityLabel: string;\n};\n\n/*\n Optional accessibilityLabel prop when label is provided\n*/\ntype TextInputPropsWithLabel = {\n /**\n * Label to be shown for the input field\n */\n label: string;\n /**\n * Accessibility label for the input\n */\n accessibilityLabel?: string;\n};\n\ntype TextInputProps = (TextInputPropsWithA11yLabel | TextInputPropsWithLabel) &\n TextInputCommonProps;\n\n// need to do this to tell TS to infer type as TextInput of React Native and make it believe that `ref.current.clear()` exists\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst isReactNative = (_textInputRef: any): _textInputRef is TextInputReactNative => {\n return getPlatformType() === 'react-native';\n};\n\nconst _TextInput: React.ForwardRefRenderFunction<BladeElementRef, TextInputProps> = (\n {\n label,\n accessibilityLabel,\n labelPosition = 'top',\n placeholder,\n type = 'text',\n defaultValue,\n name,\n value,\n maxCharacters,\n format,\n onChange,\n onClick,\n onFocus,\n onBlur,\n onSubmit,\n isDisabled,\n necessityIndicator,\n validationState,\n errorText,\n helpText,\n successText,\n isRequired,\n icon,\n prefix,\n showClearButton,\n onClearButtonClick,\n isLoading,\n suffix,\n autoFocus,\n keyboardReturnKeyType,\n autoCompleteSuggestionType,\n autoCapitalize,\n testID,\n size = 'medium',\n leadingIcon,\n trailingIcon,\n isTaggedInput,\n tags,\n onTagChange,\n trailing,\n leading,\n labelSuffix,\n labelTrailing,\n onKeyDown,\n ...rest\n },\n ref,\n): ReactElement => {\n const textInputRef = React.useRef<BladeElementRefWithValue>(null);\n const mergedRef = useMergeRefs(ref, textInputRef);\n const [shouldShowClearButton, setShouldShowClearButton] = useState(false);\n const [isInputFocussed, setIsInputFocussed] = useState(autoFocus ?? false);\n\n if (__DEV__) {\n if (format) {\n const hasAlphanumeric = /[a-zA-Z0-9]/.test(format);\n if (hasAlphanumeric) {\n throw new Error(\n `[Blade: TextInput] Invalid format \"${format}\". Only # and special characters allowed, no letters/numbers.`,\n );\n }\n }\n }\n\n const formattingResult = useFormattedInput({\n format,\n onChange,\n value,\n defaultValue,\n });\n\n const inputValue = format ? formattingResult.formattedValue : value;\n const effectiveMaxCharacters = format ? formattingResult.maxLength : maxCharacters;\n\n const handleOnChange: FormInputOnEvent = React.useCallback(\n ({ name, value: inputValue }) => {\n if (format) {\n formattingResult.handleChange({ name, value: inputValue });\n } else {\n onChange?.({ name, value: inputValue });\n }\n },\n [format, formattingResult.handleChange, onChange],\n );\n\n const {\n activeTagIndex,\n setActiveTagIndex,\n getTags,\n handleTaggedInputKeydown,\n handleTaggedInputChange,\n handleTagsClear,\n } = useTaggedInput({\n isTaggedInput,\n tags,\n onTagChange,\n isDisabled,\n onChange: handleOnChange,\n name,\n value: inputValue,\n inputRef: textInputRef,\n });\n const [isTrailingDropDownOpen, setIsTrailingDropDownOpen] = React.useState(false);\n const [isLeadingDropDownOpen, setIsLeadingDropDownOpen] = React.useState(false);\n const textInputWrapperRef = useRef<ContainerElementType | null>(null);\n\n useEffect(() => {\n if (isTrailingDropDownOpen && isLeadingDropDownOpen) {\n setIsLeadingDropDownOpen(false);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isTrailingDropDownOpen]);\n\n useEffect(() => {\n if (isLeadingDropDownOpen && isTrailingDropDownOpen) {\n setIsTrailingDropDownOpen(false);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isLeadingDropDownOpen]);\n\n const leadingDropDown =\n leading && getComponentId(leading as React.ReactElement) === 'Dropdown' ? leading : null;\n\n const trailingDropdown =\n trailing && getComponentId(trailing as React.ReactElement) === 'Dropdown' ? trailing : null;\n // we need to look into name of component and check if it 's and icon or a dropdown\n const _leadingIcon: IconComponent | undefined = isIconComponent(leading)\n ? (leading as IconComponent)\n : undefined;\n\n const _trailingIcon: IconComponent | undefined = isIconComponent(trailing)\n ? (trailing as IconComponent)\n : undefined;\n const hasLeadingInteractionElement = !_leadingIcon && !leadingDropDown && leading;\n\n const hasTrailingInteractionElement = !_trailingIcon && !trailingDropdown && trailing;\n\n const renderDropdown = (\n dropdown: React.ReactElement,\n isOpen: boolean,\n setIsOpen: (isOpen: boolean) => void,\n defaultPlacement: 'bottom-start' | 'bottom-end',\n ): React.ReactElement | null => {\n if (!dropdown) {\n return null;\n }\n return React.cloneElement(dropdown, {\n selectionType: 'single',\n isOpen,\n onOpenChange: (isOpen: boolean) => {\n setIsOpen(isOpen);\n },\n children: React.Children.map(dropdown.props.children, (child) => {\n if (child.type === DropdownOverlay) {\n return React.cloneElement(child, {\n referenceRef: textInputWrapperRef,\n _isNestedDropdown: true,\n defaultPlacement,\n });\n }\n return child;\n }),\n });\n };\n\n const renderLeadingDropDown = renderDropdown(\n leadingDropDown as React.ReactElement,\n isLeadingDropDownOpen,\n setIsLeadingDropDownOpen,\n 'bottom-start',\n );\n const renderTrailingDropDown = renderDropdown(\n trailingDropdown as React.ReactElement,\n isTrailingDropDownOpen,\n setIsTrailingDropDownOpen,\n 'bottom-end',\n );\n\n React.useEffect(() => {\n setShouldShowClearButton(Boolean(showClearButton && (defaultValue ?? inputValue)));\n }, [showClearButton, defaultValue, inputValue]);\n\n const renderClearButton = (): React.ReactElement => {\n return (\n <IconButton\n size=\"medium\"\n icon={CloseIcon}\n onClick={() => {\n if (isEmpty(inputValue) && textInputRef.current) {\n // when the input field is uncontrolled take the ref and clear the input and then call the onClearButtonClick function\n if (isReactNative(textInputRef.current)) {\n textInputRef.current.clear();\n textInputRef.current.focus();\n } else if (textInputRef.current instanceof HTMLInputElement) {\n textInputRef.current.value = '';\n textInputRef.current.focus();\n }\n }\n handleTagsClear();\n // if the input field is controlled just call the click handler and the value change shall be left upto the consumer\n onClearButtonClick?.();\n textInputRef?.current?.focus();\n setShouldShowClearButton(false);\n }}\n isDisabled={isDisabled}\n accessibilityLabel=\"Clear Input Content\"\n />\n );\n };\n const hasTrailingDropDown = Boolean(trailingDropdown);\n\n const renderInteractionElement = (): ReactNode => {\n if (isLoading) {\n return <Spinner accessibilityLabel=\"Loading Content\" color=\"primary\" />;\n }\n\n if (shouldShowClearButton && hasTrailingDropDown) {\n return (\n <BaseBox display=\"flex\" gap=\"spacing.3\">\n {renderClearButton()} <Divider orientation=\"vertical\" />\n </BaseBox>\n );\n }\n\n if (showClearButton && hasTrailingInteractionElement) {\n return (\n <BaseBox display=\"flex\" gap=\"spacing.3\">\n {renderClearButton()} <Divider orientation=\"vertical\" /> {trailing as React.ReactElement}\n </BaseBox>\n );\n }\n\n if (shouldShowClearButton) {\n return renderClearButton();\n }\n\n if (hasTrailingInteractionElement) {\n return trailing as React.ReactElement;\n }\n return null;\n };\n return (\n <BaseInput\n id=\"textinput\"\n componentName={MetaConstants.TextInput}\n ref={mergedRef}\n setInputWrapperRef={(wrapperNode) => {\n textInputWrapperRef.current = wrapperNode;\n }}\n label={label as string}\n labelSuffix={labelSuffix}\n labelTrailing={labelTrailing}\n accessibilityLabel={accessibilityLabel}\n hideLabelText={!Boolean(label)}\n labelPosition={labelPosition}\n placeholder={placeholder}\n // CONTROLLED/UNCONTROLLED INPUT LOGIC:\n // For inputs WITHOUT format:\n // - Use standard React controlled/uncontrolled logic\n // - Controlled: user provides `value` prop → use `value` prop\n // - Uncontrolled: user provides `defaultValue` prop → use `defaultValue` prop\n //\n // For inputs WITH format:\n // - Formatting requires controlled mode to re-render and show formatted values\n // - Case 1: Only `value` provided → defaultValue: undefined, value: formattedValue (normal controlled)\n // - Case 2: Only `defaultValue` provided → defaultValue: undefined, value: formattedValue (convert to controlled)\n // - Case 3: Both `value` and `defaultValue` provided → defaultValue: defaultValue, value: formattedValue (let BaseInput detect conflict and throw error)\n //\n defaultValue={\n format\n ? value !== undefined && defaultValue !== undefined\n ? defaultValue\n : undefined\n : defaultValue\n }\n value={format ? inputValue : value}\n name={name}\n maxCharacters={effectiveMaxCharacters}\n isDropdownTrigger={isTaggedInput}\n tags={isTaggedInput ? getTags({ size }) : undefined}\n showAllTags={isInputFocussed}\n maxTagRows=\"single\"\n activeTagIndex={activeTagIndex}\n setActiveTagIndex={setActiveTagIndex}\n leadingDropDown={renderLeadingDropDown}\n trailingDropDown={renderTrailingDropDown}\n leadingInteractionElement={\n hasLeadingInteractionElement ? (leading as React.ReactElement) : null\n }\n onChange={({ name, value }: { name?: string; value?: string }) => {\n if (showClearButton && value?.length) {\n // show the clear button when the user starts typing in\n setShouldShowClearButton(true);\n }\n\n if (shouldShowClearButton && !value?.length) {\n // hide the clear button when the input field is empty\n setShouldShowClearButton(false);\n }\n\n handleTaggedInputChange({ name, value });\n handleOnChange({ name, value });\n }}\n onClick={onClick}\n onFocus={(e) => {\n setIsInputFocussed(true);\n onFocus?.(e);\n }}\n onBlur={(e) => {\n setIsInputFocussed(false);\n onBlur?.(e);\n }}\n onKeyDown={(e) => {\n handleTaggedInputKeydown(e);\n onKeyDown?.(e);\n if (format) {\n formattingResult.handleKeyDown(e.event);\n }\n }}\n onSubmit={onSubmit}\n isDisabled={isDisabled}\n necessityIndicator={necessityIndicator}\n isRequired={isRequired}\n leadingIcon={_leadingIcon ?? leadingIcon ?? icon}\n prefix={prefix}\n trailingInteractionElement={renderInteractionElement()}\n trailingIcon={_trailingIcon ?? trailingIcon}\n suffix={suffix}\n validationState={validationState}\n errorText={errorText}\n helpText={helpText}\n successText={successText}\n trailingFooterSlot={(value) => {\n return format ? null : effectiveMaxCharacters ? (\n <BaseBox marginTop={hintMarginTop[size]} marginRight=\"spacing.1\">\n <CharacterCounter\n currentCount={value?.length ?? 0}\n maxCount={effectiveMaxCharacters}\n size={size}\n />\n </BaseBox>\n ) : null;\n }}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n testID={testID}\n {...getKeyboardAndAutocompleteProps({\n type,\n keyboardReturnKeyType,\n autoCompleteSuggestionType,\n autoCapitalize,\n })}\n size={size}\n {...rest}\n />\n );\n};\n\nconst TextInput = assignWithoutSideEffects(React.forwardRef(_TextInput), {\n displayName: 'TextInput',\n});\n\nexport type { TextInputProps };\nexport { TextInput };\n"],"names":["isReactNative","_textInputRef","getPlatformType","_TextInput","_ref","ref","_ref4","label","accessibilityLabel","_ref$labelPosition","labelPosition","placeholder","_ref$type","type","defaultValue","name","value","maxCharacters","format","onChange","onClick","onFocus","onBlur","onSubmit","isDisabled","necessityIndicator","validationState","errorText","helpText","successText","isRequired","icon","prefix","showClearButton","onClearButtonClick","isLoading","suffix","autoFocus","keyboardReturnKeyType","autoCompleteSuggestionType","autoCapitalize","testID","_ref$size","size","leadingIcon","trailingIcon","isTaggedInput","tags","onTagChange","trailing","leading","labelSuffix","labelTrailing","onKeyDown","rest","_objectWithoutProperties","_excluded","textInputRef","React","useRef","mergedRef","useMergeRefs","_useState","useState","_useState2","_slicedToArray","shouldShowClearButton","setShouldShowClearButton","_useState3","_useState4","isInputFocussed","setIsInputFocussed","hasAlphanumeric","test","Error","concat","formattingResult","useFormattedInput","inputValue","formattedValue","effectiveMaxCharacters","maxLength","handleOnChange","useCallback","_ref2","handleChange","_useTaggedInput","useTaggedInput","inputRef","activeTagIndex","setActiveTagIndex","getTags","handleTaggedInputKeydown","handleTaggedInputChange","handleTagsClear","_React$useState","_React$useState2","isTrailingDropDownOpen","setIsTrailingDropDownOpen","_React$useState3","_React$useState4","isLeadingDropDownOpen","setIsLeadingDropDownOpen","textInputWrapperRef","useEffect","leadingDropDown","getComponentId","trailingDropdown","_leadingIcon","isIconComponent","undefined","_trailingIcon","hasLeadingInteractionElement","hasTrailingInteractionElement","renderDropdown","dropdown","isOpen","setIsOpen","defaultPlacement","cloneElement","selectionType","onOpenChange","children","Children","map","props","child","DropdownOverlay","referenceRef","_isNestedDropdown","renderLeadingDropDown","renderTrailingDropDown","Boolean","renderClearButton","_jsx","IconButton","CloseIcon","_textInputRef$current","isEmpty","current","clear","focus","HTMLInputElement","hasTrailingDropDown","renderInteractionElement","Spinner","color","_jsxs","BaseBox","display","gap","Divider","orientation","BaseInput","_objectSpread","id","componentName","MetaConstants","TextInput","setInputWrapperRef","wrapperNode","hideLabelText","isDropdownTrigger","showAllTags","maxTagRows","trailingDropDown","leadingInteractionElement","_ref3","length","e","handleKeyDown","event","trailingInteractionElement","trailingFooterSlot","_value$length","marginTop","hintMarginTop","marginRight","CharacterCounter","currentCount","maxCount","getKeyboardAndAutocompleteProps","assignWithoutSideEffects","forwardRef","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyLA;AACA;AACA,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,aAAkB,EAA4C;AACnF,EAAA,OAAOC,eAAe,EAAE,KAAK,cAAc,CAAA;AAC7C,CAAC,CAAA;AAED,IAAMC,UAA2E,GAAG,SAA9EA,UAA2EA,CAAAC,IAAA,EAgD/EC,GAAG,EACc;AAAA,EAAA,IAAAC,KAAA,CAAA;AAAA,EAAA,IA/CfC,KAAK,GAAAH,IAAA,CAALG,KAAK;IACLC,kBAAkB,GAAAJ,IAAA,CAAlBI,kBAAkB;IAAAC,kBAAA,GAAAL,IAAA,CAClBM,aAAa;AAAbA,IAAAA,aAAa,GAAAD,kBAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,kBAAA;IACrBE,WAAW,GAAAP,IAAA,CAAXO,WAAW;IAAAC,SAAA,GAAAR,IAAA,CACXS,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,MAAM,GAAAA,SAAA;IACbE,YAAY,GAAAV,IAAA,CAAZU,YAAY;IACZC,IAAI,GAAAX,IAAA,CAAJW,IAAI;IACJC,KAAK,GAAAZ,IAAA,CAALY,KAAK;IACLC,aAAa,GAAAb,IAAA,CAAba,aAAa;IACbC,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CAAAA,aAAA,GAAE9J,KAAK,aAALA,KAAK,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAALA,KAAK,CAAEwJ,MAAM,MAAAM,IAAAA,IAAAA,aAAA,KAAAA,KAAAA,CAAAA,GAAAA,aAAA,GAAI,CAAE;AACjCM,UAAAA,QAAQ,EAAEpG,sBAAuB;AACjCrC,UAAAA,IAAI,EAAEA,IAAAA;SACP,CAAA;OACM,CAAC,GACR,IAAI,CAAA;AACV,KAAA;AACA;AAAA;AACAN,IAAAA,SAAS,EAAEA,SAAU;AACrBI,IAAAA,MAAM,EAAEA,MAAAA;AAAO,GAAA,EACX4I,+BAA+B,CAAC;AAClCxK,IAAAA,IAAI,EAAJA,IAAI;AACJyB,IAAAA,qBAAqB,EAArBA,qBAAqB;AACrBC,IAAAA,0BAA0B,EAA1BA,0BAA0B;AAC1BC,IAAAA,cAAc,EAAdA,cAAAA;AACF,GAAC,CAAC,CAAA,EAAA,EAAA,EAAA;AACFG,IAAAA,IAAI,EAAEA,IAAAA;GACFW,EAAAA,IAAI,CACT,CAAC,CAAA;AAEN,CAAC,CAAA;AAEKwG,IAAAA,SAAS,gBAAGwB,wBAAwB,eAAC5H,cAAK,CAAC6H,UAAU,CAACpL,UAAU,CAAC,EAAE;AACvEqL,EAAAA,WAAW,EAAE,WAAA;AACf,CAAC;;;;"}
|
|
@@ -68,6 +68,20 @@ var useFormattedInput = function useFormattedInput(_ref) {
|
|
|
68
68
|
var emptyFormatted = format('', pattern !== null && pattern !== void 0 ? pattern : '');
|
|
69
69
|
setInternalValue(emptyFormatted);
|
|
70
70
|
}
|
|
71
|
+
// DATEPICKER FIX: Sync internal state when external value changes
|
|
72
|
+
// This addresses the issue where DatePicker programmatically updates the value prop
|
|
73
|
+
// (e.g., when user selects date from calendar), but the formatted input's internal
|
|
74
|
+
// state doesn't update, causing the input to not reflect the new value.
|
|
75
|
+
// Without this, only user typing and empty resets were handled.
|
|
76
|
+
if (userValue !== undefined && userValue !== '' && pattern) {
|
|
77
|
+
var rawValue = stripPatternCharacters(userValue);
|
|
78
|
+
var newFormatted = format(rawValue, pattern);
|
|
79
|
+
|
|
80
|
+
// Only update if the formatted value actually changed to avoid unnecessary re-renders
|
|
81
|
+
if (newFormatted !== internalValue) {
|
|
82
|
+
setInternalValue(newFormatted);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
71
85
|
}, [userValue, pattern]);
|
|
72
86
|
|
|
73
87
|
// Apply calculated cursor position after value updates
|
|
@@ -144,6 +158,13 @@ var useFormattedInput = function useFormattedInput(_ref) {
|
|
|
144
158
|
var prevIsDelimiter = !isUserCharacter(prevChar);
|
|
145
159
|
if (prevIsDelimiter) {
|
|
146
160
|
infoRef.current.cursorPosition = cursorPosition + nextUserCharIndex + 1;
|
|
161
|
+
} else {
|
|
162
|
+
// If we're at a delimiter after typing (not deleting), and there are more chars,
|
|
163
|
+
// we probably need to move past it unless it's a brand new delimiter
|
|
164
|
+
var delimiterExistedBefore = currentValue[cursorPosition] === formattedValue[cursorPosition];
|
|
165
|
+
if (delimiterExistedBefore) {
|
|
166
|
+
infoRef.current.cursorPosition = cursorPosition + 1;
|
|
167
|
+
}
|
|
147
168
|
}
|
|
148
169
|
}
|
|
149
170
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormattedInput.js","sources":["../../../../../../../src/components/Input/TextInput/useFormattedInput.ts"],"sourcesContent":["import type React from 'react';\nimport { useCallback, useRef, useState, useEffect, useMemo } from 'react';\nimport type { FormInputOnEvent } from '~components/Form/FormTypes';\n\n/**\n * Formats user input according to pattern. format(\"1234\", \"##/##\") → \"12/34\"\n */\nconst format = (value: string, pattern: string): string => {\n if (!pattern) return value;\n\n let result = '';\n let valueIndex = 0;\n\n for (let i = 0; i < pattern.length; i++) {\n const patternChar = pattern[i]; // \"#\" or \"/\"\n\n if (patternChar === '#') {\n if (valueIndex < value.length) {\n result += value[valueIndex]; // add \"1\" from \"1234\"\n valueIndex++;\n } else {\n break; // No more input chars, stop\n }\n } else {\n result += patternChar; // add \"/\" delimiter\n }\n }\n\n return result; // \"12/34\"\n};\n\n/**\n * Removes delimiters, keeps only user input. stripPatternCharacters(\"12/34\") → \"1234\"\n */\nconst stripPatternCharacters = (value: string): string => {\n return value.replace(/[^\\dA-z]/g, ''); // \"12/34\" → \"1234\" (removes \"/\")\n};\n\n/**\n * Checks if character is user input vs delimiter. isUserCharacter('1') → true, isUserCharacter('/') → false\n */\nconst isUserCharacter = (character: string): boolean => {\n return /[\\dA-z]/.test(character); // \"1\" → true, \"/\" → false\n};\n\ntype UseFormattedInputProps = {\n format?: string;\n onChange?: (params: { name?: string; value?: string; rawValue?: string }) => void;\n value?: string;\n defaultValue?: string;\n};\n\ntype UseFormattedInputReturn = {\n formattedValue: string;\n handleChange: FormInputOnEvent;\n handleKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;\n maxLength?: number;\n};\n\n/**\n * Hook for pattern-based input formatting with smart cursor positioning.\n * useFormattedInput({ format: \"##/##\" }) transforms \"1234\" → \"12/34\"\n */\nexport const useFormattedInput = ({\n format: pattern,\n onChange,\n value: userValue,\n defaultValue = '',\n}: UseFormattedInputProps): UseFormattedInputReturn => {\n const initialValue = useMemo(() => {\n return format(userValue ?? defaultValue, pattern ?? '');\n }, [userValue, defaultValue, pattern]);\n\n const [internalValue, setInternalValue] = useState(initialValue);\n const inputRef = useRef<HTMLInputElement | null>(null);\n const infoRef = useRef<{\n cursorPosition?: number;\n endOfSection?: boolean;\n }>({});\n\n const maxLength = useMemo(() => pattern?.length, [pattern]);\n\n // Reset internal state when parent clears value (form resets, external state changes)\n // Preserves format delimiters for visual guidance. Example: \"(###)\" → \"( )\" when cleared\n useEffect(() => {\n if ((userValue === '' || userValue === undefined) && defaultValue === '') {\n const emptyFormatted = format('', pattern ?? '');\n setInternalValue(emptyFormatted);\n }\n }, [userValue, pattern]);\n\n // Apply calculated cursor position after value updates\n useEffect(() => {\n const { cursorPosition, endOfSection } = infoRef.current;\n\n if (endOfSection || cursorPosition === undefined) return; // Skip if no position or end section\n\n if (inputRef.current) {\n inputRef.current.setSelectionRange(cursorPosition, cursorPosition);\n }\n }, [internalValue]);\n\n const handleChange: FormInputOnEvent = useCallback(\n ({ name, value: inputValue }) => {\n if (!pattern) {\n // No pattern = regular input\n const cleanValue = inputValue ?? '';\n onChange?.({ name, value: cleanValue });\n setInternalValue(cleanValue);\n return;\n }\n\n const currentValue = internalValue; // \"12/34\" (user wants to delete \"/\")\n const newInputValue = inputValue ?? ''; // \"1234\" (after deleting \"/\")\n const cursorPosition = inputRef.current?.selectionStart ?? 0; // 2 (cursor where \"/\" was)\n const didDelete = newInputValue.length < currentValue.length; // 4 < 5 → true\n\n infoRef.current.cursorPosition = cursorPosition;\n\n let rawValue = stripPatternCharacters(newInputValue); // \"1234\" → \"1234\"\n\n // Handle special case: user deleted a delimiter (like deleting \"/\" in \"12/|34\")\n if (didDelete) {\n const deletedChar = currentValue[cursorPosition] ?? ''; // \"12/34\"[2] → \"/\"\n const deletedDelimiter = !isUserCharacter(deletedChar); // \"/\" → true (is delimiter)\n\n if (deletedDelimiter) {\n // true (will execute for \"/\" deletion)\n const beforeCursor = newInputValue.substring(0, cursorPosition); // \"12\" (before cursor)\n const afterCursor = newInputValue.substring(cursorPosition); // \"34\" (after cursor)\n const rawBefore = stripPatternCharacters(beforeCursor); // \"12\" → \"12\"\n const rawAfter = stripPatternCharacters(afterCursor); // \"34\" → \"34\"\n\n rawValue = rawBefore.slice(0, -1) + rawAfter; // \"12\".slice(0,-1) + \"34\" → \"1\" + \"34\" → \"134\"\n\n // Removes trailing non-alphanumeric characters from the end of the string, preserving the last alphanumeric word before them.\n infoRef.current.cursorPosition =\n beforeCursor.replace(/([\\d\\w]+)[^\\dA-z]+$/, '$1').length - 1;\n }\n }\n\n const formattedValue = format(rawValue, pattern); // format(\"134\", \"##/##\") → \"13/4\"\n infoRef.current.endOfSection = false;\n\n // Handle cursor positioning when typing (not deleting)\n if (!didDelete) {\n // User types \"2\" in \"1|\" → becomes \"12|/\" → should jump to \"12/|\"\n const nextChar = formattedValue[cursorPosition]; // \"12/\"[2] → \"/\" (delimiter)\n const nextIsDelimiter = nextChar ? !isUserCharacter(nextChar) : false; // \"/\" → true\n\n const remainingText = formattedValue.substring(cursorPosition); // \"12/\".substring(2) → \"/\"\n const nextUserCharIndex = remainingText.search(/[\\dA-z]/); // \"/\".search() → -1 (no user chars)\n const hasMoreUserChars = nextUserCharIndex !== -1; // -1 !== -1 → false\n\n infoRef.current.endOfSection = nextIsDelimiter && !hasMoreUserChars; // true && false → false\n\n // Move cursor past auto-inserted delimiters for smooth typing\n if (nextIsDelimiter && hasMoreUserChars) {\n const prevChar = formattedValue[cursorPosition - 1] ?? '';\n const prevIsDelimiter = !isUserCharacter(prevChar);\n\n if (prevIsDelimiter) {\n infoRef.current.cursorPosition = cursorPosition + nextUserCharIndex + 1;\n }\n }\n }\n\n onChange?.({ name, value: formattedValue, rawValue });\n setInternalValue(formattedValue);\n },\n [pattern, onChange, internalValue],\n );\n\n const handleKeyDown = useCallback((event: React.KeyboardEvent<HTMLInputElement>) => {\n if (event.currentTarget && inputRef.current !== event.currentTarget) {\n inputRef.current = event.currentTarget;\n }\n }, []);\n\n return {\n formattedValue: internalValue,\n handleChange,\n handleKeyDown,\n maxLength,\n };\n};\n"],"names":["format","value","pattern","result","valueIndex","i","length","patternChar","stripPatternCharacters","replace","isUserCharacter","character","test","useFormattedInput","_ref","onChange","userValue","_ref$defaultValue","defaultValue","initialValue","useMemo","_useState","useState","_useState2","_slicedToArray","internalValue","setInternalValue","inputRef","useRef","infoRef","maxLength","useEffect","undefined","emptyFormatted","_infoRef$current","current","cursorPosition","endOfSection","setSelectionRange","handleChange","useCallback","_ref2","_inputRef$current$sel","_inputRef$current","name","inputValue","cleanValue","currentValue","newInputValue","selectionStart","didDelete","rawValue","_currentValue$cursorP","deletedChar","deletedDelimiter","beforeCursor","substring","afterCursor","rawBefore","rawAfter","slice","formattedValue","nextChar","nextIsDelimiter","remainingText","nextUserCharIndex","search","hasMoreUserChars","_formattedValue","prevChar","prevIsDelimiter","handleKeyDown","event","currentTarget"],"mappings":";;;AAIA;AACA;AACA;AACA,IAAMA,MAAM,GAAG,SAATA,MAAMA,CAAIC,KAAa,EAAEC,OAAe,EAAa;AACzD,EAAA,IAAI,CAACA,OAAO,EAAE,OAAOD,KAAK,CAAA;EAE1B,IAAIE,MAAM,GAAG,EAAE,CAAA;EACf,IAAIC,UAAU,GAAG,CAAC,CAAA;AAElB,EAAA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGH,OAAO,CAACI,MAAM,EAAED,CAAC,EAAE,EAAE;AACvC,IAAA,IAAME,WAAW,GAAGL,OAAO,CAACG,CAAC,CAAC,CAAC;;IAE/B,IAAIE,WAAW,KAAK,GAAG,EAAE;AACvB,MAAA,IAAIH,UAAU,GAAGH,KAAK,CAACK,MAAM,EAAE;AAC7BH,QAAAA,MAAM,IAAIF,KAAK,CAACG,UAAU,CAAC,CAAC;AAC5BA,QAAAA,UAAU,EAAE,CAAA;AACd,OAAC,MAAM;AACL,QAAA,MAAM;AACR,OAAA;AACF,KAAC,MAAM;MACLD,MAAM,IAAII,WAAW,CAAC;AACxB,KAAA;AACF,GAAA;EAEA,OAAOJ,MAAM,CAAC;AAChB,CAAC,CAAA;;AAED;AACA;AACA;AACA,IAAMK,sBAAsB,GAAG,SAAzBA,sBAAsBA,CAAIP,KAAa,EAAa;EACxD,OAAOA,KAAK,CAACQ,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;AACxC,CAAC,CAAA;;AAED;AACA;AACA;AACA,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,SAAiB,EAAc;AACtD,EAAA,OAAO,SAAS,CAACC,IAAI,CAACD,SAAS,CAAC,CAAC;AACnC,CAAC,CAAA;AAgBD;AACA;AACA;AACA;IACaE,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAAC,IAAA,EA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A,GAAAA,eAAA,GAAI,EAAE,CAAA;AACzD,QAAA,IAAME,eAAe,GAAG,CAAC5D,eAAe,CAAC2D,QAAQ,CAAC,CAAA;AAElD,QAAA,IAAIC,eAAe,EAAE;UACnBzC,OAAO,CAACM,OAAO,CAACC,cAAc,GAAGA,cAAc,GAAG6B,iBAAiB,GAAG,CAAC,CAAA;AACzE,SAAA;AACF,OAAA;AACF,KAAA;AAEAlD,IAAAA,QAAQ,KAARA,IAAAA,IAAAA,QAAQ,KAARA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,QAAQ,CAAG;AAAE6B,MAAAA,IAAI,EAAJA,IAAI;AAAE3C,MAAAA,KAAK,EAAE4D,cAAc;AAAEV,MAAAA,QAAQ,EAARA,QAAAA;AAAS,KAAC,CAAC,CAAA;IACrDzB,gBAAgB,CAACmC,cAAc,CAAC,CAAA;GACjC,EACD,CAAC3D,OAAO,EAAEa,QAAQ,EAAEU,aAAa,CACnC,CAAC,CAAA;AAED,EAAA,IAAM8C,aAAa,GAAG/B,WAAW,CAAC,UAACgC,KAA4C,EAAK;IAClF,IAAIA,KAAK,CAACC,aAAa,IAAI9C,QAAQ,CAACQ,OAAO,KAAKqC,KAAK,CAACC,aAAa,EAAE;AACnE9C,MAAAA,QAAQ,CAACQ,OAAO,GAAGqC,KAAK,CAACC,aAAa,CAAA;AACxC,KAAA;GACD,EAAE,EAAE,CAAC,CAAA;EAEN,OAAO;AACLZ,IAAAA,cAAc,EAAEpC,aAAa;AAC7Bc,IAAAA,YAAY,EAAZA,YAAY;AACZgC,IAAAA,aAAa,EAAbA,aAAa;AACbzC,IAAAA,SAAS,EAATA,SAAAA;GACD,CAAA;AACH;;;;"}
|
|
1
|
+
{"version":3,"file":"useFormattedInput.js","sources":["../../../../../../../src/components/Input/TextInput/useFormattedInput.ts"],"sourcesContent":["import type React from 'react';\nimport { useCallback, useRef, useState, useEffect, useMemo } from 'react';\nimport type { FormInputOnEvent } from '~components/Form/FormTypes';\n\n/**\n * Formats user input according to pattern. format(\"1234\", \"##/##\") → \"12/34\"\n */\nconst format = (value: string, pattern: string): string => {\n if (!pattern) return value;\n\n let result = '';\n let valueIndex = 0;\n\n for (let i = 0; i < pattern.length; i++) {\n const patternChar = pattern[i]; // \"#\" or \"/\"\n\n if (patternChar === '#') {\n if (valueIndex < value.length) {\n result += value[valueIndex]; // add \"1\" from \"1234\"\n valueIndex++;\n } else {\n break; // No more input chars, stop\n }\n } else {\n result += patternChar; // add \"/\" delimiter\n }\n }\n\n return result; // \"12/34\"\n};\n\n/**\n * Removes delimiters, keeps only user input. stripPatternCharacters(\"12/34\") → \"1234\"\n */\nconst stripPatternCharacters = (value: string): string => {\n return value.replace(/[^\\dA-z]/g, ''); // \"12/34\" → \"1234\" (removes \"/\")\n};\n\n/**\n * Checks if character is user input vs delimiter. isUserCharacter('1') → true, isUserCharacter('/') → false\n */\nconst isUserCharacter = (character: string): boolean => {\n return /[\\dA-z]/.test(character); // \"1\" → true, \"/\" → false\n};\n\ntype UseFormattedInputProps = {\n format?: string;\n onChange?: (params: { name?: string; value?: string; rawValue?: string }) => void;\n value?: string;\n defaultValue?: string;\n};\n\ntype UseFormattedInputReturn = {\n formattedValue: string;\n handleChange: FormInputOnEvent;\n handleKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;\n maxLength?: number;\n};\n\n/**\n * Hook for pattern-based input formatting with smart cursor positioning.\n * useFormattedInput({ format: \"##/##\" }) transforms \"1234\" → \"12/34\"\n */\nexport const useFormattedInput = ({\n format: pattern,\n onChange,\n value: userValue,\n defaultValue = '',\n}: UseFormattedInputProps): UseFormattedInputReturn => {\n const initialValue = useMemo(() => {\n return format(userValue ?? defaultValue, pattern ?? '');\n }, [userValue, defaultValue, pattern]);\n\n const [internalValue, setInternalValue] = useState(initialValue);\n const inputRef = useRef<HTMLInputElement | null>(null);\n const infoRef = useRef<{\n cursorPosition?: number;\n endOfSection?: boolean;\n }>({});\n\n const maxLength = useMemo(() => pattern?.length, [pattern]);\n\n // Reset internal state when parent clears value (form resets, external state changes)\n // Preserves format delimiters for visual guidance. Example: \"(###)\" → \"( )\" when cleared\n useEffect(() => {\n if ((userValue === '' || userValue === undefined) && defaultValue === '') {\n const emptyFormatted = format('', pattern ?? '');\n setInternalValue(emptyFormatted);\n }\n // DATEPICKER FIX: Sync internal state when external value changes\n // This addresses the issue where DatePicker programmatically updates the value prop\n // (e.g., when user selects date from calendar), but the formatted input's internal\n // state doesn't update, causing the input to not reflect the new value.\n // Without this, only user typing and empty resets were handled.\n if (userValue !== undefined && userValue !== '' && pattern) {\n const rawValue = stripPatternCharacters(userValue);\n const newFormatted = format(rawValue, pattern);\n\n // Only update if the formatted value actually changed to avoid unnecessary re-renders\n if (newFormatted !== internalValue) {\n setInternalValue(newFormatted);\n }\n }\n }, [userValue, pattern]);\n\n // Apply calculated cursor position after value updates\n useEffect(() => {\n const { cursorPosition, endOfSection } = infoRef.current;\n\n if (endOfSection || cursorPosition === undefined) return; // Skip if no position or end section\n\n if (inputRef.current) {\n inputRef.current.setSelectionRange(cursorPosition, cursorPosition);\n }\n }, [internalValue]);\n\n const handleChange: FormInputOnEvent = useCallback(\n ({ name, value: inputValue }) => {\n if (!pattern) {\n // No pattern = regular input\n const cleanValue = inputValue ?? '';\n onChange?.({ name, value: cleanValue });\n setInternalValue(cleanValue);\n return;\n }\n\n const currentValue = internalValue; // \"12/34\" (user wants to delete \"/\")\n const newInputValue = inputValue ?? ''; // \"1234\" (after deleting \"/\")\n const cursorPosition = inputRef.current?.selectionStart ?? 0; // 2 (cursor where \"/\" was)\n const didDelete = newInputValue.length < currentValue.length; // 4 < 5 → true\n\n infoRef.current.cursorPosition = cursorPosition;\n\n let rawValue = stripPatternCharacters(newInputValue); // \"1234\" → \"1234\"\n\n // Handle special case: user deleted a delimiter (like deleting \"/\" in \"12/|34\")\n if (didDelete) {\n const deletedChar = currentValue[cursorPosition] ?? ''; // \"12/34\"[2] → \"/\"\n const deletedDelimiter = !isUserCharacter(deletedChar); // \"/\" → true (is delimiter)\n\n if (deletedDelimiter) {\n // true (will execute for \"/\" deletion)\n const beforeCursor = newInputValue.substring(0, cursorPosition); // \"12\" (before cursor)\n const afterCursor = newInputValue.substring(cursorPosition); // \"34\" (after cursor)\n const rawBefore = stripPatternCharacters(beforeCursor); // \"12\" → \"12\"\n const rawAfter = stripPatternCharacters(afterCursor); // \"34\" → \"34\"\n\n rawValue = rawBefore.slice(0, -1) + rawAfter; // \"12\".slice(0,-1) + \"34\" → \"1\" + \"34\" → \"134\"\n\n // Removes trailing non-alphanumeric characters from the end of the string, preserving the last alphanumeric word before them.\n infoRef.current.cursorPosition =\n beforeCursor.replace(/([\\d\\w]+)[^\\dA-z]+$/, '$1').length - 1;\n }\n }\n\n const formattedValue = format(rawValue, pattern); // format(\"134\", \"##/##\") → \"13/4\"\n infoRef.current.endOfSection = false;\n\n // Handle cursor positioning when typing (not deleting)\n if (!didDelete) {\n // User types \"2\" in \"1|\" → becomes \"12|/\" → should jump to \"12/|\"\n const nextChar = formattedValue[cursorPosition]; // \"12/\"[2] → \"/\" (delimiter)\n const nextIsDelimiter = nextChar ? !isUserCharacter(nextChar) : false; // \"/\" → true\n\n const remainingText = formattedValue.substring(cursorPosition); // \"12/\".substring(2) → \"/\"\n const nextUserCharIndex = remainingText.search(/[\\dA-z]/); // \"/\".search() → -1 (no user chars)\n const hasMoreUserChars = nextUserCharIndex !== -1; // -1 !== -1 → false\n\n infoRef.current.endOfSection = nextIsDelimiter && !hasMoreUserChars; // true && false → false\n\n // Move cursor past auto-inserted delimiters for smooth typing\n if (nextIsDelimiter && hasMoreUserChars) {\n const prevChar = formattedValue[cursorPosition - 1] ?? '';\n const prevIsDelimiter = !isUserCharacter(prevChar);\n\n if (prevIsDelimiter) {\n infoRef.current.cursorPosition = cursorPosition + nextUserCharIndex + 1;\n } else {\n // If we're at a delimiter after typing (not deleting), and there are more chars,\n // we probably need to move past it unless it's a brand new delimiter\n const delimiterExistedBefore =\n currentValue[cursorPosition] === formattedValue[cursorPosition];\n if (delimiterExistedBefore) {\n infoRef.current.cursorPosition = cursorPosition + 1;\n }\n }\n }\n }\n\n onChange?.({ name, value: formattedValue, rawValue });\n setInternalValue(formattedValue);\n },\n [pattern, onChange, internalValue],\n );\n\n const handleKeyDown = useCallback((event: React.KeyboardEvent<HTMLInputElement>) => {\n if (event.currentTarget && inputRef.current !== event.currentTarget) {\n inputRef.current = event.currentTarget;\n }\n }, []);\n\n return {\n formattedValue: internalValue,\n handleChange,\n handleKeyDown,\n maxLength,\n };\n};\n"],"names":["format","value","pattern","result","valueIndex","i","length","patternChar","stripPatternCharacters","replace","isUserCharacter","character","test","useFormattedInput","_ref","onChange","userValue","_ref$defaultValue","defaultValue","initialValue","useMemo","_useState","useState","_useState2","_slicedToArray","internalValue","setInternalValue","inputRef","useRef","infoRef","maxLength","useEffect","undefined","emptyFormatted","rawValue","newFormatted","_infoRef$current","current","cursorPosition","endOfSection","setSelectionRange","handleChange","useCallback","_ref2","_inputRef$current$sel","_inputRef$current","name","inputValue","cleanValue","currentValue","newInputValue","selectionStart","didDelete","_currentValue$cursorP","deletedChar","deletedDelimiter","beforeCursor","substring","afterCursor","rawBefore","rawAfter","slice","formattedValue","nextChar","nextIsDelimiter","remainingText","nextUserCharIndex","search","hasMoreUserChars","_formattedValue","prevChar","prevIsDelimiter","delimiterExistedBefore","handleKeyDown","event","currentTarget"],"mappings":";;;AAIA;AACA;AACA;AACA,IAAMA,MAAM,GAAG,SAATA,MAAMA,CAAIC,KAAa,EAAEC,OAAe,EAAa;AACzD,EAAA,IAAI,CAACA,OAAO,EAAE,OAAOD,KAAK,CAAA;EAE1B,IAAIE,MAAM,GAAG,EAAE,CAAA;EACf,IAAIC,UAAU,GAAG,CAAC,CAAA;AAElB,EAAA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGH,OAAO,CAACI,MAAM,EAAED,CAAC,EAAE,EAAE;AACvC,IAAA,IAAME,WAAW,GAAGL,O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Elevate } from './Elevate/Elevate.web.js';
|
|
|
131
131
|
export { EmptyState } from './EmptyState/EmptyState.web.js';
|
|
132
132
|
export { Fade } from './Fade/Fade.web.js';
|
|
133
133
|
export { FileUpload } from './FileUpload/FileUpload.web.js';
|
|
134
|
+
export { default as AcceptPaymentsFilledIcon } from './Icons/AcceptPaymentsFilledIcon/AcceptPaymentsFilledIcon.js';
|
|
134
135
|
export { default as AcceptPaymentsIcon } from './Icons/AcceptPaymentsIcon/AcceptPaymentsIcon.js';
|
|
135
136
|
export { default as ActivityIcon } from './Icons/ActivityIcon/ActivityIcon.js';
|
|
136
137
|
export { default as AddressBookIcon } from './Icons/AddressBookIcon/AddressBookIcon.js';
|
|
138
|
+
export { default as AffordabilityFilledIcon } from './Icons/AffordabilityFilledIcon/AffordabilityFilledIcon.js';
|
|
137
139
|
export { default as AffordabilityIcon } from './Icons/AffordabilityIcon/AffordabilityIcon.js';
|
|
138
140
|
export { default as AirplayIcon } from './Icons/AirplayIcon/AirplayIcon.js';
|
|
139
141
|
export { default as AlertCircleIcon } from './Icons/AlertCircleIcon/AlertCircleIcon.js';
|
|
@@ -169,8 +171,10 @@ export { default as ArrowUpRightIcon } from './Icons/ArrowUpRightIcon/ArrowUpRig
|
|
|
169
171
|
export { default as AtSignIcon } from './Icons/AtSignIcon/AtSignIcon.js';
|
|
170
172
|
export { default as AttachmentIcon } from './Icons/AttachmentIcon/AttachmentIcon.js';
|
|
171
173
|
export { default as AutomateAccountingIcon } from './Icons/AutomateAccountingIcon/AutomateAccountingIcon.js';
|
|
174
|
+
export { default as AutomatePayrollFilledIcon } from './Icons/AutomatePayrollFilledIcon/AutomatePayrollFilledIcon.js';
|
|
172
175
|
export { default as AutomatePayrollIcon } from './Icons/AutomatePayrollIcon/AutomatePayrollIcon.js';
|
|
173
176
|
export { default as AwardIcon } from './Icons/AwardIcon/AwardIcon.js';
|
|
177
|
+
export { default as BankAccountVerificationFilledIcon } from './Icons/BankAccountVerificationFilledIcon/BankAccountVerificationFilledIcon.js';
|
|
174
178
|
export { default as BankAccountVerificationIcon } from './Icons/BankAccountVerificationIcon/BankAccountVerificationIcon.js';
|
|
175
179
|
export { default as BankIcon } from './Icons/BankIcon/BankIcon.js';
|
|
176
180
|
export { default as BarChartAltIcon } from './Icons/BarChartAltIcon/BarChartAltIcon.js';
|
|
@@ -185,8 +189,10 @@ export { default as BatteryChargingIcon } from './Icons/BatteryChargingIcon/Batt
|
|
|
185
189
|
export { default as BatteryIcon } from './Icons/BatteryIcon/BatteryIcon.js';
|
|
186
190
|
export { default as BellIcon } from './Icons/BellIcon/BellIcon.js';
|
|
187
191
|
export { default as BellOffIcon } from './Icons/BellOffIcon/BellOffIcon.js';
|
|
192
|
+
export { default as BfsiFilledIcon } from './Icons/BfsiFilledIcon/BfsiFilledIcon.js';
|
|
188
193
|
export { default as BfsiIcon } from './Icons/BfsiIcon/BfsiIcon.js';
|
|
189
194
|
export { default as BillIcon } from './Icons/BillIcon/BillIcon.js';
|
|
195
|
+
export { default as BillMeFilledIcon } from './Icons/BillMeFilledIcon/BillMeFilledIcon.js';
|
|
190
196
|
export { default as BillMeIcon } from './Icons/BillMeIcon/BillMeIcon.js';
|
|
191
197
|
export { default as BluetoothIcon } from './Icons/BluetoothIcon/BluetoothIcon.js';
|
|
192
198
|
export { default as BoldIcon } from './Icons/BoldIcon/BoldIcon.js';
|
|
@@ -196,8 +202,10 @@ export { default as BoxIcon } from './Icons/BoxIcon/BoxIcon.js';
|
|
|
196
202
|
export { default as BriefcaseIcon } from './Icons/BriefcaseIcon/BriefcaseIcon.js';
|
|
197
203
|
export { default as BugIcon } from './Icons/BugIcon/BugIcon.js';
|
|
198
204
|
export { default as BuildingIcon } from './Icons/BuildingIcon/BuildingIcon.js';
|
|
205
|
+
export { default as BulkPayoutsFilledIcon } from './Icons/BulkPayoutsFilledIcon/BulkPayoutsFilledIcon.js';
|
|
199
206
|
export { default as BulkPayoutsIcon } from './Icons/BulkPayoutsIcon/BulkPayoutsIcon.js';
|
|
200
207
|
export { default as BusinessBankingIcon } from './Icons/BusinessBankingIcon/BusinessBankingIcon.js';
|
|
208
|
+
export { default as BusinessSpendManagementFilledIcon } from './Icons/BusinessSpendManagementFilledIcon/BusinessSpendManagementFilledIcon.js';
|
|
201
209
|
export { default as BusinessSpendManagementIcon } from './Icons/BusinessSpendManagementIcon/BusinessSpendManagementIcon.js';
|
|
202
210
|
export { default as CalendarIcon } from './Icons/CalendarIcon/CalendarIcon.js';
|
|
203
211
|
export { default as CameraIcon } from './Icons/CameraIcon/CameraIcon.js';
|
|
@@ -234,6 +242,7 @@ export { default as CodepenIcon } from './Icons/CodepenIcon/CodepenIcon.js';
|
|
|
234
242
|
export { default as CoinIcon } from './Icons/CoinIcon/CoinIcon.js';
|
|
235
243
|
export { default as CoinsIcon } from './Icons/CoinsIcon/CoinsIcon.js';
|
|
236
244
|
export { default as CommandIcon } from './Icons/CommandIcon/CommandIcon.js';
|
|
245
|
+
export { default as CompanyRegistrationFilledIcon } from './Icons/CompanyRegistrationFilledIcon/CompanyRegistrationFilledIcon.js';
|
|
237
246
|
export { default as CompanyRegistrationIcon } from './Icons/CompanyRegistrationIcon/CompanyRegistrationIcon.js';
|
|
238
247
|
export { default as CompassIcon } from './Icons/CompassIcon/CompassIcon.js';
|
|
239
248
|
export { default as ConfettiIcon } from './Icons/ConfettiIcon/ConfettiIcon.js';
|
|
@@ -251,15 +260,19 @@ export { default as CornerUpLeftIcon } from './Icons/CornerUpLeftIcon/CornerUpLe
|
|
|
251
260
|
export { default as CornerUpRightIcon } from './Icons/CornerUpRightIcon/CornerUpRightIcon.js';
|
|
252
261
|
export { default as CpuIcon } from './Icons/CpuIcon/CpuIcon.js';
|
|
253
262
|
export { default as CreditCardIcon } from './Icons/CreditCardIcon/CreditCardIcon.js';
|
|
263
|
+
export { default as CreditsAndLoansFilledIcon } from './Icons/CreditsAndLoansFilledIcon/CreditsAndLoansFilledIcon.js';
|
|
254
264
|
export { default as CreditsAndLoansIcon } from './Icons/CreditsAndLoansIcon/CreditsAndLoansIcon.js';
|
|
255
265
|
export { default as CropIcon } from './Icons/CropIcon/CropIcon.js';
|
|
256
266
|
export { default as CrosshairIcon } from './Icons/CrosshairIcon/CrosshairIcon.js';
|
|
267
|
+
export { default as CurrentAccountFilledIcon } from './Icons/CurrentAccountFilledIcon/CurrentAccountFilledIcon.js';
|
|
257
268
|
export { default as CurrentAccountIcon } from './Icons/CurrentAccountIcon/CurrentAccountIcon.js';
|
|
258
269
|
export { default as CustomersIcon } from './Icons/CustomersIcon/CustomersIcon.js';
|
|
259
270
|
export { default as CutIcon } from './Icons/CutIcon/CutIcon.js';
|
|
260
271
|
export { default as DashboardIcon } from './Icons/DashboardIcon/DashboardIcon.js';
|
|
261
272
|
export { default as DeleteIcon } from './Icons/DeleteIcon/DeleteIcon.js';
|
|
273
|
+
export { default as DigitalLendingFilledIcon } from './Icons/DigitalLendingFilledIcon/DigitalLendingFilledIcon.js';
|
|
262
274
|
export { default as DigitalLendingIcon } from './Icons/DigitalLendingIcon/DigitalLendingIcon.js';
|
|
275
|
+
export { default as DisbursePaymentsFilledIcon } from './Icons/DisbursePaymentsFilledIcon/DisbursePaymentsFilledIcon.js';
|
|
263
276
|
export { default as DisbursePaymentsIcon } from './Icons/DisbursePaymentsIcon/DisbursePaymentsIcon.js';
|
|
264
277
|
export { default as DiscIcon } from './Icons/DiscIcon/DiscIcon.js';
|
|
265
278
|
export { default as DollarIcon } from './Icons/DollarIcon/DollarIcon.js';
|
|
@@ -269,13 +282,17 @@ export { default as DownloadCloudIcon } from './Icons/DownloadCloudIcon/Download
|
|
|
269
282
|
export { default as DownloadIcon } from './Icons/DownloadIcon/DownloadIcon.js';
|
|
270
283
|
export { default as DragHandleIcon } from './Icons/DragHandleIcon/DragHandleIcon.js';
|
|
271
284
|
export { default as DropletIcon } from './Icons/DropletIcon/DropletIcon.js';
|
|
285
|
+
export { default as EcommerceFilledIcon } from './Icons/EcommerceFilledIcon/EcommerceFilledIcon.js';
|
|
272
286
|
export { default as EcommerceIcon } from './Icons/EcommerceIcon/EcommerceIcon.js';
|
|
273
287
|
export { default as EditComposeIcon } from './Icons/EditComposeIcon/EditComposeIcon.js';
|
|
274
288
|
export { default as EditIcon } from './Icons/EditIcon/EditIcon.js';
|
|
275
289
|
export { default as EditInlineIcon } from './Icons/EditInlineIcon/EditInlineIcon.js';
|
|
290
|
+
export { default as EducationFilledIcon } from './Icons/EducationFilledIcon/EducationFilledIcon.js';
|
|
276
291
|
export { default as EducationIcon } from './Icons/EducationIcon/EducationIcon.js';
|
|
292
|
+
export { default as EngageFilledIcon } from './Icons/EngageFilledIcon/EngageFilledIcon.js';
|
|
277
293
|
export { default as EngageIcon } from './Icons/EngageIcon/EngageIcon.js';
|
|
278
294
|
export { default as EqualsIcon } from './Icons/EqualsIcon/EqualsIcon.js';
|
|
295
|
+
export { default as EscrowAccountFilledIcon } from './Icons/EscrowAccountFilledIcon/EscrowAccountFilledIcon.js';
|
|
279
296
|
export { default as EscrowAccountIcon } from './Icons/EscrowAccountIcon/EscrowAccountIcon.js';
|
|
280
297
|
export { default as ExportIcon } from './Icons/ExportIcon/ExportIcon.js';
|
|
281
298
|
export { default as ExternalLinkIcon } from './Icons/ExternalLinkIcon/ExternalLinkIcon.js';
|
|
@@ -295,7 +312,9 @@ export { default as FilterIcon } from './Icons/FilterIcon/FilterIcon.js';
|
|
|
295
312
|
export { default as FlagIcon } from './Icons/FlagIcon/FlagIcon.js';
|
|
296
313
|
export { default as FlaskIcon } from './Icons/FlaskIcon/FlaskIcon.js';
|
|
297
314
|
export { default as FolderIcon } from './Icons/FolderIcon/FolderIcon.js';
|
|
315
|
+
export { default as ForexManagementFilledIcon } from './Icons/ForexManagementFilledIcon/ForexManagementFilledIcon.js';
|
|
298
316
|
export { default as ForexManagementIcon } from './Icons/ForexManagementIcon/ForexManagementIcon.js';
|
|
317
|
+
export { default as FreelanceFilledIcon } from './Icons/FreelanceFilledIcon/FreelanceFilledIcon.js';
|
|
299
318
|
export { default as FreelanceIcon } from './Icons/FreelanceIcon/FreelanceIcon.js';
|
|
300
319
|
export { default as FullScreenEnterIcon } from './Icons/FullScreenEnterIcon/FullScreenEnterIcon.js';
|
|
301
320
|
export { default as FullScreenExitIcon } from './Icons/FullScreenExitIcon/FullScreenExitIcon.js';
|
|
@@ -316,8 +335,11 @@ export { default as InboxIcon } from './Icons/InboxIcon/InboxIcon.js';
|
|
|
316
335
|
export { default as IndiaFlagIcon } from './Icons/IndiaFlagIcon/IndiaFlagIcon.js';
|
|
317
336
|
export { default as InfoIcon } from './Icons/InfoIcon/InfoIcon.js';
|
|
318
337
|
export { default as InstagramIcon } from './Icons/InstagramIcon/InstagramIcon.js';
|
|
338
|
+
export { default as InstantSettlementFilledIcon } from './Icons/InstantSettlementFilledIcon/InstantSettlementFilledIcon.js';
|
|
319
339
|
export { default as InstantSettlementIcon } from './Icons/InstantSettlementIcon/InstantSettlementIcon.js';
|
|
340
|
+
export { default as InternationalPaymentsFilledIcon } from './Icons/InternationalPaymentsFilledIcon/InternationalPaymentsFilledIcon.js';
|
|
320
341
|
export { default as InternationalPaymentsIcon } from './Icons/InternationalPaymentsIcon/InternationalPaymentsIcon.js';
|
|
342
|
+
export { default as InvoicesFilledIcon } from './Icons/InvoicesFilledIcon/InvoicesFilledIcon.js';
|
|
321
343
|
export { default as InvoicesIcon } from './Icons/InvoicesIcon/InvoicesIcon.js';
|
|
322
344
|
export { default as ItalicIcon } from './Icons/ItalicIcon/ItalicIcon.js';
|
|
323
345
|
export { default as KeyIcon } from './Icons/KeyIcon/KeyIcon.js';
|
|
@@ -330,11 +352,14 @@ export { default as LinkIcon } from './Icons/LinkIcon/LinkIcon.js';
|
|
|
330
352
|
export { default as ListIcon } from './Icons/ListIcon/ListIcon.js';
|
|
331
353
|
export { default as ListSearchIcon } from './Icons/ListSearchIcon/ListSearchIcon.js';
|
|
332
354
|
export { default as LoaderIcon } from './Icons/LoaderIcon/LoaderIcon.js';
|
|
355
|
+
export { default as LoansForBusinessesFilledIcon } from './Icons/LoansForBusinessesFilledIcon/LoansForBusinessesFilledIcon.js';
|
|
333
356
|
export { default as LoansForBusinessesIcon } from './Icons/LoansForBusinessesIcon/LoansForBusinessesIcon.js';
|
|
334
357
|
export { default as LockIcon } from './Icons/LockIcon/LockIcon.js';
|
|
335
358
|
export { default as LogInIcon } from './Icons/LogInIcon/LogInIcon.js';
|
|
336
359
|
export { default as LogOutIcon } from './Icons/LogOutIcon/LogOutIcon.js';
|
|
360
|
+
export { default as MagicCheckoutFilledIcon } from './Icons/MagicCheckoutFilledIcon/MagicCheckoutFilledIcon.js';
|
|
337
361
|
export { default as MagicCheckoutIcon } from './Icons/MagicCheckoutIcon/MagicCheckoutIcon.js';
|
|
362
|
+
export { default as MagicKonnectFilledIcon } from './Icons/MagicKonnectFilledIcon/MagicKonnectFilledIcon.js';
|
|
338
363
|
export { default as MagicKonnectIcon } from './Icons/MagicKonnectIcon/MagicKonnectIcon.js';
|
|
339
364
|
export { default as MailIcon } from './Icons/MailIcon/MailIcon.js';
|
|
340
365
|
export { default as MailOpenIcon } from './Icons/MailOpenIcon/MailOpenIcon.js';
|
|
@@ -351,9 +376,11 @@ export { default as MinimizeIcon } from './Icons/MinimizeIcon/MinimizeIcon.js';
|
|
|
351
376
|
export { default as MinusCircleIcon } from './Icons/MinusCircleIcon/MinusCircleIcon.js';
|
|
352
377
|
export { default as MinusIcon } from './Icons/MinusIcon/MinusIcon.js';
|
|
353
378
|
export { default as MinusSquareIcon } from './Icons/MinusSquareIcon/MinusSquareIcon.js';
|
|
379
|
+
export { default as MobileAppFilledIcon } from './Icons/MobileAppFilledIcon/MobileAppFilledIcon.js';
|
|
354
380
|
export { default as MobileAppIcon } from './Icons/MobileAppIcon/MobileAppIcon.js';
|
|
355
381
|
export { default as MonitorIcon } from './Icons/MonitorIcon/MonitorIcon.js';
|
|
356
382
|
export { default as MoonIcon } from './Icons/MoonIcon/MoonIcon.js';
|
|
383
|
+
export { default as MoreFilledIcon } from './Icons/MoreFilledIcon/MoreFilledIcon.js';
|
|
357
384
|
export { default as MoreHorizontalIcon } from './Icons/MoreHorizontalIcon/MoreHorizontalIcon.js';
|
|
358
385
|
export { default as MoreIcon } from './Icons/MoreIcon/MoreIcon.js';
|
|
359
386
|
export { default as MoreVerticalIcon } from './Icons/MoreVerticalIcon/MoreVerticalIcon.js';
|
|
@@ -364,22 +391,31 @@ export { default as NavigationIcon } from './Icons/NavigationIcon/NavigationIcon
|
|
|
364
391
|
export { default as NoSignalIcon } from './Icons/NoSignalIcon/NoSignalIcon.js';
|
|
365
392
|
export { default as OctagonIcon } from './Icons/OctagonIcon/OctagonIcon.js';
|
|
366
393
|
export { default as OffersIcon } from './Icons/OffersIcon/OffersIcon.js';
|
|
394
|
+
export { default as OptimizerFilledIcon } from './Icons/OptimizerFilledIcon/OptimizerFilledIcon.js';
|
|
367
395
|
export { default as OptimizerIcon } from './Icons/OptimizerIcon/OptimizerIcon.js';
|
|
368
396
|
export { default as PackageIcon } from './Icons/PackageIcon/PackageIcon.js';
|
|
369
397
|
export { default as PaperclipIcon } from './Icons/PaperclipIcon/PaperclipIcon.js';
|
|
370
398
|
export { default as PauseCircleIcon } from './Icons/PauseCircleIcon/PauseCircleIcon.js';
|
|
371
399
|
export { default as PauseIcon } from './Icons/PauseIcon/PauseIcon.js';
|
|
400
|
+
export { default as PaymentButtonFilledIcon } from './Icons/PaymentButtonFilledIcon/PaymentButtonFilledIcon.js';
|
|
372
401
|
export { default as PaymentButtonIcon } from './Icons/PaymentButtonIcon/PaymentButtonIcon.js';
|
|
373
402
|
export { default as PaymentButtonsIcon } from './Icons/PaymentButtonsIcon/PaymentButtonsIcon.js';
|
|
403
|
+
export { default as PaymentGatewayFilledIcon } from './Icons/PaymentGatewayFilledIcon/PaymentGatewayFilledIcon.js';
|
|
374
404
|
export { default as PaymentGatewayIcon } from './Icons/PaymentGatewayIcon/PaymentGatewayIcon.js';
|
|
405
|
+
export { default as PaymentLinkFilledIcon } from './Icons/PaymentLinkFilledIcon/PaymentLinkFilledIcon.js';
|
|
375
406
|
export { default as PaymentLinkIcon } from './Icons/PaymentLinkIcon/PaymentLinkIcon.js';
|
|
376
407
|
export { default as PaymentLinksIcon } from './Icons/PaymentLinksIcon/PaymentLinksIcon.js';
|
|
408
|
+
export { default as PaymentPagesFilledIcon } from './Icons/PaymentPagesFilledIcon/PaymentPagesFilledIcon.js';
|
|
377
409
|
export { default as PaymentPagesIcon } from './Icons/PaymentPagesIcon/PaymentPagesIcon.js';
|
|
378
410
|
export { default as PayoutLinkIcon } from './Icons/PayoutLinkIcon/PayoutLinkIcon.js';
|
|
411
|
+
export { default as PayrollAddonsFilledIcon } from './Icons/PayrollAddonsFilledIcon/PayrollAddonsFilledIcon.js';
|
|
379
412
|
export { default as PayrollAddonsIcon } from './Icons/PayrollAddonsIcon/PayrollAddonsIcon.js';
|
|
413
|
+
export { default as PayrollForCaFilledIcon } from './Icons/PayrollForCaFilledIcon/PayrollForCaFilledIcon.js';
|
|
380
414
|
export { default as PayrollForCaIcon } from './Icons/PayrollForCaIcon/PayrollForCaIcon.js';
|
|
415
|
+
export { default as PayrollForStartupOrSmeFilledIcon } from './Icons/PayrollForStartupOrSmeFilledIcon/PayrollForStartupOrSmeFilledIcon.js';
|
|
381
416
|
export { default as PayrollForStartupOrSmeIcon } from './Icons/PayrollForStartupOrSmeIcon/PayrollForStartupOrSmeIcon.js';
|
|
382
417
|
export { default as PercentIcon } from './Icons/PercentIcon/PercentIcon.js';
|
|
418
|
+
export { default as PettyCashBudgetFilledIcon } from './Icons/PettyCashBudgetFilledIcon/PettyCashBudgetFilledIcon.js';
|
|
383
419
|
export { default as PettyCashBudgetIcon } from './Icons/PettyCashBudgetIcon/PettyCashBudgetIcon.js';
|
|
384
420
|
export { default as PhoneCallIcon } from './Icons/PhoneCallIcon/PhoneCallIcon.js';
|
|
385
421
|
export { default as PhoneForwardedIcon } from './Icons/PhoneForwardedIcon/PhoneForwardedIcon.js';
|
|
@@ -397,6 +433,7 @@ export { default as PlusCircleIcon } from './Icons/PlusCircleIcon/PlusCircleIcon
|
|
|
397
433
|
export { default as PlusIcon } from './Icons/PlusIcon/PlusIcon.js';
|
|
398
434
|
export { default as PlusSquareIcon } from './Icons/PlusSquareIcon/PlusSquareIcon.js';
|
|
399
435
|
export { default as PocketIcon } from './Icons/PocketIcon/PocketIcon.js';
|
|
436
|
+
export { default as PosFilledIcon } from './Icons/PosFilledIcon/PosFilledIcon.js';
|
|
400
437
|
export { default as PosIcon } from './Icons/PosIcon/PosIcon.js';
|
|
401
438
|
export { default as PowerIcon } from './Icons/PowerIcon/PowerIcon.js';
|
|
402
439
|
export { default as PrinterIcon } from './Icons/PrinterIcon/PrinterIcon.js';
|
|
@@ -406,6 +443,7 @@ export { default as RadioIcon } from './Icons/RadioIcon/RadioIcon.js';
|
|
|
406
443
|
export { default as RayIcon } from './Icons/RayIcon/RayIcon.js';
|
|
407
444
|
export { default as RazorpayIcon } from './Icons/RazorpayIcon/RazorpayIcon.js';
|
|
408
445
|
export { default as RazorpayXIcon } from './Icons/RazorpayXIcon/RazorpayXIcon.js';
|
|
446
|
+
export { default as RazorpayxPayrollFilledIcon } from './Icons/RazorpayxPayrollFilledIcon/RazorpayxPayrollFilledIcon.js';
|
|
409
447
|
export { default as RazorpayxPayrollIcon } from './Icons/RazorpayxPayrollIcon/RazorpayxPayrollIcon.js';
|
|
410
448
|
export { default as RefreshIcon } from './Icons/RefreshIcon/RefreshIcon.js';
|
|
411
449
|
export { default as RepeatIcon } from './Icons/RepeatIcon/RepeatIcon.js';
|
|
@@ -414,10 +452,12 @@ export { default as ResizerIcon } from './Icons/ResizerIcon/ResizerIcon.js';
|
|
|
414
452
|
export { default as RewindIcon } from './Icons/RewindIcon/RewindIcon.js';
|
|
415
453
|
export { default as RotateClockWiseIcon } from './Icons/RotateClockWiseIcon/RotateClockWiseIcon.js';
|
|
416
454
|
export { default as RotateCounterClockWiseIcon } from './Icons/RotateCounterClockWiseIcon/RotateCounterClockWiseIcon.js';
|
|
455
|
+
export { default as RouteFilledIcon } from './Icons/RouteFilledIcon/RouteFilledIcon.js';
|
|
417
456
|
export { default as RouteIcon } from './Icons/RouteIcon/RouteIcon.js';
|
|
418
457
|
export { default as RoutesIcon } from './Icons/RoutesIcon/RoutesIcon.js';
|
|
419
458
|
export { default as RupeeIcon } from './Icons/RupeeIcon/RupeeIcon.js';
|
|
420
459
|
export { default as RupeesIcon } from './Icons/RupeesIcon/RupeesIcon.js';
|
|
460
|
+
export { default as SaasFilledIcon } from './Icons/SaasFilledIcon/SaasFilledIcon.js';
|
|
421
461
|
export { default as SaasIcon } from './Icons/SaasIcon/SaasIcon.js';
|
|
422
462
|
export { default as SaveIcon } from './Icons/SaveIcon/SaveIcon.js';
|
|
423
463
|
export { default as ScissorsIcon } from './Icons/ScissorsIcon/ScissorsIcon.js';
|
|
@@ -443,10 +483,13 @@ export { default as SkipForwardIcon } from './Icons/SkipForwardIcon/SkipForwardI
|
|
|
443
483
|
export { default as SlackIcon } from './Icons/SlackIcon/SlackIcon.js';
|
|
444
484
|
export { default as SlashIcon } from './Icons/SlashIcon/SlashIcon.js';
|
|
445
485
|
export { default as SlidersIcon } from './Icons/SlidersIcon/SlidersIcon.js';
|
|
486
|
+
export { default as SmartCollectFilledIcon } from './Icons/SmartCollectFilledIcon/SmartCollectFilledIcon.js';
|
|
446
487
|
export { default as SmartCollectIcon } from './Icons/SmartCollectIcon/SmartCollectIcon.js';
|
|
447
488
|
export { default as SmartphoneIcon } from './Icons/SmartphoneIcon/SmartphoneIcon.js';
|
|
489
|
+
export { default as SolutionsFilledIcon } from './Icons/SolutionsFilledIcon/SolutionsFilledIcon.js';
|
|
448
490
|
export { default as SolutionsIcon } from './Icons/SolutionsIcon/SolutionsIcon.js';
|
|
449
491
|
export { default as SortIcon } from './Icons/SortIcon/SortIcon.js';
|
|
492
|
+
export { default as SourceToPayFilledIcon } from './Icons/SourceToPayFilledIcon/SourceToPayFilledIcon.js';
|
|
450
493
|
export { default as SourceToPayIcon } from './Icons/SourceToPayIcon/SourceToPayIcon.js';
|
|
451
494
|
export { default as SparklesIcon } from './Icons/SparklesIcon/SparklesIcon.js';
|
|
452
495
|
export { default as SpeakerIcon } from './Icons/SpeakerIcon/SpeakerIcon.js';
|
|
@@ -455,6 +498,7 @@ export { default as StampIcon } from './Icons/StampIcon/StampIcon.js';
|
|
|
455
498
|
export { default as StarIcon } from './Icons/StarIcon/StarIcon.js';
|
|
456
499
|
export { default as StopCircleIcon } from './Icons/StopCircleIcon/StopCircleIcon.js';
|
|
457
500
|
export { default as StorefrontIcon } from './Icons/StorefrontIcon/StorefrontIcon.js';
|
|
501
|
+
export { default as SubscriptionsFilledIcon } from './Icons/SubscriptionsFilledIcon/SubscriptionsFilledIcon.js';
|
|
458
502
|
export { default as SubscriptionsIcon } from './Icons/SubscriptionsIcon/SubscriptionsIcon.js';
|
|
459
503
|
export { default as SunIcon } from './Icons/SunIcon/SunIcon.js';
|
|
460
504
|
export { default as SunriseIcon } from './Icons/SunriseIcon/SunriseIcon.js';
|
|
@@ -462,6 +506,7 @@ export { default as SunsetIcon } from './Icons/SunsetIcon/SunsetIcon.js';
|
|
|
462
506
|
export { default as TabletIcon } from './Icons/TabletIcon/TabletIcon.js';
|
|
463
507
|
export { default as TagIcon } from './Icons/TagIcon/TagIcon.js';
|
|
464
508
|
export { default as TargetIcon } from './Icons/TargetIcon/TargetIcon.js';
|
|
509
|
+
export { default as TaxPaymentsFilledIcon } from './Icons/TaxPaymentsFilledIcon/TaxPaymentsFilledIcon.js';
|
|
465
510
|
export { default as TaxPaymentsIcon } from './Icons/TaxPaymentsIcon/TaxPaymentsIcon.js';
|
|
466
511
|
export { default as TestIcon } from './Icons/TestIcon/TestIcon.js';
|
|
467
512
|
export { default as ThermometerIcon } from './Icons/ThermometerIcon/ThermometerIcon.js';
|
|
@@ -470,6 +515,7 @@ export { default as ThumbsUpIcon } from './Icons/ThumbsUpIcon/ThumbsUpIcon.js';
|
|
|
470
515
|
export { default as TicketIcon } from './Icons/TicketIcon/TicketIcon.js';
|
|
471
516
|
export { default as ToggleLeftIcon } from './Icons/ToggleLeftIcon/ToggleLeftIcon.js';
|
|
472
517
|
export { default as ToggleRightIcon } from './Icons/ToggleRightIcon/ToggleRightIcon.js';
|
|
518
|
+
export { default as TokenHqFilledIcon } from './Icons/TokenHqFilledIcon/TokenHqFilledIcon.js';
|
|
473
519
|
export { default as TokenHqIcon } from './Icons/TokenHqIcon/TokenHqIcon.js';
|
|
474
520
|
export { default as TopLeftRoundedCornerIcon } from './Icons/TopLeftRoundedCornerIcon/TopLeftRoundedCornerIcon.js';
|
|
475
521
|
export { default as TopLeftSharpCornerIcon } from './Icons/TopLeftSharpCornerIcon/TopLeftSharpCornerIcon.js';
|
|
@@ -487,6 +533,7 @@ export { default as TypeIcon } from './Icons/TypeIcon/TypeIcon.js';
|
|
|
487
533
|
export { default as UmbrellaIcon } from './Icons/UmbrellaIcon/UmbrellaIcon.js';
|
|
488
534
|
export { default as UnderlineIcon } from './Icons/UnderlineIcon/UnderlineIcon.js';
|
|
489
535
|
export { default as UnlockIcon } from './Icons/UnlockIcon/UnlockIcon.js';
|
|
536
|
+
export { default as UpiAutopayFilledIcon } from './Icons/UpiAutopayFilledIcon/UpiAutopayFilledIcon.js';
|
|
490
537
|
export { default as UpiAutopayIcon } from './Icons/UpiAutopayIcon/UpiAutopayIcon.js';
|
|
491
538
|
export { default as UpiIcon } from './Icons/UpiIcon/UpiIcon.js';
|
|
492
539
|
export { default as UploadCloudIcon } from './Icons/UploadCloudIcon/UploadCloudIcon.js';
|
|
@@ -497,15 +544,19 @@ export { default as UserMinusIcon } from './Icons/UserMinusIcon/UserMinusIcon.js
|
|
|
497
544
|
export { default as UserPlusIcon } from './Icons/UserPlusIcon/UserPlusIcon.js';
|
|
498
545
|
export { default as UserXIcon } from './Icons/UserXIcon/UserXIcon.js';
|
|
499
546
|
export { default as UsersIcon } from './Icons/UsersIcon/UsersIcon.js';
|
|
547
|
+
export { default as VendorPaymentsFilledIcon } from './Icons/VendorPaymentsFilledIcon/VendorPaymentsFilledIcon.js';
|
|
500
548
|
export { default as VendorPaymentsIcon } from './Icons/VendorPaymentsIcon/VendorPaymentsIcon.js';
|
|
501
549
|
export { default as VideoIcon } from './Icons/VideoIcon/VideoIcon.js';
|
|
502
550
|
export { default as VideoOffIcon } from './Icons/VideoOffIcon/VideoOffIcon.js';
|
|
551
|
+
export { default as ViewLiveDemoFilledIcon } from './Icons/ViewLiveDemoFilledIcon/ViewLiveDemoFilledIcon.js';
|
|
503
552
|
export { default as ViewLiveDemoIcon } from './Icons/ViewLiveDemoIcon/ViewLiveDemoIcon.js';
|
|
504
553
|
export { default as VoicemailIcon } from './Icons/VoicemailIcon/VoicemailIcon.js';
|
|
505
554
|
export { default as VolumeHighIcon } from './Icons/VolumeHighIcon/VolumeHighIcon.js';
|
|
506
555
|
export { default as VolumeIcon } from './Icons/VolumeIcon/VolumeIcon.js';
|
|
507
556
|
export { default as VolumeLowIcon } from './Icons/VolumeLowIcon/VolumeLowIcon.js';
|
|
508
557
|
export { default as VolumeMuteIcon } from './Icons/VolumeMuteIcon/VolumeMuteIcon.js';
|
|
558
|
+
export { default as VolumeOffIcon } from './Icons/VolumeOffIcon/VolumeOffIcon.js';
|
|
559
|
+
export { default as VolumeOnIcon } from './Icons/VolumeOnIcon/VolumeOnIcon.js';
|
|
509
560
|
export { default as WalletIcon } from './Icons/WalletIcon/WalletIcon.js';
|
|
510
561
|
export { default as WatchIcon } from './Icons/WatchIcon/WatchIcon.js';
|
|
511
562
|
export { default as WhatsAppIcon } from './Icons/WhatsAppIcon/WhatsAppIcon.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|