@protonradio/proton-ui 0.11.34 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/_virtual/{react-jsx-runtime.production.min.cjs.js → react-jsx-runtime.production.cjs.js} +1 -1
- package/dist/_virtual/react-jsx-runtime.production.cjs.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.es.js +5 -0
- package/dist/_virtual/react-jsx-runtime.production.es.js.map +1 -0
- package/dist/components/ActionMenu/ActionMenu.cjs.js +1 -1
- package/dist/components/ActionMenu/ActionMenu.cjs.js.map +1 -1
- package/dist/components/ActionMenu/ActionMenu.es.js +87 -88
- package/dist/components/ActionMenu/ActionMenu.es.js.map +1 -1
- package/dist/components/Badge/Badge.cjs.js +1 -1
- package/dist/components/Badge/Badge.cjs.js.map +1 -1
- package/dist/components/Badge/Badge.es.js +6 -2
- package/dist/components/Badge/Badge.es.js.map +1 -1
- package/dist/components/Banner/Banner.cjs.js +1 -1
- package/dist/components/Banner/Banner.cjs.js.map +1 -1
- package/dist/components/Banner/Banner.es.js +4 -4
- package/dist/components/Banner/Banner.es.js.map +1 -1
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.cjs.js.map +1 -1
- package/dist/components/Button/Button.es.js.map +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.cjs.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.cjs.js.map +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.es.js +28 -38
- package/dist/components/ButtonGroup/ButtonGroup.es.js.map +1 -1
- package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js +1 -1
- package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js.map +1 -1
- package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js +12 -12
- package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js.map +1 -1
- package/dist/components/Checkbox/CheckboxIndicator.cjs.js +2 -0
- package/dist/components/Checkbox/CheckboxIndicator.cjs.js.map +1 -0
- package/dist/components/Checkbox/CheckboxIndicator.es.js +44 -0
- package/dist/components/Checkbox/CheckboxIndicator.es.js.map +1 -0
- package/dist/components/Checkbox/CheckboxInput/CheckboxInput.cjs.js +1 -1
- package/dist/components/Checkbox/CheckboxInput/CheckboxInput.cjs.js.map +1 -1
- package/dist/components/Checkbox/CheckboxInput/CheckboxInput.es.js +60 -56
- package/dist/components/Checkbox/CheckboxInput/CheckboxInput.es.js.map +1 -1
- package/dist/components/Checkbox/CheckboxRadioGroup/CheckboxRadioGroup.cjs.js +1 -1
- package/dist/components/Checkbox/CheckboxRadioGroup/CheckboxRadioGroup.cjs.js.map +1 -1
- package/dist/components/Checkbox/CheckboxRadioGroup/CheckboxRadioGroup.es.js +41 -31
- package/dist/components/Checkbox/CheckboxRadioGroup/CheckboxRadioGroup.es.js.map +1 -1
- package/dist/components/Elevation/Elevation.cjs.js +1 -1
- package/dist/components/Elevation/Elevation.cjs.js.map +1 -1
- package/dist/components/Elevation/Elevation.es.js +11 -10
- package/dist/components/Elevation/Elevation.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/AlertCircle.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/AlertCircle.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/AlertCircle.es.js +9 -9
- package/dist/components/Icon/IconComponents/AlertCircle.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/AmazonMusicLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/AmazonMusicLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/AmazonMusicLogo.es.js +10 -10
- package/dist/components/Icon/IconComponents/AmazonMusicLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/AppleMusicLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/AppleMusicLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/AppleMusicLogo.es.js +10 -10
- package/dist/components/Icon/IconComponents/AppleMusicLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/ArrowLeft.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/ArrowLeft.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/ArrowLeft.es.js +11 -11
- package/dist/components/Icon/IconComponents/ArrowLeft.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/BandcampLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/BandcampLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/BandcampLogo.es.js +16 -16
- package/dist/components/Icon/IconComponents/BandcampLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/BeatportLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/BeatportLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/BeatportLogo.es.js +15 -15
- package/dist/components/Icon/IconComponents/BeatportLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Bell.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Bell.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Bell.es.js +8 -8
- package/dist/components/Icon/IconComponents/Bell.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/CaretDown.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/CaretDown.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/CaretDown.es.js +14 -14
- package/dist/components/Icon/IconComponents/CaretDown.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/CaretRight.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/CaretRight.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/CaretRight.es.js +14 -14
- package/dist/components/Icon/IconComponents/CaretRight.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Chart.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Chart.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Chart.es.js +14 -14
- package/dist/components/Icon/IconComponents/Chart.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/CheckCircle.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/CheckCircle.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/CheckCircle.es.js +9 -9
- package/dist/components/Icon/IconComponents/CheckCircle.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/ChevronDown.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/ChevronDown.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/ChevronDown.es.js +13 -9
- package/dist/components/Icon/IconComponents/ChevronDown.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/ChevronLeft.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/ChevronLeft.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/ChevronLeft.es.js +12 -8
- package/dist/components/Icon/IconComponents/ChevronLeft.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/ChevronRight.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/ChevronRight.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/ChevronRight.es.js +14 -14
- package/dist/components/Icon/IconComponents/ChevronRight.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/ChevronSquareDown.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/ChevronSquareDown.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/ChevronSquareDown.es.js +17 -17
- package/dist/components/Icon/IconComponents/ChevronSquareDown.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/ChevronUp.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/ChevronUp.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/ChevronUp.es.js +14 -14
- package/dist/components/Icon/IconComponents/ChevronUp.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Close.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Close.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Close.es.js +14 -14
- package/dist/components/Icon/IconComponents/Close.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Cog.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Cog.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Cog.es.js +15 -11
- package/dist/components/Icon/IconComponents/Cog.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Copy.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Copy.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Copy.es.js +11 -11
- package/dist/components/Icon/IconComponents/Copy.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/DangerCircle.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/DangerCircle.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/DangerCircle.es.js +11 -11
- package/dist/components/Icon/IconComponents/DangerCircle.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Dashboard.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Dashboard.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Dashboard.es.js +15 -11
- package/dist/components/Icon/IconComponents/Dashboard.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/DeezerLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/DeezerLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/DeezerLogo.es.js +10 -10
- package/dist/components/Icon/IconComponents/DeezerLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Download.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Download.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Download.es.js +13 -9
- package/dist/components/Icon/IconComponents/Download.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/DragHandle.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/DragHandle.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/DragHandle.es.js +12 -8
- package/dist/components/Icon/IconComponents/DragHandle.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Edit.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Edit.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Edit.es.js +13 -9
- package/dist/components/Icon/IconComponents/Edit.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Ellipsis.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Ellipsis.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Ellipsis.es.js +14 -10
- package/dist/components/Icon/IconComponents/Ellipsis.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/EmailThick.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/EmailThick.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/EmailThick.es.js +15 -11
- package/dist/components/Icon/IconComponents/EmailThick.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/EmailThin.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/EmailThin.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/EmailThin.es.js +15 -11
- package/dist/components/Icon/IconComponents/EmailThin.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/ExternalLink.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/ExternalLink.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/ExternalLink.es.js +18 -14
- package/dist/components/Icon/IconComponents/ExternalLink.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/FacebookLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/FacebookLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/FacebookLogo.es.js +10 -10
- package/dist/components/Icon/IconComponents/FacebookLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Globe.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Globe.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Globe.es.js +12 -8
- package/dist/components/Icon/IconComponents/Globe.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Hamburger.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Hamburger.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Hamburger.es.js +16 -12
- package/dist/components/Icon/IconComponents/Hamburger.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Heartbeat.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Heartbeat.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Heartbeat.es.js +16 -12
- package/dist/components/Icon/IconComponents/Heartbeat.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Info.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Info.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Info.es.js +9 -9
- package/dist/components/Icon/IconComponents/Info.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/InfoOutline.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/InfoOutline.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/InfoOutline.es.js +15 -11
- package/dist/components/Icon/IconComponents/InfoOutline.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/InstagramLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/InstagramLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/InstagramLogo.es.js +10 -10
- package/dist/components/Icon/IconComponents/InstagramLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/IntercomLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/IntercomLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/IntercomLogo.es.js +10 -10
- package/dist/components/Icon/IconComponents/IntercomLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Lightning.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Lightning.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Lightning.es.js +16 -12
- package/dist/components/Icon/IconComponents/Lightning.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Link.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Link.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Link.es.js +12 -8
- package/dist/components/Icon/IconComponents/Link.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/MessengerLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/MessengerLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/MessengerLogo.es.js +9 -9
- package/dist/components/Icon/IconComponents/MessengerLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/MusicNote.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/MusicNote.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/MusicNote.es.js +15 -11
- package/dist/components/Icon/IconComponents/MusicNote.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Pause.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Pause.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Pause.es.js +17 -13
- package/dist/components/Icon/IconComponents/Pause.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Pencil.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Pencil.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Pencil.es.js +15 -11
- package/dist/components/Icon/IconComponents/Pencil.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/PhoneThick.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/PhoneThick.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/PhoneThick.es.js +17 -13
- package/dist/components/Icon/IconComponents/PhoneThick.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/PhoneThin.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/PhoneThin.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/PhoneThin.es.js +17 -13
- package/dist/components/Icon/IconComponents/PhoneThin.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Play.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Play.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Play.es.js +13 -9
- package/dist/components/Icon/IconComponents/Play.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/ProtonLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/ProtonLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/ProtonLogo.es.js +10 -10
- package/dist/components/Icon/IconComponents/ProtonLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Quote.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Quote.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Quote.es.js +18 -14
- package/dist/components/Icon/IconComponents/Quote.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Search.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Search.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Search.es.js +14 -14
- package/dist/components/Icon/IconComponents/Search.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Share.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Share.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Share.es.js +13 -9
- package/dist/components/Icon/IconComponents/Share.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/SignOut.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/SignOut.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/SignOut.es.js +15 -11
- package/dist/components/Icon/IconComponents/SignOut.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/SoundcloudLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/SoundcloudLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/SoundcloudLogo.es.js +10 -10
- package/dist/components/Icon/IconComponents/SoundcloudLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/SpotifyLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/SpotifyLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/SpotifyLogo.es.js +10 -10
- package/dist/components/Icon/IconComponents/SpotifyLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Spy.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Spy.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Spy.es.js +13 -9
- package/dist/components/Icon/IconComponents/Spy.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/SuccessCircle.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/SuccessCircle.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/SuccessCircle.es.js +9 -9
- package/dist/components/Icon/IconComponents/SuccessCircle.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/TelegramLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/TelegramLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/TelegramLogo.es.js +14 -14
- package/dist/components/Icon/IconComponents/TelegramLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/TiktokLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/TiktokLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/TiktokLogo.es.js +10 -10
- package/dist/components/Icon/IconComponents/TiktokLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Tracklist.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Tracklist.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Tracklist.es.js +16 -12
- package/dist/components/Icon/IconComponents/Tracklist.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/TrashCan.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/TrashCan.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/TrashCan.es.js +13 -9
- package/dist/components/Icon/IconComponents/TrashCan.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/TraxsourceLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/TraxsourceLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/TraxsourceLogo.es.js +14 -14
- package/dist/components/Icon/IconComponents/TraxsourceLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/User.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/User.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/User.es.js +9 -9
- package/dist/components/Icon/IconComponents/User.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/Users.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/Users.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/Users.es.js +12 -8
- package/dist/components/Icon/IconComponents/Users.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/WarningTriangle.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/WarningTriangle.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/WarningTriangle.es.js +13 -13
- package/dist/components/Icon/IconComponents/WarningTriangle.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/WhatsappLogoThick.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/WhatsappLogoThick.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/WhatsappLogoThick.es.js +14 -14
- package/dist/components/Icon/IconComponents/WhatsappLogoThick.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/WhatsappLogoThin.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/WhatsappLogoThin.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/WhatsappLogoThin.es.js +10 -10
- package/dist/components/Icon/IconComponents/WhatsappLogoThin.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/XTwitterLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/XTwitterLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/XTwitterLogo.es.js +9 -9
- package/dist/components/Icon/IconComponents/XTwitterLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/YandexLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/YandexLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/YandexLogo.es.js +14 -14
- package/dist/components/Icon/IconComponents/YandexLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/YoutubeLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/YoutubeLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/YoutubeLogo.es.js +10 -10
- package/dist/components/Icon/IconComponents/YoutubeLogo.es.js.map +1 -1
- package/dist/components/Icon/IconProps.cjs.js +1 -1
- package/dist/components/Icon/IconProps.cjs.js.map +1 -1
- package/dist/components/Icon/IconProps.es.js +11 -7
- package/dist/components/Icon/IconProps.es.js.map +1 -1
- package/dist/components/ImageBackground/ImageBackground.cjs.js +1 -1
- package/dist/components/ImageBackground/ImageBackground.cjs.js.map +1 -1
- package/dist/components/ImageBackground/ImageBackground.es.js +5 -5
- package/dist/components/ImageBackground/ImageBackground.es.js.map +1 -1
- package/dist/components/Input/BaseInput/Input.cjs.js +1 -1
- package/dist/components/Input/BaseInput/Input.cjs.js.map +1 -1
- package/dist/components/Input/BaseInput/Input.es.js +36 -35
- package/dist/components/Input/BaseInput/Input.es.js.map +1 -1
- package/dist/components/Input/CopyInput/CopyInput.cjs.js +1 -1
- package/dist/components/Input/CopyInput/CopyInput.cjs.js.map +1 -1
- package/dist/components/Input/CopyInput/CopyInput.es.js +5 -2
- package/dist/components/Input/CopyInput/CopyInput.es.js.map +1 -1
- package/dist/components/Input/OTPInput/OTPInput.cjs.js +1 -1
- package/dist/components/Input/OTPInput/OTPInput.cjs.js.map +1 -1
- package/dist/components/Input/OTPInput/OTPInput.es.js.map +1 -1
- package/dist/components/Input/SearchInput/SearchInput.cjs.js.map +1 -1
- package/dist/components/Input/SearchInput/SearchInput.es.js.map +1 -1
- package/dist/components/Menu/MenuTrigger.cjs.js +1 -1
- package/dist/components/Menu/MenuTrigger.cjs.js.map +1 -1
- package/dist/components/Menu/MenuTrigger.es.js.map +1 -1
- package/dist/components/Menu/PopoverMenu.cjs.js +1 -1
- package/dist/components/Menu/PopoverMenu.cjs.js.map +1 -1
- package/dist/components/Menu/PopoverMenu.es.js +31 -30
- package/dist/components/Menu/PopoverMenu.es.js.map +1 -1
- package/dist/components/Modal/Modal.cjs.js +1 -1
- package/dist/components/Modal/Modal.cjs.js.map +1 -1
- package/dist/components/Modal/Modal.es.js +46 -41
- package/dist/components/Modal/Modal.es.js.map +1 -1
- package/dist/components/Overlay/Overlay.cjs.js +2 -0
- package/dist/components/Overlay/Overlay.cjs.js.map +1 -0
- package/dist/components/Overlay/Overlay.es.js +25 -0
- package/dist/components/Overlay/Overlay.es.js.map +1 -0
- package/dist/components/Popover/Popover.cjs.js +1 -1
- package/dist/components/Popover/Popover.cjs.js.map +1 -1
- package/dist/components/Popover/Popover.es.js +35 -29
- package/dist/components/Popover/Popover.es.js.map +1 -1
- package/dist/components/ScreenOverlay/ScreenOverlay.cjs.js +1 -1
- package/dist/components/ScreenOverlay/ScreenOverlay.cjs.js.map +1 -1
- package/dist/components/ScreenOverlay/ScreenOverlay.es.js.map +1 -1
- package/dist/components/Select/Select.cjs.js +1 -1
- package/dist/components/Select/Select.cjs.js.map +1 -1
- package/dist/components/Select/Select.es.js +101 -114
- package/dist/components/Select/Select.es.js.map +1 -1
- package/dist/components/Switch/Switch.cjs.js +1 -1
- package/dist/components/Switch/Switch.cjs.js.map +1 -1
- package/dist/components/Switch/Switch.es.js +38 -26
- package/dist/components/Switch/Switch.es.js.map +1 -1
- package/dist/components/Table/BaseTable/Collection/CompoundComponents.cjs.js.map +1 -1
- package/dist/components/Table/BaseTable/Collection/CompoundComponents.es.js.map +1 -1
- package/dist/components/Table/BaseTable/Collection/collectionParser.cjs.js +1 -1
- package/dist/components/Table/BaseTable/Collection/collectionParser.cjs.js.map +1 -1
- package/dist/components/Table/BaseTable/Collection/collectionParser.es.js.map +1 -1
- package/dist/components/Table/BaseTable/Collection/useTableCollection.cjs.js.map +1 -1
- package/dist/components/Table/BaseTable/Collection/useTableCollection.es.js.map +1 -1
- package/dist/components/Table/BaseTable/Table.cjs.js +1 -1
- package/dist/components/Table/BaseTable/Table.cjs.js.map +1 -1
- package/dist/components/Table/BaseTable/Table.es.js +5 -5
- package/dist/components/Table/BaseTable/Table.es.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableBody.cjs.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableBody.es.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableCell.cjs.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableCell.es.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableHeader.cjs.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableHeader.es.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableHeaderCell.cjs.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableHeaderCell.es.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableHeaderRow.cjs.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableHeaderRow.es.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableRoot.cjs.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableRoot.es.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableRow.cjs.js.map +1 -1
- package/dist/components/Table/BaseTable/elements/TableRow.es.js.map +1 -1
- package/dist/components/Table/DataTable/DataTable.cjs.js +1 -1
- package/dist/components/Table/DataTable/DataTable.cjs.js.map +1 -1
- package/dist/components/Table/DataTable/DataTable.es.js +26 -26
- package/dist/components/Table/DataTable/DataTable.es.js.map +1 -1
- package/dist/components/Table/DataTable/DataTableRow.cjs.js +1 -1
- package/dist/components/Table/DataTable/DataTableRow.cjs.js.map +1 -1
- package/dist/components/Table/DataTable/DataTableRow.es.js +23 -17
- package/dist/components/Table/DataTable/DataTableRow.es.js.map +1 -1
- package/dist/components/Text/TextCountdown/TextCountdown.cjs.js +1 -1
- package/dist/components/Text/TextCountdown/TextCountdown.cjs.js.map +1 -1
- package/dist/components/Text/TextCountdown/TextCountdown.es.js.map +1 -1
- package/dist/components/Text/TextEllipsis/TextEllipsis.cjs.js.map +1 -1
- package/dist/components/Text/TextEllipsis/TextEllipsis.es.js.map +1 -1
- package/dist/components/Text/TextEmphasis/TextEmphasis.cjs.js.map +1 -1
- package/dist/components/Text/TextEmphasis/TextEmphasis.es.js.map +1 -1
- package/dist/components/ThemeProvider.cjs.js +1 -1
- package/dist/components/ThemeProvider.cjs.js.map +1 -1
- package/dist/components/ThemeProvider.es.js +4 -4
- package/dist/components/ThemeProvider.es.js.map +1 -1
- package/dist/components/Tombstone/Tombstone.cjs.js.map +1 -1
- package/dist/components/Tombstone/Tombstone.es.js.map +1 -1
- package/dist/components/Tooltip/ResponsiveTooltip.cjs.js +1 -1
- package/dist/components/Tooltip/ResponsiveTooltip.cjs.js.map +1 -1
- package/dist/components/Tooltip/ResponsiveTooltip.es.js +48 -46
- package/dist/components/Tooltip/ResponsiveTooltip.es.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.cjs.js +1 -1
- package/dist/components/Tooltip/Tooltip.cjs.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.es.js +57 -52
- package/dist/components/Tooltip/Tooltip.es.js.map +1 -1
- package/dist/components/Waveform/Waveform.cjs.js +1 -1
- package/dist/components/Waveform/Waveform.cjs.js.map +1 -1
- package/dist/components/Waveform/Waveform.es.js +1 -1
- package/dist/components/Waveform/Waveform.es.js.map +1 -1
- package/dist/components/Waveform/WaveformBar.cjs.js.map +1 -1
- package/dist/components/Waveform/WaveformBar.es.js.map +1 -1
- package/dist/constants.cjs.js +1 -1
- package/dist/constants.d.ts +0 -4
- package/dist/constants.es.js +2 -4
- package/dist/constants.es.js.map +1 -1
- package/dist/dark.d.ts +3 -3
- package/dist/design/colors.cjs.js.map +1 -1
- package/dist/design/colors.es.js.map +1 -1
- package/dist/design/darkTheme/colors.cjs.js +1 -1
- package/dist/design/darkTheme/colors.cjs.js.map +1 -1
- package/dist/design/darkTheme/colors.es.js +12 -12
- package/dist/design/darkTheme/colors.es.js.map +1 -1
- package/dist/design/darkTheme/stylesheet.cjs.js +1 -1
- package/dist/design/darkTheme/stylesheet.cjs.js.map +1 -1
- package/dist/design/darkTheme/stylesheet.es.js +17 -14
- package/dist/design/darkTheme/stylesheet.es.js.map +1 -1
- package/dist/design/generateStylesheet.cjs.js.map +1 -1
- package/dist/design/generateStylesheet.es.js.map +1 -1
- package/dist/design/lightTheme/colors.cjs.js.map +1 -1
- package/dist/design/lightTheme/colors.es.js +3 -3
- package/dist/design/lightTheme/stylesheet.cjs.js +1 -1
- package/dist/design/lightTheme/stylesheet.cjs.js.map +1 -1
- package/dist/design/lightTheme/stylesheet.es.js +17 -17
- package/dist/design/lightTheme/stylesheet.es.js.map +1 -1
- package/dist/hooks/useBreakpoint.cjs.js +1 -1
- package/dist/hooks/useBreakpoint.cjs.js.map +1 -1
- package/dist/hooks/useBreakpoint.es.js +13 -12
- package/dist/hooks/useBreakpoint.es.js.map +1 -1
- package/dist/hooks/useIsClosing.cjs.js +1 -1
- package/dist/hooks/useIsClosing.cjs.js.map +1 -1
- package/dist/hooks/useIsClosing.es.js.map +1 -1
- package/dist/hooks/useLockBodyScroll.cjs.js.map +1 -1
- package/dist/hooks/useLockBodyScroll.es.js.map +1 -1
- package/dist/hooks/useMergedRef.cjs.js +2 -0
- package/dist/hooks/useMergedRef.cjs.js.map +1 -0
- package/dist/hooks/useMergedRef.es.js +13 -0
- package/dist/hooks/useMergedRef.es.js.map +1 -0
- package/dist/hooks/usePalette.cjs.js +1 -1
- package/dist/hooks/usePalette.cjs.js.map +1 -1
- package/dist/hooks/usePalette.es.js.map +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.d.ts +12 -1
- package/dist/hooks.es.js +6 -4
- package/dist/hooks.es.js.map +1 -1
- package/dist/icons.d.ts +79 -74
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +119 -145
- package/dist/index.es.js +20 -20
- package/dist/light.d.ts +1 -1
- package/dist/node_modules/color2k/dist/index.exports.import.es.cjs.js.map +1 -1
- package/dist/node_modules/color2k/dist/index.exports.import.es.es.js.map +1 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js +4 -12
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js.map +1 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js +193 -557
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js.map +1 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.cjs.js +10 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.cjs.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.es.js +36 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.es.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.cjs.js +1 -1
- package/dist/node_modules/react/jsx-runtime.cjs.js.map +1 -1
- package/dist/node_modules/react/jsx-runtime.es.js +1 -1
- package/dist/node_modules/react/jsx-runtime.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/theme.d.ts +20 -4
- package/dist/utils/color2k.cjs.js.map +1 -1
- package/dist/utils/color2k.es.js +2 -2
- package/dist/utils/color2k.es.js.map +1 -1
- package/dist/utils/copy.cjs.js +1 -1
- package/dist/utils/copy.cjs.js.map +1 -1
- package/dist/utils/copy.es.js +12 -11
- package/dist/utils/copy.es.js.map +1 -1
- package/dist/utils/deepEqual.cjs.js.map +1 -1
- package/dist/utils/deepEqual.es.js.map +1 -1
- package/dist/utils/image.cjs.js +1 -1
- package/dist/utils/image.cjs.js.map +1 -1
- package/dist/utils/image.es.js +15 -14
- package/dist/utils/image.es.js.map +1 -1
- package/dist/utils/navigation.cjs.js.map +1 -1
- package/dist/utils/navigation.es.js.map +1 -1
- package/dist/utils/palette.cjs.js +1 -1
- package/dist/utils/palette.cjs.js.map +1 -1
- package/dist/utils/palette.es.js +40 -34
- package/dist/utils/palette.es.js.map +1 -1
- package/package.json +20 -27
- package/dist/_virtual/react-jsx-runtime.production.min.cjs.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.min.es.js +0 -5
- package/dist/_virtual/react-jsx-runtime.production.min.es.js.map +0 -1
- package/dist/components/Dialog/Dialog.cjs.js +0 -2
- package/dist/components/Dialog/Dialog.cjs.js.map +0 -1
- package/dist/components/Dialog/Dialog.es.js +0 -15
- package/dist/components/Dialog/Dialog.es.js.map +0 -1
- package/dist/constants/placement.cjs.js +0 -2
- package/dist/constants/placement.cjs.js.map +0 -1
- package/dist/constants/placement.es.js +0 -28
- package/dist/constants/placement.es.js.map +0 -1
- package/dist/node_modules/@react-aria/dialog/dist/useDialog.cjs.js +0 -2
- package/dist/node_modules/@react-aria/dialog/dist/useDialog.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/dialog/dist/useDialog.es.js +0 -44
- package/dist/node_modules/@react-aria/dialog/dist/useDialog.es.js.map +0 -1
- package/dist/node_modules/@react-aria/focus/dist/FocusScope.cjs.js +0 -2
- package/dist/node_modules/@react-aria/focus/dist/FocusScope.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/focus/dist/FocusScope.es.js +0 -88
- package/dist/node_modules/@react-aria/focus/dist/FocusScope.es.js.map +0 -1
- package/dist/node_modules/@react-aria/form/dist/useFormValidation.cjs.js +0 -2
- package/dist/node_modules/@react-aria/form/dist/useFormValidation.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/form/dist/useFormValidation.es.js +0 -78
- package/dist/node_modules/@react-aria/form/dist/useFormValidation.es.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/context.cjs.js +0 -2
- package/dist/node_modules/@react-aria/i18n/dist/context.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/context.es.js +0 -11
- package/dist/node_modules/@react-aria/i18n/dist/context.es.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.cjs.js +0 -2
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.es.js +0 -30
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.es.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/utils.cjs.js +0 -2
- package/dist/node_modules/@react-aria/i18n/dist/utils.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/utils.es.js +0 -45
- package/dist/node_modules/@react-aria/i18n/dist/utils.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/context.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/context.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/context.es.js +0 -10
- package/dist/node_modules/@react-aria/interactions/dist/context.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.es.js +0 -29
- package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/focusSafely.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/focusSafely.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/focusSafely.es.js +0 -15
- package/dist/node_modules/@react-aria/interactions/dist/focusSafely.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/textSelection.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/textSelection.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/textSelection.es.js +0 -35
- package/dist/node_modules/@react-aria/interactions/dist/textSelection.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.es.js +0 -30
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js +0 -63
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.es.js +0 -56
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusable.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useFocusable.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusable.es.js +0 -32
- package/dist/node_modules/@react-aria/interactions/dist/useFocusable.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.es.js +0 -13
- package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/usePress.cjs.js +0 -8
- package/dist/node_modules/@react-aria/interactions/dist/usePress.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/usePress.es.js +0 -386
- package/dist/node_modules/@react-aria/interactions/dist/usePress.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/utils.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/utils.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/utils.es.js +0 -92
- package/dist/node_modules/@react-aria/interactions/dist/utils.es.js.map +0 -1
- package/dist/node_modules/@react-aria/label/dist/useField.cjs.js +0 -2
- package/dist/node_modules/@react-aria/label/dist/useField.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/label/dist/useField.es.js +0 -36
- package/dist/node_modules/@react-aria/label/dist/useField.es.js.map +0 -1
- package/dist/node_modules/@react-aria/label/dist/useLabel.cjs.js +0 -2
- package/dist/node_modules/@react-aria/label/dist/useLabel.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/label/dist/useLabel.es.js +0 -23
- package/dist/node_modules/@react-aria/label/dist/useLabel.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js +0 -16
- package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js.map +0 -1
- package/dist/node_modules/@react-aria/radio/dist/useRadio.cjs.js +0 -2
- package/dist/node_modules/@react-aria/radio/dist/useRadio.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/radio/dist/useRadio.es.js +0 -70
- package/dist/node_modules/@react-aria/radio/dist/useRadio.es.js.map +0 -1
- package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.cjs.js +0 -2
- package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.es.js +0 -80
- package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.es.js.map +0 -1
- package/dist/node_modules/@react-aria/radio/dist/utils.cjs.js +0 -2
- package/dist/node_modules/@react-aria/radio/dist/utils.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/radio/dist/utils.es.js +0 -5
- package/dist/node_modules/@react-aria/radio/dist/utils.es.js.map +0 -1
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.cjs.js +0 -2
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.es.js +0 -19
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.es.js.map +0 -1
- package/dist/node_modules/@react-aria/switch/dist/useSwitch.cjs.js +0 -2
- package/dist/node_modules/@react-aria/switch/dist/useSwitch.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/switch/dist/useSwitch.es.js +0 -20
- package/dist/node_modules/@react-aria/switch/dist/useSwitch.es.js.map +0 -1
- package/dist/node_modules/@react-aria/toggle/dist/useToggle.cjs.js +0 -2
- package/dist/node_modules/@react-aria/toggle/dist/useToggle.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/toggle/dist/useToggle.es.js +0 -60
- package/dist/node_modules/@react-aria/toggle/dist/useToggle.es.js.map +0 -1
- package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.cjs.js +0 -2
- package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.es.js +0 -41
- package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.es.js.map +0 -1
- package/dist/node_modules/@react-stately/form/dist/useFormValidationState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/form/dist/useFormValidationState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/form/dist/useFormValidationState.es.js +0 -110
- package/dist/node_modules/@react-stately/form/dist/useFormValidationState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.es.js +0 -35
- package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/toggle/dist/useToggleState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/toggle/dist/useToggleState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/toggle/dist/useToggleState.es.js +0 -22
- package/dist/node_modules/@react-stately/toggle/dist/useToggleState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/utils/dist/useControlledState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/utils/dist/useControlledState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/utils/dist/useControlledState.es.js +0 -31
- package/dist/node_modules/@react-stately/utils/dist/useControlledState.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.es.js +0 -9
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.es.js +0 -8
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.es.js +0 -13
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.es.js +0 -9
- package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.es.js +0 -11
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.es.js +0 -9
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.es.js +0 -11
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.es.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js +0 -10
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js +0 -29
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { AriaAttributes } from 'react';
|
|
2
|
-
import { AriaDialogProps } from '@react-aria/dialog';
|
|
3
2
|
import { default as default_2 } from 'react';
|
|
4
3
|
import { ForwardRefExoticComponent } from 'react';
|
|
5
|
-
import { JSX
|
|
4
|
+
import { JSX } from 'react/jsx-runtime';
|
|
6
5
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
7
6
|
import { ReactElement } from 'react';
|
|
8
7
|
import { ReactNode } from 'react';
|
|
9
8
|
import { RefAttributes } from 'react';
|
|
10
|
-
import { Selection as Selection_2 } from '@react-types/shared';
|
|
11
9
|
|
|
12
10
|
/**
|
|
13
11
|
* A controlled ActionMenu to display a menu of actions.
|
|
@@ -16,7 +14,7 @@ import { Selection as Selection_2 } from '@react-types/shared';
|
|
|
16
14
|
* API:
|
|
17
15
|
* - {@link ActionMenuProps}
|
|
18
16
|
*/
|
|
19
|
-
export declare const ActionMenu: ({ isOpen, actions, children, showCancel, cancelButtonText, selectionMode, selectedKeys, disabledKeys, onSelectionChange, onClose, title, "data-testid": testId, }: ActionMenuProps) =>
|
|
17
|
+
export declare const ActionMenu: ({ isOpen, actions, children, showCancel, cancelButtonText, selectionMode, selectedKeys, disabledKeys, onSelectionChange, onClose, title, "data-testid": testId, }: ActionMenuProps) => JSX.Element | null;
|
|
20
18
|
|
|
21
19
|
export declare interface ActionMenuAction {
|
|
22
20
|
key: string;
|
|
@@ -51,9 +49,9 @@ declare interface ActionMenuProps {
|
|
|
51
49
|
/** The callback function to close the menu */
|
|
52
50
|
onClose?: () => void;
|
|
53
51
|
/** The callback function to change the selection
|
|
54
|
-
* - type {@link
|
|
52
|
+
* - type {@link ActionMenuSelection}
|
|
55
53
|
*/
|
|
56
|
-
onSelectionChange?: (keys:
|
|
54
|
+
onSelectionChange?: (keys: ActionMenuSelection) => void;
|
|
57
55
|
/** The selection mode of the menu
|
|
58
56
|
* @default "single"
|
|
59
57
|
*/
|
|
@@ -66,6 +64,9 @@ declare interface ActionMenuProps {
|
|
|
66
64
|
title?: string;
|
|
67
65
|
}
|
|
68
66
|
|
|
67
|
+
/** Keys passed to `onSelectionChange` (Set of item keys, or `"all"`). */
|
|
68
|
+
export declare type ActionMenuSelection = "all" | Set<string>;
|
|
69
|
+
|
|
69
70
|
export declare type ActionMenuSelectionMode = "single" | "multiple" | "none";
|
|
70
71
|
|
|
71
72
|
/**
|
|
@@ -73,11 +74,10 @@ export declare type ActionMenuSelectionMode = "single" | "multiple" | "none";
|
|
|
73
74
|
*
|
|
74
75
|
* API:
|
|
75
76
|
* - {@link BadgeProps}
|
|
76
|
-
* - extends {@link React.HTMLAttributes}
|
|
77
77
|
*/
|
|
78
|
-
export declare const Badge: ({ variant, children,
|
|
78
|
+
export declare const Badge: ({ variant, children, "data-testid": dataTestId, }: BadgeProps) => JSX.Element;
|
|
79
79
|
|
|
80
|
-
declare interface BadgeProps
|
|
80
|
+
declare interface BadgeProps {
|
|
81
81
|
/**
|
|
82
82
|
* The content to display within the badge.
|
|
83
83
|
*/
|
|
@@ -87,6 +87,10 @@ declare interface BadgeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
87
87
|
* - type {@link BadgeVariant}
|
|
88
88
|
*/
|
|
89
89
|
variant?: BadgeVariant;
|
|
90
|
+
/**
|
|
91
|
+
* The test id for the badge.
|
|
92
|
+
*/
|
|
93
|
+
"data-testid"?: string;
|
|
90
94
|
}
|
|
91
95
|
|
|
92
96
|
export declare type BadgeVariant = "primary" | "secondary" | "transparent" | "success" | "warning" | "danger";
|
|
@@ -101,7 +105,7 @@ export declare const BadgeVariants: Record<BadgeVariant, BadgeVariant>;
|
|
|
101
105
|
* - extends {@link BannerIconProps}
|
|
102
106
|
*/
|
|
103
107
|
export declare const Banner: {
|
|
104
|
-
({ variant, rounded, icon, compact, children, "data-testid": dataTestId, }: BannerProps):
|
|
108
|
+
({ variant, rounded, icon, compact, children, "data-testid": dataTestId, }: BannerProps): JSX.Element;
|
|
105
109
|
displayName: string;
|
|
106
110
|
/**
|
|
107
111
|
* Renders an h3 styled banner.
|
|
@@ -110,7 +114,7 @@ export declare const Banner: {
|
|
|
110
114
|
({ children, "data-testid": dataTestId, }: {
|
|
111
115
|
children: ReactNode;
|
|
112
116
|
"data-testid"?: string;
|
|
113
|
-
}):
|
|
117
|
+
}): JSX.Element;
|
|
114
118
|
displayName: string;
|
|
115
119
|
};
|
|
116
120
|
/**
|
|
@@ -120,7 +124,7 @@ export declare const Banner: {
|
|
|
120
124
|
({ children, "data-testid": dataTestId, }: {
|
|
121
125
|
children: ReactNode;
|
|
122
126
|
"data-testid"?: string;
|
|
123
|
-
}):
|
|
127
|
+
}): JSX.Element;
|
|
124
128
|
displayName: string;
|
|
125
129
|
};
|
|
126
130
|
/**
|
|
@@ -130,7 +134,7 @@ export declare const Banner: {
|
|
|
130
134
|
* - {@link BannerIconProps}
|
|
131
135
|
*/
|
|
132
136
|
Icon: {
|
|
133
|
-
({ icon, "data-testid": dataTestId }: BannerIconProps):
|
|
137
|
+
({ icon, "data-testid": dataTestId }: BannerIconProps): JSX.Element | null;
|
|
134
138
|
displayName: string;
|
|
135
139
|
};
|
|
136
140
|
/**
|
|
@@ -138,7 +142,7 @@ export declare const Banner: {
|
|
|
138
142
|
* - @prop buttonProps {@link ButtonProps}
|
|
139
143
|
*/
|
|
140
144
|
Action: {
|
|
141
|
-
({ children, ...buttonProps }: ButtonProps):
|
|
145
|
+
({ children, ...buttonProps }: ButtonProps): JSX.Element;
|
|
142
146
|
displayName: string;
|
|
143
147
|
};
|
|
144
148
|
/**
|
|
@@ -147,7 +151,7 @@ export declare const Banner: {
|
|
|
147
151
|
Actions: {
|
|
148
152
|
({ children }: {
|
|
149
153
|
children: ReactNode;
|
|
150
|
-
}):
|
|
154
|
+
}): JSX.Element;
|
|
151
155
|
displayName: string;
|
|
152
156
|
};
|
|
153
157
|
};
|
|
@@ -346,14 +350,16 @@ export declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttribut
|
|
|
346
350
|
/**
|
|
347
351
|
* A radio button group component that allows selection of a single option from multiple choices.
|
|
348
352
|
*
|
|
353
|
+
* Uses Radix `RadioGroup` for roving focus, arrow-key navigation, and `radiogroup` semantics.
|
|
354
|
+
*
|
|
349
355
|
* API:
|
|
350
356
|
* - {@link ButtonGroupProps}
|
|
351
357
|
*/
|
|
352
|
-
export declare function ButtonGroup(
|
|
358
|
+
export declare function ButtonGroup({ name, value, defaultValue, onChange, children, "data-testid": testId }: ButtonGroupProps): JSX.Element;
|
|
353
359
|
|
|
354
360
|
export declare namespace ButtonGroup {
|
|
355
361
|
var displayName: string;
|
|
356
|
-
var Option: (
|
|
362
|
+
var Option: ({ value, children, "data-testid": testId }: ButtonGroupOptionProps) => JSX.Element;
|
|
357
363
|
}
|
|
358
364
|
|
|
359
365
|
declare interface ButtonGroupOptionProps {
|
|
@@ -366,9 +372,15 @@ declare interface ButtonGroupOptionProps {
|
|
|
366
372
|
* The text or component to be rendered as this option's content.
|
|
367
373
|
*/
|
|
368
374
|
children: React.ReactNode;
|
|
375
|
+
/** The test ID for the option. */
|
|
376
|
+
"data-testid"?: string;
|
|
369
377
|
}
|
|
370
378
|
|
|
371
379
|
declare interface ButtonGroupProps {
|
|
380
|
+
/**
|
|
381
|
+
* The name of the ButtonGroup.
|
|
382
|
+
*/
|
|
383
|
+
name?: string;
|
|
372
384
|
/**
|
|
373
385
|
* The value of the currently selected option in the ButtonGroup. Providing
|
|
374
386
|
* this prop causes the component to become controlled.
|
|
@@ -386,6 +398,8 @@ declare interface ButtonGroupProps {
|
|
|
386
398
|
* The ButtonGroup.Option elements to be rendered as the selectable values.
|
|
387
399
|
*/
|
|
388
400
|
children?: React.ReactNode;
|
|
401
|
+
/** The test ID for the button group. */
|
|
402
|
+
"data-testid"?: string;
|
|
389
403
|
}
|
|
390
404
|
|
|
391
405
|
declare interface ButtonProps {
|
|
@@ -435,7 +449,7 @@ export declare const ButtonVariants: Record<ButtonVariant, ButtonVariant>;
|
|
|
435
449
|
* - {@link ButtonWithSelectProps}
|
|
436
450
|
* - extends {@link ButtonProps}
|
|
437
451
|
*/
|
|
438
|
-
export declare function ButtonWithSelect({ items, defaultValue, children, onSelectionChange, disabledKeys, selectedKey, icon, variant, fullWidth, onPress, ...buttonProps }: ButtonWithSelectProps):
|
|
452
|
+
export declare function ButtonWithSelect({ items, defaultValue, children, onSelectionChange, disabledKeys, selectedKey, icon, variant, fullWidth, onPress, ...buttonProps }: ButtonWithSelectProps): JSX.Element;
|
|
439
453
|
|
|
440
454
|
export declare namespace ButtonWithSelect {
|
|
441
455
|
var displayName: string;
|
|
@@ -475,7 +489,7 @@ export declare const calculateAriaRowIndex: (rowIndex: number, isHeaderHidden?:
|
|
|
475
489
|
* API:
|
|
476
490
|
* - {@link CheckboxInputProps}
|
|
477
491
|
*/
|
|
478
|
-
export declare const CheckboxInput:
|
|
492
|
+
export declare const CheckboxInput: ForwardRefExoticComponent<CheckboxInputProps & RefAttributes<HTMLInputElement>>;
|
|
479
493
|
|
|
480
494
|
declare interface CheckboxInputProps {
|
|
481
495
|
/**
|
|
@@ -487,9 +501,9 @@ declare interface CheckboxInputProps {
|
|
|
487
501
|
*/
|
|
488
502
|
defaultChecked?: boolean;
|
|
489
503
|
/** The error attribute of the checkbox input. */
|
|
490
|
-
error?:
|
|
504
|
+
error?: ReactNode | string;
|
|
491
505
|
/** The description attribute of the checkbox input. */
|
|
492
|
-
description?:
|
|
506
|
+
description?: ReactNode | string;
|
|
493
507
|
/** The test id attribute of the checkbox input. */
|
|
494
508
|
"data-testid"?: string;
|
|
495
509
|
/**
|
|
@@ -516,7 +530,7 @@ declare interface CheckboxInputProps {
|
|
|
516
530
|
/** The name attribute of the checkbox input. */
|
|
517
531
|
name: string;
|
|
518
532
|
/** The label attribute of the checkbox input. */
|
|
519
|
-
label?: string |
|
|
533
|
+
label?: string | ReactNode;
|
|
520
534
|
/**
|
|
521
535
|
* The value attribute of the checkbox input (for form submission).
|
|
522
536
|
* @external https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#value
|
|
@@ -615,7 +629,7 @@ declare interface CheckboxRadioGroupProps {
|
|
|
615
629
|
* API:
|
|
616
630
|
* - {@link CopyInputProps}
|
|
617
631
|
*/
|
|
618
|
-
export declare function CopyInput({ name, value, isDisabled, onError, onSuccess, }: CopyInputProps):
|
|
632
|
+
export declare function CopyInput({ name, value, isDisabled, onError, onSuccess, }: CopyInputProps): JSX.Element;
|
|
619
633
|
|
|
620
634
|
declare interface CopyInputProps {
|
|
621
635
|
/** The name of the input field */
|
|
@@ -639,7 +653,7 @@ declare interface CopyInputProps {
|
|
|
639
653
|
* @note Row memoization is enabled by default. Rows only re-render when row data or index changes.
|
|
640
654
|
*/
|
|
641
655
|
export declare const DataTable: {
|
|
642
|
-
<T>({ columns, data, loading, tombstoneComponent, error, name, onRowClick, emptyMessage, errorMessage, loadingRows, "data-testid": testId, memoize, sortableColumns, sortedBy, sortDirection, onSort, }: DataTableProps<T>):
|
|
656
|
+
<T>({ columns, data, loading, tombstoneComponent, error, name, onRowClick, emptyMessage, errorMessage, loadingRows, "data-testid": testId, memoize, sortableColumns, sortedBy, sortDirection, onSort, }: DataTableProps<T>): JSX.Element;
|
|
643
657
|
displayName: string;
|
|
644
658
|
};
|
|
645
659
|
|
|
@@ -673,20 +687,6 @@ declare interface DataTableRowProps<T> {
|
|
|
673
687
|
dataTestId?: string;
|
|
674
688
|
}
|
|
675
689
|
|
|
676
|
-
/**
|
|
677
|
-
* Intended use in overlay containers such as modals or popovers.
|
|
678
|
-
*
|
|
679
|
-
* API:
|
|
680
|
-
* - {@link DialogProps}
|
|
681
|
-
* - extends {@link AriaDialogProps}
|
|
682
|
-
*/
|
|
683
|
-
export declare function Dialog({ title, children, ...props }: DialogProps): JSX_2.Element;
|
|
684
|
-
|
|
685
|
-
declare interface DialogProps extends AriaDialogProps {
|
|
686
|
-
title?: React.ReactNode;
|
|
687
|
-
children: React.ReactNode;
|
|
688
|
-
}
|
|
689
|
-
|
|
690
690
|
/**
|
|
691
691
|
* Elevation component creates a visual elevation effect using the theme-aware background color.
|
|
692
692
|
*
|
|
@@ -697,7 +697,7 @@ declare interface DialogProps extends AriaDialogProps {
|
|
|
697
697
|
* API:
|
|
698
698
|
* - {@link ElevationProps}
|
|
699
699
|
*/
|
|
700
|
-
export declare const Elevation: ({ children, hasPrimaryGradient, "data-testid": dataTestId, }: ElevationProps) =>
|
|
700
|
+
export declare const Elevation: ({ children, hasPrimaryGradient, "data-testid": dataTestId, }: ElevationProps) => JSX.Element;
|
|
701
701
|
|
|
702
702
|
declare interface ElevationProps {
|
|
703
703
|
/**
|
|
@@ -722,7 +722,7 @@ declare interface ElevationProps {
|
|
|
722
722
|
* API:
|
|
723
723
|
* - {@link ImageBackgroundProps}
|
|
724
724
|
*/
|
|
725
|
-
export declare function ImageBackground({ image, imageUrl, onLoad, }: ImageBackgroundProps):
|
|
725
|
+
export declare function ImageBackground({ image, imageUrl, onLoad, }: ImageBackgroundProps): JSX.Element;
|
|
726
726
|
|
|
727
727
|
declare interface ImageBackgroundProps {
|
|
728
728
|
/**
|
|
@@ -792,7 +792,7 @@ declare interface MenuProps {
|
|
|
792
792
|
* API:
|
|
793
793
|
* - {@link MenuProps}
|
|
794
794
|
*/
|
|
795
|
-
export declare function MenuTrigger({ renderTrigger, size, title, items, disabled, onClose, triggerTestId, menuTestId, onSelectionChange, selectedKey, disabledKeys, }: MenuProps):
|
|
795
|
+
export declare function MenuTrigger({ renderTrigger, size, title, items, disabled, onClose, triggerTestId, menuTestId, onSelectionChange, selectedKey, disabledKeys, }: MenuProps): JSX.Element;
|
|
796
796
|
|
|
797
797
|
export declare namespace MenuTrigger {
|
|
798
798
|
var displayName: string;
|
|
@@ -804,36 +804,36 @@ export declare interface MenuTriggerProps {
|
|
|
804
804
|
setIsOpen: (isOpen: boolean) => void;
|
|
805
805
|
}
|
|
806
806
|
|
|
807
|
-
export declare const Modal: (({ isOpen, onClose, title, subtitle, body, children, isOverlay, "data-testid": dataTestId, }: ModalProps) =>
|
|
807
|
+
export declare const Modal: (({ isOpen, onClose, title, subtitle, body, children, isOverlay, "data-testid": dataTestId, }: ModalProps) => JSX.Element | null) & {
|
|
808
808
|
/**
|
|
809
809
|
* Renders a h2 styled title
|
|
810
810
|
* */
|
|
811
811
|
Title: ({ children }: {
|
|
812
812
|
children: React.ReactNode;
|
|
813
|
-
}) =>
|
|
813
|
+
}) => JSX.Element;
|
|
814
814
|
/**
|
|
815
815
|
* Renders a h3 styled subtitle
|
|
816
816
|
* */
|
|
817
817
|
Subtitle: ({ children }: {
|
|
818
818
|
children: React.ReactNode;
|
|
819
|
-
}) =>
|
|
819
|
+
}) => JSX.Element;
|
|
820
820
|
/**
|
|
821
821
|
* Renders a div styled body
|
|
822
822
|
* */
|
|
823
823
|
Body: ({ children }: {
|
|
824
824
|
children: React.ReactNode;
|
|
825
|
-
}) =>
|
|
825
|
+
}) => JSX.Element;
|
|
826
826
|
/**
|
|
827
827
|
* Renders a Proton Button action
|
|
828
828
|
* - @prop buttonProps {@link ButtonProps}
|
|
829
829
|
* */
|
|
830
|
-
Action: (buttonProps: ButtonProps) =>
|
|
830
|
+
Action: (buttonProps: ButtonProps) => JSX.Element;
|
|
831
831
|
/**
|
|
832
832
|
* Renders a group of Proton Buttons
|
|
833
833
|
* */
|
|
834
834
|
Actions: ({ children }: {
|
|
835
835
|
children: React.ReactNode;
|
|
836
|
-
}) =>
|
|
836
|
+
}) => JSX.Element;
|
|
837
837
|
};
|
|
838
838
|
|
|
839
839
|
declare interface ModalProps {
|
|
@@ -907,6 +907,23 @@ declare interface OTPInputProps {
|
|
|
907
907
|
value?: string;
|
|
908
908
|
}
|
|
909
909
|
|
|
910
|
+
/**
|
|
911
|
+
* Applies a floating background to the content.
|
|
912
|
+
* Intended use in overlay containers such as modals, tooltips, or popovers.
|
|
913
|
+
*
|
|
914
|
+
* API:
|
|
915
|
+
* - {@link OverlayProps}
|
|
916
|
+
*/
|
|
917
|
+
export declare const Overlay: ForwardRefExoticComponent<OverlayProps & RefAttributes<HTMLDivElement>>;
|
|
918
|
+
|
|
919
|
+
declare interface OverlayProps {
|
|
920
|
+
children?: ReactNode;
|
|
921
|
+
/**
|
|
922
|
+
* Optional arrow element.
|
|
923
|
+
*/
|
|
924
|
+
arrow?: ReactNode;
|
|
925
|
+
}
|
|
926
|
+
|
|
910
927
|
/**
|
|
911
928
|
* A popover component that handles positioning and supports controlled and uncontrolled modes.
|
|
912
929
|
*
|
|
@@ -916,12 +933,13 @@ declare interface OTPInputProps {
|
|
|
916
933
|
* API:
|
|
917
934
|
* - {@link PopoverProps}
|
|
918
935
|
*/
|
|
919
|
-
export declare function Popover({ trigger, children, open, isDisabled, defaultOpen, onOpenChange, side, align, arrow, constrainWidth, "data-testid": testId, }: PopoverProps):
|
|
936
|
+
export declare function Popover({ trigger, children, open, isDisabled, defaultOpen, onOpenChange, side, align, arrow, constrainWidth, "data-testid": testId, }: PopoverProps): JSX.Element;
|
|
920
937
|
|
|
921
938
|
export declare namespace Popover {
|
|
922
939
|
var displayName: string;
|
|
923
940
|
}
|
|
924
941
|
|
|
942
|
+
/** Radix `Popover.Content` `align`*/
|
|
925
943
|
export declare type PopoverAlign = "start" | "center" | "end";
|
|
926
944
|
|
|
927
945
|
declare interface PopoverProps {
|
|
@@ -932,12 +950,13 @@ declare interface PopoverProps {
|
|
|
932
950
|
align?: PopoverAlign;
|
|
933
951
|
/**
|
|
934
952
|
* Show an arrow pointing to the trigger.
|
|
953
|
+
* @default false
|
|
935
954
|
*/
|
|
936
955
|
arrow?: boolean;
|
|
937
956
|
/**
|
|
938
957
|
* The content of the popover.
|
|
939
958
|
*/
|
|
940
|
-
children:
|
|
959
|
+
children: ReactNode;
|
|
941
960
|
/**
|
|
942
961
|
* Constrain the width of the popover to the width of the trigger.
|
|
943
962
|
*/
|
|
@@ -966,7 +985,7 @@ declare interface PopoverProps {
|
|
|
966
985
|
/**
|
|
967
986
|
* The trigger element for the popover.
|
|
968
987
|
*/
|
|
969
|
-
trigger:
|
|
988
|
+
trigger: ReactNode;
|
|
970
989
|
/**
|
|
971
990
|
* Popover side placement
|
|
972
991
|
* {@link PopoverSide}
|
|
@@ -974,6 +993,7 @@ declare interface PopoverProps {
|
|
|
974
993
|
side?: PopoverSide;
|
|
975
994
|
}
|
|
976
995
|
|
|
996
|
+
/** Radix `Popover.Content` `side` */
|
|
977
997
|
export declare type PopoverSide = "top" | "right" | "bottom" | "left";
|
|
978
998
|
|
|
979
999
|
declare type ProtonColorScale = {
|
|
@@ -1005,13 +1025,13 @@ declare type ProtonPalette = {
|
|
|
1005
1025
|
declare interface ProtonStyleSheet {
|
|
1006
1026
|
"--proton-control__background-color": string;
|
|
1007
1027
|
"--proton-control__background-color-light": string;
|
|
1028
|
+
"--proton-control__elevation-color": string;
|
|
1008
1029
|
"--proton-control__text-color": string;
|
|
1009
1030
|
"--proton-control__title-color": string;
|
|
1010
1031
|
"--proton-control__border-color": string;
|
|
1011
1032
|
"--proton-control__shadow-color": string;
|
|
1012
1033
|
"--proton-control__hover-color": string;
|
|
1013
1034
|
"--proton-control__border-radius": string;
|
|
1014
|
-
"--proton-control__interactive-color": string;
|
|
1015
1035
|
"--proton-color__primary": string;
|
|
1016
1036
|
"--proton-color__primary-light": string;
|
|
1017
1037
|
"--proton-color__primary-super-light": string;
|
|
@@ -1043,72 +1063,17 @@ declare interface ProtonStyleSheet {
|
|
|
1043
1063
|
|
|
1044
1064
|
declare type ProtonTheme = (typeof THEMES)[keyof typeof THEMES];
|
|
1045
1065
|
|
|
1046
|
-
declare interface ResponsiveTooltipProps {
|
|
1047
|
-
/**
|
|
1048
|
-
* The trigger element (wrapped by tooltip, or passed as trigger to popover).
|
|
1049
|
-
*/
|
|
1050
|
-
children: ReactNode;
|
|
1051
|
-
/**
|
|
1052
|
-
* The content to display in the tooltip/popover.
|
|
1053
|
-
*/
|
|
1054
|
-
content: string | ReactNode;
|
|
1066
|
+
declare interface ResponsiveTooltipProps extends Omit<TooltipProps, "placement">, Omit<PopoverProps, "trigger" | "children" | "side"> {
|
|
1055
1067
|
/**
|
|
1056
1068
|
* Placement/side of the tooltip/popover.
|
|
1057
1069
|
* @default "top"
|
|
1058
1070
|
*/
|
|
1059
1071
|
placement?: TooltipPlacement | PopoverSide;
|
|
1060
1072
|
/**
|
|
1061
|
-
*
|
|
1062
|
-
* @note only used when rendered as popover, ignored for tooltip
|
|
1063
|
-
* @default "center"
|
|
1064
|
-
*/
|
|
1065
|
-
align?: PopoverAlign;
|
|
1066
|
-
/**
|
|
1067
|
-
* Show an arrow pointing to the trigger.
|
|
1068
|
-
* @default true for tooltip, false for popover
|
|
1069
|
-
*/
|
|
1070
|
-
arrow?: boolean;
|
|
1071
|
-
/**
|
|
1072
|
-
* Delay before showing
|
|
1073
|
-
* @note only used for tooltip, ignored for popover
|
|
1074
|
-
* @default 100
|
|
1075
|
-
*/
|
|
1076
|
-
delay?: number;
|
|
1077
|
-
/**
|
|
1078
|
-
* Whether the tooltip/popover is disabled.
|
|
1079
|
-
*/
|
|
1080
|
-
isDisabled?: boolean;
|
|
1081
|
-
/**
|
|
1082
|
-
* Control open state (controlled mode).
|
|
1083
|
-
* @note only used when rendered as Popover
|
|
1084
|
-
*/
|
|
1085
|
-
open?: boolean;
|
|
1086
|
-
/**
|
|
1087
|
-
* Default open state (uncontrolled mode).
|
|
1088
|
-
*/
|
|
1089
|
-
defaultOpen?: boolean;
|
|
1090
|
-
/**
|
|
1091
|
-
* Callback when open state changes.
|
|
1092
|
-
*/
|
|
1093
|
-
onOpenChange?: (open: boolean) => void;
|
|
1094
|
-
/**
|
|
1095
|
-
* Constrain width to trigger (only used for popover).
|
|
1096
|
-
*/
|
|
1097
|
-
constrainWidth?: boolean;
|
|
1098
|
-
/**
|
|
1099
|
-
* Disable trigger click feature (only used for tooltip).
|
|
1100
|
-
* This is useful when using an info only Tooltip that might wrap a clickable element.
|
|
1101
|
-
*/
|
|
1102
|
-
disableTriggerClick?: boolean;
|
|
1103
|
-
/**
|
|
1104
|
-
* Force a specific component type (useful for testing or edge cases).
|
|
1073
|
+
* Force a specific component type.
|
|
1105
1074
|
* @default "auto"
|
|
1106
1075
|
*/
|
|
1107
1076
|
forceComponent?: "tooltip" | "popover" | "auto";
|
|
1108
|
-
/**
|
|
1109
|
-
* Test ID.
|
|
1110
|
-
*/
|
|
1111
|
-
"data-testid"?: string;
|
|
1112
1077
|
}
|
|
1113
1078
|
|
|
1114
1079
|
/**
|
|
@@ -1145,7 +1110,7 @@ declare interface ScreenOverlayProps {
|
|
|
1145
1110
|
* - {@link SearchInputProps}
|
|
1146
1111
|
* - extends {@link BaseInputProps}
|
|
1147
1112
|
*/
|
|
1148
|
-
export declare const SearchInput: ({ name, placeholder, autoComplete, isClearable, isDisabled, error, defaultValue, value: controlledValue, "data-testid": testId, onChange, onClear, }: SearchInputProps) =>
|
|
1113
|
+
export declare const SearchInput: ({ name, placeholder, autoComplete, isClearable, isDisabled, error, defaultValue, value: controlledValue, "data-testid": testId, onChange, onClear, }: SearchInputProps) => JSX.Element;
|
|
1149
1114
|
|
|
1150
1115
|
declare interface SearchInputProps extends Omit<BaseInputProps, "prefix" | "suffix" | "value" | "onChange" | "description" | "descriptionPosition" | "label"> {
|
|
1151
1116
|
/** The initial value of the input. */
|
|
@@ -1167,7 +1132,7 @@ declare interface SearchInputProps extends Omit<BaseInputProps, "prefix" | "suff
|
|
|
1167
1132
|
* API:
|
|
1168
1133
|
* - {@link SelectProps}
|
|
1169
1134
|
*/
|
|
1170
|
-
export declare function Select({ label, name, isDisabled, disabledKeys, selectedKey, onSelectionChange, defaultSelectedKey, onOpen, onClose, items, isRounded, "data-testid": testId, }: SelectProps):
|
|
1135
|
+
export declare function Select({ label, name, isDisabled, disabledKeys, selectedKey, onSelectionChange, defaultSelectedKey, onOpen, onClose, items, isRounded, "data-testid": testId, }: SelectProps): JSX.Element;
|
|
1171
1136
|
|
|
1172
1137
|
export declare namespace Select {
|
|
1173
1138
|
var displayName: string;
|
|
@@ -1240,7 +1205,7 @@ declare type SortingConfig = {
|
|
|
1240
1205
|
* API:
|
|
1241
1206
|
* - {@link SwitchProps}
|
|
1242
1207
|
*/
|
|
1243
|
-
export declare function Switch(
|
|
1208
|
+
export declare function Switch({ defaultOn, isOn: controlledIsOn, isDisabled, onChange, label, children, "data-testid": testId, }: SwitchProps): JSX.Element;
|
|
1244
1209
|
|
|
1245
1210
|
declare interface SwitchProps {
|
|
1246
1211
|
/**
|
|
@@ -1268,6 +1233,8 @@ declare interface SwitchProps {
|
|
|
1268
1233
|
* The text or component to be rendered as the Switch's description.
|
|
1269
1234
|
*/
|
|
1270
1235
|
children?: React.ReactNode;
|
|
1236
|
+
/** The test ID for the switch. */
|
|
1237
|
+
"data-testid"?: string;
|
|
1271
1238
|
}
|
|
1272
1239
|
|
|
1273
1240
|
/**
|
|
@@ -1357,19 +1324,19 @@ declare interface SwitchProps {
|
|
|
1357
1324
|
* @see {@link DataTableRow} for an example of a memoized custom row implementation
|
|
1358
1325
|
*/
|
|
1359
1326
|
export declare const Table: {
|
|
1360
|
-
({ children, name }: TableProps):
|
|
1327
|
+
({ children, name }: TableProps): JSX.Element;
|
|
1361
1328
|
displayName: string;
|
|
1362
1329
|
} & {
|
|
1363
1330
|
/** Table header: {@link CompoundHeaderProps} */
|
|
1364
|
-
Header: (_: TableHeaderProps) =>
|
|
1331
|
+
Header: (_: TableHeaderProps) => null;
|
|
1365
1332
|
/** Table column: {@link CompoundColumnProps} */
|
|
1366
|
-
Column: (_: TableColumnProps) =>
|
|
1333
|
+
Column: (_: TableColumnProps) => null;
|
|
1367
1334
|
/** Table body: {@link CompoundBodyProps} */
|
|
1368
|
-
Body: (_: TableBodyProps) =>
|
|
1335
|
+
Body: (_: TableBodyProps) => null;
|
|
1369
1336
|
/** Table row: {@link CompoundRowProps} */
|
|
1370
|
-
Row: (_: TableRowProps) =>
|
|
1337
|
+
Row: (_: TableRowProps) => null;
|
|
1371
1338
|
/** Table cell: {@link CompoundCellProps} */
|
|
1372
|
-
Cell: (_: TableCellProps) =>
|
|
1339
|
+
Cell: (_: TableCellProps) => null;
|
|
1373
1340
|
};
|
|
1374
1341
|
|
|
1375
1342
|
/**
|
|
@@ -1378,7 +1345,7 @@ export declare const Table: {
|
|
|
1378
1345
|
* @see {@link TableBodyProps}
|
|
1379
1346
|
*/
|
|
1380
1347
|
export declare const TableBody: {
|
|
1381
|
-
({ children }: TableBodyProps_2):
|
|
1348
|
+
({ children }: TableBodyProps_2): JSX.Element;
|
|
1382
1349
|
displayName: string;
|
|
1383
1350
|
};
|
|
1384
1351
|
|
|
@@ -1397,11 +1364,11 @@ declare interface TableBodyProps_2 {
|
|
|
1397
1364
|
* @see {@link TableCellProps}
|
|
1398
1365
|
*/
|
|
1399
1366
|
export declare const TableCell: {
|
|
1400
|
-
({ columnIndex, children, columnSpan, dataTestId, textAlign, }: TableCellProps_2):
|
|
1367
|
+
({ columnIndex, children, columnSpan, dataTestId, textAlign, }: TableCellProps_2): JSX.Element;
|
|
1401
1368
|
displayName: string;
|
|
1402
1369
|
};
|
|
1403
1370
|
|
|
1404
|
-
declare const TableCellCompound: (_: TableCellProps) =>
|
|
1371
|
+
declare const TableCellCompound: (_: TableCellProps) => null;
|
|
1405
1372
|
|
|
1406
1373
|
declare type TableCellElement = ReactElement<TableCellProps, typeof TableCellCompound>;
|
|
1407
1374
|
|
|
@@ -1426,7 +1393,7 @@ declare interface TableCellProps_2 {
|
|
|
1426
1393
|
textAlign?: "left" | "center" | "right";
|
|
1427
1394
|
}
|
|
1428
1395
|
|
|
1429
|
-
declare const TableColumnCompound: (_: TableColumnProps) =>
|
|
1396
|
+
declare const TableColumnCompound: (_: TableColumnProps) => null;
|
|
1430
1397
|
|
|
1431
1398
|
declare type TableColumnElement = ReactElement<TableColumnProps, typeof TableColumnCompound>;
|
|
1432
1399
|
|
|
@@ -1442,7 +1409,7 @@ declare interface TableColumnProps {
|
|
|
1442
1409
|
* @see {@link TableHeaderProps}
|
|
1443
1410
|
*/
|
|
1444
1411
|
export declare const TableHeader: {
|
|
1445
|
-
({ children, isHidden }: TableHeaderProps_2):
|
|
1412
|
+
({ children, isHidden }: TableHeaderProps_2): JSX.Element;
|
|
1446
1413
|
displayName: string;
|
|
1447
1414
|
};
|
|
1448
1415
|
|
|
@@ -1452,7 +1419,7 @@ export declare const TableHeader: {
|
|
|
1452
1419
|
* @see {@link TableHeaderCellProps}
|
|
1453
1420
|
*/
|
|
1454
1421
|
export declare const TableHeaderCell: {
|
|
1455
|
-
({ children, colIndex, ariaSort, "data-testid": testId, }: TableHeaderCellProps):
|
|
1422
|
+
({ children, colIndex, ariaSort, "data-testid": testId, }: TableHeaderCellProps): JSX.Element;
|
|
1456
1423
|
displayName: string;
|
|
1457
1424
|
};
|
|
1458
1425
|
|
|
@@ -1486,7 +1453,7 @@ declare interface TableHeaderProps_2 {
|
|
|
1486
1453
|
* @see {@link TableHeaderRowProps}
|
|
1487
1454
|
*/
|
|
1488
1455
|
export declare const TableHeaderRow: {
|
|
1489
|
-
({ children, ariaRowIndex, }: TableHeaderRowProps):
|
|
1456
|
+
({ children, ariaRowIndex, }: TableHeaderRowProps): JSX.Element;
|
|
1490
1457
|
displayName: string;
|
|
1491
1458
|
};
|
|
1492
1459
|
|
|
@@ -1513,7 +1480,7 @@ declare interface TableProps {
|
|
|
1513
1480
|
* @see {@link TableRootProps}
|
|
1514
1481
|
*/
|
|
1515
1482
|
export declare const TableRoot: {
|
|
1516
|
-
({ children, name, rowCount, colCount, "data-testid": testId, }: TableRootProps):
|
|
1483
|
+
({ children, name, rowCount, colCount, "data-testid": testId, }: TableRootProps): JSX.Element;
|
|
1517
1484
|
displayName: string;
|
|
1518
1485
|
};
|
|
1519
1486
|
|
|
@@ -1536,11 +1503,11 @@ declare interface TableRootProps {
|
|
|
1536
1503
|
* @see {@link TableRowProps}
|
|
1537
1504
|
*/
|
|
1538
1505
|
export declare const TableRow: {
|
|
1539
|
-
({ ariaRowIndex, onClick, children, dataTestId, }: TableRowProps_2):
|
|
1506
|
+
({ ariaRowIndex, onClick, children, dataTestId, }: TableRowProps_2): JSX.Element;
|
|
1540
1507
|
displayName: string;
|
|
1541
1508
|
};
|
|
1542
1509
|
|
|
1543
|
-
declare const TableRowCompound: (_: TableRowProps) =>
|
|
1510
|
+
declare const TableRowCompound: (_: TableRowProps) => null;
|
|
1544
1511
|
|
|
1545
1512
|
declare type TableRowElement = ReactElement<TableRowProps, typeof TableRowCompound>;
|
|
1546
1513
|
|
|
@@ -1568,7 +1535,7 @@ declare interface TableRowProps_2 {
|
|
|
1568
1535
|
* API:
|
|
1569
1536
|
* - {@link TextCountdownProps}
|
|
1570
1537
|
*/
|
|
1571
|
-
export declare function TextCountdown({ initialDurationSeconds, durationSeconds, children, label, showTimer, "data-testid": testId, }: TextCountdownProps):
|
|
1538
|
+
export declare function TextCountdown({ initialDurationSeconds, durationSeconds, children, label, showTimer, "data-testid": testId, }: TextCountdownProps): JSX.Element;
|
|
1572
1539
|
|
|
1573
1540
|
export declare namespace TextCountdown {
|
|
1574
1541
|
var displayName: string;
|
|
@@ -1608,7 +1575,7 @@ declare interface TextCountdownProps {
|
|
|
1608
1575
|
* API:
|
|
1609
1576
|
* - {@link TextEllipsisProps}
|
|
1610
1577
|
*/
|
|
1611
|
-
export declare const TextEllipsis: ({ children, maxWidth, singleLine, lines, title, "data-testid": testId, }: TextEllipsisProps) =>
|
|
1578
|
+
export declare const TextEllipsis: ({ children, maxWidth, singleLine, lines, title, "data-testid": testId, }: TextEllipsisProps) => JSX.Element;
|
|
1612
1579
|
|
|
1613
1580
|
declare interface TextEllipsisProps {
|
|
1614
1581
|
/**
|
|
@@ -1647,7 +1614,7 @@ declare interface TextEllipsisProps {
|
|
|
1647
1614
|
* API:
|
|
1648
1615
|
* - {@link TextEmphasisProps}
|
|
1649
1616
|
*/
|
|
1650
|
-
export declare const TextEmphasis: ({ to, children, tooltipProps, "data-testid": testId, }: TextEmphasisProps) =>
|
|
1617
|
+
export declare const TextEmphasis: ({ to, children, tooltipProps, "data-testid": testId, }: TextEmphasisProps) => JSX.Element;
|
|
1651
1618
|
|
|
1652
1619
|
declare interface TextEmphasisProps {
|
|
1653
1620
|
/**
|
|
@@ -1696,7 +1663,7 @@ declare const THEMES: {
|
|
|
1696
1663
|
* API:
|
|
1697
1664
|
* - {@link TombstoneProps}
|
|
1698
1665
|
*/
|
|
1699
|
-
export declare const Tombstone: ({ width, height, borderRadius, }: TombstoneProps) =>
|
|
1666
|
+
export declare const Tombstone: ({ width, height, borderRadius, }: TombstoneProps) => JSX.Element;
|
|
1700
1667
|
|
|
1701
1668
|
declare interface TombstoneProps {
|
|
1702
1669
|
/**
|
|
@@ -1718,24 +1685,24 @@ declare interface TombstoneProps {
|
|
|
1718
1685
|
|
|
1719
1686
|
/**
|
|
1720
1687
|
* A responsive component that automatically renders as Tooltip on desktop
|
|
1721
|
-
* and Popover on mobile
|
|
1722
|
-
*
|
|
1723
|
-
* **Client/Server Rendering:**
|
|
1724
|
-
* To ensure proper hydration in SSR environments, this component
|
|
1725
|
-
* matches the server render by defaulting to Tooltip until client-side detection
|
|
1726
|
-
* completes. This prevents hydration mismatches while maintaining correct
|
|
1727
|
-
* behavior after the initial render.
|
|
1688
|
+
* and Popover on mobile devices.
|
|
1728
1689
|
*
|
|
1729
1690
|
* API:
|
|
1730
1691
|
* - {@link ResponsiveTooltipProps}
|
|
1692
|
+
* - @extends {@link TooltipProps}
|
|
1693
|
+
* - @extends {@link PopoverProps}
|
|
1731
1694
|
*/
|
|
1732
|
-
export declare function Tooltip({ children, content, placement, align, arrow, delay, isDisabled, open, defaultOpen, onOpenChange, constrainWidth, disableTriggerClick, forceComponent, "data-testid": testId, }: ResponsiveTooltipProps):
|
|
1695
|
+
export declare function Tooltip({ children, content, placement, align, arrow, delay, isDisabled, open, defaultOpen, onOpenChange, constrainWidth, disableTriggerClick, forceComponent, "data-testid": testId, }: ResponsiveTooltipProps): JSX.Element | null;
|
|
1733
1696
|
|
|
1734
1697
|
export declare namespace Tooltip {
|
|
1735
1698
|
var displayName: string;
|
|
1736
1699
|
}
|
|
1737
1700
|
|
|
1738
|
-
|
|
1701
|
+
/** Radix `Tooltip.Content` `align` */
|
|
1702
|
+
export declare type TooltipAlign = "start" | "center" | "end";
|
|
1703
|
+
|
|
1704
|
+
/** Radix `Tooltip.Content` `side` */
|
|
1705
|
+
export declare type TooltipPlacement = "top" | "right" | "bottom" | "left";
|
|
1739
1706
|
|
|
1740
1707
|
declare interface TooltipProps {
|
|
1741
1708
|
/**
|
|
@@ -1746,20 +1713,27 @@ declare interface TooltipProps {
|
|
|
1746
1713
|
/**
|
|
1747
1714
|
* The children to display in the tooltip.
|
|
1748
1715
|
*/
|
|
1749
|
-
children:
|
|
1716
|
+
children: ReactNode;
|
|
1750
1717
|
/**
|
|
1751
1718
|
* The content to display in the tooltip. Zero-length titles string are never displayed.
|
|
1752
1719
|
*/
|
|
1753
|
-
content: string |
|
|
1720
|
+
content: string | ReactNode;
|
|
1754
1721
|
/**
|
|
1755
1722
|
* A test ID.
|
|
1756
1723
|
*/
|
|
1757
1724
|
"data-testid"?: string;
|
|
1758
1725
|
/**
|
|
1759
|
-
*
|
|
1760
|
-
* @
|
|
1726
|
+
* Side of the trigger to place the tooltip.
|
|
1727
|
+
* @see {@link TooltipPlacement}
|
|
1728
|
+
* @default "top"
|
|
1761
1729
|
*/
|
|
1762
1730
|
placement?: TooltipPlacement;
|
|
1731
|
+
/**
|
|
1732
|
+
* Alignment along the side.
|
|
1733
|
+
* @see {@link TooltipAlign}
|
|
1734
|
+
* @default "center"
|
|
1735
|
+
*/
|
|
1736
|
+
align?: TooltipAlign;
|
|
1763
1737
|
/**
|
|
1764
1738
|
* Whether to disable the trigger click feature.
|
|
1765
1739
|
* This is useful when using an info only Tooltip that might wrap a clickable element.
|
|
@@ -1793,7 +1767,7 @@ export declare const useTheme: () => ThemeContextType;
|
|
|
1793
1767
|
* API:
|
|
1794
1768
|
* - {@link WaveformProps}
|
|
1795
1769
|
*/
|
|
1796
|
-
export declare function Waveform({ data: waveformData, resolution, startDuration, endDuration, currentTime, showTimestamps, totalDuration, disabled, disabledMessage, onClick, "data-testid": testId, }: WaveformProps):
|
|
1770
|
+
export declare function Waveform({ data: waveformData, resolution, startDuration, endDuration, currentTime, showTimestamps, totalDuration, disabled, disabledMessage, onClick, "data-testid": testId, }: WaveformProps): JSX.Element;
|
|
1797
1771
|
|
|
1798
1772
|
declare interface WaveformProps {
|
|
1799
1773
|
/**
|