paymob-pixel-alpha 1.1.79 → 1.1.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/main.js +30 -34
  2. package/package.json +1 -1
package/main.js CHANGED
@@ -23794,40 +23794,36 @@ function BankSelectionStep(props) {
23794
23794
  className: BankSelectionStep_bank_selection_module['payment-input-container'],
23795
23795
  children: loading ? /*#__PURE__*/(0,jsx_runtime.jsx)(dist_Skeleton, {
23796
23796
  height: 45
23797
- }) : /*#__PURE__*/(0,jsx_runtime.jsx)("dialog", {
23798
- open: true,
23799
- className: "static w-full",
23800
- children: /*#__PURE__*/(0,jsx_runtime.jsxs)(Dropdown_Dropdown, {
23801
- label: "Bank",
23802
- width: "full",
23803
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(DropdownButton, {
23804
- placeholder: "Select your bank",
23805
- text: (_selectedBankOption$v = selectedBankOption == null ? void 0 : selectedBankOption.value) != null ? _selectedBankOption$v : '',
23806
- leadingIcon: selectedBankOption && selectedBankOption.icon ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
23807
- className: `${BankSelectionStep_bank_selection_module['bank-logo']} h-full rounded-full`,
23808
- src: selectedBankOption.icon
23809
- }) : undefined,
23810
- onClearHandler: handleClearSelectedBank,
23811
- disabled: disabled
23812
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(DropdownMenu, {
23813
- verticalPlacement: "auto",
23814
- children: dropdownOptions.map(option => /*#__PURE__*/(0,jsx_runtime.jsx)(DropdownMenuItem, {
23815
- text: option.label,
23816
- selected: (selectedBank == null ? void 0 : selectedBank.value) === option.value,
23817
- onClickHandler: () => handleSelectBank(option),
23818
- render: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
23819
- className: "flex items-center gap-2",
23820
- children: [option.icon && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
23821
- className: `${BankSelectionStep_bank_selection_module['bank-logo']} h-6 w-auto`,
23822
- src: option.icon
23823
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
23824
- className: "text-[#101828] font-medium text-sm",
23825
- children: option.label
23826
- })]
23827
- })
23828
- }, option.value))
23829
- })]
23830
- })
23797
+ }) : /*#__PURE__*/(0,jsx_runtime.jsxs)(Dropdown_Dropdown, {
23798
+ label: "Bank",
23799
+ width: "full",
23800
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(DropdownButton, {
23801
+ placeholder: "Select your bank",
23802
+ text: (_selectedBankOption$v = selectedBankOption == null ? void 0 : selectedBankOption.value) != null ? _selectedBankOption$v : '',
23803
+ leadingIcon: selectedBankOption && selectedBankOption.icon ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
23804
+ className: `${BankSelectionStep_bank_selection_module['bank-logo']} h-full rounded-full`,
23805
+ src: selectedBankOption.icon
23806
+ }) : undefined,
23807
+ onClearHandler: handleClearSelectedBank,
23808
+ disabled: disabled
23809
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(DropdownMenu, {
23810
+ verticalPlacement: "auto",
23811
+ children: dropdownOptions.map(option => /*#__PURE__*/(0,jsx_runtime.jsx)(DropdownMenuItem, {
23812
+ text: option.label,
23813
+ selected: (selectedBank == null ? void 0 : selectedBank.value) === option.value,
23814
+ onClickHandler: () => handleSelectBank(option),
23815
+ render: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
23816
+ className: "flex items-center gap-2",
23817
+ children: [option.icon && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
23818
+ className: `${BankSelectionStep_bank_selection_module['bank-logo']} h-6 w-auto`,
23819
+ src: option.icon
23820
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
23821
+ className: "text-[#101828] font-medium text-sm",
23822
+ children: option.label
23823
+ })]
23824
+ })
23825
+ }, option.value))
23826
+ })]
23831
23827
  })
23832
23828
  }), !showMinInstallmentAmountError && selectedBank && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
23833
23829
  className: "w-full flex mt-4 flex-col gap-2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paymob-pixel-alpha",
3
- "version": "1.1.79",
3
+ "version": "1.1.80",
4
4
  "keywords": ["paymob","pixel","paymob-pixel"],
5
5
  "main": "./main.js",
6
6
  "license": "MIT",