@ledgerhq/lumen-ui-react 0.1.58 → 0.1.60
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 +172 -176
- package/dist/lib/Components/core/Avatar/Avatar.d.ts.map +1 -1
- package/dist/lib/Components/core/Avatar/Avatar.js +31 -35
- package/dist/lib/Components/core/Avatar/resolveAvatarColor.d.ts +9 -0
- package/dist/lib/Components/core/Avatar/resolveAvatarColor.d.ts.map +1 -1
- package/dist/lib/Components/core/Avatar/resolveAvatarColor.js +23 -5
- package/dist/lib/Components/core/Banner/Banner.js +25 -25
- package/dist/lib/Components/core/CardButton/types.d.ts +1 -1
- package/dist/lib/Components/core/CardButton/types.d.ts.map +1 -1
- 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/DotIcon/index.d.ts +0 -7
- package/dist/lib/Components/core/DotIcon/index.d.ts.map +1 -1
- package/dist/lib/Components/core/DotSymbol/index.d.ts +0 -12
- package/dist/lib/Components/core/DotSymbol/index.d.ts.map +1 -1
- package/dist/lib/Components/core/Link/types.d.ts +1 -1
- package/dist/lib/Components/core/Link/types.d.ts.map +1 -1
- package/dist/lib/Components/core/SegmentedControl/types.d.ts +1 -1
- package/dist/lib/Components/core/SegmentedControl/types.d.ts.map +1 -1
- package/dist/lib/Components/core/SideBar/types.d.ts +1 -1
- package/dist/lib/Components/core/SideBar/types.d.ts.map +1 -1
- package/dist/lib/Components/core/Spinner/types.d.ts +1 -1
- package/dist/lib/Components/core/Spinner/types.d.ts.map +1 -1
- package/dist/lib/Components/core/Spot/Spot.d.ts.map +1 -1
- package/dist/lib/Components/core/Spot/Spot.js +65 -54
- package/dist/lib/Components/core/Spot/types.d.ts +1 -1
- package/dist/lib/Components/core/Spot/types.d.ts.map +1 -1
- package/dist/lib/Components/core/Tag/types.d.ts +1 -1
- package/dist/lib/Components/core/Tag/types.d.ts.map +1 -1
- package/dist/lib/Components/core/TileButton/types.d.ts +1 -1
- package/dist/lib/Components/core/TileButton/types.d.ts.map +1 -1
- package/dist/lib/Components/internal/BaseButton/BaseButton.d.ts +1 -1
- package/dist/lib/Components/internal/BaseButton/BaseButton.js +12 -12
- package/dist/lib/Components/internal/BaseButton/types.d.ts +1 -1
- package/dist/lib/Components/internal/BaseButton/types.d.ts.map +1 -1
- package/dist/lib/Components/internal/BaseInput/BaseInput.js +13 -13
- package/dist/lib/Components/internal/BaseTag/BaseTag.js +13 -13
- 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 +29 -0
- package/dist/lib/Components/symbols/icons/CloudSync.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/CloudSync.js +27 -0
- 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 +24 -14
- package/dist/lib/Components/symbols/icons/DollarConvert.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/DollarConvert.js +3 -4
- package/dist/lib/Components/symbols/icons/DollarFill.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/DollarFill.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/DollarFill.js +25 -0
- 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 +29 -0
- package/dist/lib/Components/symbols/icons/FaceId.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/FaceId.js +27 -0
- 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 +29 -0
- package/dist/lib/Components/symbols/icons/Fingerprint.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Fingerprint.js +27 -0
- 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.js +8 -8
- 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/Range.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Range.js +8 -11
- 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/Telegram.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Telegram.js +15 -12
- 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 +3 -4
- 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/symbols/index.d.ts +4 -0
- package/dist/lib/Components/symbols/index.d.ts.map +1 -1
- package/dist/lib/Components/symbols/index.js +482 -474
- package/dist/lib/Components/visualization/config.d.ts +22 -22
- package/dist/libs/utils-shared/dist/index.js +103 -107
- package/dist/package.json +3 -3
- package/package.json +3 -3
- package/dist/lib/Components/core/DotIcon/index.js +0 -10
- package/dist/lib/Components/core/DotSymbol/index.js +0 -15
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as L } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as M, createContext as W, useRef as q, useContext as I } from "react";
|
|
3
3
|
import { clsx as N } from "clsx";
|
|
4
4
|
import { twMerge as F } from "tailwind-merge";
|
|
5
|
-
function ne(e) {
|
|
6
|
-
return e ? e.split(/[-_ ]+/).map((t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()).join("") : "";
|
|
7
|
-
}
|
|
8
5
|
function K(e) {
|
|
9
6
|
let t = 0;
|
|
10
7
|
for (let r = 0; r < e.length; r++)
|
|
@@ -15,33 +12,33 @@ const z = {
|
|
|
15
12
|
md: { max: 48, min: 17, scale: 2, startAt: 0 },
|
|
16
13
|
sm: { max: 28, min: 12, scale: 2, startAt: 6 }
|
|
17
14
|
};
|
|
18
|
-
function
|
|
19
|
-
const { max: r, min:
|
|
20
|
-
return Math.max(
|
|
15
|
+
function ne(e, t = "md") {
|
|
16
|
+
const { max: r, min: l, scale: a, startAt: o } = z[t], n = e.replace(/\D/g, "").length;
|
|
17
|
+
return Math.max(l, r - Math.max(0, n - o) * a);
|
|
21
18
|
}
|
|
22
19
|
function B(e, t = !0) {
|
|
23
20
|
if (!e) return "";
|
|
24
|
-
const r = e.includes("."), [
|
|
25
|
-
return r && t ?
|
|
21
|
+
const r = e.includes("."), [l, a] = e.split("."), o = l.replace(/\B(?=(\d{3})+(?!\d))/g, " ");
|
|
22
|
+
return r && t ? a ? `${o}.${a}` : `${o}.` : o;
|
|
26
23
|
}
|
|
27
|
-
const
|
|
24
|
+
const V = (e) => e.replaceAll(",", ".").replaceAll(/[^\d.]/g, ""), Y = (e) => e.replace(/^0+(?=\d)/, ""), D = (e, t) => t > 0 ? e.slice(0, t) : e, _ = (e, t) => D(e.replaceAll(/\D/g, ""), t), G = (e, t, r) => {
|
|
28
25
|
if (e === ".") return "0.";
|
|
29
|
-
const
|
|
30
|
-
if (
|
|
31
|
-
const
|
|
32
|
-
return o.length > 0 ? `${
|
|
26
|
+
const l = e.indexOf(".");
|
|
27
|
+
if (l === -1) return D(e, t);
|
|
28
|
+
const a = D(e.slice(0, l), t) || "0", o = e.slice(l + 1).replaceAll(".", "").slice(0, r);
|
|
29
|
+
return o.length > 0 ? `${a}.${o}` : e.endsWith(".") ? `${a}.` : a;
|
|
33
30
|
};
|
|
34
31
|
function le(e, t = {}) {
|
|
35
32
|
const {
|
|
36
33
|
allowDecimals: r = !0,
|
|
37
|
-
thousandsSeparator:
|
|
38
|
-
maxIntegerLength:
|
|
34
|
+
thousandsSeparator: l = !0,
|
|
35
|
+
maxIntegerLength: a = 9,
|
|
39
36
|
maxDecimalLength: o = 9,
|
|
40
37
|
decimalSeparator: n = "."
|
|
41
|
-
} = t,
|
|
38
|
+
} = t, i = Y(V(e)), u = r ? G(i, a, o) : _(i, a), f = l ? B(u) : u;
|
|
42
39
|
return n === "." ? f : f.replaceAll(".", n);
|
|
43
40
|
}
|
|
44
|
-
const
|
|
41
|
+
const A = [
|
|
45
42
|
"orange",
|
|
46
43
|
"green",
|
|
47
44
|
"blue",
|
|
@@ -51,93 +48,93 @@ const $ = [
|
|
|
51
48
|
"turquoise",
|
|
52
49
|
"pink"
|
|
53
50
|
];
|
|
54
|
-
function
|
|
55
|
-
const t = (K(e) %
|
|
56
|
-
return
|
|
51
|
+
function ae(e) {
|
|
52
|
+
const t = (K(e) % A.length + A.length) % A.length;
|
|
53
|
+
return A[t];
|
|
57
54
|
}
|
|
58
|
-
function
|
|
55
|
+
function H(e, t) {
|
|
59
56
|
if (Object.is(e, t)) return !0;
|
|
60
|
-
const r = e,
|
|
61
|
-
return
|
|
62
|
-
(n) => Object.prototype.hasOwnProperty.call(
|
|
57
|
+
const r = e, l = t, a = Object.keys(r), o = Object.keys(l);
|
|
58
|
+
return a.length !== o.length ? !1 : a.every(
|
|
59
|
+
(n) => Object.prototype.hasOwnProperty.call(l, n) && Object.is(r[n], l[n])
|
|
63
60
|
);
|
|
64
61
|
}
|
|
65
|
-
function
|
|
66
|
-
const r = W(t),
|
|
67
|
-
const
|
|
68
|
-
return
|
|
62
|
+
function J(e, t) {
|
|
63
|
+
const r = W(t), l = ({ children: o, value: n }) => {
|
|
64
|
+
const i = q(n);
|
|
65
|
+
return H(i.current, n) || (i.current = n), /* @__PURE__ */ L(r.Provider, { value: i.current, children: o });
|
|
69
66
|
};
|
|
70
|
-
|
|
71
|
-
function
|
|
67
|
+
l.displayName = e + "Provider";
|
|
68
|
+
function a({
|
|
72
69
|
consumerName: o,
|
|
73
70
|
contextRequired: n
|
|
74
71
|
}) {
|
|
75
|
-
const
|
|
76
|
-
if (
|
|
77
|
-
return
|
|
72
|
+
const i = I(r);
|
|
73
|
+
if (i)
|
|
74
|
+
return i;
|
|
78
75
|
if (n)
|
|
79
76
|
throw new Error(
|
|
80
77
|
`${o} must be used within ${e}`
|
|
81
78
|
);
|
|
82
79
|
return t || {};
|
|
83
80
|
}
|
|
84
|
-
return [
|
|
81
|
+
return [l, a];
|
|
85
82
|
}
|
|
86
|
-
const [
|
|
83
|
+
const [oe, Q] = J("Disabled", { disabled: !1 }), ie = ({
|
|
87
84
|
consumerName: e,
|
|
88
85
|
contextRequired: t,
|
|
89
86
|
mergeWith: r
|
|
90
87
|
}) => {
|
|
91
|
-
const
|
|
88
|
+
const l = Q({
|
|
92
89
|
consumerName: e,
|
|
93
90
|
contextRequired: t ?? !1
|
|
94
91
|
});
|
|
95
|
-
return !!(r?.disabled ||
|
|
92
|
+
return !!(r?.disabled || l.disabled);
|
|
96
93
|
};
|
|
97
|
-
function
|
|
94
|
+
function se(...e) {
|
|
98
95
|
return F(N(e));
|
|
99
96
|
}
|
|
100
|
-
const w = (e) => typeof e == "string" || typeof e == "number",
|
|
101
|
-
function
|
|
97
|
+
const w = (e) => typeof e == "string" || typeof e == "number", ue = (e) => Array.isArray(e) ? e.every(w) : w(e);
|
|
98
|
+
function S(e, t) {
|
|
102
99
|
if (typeof e == "function")
|
|
103
100
|
return e(t);
|
|
104
101
|
typeof e == "object" && e !== null && "current" in e && (e.current = t);
|
|
105
102
|
}
|
|
106
|
-
function
|
|
103
|
+
function U(...e) {
|
|
107
104
|
const t = /* @__PURE__ */ new Map();
|
|
108
105
|
return (r) => {
|
|
109
106
|
if (r === null) {
|
|
110
|
-
e.forEach((
|
|
111
|
-
const
|
|
112
|
-
typeof
|
|
107
|
+
e.forEach((l) => {
|
|
108
|
+
const a = t.get(l);
|
|
109
|
+
typeof a == "function" && a(), S(l, null);
|
|
113
110
|
}), t.clear();
|
|
114
111
|
return;
|
|
115
112
|
}
|
|
116
|
-
e.forEach((
|
|
117
|
-
const
|
|
118
|
-
typeof
|
|
113
|
+
e.forEach((l) => {
|
|
114
|
+
const a = S(l, r);
|
|
115
|
+
typeof a == "function" && t.set(l, a);
|
|
119
116
|
});
|
|
120
117
|
};
|
|
121
118
|
}
|
|
122
|
-
function
|
|
123
|
-
return M(() =>
|
|
119
|
+
function ce(...e) {
|
|
120
|
+
return M(() => U(...e), e);
|
|
124
121
|
}
|
|
125
|
-
function
|
|
122
|
+
function de(e) {
|
|
126
123
|
return function(t, r) {
|
|
127
124
|
return e[t][r];
|
|
128
125
|
};
|
|
129
126
|
}
|
|
130
|
-
const
|
|
127
|
+
const fe = ({
|
|
131
128
|
currentStep: e,
|
|
132
129
|
totalSteps: t,
|
|
133
130
|
size: r,
|
|
134
|
-
label:
|
|
135
|
-
strokeWidth:
|
|
131
|
+
label: l,
|
|
132
|
+
strokeWidth: a = 4,
|
|
136
133
|
arcPercentage: o = 0.75
|
|
137
134
|
}) => {
|
|
138
|
-
const n = Math.min(Math.max(e, 0), t),
|
|
135
|
+
const n = Math.min(Math.max(e, 0), t), i = l ?? `${n}/${t}`, u = t <= 0 ? 0 : n / t, f = (r - a) / 2, p = r / 2, h = r / 2, c = 2 * Math.PI * f, m = c * o, b = m * (1 - u), g = n <= 0, v = `${m} ${c}`, P = g ? m - 2 : b;
|
|
139
136
|
return {
|
|
140
|
-
displayLabel:
|
|
137
|
+
displayLabel: i,
|
|
141
138
|
progress: u,
|
|
142
139
|
r: f,
|
|
143
140
|
cx: p,
|
|
@@ -149,7 +146,7 @@ const me = ({
|
|
|
149
146
|
progressDashOffset: P,
|
|
150
147
|
showMinimalDot: g
|
|
151
148
|
};
|
|
152
|
-
},
|
|
149
|
+
}, me = (e) => M(
|
|
153
150
|
() => ({
|
|
154
151
|
integerPart: Array.from(e.integerPart, (t) => ({
|
|
155
152
|
value: t,
|
|
@@ -161,39 +158,39 @@ const me = ({
|
|
|
161
158
|
})) : []
|
|
162
159
|
}),
|
|
163
160
|
[e.integerPart, e.decimalPart]
|
|
164
|
-
),
|
|
161
|
+
), pe = (e, t, r) => {
|
|
165
162
|
if (t) return r;
|
|
166
|
-
const
|
|
167
|
-
return e.currencyPosition === "end" ? `${
|
|
163
|
+
const l = e.decimalPart ? `${e.decimalSeparator}${e.decimalPart}` : "", a = `${e.integerPart}${l}`;
|
|
164
|
+
return e.currencyPosition === "end" ? `${a} ${e.currencyText}` : `${e.currencyText} ${a}`;
|
|
168
165
|
};
|
|
169
166
|
function Z(e, t, r = {}) {
|
|
170
|
-
const { leading:
|
|
171
|
-
let n = null,
|
|
172
|
-
const m = o !== void 0, b = m ? Math.max(o, t) : 0, g = (
|
|
173
|
-
f =
|
|
167
|
+
const { leading: l = !1, trailing: a = !0, maxWait: o } = r;
|
|
168
|
+
let n = null, i = null, u = null, f = 0, p = null, h = null, c;
|
|
169
|
+
const m = o !== void 0, b = m ? Math.max(o, t) : 0, g = (s) => {
|
|
170
|
+
f = s;
|
|
174
171
|
const d = p ?? [], x = h;
|
|
175
172
|
return p = null, h = null, c = e.apply(x, d), c;
|
|
176
|
-
}, v = (
|
|
177
|
-
const d = u ?
|
|
173
|
+
}, v = (s) => {
|
|
174
|
+
const d = u ? s - u : 0;
|
|
178
175
|
return t - d;
|
|
179
|
-
}, P = (
|
|
180
|
-
const d = u ?
|
|
176
|
+
}, P = (s) => {
|
|
177
|
+
const d = u ? s - u : t, x = s - f;
|
|
181
178
|
return u === null || d >= t || d < 0 || m && x >= b;
|
|
182
|
-
}, T = (
|
|
183
|
-
const
|
|
184
|
-
if (P(
|
|
185
|
-
T(
|
|
179
|
+
}, T = (s) => (n = null, a && p ? g(s) : (p = null, h = null, c)), y = () => {
|
|
180
|
+
const s = Date.now();
|
|
181
|
+
if (P(s)) {
|
|
182
|
+
T(s);
|
|
186
183
|
return;
|
|
187
184
|
}
|
|
188
|
-
n = setTimeout(y, v(
|
|
185
|
+
n = setTimeout(y, v(s));
|
|
189
186
|
}, k = () => {
|
|
190
|
-
const
|
|
191
|
-
|
|
192
|
-
}, O = (
|
|
193
|
-
n !== null && clearTimeout(n),
|
|
194
|
-
}, j = () => n === null &&
|
|
187
|
+
const s = Date.now();
|
|
188
|
+
i = null, p && (g(s), n !== null && (clearTimeout(n), n = setTimeout(y, t)));
|
|
189
|
+
}, O = (s) => (f = s, n = setTimeout(y, t), m && (i = setTimeout(k, b)), l ? g(s) : c), R = () => {
|
|
190
|
+
n !== null && clearTimeout(n), i !== null && clearTimeout(i), f = 0, p = null, h = null, u = null, n = null, i = null;
|
|
191
|
+
}, j = () => n === null && i === null ? c : T(Date.now()), E = () => n !== null || i !== null, $ = function(...s) {
|
|
195
192
|
const d = Date.now(), x = P(d);
|
|
196
|
-
if (p =
|
|
193
|
+
if (p = s, h = this, u = d, x) {
|
|
197
194
|
if (n === null)
|
|
198
195
|
return O(d);
|
|
199
196
|
if (m)
|
|
@@ -201,17 +198,17 @@ function Z(e, t, r = {}) {
|
|
|
201
198
|
}
|
|
202
199
|
return n === null && (n = setTimeout(y, t)), c;
|
|
203
200
|
};
|
|
204
|
-
return
|
|
201
|
+
return $.cancel = R, $.flush = j, $.pending = E, $;
|
|
205
202
|
}
|
|
206
|
-
function
|
|
207
|
-
const { leading:
|
|
203
|
+
function he(e, t, r = {}) {
|
|
204
|
+
const { leading: l = !0, trailing: a = !0 } = r;
|
|
208
205
|
return Z(e, t, {
|
|
209
|
-
leading:
|
|
210
|
-
trailing:
|
|
206
|
+
leading: l,
|
|
207
|
+
trailing: a,
|
|
211
208
|
maxWait: t
|
|
212
209
|
});
|
|
213
210
|
}
|
|
214
|
-
const
|
|
211
|
+
const ge = ({
|
|
215
212
|
onClick: e,
|
|
216
213
|
disabled: t
|
|
217
214
|
}) => e ? t ? {
|
|
@@ -225,42 +222,41 @@ const ye = ({
|
|
|
225
222
|
(r.key === "Enter" || r.key === " ") && (r.preventDefault(), e?.(r));
|
|
226
223
|
},
|
|
227
224
|
onClick: e
|
|
228
|
-
} : void 0,
|
|
225
|
+
} : void 0, C = " ", ye = ({
|
|
229
226
|
label: e,
|
|
230
227
|
placeholder: t
|
|
231
228
|
}) => {
|
|
232
229
|
const r = typeof t == "string" && t.trim().length > 0 ? t : void 0;
|
|
233
230
|
return e ? {
|
|
234
|
-
inputPlaceholder: r ??
|
|
231
|
+
inputPlaceholder: r ?? C,
|
|
235
232
|
labelStaysFloatedWithPlaceholder: r !== void 0
|
|
236
233
|
} : {
|
|
237
|
-
inputPlaceholder: t ??
|
|
234
|
+
inputPlaceholder: t ?? C,
|
|
238
235
|
labelStaysFloatedWithPlaceholder: !1
|
|
239
236
|
};
|
|
240
237
|
};
|
|
241
238
|
export {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
239
|
+
A as AVATAR_COLOR_KEYS,
|
|
240
|
+
oe as DisabledProvider,
|
|
241
|
+
S as assignRef,
|
|
242
|
+
pe as buildAriaLabel,
|
|
243
|
+
se as cn,
|
|
244
|
+
de as createPropsResolver,
|
|
245
|
+
J as createSafeContext,
|
|
249
246
|
Z as debounce,
|
|
250
247
|
B as formatThousands,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
248
|
+
ge as getButtonA11yProps,
|
|
249
|
+
ne as getFontSize,
|
|
250
|
+
fe as getStepperCalculations,
|
|
254
251
|
K as hashString,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
252
|
+
ue as isTextChildren,
|
|
253
|
+
U as mergeRefs,
|
|
254
|
+
ae as resolveAvatarColorKey,
|
|
255
|
+
ye as resolveBaseInputPlaceholder,
|
|
256
|
+
H as shallowEqual,
|
|
260
257
|
le as textFormatter,
|
|
261
|
-
|
|
262
|
-
ne as toPascalCase,
|
|
258
|
+
he as throttle,
|
|
263
259
|
ie as useDisabledContext,
|
|
264
|
-
|
|
265
|
-
|
|
260
|
+
ce as useMergedRef,
|
|
261
|
+
me as useSplitText
|
|
266
262
|
};
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/lumen-ui-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.59",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"keywords": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
]
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@ledgerhq/lumen-utils-shared": "0.1.
|
|
50
|
+
"@ledgerhq/lumen-utils-shared": "0.1.13",
|
|
51
51
|
"@types/d3-scale": "^4.0.9",
|
|
52
52
|
"@types/d3-shape": "^3.1.8",
|
|
53
53
|
"d3-scale": "^4.0.2",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
65
65
|
"class-variance-authority": "^0.7.1",
|
|
66
66
|
"@tanstack/react-table": "^8.21.3",
|
|
67
|
-
"@ledgerhq/lumen-design-core": "0.1.
|
|
67
|
+
"@ledgerhq/lumen-design-core": "0.1.29",
|
|
68
68
|
"clsx": "^2.1.1",
|
|
69
69
|
"react": "^18.0.0 || ^19.0.0",
|
|
70
70
|
"react-dom": "^18.0.0 || ^19.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/lumen-ui-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.60",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"keywords": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
]
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@ledgerhq/lumen-utils-shared": "0.1.
|
|
50
|
+
"@ledgerhq/lumen-utils-shared": "0.1.14",
|
|
51
51
|
"@types/d3-scale": "^4.0.9",
|
|
52
52
|
"@types/d3-shape": "^3.1.8",
|
|
53
53
|
"d3-scale": "^4.0.2",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
65
65
|
"class-variance-authority": "^0.7.1",
|
|
66
66
|
"@tanstack/react-table": "^8.21.3",
|
|
67
|
-
"@ledgerhq/lumen-design-core": "0.1.
|
|
67
|
+
"@ledgerhq/lumen-design-core": "0.1.30",
|
|
68
68
|
"clsx": "^2.1.1",
|
|
69
69
|
"react": "^18.0.0 || ^19.0.0",
|
|
70
70
|
"react-dom": "^18.0.0 || ^19.0.0",
|