@ledgerhq/lumen-ui-react 0.1.59 → 0.1.61
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/dist/index.js +120 -119
- package/dist/lib/Components/core/AmountInput/AmountInput.d.ts +1 -1
- package/dist/lib/Components/core/AmountInput/AmountInput.d.ts.map +1 -1
- package/dist/lib/Components/core/AmountInput/AmountInput.js +53 -51
- package/dist/lib/Components/core/AmountInput/useAmountInputValue/useAmountInputValue.js +6 -6
- package/dist/lib/Components/core/Avatar/resolveAvatarColor.js +2 -2
- package/dist/lib/Components/core/Banner/Banner.js +14 -14
- package/dist/lib/Components/core/Button/Button.js +4 -4
- package/dist/lib/Components/core/Card/Card.js +16 -16
- package/dist/lib/Components/core/CardButton/CardButton.js +8 -8
- package/dist/lib/Components/core/DataTable/DataTable.d.ts +1 -1
- package/dist/lib/Components/core/DataTable/DataTable.d.ts.map +1 -1
- package/dist/lib/Components/core/DataTable/DataTable.js +119 -115
- package/dist/lib/Components/core/DataTable/types.d.ts +7 -1
- package/dist/lib/Components/core/DataTable/types.d.ts.map +1 -1
- package/dist/lib/Components/core/Dialog/Dialog.js +4 -4
- package/dist/lib/Components/core/Divider/Divider.js +4 -4
- package/dist/lib/Components/core/DotIcon/DotIcon.js +9 -9
- package/dist/lib/Components/core/DotSymbol/DotSymbol.js +4 -4
- package/dist/lib/Components/core/IconButton/IconButton.js +5 -5
- package/dist/lib/Components/core/Link/Link.js +6 -6
- package/dist/lib/Components/core/ListItem/ListItem.js +8 -8
- package/dist/lib/Components/core/MediaBanner/MediaBanner.js +4 -4
- package/dist/lib/Components/core/Menu/Menu.d.ts +3 -2
- package/dist/lib/Components/core/Menu/Menu.d.ts.map +1 -1
- package/dist/lib/Components/core/Menu/Menu.js +157 -108
- package/dist/lib/Components/core/Menu/types.d.ts +31 -0
- package/dist/lib/Components/core/Menu/types.d.ts.map +1 -1
- package/dist/lib/Components/core/NavBar/CoinCapsule.js +4 -4
- package/dist/lib/Components/core/Popover/Popover.js +4 -4
- package/dist/lib/Components/core/SearchInput/SearchInput.js +2 -2
- package/dist/lib/Components/core/SectionHeader/SectionHeader.js +4 -4
- package/dist/lib/Components/core/Spot/Spot.js +4 -4
- package/dist/lib/Components/core/Stepper/Stepper.js +10 -10
- package/dist/lib/Components/core/Switch/Switch.js +4 -4
- package/dist/lib/Components/core/Tooltip/Tooltip.js +3 -3
- package/dist/lib/Components/internal/BaseInput/BaseInput.js +1 -1
- package/dist/lib/Components/internal/BaseInput/BaseInputMultiline.js +10 -10
- package/dist/lib/Components/internal/BaseTag/BaseTag.js +6 -6
- package/dist/lib/Components/symbols/Icon/createIcon.d.ts.map +1 -1
- package/dist/lib/Components/symbols/Icon/createIcon.js +12 -12
- package/dist/lib/Components/symbols/icons/Airplane.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Airplane.js +4 -5
- package/dist/lib/Components/symbols/icons/AlarmClock.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/AlarmClock.js +0 -1
- package/dist/lib/Components/symbols/icons/Apps.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Apps.js +0 -1
- package/dist/lib/Components/symbols/icons/ArrowDown.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ArrowDown.js +0 -1
- package/dist/lib/Components/symbols/icons/ArrowDownRight.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ArrowDownRight.js +2 -3
- package/dist/lib/Components/symbols/icons/ArrowLeft.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ArrowLeft.js +2 -3
- package/dist/lib/Components/symbols/icons/ArrowRight.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ArrowRight.js +0 -1
- package/dist/lib/Components/symbols/icons/ArrowUp.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ArrowUp.js +2 -3
- package/dist/lib/Components/symbols/icons/ArrowUpRight.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ArrowUpRight.js +0 -1
- package/dist/lib/Components/symbols/icons/Asterisk.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Asterisk.js +0 -1
- package/dist/lib/Components/symbols/icons/At.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/At.js +2 -3
- package/dist/lib/Components/symbols/icons/Atm.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Atm.js +0 -1
- package/dist/lib/Components/symbols/icons/AutoLock.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/AutoLock.js +0 -1
- package/dist/lib/Components/symbols/icons/Bank.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Bank.js +0 -1
- package/dist/lib/Components/symbols/icons/BasketPutIn.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/BasketPutIn.js +5 -6
- package/dist/lib/Components/symbols/icons/Bell.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Bell.js +0 -1
- package/dist/lib/Components/symbols/icons/BellNotification.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/BellNotification.js +0 -1
- package/dist/lib/Components/symbols/icons/BitcoinComputer.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/BitcoinComputer.js +2 -3
- package/dist/lib/Components/symbols/icons/BitcoinVoucher.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/BitcoinVoucher.js +2 -3
- package/dist/lib/Components/symbols/icons/Bluetooth.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Bluetooth.js +3 -4
- package/dist/lib/Components/symbols/icons/Bolt.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Bolt.js +2 -3
- package/dist/lib/Components/symbols/icons/BookOpen.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/BookOpen.js +0 -1
- package/dist/lib/Components/symbols/icons/Bug.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Bug.js +2 -3
- package/dist/lib/Components/symbols/icons/Bundle.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Bundle.js +2 -3
- package/dist/lib/Components/symbols/icons/Calendar.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Calendar.js +0 -1
- package/dist/lib/Components/symbols/icons/CalendarRefresh.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CalendarRefresh.js +2 -3
- package/dist/lib/Components/symbols/icons/Cart.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Cart.js +2 -3
- package/dist/lib/Components/symbols/icons/Charon.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Charon.js +0 -1
- package/dist/lib/Components/symbols/icons/Chart1.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Chart1.js +2 -3
- package/dist/lib/Components/symbols/icons/Chart2.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Chart2.js +2 -3
- package/dist/lib/Components/symbols/icons/Chart3.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Chart3.js +2 -3
- package/dist/lib/Components/symbols/icons/Chart4.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Chart4.js +2 -3
- package/dist/lib/Components/symbols/icons/Chart5.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Chart5.js +0 -1
- package/dist/lib/Components/symbols/icons/ChartPie.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ChartPie.js +3 -5
- package/dist/lib/Components/symbols/icons/Check.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Check.js +2 -3
- package/dist/lib/Components/symbols/icons/CheckmarkCircle.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CheckmarkCircle.js +0 -1
- package/dist/lib/Components/symbols/icons/ChevronAscending.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ChevronAscending.js +0 -2
- package/dist/lib/Components/symbols/icons/ChevronBigBottom.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ChevronBigBottom.js +2 -3
- package/dist/lib/Components/symbols/icons/ChevronBigLeft.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ChevronBigLeft.js +2 -3
- package/dist/lib/Components/symbols/icons/ChevronBigRight.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ChevronBigRight.js +0 -1
- package/dist/lib/Components/symbols/icons/ChevronBigTop.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ChevronBigTop.js +2 -3
- package/dist/lib/Components/symbols/icons/ChevronDescending.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ChevronDescending.js +0 -2
- package/dist/lib/Components/symbols/icons/ChevronDown.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ChevronDown.js +2 -3
- package/dist/lib/Components/symbols/icons/ChevronLeft.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ChevronLeft.js +0 -1
- package/dist/lib/Components/symbols/icons/ChevronRight.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ChevronRight.js +2 -3
- package/dist/lib/Components/symbols/icons/ChevronUp.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ChevronUp.js +0 -1
- package/dist/lib/Components/symbols/icons/ChevronUpDown.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ChevronUpDown.js +2 -3
- package/dist/lib/Components/symbols/icons/Circles.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Circles.js +0 -1
- package/dist/lib/Components/symbols/icons/Clear.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Clear.js +0 -1
- package/dist/lib/Components/symbols/icons/Clip.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Clip.js +0 -1
- package/dist/lib/Components/symbols/icons/Clock.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Clock.js +2 -3
- package/dist/lib/Components/symbols/icons/Close.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Close.js +2 -3
- package/dist/lib/Components/symbols/icons/CloudDownload.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CloudDownload.js +0 -1
- package/dist/lib/Components/symbols/icons/CloudSync.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CloudSync.js +0 -1
- package/dist/lib/Components/symbols/icons/CloudUpload.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CloudUpload.js +2 -3
- package/dist/lib/Components/symbols/icons/Code.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Code.js +2 -3
- package/dist/lib/Components/symbols/icons/CodeShield.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CodeShield.js +0 -1
- package/dist/lib/Components/symbols/icons/CoinAlert.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CoinAlert.js +2 -3
- package/dist/lib/Components/symbols/icons/CoinPercent.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CoinPercent.js +2 -3
- package/dist/lib/Components/symbols/icons/CoinStacked.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CoinStacked.js +2 -3
- package/dist/lib/Components/symbols/icons/Coins.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Coins.js +2 -3
- package/dist/lib/Components/symbols/icons/CoinsAddPlus.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CoinsAddPlus.js +0 -1
- package/dist/lib/Components/symbols/icons/CoinsCheck.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CoinsCheck.js +0 -1
- package/dist/lib/Components/symbols/icons/CoinsCross.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CoinsCross.js +2 -3
- package/dist/lib/Components/symbols/icons/CoinsCrypto.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CoinsCrypto.js +2 -3
- package/dist/lib/Components/symbols/icons/CoinsEye.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CoinsEye.js +2 -3
- package/dist/lib/Components/symbols/icons/ColorPalette.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ColorPalette.js +0 -1
- package/dist/lib/Components/symbols/icons/Compass.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Compass.js +0 -1
- package/dist/lib/Components/symbols/icons/ComputerMobile.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ComputerMobile.js +0 -1
- package/dist/lib/Components/symbols/icons/Contact.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Contact.js +2 -3
- package/dist/lib/Components/symbols/icons/Copy.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Copy.js +2 -3
- package/dist/lib/Components/symbols/icons/Craft.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Craft.js +2 -3
- package/dist/lib/Components/symbols/icons/CreditCard.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CreditCard.js +0 -1
- package/dist/lib/Components/symbols/icons/Csv.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Csv.js +4 -5
- package/dist/lib/Components/symbols/icons/CursorTouch.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CursorTouch.js +0 -1
- package/dist/lib/Components/symbols/icons/CurveDown.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CurveDown.js +2 -6
- package/dist/lib/Components/symbols/icons/CurveUp.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/CurveUp.js +3 -15
- package/dist/lib/Components/symbols/icons/Cutlery.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Cutlery.js +2 -3
- package/dist/lib/Components/symbols/icons/DatabaseLock.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/DatabaseLock.js +2 -3
- package/dist/lib/Components/symbols/icons/Delete.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Delete.js +0 -1
- package/dist/lib/Components/symbols/icons/DeleteCircle.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/DeleteCircle.js +0 -1
- package/dist/lib/Components/symbols/icons/DeleteStop.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/DeleteStop.js +0 -2
- package/dist/lib/Components/symbols/icons/Desktop.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Desktop.js +2 -3
- package/dist/lib/Components/symbols/icons/Devices.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Devices.js +0 -1
- package/dist/lib/Components/symbols/icons/DocumentCode.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/DocumentCode.js +0 -1
- package/dist/lib/Components/symbols/icons/Dollar.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Dollar.js +2 -4
- package/dist/lib/Components/symbols/icons/DollarConvert.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/DollarConvert.js +0 -1
- package/dist/lib/Components/symbols/icons/Download.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Download.js +0 -1
- package/dist/lib/Components/symbols/icons/Duplicate.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Duplicate.js +0 -1
- package/dist/lib/Components/symbols/icons/Equal.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Equal.js +1 -9
- package/dist/lib/Components/symbols/icons/Exchange.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Exchange.js +0 -1
- package/dist/lib/Components/symbols/icons/ExchangeFill.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ExchangeFill.js +0 -1
- package/dist/lib/Components/symbols/icons/ExitLogout.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ExitLogout.js +2 -3
- package/dist/lib/Components/symbols/icons/Expand.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Expand.js +0 -1
- package/dist/lib/Components/symbols/icons/ExpandLeft.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ExpandLeft.js +0 -1
- package/dist/lib/Components/symbols/icons/ExpandRight.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ExpandRight.js +2 -3
- package/dist/lib/Components/symbols/icons/Experiment.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Experiment.js +0 -1
- package/dist/lib/Components/symbols/icons/Experiment2.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Experiment2.js +2 -3
- package/dist/lib/Components/symbols/icons/ExternalLink.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ExternalLink.js +0 -1
- package/dist/lib/Components/symbols/icons/Eye.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Eye.js +2 -3
- package/dist/lib/Components/symbols/icons/EyeCross.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/EyeCross.js +0 -1
- package/dist/lib/Components/symbols/icons/FaceId.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/FaceId.js +2 -3
- package/dist/lib/Components/symbols/icons/Feather.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Feather.js +2 -3
- package/dist/lib/Components/symbols/icons/File.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/File.js +0 -1
- package/dist/lib/Components/symbols/icons/FileDownload.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/FileDownload.js +2 -3
- package/dist/lib/Components/symbols/icons/FileShield.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/FileShield.js +0 -1
- package/dist/lib/Components/symbols/icons/FilterSort.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/FilterSort.js +0 -1
- package/dist/lib/Components/symbols/icons/Fingerprint.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Fingerprint.js +2 -3
- package/dist/lib/Components/symbols/icons/Fire.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Fire.js +0 -1
- package/dist/lib/Components/symbols/icons/Folder.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Folder.js +0 -1
- package/dist/lib/Components/symbols/icons/GameControler.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/GameControler.js +0 -1
- package/dist/lib/Components/symbols/icons/Gift.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Gift.js +2 -3
- package/dist/lib/Components/symbols/icons/Globe.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Globe.js +2 -3
- package/dist/lib/Components/symbols/icons/Grid.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Grid.js +0 -1
- package/dist/lib/Components/symbols/icons/Grid2.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Grid2.js +0 -2
- package/dist/lib/Components/symbols/icons/GroupUsers.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/GroupUsers.js +0 -1
- package/dist/lib/Components/symbols/icons/GroupUsersAdd.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/GroupUsersAdd.js +0 -1
- package/dist/lib/Components/symbols/icons/HandCard.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/HandCard.js +0 -1
- package/dist/lib/Components/symbols/icons/HandCoins.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/HandCoins.js +2 -3
- package/dist/lib/Components/symbols/icons/HandKey.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/HandKey.js +2 -3
- package/dist/lib/Components/symbols/icons/Handshake.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Handshake.js +2 -3
- package/dist/lib/Components/symbols/icons/HatSchool.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/HatSchool.js +0 -1
- package/dist/lib/Components/symbols/icons/Heart.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Heart.js +2 -3
- package/dist/lib/Components/symbols/icons/Home.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Home.js +2 -3
- package/dist/lib/Components/symbols/icons/IdCard.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/IdCard.js +0 -1
- package/dist/lib/Components/symbols/icons/Incognito.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Incognito.js +0 -1
- package/dist/lib/Components/symbols/icons/Infinite.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Infinite.js +2 -3
- package/dist/lib/Components/symbols/icons/Information.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Information.js +0 -1
- package/dist/lib/Components/symbols/icons/Invoice.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Invoice.js +2 -3
- package/dist/lib/Components/symbols/icons/Label.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Label.js +2 -4
- package/dist/lib/Components/symbols/icons/Language.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Language.js +0 -1
- package/dist/lib/Components/symbols/icons/LedgerLogo.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/LedgerLogo.js +2 -3
- package/dist/lib/Components/symbols/icons/Legal.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Legal.js +0 -1
- package/dist/lib/Components/symbols/icons/LifeRing.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/LifeRing.js +0 -1
- package/dist/lib/Components/symbols/icons/Lightbulb.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Lightbulb.js +0 -1
- package/dist/lib/Components/symbols/icons/Link.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Link.js +2 -3
- package/dist/lib/Components/symbols/icons/ListEye.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ListEye.js +0 -1
- package/dist/lib/Components/symbols/icons/Lock.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Lock.js +0 -1
- package/dist/lib/Components/symbols/icons/LockCheckSuccess.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/LockCheckSuccess.js +2 -3
- package/dist/lib/Components/symbols/icons/Magnet.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Magnet.js +0 -1
- package/dist/lib/Components/symbols/icons/Mail.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Mail.js +0 -1
- package/dist/lib/Components/symbols/icons/MailShield.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/MailShield.js +0 -1
- package/dist/lib/Components/symbols/icons/Mailbox.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Mailbox.js +0 -1
- package/dist/lib/Components/symbols/icons/Maths.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Maths.js +0 -1
- package/dist/lib/Components/symbols/icons/Medal1.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Medal1.js +2 -3
- package/dist/lib/Components/symbols/icons/Medal2.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Medal2.js +0 -1
- package/dist/lib/Components/symbols/icons/MenuBurger.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/MenuBurger.js +0 -1
- package/dist/lib/Components/symbols/icons/Merge.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Merge.js +2 -3
- package/dist/lib/Components/symbols/icons/MessageChat.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/MessageChat.js +2 -3
- package/dist/lib/Components/symbols/icons/Minimize.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Minimize.js +0 -1
- package/dist/lib/Components/symbols/icons/Minus.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Minus.js +2 -3
- package/dist/lib/Components/symbols/icons/MinusCircle.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/MinusCircle.js +0 -1
- package/dist/lib/Components/symbols/icons/Mobile.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Mobile.js +0 -1
- package/dist/lib/Components/symbols/icons/MobileArrow.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/MobileArrow.js +0 -1
- package/dist/lib/Components/symbols/icons/MonitorPassword.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/MonitorPassword.js +0 -1
- package/dist/lib/Components/symbols/icons/Moon.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Moon.js +0 -1
- package/dist/lib/Components/symbols/icons/MoreHorizontal.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/MoreHorizontal.js +2 -3
- package/dist/lib/Components/symbols/icons/MoreVertical.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/MoreVertical.js +2 -3
- package/dist/lib/Components/symbols/icons/Nano.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Nano.js +0 -1
- package/dist/lib/Components/symbols/icons/Nested.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Nested.js +0 -1
- package/dist/lib/Components/symbols/icons/NetworkWarning.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/NetworkWarning.js +0 -1
- package/dist/lib/Components/symbols/icons/Nfc.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Nfc.js +2 -3
- package/dist/lib/Components/symbols/icons/Nft.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Nft.js +0 -1
- package/dist/lib/Components/symbols/icons/NftHide.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/NftHide.js +0 -1
- package/dist/lib/Components/symbols/icons/NotEqual.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/NotEqual.js +2 -3
- package/dist/lib/Components/symbols/icons/Note.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Note.js +2 -3
- package/dist/lib/Components/symbols/icons/P2p.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/P2p.js +2 -3
- package/dist/lib/Components/symbols/icons/Parachute.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Parachute.js +0 -1
- package/dist/lib/Components/symbols/icons/Paste.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Paste.js +2 -3
- package/dist/lib/Components/symbols/icons/Pause.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Pause.js +2 -3
- package/dist/lib/Components/symbols/icons/PenEdit.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/PenEdit.js +2 -3
- package/dist/lib/Components/symbols/icons/PenEditWriting.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/PenEditWriting.js +2 -3
- package/dist/lib/Components/symbols/icons/PeopleShield.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/PeopleShield.js +0 -1
- package/dist/lib/Components/symbols/icons/Percentage.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Percentage.js +0 -1
- package/dist/lib/Components/symbols/icons/PictureImage.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/PictureImage.js +0 -1
- package/dist/lib/Components/symbols/icons/PiggyBank.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/PiggyBank.js +2 -3
- package/dist/lib/Components/symbols/icons/Pin.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Pin.js +2 -3
- package/dist/lib/Components/symbols/icons/PinLocation.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/PinLocation.js +0 -2
- package/dist/lib/Components/symbols/icons/Placeholder.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Placeholder.js +5 -6
- package/dist/lib/Components/symbols/icons/Planet.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Planet.js +0 -1
- package/dist/lib/Components/symbols/icons/Plus.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Plus.js +2 -3
- package/dist/lib/Components/symbols/icons/PlusCircle.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/PlusCircle.js +0 -1
- package/dist/lib/Components/symbols/icons/Printer.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Printer.js +0 -1
- package/dist/lib/Components/symbols/icons/QrCode.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/QrCode.js +0 -1
- package/dist/lib/Components/symbols/icons/QrCodeScanner.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/QrCodeScanner.js +2 -3
- package/dist/lib/Components/symbols/icons/Question.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Question.js +2 -3
- package/dist/lib/Components/symbols/icons/Receive.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Receive.js +0 -1
- package/dist/lib/Components/symbols/icons/RecoveryKey.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/RecoveryKey.js +2 -3
- package/dist/lib/Components/symbols/icons/Reduce.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Reduce.js +2 -3
- package/dist/lib/Components/symbols/icons/Refresh.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Refresh.js +2 -3
- package/dist/lib/Components/symbols/icons/RefreshBack.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/RefreshBack.js +2 -3
- package/dist/lib/Components/symbols/icons/Repair.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Repair.js +0 -1
- package/dist/lib/Components/symbols/icons/Retry.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Retry.js +2 -3
- package/dist/lib/Components/symbols/icons/Screens.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Screens.js +0 -1
- package/dist/lib/Components/symbols/icons/Search.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Search.js +0 -1
- package/dist/lib/Components/symbols/icons/Send.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Send.js +0 -1
- package/dist/lib/Components/symbols/icons/ServerDatabaseFail.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ServerDatabaseFail.js +0 -1
- package/dist/lib/Components/symbols/icons/Servers.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Servers.js +2 -3
- package/dist/lib/Components/symbols/icons/Settings.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Settings.js +6 -8
- package/dist/lib/Components/symbols/icons/SettingsAlt.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/SettingsAlt.js +2 -3
- package/dist/lib/Components/symbols/icons/SettingsAlt2.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/SettingsAlt2.js +2 -3
- package/dist/lib/Components/symbols/icons/Shapes.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Shapes.js +2 -5
- package/dist/lib/Components/symbols/icons/Share.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Share.js +2 -3
- package/dist/lib/Components/symbols/icons/Share2.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Share2.js +2 -3
- package/dist/lib/Components/symbols/icons/ShieldCheck.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ShieldCheck.js +2 -3
- package/dist/lib/Components/symbols/icons/ShieldCheckNotification.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ShieldCheckNotification.js +2 -3
- package/dist/lib/Components/symbols/icons/ShieldLock.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ShieldLock.js +2 -3
- package/dist/lib/Components/symbols/icons/ShieldMore.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/ShieldMore.js +0 -1
- package/dist/lib/Components/symbols/icons/Signature.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Signature.js +2 -3
- package/dist/lib/Components/symbols/icons/Slideshow.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Slideshow.js +0 -1
- package/dist/lib/Components/symbols/icons/Snow.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Snow.js +0 -1
- package/dist/lib/Components/symbols/icons/SoftRepair.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/SoftRepair.js +0 -1
- package/dist/lib/Components/symbols/icons/Spacerocket.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Spacerocket.js +0 -1
- package/dist/lib/Components/symbols/icons/SpeedFast.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/SpeedFast.js +2 -3
- package/dist/lib/Components/symbols/icons/SpeedLow.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/SpeedLow.js +2 -3
- package/dist/lib/Components/symbols/icons/SpeedMedium.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/SpeedMedium.js +0 -1
- package/dist/lib/Components/symbols/icons/Star.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Star.js +2 -3
- package/dist/lib/Components/symbols/icons/StarFill.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/StarFill.js +0 -1
- package/dist/lib/Components/symbols/icons/StarHalf.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/StarHalf.js +2 -3
- package/dist/lib/Components/symbols/icons/Stax.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Stax.js +5 -6
- package/dist/lib/Components/symbols/icons/SubArrow.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/SubArrow.js +2 -3
- package/dist/lib/Components/symbols/icons/Sun.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Sun.js +0 -1
- package/dist/lib/Components/symbols/icons/Support.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Support.js +0 -1
- package/dist/lib/Components/symbols/icons/Switch.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Switch.js +0 -1
- package/dist/lib/Components/symbols/icons/Switch2.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Switch2.js +0 -1
- package/dist/lib/Components/symbols/icons/Tablet.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Tablet.js +0 -1
- package/dist/lib/Components/symbols/icons/Target.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Target.js +2 -3
- package/dist/lib/Components/symbols/icons/Theme.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Theme.js +0 -2
- package/dist/lib/Components/symbols/icons/Tools.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Tools.js +2 -3
- package/dist/lib/Components/symbols/icons/TransferHorizontal.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/TransferHorizontal.js +0 -1
- package/dist/lib/Components/symbols/icons/TransferVertical.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/TransferVertical.js +2 -3
- package/dist/lib/Components/symbols/icons/Trash.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Trash.js +2 -3
- package/dist/lib/Components/symbols/icons/Truck.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Truck.js +2 -3
- package/dist/lib/Components/symbols/icons/Unlink.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Unlink.js +2 -3
- package/dist/lib/Components/symbols/icons/Unlock.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Unlock.js +0 -1
- package/dist/lib/Components/symbols/icons/Upload.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Upload.js +2 -3
- package/dist/lib/Components/symbols/icons/Usb.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Usb.js +2 -3
- package/dist/lib/Components/symbols/icons/UsbC.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/UsbC.js +0 -1
- package/dist/lib/Components/symbols/icons/User.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/User.js +2 -3
- package/dist/lib/Components/symbols/icons/UserAdd.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/UserAdd.js +2 -3
- package/dist/lib/Components/symbols/icons/UserArrowRight.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/UserArrowRight.js +0 -1
- package/dist/lib/Components/symbols/icons/UserCheck.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/UserCheck.js +2 -3
- package/dist/lib/Components/symbols/icons/UserCircle.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/UserCircle.js +0 -1
- package/dist/lib/Components/symbols/icons/UserDelete.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/UserDelete.js +0 -1
- package/dist/lib/Components/symbols/icons/UserLock.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/UserLock.js +0 -1
- package/dist/lib/Components/symbols/icons/UserShield.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/UserShield.js +0 -1
- package/dist/lib/Components/symbols/icons/Wallet.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Wallet.js +0 -1
- package/dist/lib/Components/symbols/icons/WalletInput.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/WalletInput.js +5 -6
- package/dist/lib/Components/symbols/icons/WalletSearch.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/WalletSearch.js +0 -1
- package/dist/lib/Components/symbols/icons/Warning.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Warning.js +2 -3
- package/dist/lib/Components/symbols/icons/Whatsapp.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Whatsapp.js +2 -3
- package/dist/lib/Components/symbols/icons/WirelessCharging.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/WirelessCharging.js +0 -1
- package/dist/lib/Components/visualization/DonutChart/DonutChartCenter.js +2 -2
- package/dist/lib/Components/visualization/Legend/Legend.js +4 -4
- package/dist/libs/utils-shared/dist/index.js +103 -107
- package/dist/package.json +3 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { resolveAvatarColor as C } from "./lib/Components/core/Avatar/resolveAva
|
|
|
8
8
|
import { AvatarButton as S } from "./lib/Components/core/AvatarButton/AvatarButton.js";
|
|
9
9
|
import { Banner as g } from "./lib/Components/core/Banner/Banner.js";
|
|
10
10
|
import { Button as I } from "./lib/Components/core/Button/Button.js";
|
|
11
|
-
import { Card as B, CardContent as D, CardContentDescription as M, CardContentRow as L, CardContentTitle as v, CardFooter as h, CardFooterActions as R, CardHeader as
|
|
11
|
+
import { Card as B, CardContent as D, CardContentDescription as M, CardContentRow as L, CardContentTitle as v, CardFooter as h, CardFooterActions as R, CardHeader as w, CardLeading as A, CardTrailing as H } from "./lib/Components/core/Card/Card.js";
|
|
12
12
|
import { CardButton as y } from "./lib/Components/core/CardButton/CardButton.js";
|
|
13
13
|
import { Checkbox as k } from "./lib/Components/core/Checkbox/Checkbox.js";
|
|
14
14
|
import { ContentBanner as E, ContentBannerContent as F, ContentBannerDescription as O, ContentBannerTitle as z } from "./lib/Components/core/ContentBanner/ContentBanner.js";
|
|
@@ -27,39 +27,39 @@ import { getDotIndicatorProps as Be } from "./lib/Components/core/DotIndicator/g
|
|
|
27
27
|
import { DotSymbol as Me } from "./lib/Components/core/DotSymbol/DotSymbol.js";
|
|
28
28
|
import { getDotSymbolProps as ve } from "./lib/Components/core/DotSymbol/getDotSymbolProps.js";
|
|
29
29
|
import { IconButton as Re } from "./lib/Components/core/IconButton/IconButton.js";
|
|
30
|
-
import { InteractiveIcon as
|
|
31
|
-
import { Link as
|
|
30
|
+
import { InteractiveIcon as Ae } from "./lib/Components/core/InteractiveIcon/InteractiveIcon.js";
|
|
31
|
+
import { Link as Pe } from "./lib/Components/core/Link/Link.js";
|
|
32
32
|
import { ListItem as Ne, ListItemContent as ke, ListItemContentRow as Ge, ListItemDescription as Ee, ListItemLeading as Fe, ListItemTitle as Oe, ListItemTrailing as ze } from "./lib/Components/core/ListItem/ListItem.js";
|
|
33
33
|
import { MediaBanner as _e, MediaBannerDescription as je, MediaBannerTitle as qe } from "./lib/Components/core/MediaBanner/MediaBanner.js";
|
|
34
34
|
import { MediaButton as Ke } from "./lib/Components/core/MediaButton/MediaButton.js";
|
|
35
35
|
import { MediaCard as Ue, MediaCardTitle as We } from "./lib/Components/core/MediaCard/MediaCard.js";
|
|
36
36
|
import { MediaImage as Ye } from "./lib/Components/core/MediaImage/MediaImage.js";
|
|
37
37
|
import { MediaTag as $e } from "./lib/Components/core/MediaTag/MediaTag.js";
|
|
38
|
-
import { Menu as oo, MenuCheckboxItem as to, MenuContent as ro, MenuGroup as ao, MenuItem as no, MenuLabel as io, MenuRadioGroup as lo, MenuRadioItem as po, MenuSeparator as mo, MenuSub as To, MenuSubContent as xo, MenuSubTrigger as fo,
|
|
39
|
-
import { NavBar as
|
|
40
|
-
import { Popover as
|
|
38
|
+
import { Menu as oo, MenuCheckboxItem as to, MenuContent as ro, MenuGroup as ao, MenuItem as no, MenuLabel as io, MenuRadioGroup as lo, MenuRadioItem as po, MenuSeparator as mo, MenuSub as To, MenuSubContent as xo, MenuSubTrigger as fo, MenuSwitchItem as Co, MenuTrigger as co, createMenuRadioGroup as So } from "./lib/Components/core/Menu/Menu.js";
|
|
39
|
+
import { NavBar as go, NavBarBackButton as bo, NavBarCoinCapsule as Io, NavBarDescription as so, NavBarLeading as Bo, NavBarTitle as Do, NavBarTrailing as Mo } from "./lib/Components/core/NavBar/NavBar.js";
|
|
40
|
+
import { Popover as vo, PopoverContent as ho, PopoverTrigger as Ro, createPopoverHandle as wo } from "./lib/Components/core/Popover/Popover.js";
|
|
41
41
|
import { PageIndicator as Ho } from "./lib/Components/core/PageIndicator/PageIndicator.js";
|
|
42
|
-
import { Pagination as
|
|
43
|
-
import { SearchInput as
|
|
44
|
-
import { SectionHeader as
|
|
45
|
-
import { SegmentedControl as
|
|
46
|
-
import { Select as
|
|
47
|
-
import { SideBar as
|
|
48
|
-
import { Skeleton as
|
|
49
|
-
import { Spinner as
|
|
50
|
-
import { Spot as
|
|
51
|
-
import { Stepper as
|
|
52
|
-
import { Subheader as
|
|
53
|
-
import { Switch as
|
|
54
|
-
import { Table as
|
|
55
|
-
import { Tag as
|
|
56
|
-
import { TextInput as
|
|
57
|
-
import { Tile as
|
|
58
|
-
import { TileButton as
|
|
59
|
-
import { Tooltip as
|
|
60
|
-
import { Trend as
|
|
61
|
-
import { ThemeProvider as
|
|
62
|
-
import { COLOR_SCHEMES as
|
|
42
|
+
import { Pagination as yo } from "./lib/Components/core/Pagination/Pagination.js";
|
|
43
|
+
import { SearchInput as ko } from "./lib/Components/core/SearchInput/SearchInput.js";
|
|
44
|
+
import { SectionHeader as Eo, SectionHeaderLeading as Fo, SectionHeaderTitle as Oo } from "./lib/Components/core/SectionHeader/SectionHeader.js";
|
|
45
|
+
import { SegmentedControl as Vo, SegmentedControlButton as _o, createSegmentedControl as jo } from "./lib/Components/core/SegmentedControl/SegmentedControl.js";
|
|
46
|
+
import { Select as Jo, SelectContent as Ko, SelectEmptyState as Qo, SelectItem as Uo, SelectItemContent as Wo, SelectItemDescription as Xo, SelectItemText as Yo, SelectList as Zo, SelectSearch as $o, SelectSeparator as et, SelectTrigger as ot, createSelect as tt } from "./lib/Components/core/Select/Select.js";
|
|
47
|
+
import { SideBar as at, SideBarCollapseToggle as nt, SideBarItem as it, SideBarLeading as lt, SideBarTrailing as pt, createSideBar as mt } from "./lib/Components/core/SideBar/SideBar.js";
|
|
48
|
+
import { Skeleton as Tt } from "./lib/Components/core/Skeleton/Skeleton.js";
|
|
49
|
+
import { Spinner as ft } from "./lib/Components/core/Spinner/Spinner.js";
|
|
50
|
+
import { Spot as ct } from "./lib/Components/core/Spot/Spot.js";
|
|
51
|
+
import { Stepper as ut } from "./lib/Components/core/Stepper/Stepper.js";
|
|
52
|
+
import { Subheader as bt, SubheaderCount as It, SubheaderDescription as st, SubheaderInfo as Bt, SubheaderRow as Dt, SubheaderShowMore as Mt, SubheaderTitle as Lt } from "./lib/Components/core/Subheader/Subheader.js";
|
|
53
|
+
import { Switch as ht } from "./lib/Components/core/Switch/Switch.js";
|
|
54
|
+
import { Table as wt, TableActionBar as At, TableActionBarLeading as Ht, TableActionBarTrailing as Pt, TableBody as yt, TableCell as Nt, TableCellContent as kt, TableCellContentDescription as Gt, TableCellContentRow as Et, TableCellContentTitle as Ft, TableCellItem as Ot, TableCol as zt, TableColGroup as Vt, TableGroupHeaderRow as _t, TableHeader as jt, TableHeaderCell as qt, TableHeaderRow as Jt, TableInfoIcon as Kt, TableLoadingRow as Qt, TableRoot as Ut, TableRow as Wt, TableSortButton as Xt } from "./lib/Components/core/Table/Table.js";
|
|
55
|
+
import { Tag as Zt } from "./lib/Components/core/Tag/Tag.js";
|
|
56
|
+
import { TextInput as er } from "./lib/Components/core/TextInput/TextInput.js";
|
|
57
|
+
import { Tile as tr, TileContent as rr, TileDescription as ar, TileSecondaryAction as nr, TileTitle as ir, TileTrailingContent as lr } from "./lib/Components/core/Tile/Tile.js";
|
|
58
|
+
import { TileButton as mr } from "./lib/Components/core/TileButton/TileButton.js";
|
|
59
|
+
import { Tooltip as Tr, TooltipContent as xr, TooltipProvider as fr, TooltipTrigger as Cr } from "./lib/Components/core/Tooltip/Tooltip.js";
|
|
60
|
+
import { Trend as Sr } from "./lib/Components/core/Trend/Trend.js";
|
|
61
|
+
import { ThemeProvider as gr, useTheme as br } from "./lib/Components/core/ThemeProvider/ThemeProvider.js";
|
|
62
|
+
import { COLOR_SCHEMES as sr } from "./lib/Components/core/ThemeProvider/ThemeProvider.types.js";
|
|
63
63
|
export {
|
|
64
64
|
i as AddressInput,
|
|
65
65
|
d as AmountDisplay,
|
|
@@ -68,7 +68,7 @@ export {
|
|
|
68
68
|
S as AvatarButton,
|
|
69
69
|
g as Banner,
|
|
70
70
|
I as Button,
|
|
71
|
-
|
|
71
|
+
sr as COLOR_SCHEMES,
|
|
72
72
|
B as Card,
|
|
73
73
|
y as CardButton,
|
|
74
74
|
D as CardContent,
|
|
@@ -77,9 +77,9 @@ export {
|
|
|
77
77
|
v as CardContentTitle,
|
|
78
78
|
h as CardFooter,
|
|
79
79
|
R as CardFooterActions,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
w as CardHeader,
|
|
81
|
+
A as CardLeading,
|
|
82
|
+
H as CardTrailing,
|
|
83
83
|
k as Checkbox,
|
|
84
84
|
E as ContentBanner,
|
|
85
85
|
F as ContentBannerContent,
|
|
@@ -107,9 +107,9 @@ export {
|
|
|
107
107
|
Ie as DotIndicator,
|
|
108
108
|
Me as DotSymbol,
|
|
109
109
|
Re as IconButton,
|
|
110
|
-
|
|
110
|
+
Ae as InteractiveIcon,
|
|
111
111
|
t as Languages,
|
|
112
|
-
|
|
112
|
+
Pe as Link,
|
|
113
113
|
Ne as ListItem,
|
|
114
114
|
ke as ListItemContent,
|
|
115
115
|
Ge as ListItemContentRow,
|
|
@@ -137,95 +137,96 @@ export {
|
|
|
137
137
|
To as MenuSub,
|
|
138
138
|
xo as MenuSubContent,
|
|
139
139
|
fo as MenuSubTrigger,
|
|
140
|
-
Co as
|
|
141
|
-
|
|
142
|
-
go as
|
|
143
|
-
bo as
|
|
144
|
-
Io as
|
|
145
|
-
so as
|
|
146
|
-
Bo as
|
|
147
|
-
Do as
|
|
140
|
+
Co as MenuSwitchItem,
|
|
141
|
+
co as MenuTrigger,
|
|
142
|
+
go as NavBar,
|
|
143
|
+
bo as NavBarBackButton,
|
|
144
|
+
Io as NavBarCoinCapsule,
|
|
145
|
+
so as NavBarDescription,
|
|
146
|
+
Bo as NavBarLeading,
|
|
147
|
+
Do as NavBarTitle,
|
|
148
|
+
Mo as NavBarTrailing,
|
|
148
149
|
Ho as PageIndicator,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
150
|
+
yo as Pagination,
|
|
151
|
+
vo as Popover,
|
|
152
|
+
ho as PopoverContent,
|
|
153
|
+
Ro as PopoverTrigger,
|
|
154
|
+
ko as SearchInput,
|
|
155
|
+
Eo as SectionHeader,
|
|
156
|
+
Fo as SectionHeaderLeading,
|
|
157
|
+
Oo as SectionHeaderTitle,
|
|
158
|
+
Vo as SegmentedControl,
|
|
159
|
+
_o as SegmentedControlButton,
|
|
160
|
+
Jo as Select,
|
|
161
|
+
Ko as SelectContent,
|
|
162
|
+
Qo as SelectEmptyState,
|
|
163
|
+
Uo as SelectItem,
|
|
164
|
+
Wo as SelectItemContent,
|
|
165
|
+
Xo as SelectItemDescription,
|
|
166
|
+
Yo as SelectItemText,
|
|
167
|
+
Zo as SelectList,
|
|
168
|
+
$o as SelectSearch,
|
|
169
|
+
et as SelectSeparator,
|
|
170
|
+
ot as SelectTrigger,
|
|
171
|
+
at as SideBar,
|
|
172
|
+
nt as SideBarCollapseToggle,
|
|
173
|
+
it as SideBarItem,
|
|
174
|
+
lt as SideBarLeading,
|
|
175
|
+
pt as SideBarTrailing,
|
|
176
|
+
Tt as Skeleton,
|
|
177
|
+
ft as Spinner,
|
|
178
|
+
ct as Spot,
|
|
179
|
+
ut as Stepper,
|
|
180
|
+
bt as Subheader,
|
|
181
|
+
It as SubheaderCount,
|
|
182
|
+
st as SubheaderDescription,
|
|
183
|
+
Bt as SubheaderInfo,
|
|
184
|
+
Dt as SubheaderRow,
|
|
185
|
+
Mt as SubheaderShowMore,
|
|
186
|
+
Lt as SubheaderTitle,
|
|
187
|
+
ht as Switch,
|
|
188
|
+
wt as Table,
|
|
188
189
|
At as TableActionBar,
|
|
189
190
|
Ht as TableActionBarLeading,
|
|
190
191
|
Pt as TableActionBarTrailing,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
192
|
+
yt as TableBody,
|
|
193
|
+
Nt as TableCell,
|
|
194
|
+
kt as TableCellContent,
|
|
195
|
+
Gt as TableCellContentDescription,
|
|
196
|
+
Et as TableCellContentRow,
|
|
197
|
+
Ft as TableCellContentTitle,
|
|
198
|
+
Ot as TableCellItem,
|
|
199
|
+
zt as TableCol,
|
|
200
|
+
Vt as TableColGroup,
|
|
201
|
+
_t as TableGroupHeaderRow,
|
|
202
|
+
jt as TableHeader,
|
|
203
|
+
qt as TableHeaderCell,
|
|
204
|
+
Jt as TableHeaderRow,
|
|
205
|
+
Kt as TableInfoIcon,
|
|
206
|
+
Qt as TableLoadingRow,
|
|
207
|
+
Ut as TableRoot,
|
|
208
|
+
Wt as TableRow,
|
|
209
|
+
Xt as TableSortButton,
|
|
210
|
+
Zt as Tag,
|
|
211
|
+
er as TextInput,
|
|
212
|
+
gr as ThemeProvider,
|
|
213
|
+
tr as Tile,
|
|
214
|
+
mr as TileButton,
|
|
215
|
+
rr as TileContent,
|
|
216
|
+
ar as TileDescription,
|
|
217
|
+
nr as TileSecondaryAction,
|
|
218
|
+
ir as TileTitle,
|
|
219
|
+
lr as TileTrailingContent,
|
|
220
|
+
Tr as Tooltip,
|
|
221
|
+
xr as TooltipContent,
|
|
222
|
+
fr as TooltipProvider,
|
|
223
|
+
Cr as TooltipTrigger,
|
|
224
|
+
Sr as Trend,
|
|
225
|
+
So as createMenuRadioGroup,
|
|
226
|
+
wo as createPopoverHandle,
|
|
227
|
+
jo as createSegmentedControl,
|
|
228
|
+
tt as createSelect,
|
|
229
|
+
mt as createSideBar,
|
|
229
230
|
Se as dotIconSizeMap,
|
|
230
231
|
ge as getDotIconProps,
|
|
231
232
|
Be as getDotIndicatorProps,
|
|
@@ -233,5 +234,5 @@ export {
|
|
|
233
234
|
C as resolveAvatarColor,
|
|
234
235
|
a as useControllableState,
|
|
235
236
|
K as useLumenDataTable,
|
|
236
|
-
|
|
237
|
+
br as useTheme
|
|
237
238
|
};
|
|
@@ -4,5 +4,5 @@ import { AmountInputProps } from './types';
|
|
|
4
4
|
* This is a controlled component - both `value` and `onChange` props are required.
|
|
5
5
|
* The currency text can be positioned either on the left or right side of the input.
|
|
6
6
|
*/
|
|
7
|
-
export declare const AmountInput: ({ ref, className, size, align, currencyText, currencyPosition, disabled: disabledProp, maxIntegerLength, maxDecimalLength, allowDecimals, thousandsSeparator, decimalSeparator, value, onChange, ...props }: AmountInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const AmountInput: ({ ref, className, size, align, currencyText, currencyPosition, disabled: disabledProp, maxIntegerLength, maxDecimalLength, allowDecimals, thousandsSeparator, decimalSeparator, value, onChange, placeholder, ...props }: AmountInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=AmountInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAmB,MAAM,SAAS,CAAC;AA0FjE;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,
|
|
1
|
+
{"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAmB,MAAM,SAAS,CAAC;AA0FjE;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,0NAiBzB,gBAAgB,4CAmFlB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useDisabledContext as
|
|
1
|
+
import { jsxs as z, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useDisabledContext as M, useMergedRef as D, getFontSize as F, cn as f } from "../../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { cva as i } from "class-variance-authority";
|
|
4
|
-
import { useMemo as
|
|
5
|
-
import { useAmountInputValue as
|
|
6
|
-
import { useAutoWidthInput as
|
|
7
|
-
const
|
|
4
|
+
import { useMemo as W } from "react";
|
|
5
|
+
import { useAmountInputValue as q } from "./useAmountInputValue/useAmountInputValue.js";
|
|
6
|
+
import { useAutoWidthInput as E } from "./useAutoWidthInput/useAutoWidthInput.js";
|
|
7
|
+
const O = i(
|
|
8
8
|
[
|
|
9
9
|
"bg-transparent caret-active outline-hidden transition-colors",
|
|
10
10
|
"text-base placeholder:text-muted-subtle",
|
|
@@ -28,7 +28,7 @@ const q = i(
|
|
|
28
28
|
isChanging: !1
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
),
|
|
31
|
+
), B = i(
|
|
32
32
|
[
|
|
33
33
|
"cursor-text text-base",
|
|
34
34
|
"group-has-[input:placeholder-shown]:text-muted-subtle",
|
|
@@ -46,7 +46,7 @@ const q = i(
|
|
|
46
46
|
size: "md"
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
),
|
|
49
|
+
), G = i("invisible absolute whitespace-pre", {
|
|
50
50
|
variants: {
|
|
51
51
|
size: {
|
|
52
52
|
md: "heading-0-semi-bold",
|
|
@@ -56,7 +56,7 @@ const q = i(
|
|
|
56
56
|
defaultVariants: {
|
|
57
57
|
size: "md"
|
|
58
58
|
}
|
|
59
|
-
}),
|
|
59
|
+
}), H = i(
|
|
60
60
|
"group relative flex w-full items-center overflow-visible transition-transform",
|
|
61
61
|
{
|
|
62
62
|
variants: {
|
|
@@ -70,86 +70,88 @@ const q = i(
|
|
|
70
70
|
align: "center"
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
),
|
|
73
|
+
), c = ({ size: r, style: o, children: e }) => /* @__PURE__ */ a("span", { className: f(B({ size: r }), "shrink-0"), style: o, children: e }), Y = ({
|
|
74
74
|
ref: r,
|
|
75
75
|
className: o,
|
|
76
76
|
size: e = "md",
|
|
77
|
-
align:
|
|
77
|
+
align: h = "center",
|
|
78
78
|
currencyText: t,
|
|
79
79
|
currencyPosition: l = "left",
|
|
80
|
-
disabled:
|
|
81
|
-
maxIntegerLength:
|
|
82
|
-
maxDecimalLength:
|
|
83
|
-
allowDecimals:
|
|
84
|
-
thousandsSeparator:
|
|
85
|
-
decimalSeparator:
|
|
86
|
-
value:
|
|
87
|
-
onChange:
|
|
88
|
-
|
|
80
|
+
disabled: g,
|
|
81
|
+
maxIntegerLength: b = 9,
|
|
82
|
+
maxDecimalLength: v = 9,
|
|
83
|
+
allowDecimals: x = !0,
|
|
84
|
+
thousandsSeparator: w = !0,
|
|
85
|
+
decimalSeparator: y = ".",
|
|
86
|
+
value: S,
|
|
87
|
+
onChange: C,
|
|
88
|
+
placeholder: d,
|
|
89
|
+
...V
|
|
89
90
|
}) => {
|
|
90
|
-
const
|
|
91
|
+
const A = M({
|
|
91
92
|
consumerName: "AmountInput",
|
|
92
|
-
mergeWith: { disabled:
|
|
93
|
-
}), { inputValue: n, isChanging:
|
|
94
|
-
value:
|
|
95
|
-
onChange:
|
|
93
|
+
mergeWith: { disabled: g }
|
|
94
|
+
}), { inputValue: n, isChanging: j, setIsChanging: I, handleChange: N } = q({
|
|
95
|
+
value: S,
|
|
96
|
+
onChange: C,
|
|
96
97
|
formatOptions: {
|
|
97
|
-
allowDecimals:
|
|
98
|
-
thousandsSeparator:
|
|
99
|
-
maxIntegerLength:
|
|
100
|
-
maxDecimalLength:
|
|
101
|
-
decimalSeparator:
|
|
98
|
+
allowDecimals: x,
|
|
99
|
+
thousandsSeparator: w,
|
|
100
|
+
maxIntegerLength: b,
|
|
101
|
+
maxDecimalLength: v,
|
|
102
|
+
decimalSeparator: y
|
|
102
103
|
}
|
|
103
|
-
}), { spanRef:
|
|
104
|
-
inputValue:
|
|
104
|
+
}), u = n === "" ? d ?? "" : n, { spanRef: R, inputRef: m } = E({
|
|
105
|
+
inputValue: u,
|
|
105
106
|
currencyText: t,
|
|
106
107
|
size: e
|
|
107
|
-
}),
|
|
108
|
-
() =>
|
|
108
|
+
}), k = D(r, m), s = { fontSize: W(
|
|
109
|
+
() => F(n, e) + "px",
|
|
109
110
|
[n, e]
|
|
110
111
|
), letterSpacing: "normal" };
|
|
111
|
-
return /* @__PURE__ */
|
|
112
|
+
return /* @__PURE__ */ z(
|
|
112
113
|
"div",
|
|
113
114
|
{
|
|
114
|
-
className:
|
|
115
|
+
className: H({ align: h }),
|
|
115
116
|
onPointerDown: () => {
|
|
116
|
-
const
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
const p = m.current;
|
|
118
|
+
p && window.requestAnimationFrame(() => {
|
|
119
|
+
p.focus();
|
|
119
120
|
});
|
|
120
121
|
},
|
|
121
122
|
children: [
|
|
122
|
-
t && l === "left" && /* @__PURE__ */ a(
|
|
123
|
+
t && l === "left" && /* @__PURE__ */ a(c, { size: e, style: s, children: t }),
|
|
123
124
|
/* @__PURE__ */ a(
|
|
124
125
|
"span",
|
|
125
126
|
{
|
|
126
|
-
ref:
|
|
127
|
-
className:
|
|
127
|
+
ref: R,
|
|
128
|
+
className: G({ size: e }),
|
|
128
129
|
"aria-hidden": "true",
|
|
129
130
|
style: s,
|
|
130
|
-
children:
|
|
131
|
+
children: u
|
|
131
132
|
}
|
|
132
133
|
),
|
|
133
134
|
/* @__PURE__ */ a(
|
|
134
135
|
"input",
|
|
135
136
|
{
|
|
136
|
-
ref:
|
|
137
|
+
ref: k,
|
|
137
138
|
type: "text",
|
|
138
139
|
inputMode: "decimal",
|
|
139
|
-
disabled:
|
|
140
|
+
disabled: A,
|
|
140
141
|
value: n,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
placeholder: d,
|
|
143
|
+
onChange: N,
|
|
144
|
+
onAnimationEnd: () => I(!1),
|
|
145
|
+
className: f(O({ size: e, isChanging: j }), o),
|
|
146
|
+
...V,
|
|
145
147
|
style: s
|
|
146
148
|
}
|
|
147
149
|
),
|
|
148
|
-
t && l === "right" && /* @__PURE__ */ a(
|
|
150
|
+
t && l === "right" && /* @__PURE__ */ a(c, { size: e, style: s, children: t })
|
|
149
151
|
]
|
|
150
152
|
}
|
|
151
153
|
);
|
|
152
154
|
};
|
|
153
155
|
export {
|
|
154
|
-
|
|
156
|
+
Y as AmountInput
|
|
155
157
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { textFormatter as m } from "../../../../../libs/utils-shared/dist/index.js";
|
|
2
|
-
import { useCallback as
|
|
2
|
+
import { useCallback as i, useState as g, useRef as d, useEffect as f } from "react";
|
|
3
3
|
const I = ({
|
|
4
4
|
value: r,
|
|
5
5
|
onChange: o,
|
|
6
6
|
formatOptions: t
|
|
7
7
|
}) => {
|
|
8
|
-
const a =
|
|
8
|
+
const a = i(
|
|
9
9
|
(e) => m(String(e), t),
|
|
10
10
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
11
11
|
[
|
|
@@ -15,13 +15,13 @@ const I = ({
|
|
|
15
15
|
t.maxDecimalLength,
|
|
16
16
|
t.decimalSeparator
|
|
17
17
|
]
|
|
18
|
-
), [
|
|
18
|
+
), [c, s] = g(() => a(r)), [h, l] = g(!1), u = d(c);
|
|
19
19
|
return f(() => {
|
|
20
20
|
const e = a(r);
|
|
21
|
-
|
|
22
|
-
}, [r, a]), { inputValue:
|
|
21
|
+
s(e), u.current = e;
|
|
22
|
+
}, [r, a]), { inputValue: c, isChanging: h, setIsChanging: l, handleChange: (e) => {
|
|
23
23
|
const n = a(e.target.value);
|
|
24
|
-
|
|
24
|
+
s(n), o({ ...e, target: { ...e.target, value: n } }), n !== u.current && l(!0), u.current = n;
|
|
25
25
|
} };
|
|
26
26
|
};
|
|
27
27
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { cn as t } from "../../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { cva as b } from "class-variance-authority";
|
|
4
4
|
import { useCommonTranslation as g } from "../../../../i18n/useCommonTranslation.js";
|
|
5
|
-
import { IconButton as
|
|
6
|
-
import { Close as
|
|
7
|
-
import { DeleteCircleFill as
|
|
5
|
+
import { IconButton as N } from "../IconButton/IconButton.js";
|
|
6
|
+
import { Close as h } from "../../symbols/icons/Close.js";
|
|
7
|
+
import { DeleteCircleFill as u } from "../../symbols/icons/DeleteCircleFill.js";
|
|
8
8
|
import { WarningFill as v } from "../../symbols/icons/WarningFill.js";
|
|
9
9
|
import { CheckmarkCircleFill as w } from "../../symbols/icons/CheckmarkCircleFill.js";
|
|
10
10
|
import { InformationFill as C } from "../../symbols/icons/InformationFill.js";
|
|
@@ -12,7 +12,7 @@ const k = {
|
|
|
12
12
|
info: /* @__PURE__ */ r(C, { className: "text-base" }),
|
|
13
13
|
success: /* @__PURE__ */ r(w, { className: "text-success" }),
|
|
14
14
|
warning: /* @__PURE__ */ r(v, { className: "text-warning" }),
|
|
15
|
-
error: /* @__PURE__ */ r(
|
|
15
|
+
error: /* @__PURE__ */ r(u, { className: "text-error" })
|
|
16
16
|
}, F = {
|
|
17
17
|
root: b("flex w-full items-start gap-8 rounded-md p-12 text-base", {
|
|
18
18
|
variants: {
|
|
@@ -27,7 +27,7 @@ const k = {
|
|
|
27
27
|
}, W = ({
|
|
28
28
|
ref: c,
|
|
29
29
|
appearance: s = "info",
|
|
30
|
-
title:
|
|
30
|
+
title: e,
|
|
31
31
|
description: n,
|
|
32
32
|
primaryAction: o,
|
|
33
33
|
secondaryAction: l,
|
|
@@ -37,7 +37,7 @@ const k = {
|
|
|
37
37
|
...f
|
|
38
38
|
}) => {
|
|
39
39
|
const { t: x } = g(), d = k[s];
|
|
40
|
-
return /* @__PURE__ */
|
|
40
|
+
return /* @__PURE__ */ a(
|
|
41
41
|
"div",
|
|
42
42
|
{
|
|
43
43
|
ref: c,
|
|
@@ -45,22 +45,22 @@ const k = {
|
|
|
45
45
|
...f,
|
|
46
46
|
children: [
|
|
47
47
|
/* @__PURE__ */ r("div", { className: "flex shrink-0 items-start py-4", children: d }),
|
|
48
|
-
/* @__PURE__ */
|
|
49
|
-
/* @__PURE__ */
|
|
50
|
-
|
|
51
|
-
n && /* @__PURE__ */ r("div", { className: t("line-clamp-5 body-2", !
|
|
48
|
+
/* @__PURE__ */ a("div", { className: "mr-8 flex flex-1 flex-col gap-8 py-4", children: [
|
|
49
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col gap-4", children: [
|
|
50
|
+
e && /* @__PURE__ */ r("h3", { className: "line-clamp-2 body-1-semi-bold", children: e }),
|
|
51
|
+
n && /* @__PURE__ */ r("div", { className: t("line-clamp-5 body-2", !e && "mt-2"), children: n })
|
|
52
52
|
] }),
|
|
53
|
-
(o || l) && /* @__PURE__ */
|
|
53
|
+
(o || l) && /* @__PURE__ */ a("div", { className: "flex flex-wrap gap-4", children: [
|
|
54
54
|
o,
|
|
55
55
|
l
|
|
56
56
|
] })
|
|
57
57
|
] }),
|
|
58
58
|
i && /* @__PURE__ */ r(
|
|
59
|
-
|
|
59
|
+
N,
|
|
60
60
|
{
|
|
61
61
|
appearance: "transparent",
|
|
62
62
|
size: "xs",
|
|
63
|
-
icon:
|
|
63
|
+
icon: h,
|
|
64
64
|
onClick: () => i(),
|
|
65
65
|
"aria-label": p || x("components.banner.closeAriaLabel")
|
|
66
66
|
}
|
|
@@ -17,8 +17,8 @@ const l = e("", {
|
|
|
17
17
|
ref: t,
|
|
18
18
|
className: m,
|
|
19
19
|
loading: s,
|
|
20
|
-
disabled:
|
|
21
|
-
children:
|
|
20
|
+
disabled: a,
|
|
21
|
+
children: r,
|
|
22
22
|
size: o,
|
|
23
23
|
icon: i,
|
|
24
24
|
...p
|
|
@@ -27,12 +27,12 @@ const l = e("", {
|
|
|
27
27
|
{
|
|
28
28
|
ref: t,
|
|
29
29
|
size: o,
|
|
30
|
-
disabled:
|
|
30
|
+
disabled: a,
|
|
31
31
|
icon: i,
|
|
32
32
|
loading: s,
|
|
33
33
|
className: d(l({ size: o }), "gap-8", m),
|
|
34
34
|
...p,
|
|
35
|
-
children:
|
|
35
|
+
children: r
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
export {
|