@ledgerhq/lumen-ui-react 0.1.43 → 0.1.45
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/ai-rules/RULES.md +42 -42
- package/dist/index.js +111 -107
- package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts +1 -2
- package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts.map +1 -1
- package/dist/lib/Components/AmountDisplay/AmountDisplay.js +1 -0
- package/dist/lib/Components/AmountInput/AmountInput.d.ts +1 -1
- package/dist/lib/Components/AmountInput/AmountInput.d.ts.map +1 -1
- package/dist/lib/Components/AmountInput/AmountInput.js +34 -32
- package/dist/lib/Components/AmountInput/types.d.ts +8 -0
- package/dist/lib/Components/AmountInput/types.d.ts.map +1 -1
- package/dist/lib/Components/AmountInput/useAmountInputValue/useAmountInputValue.d.ts +1 -0
- package/dist/lib/Components/AmountInput/useAmountInputValue/useAmountInputValue.d.ts.map +1 -1
- package/dist/lib/Components/AmountInput/useAmountInputValue/useAmountInputValue.js +9 -8
- package/dist/lib/Components/Avatar/Avatar.d.ts +1 -1
- package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/lib/Components/Avatar/Avatar.js +12 -11
- package/dist/lib/Components/Banner/Banner.d.ts +1 -2
- package/dist/lib/Components/Banner/Banner.d.ts.map +1 -1
- package/dist/lib/Components/BaseInput/BaseInput.js +13 -13
- package/dist/lib/Components/Button/Button.d.ts +1 -2
- package/dist/lib/Components/Button/Button.d.ts.map +1 -1
- package/dist/lib/Components/Button/Button.js +9 -9
- package/dist/lib/Components/Card/Card.js +14 -14
- package/dist/lib/Components/CardButton/CardButton.d.ts +1 -2
- package/dist/lib/Components/CardButton/CardButton.d.ts.map +1 -1
- package/dist/lib/Components/Checkbox/Checkbox.d.ts +1 -2
- package/dist/lib/Components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/lib/Components/DataTable/DataTable.js +6 -6
- package/dist/lib/Components/DescriptionItem/DescriptionItem.d.ts +1 -1
- package/dist/lib/Components/Dialog/Dialog.d.ts +6 -6
- package/dist/lib/Components/Dialog/DialogClose/DialogClose.d.ts +1 -1
- package/dist/lib/Components/Divider/Divider.d.ts +1 -1
- package/dist/lib/Components/Divider/Divider.js +4 -4
- package/dist/lib/Components/DotIcon/DotIcon.js +5 -5
- package/dist/lib/Components/Icon/Icon.js +4 -4
- package/dist/lib/Components/InteractiveIcon/InteractiveIcon.d.ts +1 -2
- package/dist/lib/Components/InteractiveIcon/InteractiveIcon.d.ts.map +1 -1
- package/dist/lib/Components/Link/Link.d.ts +1 -2
- package/dist/lib/Components/Link/Link.d.ts.map +1 -1
- package/dist/lib/Components/Link/Link.js +6 -6
- package/dist/lib/Components/ListItem/ListItem.d.ts +1 -2
- package/dist/lib/Components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/lib/Components/MediaBanner/MediaBanner.d.ts +1 -1
- package/dist/lib/Components/MediaImage/MediaImage.js +6 -6
- package/dist/lib/Components/MediaTag/MediaTag.d.ts +1 -1
- package/dist/lib/Components/Menu/Menu.d.ts +8 -3
- package/dist/lib/Components/Menu/Menu.d.ts.map +1 -1
- package/dist/lib/Components/Menu/Menu.js +40 -33
- package/dist/lib/Components/Menu/types.d.ts +6 -5
- package/dist/lib/Components/Menu/types.d.ts.map +1 -1
- package/dist/lib/Components/NavBar/NavBar.d.ts +1 -2
- package/dist/lib/Components/NavBar/NavBar.d.ts.map +1 -1
- package/dist/lib/Components/NavBar/NavBar.js +9 -9
- package/dist/lib/Components/Pagination/Pagination.js +10 -10
- package/dist/lib/Components/Popover/Popover.d.ts +3 -3
- package/dist/lib/Components/Popover/Popover.js +10 -10
- package/dist/lib/Components/SegmentedControl/SegmentedControl.d.ts +8 -3
- package/dist/lib/Components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/lib/Components/SegmentedControl/SegmentedControl.js +41 -32
- package/dist/lib/Components/SegmentedControl/types.d.ts +6 -5
- package/dist/lib/Components/SegmentedControl/types.d.ts.map +1 -1
- package/dist/lib/Components/Select/Select.d.ts +19 -5
- package/dist/lib/Components/Select/Select.d.ts.map +1 -1
- package/dist/lib/Components/Select/Select.js +127 -104
- package/dist/lib/Components/Select/index.d.ts +1 -1
- package/dist/lib/Components/Select/index.d.ts.map +1 -1
- package/dist/lib/Components/Select/types.d.ts +20 -19
- package/dist/lib/Components/Select/types.d.ts.map +1 -1
- package/dist/lib/Components/Select/useSelectItems/useSelectItems.d.ts +9 -9
- package/dist/lib/Components/Select/useSelectItems/useSelectItems.d.ts.map +1 -1
- package/dist/lib/Components/Select/utils/groupItems.d.ts +2 -2
- package/dist/lib/Components/Select/utils/groupItems.d.ts.map +1 -1
- package/dist/lib/Components/SideBar/SideBar.d.ts +12 -4
- package/dist/lib/Components/SideBar/SideBar.d.ts.map +1 -1
- package/dist/lib/Components/SideBar/SideBar.js +61 -51
- package/dist/lib/Components/SideBar/index.d.ts +2 -2
- package/dist/lib/Components/SideBar/index.d.ts.map +1 -1
- package/dist/lib/Components/SideBar/types.d.ts +7 -6
- package/dist/lib/Components/SideBar/types.d.ts.map +1 -1
- package/dist/lib/Components/Spot/Spot.d.ts +1 -1
- package/dist/lib/Components/Subheader/Subheader.d.ts +1 -2
- package/dist/lib/Components/Subheader/Subheader.d.ts.map +1 -1
- package/dist/lib/Components/Switch/Switch.d.ts +1 -2
- package/dist/lib/Components/Switch/Switch.d.ts.map +1 -1
- package/dist/lib/Components/Table/Table.js +49 -49
- package/dist/lib/Components/Table/utils/useThrottledScrollBottom.js +5 -5
- package/dist/lib/Components/Tag/Tag.d.ts +1 -1
- package/dist/lib/Components/Tile/Tile.d.ts +1 -2
- package/dist/lib/Components/Tile/Tile.d.ts.map +1 -1
- package/dist/lib/Components/TileButton/TileButton.d.ts +1 -1
- package/dist/lib/Components/TileButton/TileButton.js +6 -6
- package/dist/lib/Components/Tooltip/Tooltip.d.ts +4 -4
- package/dist/lib/Components/Tooltip/Tooltip.js +4 -4
- package/dist/lib/Symbols/Icons/Airplane.d.ts +1 -1
- package/dist/lib/Symbols/Icons/AlarmClock.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Android.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Apex.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Apple.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Apps.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Ar.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ArrowDown.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ArrowDownRight.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ArrowLeft.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ArrowRight.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ArrowUp.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ArrowUpRight.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Asterisk.d.ts +1 -1
- package/dist/lib/Symbols/Icons/At.d.ts +1 -1
- package/dist/lib/Symbols/Icons/AutoLock.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Bank.d.ts +1 -1
- package/dist/lib/Symbols/Icons/BasketPutIn.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Bell.d.ts +1 -1
- package/dist/lib/Symbols/Icons/BellFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/BellNotification.d.ts +1 -1
- package/dist/lib/Symbols/Icons/BitcoinComputer.d.ts +1 -1
- package/dist/lib/Symbols/Icons/BitcoinVoucher.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Bluetooth.d.ts +1 -1
- package/dist/lib/Symbols/Icons/BluetoothCircleFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Bolt.d.ts +1 -1
- package/dist/lib/Symbols/Icons/BookOpen.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Bug.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Bundle.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Calendar.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Cart.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Charon.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Chart1.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Chart2.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Chart3.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Chart4.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Chart5.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Chart5Fill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ChartPie.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Check.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CheckmarkCircle.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CheckmarkCircleFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ChevronAscending.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ChevronBigBottom.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ChevronBigLeft.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ChevronBigRight.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ChevronBigTop.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ChevronDescending.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ChevronDown.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ChevronLeft.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ChevronRight.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ChevronUp.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ChevronUpDown.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Circles.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Clear.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Clip.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Clock.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ClockFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Close.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CloudDownload.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CloudUpload.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Code.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CoinAlert.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CoinPercent.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Coins.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CoinsAddPlus.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CoinsCheck.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CoinsCross.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CoinsCrypto.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CoinsEye.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ColorPalette.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Compass.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ComputerMobile.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Copy.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CreditCard.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CreditCardFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CryptoBitcoinCoin.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Csv.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CursorTouch.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CurveDown.d.ts +1 -1
- package/dist/lib/Symbols/Icons/CurveUp.d.ts +1 -1
- package/dist/lib/Symbols/Icons/DatabaseLock.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Delete.d.ts +1 -1
- package/dist/lib/Symbols/Icons/DeleteCircle.d.ts +1 -1
- package/dist/lib/Symbols/Icons/DeleteCircleFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/DeleteStop.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Desktop.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Devices.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Discord.d.ts +1 -1
- package/dist/lib/Symbols/Icons/DocumentCode.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Dollar.d.ts +1 -1
- package/dist/lib/Symbols/Icons/DollarConvert.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Download.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Duplicate.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Exchange.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ExchangeFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ExitLogout.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Expand.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ExpandLeft.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ExpandRight.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Experiment.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Experiment2.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ExternalLink.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Eye.d.ts +1 -1
- package/dist/lib/Symbols/Icons/EyeCross.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Facebook.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Feather.d.ts +1 -1
- package/dist/lib/Symbols/Icons/FileDownload.d.ts +1 -1
- package/dist/lib/Symbols/Icons/FilterSort.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Flex.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Folder.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Gift.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Github.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Globe.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Grid.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Grid2.d.ts +1 -1
- package/dist/lib/Symbols/Icons/GroupUsers.d.ts +1 -1
- package/dist/lib/Symbols/Icons/GroupUsersAdd.d.ts +1 -1
- package/dist/lib/Symbols/Icons/HandCard.d.ts +1 -1
- package/dist/lib/Symbols/Icons/HandCoins.d.ts +1 -1
- package/dist/lib/Symbols/Icons/HandKey.d.ts +1 -1
- package/dist/lib/Symbols/Icons/HatSchool.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Heart.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Home.d.ts +1 -1
- package/dist/lib/Symbols/Icons/HomeFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/IdCard.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Incognito.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Infinite.d.ts +1 -1
- package/dist/lib/Symbols/Icons/InfiniteFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Information.d.ts +1 -1
- package/dist/lib/Symbols/Icons/InformationFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Instagram.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Invoice.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Ios.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Label.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Language.d.ts +1 -1
- package/dist/lib/Symbols/Icons/LedgerDevices.d.ts +1 -1
- package/dist/lib/Symbols/Icons/LedgerLogo.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Legal.d.ts +1 -1
- package/dist/lib/Symbols/Icons/LifeRing.d.ts +1 -1
- package/dist/lib/Symbols/Icons/LifeRingFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Lightbulb.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Link.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Linkedin.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Linux.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ListEye.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Lock.d.ts +1 -1
- package/dist/lib/Symbols/Icons/LockCheckSuccess.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Macos.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Magnet.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Mail.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Mailbox.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Maths.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Medal1.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Medal2.d.ts +1 -1
- package/dist/lib/Symbols/Icons/MenuBurger.d.ts +1 -1
- package/dist/lib/Symbols/Icons/MessageChat.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Minus.d.ts +1 -1
- package/dist/lib/Symbols/Icons/MinusCircle.d.ts +1 -1
- package/dist/lib/Symbols/Icons/MinusCircleFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Mobile.d.ts +1 -1
- package/dist/lib/Symbols/Icons/MobileArrow.d.ts +1 -1
- package/dist/lib/Symbols/Icons/MonitorPassword.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Moon.d.ts +1 -1
- package/dist/lib/Symbols/Icons/MoreHorizontal.d.ts +1 -1
- package/dist/lib/Symbols/Icons/MoreVertical.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Nano.d.ts +1 -1
- package/dist/lib/Symbols/Icons/NanoGen5.d.ts +1 -1
- package/dist/lib/Symbols/Icons/NetworkWarning.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Nfc.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Nft.d.ts +1 -1
- package/dist/lib/Symbols/Icons/NftHide.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Note.d.ts +1 -1
- package/dist/lib/Symbols/Icons/P2p.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Parachute.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Paste.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Pause.d.ts +1 -1
- package/dist/lib/Symbols/Icons/PenEdit.d.ts +1 -1
- package/dist/lib/Symbols/Icons/PenEditWriting.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Percentage.d.ts +1 -1
- package/dist/lib/Symbols/Icons/PictureImage.d.ts +1 -1
- package/dist/lib/Symbols/Icons/PiggyBank.d.ts +1 -1
- package/dist/lib/Symbols/Icons/PinLocation.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Placeholder.d.ts +1 -1
- package/dist/lib/Symbols/Icons/PlaceholderCicleFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Planet.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Plus.d.ts +1 -1
- package/dist/lib/Symbols/Icons/PlusCircle.d.ts +1 -1
- package/dist/lib/Symbols/Icons/PlusCircleFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Printer.d.ts +1 -1
- package/dist/lib/Symbols/Icons/QrCode.d.ts +1 -1
- package/dist/lib/Symbols/Icons/QrCodeScanner.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Question.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Range.d.ts +1 -1
- package/dist/lib/Symbols/Icons/RecoveryKey.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Reddit.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Reduce.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Refresh.d.ts +1 -1
- package/dist/lib/Symbols/Icons/RefreshBack.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Repair.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Screens.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Search.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ServerDatabaseFail.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Settings.d.ts +1 -1
- package/dist/lib/Symbols/Icons/SettingsAlt.d.ts +1 -1
- package/dist/lib/Symbols/Icons/SettingsAlt2.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Shapes.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Share.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Share2.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ShieldCheck.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ShieldCheckNotification.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ShieldLock.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ShieldMore.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Signature.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Slideshow.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Snow.d.ts +1 -1
- package/dist/lib/Symbols/Icons/SoftRepair.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Spacerocket.d.ts +1 -1
- package/dist/lib/Symbols/Icons/SparksFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/SpeedFast.d.ts +1 -1
- package/dist/lib/Symbols/Icons/SpeedLow.d.ts +1 -1
- package/dist/lib/Symbols/Icons/SpeedMedium.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Star.d.ts +1 -1
- package/dist/lib/Symbols/Icons/StarFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/StarHalf.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Stax.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Sun.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Support.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Switch.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Switch2.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Tablet.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Target.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Telegram.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Theme.d.ts +1 -1
- package/dist/lib/Symbols/Icons/ThemeFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Threads.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Tiktok.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Tools.d.ts +1 -1
- package/dist/lib/Symbols/Icons/TransferHorizontal.d.ts +1 -1
- package/dist/lib/Symbols/Icons/TransferVertical.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Trash.d.ts +1 -1
- package/dist/lib/Symbols/Icons/TriangleDown.d.ts +1 -1
- package/dist/lib/Symbols/Icons/TriangleUp.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Truck.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Twitter.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Unlink.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Unlock.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Usb.d.ts +1 -1
- package/dist/lib/Symbols/Icons/UsbC.d.ts +1 -1
- package/dist/lib/Symbols/Icons/User.d.ts +1 -1
- package/dist/lib/Symbols/Icons/UserAdd.d.ts +1 -1
- package/dist/lib/Symbols/Icons/UserArrowRight.d.ts +1 -1
- package/dist/lib/Symbols/Icons/UserCheck.d.ts +1 -1
- package/dist/lib/Symbols/Icons/UserCircle.d.ts +1 -1
- package/dist/lib/Symbols/Icons/UserDelete.d.ts +1 -1
- package/dist/lib/Symbols/Icons/UserLock.d.ts +1 -1
- package/dist/lib/Symbols/Icons/UserShield.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Wallet.d.ts +1 -1
- package/dist/lib/Symbols/Icons/WalletInput.d.ts +1 -1
- package/dist/lib/Symbols/Icons/WalletSearch.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Warning.d.ts +1 -1
- package/dist/lib/Symbols/Icons/WarningFill.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Whatsapp.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Windows.d.ts +1 -1
- package/dist/lib/Symbols/Icons/WirelessCharging.d.ts +1 -1
- package/dist/lib/Symbols/Icons/Youtube.d.ts +1 -1
- package/dist/libs/utils-shared/dist/index.js +138 -143
- package/dist/package.json +3 -3
- package/package.json +3 -3
|
@@ -5,7 +5,7 @@ import { AvatarProps } from './types';
|
|
|
5
5
|
* When the image fails to load or no src is provided, displays a User icon fallback.
|
|
6
6
|
* Supports an optional notification indicator.
|
|
7
7
|
*
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
8
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-avatar--docs Storybook}
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* import { Avatar } from '@ledgerhq/lumen-ui-react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA0C3C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM,GAAI,8GAUpB,WAAW,
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA0C3C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM,GAAI,8GAUpB,WAAW,4CAwDb,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { cva as h } from "class-variance-authority";
|
|
3
|
-
import { useState as
|
|
4
|
-
import { useCommonTranslation as
|
|
5
|
-
import { User as
|
|
3
|
+
import { useState as x, useEffect as z } from "react";
|
|
4
|
+
import { useCommonTranslation as N } from "../../../i18n/useCommonTranslation.js";
|
|
5
|
+
import { User as A } from "../../Symbols/Icons/User.js";
|
|
6
6
|
import { DotIndicator as j } from "../DotIndicator/DotIndicator.js";
|
|
7
7
|
const k = {
|
|
8
8
|
root: h(
|
|
@@ -37,7 +37,7 @@ const k = {
|
|
|
37
37
|
}, V = ({
|
|
38
38
|
ref: l,
|
|
39
39
|
className: c,
|
|
40
|
-
src:
|
|
40
|
+
src: e,
|
|
41
41
|
alt: m,
|
|
42
42
|
appearance: d = "transparent",
|
|
43
43
|
size: a = "md",
|
|
@@ -45,11 +45,11 @@ const k = {
|
|
|
45
45
|
showNotification: p = !1,
|
|
46
46
|
...u
|
|
47
47
|
}) => {
|
|
48
|
-
const { t:
|
|
49
|
-
|
|
48
|
+
const { t: r } = N(), [v, o] = x(!1), b = !e || v, n = m || r("components.avatar.defaultAlt"), s = p && (a === "sm" || a === "md"), g = s ? `${n}, ${r("components.avatar.notificationAriaLabel")}` : n;
|
|
49
|
+
z(() => {
|
|
50
50
|
o(!1);
|
|
51
|
-
}, [
|
|
52
|
-
const
|
|
51
|
+
}, [e]);
|
|
52
|
+
const i = /* @__PURE__ */ t(
|
|
53
53
|
"div",
|
|
54
54
|
{
|
|
55
55
|
ref: l,
|
|
@@ -58,8 +58,9 @@ const k = {
|
|
|
58
58
|
"aria-label": g,
|
|
59
59
|
...u,
|
|
60
60
|
children: b ? /* @__PURE__ */ t(
|
|
61
|
-
|
|
61
|
+
A,
|
|
62
62
|
{
|
|
63
|
+
className: "text-base",
|
|
63
64
|
size: w[a],
|
|
64
65
|
"aria-label": "Fallback Icon",
|
|
65
66
|
"aria-hidden": "true"
|
|
@@ -67,7 +68,7 @@ const k = {
|
|
|
67
68
|
) : /* @__PURE__ */ t(
|
|
68
69
|
"img",
|
|
69
70
|
{
|
|
70
|
-
src:
|
|
71
|
+
src: e,
|
|
71
72
|
alt: "",
|
|
72
73
|
loading: f,
|
|
73
74
|
onError: () => o(!0),
|
|
@@ -77,7 +78,7 @@ const k = {
|
|
|
77
78
|
)
|
|
78
79
|
}
|
|
79
80
|
);
|
|
80
|
-
return
|
|
81
|
+
return s ? /* @__PURE__ */ t(j, { size: E[a], appearance: "red", children: i }) : i;
|
|
81
82
|
};
|
|
82
83
|
export {
|
|
83
84
|
V as Avatar
|
|
@@ -4,8 +4,7 @@ import { BannerProps } from './types';
|
|
|
4
4
|
*
|
|
5
5
|
* The appearance determines the color scheme and icon used.
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/communication-banner-implementation--docs#dos-and-donts Guidelines}
|
|
7
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-banner--docs Guidelines}
|
|
9
8
|
*
|
|
10
9
|
* @warning The `className` prop should only be used for layout adjustments like margins or positioning.
|
|
11
10
|
* Do not use it to modify the banner's core appearance (colors, padding, etc). Use the `appearance` prop instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Banner/Banner.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAsB3C
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Banner/Banner.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAsB3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,MAAM,GAAI,uHAWpB,WAAW,4CAsCb,CAAC"}
|
|
@@ -37,7 +37,7 @@ const te = u(
|
|
|
37
37
|
"group-has-disabled:text-disabled",
|
|
38
38
|
"peer-focus:top-6 peer-focus:translate-y-0 peer-focus:body-4",
|
|
39
39
|
"w-[calc(100%-var(--size-56))] truncate"
|
|
40
|
-
),
|
|
40
|
+
), se = u(ae, {
|
|
41
41
|
variants: {
|
|
42
42
|
status: {
|
|
43
43
|
default: "",
|
|
@@ -53,7 +53,7 @@ const te = u(
|
|
|
53
53
|
status: "default",
|
|
54
54
|
floated: !1
|
|
55
55
|
}
|
|
56
|
-
}),
|
|
56
|
+
}), oe = u("mt-8 flex items-center gap-2 body-3", {
|
|
57
57
|
variants: {
|
|
58
58
|
status: {
|
|
59
59
|
default: "text-muted",
|
|
@@ -90,8 +90,8 @@ const te = u(
|
|
|
90
90
|
}), { t: E } = Z(), t = K(null), L = Q(), c = k || `input-${L}`, A = D ?? (e === "error" ? !0 : void 0), i = a.value !== void 0, [H, f] = X(
|
|
91
91
|
a.defaultValue?.toString() || ""
|
|
92
92
|
), M = Y(
|
|
93
|
-
(
|
|
94
|
-
i || f(
|
|
93
|
+
(s) => {
|
|
94
|
+
i || f(s.target.value), h?.(s);
|
|
95
95
|
},
|
|
96
96
|
[i, h]
|
|
97
97
|
), O = i ? !!a.value && a.value.toString().length > 0 : H.length > 0, { inputPlaceholder: T, labelStaysFloatedWithPlaceholder: W } = G({
|
|
@@ -111,17 +111,17 @@ const te = u(
|
|
|
111
111
|
"div",
|
|
112
112
|
{
|
|
113
113
|
className: n(te({ status: e }), S),
|
|
114
|
-
onPointerDown: (
|
|
115
|
-
if (
|
|
116
|
-
const
|
|
117
|
-
if (!
|
|
118
|
-
const x =
|
|
114
|
+
onPointerDown: (s) => {
|
|
115
|
+
if (s.target.closest("input, button, a")) return;
|
|
116
|
+
const o = t.current;
|
|
117
|
+
if (!o) return;
|
|
118
|
+
const x = o.value.length > 0 ? o.value.length : 0;
|
|
119
119
|
window.requestAnimationFrame(() => {
|
|
120
120
|
try {
|
|
121
|
-
|
|
121
|
+
o.setSelectionRange(x, x);
|
|
122
122
|
} catch {
|
|
123
123
|
}
|
|
124
|
-
|
|
124
|
+
o.focus();
|
|
125
125
|
});
|
|
126
126
|
},
|
|
127
127
|
children: [
|
|
@@ -149,7 +149,7 @@ const te = u(
|
|
|
149
149
|
{
|
|
150
150
|
htmlFor: c,
|
|
151
151
|
className: n(
|
|
152
|
-
|
|
152
|
+
se({
|
|
153
153
|
status: e,
|
|
154
154
|
floated: W
|
|
155
155
|
}),
|
|
@@ -176,7 +176,7 @@ const te = u(
|
|
|
176
176
|
"div",
|
|
177
177
|
{
|
|
178
178
|
id: g,
|
|
179
|
-
className:
|
|
179
|
+
className: oe({ status: e }),
|
|
180
180
|
role: e === "error" ? "alert" : void 0,
|
|
181
181
|
children: [
|
|
182
182
|
e === "error" && /* @__PURE__ */ r(y, { size: 16, className: "text-error" }),
|
|
@@ -4,8 +4,7 @@ import { ButtonProps } from './types';
|
|
|
4
4
|
*
|
|
5
5
|
* When in loading state, it displays a spinner. If an icon is provided without children, it renders as an icon-only button.
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/action-button--docs#dos-and-donts Guidelines}
|
|
7
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-button--docs Guidelines}
|
|
9
8
|
*
|
|
10
9
|
* @warning The `className` prop should only be used for layout adjustments like margins or positioning.
|
|
11
10
|
* Do not use it to modify the button's core appearance (colors, padding, etc). Use the `appearance` prop instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Button/Button.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAe3C
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Button/Button.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAe3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,MAAM,GAAI,uEASpB,WAAW,4CAcb,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
3
|
-
import { cva as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { cn as d } from "../../../libs/utils-shared/dist/index.js";
|
|
3
|
+
import { cva as e } from "class-variance-authority";
|
|
4
4
|
import { BaseButton as b } from "./BaseButton.js";
|
|
5
|
-
const l =
|
|
5
|
+
const l = e("", {
|
|
6
6
|
variants: {
|
|
7
7
|
size: {
|
|
8
8
|
sm: "px-16 py-10 body-2-semi-bold",
|
|
@@ -15,22 +15,22 @@ const l = d("", {
|
|
|
15
15
|
}
|
|
16
16
|
}), x = ({
|
|
17
17
|
ref: t,
|
|
18
|
-
className:
|
|
19
|
-
loading:
|
|
18
|
+
className: s,
|
|
19
|
+
loading: m,
|
|
20
20
|
disabled: r,
|
|
21
21
|
children: a,
|
|
22
22
|
size: o,
|
|
23
23
|
icon: i,
|
|
24
24
|
...p
|
|
25
|
-
}) => /* @__PURE__ */
|
|
25
|
+
}) => /* @__PURE__ */ n(
|
|
26
26
|
b,
|
|
27
27
|
{
|
|
28
28
|
ref: t,
|
|
29
29
|
size: o,
|
|
30
30
|
disabled: r,
|
|
31
31
|
icon: i,
|
|
32
|
-
loading:
|
|
33
|
-
className:
|
|
32
|
+
loading: m,
|
|
33
|
+
className: d(l({ size: o }), "gap-8", s),
|
|
34
34
|
...p,
|
|
35
35
|
children: a
|
|
36
36
|
}
|
|
@@ -144,7 +144,7 @@ const k = ({
|
|
|
144
144
|
]
|
|
145
145
|
}
|
|
146
146
|
);
|
|
147
|
-
},
|
|
147
|
+
}, V = ({
|
|
148
148
|
ref: t,
|
|
149
149
|
children: a,
|
|
150
150
|
className: r,
|
|
@@ -157,7 +157,7 @@ const k = ({
|
|
|
157
157
|
...e,
|
|
158
158
|
children: a
|
|
159
159
|
}
|
|
160
|
-
),
|
|
160
|
+
), z = ({
|
|
161
161
|
ref: t,
|
|
162
162
|
children: a,
|
|
163
163
|
className: r,
|
|
@@ -203,7 +203,7 @@ const k = ({
|
|
|
203
203
|
children: a
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
|
-
},
|
|
206
|
+
}, U = ({
|
|
207
207
|
ref: t,
|
|
208
208
|
children: a,
|
|
209
209
|
className: r,
|
|
@@ -226,7 +226,7 @@ const k = ({
|
|
|
226
226
|
children: a
|
|
227
227
|
}
|
|
228
228
|
);
|
|
229
|
-
},
|
|
229
|
+
}, I = ({
|
|
230
230
|
ref: t,
|
|
231
231
|
children: a,
|
|
232
232
|
className: r,
|
|
@@ -249,7 +249,7 @@ const k = ({
|
|
|
249
249
|
children: a
|
|
250
250
|
}
|
|
251
251
|
);
|
|
252
|
-
},
|
|
252
|
+
}, L = ({
|
|
253
253
|
ref: t,
|
|
254
254
|
children: a,
|
|
255
255
|
className: r,
|
|
@@ -272,7 +272,7 @@ const k = ({
|
|
|
272
272
|
children: a
|
|
273
273
|
}
|
|
274
274
|
) });
|
|
275
|
-
},
|
|
275
|
+
}, M = ({
|
|
276
276
|
ref: t,
|
|
277
277
|
children: a,
|
|
278
278
|
className: r,
|
|
@@ -304,7 +304,7 @@ const k = ({
|
|
|
304
304
|
) })
|
|
305
305
|
}
|
|
306
306
|
);
|
|
307
|
-
},
|
|
307
|
+
}, S = ({
|
|
308
308
|
ref: t,
|
|
309
309
|
children: a,
|
|
310
310
|
className: r,
|
|
@@ -320,14 +320,14 @@ const k = ({
|
|
|
320
320
|
);
|
|
321
321
|
export {
|
|
322
322
|
P as Card,
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
z as CardContent,
|
|
324
|
+
I as CardContentDescription,
|
|
325
325
|
B as CardContentRow,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
326
|
+
U as CardContentTitle,
|
|
327
|
+
M as CardFooter,
|
|
328
|
+
S as CardFooterActions,
|
|
329
329
|
T as CardHeader,
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
V as CardLeading,
|
|
331
|
+
L as CardTrailing,
|
|
332
332
|
k as resolveCardInnerContext
|
|
333
333
|
};
|
|
@@ -4,8 +4,7 @@ import { CardButtonProps } from './types';
|
|
|
4
4
|
*
|
|
5
5
|
* It supports different appearances. takes full width by default. The chevron can be hidden if needed.
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/action-cardbutton--docs#dos-and-donts Guidelines}
|
|
7
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-cardbutton--docs Guidelines}
|
|
9
8
|
*
|
|
10
9
|
* @warning The `className` prop should only be used for layout adjustments like margins or positioning.
|
|
11
10
|
* Do not use it to modify the card button's core appearance (colors, padding, etc). Use the `appearance` prop instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/CardButton/CardButton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAkB/C
|
|
1
|
+
{"version":3,"file":"CardButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/CardButton/CardButton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAkB/C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,UAAU,GAAI,yGAUxB,eAAe,4CAoCjB,CAAC"}
|
|
@@ -5,8 +5,7 @@ import { CheckboxProps } from './types';
|
|
|
5
5
|
* The checkbox follows the design system tokens and supports checked, unchecked,
|
|
6
6
|
* disabled, and focus states with proper hover and active interactions.
|
|
7
7
|
*
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
9
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/components-checkbox-implementation--docs#dos-and-donts Guidelines}
|
|
8
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-checkbox--docs Guidelines}
|
|
10
9
|
*
|
|
11
10
|
* @warning The `className` prop should only be used for layout adjustments like margins or positioning.
|
|
12
11
|
* Do not use it to modify the checkbox's core appearance.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAiB7C
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAiB7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,eAAO,MAAM,QAAQ,GAAI,sDAKtB,aAAa,4CAkBf,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { flexRender as m } from "@tanstack/react-table";
|
|
|
4
4
|
import { useCallback as R, Fragment as x } from "react";
|
|
5
5
|
import { TableRoot as B, Table as k, TableLoadingRow as y, TableHeader as H, TableHeaderRow as N, TableHeaderCell as S, TableSortButton as v, TableBody as b, TableGroupHeaderRow as G, TableRow as q, TableCell as I } from "../Table/Table.js";
|
|
6
6
|
import { SearchInput as F } from "../SearchInput/SearchInput.js";
|
|
7
|
-
const [M, u] = w("DataTableContext"),
|
|
7
|
+
const [M, u] = w("DataTableContext"), O = ({
|
|
8
8
|
table: l,
|
|
9
9
|
appearance: n = "no-background",
|
|
10
10
|
paginationMode: o = "none",
|
|
@@ -73,7 +73,7 @@ const [M, u] = w("DataTableContext"), Q = ({
|
|
|
73
73
|
r.id
|
|
74
74
|
);
|
|
75
75
|
}) }, i.id)) });
|
|
76
|
-
},
|
|
76
|
+
}, Q = ({ className: l, ref: n, ...o }) => {
|
|
77
77
|
const {
|
|
78
78
|
appearance: e,
|
|
79
79
|
paginationMode: t,
|
|
@@ -97,7 +97,7 @@ const [M, u] = w("DataTableContext"), Q = ({
|
|
|
97
97
|
children: [
|
|
98
98
|
/* @__PURE__ */ d(k, { children: [
|
|
99
99
|
!i && /* @__PURE__ */ a(j, {}),
|
|
100
|
-
s ? /* @__PURE__ */ a(
|
|
100
|
+
s ? /* @__PURE__ */ a(L, {}) : /* @__PURE__ */ a(P, {})
|
|
101
101
|
] }),
|
|
102
102
|
t === "infinite-scroll" && /* @__PURE__ */ a(y, {})
|
|
103
103
|
]
|
|
@@ -117,7 +117,7 @@ const [M, u] = w("DataTableContext"), Q = ({
|
|
|
117
117
|
(!e || e.key !== i) && (e = { key: i, rows: [], count: 0 }, o.push(e)), e.rows.push(t), e.count++;
|
|
118
118
|
}
|
|
119
119
|
return o;
|
|
120
|
-
},
|
|
120
|
+
}, L = ({
|
|
121
121
|
className: l,
|
|
122
122
|
ref: n,
|
|
123
123
|
...o
|
|
@@ -178,7 +178,7 @@ const [M, u] = w("DataTableContext"), Q = ({
|
|
|
178
178
|
);
|
|
179
179
|
};
|
|
180
180
|
export {
|
|
181
|
-
|
|
181
|
+
Q as DataTable,
|
|
182
182
|
W as DataTableGlobalSearchInput,
|
|
183
|
-
|
|
183
|
+
O as DataTableRoot
|
|
184
184
|
};
|
|
@@ -5,7 +5,7 @@ import { DescriptionItemLabelProps, DescriptionItemLeadingProps, DescriptionItem
|
|
|
5
5
|
* and DescriptionItemTrailing / DescriptionItemValue (value side).
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
8
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-descriptionitem--docs Storybook}
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* <DescriptionItem size="md">
|
|
@@ -6,7 +6,7 @@ import { DialogBodyProps, DialogBodyStickyContentProps, DialogContentProps, Dial
|
|
|
6
6
|
* This component wraps the Radix UI Dialog Root. It manages the dialog's visibility
|
|
7
7
|
* state and coordinates between the trigger and content components.
|
|
8
8
|
*
|
|
9
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
9
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-dialog--docs Storybook}
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* import { Dialog, DialogTrigger, DialogContent, DialogHeader, DialogBody, Button } from '@ledgerhq/lumen-ui-react';
|
|
@@ -41,7 +41,7 @@ export declare function Dialog({ height, ...props }: DialogProps): import("react
|
|
|
41
41
|
* the trigger for the dialog. When users click on this element, the
|
|
42
42
|
* associated dialog content will be displayed.
|
|
43
43
|
*
|
|
44
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
44
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-dialog--docs Storybook}
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* import { DialogTrigger, Button } from '@ledgerhq/lumen-ui-react';
|
|
@@ -58,7 +58,7 @@ export { DialogClose } from './DialogClose/DialogClose';
|
|
|
58
58
|
* This component renders the actual dialog content with custom styling.
|
|
59
59
|
* The content is automatically positioned in the center of the viewport.
|
|
60
60
|
*
|
|
61
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
61
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-dialog--docs Storybook}
|
|
62
62
|
*
|
|
63
63
|
* @warning The `className` prop should only be used for layout adjustments like margins or positioning.
|
|
64
64
|
* Do not use it to modify the dialog's core appearance (colors, padding, etc).
|
|
@@ -86,7 +86,7 @@ export declare function DialogContent({ className, children, ...props }: DialogC
|
|
|
86
86
|
* remaining space between the header and footer. Use it when you have
|
|
87
87
|
* content that may overflow the dialog height.
|
|
88
88
|
*
|
|
89
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
89
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-dialog--docs Storybook}
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* <DialogContent>
|
|
@@ -107,7 +107,7 @@ export declare const DialogBody: ({ ref, className, children, scrollbarWidth, st
|
|
|
107
107
|
* dialog body scrolls, such as search inputs, filters, or section controls.
|
|
108
108
|
* It should be used inside `DialogBody`.
|
|
109
109
|
*
|
|
110
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
110
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-dialog--docs Storybook}
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* <DialogBody>
|
|
@@ -124,7 +124,7 @@ export declare const DialogBodyStickyContent: ({ ref, className, children, ...pr
|
|
|
124
124
|
* This component provides a fixed container at the bottom of the dialog
|
|
125
125
|
* for actions like buttons. It stays in place while the body content scrolls.
|
|
126
126
|
*
|
|
127
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
127
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-dialog--docs Storybook}
|
|
128
128
|
*
|
|
129
129
|
* @example
|
|
130
130
|
* <DialogContent>
|
|
@@ -6,7 +6,7 @@ import { DialogCloseProps } from '../types';
|
|
|
6
6
|
* when clicked. It is typically used inside the dialog content to provide
|
|
7
7
|
* an explicit close action, such as a "Cancel" or "Done" button.
|
|
8
8
|
*
|
|
9
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
9
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-dialog--docs Storybook}
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* import { DialogClose, Button } from '@ledgerhq/lumen-ui-react';
|
|
@@ -5,7 +5,7 @@ import { DividerProps } from './types';
|
|
|
5
5
|
* The Divider renders a horizontal or vertical line to create visual separation
|
|
6
6
|
* between content areas. It uses design system tokens for consistent styling.
|
|
7
7
|
*
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
8
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-divider--docs Storybook}
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* // Horizontal divider (default)
|
|
@@ -2,9 +2,9 @@ import { jsx as l } from "react/jsx-runtime";
|
|
|
2
2
|
import { cn as a } from "../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
const d = ({
|
|
4
4
|
ref: o,
|
|
5
|
-
className:
|
|
5
|
+
className: t,
|
|
6
6
|
orientation: r = "horizontal",
|
|
7
|
-
...
|
|
7
|
+
...e
|
|
8
8
|
}) => /* @__PURE__ */ l(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
@@ -14,9 +14,9 @@ const d = ({
|
|
|
14
14
|
className: a(
|
|
15
15
|
"border-muted-subtle",
|
|
16
16
|
r === "horizontal" ? "w-full border-t" : "h-full border-l",
|
|
17
|
-
|
|
17
|
+
t
|
|
18
18
|
),
|
|
19
|
-
...
|
|
19
|
+
...e
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as h } from "react/jsx-runtime";
|
|
2
|
-
import { useDisabledContext as x, DisabledProvider as v, cn as
|
|
2
|
+
import { useDisabledContext as x, DisabledProvider as v, cn as i } from "../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { cva as c } from "class-variance-authority";
|
|
4
4
|
import { useMemo as z } from "react";
|
|
5
5
|
const g = c("relative inline-flex w-fit", {
|
|
@@ -64,9 +64,9 @@ const g = c("relative inline-flex w-fit", {
|
|
|
64
64
|
"top-end": ["top", "right"],
|
|
65
65
|
"bottom-start": ["bottom", "left"],
|
|
66
66
|
"bottom-end": ["bottom", "right"]
|
|
67
|
-
},
|
|
67
|
+
}, n = -3, q = (s) => {
|
|
68
68
|
const [t, o] = I[s];
|
|
69
|
-
return { [t]:
|
|
69
|
+
return { [t]: n, [o]: n };
|
|
70
70
|
}, M = ({
|
|
71
71
|
children: s,
|
|
72
72
|
icon: t,
|
|
@@ -87,14 +87,14 @@ const g = c("relative inline-flex w-fit", {
|
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
89
|
ref: p,
|
|
90
|
-
className:
|
|
90
|
+
className: i(g({ disabled: f, className: l })),
|
|
91
91
|
...b,
|
|
92
92
|
children: [
|
|
93
93
|
/* @__PURE__ */ e("div", { className: "inline-flex", children: s }),
|
|
94
94
|
/* @__PURE__ */ e(
|
|
95
95
|
"div",
|
|
96
96
|
{
|
|
97
|
-
className:
|
|
97
|
+
className: i(N({ size: r, shape: d, pin: a, appearance: o })),
|
|
98
98
|
style: u,
|
|
99
99
|
children: /* @__PURE__ */ e(t, { size: D[r], className: "text-on-interactive" })
|
|
100
100
|
}
|
|
@@ -22,8 +22,8 @@ const h = a("inline-block shrink-0", {
|
|
|
22
22
|
size: n = 24,
|
|
23
23
|
className: i = "",
|
|
24
24
|
children: c,
|
|
25
|
-
viewBox:
|
|
26
|
-
xmlns:
|
|
25
|
+
viewBox: r,
|
|
26
|
+
xmlns: e,
|
|
27
27
|
...t
|
|
28
28
|
}) => k(
|
|
29
29
|
"svg",
|
|
@@ -31,8 +31,8 @@ const h = a("inline-block shrink-0", {
|
|
|
31
31
|
ref: o,
|
|
32
32
|
fill: "none",
|
|
33
33
|
"aria-hidden": "true",
|
|
34
|
-
xmlns:
|
|
35
|
-
viewBox:
|
|
34
|
+
xmlns: e,
|
|
35
|
+
viewBox: r,
|
|
36
36
|
className: s(h({ size: n }), "inline-block", i),
|
|
37
37
|
...t
|
|
38
38
|
},
|
|
@@ -5,8 +5,7 @@ import { InteractiveIconProps } from './types';
|
|
|
5
5
|
* The InteractiveIcon provides two visual styles - 'filled' and 'stroked' - optimized for different icon types and use cases.
|
|
6
6
|
* It ensures proper focus states, hover effects, and accessibility features while maintaining a minimal footprint.
|
|
7
7
|
*
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
9
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/components-interactiveicon-implementation--docs#dos-and-donts Guidelines}
|
|
8
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-interactiveicon--docs Guidelines}
|
|
10
9
|
*
|
|
11
10
|
* @component
|
|
12
11
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractiveIcon.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/InteractiveIcon/InteractiveIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA6BpD
|
|
1
|
+
{"version":3,"file":"InteractiveIcon.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/InteractiveIcon/InteractiveIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA6BpD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,eAAe,GAAI,8FAS7B,oBAAoB,4CAmBtB,CAAC"}
|
|
@@ -2,8 +2,7 @@ import { LinkProps } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* A customizable link component that supports base and accent color appearances, optional underline, sizes, icons, and external link handling.
|
|
4
4
|
*
|
|
5
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
6
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/components-link-implementation--docs#dos-and-donts Guidelines}
|
|
5
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-link--docs Guidelines}
|
|
7
6
|
*
|
|
8
7
|
* @warning The `className` prop should only be used for layout adjustments like margins or positioning.
|
|
9
8
|
* Do not use it to modify the link's core appearance (colors, padding, etc). Use the `appearance` and `underline` props instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Link/Link.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAmCzC
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Link/Link.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAmCzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,eAAO,MAAM,IAAI,GAAI,wHAYlB,SAAS,4CAgDX,CAAC"}
|
|
@@ -36,7 +36,7 @@ const w = k(
|
|
|
36
36
|
), V = ({
|
|
37
37
|
ref: d,
|
|
38
38
|
className: m,
|
|
39
|
-
children:
|
|
39
|
+
children: s,
|
|
40
40
|
appearance: f,
|
|
41
41
|
size: i = "inherit",
|
|
42
42
|
underline: p = !0,
|
|
@@ -46,7 +46,7 @@ const w = k(
|
|
|
46
46
|
disabled: b,
|
|
47
47
|
...v
|
|
48
48
|
}) => {
|
|
49
|
-
const
|
|
49
|
+
const a = x({
|
|
50
50
|
consumerName: "Link",
|
|
51
51
|
mergeWith: { disabled: b }
|
|
52
52
|
}), r = i ? {
|
|
@@ -62,17 +62,17 @@ const w = k(
|
|
|
62
62
|
appearance: f,
|
|
63
63
|
size: i,
|
|
64
64
|
underline: p,
|
|
65
|
-
disabled:
|
|
65
|
+
disabled: a
|
|
66
66
|
}),
|
|
67
67
|
m
|
|
68
68
|
),
|
|
69
|
-
"aria-disabled":
|
|
69
|
+
"aria-disabled": a || void 0,
|
|
70
70
|
target: n && !t ? "_blank" : void 0,
|
|
71
71
|
rel: n && !t ? "noopener noreferrer" : void 0,
|
|
72
72
|
...v,
|
|
73
|
-
children: t ?
|
|
73
|
+
children: t ? s : /* @__PURE__ */ l(c, { children: [
|
|
74
74
|
o && /* @__PURE__ */ e(o, { size: r }),
|
|
75
|
-
/* @__PURE__ */ e("span", { className: "min-w-0 truncate", children:
|
|
75
|
+
/* @__PURE__ */ e("span", { className: "min-w-0 truncate", children: s }),
|
|
76
76
|
n && /* @__PURE__ */ l(c, { children: [
|
|
77
77
|
/* @__PURE__ */ e(z, { size: r, "aria-hidden": "true" }),
|
|
78
78
|
/* @__PURE__ */ e("span", { className: "sr-only", children: "(opens in a new tab)" })
|
|
@@ -3,8 +3,7 @@ import { ListItemContentProps, ListItemDescriptionProps, ListItemLeadingProps, L
|
|
|
3
3
|
* A flexible list item component that provides a composable structure for displaying
|
|
4
4
|
* interactive list items with leading content, title, description, and trailing content.
|
|
5
5
|
*
|
|
6
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
7
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/containment-listitem--docs#dos-and-donts Guidelines}
|
|
6
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/react-listitem--docs Guidelines}
|
|
8
7
|
*
|
|
9
8
|
* @example
|
|
10
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ListItem/ListItem.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,EACb,uBAAuB,EACvB,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAsCjB
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ListItem/ListItem.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,EACb,uBAAuB,EACvB,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAsCjB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,QAAQ,GAAI,4BAA4B,aAAa,4CAgCjE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,wCAK7B,oBAAoB,4CAUtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,wCAK7B,oBAAoB,4CAUtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAAI,wCAKhC,uBAAuB,4CAmBzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,wCAK3B,kBAAkB,4CAwBpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,wCAKjC,wBAAwB,4CAwB1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,wCAK9B,qBAAqB,4CAqBvB,CAAC"}
|