@protonradio/proton-ui 0.11.34 → 0.12.1
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 +42 -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 +62 -58
- 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 +53 -43
- 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 +63 -62
- 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 +104 -106
- 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 +42 -29
- 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 +5 -3
- 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 +7 -7
- 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 +131 -151
- 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 +21 -28
- 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
|
};
|
|
@@ -349,26 +353,32 @@ export declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttribut
|
|
|
349
353
|
* API:
|
|
350
354
|
* - {@link ButtonGroupProps}
|
|
351
355
|
*/
|
|
352
|
-
export declare function ButtonGroup(
|
|
356
|
+
export declare function ButtonGroup({ name, value, defaultValue, onChange, children, "data-testid": testId, }: ButtonGroupProps): JSX.Element;
|
|
353
357
|
|
|
354
358
|
export declare namespace ButtonGroup {
|
|
355
359
|
var displayName: string;
|
|
356
|
-
var Option: (
|
|
360
|
+
var Option: ({ value, children, "data-testid": testId, }: ButtonGroupOptionProps) => JSX.Element;
|
|
357
361
|
}
|
|
358
362
|
|
|
359
363
|
declare interface ButtonGroupOptionProps {
|
|
360
364
|
/**
|
|
361
365
|
* The value of this option. When this option is selected, this value will
|
|
362
|
-
* become the ButtonGroup's new `
|
|
366
|
+
* become the ButtonGroup's new `value`.
|
|
363
367
|
*/
|
|
364
368
|
value: string;
|
|
365
369
|
/**
|
|
366
370
|
* The text or component to be rendered as this option's content.
|
|
367
371
|
*/
|
|
368
|
-
children:
|
|
372
|
+
children: ReactNode;
|
|
373
|
+
/** The test ID for this option. */
|
|
374
|
+
"data-testid"?: string;
|
|
369
375
|
}
|
|
370
376
|
|
|
371
377
|
declare interface ButtonGroupProps {
|
|
378
|
+
/**
|
|
379
|
+
* The name of the ButtonGroup.
|
|
380
|
+
*/
|
|
381
|
+
name?: string;
|
|
372
382
|
/**
|
|
373
383
|
* The value of the currently selected option in the ButtonGroup. Providing
|
|
374
384
|
* this prop causes the component to become controlled.
|
|
@@ -385,7 +395,9 @@ declare interface ButtonGroupProps {
|
|
|
385
395
|
/**
|
|
386
396
|
* The ButtonGroup.Option elements to be rendered as the selectable values.
|
|
387
397
|
*/
|
|
388
|
-
children?:
|
|
398
|
+
children?: ReactNode;
|
|
399
|
+
/** The test ID for the component. */
|
|
400
|
+
"data-testid"?: string;
|
|
389
401
|
}
|
|
390
402
|
|
|
391
403
|
declare interface ButtonProps {
|
|
@@ -435,7 +447,7 @@ export declare const ButtonVariants: Record<ButtonVariant, ButtonVariant>;
|
|
|
435
447
|
* - {@link ButtonWithSelectProps}
|
|
436
448
|
* - extends {@link ButtonProps}
|
|
437
449
|
*/
|
|
438
|
-
export declare function ButtonWithSelect({ items, defaultValue, children, onSelectionChange, disabledKeys, selectedKey, icon, variant, fullWidth, onPress, ...buttonProps }: ButtonWithSelectProps):
|
|
450
|
+
export declare function ButtonWithSelect({ items, defaultValue, children, onSelectionChange, disabledKeys, selectedKey, icon, variant, fullWidth, onPress, ...buttonProps }: ButtonWithSelectProps): JSX.Element;
|
|
439
451
|
|
|
440
452
|
export declare namespace ButtonWithSelect {
|
|
441
453
|
var displayName: string;
|
|
@@ -475,7 +487,7 @@ export declare const calculateAriaRowIndex: (rowIndex: number, isHeaderHidden?:
|
|
|
475
487
|
* API:
|
|
476
488
|
* - {@link CheckboxInputProps}
|
|
477
489
|
*/
|
|
478
|
-
export declare const CheckboxInput:
|
|
490
|
+
export declare const CheckboxInput: ForwardRefExoticComponent<CheckboxInputProps & RefAttributes<HTMLInputElement>>;
|
|
479
491
|
|
|
480
492
|
declare interface CheckboxInputProps {
|
|
481
493
|
/**
|
|
@@ -487,9 +499,9 @@ declare interface CheckboxInputProps {
|
|
|
487
499
|
*/
|
|
488
500
|
defaultChecked?: boolean;
|
|
489
501
|
/** The error attribute of the checkbox input. */
|
|
490
|
-
error?:
|
|
502
|
+
error?: ReactNode | string;
|
|
491
503
|
/** The description attribute of the checkbox input. */
|
|
492
|
-
description?:
|
|
504
|
+
description?: ReactNode | string;
|
|
493
505
|
/** The test id attribute of the checkbox input. */
|
|
494
506
|
"data-testid"?: string;
|
|
495
507
|
/**
|
|
@@ -516,7 +528,7 @@ declare interface CheckboxInputProps {
|
|
|
516
528
|
/** The name attribute of the checkbox input. */
|
|
517
529
|
name: string;
|
|
518
530
|
/** The label attribute of the checkbox input. */
|
|
519
|
-
label?: string |
|
|
531
|
+
label?: string | ReactNode;
|
|
520
532
|
/**
|
|
521
533
|
* The value attribute of the checkbox input (for form submission).
|
|
522
534
|
* @external https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#value
|
|
@@ -615,7 +627,7 @@ declare interface CheckboxRadioGroupProps {
|
|
|
615
627
|
* API:
|
|
616
628
|
* - {@link CopyInputProps}
|
|
617
629
|
*/
|
|
618
|
-
export declare function CopyInput({ name, value, isDisabled, onError, onSuccess, }: CopyInputProps):
|
|
630
|
+
export declare function CopyInput({ name, value, isDisabled, onError, onSuccess, }: CopyInputProps): JSX.Element;
|
|
619
631
|
|
|
620
632
|
declare interface CopyInputProps {
|
|
621
633
|
/** The name of the input field */
|
|
@@ -639,7 +651,7 @@ declare interface CopyInputProps {
|
|
|
639
651
|
* @note Row memoization is enabled by default. Rows only re-render when row data or index changes.
|
|
640
652
|
*/
|
|
641
653
|
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>):
|
|
654
|
+
<T>({ columns, data, loading, tombstoneComponent, error, name, onRowClick, emptyMessage, errorMessage, loadingRows, "data-testid": testId, memoize, sortableColumns, sortedBy, sortDirection, onSort, }: DataTableProps<T>): JSX.Element;
|
|
643
655
|
displayName: string;
|
|
644
656
|
};
|
|
645
657
|
|
|
@@ -673,20 +685,6 @@ declare interface DataTableRowProps<T> {
|
|
|
673
685
|
dataTestId?: string;
|
|
674
686
|
}
|
|
675
687
|
|
|
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
688
|
/**
|
|
691
689
|
* Elevation component creates a visual elevation effect using the theme-aware background color.
|
|
692
690
|
*
|
|
@@ -697,7 +695,7 @@ declare interface DialogProps extends AriaDialogProps {
|
|
|
697
695
|
* API:
|
|
698
696
|
* - {@link ElevationProps}
|
|
699
697
|
*/
|
|
700
|
-
export declare const Elevation: ({ children, hasPrimaryGradient, "data-testid": dataTestId, }: ElevationProps) =>
|
|
698
|
+
export declare const Elevation: ({ children, hasPrimaryGradient, "data-testid": dataTestId, }: ElevationProps) => JSX.Element;
|
|
701
699
|
|
|
702
700
|
declare interface ElevationProps {
|
|
703
701
|
/**
|
|
@@ -722,7 +720,7 @@ declare interface ElevationProps {
|
|
|
722
720
|
* API:
|
|
723
721
|
* - {@link ImageBackgroundProps}
|
|
724
722
|
*/
|
|
725
|
-
export declare function ImageBackground({ image, imageUrl, onLoad, }: ImageBackgroundProps):
|
|
723
|
+
export declare function ImageBackground({ image, imageUrl, onLoad, }: ImageBackgroundProps): JSX.Element;
|
|
726
724
|
|
|
727
725
|
declare interface ImageBackgroundProps {
|
|
728
726
|
/**
|
|
@@ -792,7 +790,7 @@ declare interface MenuProps {
|
|
|
792
790
|
* API:
|
|
793
791
|
* - {@link MenuProps}
|
|
794
792
|
*/
|
|
795
|
-
export declare function MenuTrigger({ renderTrigger, size, title, items, disabled, onClose, triggerTestId, menuTestId, onSelectionChange, selectedKey, disabledKeys, }: MenuProps):
|
|
793
|
+
export declare function MenuTrigger({ renderTrigger, size, title, items, disabled, onClose, triggerTestId, menuTestId, onSelectionChange, selectedKey, disabledKeys, }: MenuProps): JSX.Element;
|
|
796
794
|
|
|
797
795
|
export declare namespace MenuTrigger {
|
|
798
796
|
var displayName: string;
|
|
@@ -804,36 +802,36 @@ export declare interface MenuTriggerProps {
|
|
|
804
802
|
setIsOpen: (isOpen: boolean) => void;
|
|
805
803
|
}
|
|
806
804
|
|
|
807
|
-
export declare const Modal: (({ isOpen, onClose, title, subtitle, body, children, isOverlay, "data-testid": dataTestId, }: ModalProps) =>
|
|
805
|
+
export declare const Modal: (({ isOpen, onClose, title, subtitle, body, children, isOverlay, "data-testid": dataTestId, }: ModalProps) => JSX.Element | null) & {
|
|
808
806
|
/**
|
|
809
807
|
* Renders a h2 styled title
|
|
810
808
|
* */
|
|
811
809
|
Title: ({ children }: {
|
|
812
810
|
children: React.ReactNode;
|
|
813
|
-
}) =>
|
|
811
|
+
}) => JSX.Element;
|
|
814
812
|
/**
|
|
815
813
|
* Renders a h3 styled subtitle
|
|
816
814
|
* */
|
|
817
815
|
Subtitle: ({ children }: {
|
|
818
816
|
children: React.ReactNode;
|
|
819
|
-
}) =>
|
|
817
|
+
}) => JSX.Element;
|
|
820
818
|
/**
|
|
821
819
|
* Renders a div styled body
|
|
822
820
|
* */
|
|
823
821
|
Body: ({ children }: {
|
|
824
822
|
children: React.ReactNode;
|
|
825
|
-
}) =>
|
|
823
|
+
}) => JSX.Element;
|
|
826
824
|
/**
|
|
827
825
|
* Renders a Proton Button action
|
|
828
826
|
* - @prop buttonProps {@link ButtonProps}
|
|
829
827
|
* */
|
|
830
|
-
Action: (buttonProps: ButtonProps) =>
|
|
828
|
+
Action: (buttonProps: ButtonProps) => JSX.Element;
|
|
831
829
|
/**
|
|
832
830
|
* Renders a group of Proton Buttons
|
|
833
831
|
* */
|
|
834
832
|
Actions: ({ children }: {
|
|
835
833
|
children: React.ReactNode;
|
|
836
|
-
}) =>
|
|
834
|
+
}) => JSX.Element;
|
|
837
835
|
};
|
|
838
836
|
|
|
839
837
|
declare interface ModalProps {
|
|
@@ -907,6 +905,23 @@ declare interface OTPInputProps {
|
|
|
907
905
|
value?: string;
|
|
908
906
|
}
|
|
909
907
|
|
|
908
|
+
/**
|
|
909
|
+
* Applies a floating background to the content.
|
|
910
|
+
* Intended use in overlay containers such as modals, tooltips, or popovers.
|
|
911
|
+
*
|
|
912
|
+
* API:
|
|
913
|
+
* - {@link OverlayProps}
|
|
914
|
+
*/
|
|
915
|
+
export declare const Overlay: ForwardRefExoticComponent<OverlayProps & RefAttributes<HTMLDivElement>>;
|
|
916
|
+
|
|
917
|
+
declare interface OverlayProps {
|
|
918
|
+
children?: ReactNode;
|
|
919
|
+
/**
|
|
920
|
+
* Optional arrow element.
|
|
921
|
+
*/
|
|
922
|
+
arrow?: ReactNode;
|
|
923
|
+
}
|
|
924
|
+
|
|
910
925
|
/**
|
|
911
926
|
* A popover component that handles positioning and supports controlled and uncontrolled modes.
|
|
912
927
|
*
|
|
@@ -916,28 +931,31 @@ declare interface OTPInputProps {
|
|
|
916
931
|
* API:
|
|
917
932
|
* - {@link PopoverProps}
|
|
918
933
|
*/
|
|
919
|
-
export declare function Popover({ trigger, children, open, isDisabled, defaultOpen, onOpenChange, side, align, arrow, constrainWidth, "data-testid": testId, }: PopoverProps):
|
|
934
|
+
export declare function Popover({ trigger, children, open, isDisabled, defaultOpen, onOpenChange, side, align, arrow, constrainWidth, "data-testid": testId, }: PopoverProps): JSX.Element;
|
|
920
935
|
|
|
921
936
|
export declare namespace Popover {
|
|
922
937
|
var displayName: string;
|
|
923
938
|
}
|
|
924
939
|
|
|
925
|
-
|
|
940
|
+
/** Radix `Popover.Content` `align`*/
|
|
941
|
+
export declare type PopoverAlign = RadixAlign;
|
|
926
942
|
|
|
927
943
|
declare interface PopoverProps {
|
|
928
944
|
/**
|
|
929
945
|
* Popover alignment
|
|
930
946
|
* {@link PopoverAlign}
|
|
947
|
+
* @default "center"
|
|
931
948
|
*/
|
|
932
949
|
align?: PopoverAlign;
|
|
933
950
|
/**
|
|
934
951
|
* Show an arrow pointing to the trigger.
|
|
952
|
+
* @default false
|
|
935
953
|
*/
|
|
936
954
|
arrow?: boolean;
|
|
937
955
|
/**
|
|
938
956
|
* The content of the popover.
|
|
939
957
|
*/
|
|
940
|
-
children:
|
|
958
|
+
children: ReactNode;
|
|
941
959
|
/**
|
|
942
960
|
* Constrain the width of the popover to the width of the trigger.
|
|
943
961
|
*/
|
|
@@ -966,15 +984,17 @@ declare interface PopoverProps {
|
|
|
966
984
|
/**
|
|
967
985
|
* The trigger element for the popover.
|
|
968
986
|
*/
|
|
969
|
-
trigger:
|
|
987
|
+
trigger: ReactNode;
|
|
970
988
|
/**
|
|
971
989
|
* Popover side placement
|
|
972
990
|
* {@link PopoverSide}
|
|
991
|
+
* @default "top"
|
|
973
992
|
*/
|
|
974
993
|
side?: PopoverSide;
|
|
975
994
|
}
|
|
976
995
|
|
|
977
|
-
|
|
996
|
+
/** Radix `Popover.Content` `side` */
|
|
997
|
+
export declare type PopoverSide = RadixSide;
|
|
978
998
|
|
|
979
999
|
declare type ProtonColorScale = {
|
|
980
1000
|
SUPER_DARK: string;
|
|
@@ -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,23 @@ declare interface ProtonStyleSheet {
|
|
|
1043
1063
|
|
|
1044
1064
|
declare type ProtonTheme = (typeof THEMES)[keyof typeof THEMES];
|
|
1045
1065
|
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
*/
|
|
1054
|
-
content: string | ReactNode;
|
|
1066
|
+
/** Radix `Popover.Content` `align`*/
|
|
1067
|
+
declare type RadixAlign = "start" | "center" | "end";
|
|
1068
|
+
|
|
1069
|
+
/** Radix `Popover.Content` `side` */
|
|
1070
|
+
declare type RadixSide = "top" | "right" | "bottom" | "left";
|
|
1071
|
+
|
|
1072
|
+
declare interface ResponsiveTooltipProps extends Omit<TooltipProps, "placement">, Omit<PopoverProps, "trigger" | "children" | "side"> {
|
|
1055
1073
|
/**
|
|
1056
1074
|
* Placement/side of the tooltip/popover.
|
|
1057
1075
|
* @default "top"
|
|
1058
1076
|
*/
|
|
1059
|
-
placement?: TooltipPlacement
|
|
1060
|
-
/**
|
|
1061
|
-
* Alignment for popover
|
|
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;
|
|
1077
|
+
placement?: TooltipPlacement;
|
|
1103
1078
|
/**
|
|
1104
|
-
* Force a specific component type
|
|
1079
|
+
* Force a specific component type.
|
|
1105
1080
|
* @default "auto"
|
|
1106
1081
|
*/
|
|
1107
1082
|
forceComponent?: "tooltip" | "popover" | "auto";
|
|
1108
|
-
/**
|
|
1109
|
-
* Test ID.
|
|
1110
|
-
*/
|
|
1111
|
-
"data-testid"?: string;
|
|
1112
1083
|
}
|
|
1113
1084
|
|
|
1114
1085
|
/**
|
|
@@ -1145,7 +1116,7 @@ declare interface ScreenOverlayProps {
|
|
|
1145
1116
|
* - {@link SearchInputProps}
|
|
1146
1117
|
* - extends {@link BaseInputProps}
|
|
1147
1118
|
*/
|
|
1148
|
-
export declare const SearchInput: ({ name, placeholder, autoComplete, isClearable, isDisabled, error, defaultValue, value: controlledValue, "data-testid": testId, onChange, onClear, }: SearchInputProps) =>
|
|
1119
|
+
export declare const SearchInput: ({ name, placeholder, autoComplete, isClearable, isDisabled, error, defaultValue, value: controlledValue, "data-testid": testId, onChange, onClear, }: SearchInputProps) => JSX.Element;
|
|
1149
1120
|
|
|
1150
1121
|
declare interface SearchInputProps extends Omit<BaseInputProps, "prefix" | "suffix" | "value" | "onChange" | "description" | "descriptionPosition" | "label"> {
|
|
1151
1122
|
/** The initial value of the input. */
|
|
@@ -1167,7 +1138,7 @@ declare interface SearchInputProps extends Omit<BaseInputProps, "prefix" | "suff
|
|
|
1167
1138
|
* API:
|
|
1168
1139
|
* - {@link SelectProps}
|
|
1169
1140
|
*/
|
|
1170
|
-
export declare function Select({ label, name, isDisabled, disabledKeys, selectedKey, onSelectionChange, defaultSelectedKey, onOpen, onClose, items, isRounded, "data-testid": testId, }: SelectProps):
|
|
1141
|
+
export declare function Select({ label, name, isDisabled, disabledKeys, selectedKey, onSelectionChange, defaultSelectedKey, onOpen, onClose, items, isRounded, "data-testid": testId, }: SelectProps): JSX.Element;
|
|
1171
1142
|
|
|
1172
1143
|
export declare namespace Select {
|
|
1173
1144
|
var displayName: string;
|
|
@@ -1240,7 +1211,7 @@ declare type SortingConfig = {
|
|
|
1240
1211
|
* API:
|
|
1241
1212
|
* - {@link SwitchProps}
|
|
1242
1213
|
*/
|
|
1243
|
-
export declare function Switch(
|
|
1214
|
+
export declare function Switch({ defaultOn, isOn: controlledIsOn, isDisabled, onChange, label, children, "data-testid": testId, }: SwitchProps): JSX.Element;
|
|
1244
1215
|
|
|
1245
1216
|
declare interface SwitchProps {
|
|
1246
1217
|
/**
|
|
@@ -1268,6 +1239,8 @@ declare interface SwitchProps {
|
|
|
1268
1239
|
* The text or component to be rendered as the Switch's description.
|
|
1269
1240
|
*/
|
|
1270
1241
|
children?: React.ReactNode;
|
|
1242
|
+
/** The test ID for the switch. */
|
|
1243
|
+
"data-testid"?: string;
|
|
1271
1244
|
}
|
|
1272
1245
|
|
|
1273
1246
|
/**
|
|
@@ -1357,19 +1330,19 @@ declare interface SwitchProps {
|
|
|
1357
1330
|
* @see {@link DataTableRow} for an example of a memoized custom row implementation
|
|
1358
1331
|
*/
|
|
1359
1332
|
export declare const Table: {
|
|
1360
|
-
({ children, name }: TableProps):
|
|
1333
|
+
({ children, name }: TableProps): JSX.Element;
|
|
1361
1334
|
displayName: string;
|
|
1362
1335
|
} & {
|
|
1363
1336
|
/** Table header: {@link CompoundHeaderProps} */
|
|
1364
|
-
Header: (_: TableHeaderProps) =>
|
|
1337
|
+
Header: (_: TableHeaderProps) => null;
|
|
1365
1338
|
/** Table column: {@link CompoundColumnProps} */
|
|
1366
|
-
Column: (_: TableColumnProps) =>
|
|
1339
|
+
Column: (_: TableColumnProps) => null;
|
|
1367
1340
|
/** Table body: {@link CompoundBodyProps} */
|
|
1368
|
-
Body: (_: TableBodyProps) =>
|
|
1341
|
+
Body: (_: TableBodyProps) => null;
|
|
1369
1342
|
/** Table row: {@link CompoundRowProps} */
|
|
1370
|
-
Row: (_: TableRowProps) =>
|
|
1343
|
+
Row: (_: TableRowProps) => null;
|
|
1371
1344
|
/** Table cell: {@link CompoundCellProps} */
|
|
1372
|
-
Cell: (_: TableCellProps) =>
|
|
1345
|
+
Cell: (_: TableCellProps) => null;
|
|
1373
1346
|
};
|
|
1374
1347
|
|
|
1375
1348
|
/**
|
|
@@ -1378,7 +1351,7 @@ export declare const Table: {
|
|
|
1378
1351
|
* @see {@link TableBodyProps}
|
|
1379
1352
|
*/
|
|
1380
1353
|
export declare const TableBody: {
|
|
1381
|
-
({ children }: TableBodyProps_2):
|
|
1354
|
+
({ children }: TableBodyProps_2): JSX.Element;
|
|
1382
1355
|
displayName: string;
|
|
1383
1356
|
};
|
|
1384
1357
|
|
|
@@ -1397,11 +1370,11 @@ declare interface TableBodyProps_2 {
|
|
|
1397
1370
|
* @see {@link TableCellProps}
|
|
1398
1371
|
*/
|
|
1399
1372
|
export declare const TableCell: {
|
|
1400
|
-
({ columnIndex, children, columnSpan, dataTestId, textAlign, }: TableCellProps_2):
|
|
1373
|
+
({ columnIndex, children, columnSpan, dataTestId, textAlign, }: TableCellProps_2): JSX.Element;
|
|
1401
1374
|
displayName: string;
|
|
1402
1375
|
};
|
|
1403
1376
|
|
|
1404
|
-
declare const TableCellCompound: (_: TableCellProps) =>
|
|
1377
|
+
declare const TableCellCompound: (_: TableCellProps) => null;
|
|
1405
1378
|
|
|
1406
1379
|
declare type TableCellElement = ReactElement<TableCellProps, typeof TableCellCompound>;
|
|
1407
1380
|
|
|
@@ -1426,7 +1399,7 @@ declare interface TableCellProps_2 {
|
|
|
1426
1399
|
textAlign?: "left" | "center" | "right";
|
|
1427
1400
|
}
|
|
1428
1401
|
|
|
1429
|
-
declare const TableColumnCompound: (_: TableColumnProps) =>
|
|
1402
|
+
declare const TableColumnCompound: (_: TableColumnProps) => null;
|
|
1430
1403
|
|
|
1431
1404
|
declare type TableColumnElement = ReactElement<TableColumnProps, typeof TableColumnCompound>;
|
|
1432
1405
|
|
|
@@ -1442,7 +1415,7 @@ declare interface TableColumnProps {
|
|
|
1442
1415
|
* @see {@link TableHeaderProps}
|
|
1443
1416
|
*/
|
|
1444
1417
|
export declare const TableHeader: {
|
|
1445
|
-
({ children, isHidden }: TableHeaderProps_2):
|
|
1418
|
+
({ children, isHidden }: TableHeaderProps_2): JSX.Element;
|
|
1446
1419
|
displayName: string;
|
|
1447
1420
|
};
|
|
1448
1421
|
|
|
@@ -1452,7 +1425,7 @@ export declare const TableHeader: {
|
|
|
1452
1425
|
* @see {@link TableHeaderCellProps}
|
|
1453
1426
|
*/
|
|
1454
1427
|
export declare const TableHeaderCell: {
|
|
1455
|
-
({ children, colIndex, ariaSort, "data-testid": testId, }: TableHeaderCellProps):
|
|
1428
|
+
({ children, colIndex, ariaSort, "data-testid": testId, }: TableHeaderCellProps): JSX.Element;
|
|
1456
1429
|
displayName: string;
|
|
1457
1430
|
};
|
|
1458
1431
|
|
|
@@ -1486,7 +1459,7 @@ declare interface TableHeaderProps_2 {
|
|
|
1486
1459
|
* @see {@link TableHeaderRowProps}
|
|
1487
1460
|
*/
|
|
1488
1461
|
export declare const TableHeaderRow: {
|
|
1489
|
-
({ children, ariaRowIndex, }: TableHeaderRowProps):
|
|
1462
|
+
({ children, ariaRowIndex, }: TableHeaderRowProps): JSX.Element;
|
|
1490
1463
|
displayName: string;
|
|
1491
1464
|
};
|
|
1492
1465
|
|
|
@@ -1513,7 +1486,7 @@ declare interface TableProps {
|
|
|
1513
1486
|
* @see {@link TableRootProps}
|
|
1514
1487
|
*/
|
|
1515
1488
|
export declare const TableRoot: {
|
|
1516
|
-
({ children, name, rowCount, colCount, "data-testid": testId, }: TableRootProps):
|
|
1489
|
+
({ children, name, rowCount, colCount, "data-testid": testId, }: TableRootProps): JSX.Element;
|
|
1517
1490
|
displayName: string;
|
|
1518
1491
|
};
|
|
1519
1492
|
|
|
@@ -1536,11 +1509,11 @@ declare interface TableRootProps {
|
|
|
1536
1509
|
* @see {@link TableRowProps}
|
|
1537
1510
|
*/
|
|
1538
1511
|
export declare const TableRow: {
|
|
1539
|
-
({ ariaRowIndex, onClick, children, dataTestId, }: TableRowProps_2):
|
|
1512
|
+
({ ariaRowIndex, onClick, children, dataTestId, }: TableRowProps_2): JSX.Element;
|
|
1540
1513
|
displayName: string;
|
|
1541
1514
|
};
|
|
1542
1515
|
|
|
1543
|
-
declare const TableRowCompound: (_: TableRowProps) =>
|
|
1516
|
+
declare const TableRowCompound: (_: TableRowProps) => null;
|
|
1544
1517
|
|
|
1545
1518
|
declare type TableRowElement = ReactElement<TableRowProps, typeof TableRowCompound>;
|
|
1546
1519
|
|
|
@@ -1568,7 +1541,7 @@ declare interface TableRowProps_2 {
|
|
|
1568
1541
|
* API:
|
|
1569
1542
|
* - {@link TextCountdownProps}
|
|
1570
1543
|
*/
|
|
1571
|
-
export declare function TextCountdown({ initialDurationSeconds, durationSeconds, children, label, showTimer, "data-testid": testId, }: TextCountdownProps):
|
|
1544
|
+
export declare function TextCountdown({ initialDurationSeconds, durationSeconds, children, label, showTimer, "data-testid": testId, }: TextCountdownProps): JSX.Element;
|
|
1572
1545
|
|
|
1573
1546
|
export declare namespace TextCountdown {
|
|
1574
1547
|
var displayName: string;
|
|
@@ -1608,7 +1581,7 @@ declare interface TextCountdownProps {
|
|
|
1608
1581
|
* API:
|
|
1609
1582
|
* - {@link TextEllipsisProps}
|
|
1610
1583
|
*/
|
|
1611
|
-
export declare const TextEllipsis: ({ children, maxWidth, singleLine, lines, title, "data-testid": testId, }: TextEllipsisProps) =>
|
|
1584
|
+
export declare const TextEllipsis: ({ children, maxWidth, singleLine, lines, title, "data-testid": testId, }: TextEllipsisProps) => JSX.Element;
|
|
1612
1585
|
|
|
1613
1586
|
declare interface TextEllipsisProps {
|
|
1614
1587
|
/**
|
|
@@ -1647,7 +1620,7 @@ declare interface TextEllipsisProps {
|
|
|
1647
1620
|
* API:
|
|
1648
1621
|
* - {@link TextEmphasisProps}
|
|
1649
1622
|
*/
|
|
1650
|
-
export declare const TextEmphasis: ({ to, children, tooltipProps, "data-testid": testId, }: TextEmphasisProps) =>
|
|
1623
|
+
export declare const TextEmphasis: ({ to, children, tooltipProps, "data-testid": testId, }: TextEmphasisProps) => JSX.Element;
|
|
1651
1624
|
|
|
1652
1625
|
declare interface TextEmphasisProps {
|
|
1653
1626
|
/**
|
|
@@ -1696,7 +1669,7 @@ declare const THEMES: {
|
|
|
1696
1669
|
* API:
|
|
1697
1670
|
* - {@link TombstoneProps}
|
|
1698
1671
|
*/
|
|
1699
|
-
export declare const Tombstone: ({ width, height, borderRadius, }: TombstoneProps) =>
|
|
1672
|
+
export declare const Tombstone: ({ width, height, borderRadius, }: TombstoneProps) => JSX.Element;
|
|
1700
1673
|
|
|
1701
1674
|
declare interface TombstoneProps {
|
|
1702
1675
|
/**
|
|
@@ -1718,24 +1691,24 @@ declare interface TombstoneProps {
|
|
|
1718
1691
|
|
|
1719
1692
|
/**
|
|
1720
1693
|
* 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.
|
|
1694
|
+
* and Popover on mobile devices.
|
|
1728
1695
|
*
|
|
1729
1696
|
* API:
|
|
1730
1697
|
* - {@link ResponsiveTooltipProps}
|
|
1698
|
+
* - @extends {@link TooltipProps}
|
|
1699
|
+
* - @extends {@link PopoverProps}
|
|
1731
1700
|
*/
|
|
1732
|
-
export declare function Tooltip({ children, content, placement, align, arrow, delay, isDisabled, open, defaultOpen, onOpenChange, constrainWidth, disableTriggerClick, forceComponent, "data-testid": testId, }: ResponsiveTooltipProps):
|
|
1701
|
+
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
1702
|
|
|
1734
1703
|
export declare namespace Tooltip {
|
|
1735
1704
|
var displayName: string;
|
|
1736
1705
|
}
|
|
1737
1706
|
|
|
1738
|
-
|
|
1707
|
+
/** Radix `Tooltip.Content` `align` */
|
|
1708
|
+
export declare type TooltipAlign = RadixAlign;
|
|
1709
|
+
|
|
1710
|
+
/** Radix `Tooltip.Content` `side` */
|
|
1711
|
+
export declare type TooltipPlacement = RadixSide;
|
|
1739
1712
|
|
|
1740
1713
|
declare interface TooltipProps {
|
|
1741
1714
|
/**
|
|
@@ -1746,20 +1719,27 @@ declare interface TooltipProps {
|
|
|
1746
1719
|
/**
|
|
1747
1720
|
* The children to display in the tooltip.
|
|
1748
1721
|
*/
|
|
1749
|
-
children:
|
|
1722
|
+
children: ReactNode;
|
|
1750
1723
|
/**
|
|
1751
1724
|
* The content to display in the tooltip. Zero-length titles string are never displayed.
|
|
1752
1725
|
*/
|
|
1753
|
-
content: string |
|
|
1726
|
+
content: string | ReactNode;
|
|
1754
1727
|
/**
|
|
1755
1728
|
* A test ID.
|
|
1756
1729
|
*/
|
|
1757
1730
|
"data-testid"?: string;
|
|
1758
1731
|
/**
|
|
1759
|
-
*
|
|
1760
|
-
* @
|
|
1732
|
+
* Side of the trigger to place the tooltip.
|
|
1733
|
+
* @see {@link TooltipPlacement}
|
|
1734
|
+
* @default "top"
|
|
1761
1735
|
*/
|
|
1762
1736
|
placement?: TooltipPlacement;
|
|
1737
|
+
/**
|
|
1738
|
+
* Alignment along the side.
|
|
1739
|
+
* @see {@link TooltipAlign}
|
|
1740
|
+
* @default "center"
|
|
1741
|
+
*/
|
|
1742
|
+
align?: TooltipAlign;
|
|
1763
1743
|
/**
|
|
1764
1744
|
* Whether to disable the trigger click feature.
|
|
1765
1745
|
* This is useful when using an info only Tooltip that might wrap a clickable element.
|
|
@@ -1793,7 +1773,7 @@ export declare const useTheme: () => ThemeContextType;
|
|
|
1793
1773
|
* API:
|
|
1794
1774
|
* - {@link WaveformProps}
|
|
1795
1775
|
*/
|
|
1796
|
-
export declare function Waveform({ data: waveformData, resolution, startDuration, endDuration, currentTime, showTimestamps, totalDuration, disabled, disabledMessage, onClick, "data-testid": testId, }: WaveformProps):
|
|
1776
|
+
export declare function Waveform({ data: waveformData, resolution, startDuration, endDuration, currentTime, showTimestamps, totalDuration, disabled, disabledMessage, onClick, "data-testid": testId, }: WaveformProps): JSX.Element;
|
|
1797
1777
|
|
|
1798
1778
|
declare interface WaveformProps {
|
|
1799
1779
|
/**
|