@wireapp/react-ui-kit 9.69.4 → 9.69.5
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/lib/DataDisplay/Avatar/Avatar.d.ts +14 -0
- package/lib/DataDisplay/Avatar/Avatar.d.ts.map +1 -0
- package/lib/DataDisplay/Avatar/Avatar.js +88 -0
- package/lib/DataDisplay/Avatar/Avatar.stories.d.ts +13 -0
- package/lib/DataDisplay/Avatar/Avatar.stories.d.ts.map +1 -0
- package/lib/DataDisplay/Avatar/Avatar.stories.js +64 -0
- package/lib/DataDisplay/Avatar/index.d.ts +2 -0
- package/lib/DataDisplay/Avatar/index.d.ts.map +1 -0
- package/lib/DataDisplay/Avatar/index.js +35 -0
- package/lib/DataDisplay/AvatarGrid/AvatarGrid.d.ts +13 -0
- package/lib/DataDisplay/AvatarGrid/AvatarGrid.d.ts.map +1 -0
- package/lib/DataDisplay/AvatarGrid/AvatarGrid.js +40 -0
- package/lib/DataDisplay/AvatarGrid/AvatarGrid.stories.d.ts +12 -0
- package/lib/DataDisplay/AvatarGrid/AvatarGrid.stories.d.ts.map +1 -0
- package/lib/DataDisplay/AvatarGrid/AvatarGrid.stories.js +90 -0
- package/lib/DataDisplay/AvatarGrid/index.d.ts +2 -0
- package/lib/DataDisplay/AvatarGrid/index.d.ts.map +1 -0
- package/lib/DataDisplay/AvatarGrid/index.js +35 -0
- package/lib/DataDisplay/Badge/Badge.d.ts +4 -0
- package/lib/DataDisplay/Badge/Badge.d.ts.map +1 -0
- package/lib/DataDisplay/Badge/Badge.js +27 -0
- package/lib/DataDisplay/Badge/Badge.stories.d.ts +9 -0
- package/lib/DataDisplay/Badge/Badge.stories.d.ts.map +1 -0
- package/lib/DataDisplay/Badge/Badge.stories.js +32 -0
- package/lib/DataDisplay/Badge/Badge.styles.d.ts +4 -0
- package/lib/DataDisplay/Badge/Badge.styles.d.ts.map +1 -0
- package/lib/DataDisplay/Badge/Badge.styles.js +41 -0
- package/lib/DataDisplay/Badge/index.d.ts +2 -0
- package/lib/DataDisplay/Badge/index.d.ts.map +1 -0
- package/lib/DataDisplay/Badge/index.js +35 -0
- package/lib/DataDisplay/BadgesWithTooltip/BadgesWithTooltip.d.ts +4 -0
- package/lib/DataDisplay/BadgesWithTooltip/BadgesWithTooltip.d.ts.map +1 -0
- package/lib/DataDisplay/BadgesWithTooltip/BadgesWithTooltip.js +38 -0
- package/lib/DataDisplay/BadgesWithTooltip/BadgesWithTooltip.stories.d.ts +22 -0
- package/lib/DataDisplay/BadgesWithTooltip/BadgesWithTooltip.stories.d.ts.map +1 -0
- package/lib/DataDisplay/BadgesWithTooltip/BadgesWithTooltip.stories.js +44 -0
- package/lib/DataDisplay/BadgesWithTooltip/BadgesWithTooltip.styles.d.ts +6 -0
- package/lib/DataDisplay/BadgesWithTooltip/BadgesWithTooltip.styles.d.ts.map +1 -0
- package/lib/DataDisplay/BadgesWithTooltip/BadgesWithTooltip.styles.js +45 -0
- package/lib/DataDisplay/BadgesWithTooltip/index.d.ts +2 -0
- package/lib/DataDisplay/BadgesWithTooltip/index.d.ts.map +1 -0
- package/lib/DataDisplay/BadgesWithTooltip/index.js +35 -0
- package/lib/DataDisplay/Icon/AddPeopleIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/AddPeopleIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/AddPeopleIcon.js +25 -0
- package/lib/DataDisplay/Icon/AlertIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/AlertIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/AlertIcon.js +25 -0
- package/lib/DataDisplay/Icon/ArchiveIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ArchiveIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ArchiveIcon.js +25 -0
- package/lib/DataDisplay/Icon/ArrowDown.d.ts +3 -0
- package/lib/DataDisplay/Icon/ArrowDown.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ArrowDown.js +25 -0
- package/lib/DataDisplay/Icon/ArrowIcon.d.ts +13 -0
- package/lib/DataDisplay/Icon/ArrowIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ArrowIcon.js +31 -0
- package/lib/DataDisplay/Icon/AttachmentIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/AttachmentIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/AttachmentIcon.js +25 -0
- package/lib/DataDisplay/Icon/AudioVideoIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/AudioVideoIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/AudioVideoIcon.js +25 -0
- package/lib/DataDisplay/Icon/BlockIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/BlockIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/BlockIcon.js +25 -0
- package/lib/DataDisplay/Icon/BlockquoteIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/BlockquoteIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/BlockquoteIcon.js +25 -0
- package/lib/DataDisplay/Icon/BoldIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/BoldIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/BoldIcon.js +25 -0
- package/lib/DataDisplay/Icon/Brand/AndroidIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Brand/AndroidIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Brand/AndroidIcon.js +25 -0
- package/lib/DataDisplay/Icon/Brand/AppleIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Brand/AppleIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Brand/AppleIcon.js +25 -0
- package/lib/DataDisplay/Icon/Brand/ChromeIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Brand/ChromeIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Brand/ChromeIcon.js +25 -0
- package/lib/DataDisplay/Icon/Brand/FacebookIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Brand/FacebookIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Brand/FacebookIcon.js +25 -0
- package/lib/DataDisplay/Icon/Brand/GitHubIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Brand/GitHubIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Brand/GitHubIcon.js +25 -0
- package/lib/DataDisplay/Icon/Brand/LinkedInIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Brand/LinkedInIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Brand/LinkedInIcon.js +25 -0
- package/lib/DataDisplay/Icon/Brand/LinuxIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Brand/LinuxIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Brand/LinuxIcon.js +25 -0
- package/lib/DataDisplay/Icon/Brand/MicrosoftIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Brand/MicrosoftIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Brand/MicrosoftIcon.js +25 -0
- package/lib/DataDisplay/Icon/Brand/TwitterIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Brand/TwitterIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Brand/TwitterIcon.js +25 -0
- package/lib/DataDisplay/Icon/BulletListIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/BulletListIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/BulletListIcon.js +25 -0
- package/lib/DataDisplay/Icon/CalendarIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CalendarIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CalendarIcon.js +25 -0
- package/lib/DataDisplay/Icon/CallIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CallIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CallIcon.js +25 -0
- package/lib/DataDisplay/Icon/CamIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CamIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CamIcon.js +25 -0
- package/lib/DataDisplay/Icon/CameraIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CameraIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CameraIcon.js +25 -0
- package/lib/DataDisplay/Icon/CertificateExpired.d.ts +3 -0
- package/lib/DataDisplay/Icon/CertificateExpired.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CertificateExpired.js +25 -0
- package/lib/DataDisplay/Icon/CertificateRevoked.d.ts +3 -0
- package/lib/DataDisplay/Icon/CertificateRevoked.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CertificateRevoked.js +25 -0
- package/lib/DataDisplay/Icon/ChannelIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ChannelIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ChannelIcon.js +25 -0
- package/lib/DataDisplay/Icon/CheckIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CheckIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CheckIcon.js +25 -0
- package/lib/DataDisplay/Icon/CheckRoundIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CheckRoundIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CheckRoundIcon.js +25 -0
- package/lib/DataDisplay/Icon/ChevronDownIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ChevronDownIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ChevronDownIcon.js +25 -0
- package/lib/DataDisplay/Icon/ChevronIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ChevronIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ChevronIcon.js +26 -0
- package/lib/DataDisplay/Icon/ChevronUpIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ChevronUpIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ChevronUpIcon.js +25 -0
- package/lib/DataDisplay/Icon/CircleCloseIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CircleCloseIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CircleCloseIcon.js +25 -0
- package/lib/DataDisplay/Icon/CirclePlusIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CirclePlusIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CirclePlusIcon.js +25 -0
- package/lib/DataDisplay/Icon/CloseDetachedWindowIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CloseDetachedWindowIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CloseDetachedWindowIcon.js +25 -0
- package/lib/DataDisplay/Icon/CloseIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CloseIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CloseIcon.js +25 -0
- package/lib/DataDisplay/Icon/CodeBlockIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CodeBlockIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CodeBlockIcon.js +25 -0
- package/lib/DataDisplay/Icon/CodeInlineIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CodeInlineIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CodeInlineIcon.js +25 -0
- package/lib/DataDisplay/Icon/CollectionIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CollectionIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CollectionIcon.js +25 -0
- package/lib/DataDisplay/Icon/CopyIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/CopyIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/CopyIcon.js +25 -0
- package/lib/DataDisplay/Icon/DeviceIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/DeviceIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/DeviceIcon.js +25 -0
- package/lib/DataDisplay/Icon/DownloadIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/DownloadIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/DownloadIcon.js +25 -0
- package/lib/DataDisplay/Icon/DropdownFilledIcon.d.ts +7 -0
- package/lib/DataDisplay/Icon/DropdownFilledIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/DropdownFilledIcon.js +13 -0
- package/lib/DataDisplay/Icon/EditDocumentIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/EditDocumentIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/EditDocumentIcon.js +25 -0
- package/lib/DataDisplay/Icon/EditIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/EditIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/EditIcon.js +25 -0
- package/lib/DataDisplay/Icon/EmojiIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/EmojiIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/EmojiIcon.js +25 -0
- package/lib/DataDisplay/Icon/EnterIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/EnterIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/EnterIcon.js +25 -0
- package/lib/DataDisplay/Icon/ErrorIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ErrorIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ErrorIcon.js +25 -0
- package/lib/DataDisplay/Icon/ExpiresSoon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ExpiresSoon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ExpiresSoon.js +25 -0
- package/lib/DataDisplay/Icon/ExternalLinkIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ExternalLinkIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ExternalLinkIcon.js +25 -0
- package/lib/DataDisplay/Icon/FileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/FileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/FileIcon.js +25 -0
- package/lib/DataDisplay/Icon/Files/ArchiveFileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/ArchiveFileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/ArchiveFileIcon.js +27 -0
- package/lib/DataDisplay/Icon/Files/AudioFileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/AudioFileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/AudioFileIcon.js +27 -0
- package/lib/DataDisplay/Icon/Files/CodeFileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/CodeFileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/CodeFileIcon.js +27 -0
- package/lib/DataDisplay/Icon/Files/DocumentFileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/DocumentFileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/DocumentFileIcon.js +27 -0
- package/lib/DataDisplay/Icon/Files/FolderIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/FolderIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/FolderIcon.js +27 -0
- package/lib/DataDisplay/Icon/Files/ImageFileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/ImageFileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/ImageFileIcon.js +27 -0
- package/lib/DataDisplay/Icon/Files/MultipleFilesIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/MultipleFilesIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/MultipleFilesIcon.js +27 -0
- package/lib/DataDisplay/Icon/Files/OtherFileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/OtherFileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/OtherFileIcon.js +27 -0
- package/lib/DataDisplay/Icon/Files/PdfFileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/PdfFileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/PdfFileIcon.js +27 -0
- package/lib/DataDisplay/Icon/Files/PresentationFileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/PresentationFileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/PresentationFileIcon.js +27 -0
- package/lib/DataDisplay/Icon/Files/SpreadsheetFileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/SpreadsheetFileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/SpreadsheetFileIcon.js +27 -0
- package/lib/DataDisplay/Icon/Files/TextFileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/TextFileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/TextFileIcon.js +27 -0
- package/lib/DataDisplay/Icon/Files/VideoFileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/Files/VideoFileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/Files/VideoFileIcon.js +27 -0
- package/lib/DataDisplay/Icon/FunnelFilterIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/FunnelFilterIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/FunnelFilterIcon.js +25 -0
- package/lib/DataDisplay/Icon/GifIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/GifIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/GifIcon.js +25 -0
- package/lib/DataDisplay/Icon/GridIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/GridIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/GridIcon.js +25 -0
- package/lib/DataDisplay/Icon/GroupIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/GroupIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/GroupIcon.js +25 -0
- package/lib/DataDisplay/Icon/HamburgerIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/HamburgerIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/HamburgerIcon.js +25 -0
- package/lib/DataDisplay/Icon/HangupIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/HangupIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/HangupIcon.js +25 -0
- package/lib/DataDisplay/Icon/HeadingIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/HeadingIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/HeadingIcon.js +25 -0
- package/lib/DataDisplay/Icon/HelpIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/HelpIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/HelpIcon.js +25 -0
- package/lib/DataDisplay/Icon/HideIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/HideIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/HideIcon.js +25 -0
- package/lib/DataDisplay/Icon/HistoryIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/HistoryIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/HistoryIcon.js +25 -0
- package/lib/DataDisplay/Icon/ImageIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ImageIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ImageIcon.js +25 -0
- package/lib/DataDisplay/Icon/InfoIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/InfoIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/InfoIcon.js +25 -0
- package/lib/DataDisplay/Icon/InviteIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/InviteIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/InviteIcon.js +25 -0
- package/lib/DataDisplay/Icon/ItalicIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ItalicIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ItalicIcon.js +25 -0
- package/lib/DataDisplay/Icon/LeaveIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/LeaveIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/LeaveIcon.js +25 -0
- package/lib/DataDisplay/Icon/LinkIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/LinkIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/LinkIcon.js +25 -0
- package/lib/DataDisplay/Icon/ListIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ListIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ListIcon.js +25 -0
- package/lib/DataDisplay/Icon/LockClosedIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/LockClosedIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/LockClosedIcon.js +25 -0
- package/lib/DataDisplay/Icon/LockIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/LockIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/LockIcon.js +25 -0
- package/lib/DataDisplay/Icon/MLSVerified.d.ts +3 -0
- package/lib/DataDisplay/Icon/MLSVerified.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/MLSVerified.js +25 -0
- package/lib/DataDisplay/Icon/MailIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/MailIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/MailIcon.js +25 -0
- package/lib/DataDisplay/Icon/MarkdownIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/MarkdownIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/MarkdownIcon.js +25 -0
- package/lib/DataDisplay/Icon/MessageIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/MessageIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/MessageIcon.js +25 -0
- package/lib/DataDisplay/Icon/MinusIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/MinusIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/MinusIcon.js +25 -0
- package/lib/DataDisplay/Icon/MoreIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/MoreIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/MoreIcon.js +25 -0
- package/lib/DataDisplay/Icon/MuteIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/MuteIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/MuteIcon.js +25 -0
- package/lib/DataDisplay/Icon/NotificationIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/NotificationIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/NotificationIcon.js +25 -0
- package/lib/DataDisplay/Icon/NotificationOffIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/NotificationOffIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/NotificationOffIcon.js +25 -0
- package/lib/DataDisplay/Icon/NumberedListIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/NumberedListIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/NumberedListIcon.js +25 -0
- package/lib/DataDisplay/Icon/OpenDetachedWindowIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/OpenDetachedWindowIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/OpenDetachedWindowIcon.js +25 -0
- package/lib/DataDisplay/Icon/OptionsIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/OptionsIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/OptionsIcon.js +25 -0
- package/lib/DataDisplay/Icon/OutlineCheck.d.ts +3 -0
- package/lib/DataDisplay/Icon/OutlineCheck.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/OutlineCheck.js +25 -0
- package/lib/DataDisplay/Icon/PauseIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/PauseIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/PauseIcon.js +25 -0
- package/lib/DataDisplay/Icon/PeopleIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/PeopleIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/PeopleIcon.js +25 -0
- package/lib/DataDisplay/Icon/PingIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/PingIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/PingIcon.js +25 -0
- package/lib/DataDisplay/Icon/PlaneIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/PlaneIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/PlaneIcon.js +25 -0
- package/lib/DataDisplay/Icon/PlayIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/PlayIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/PlayIcon.js +25 -0
- package/lib/DataDisplay/Icon/PlusIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/PlusIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/PlusIcon.js +25 -0
- package/lib/DataDisplay/Icon/ProfileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ProfileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ProfileIcon.js +25 -0
- package/lib/DataDisplay/Icon/ProteusVerified.d.ts +3 -0
- package/lib/DataDisplay/Icon/ProteusVerified.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ProteusVerified.js +25 -0
- package/lib/DataDisplay/Icon/RaiseHandIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/RaiseHandIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/RaiseHandIcon.js +25 -0
- package/lib/DataDisplay/Icon/RaiseHandOffIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/RaiseHandOffIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/RaiseHandOffIcon.js +25 -0
- package/lib/DataDisplay/Icon/RecordBoldIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/RecordBoldIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/RecordBoldIcon.js +29 -0
- package/lib/DataDisplay/Icon/RecordIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/RecordIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/RecordIcon.js +25 -0
- package/lib/DataDisplay/Icon/RecordPendingIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/RecordPendingIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/RecordPendingIcon.js +25 -0
- package/lib/DataDisplay/Icon/ReloadIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ReloadIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ReloadIcon.js +25 -0
- package/lib/DataDisplay/Icon/SVGIcon.d.ts +14 -0
- package/lib/DataDisplay/Icon/SVGIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/SVGIcon.js +21 -0
- package/lib/DataDisplay/Icon/SVGIcon.stories.d.ts +13 -0
- package/lib/DataDisplay/Icon/SVGIcon.stories.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/SVGIcon.stories.js +60 -0
- package/lib/DataDisplay/Icon/SaveIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/SaveIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/SaveIcon.js +25 -0
- package/lib/DataDisplay/Icon/ScreenshareIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ScreenshareIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ScreenshareIcon.js +25 -0
- package/lib/DataDisplay/Icon/SearchIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/SearchIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/SearchIcon.js +25 -0
- package/lib/DataDisplay/Icon/ServicesIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ServicesIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ServicesIcon.js +25 -0
- package/lib/DataDisplay/Icon/SettingsIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/SettingsIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/SettingsIcon.js +25 -0
- package/lib/DataDisplay/Icon/ShareLinkIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ShareLinkIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ShareLinkIcon.js +25 -0
- package/lib/DataDisplay/Icon/ShieldIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ShieldIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ShieldIcon.js +25 -0
- package/lib/DataDisplay/Icon/ShowIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ShowIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ShowIcon.js +25 -0
- package/lib/DataDisplay/Icon/SidebarActiveIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/SidebarActiveIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/SidebarActiveIcon.js +25 -0
- package/lib/DataDisplay/Icon/SidebarInactiveIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/SidebarInactiveIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/SidebarInactiveIcon.js +25 -0
- package/lib/DataDisplay/Icon/SignIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/SignIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/SignIcon.js +25 -0
- package/lib/DataDisplay/Icon/SortIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/SortIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/SortIcon.js +25 -0
- package/lib/DataDisplay/Icon/SpeakerIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/SpeakerIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/SpeakerIcon.js +25 -0
- package/lib/DataDisplay/Icon/StarIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/StarIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/StarIcon.js +25 -0
- package/lib/DataDisplay/Icon/StrikethroughIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/StrikethroughIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/StrikethroughIcon.js +25 -0
- package/lib/DataDisplay/Icon/SupportIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/SupportIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/SupportIcon.js +25 -0
- package/lib/DataDisplay/Icon/TeamIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/TeamIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/TeamIcon.js +25 -0
- package/lib/DataDisplay/Icon/TimedIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/TimedIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/TimedIcon.js +25 -0
- package/lib/DataDisplay/Icon/TrashCrossIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/TrashCrossIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/TrashCrossIcon.js +25 -0
- package/lib/DataDisplay/Icon/TrashIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/TrashIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/TrashIcon.js +25 -0
- package/lib/DataDisplay/Icon/TriangleIcon.d.ts +7 -0
- package/lib/DataDisplay/Icon/TriangleIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/TriangleIcon.js +13 -0
- package/lib/DataDisplay/Icon/UnavailableFileIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/UnavailableFileIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/UnavailableFileIcon.js +25 -0
- package/lib/DataDisplay/Icon/UnderlineIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/UnderlineIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/UnderlineIcon.js +25 -0
- package/lib/DataDisplay/Icon/UnlockedIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/UnlockedIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/UnlockedIcon.js +25 -0
- package/lib/DataDisplay/Icon/UploadIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/UploadIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/UploadIcon.js +25 -0
- package/lib/DataDisplay/Icon/VerificationShieldIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/VerificationShieldIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/VerificationShieldIcon.js +25 -0
- package/lib/DataDisplay/Icon/WireIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/WireIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/WireIcon.js +25 -0
- package/lib/DataDisplay/Icon/ZoomInIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ZoomInIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ZoomInIcon.js +25 -0
- package/lib/DataDisplay/Icon/ZoomOutIcon.d.ts +3 -0
- package/lib/DataDisplay/Icon/ZoomOutIcon.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/ZoomOutIcon.js +25 -0
- package/lib/DataDisplay/Icon/index.d.ts +140 -0
- package/lib/DataDisplay/Icon/index.d.ts.map +1 -0
- package/lib/DataDisplay/Icon/index.js +174 -0
- package/lib/DataDisplay/Loading/Loading.d.ts +14 -0
- package/lib/DataDisplay/Loading/Loading.d.ts.map +1 -0
- package/lib/DataDisplay/Loading/Loading.js +31 -0
- package/lib/DataDisplay/Loading/Loading.stories.d.ts +15 -0
- package/lib/DataDisplay/Loading/Loading.stories.d.ts.map +1 -0
- package/lib/DataDisplay/Loading/Loading.stories.js +47 -0
- package/lib/DataDisplay/Loading/index.d.ts +2 -0
- package/lib/DataDisplay/Loading/index.d.ts.map +1 -0
- package/lib/DataDisplay/Loading/index.js +35 -0
- package/lib/DataDisplay/Pill/Pill.d.ts +16 -0
- package/lib/DataDisplay/Pill/Pill.d.ts.map +1 -0
- package/lib/DataDisplay/Pill/Pill.js +56 -0
- package/lib/DataDisplay/Pill/Pill.stories.d.ts +15 -0
- package/lib/DataDisplay/Pill/Pill.stories.d.ts.map +1 -0
- package/lib/DataDisplay/Pill/Pill.stories.js +59 -0
- package/lib/DataDisplay/Pill/index.d.ts +2 -0
- package/lib/DataDisplay/Pill/index.d.ts.map +1 -0
- package/lib/DataDisplay/Pill/index.js +35 -0
- package/lib/DataDisplay/Tooltip/Tooltip.d.ts +7 -0
- package/lib/DataDisplay/Tooltip/Tooltip.d.ts.map +1 -0
- package/lib/DataDisplay/Tooltip/Tooltip.js +140 -0
- package/lib/DataDisplay/Tooltip/Tooltip.stories.d.ts +392 -0
- package/lib/DataDisplay/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/lib/DataDisplay/Tooltip/Tooltip.stories.js +49 -0
- package/lib/DataDisplay/Tooltip/index.d.ts +2 -0
- package/lib/DataDisplay/Tooltip/index.d.ts.map +1 -0
- package/lib/DataDisplay/Tooltip/index.js +35 -0
- package/lib/DataDisplay/index.d.ts +9 -0
- package/lib/DataDisplay/index.d.ts.map +1 -0
- package/lib/DataDisplay/index.js +42 -0
- package/lib/Identity/Animation/Animation.d.ts +31 -0
- package/lib/Identity/Animation/Animation.d.ts.map +1 -0
- package/lib/Identity/Animation/Animation.js +98 -0
- package/lib/Identity/Animation/Animation.stories.d.ts +6 -0
- package/lib/Identity/Animation/Animation.stories.d.ts.map +1 -0
- package/lib/Identity/Animation/Animation.stories.js +73 -0
- package/lib/Identity/Animation/index.d.ts +2 -0
- package/lib/Identity/Animation/index.d.ts.map +1 -0
- package/lib/Identity/Animation/index.js +35 -0
- package/lib/Identity/GlobalCssVariables/GlobalCssVariables.d.ts +8 -0
- package/lib/Identity/GlobalCssVariables/GlobalCssVariables.d.ts.map +1 -0
- package/lib/Identity/GlobalCssVariables/GlobalCssVariables.js +241 -0
- package/lib/Identity/GlobalCssVariables/index.d.ts +2 -0
- package/lib/Identity/GlobalCssVariables/index.d.ts.map +1 -0
- package/lib/Identity/GlobalCssVariables/index.js +35 -0
- package/lib/Identity/GlobalStyle/GlobalStyle.d.ts +7 -0
- package/lib/Identity/GlobalStyle/GlobalStyle.d.ts.map +1 -0
- package/lib/Identity/GlobalStyle/GlobalStyle.js +76 -0
- package/lib/Identity/GlobalStyle/index.d.ts +2 -0
- package/lib/Identity/GlobalStyle/index.d.ts.map +1 -0
- package/lib/Identity/GlobalStyle/index.js +35 -0
- package/lib/Identity/Logo/Logo.d.ts +6 -0
- package/lib/Identity/Logo/Logo.d.ts.map +1 -0
- package/lib/Identity/Logo/Logo.js +18 -0
- package/lib/Identity/Logo/Logo.stories.d.ts +12 -0
- package/lib/Identity/Logo/Logo.stories.d.ts.map +1 -0
- package/lib/Identity/Logo/Logo.stories.js +62 -0
- package/lib/Identity/Logo/index.d.ts +2 -0
- package/lib/Identity/Logo/index.d.ts.map +1 -0
- package/lib/Identity/Logo/index.js +35 -0
- package/lib/Identity/Sizes/Sizes.d.ts +9 -0
- package/lib/Identity/Sizes/Sizes.d.ts.map +1 -0
- package/lib/Identity/Sizes/Sizes.js +29 -0
- package/lib/Identity/Sizes/index.d.ts +2 -0
- package/lib/Identity/Sizes/index.d.ts.map +1 -0
- package/lib/Identity/Sizes/index.js +35 -0
- package/lib/Identity/Theme/Theme.d.ts +99 -0
- package/lib/Identity/Theme/Theme.d.ts.map +1 -0
- package/lib/Identity/Theme/Theme.js +246 -0
- package/lib/Identity/Theme/index.d.ts +2 -0
- package/lib/Identity/Theme/index.d.ts.map +1 -0
- package/lib/Identity/Theme/index.js +35 -0
- package/lib/Identity/colors/colors.d.ts +4 -0
- package/lib/Identity/colors/colors.d.ts.map +1 -0
- package/lib/Identity/colors/colors.js +89 -0
- package/lib/Identity/colors/colors.stories.d.ts +10 -0
- package/lib/Identity/colors/colors.stories.d.ts.map +1 -0
- package/lib/Identity/colors/colors.stories.js +75 -0
- package/lib/Identity/colors/index.d.ts +2 -0
- package/lib/Identity/colors/index.d.ts.map +1 -0
- package/lib/Identity/colors/index.js +35 -0
- package/lib/Identity/colors-v2/colors-v2.d.ts +158 -0
- package/lib/Identity/colors-v2/colors-v2.d.ts.map +1 -0
- package/lib/Identity/colors-v2/colors-v2.js +219 -0
- package/lib/Identity/colors-v2/colors-v2.stories.d.ts +12 -0
- package/lib/Identity/colors-v2/colors-v2.stories.d.ts.map +1 -0
- package/lib/Identity/colors-v2/colors-v2.stories.js +78 -0
- package/lib/Identity/colors-v2/index.d.ts +2 -0
- package/lib/Identity/colors-v2/index.d.ts.map +1 -0
- package/lib/Identity/colors-v2/index.js +35 -0
- package/lib/Identity/index.d.ts +10 -0
- package/lib/Identity/index.d.ts.map +1 -0
- package/lib/Identity/index.js +43 -0
- package/lib/Identity/motions/index.d.ts +2 -0
- package/lib/Identity/motions/index.d.ts.map +1 -0
- package/lib/Identity/motions/index.js +35 -0
- package/lib/Identity/motions/motions.d.ts +52 -0
- package/lib/Identity/motions/motions.d.ts.map +1 -0
- package/lib/Identity/motions/motions.js +84 -0
- package/lib/Images/SuccessShield.d.ts +2 -0
- package/lib/Images/SuccessShield.d.ts.map +1 -0
- package/lib/Images/SuccessShield.js +24 -0
- package/lib/Images/WavesPattern.d.ts +2 -0
- package/lib/Images/WavesPattern.d.ts.map +1 -0
- package/lib/Images/WavesPattern.js +30 -0
- package/lib/Inputs/Button/Button.d.ts +21 -0
- package/lib/Inputs/Button/Button.d.ts.map +1 -0
- package/lib/Inputs/Button/Button.js +43 -0
- package/lib/Inputs/Button/Button.stories.d.ts +26 -0
- package/lib/Inputs/Button/Button.stories.d.ts.map +1 -0
- package/lib/Inputs/Button/Button.stories.js +63 -0
- package/lib/Inputs/Button/Button.styles.d.ts +5 -0
- package/lib/Inputs/Button/Button.styles.d.ts.map +1 -0
- package/lib/Inputs/Button/Button.styles.js +233 -0
- package/lib/Inputs/Button/index.d.ts +2 -0
- package/lib/Inputs/Button/index.d.ts.map +1 -0
- package/lib/Inputs/Button/index.js +35 -0
- package/lib/Inputs/ButtonGroup/ButtonGroup.d.ts +14 -0
- package/lib/Inputs/ButtonGroup/ButtonGroup.d.ts.map +1 -0
- package/lib/Inputs/ButtonGroup/ButtonGroup.js +62 -0
- package/lib/Inputs/ButtonGroup/ButtonGroup.stories.d.ts +10 -0
- package/lib/Inputs/ButtonGroup/ButtonGroup.stories.d.ts.map +1 -0
- package/lib/Inputs/ButtonGroup/ButtonGroup.stories.js +28 -0
- package/lib/Inputs/ButtonGroup/index.d.ts +2 -0
- package/lib/Inputs/ButtonGroup/index.d.ts.map +1 -0
- package/lib/Inputs/ButtonGroup/index.js +35 -0
- package/lib/Inputs/ButtonLink/ButtonLink.d.ts +6 -0
- package/lib/Inputs/ButtonLink/ButtonLink.d.ts.map +1 -0
- package/lib/Inputs/ButtonLink/ButtonLink.js +23 -0
- package/lib/Inputs/ButtonLink/ButtonLink.stories.d.ts +15 -0
- package/lib/Inputs/ButtonLink/ButtonLink.stories.d.ts.map +1 -0
- package/lib/Inputs/ButtonLink/ButtonLink.stories.js +52 -0
- package/lib/Inputs/ButtonLink/index.d.ts +2 -0
- package/lib/Inputs/ButtonLink/index.d.ts.map +1 -0
- package/lib/Inputs/ButtonLink/index.js +35 -0
- package/lib/Inputs/ButtonsGroup/ButtonsGroup.d.ts +13 -0
- package/lib/Inputs/ButtonsGroup/ButtonsGroup.d.ts.map +1 -0
- package/lib/Inputs/ButtonsGroup/ButtonsGroup.js +19 -0
- package/lib/Inputs/ButtonsGroup/ButtonsGroup.stories.d.ts +10 -0
- package/lib/Inputs/ButtonsGroup/ButtonsGroup.stories.d.ts.map +1 -0
- package/lib/Inputs/ButtonsGroup/ButtonsGroup.stories.js +27 -0
- package/lib/Inputs/ButtonsGroup/ButtonsGroup.styles.d.ts +3 -0
- package/lib/Inputs/ButtonsGroup/ButtonsGroup.styles.d.ts.map +1 -0
- package/lib/Inputs/ButtonsGroup/ButtonsGroup.styles.js +25 -0
- package/lib/Inputs/ButtonsGroup/index.d.ts +2 -0
- package/lib/Inputs/ButtonsGroup/index.d.ts.map +1 -0
- package/lib/Inputs/ButtonsGroup/index.js +35 -0
- package/lib/Inputs/Checkbox/Checkbox.d.ts +19 -0
- package/lib/Inputs/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/Inputs/Checkbox/Checkbox.js +140 -0
- package/lib/Inputs/Checkbox/Checkbox.stories.d.ts +16 -0
- package/lib/Inputs/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/lib/Inputs/Checkbox/Checkbox.stories.js +35 -0
- package/lib/Inputs/Checkbox/index.d.ts +2 -0
- package/lib/Inputs/Checkbox/index.d.ts.map +1 -0
- package/lib/Inputs/Checkbox/index.js +35 -0
- package/lib/Inputs/CodeInput/CodeInput.d.ts +12 -0
- package/lib/Inputs/CodeInput/CodeInput.d.ts.map +1 -0
- package/lib/Inputs/CodeInput/CodeInput.js +156 -0
- package/lib/Inputs/CodeInput/CodeInput.stories.d.ts +15 -0
- package/lib/Inputs/CodeInput/CodeInput.stories.d.ts.map +1 -0
- package/lib/Inputs/CodeInput/CodeInput.stories.js +51 -0
- package/lib/Inputs/CodeInput/index.d.ts +2 -0
- package/lib/Inputs/CodeInput/index.d.ts.map +1 -0
- package/lib/Inputs/CodeInput/index.js +35 -0
- package/lib/Inputs/ComboboxSelect/ComboboxSelect.d.ts +30 -0
- package/lib/Inputs/ComboboxSelect/ComboboxSelect.d.ts.map +1 -0
- package/lib/Inputs/ComboboxSelect/ComboboxSelect.js +79 -0
- package/lib/Inputs/ComboboxSelect/ComboboxSelect.stories.d.ts +41 -0
- package/lib/Inputs/ComboboxSelect/ComboboxSelect.stories.d.ts.map +1 -0
- package/lib/Inputs/ComboboxSelect/ComboboxSelect.stories.js +123 -0
- package/lib/Inputs/ComboboxSelect/ComboboxSelect.styles.d.ts +24 -0
- package/lib/Inputs/ComboboxSelect/ComboboxSelect.styles.d.ts.map +1 -0
- package/lib/Inputs/ComboboxSelect/ComboboxSelect.styles.js +124 -0
- package/lib/Inputs/ComboboxSelect/index.d.ts +2 -0
- package/lib/Inputs/ComboboxSelect/index.d.ts.map +1 -0
- package/lib/Inputs/ComboboxSelect/index.js +35 -0
- package/lib/Inputs/DropFileInput/DropFileInput.d.ts +19 -0
- package/lib/Inputs/DropFileInput/DropFileInput.d.ts.map +1 -0
- package/lib/Inputs/DropFileInput/DropFileInput.js +120 -0
- package/lib/Inputs/DropFileInput/DropFileInput.stories.d.ts +13 -0
- package/lib/Inputs/DropFileInput/DropFileInput.stories.d.ts.map +1 -0
- package/lib/Inputs/DropFileInput/DropFileInput.stories.js +43 -0
- package/lib/Inputs/DropFileInput/index.d.ts +2 -0
- package/lib/Inputs/DropFileInput/index.d.ts.map +1 -0
- package/lib/Inputs/DropFileInput/index.js +35 -0
- package/lib/Inputs/ErrorMessage/ErrorMessage.d.ts +9 -0
- package/lib/Inputs/ErrorMessage/ErrorMessage.d.ts.map +1 -0
- package/lib/Inputs/ErrorMessage/ErrorMessage.js +22 -0
- package/lib/Inputs/ErrorMessage/ErrorMessage.stories.d.ts +14 -0
- package/lib/Inputs/ErrorMessage/ErrorMessage.stories.d.ts.map +1 -0
- package/lib/Inputs/ErrorMessage/ErrorMessage.stories.js +23 -0
- package/lib/Inputs/ErrorMessage/index.d.ts +2 -0
- package/lib/Inputs/ErrorMessage/index.d.ts.map +1 -0
- package/lib/Inputs/ErrorMessage/index.js +35 -0
- package/lib/Inputs/Form/Form.d.ts +3 -0
- package/lib/Inputs/Form/Form.d.ts.map +1 -0
- package/lib/Inputs/Form/Form.js +12 -0
- package/lib/Inputs/Form/Form.stories.d.ts +13 -0
- package/lib/Inputs/Form/Form.stories.d.ts.map +1 -0
- package/lib/Inputs/Form/Form.stories.js +23 -0
- package/lib/Inputs/Form/index.d.ts +2 -0
- package/lib/Inputs/Form/index.d.ts.map +1 -0
- package/lib/Inputs/Form/index.js +35 -0
- package/lib/Inputs/IconButton/IconButton.d.ts +15 -0
- package/lib/Inputs/IconButton/IconButton.d.ts.map +1 -0
- package/lib/Inputs/IconButton/IconButton.js +117 -0
- package/lib/Inputs/IconButton/IconButton.stories.d.ts +14 -0
- package/lib/Inputs/IconButton/IconButton.stories.d.ts.map +1 -0
- package/lib/Inputs/IconButton/IconButton.stories.js +59 -0
- package/lib/Inputs/IconButton/index.d.ts +2 -0
- package/lib/Inputs/IconButton/index.d.ts.map +1 -0
- package/lib/Inputs/IconButton/index.js +35 -0
- package/lib/Inputs/IndicatorRangeInput/IndicatorRangeInput.d.ts +16 -0
- package/lib/Inputs/IndicatorRangeInput/IndicatorRangeInput.d.ts.map +1 -0
- package/lib/Inputs/IndicatorRangeInput/IndicatorRangeInput.js +50 -0
- package/lib/Inputs/IndicatorRangeInput/IndicatorRangeInput.stories.d.ts +13 -0
- package/lib/Inputs/IndicatorRangeInput/IndicatorRangeInput.stories.d.ts.map +1 -0
- package/lib/Inputs/IndicatorRangeInput/IndicatorRangeInput.stories.js +51 -0
- package/lib/Inputs/IndicatorRangeInput/IndicatorRangeInput.styles.d.ts +7 -0
- package/lib/Inputs/IndicatorRangeInput/IndicatorRangeInput.styles.d.ts.map +1 -0
- package/lib/Inputs/IndicatorRangeInput/IndicatorRangeInput.styles.js +129 -0
- package/lib/Inputs/IndicatorRangeInput/index.d.ts +2 -0
- package/lib/Inputs/IndicatorRangeInput/index.d.ts.map +1 -0
- package/lib/Inputs/IndicatorRangeInput/index.js +35 -0
- package/lib/Inputs/Input/Input.d.ts +24 -0
- package/lib/Inputs/Input/Input.d.ts.map +1 -0
- package/lib/Inputs/Input/Input.js +148 -0
- package/lib/Inputs/Input/Input.stories.d.ts +18 -0
- package/lib/Inputs/Input/Input.stories.d.ts.map +1 -0
- package/lib/Inputs/Input/Input.stories.js +56 -0
- package/lib/Inputs/Input/index.d.ts +2 -0
- package/lib/Inputs/Input/index.d.ts.map +1 -0
- package/lib/Inputs/Input/index.js +35 -0
- package/lib/Inputs/InputBlock/InputBlock.d.ts +4 -0
- package/lib/Inputs/InputBlock/InputBlock.d.ts.map +1 -0
- package/lib/Inputs/InputBlock/InputBlock.js +22 -0
- package/lib/Inputs/InputBlock/InputBlock.stories.d.ts +15 -0
- package/lib/Inputs/InputBlock/InputBlock.stories.d.ts.map +1 -0
- package/lib/Inputs/InputBlock/InputBlock.stories.js +27 -0
- package/lib/Inputs/InputBlock/index.d.ts +2 -0
- package/lib/Inputs/InputBlock/index.d.ts.map +1 -0
- package/lib/Inputs/InputBlock/index.js +35 -0
- package/lib/Inputs/InputLabel/InputLabel.d.ts +12 -0
- package/lib/Inputs/InputLabel/InputLabel.d.ts.map +1 -0
- package/lib/Inputs/InputLabel/InputLabel.js +15 -0
- package/lib/Inputs/InputLabel/InputLabel.stories.d.ts +15 -0
- package/lib/Inputs/InputLabel/InputLabel.stories.d.ts.map +1 -0
- package/lib/Inputs/InputLabel/InputLabel.stories.js +35 -0
- package/lib/Inputs/InputLabel/index.d.ts +2 -0
- package/lib/Inputs/InputLabel/index.d.ts.map +1 -0
- package/lib/Inputs/InputLabel/index.js +35 -0
- package/lib/Inputs/InputSubmitCombo/InputSubmitCombo.d.ts +5 -0
- package/lib/Inputs/InputSubmitCombo/InputSubmitCombo.d.ts.map +1 -0
- package/lib/Inputs/InputSubmitCombo/InputSubmitCombo.js +49 -0
- package/lib/Inputs/InputSubmitCombo/InputSubmitCombo.stories.d.ts +15 -0
- package/lib/Inputs/InputSubmitCombo/InputSubmitCombo.stories.d.ts.map +1 -0
- package/lib/Inputs/InputSubmitCombo/InputSubmitCombo.stories.js +26 -0
- package/lib/Inputs/InputSubmitCombo/index.d.ts +2 -0
- package/lib/Inputs/InputSubmitCombo/index.d.ts.map +1 -0
- package/lib/Inputs/InputSubmitCombo/index.js +35 -0
- package/lib/Inputs/RangeInput/RangeInput.d.ts +10 -0
- package/lib/Inputs/RangeInput/RangeInput.d.ts.map +1 -0
- package/lib/Inputs/RangeInput/RangeInput.js +33 -0
- package/lib/Inputs/RangeInput/RangeInput.stories.d.ts +16 -0
- package/lib/Inputs/RangeInput/RangeInput.stories.d.ts.map +1 -0
- package/lib/Inputs/RangeInput/RangeInput.stories.js +62 -0
- package/lib/Inputs/RangeInput/RangeInput.styles.d.ts +10 -0
- package/lib/Inputs/RangeInput/RangeInput.styles.d.ts.map +1 -0
- package/lib/Inputs/RangeInput/RangeInput.styles.js +71 -0
- package/lib/Inputs/RangeInput/index.d.ts +2 -0
- package/lib/Inputs/RangeInput/index.d.ts.map +1 -0
- package/lib/Inputs/RangeInput/index.js +35 -0
- package/lib/Inputs/RoundIconButton/RoundIconButton.d.ts +9 -0
- package/lib/Inputs/RoundIconButton/RoundIconButton.d.ts.map +1 -0
- package/lib/Inputs/RoundIconButton/RoundIconButton.js +28 -0
- package/lib/Inputs/RoundIconButton/RoundIconButton.stories.d.ts +15 -0
- package/lib/Inputs/RoundIconButton/RoundIconButton.stories.d.ts.map +1 -0
- package/lib/Inputs/RoundIconButton/RoundIconButton.stories.js +30 -0
- package/lib/Inputs/RoundIconButton/index.d.ts +2 -0
- package/lib/Inputs/RoundIconButton/index.d.ts.map +1 -0
- package/lib/Inputs/RoundIconButton/index.js +35 -0
- package/lib/Inputs/Select/BaseSelect/BaseSelect.styles.d.ts +46 -0
- package/lib/Inputs/Select/BaseSelect/BaseSelect.styles.d.ts.map +1 -0
- package/lib/Inputs/Select/BaseSelect/BaseSelect.styles.js +160 -0
- package/lib/Inputs/Select/BaseSelect/BaseSelectDropdownIndicator.d.ts +3 -0
- package/lib/Inputs/Select/BaseSelect/BaseSelectDropdownIndicator.d.ts.map +1 -0
- package/lib/Inputs/Select/BaseSelect/BaseSelectDropdownIndicator.js +29 -0
- package/lib/Inputs/Select/Select.d.ts +35 -0
- package/lib/Inputs/Select/Select.d.ts.map +1 -0
- package/lib/Inputs/Select/Select.js +57 -0
- package/lib/Inputs/Select/Select.stories.d.ts +114 -0
- package/lib/Inputs/Select/Select.stories.d.ts.map +1 -0
- package/lib/Inputs/Select/Select.stories.js +57 -0
- package/lib/Inputs/Select/Select.styles.d.ts +17 -0
- package/lib/Inputs/Select/Select.styles.d.ts.map +1 -0
- package/lib/Inputs/Select/Select.styles.js +106 -0
- package/lib/Inputs/Select/SelectContainer/SelectContainer.d.ts +3 -0
- package/lib/Inputs/Select/SelectContainer/SelectContainer.d.ts.map +1 -0
- package/lib/Inputs/Select/SelectContainer/SelectContainer.js +28 -0
- package/lib/Inputs/Select/SelectIndicatorsContainer/SelectIndicatorsContainer.d.ts +4 -0
- package/lib/Inputs/Select/SelectIndicatorsContainer/SelectIndicatorsContainer.d.ts.map +1 -0
- package/lib/Inputs/Select/SelectIndicatorsContainer/SelectIndicatorsContainer.js +29 -0
- package/lib/Inputs/Select/SelectMenu/SelectMenu.d.ts +4 -0
- package/lib/Inputs/Select/SelectMenu/SelectMenu.d.ts.map +1 -0
- package/lib/Inputs/Select/SelectMenu/SelectMenu.js +13 -0
- package/lib/Inputs/Select/SelectMenuList/SelectMenuList.d.ts +6 -0
- package/lib/Inputs/Select/SelectMenuList/SelectMenuList.d.ts.map +1 -0
- package/lib/Inputs/Select/SelectMenuList/SelectMenuList.js +39 -0
- package/lib/Inputs/Select/SelectMenuList/SelectMenuList.styles.d.ts +5 -0
- package/lib/Inputs/Select/SelectMenuList/SelectMenuList.styles.d.ts.map +1 -0
- package/lib/Inputs/Select/SelectMenuList/SelectMenuList.styles.js +38 -0
- package/lib/Inputs/Select/SelectOption/SelectOption.d.ts +5 -0
- package/lib/Inputs/Select/SelectOption/SelectOption.d.ts.map +1 -0
- package/lib/Inputs/Select/SelectOption/SelectOption.js +53 -0
- package/lib/Inputs/Select/SelectValueContainer/SelectValueContainer.d.ts +4 -0
- package/lib/Inputs/Select/SelectValueContainer/SelectValueContainer.d.ts.map +1 -0
- package/lib/Inputs/Select/SelectValueContainer/SelectValueContainer.js +21 -0
- package/lib/Inputs/Select/index.d.ts +2 -0
- package/lib/Inputs/Select/index.d.ts.map +1 -0
- package/lib/Inputs/Select/index.js +35 -0
- package/lib/Inputs/ShakeBox/ShakeBox.d.ts +13 -0
- package/lib/Inputs/ShakeBox/ShakeBox.d.ts.map +1 -0
- package/lib/Inputs/ShakeBox/ShakeBox.js +79 -0
- package/lib/Inputs/ShakeBox/ShakeBox.stories.d.ts +15 -0
- package/lib/Inputs/ShakeBox/ShakeBox.stories.d.ts.map +1 -0
- package/lib/Inputs/ShakeBox/ShakeBox.stories.js +54 -0
- package/lib/Inputs/ShakeBox/index.d.ts +2 -0
- package/lib/Inputs/ShakeBox/index.d.ts.map +1 -0
- package/lib/Inputs/ShakeBox/index.js +35 -0
- package/lib/Inputs/Switch/Switch.d.ts +16 -0
- package/lib/Inputs/Switch/Switch.d.ts.map +1 -0
- package/lib/Inputs/Switch/Switch.js +38 -0
- package/lib/Inputs/Switch/Switch.stories.d.ts +17 -0
- package/lib/Inputs/Switch/Switch.stories.d.ts.map +1 -0
- package/lib/Inputs/Switch/Switch.stories.js +66 -0
- package/lib/Inputs/Switch/Switch.styles.d.ts +16 -0
- package/lib/Inputs/Switch/Switch.styles.d.ts.map +1 -0
- package/lib/Inputs/Switch/Switch.styles.js +97 -0
- package/lib/Inputs/Switch/index.d.ts +2 -0
- package/lib/Inputs/Switch/index.d.ts.map +1 -0
- package/lib/Inputs/Switch/index.js +35 -0
- package/lib/Inputs/TextArea/TextArea.d.ts +13 -0
- package/lib/Inputs/TextArea/TextArea.d.ts.map +1 -0
- package/lib/Inputs/TextArea/TextArea.js +93 -0
- package/lib/Inputs/TextArea/TextArea.stories.d.ts +16 -0
- package/lib/Inputs/TextArea/TextArea.stories.d.ts.map +1 -0
- package/lib/Inputs/TextArea/TextArea.stories.js +35 -0
- package/lib/Inputs/TextArea/index.d.ts +2 -0
- package/lib/Inputs/TextArea/index.d.ts.map +1 -0
- package/lib/Inputs/TextArea/index.js +35 -0
- package/lib/Inputs/index.d.ts +23 -0
- package/lib/Inputs/index.d.ts.map +1 -0
- package/lib/Inputs/index.js +56 -0
- package/lib/Layout/Box/Box.d.ts +6 -0
- package/lib/Layout/Box/Box.d.ts.map +1 -0
- package/lib/Layout/Box/Box.js +13 -0
- package/lib/Layout/Box/Box.stories.d.ts +12 -0
- package/lib/Layout/Box/Box.stories.d.ts.map +1 -0
- package/lib/Layout/Box/Box.stories.js +58 -0
- package/lib/Layout/Box/index.d.ts +2 -0
- package/lib/Layout/Box/index.d.ts.map +1 -0
- package/lib/Layout/Box/index.js +35 -0
- package/lib/Layout/Column/Column.d.ts +10 -0
- package/lib/Layout/Column/Column.d.ts.map +1 -0
- package/lib/Layout/Column/Column.js +27 -0
- package/lib/Layout/Column/Column.stories.d.ts +10 -0
- package/lib/Layout/Column/Column.stories.d.ts.map +1 -0
- package/lib/Layout/Column/Column.stories.js +40 -0
- package/lib/Layout/Column/index.d.ts +2 -0
- package/lib/Layout/Column/index.d.ts.map +1 -0
- package/lib/Layout/Column/index.js +35 -0
- package/lib/Layout/Container/Container.d.ts +21 -0
- package/lib/Layout/Container/Container.d.ts.map +1 -0
- package/lib/Layout/Container/Container.js +57 -0
- package/lib/Layout/Container/Container.stories.d.ts +10 -0
- package/lib/Layout/Container/Container.stories.d.ts.map +1 -0
- package/lib/Layout/Container/Container.stories.js +38 -0
- package/lib/Layout/Container/index.d.ts +2 -0
- package/lib/Layout/Container/index.d.ts.map +1 -0
- package/lib/Layout/Container/index.js +35 -0
- package/lib/Layout/Content/Content.d.ts +6 -0
- package/lib/Layout/Content/Content.d.ts.map +1 -0
- package/lib/Layout/Content/Content.js +14 -0
- package/lib/Layout/Content/index.d.ts +2 -0
- package/lib/Layout/Content/index.d.ts.map +1 -0
- package/lib/Layout/Content/index.js +35 -0
- package/lib/Layout/FlexBox/FlexBox.d.ts +13 -0
- package/lib/Layout/FlexBox/FlexBox.d.ts.map +1 -0
- package/lib/Layout/FlexBox/FlexBox.js +59 -0
- package/lib/Layout/FlexBox/index.d.ts +2 -0
- package/lib/Layout/FlexBox/index.d.ts.map +1 -0
- package/lib/Layout/FlexBox/index.js +35 -0
- package/lib/Layout/Footer/Footer.d.ts +5 -0
- package/lib/Layout/Footer/Footer.d.ts.map +1 -0
- package/lib/Layout/Footer/Footer.js +6 -0
- package/lib/Layout/Footer/index.d.ts +2 -0
- package/lib/Layout/Footer/index.d.ts.map +1 -0
- package/lib/Layout/Footer/index.js +35 -0
- package/lib/Layout/Header/Header.d.ts +6 -0
- package/lib/Layout/Header/Header.d.ts.map +1 -0
- package/lib/Layout/Header/Header.js +13 -0
- package/lib/Layout/Header/index.d.ts +2 -0
- package/lib/Layout/Header/index.d.ts.map +1 -0
- package/lib/Layout/Header/index.js +35 -0
- package/lib/Layout/HeaderMenu/HeaderMenu.d.ts +9 -0
- package/lib/Layout/HeaderMenu/HeaderMenu.d.ts.map +1 -0
- package/lib/Layout/HeaderMenu/HeaderMenu.js +45 -0
- package/lib/Layout/HeaderMenu/HeaderMenu.stories.d.ts +10 -0
- package/lib/Layout/HeaderMenu/HeaderMenu.stories.d.ts.map +1 -0
- package/lib/Layout/HeaderMenu/HeaderMenu.stories.js +49 -0
- package/lib/Layout/HeaderMenu/HeaderSubMenu.d.ts +14 -0
- package/lib/Layout/HeaderMenu/HeaderSubMenu.d.ts.map +1 -0
- package/lib/Layout/HeaderMenu/HeaderSubMenu.js +58 -0
- package/lib/Layout/HeaderMenu/MenuContent.d.ts +8 -0
- package/lib/Layout/HeaderMenu/MenuContent.d.ts.map +1 -0
- package/lib/Layout/HeaderMenu/MenuContent.js +23 -0
- package/lib/Layout/HeaderMenu/MenuItems.d.ts +9 -0
- package/lib/Layout/HeaderMenu/MenuItems.d.ts.map +1 -0
- package/lib/Layout/HeaderMenu/MenuItems.js +26 -0
- package/lib/Layout/HeaderMenu/MenuLink.d.ts +11 -0
- package/lib/Layout/HeaderMenu/MenuLink.d.ts.map +1 -0
- package/lib/Layout/HeaderMenu/MenuLink.js +44 -0
- package/lib/Layout/HeaderMenu/MenuOpenButton.d.ts +11 -0
- package/lib/Layout/HeaderMenu/MenuOpenButton.d.ts.map +1 -0
- package/lib/Layout/HeaderMenu/MenuOpenButton.js +47 -0
- package/lib/Layout/HeaderMenu/MenuScrollableItems.d.ts +8 -0
- package/lib/Layout/HeaderMenu/MenuScrollableItems.d.ts.map +1 -0
- package/lib/Layout/HeaderMenu/MenuScrollableItems.js +18 -0
- package/lib/Layout/HeaderMenu/MenuSubLink.d.ts +8 -0
- package/lib/Layout/HeaderMenu/MenuSubLink.d.ts.map +1 -0
- package/lib/Layout/HeaderMenu/MenuSubLink.js +40 -0
- package/lib/Layout/HeaderMenu/index.d.ts +9 -0
- package/lib/Layout/HeaderMenu/index.d.ts.map +1 -0
- package/lib/Layout/HeaderMenu/index.js +42 -0
- package/lib/Layout/MatchMedia/MatchMedia.d.ts +21 -0
- package/lib/Layout/MatchMedia/MatchMedia.d.ts.map +1 -0
- package/lib/Layout/MatchMedia/MatchMedia.js +62 -0
- package/lib/Layout/MatchMedia/index.d.ts +2 -0
- package/lib/Layout/MatchMedia/index.d.ts.map +1 -0
- package/lib/Layout/MatchMedia/index.js +35 -0
- package/lib/Layout/Spacer/Spacer.d.ts +7 -0
- package/lib/Layout/Spacer/Spacer.d.ts.map +1 -0
- package/lib/Layout/Spacer/Spacer.js +7 -0
- package/lib/Layout/Spacer/index.d.ts +2 -0
- package/lib/Layout/Spacer/index.d.ts.map +1 -0
- package/lib/Layout/Spacer/index.js +35 -0
- package/lib/Layout/StyledApp/StyledApp.d.ts +16 -0
- package/lib/Layout/StyledApp/StyledApp.d.ts.map +1 -0
- package/lib/Layout/StyledApp/StyledApp.js +14 -0
- package/lib/Layout/StyledApp/index.d.ts +2 -0
- package/lib/Layout/StyledApp/index.d.ts.map +1 -0
- package/lib/Layout/StyledApp/index.js +35 -0
- package/lib/Layout/index.d.ts +13 -0
- package/lib/Layout/index.d.ts.map +1 -0
- package/lib/Layout/index.js +46 -0
- package/lib/Layout/sizes/index.d.ts +2 -0
- package/lib/Layout/sizes/index.d.ts.map +1 -0
- package/lib/Layout/sizes/index.js +35 -0
- package/lib/Layout/sizes/sizes.d.ts +15 -0
- package/lib/Layout/sizes/sizes.d.ts.map +1 -0
- package/lib/Layout/sizes/sizes.js +35 -0
- package/lib/Navigation/Breadcrumbs/BreadcrumbItem/BreadcrumbItem.d.ts +11 -0
- package/lib/Navigation/Breadcrumbs/BreadcrumbItem/BreadcrumbItem.d.ts.map +1 -0
- package/lib/Navigation/Breadcrumbs/BreadcrumbItem/BreadcrumbItem.js +9 -0
- package/lib/Navigation/Breadcrumbs/BreadcrumbItem/BreadcrumbItem.styles.d.ts +9 -0
- package/lib/Navigation/Breadcrumbs/BreadcrumbItem/BreadcrumbItem.styles.d.ts.map +1 -0
- package/lib/Navigation/Breadcrumbs/BreadcrumbItem/BreadcrumbItem.styles.js +53 -0
- package/lib/Navigation/Breadcrumbs/BreadcrumbLeaf/BreadcrumbLeaf.d.ts +2 -0
- package/lib/Navigation/Breadcrumbs/BreadcrumbLeaf/BreadcrumbLeaf.d.ts.map +1 -0
- package/lib/Navigation/Breadcrumbs/BreadcrumbLeaf/BreadcrumbLeaf.js +28 -0
- package/lib/Navigation/Breadcrumbs/BreadcrumbLeaf/BreadcrumbLeaf.styles.d.ts +3 -0
- package/lib/Navigation/Breadcrumbs/BreadcrumbLeaf/BreadcrumbLeaf.styles.d.ts.map +1 -0
- package/lib/Navigation/Breadcrumbs/BreadcrumbLeaf/BreadcrumbLeaf.styles.js +24 -0
- package/lib/Navigation/Breadcrumbs/Breadcrumbs.d.ts +28 -0
- package/lib/Navigation/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/lib/Navigation/Breadcrumbs/Breadcrumbs.js +31 -0
- package/lib/Navigation/Breadcrumbs/Breadcrumbs.stories.d.ts +11 -0
- package/lib/Navigation/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
- package/lib/Navigation/Breadcrumbs/Breadcrumbs.stories.js +35 -0
- package/lib/Navigation/Breadcrumbs/Breadcrumbs.styles.d.ts +3 -0
- package/lib/Navigation/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -0
- package/lib/Navigation/Breadcrumbs/Breadcrumbs.styles.js +30 -0
- package/lib/Navigation/Breadcrumbs/CombainedBreadcrumbs/CombainedBreadcrumbs.d.ts +13 -0
- package/lib/Navigation/Breadcrumbs/CombainedBreadcrumbs/CombainedBreadcrumbs.d.ts.map +1 -0
- package/lib/Navigation/Breadcrumbs/CombainedBreadcrumbs/CombainedBreadcrumbs.js +10 -0
- package/lib/Navigation/Breadcrumbs/CombainedBreadcrumbs/CombainedBreadcrumbs.styles.d.ts +4 -0
- package/lib/Navigation/Breadcrumbs/CombainedBreadcrumbs/CombainedBreadcrumbs.styles.d.ts.map +1 -0
- package/lib/Navigation/Breadcrumbs/CombainedBreadcrumbs/CombainedBreadcrumbs.styles.js +38 -0
- package/lib/Navigation/Breadcrumbs/index.d.ts +2 -0
- package/lib/Navigation/Breadcrumbs/index.d.ts.map +1 -0
- package/lib/Navigation/Breadcrumbs/index.js +35 -0
- package/lib/Navigation/Pagination/Pagination.d.ts +11 -0
- package/lib/Navigation/Pagination/Pagination.d.ts.map +1 -0
- package/lib/Navigation/Pagination/Pagination.js +33 -0
- package/lib/Navigation/Pagination/Pagination.stories.d.ts +14 -0
- package/lib/Navigation/Pagination/Pagination.stories.d.ts.map +1 -0
- package/lib/Navigation/Pagination/Pagination.stories.js +97 -0
- package/lib/Navigation/Pagination/index.d.ts +2 -0
- package/lib/Navigation/Pagination/index.d.ts.map +1 -0
- package/lib/Navigation/Pagination/index.js +35 -0
- package/lib/Navigation/index.d.ts +3 -0
- package/lib/Navigation/index.d.ts.map +1 -0
- package/lib/Navigation/index.js +36 -0
- package/lib/Surface/Accordion/Accordion.d.ts +54 -0
- package/lib/Surface/Accordion/Accordion.d.ts.map +1 -0
- package/lib/Surface/Accordion/Accordion.js +87 -0
- package/lib/Surface/Accordion/Accordion.stories.d.ts +10 -0
- package/lib/Surface/Accordion/Accordion.stories.d.ts.map +1 -0
- package/lib/Surface/Accordion/Accordion.stories.js +30 -0
- package/lib/Surface/Accordion/AccordionItem/AccordionItem.d.ts +9 -0
- package/lib/Surface/Accordion/AccordionItem/AccordionItem.d.ts.map +1 -0
- package/lib/Surface/Accordion/AccordionItem/AccordionItem.js +51 -0
- package/lib/Surface/Accordion/AccordionItem/AccordionItem.styles.d.ts +9 -0
- package/lib/Surface/Accordion/AccordionItem/AccordionItem.styles.d.ts.map +1 -0
- package/lib/Surface/Accordion/AccordionItem/AccordionItem.styles.js +92 -0
- package/lib/Surface/Accordion/index.d.ts +2 -0
- package/lib/Surface/Accordion/index.d.ts.map +1 -0
- package/lib/Surface/Accordion/index.js +35 -0
- package/lib/Surface/DropdownMenu/DropdownMenu.d.ts +52 -0
- package/lib/Surface/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/lib/Surface/DropdownMenu/DropdownMenu.js +77 -0
- package/lib/Surface/DropdownMenu/DropdownMenu.stories.d.ts +10 -0
- package/lib/Surface/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -0
- package/lib/Surface/DropdownMenu/DropdownMenu.stories.js +28 -0
- package/lib/Surface/DropdownMenu/DropdownMenu.styles.d.ts +6 -0
- package/lib/Surface/DropdownMenu/DropdownMenu.styles.d.ts.map +1 -0
- package/lib/Surface/DropdownMenu/DropdownMenu.styles.js +123 -0
- package/lib/Surface/DropdownMenu/index.d.ts +2 -0
- package/lib/Surface/DropdownMenu/index.d.ts.map +1 -0
- package/lib/Surface/DropdownMenu/index.js +35 -0
- package/lib/Surface/MenuModal/MenuModal.d.ts +9 -0
- package/lib/Surface/MenuModal/MenuModal.d.ts.map +1 -0
- package/lib/Surface/MenuModal/MenuModal.js +64 -0
- package/lib/Surface/MenuModal/index.d.ts +2 -0
- package/lib/Surface/MenuModal/index.d.ts.map +1 -0
- package/lib/Surface/MenuModal/index.js +35 -0
- package/lib/Surface/Modal/Modal.d.ts +21 -0
- package/lib/Surface/Modal/Modal.d.ts.map +1 -0
- package/lib/Surface/Modal/Modal.js +98 -0
- package/lib/Surface/Modal/Modal.stories.d.ts +12 -0
- package/lib/Surface/Modal/Modal.stories.d.ts.map +1 -0
- package/lib/Surface/Modal/Modal.stories.js +63 -0
- package/lib/Surface/Modal/Overlay.d.ts +14 -0
- package/lib/Surface/Modal/Overlay.d.ts.map +1 -0
- package/lib/Surface/Modal/Overlay.js +56 -0
- package/lib/Surface/Modal/index.d.ts +3 -0
- package/lib/Surface/Modal/index.d.ts.map +1 -0
- package/lib/Surface/Modal/index.js +38 -0
- package/lib/Surface/TabBar/TabBar.d.ts +9 -0
- package/lib/Surface/TabBar/TabBar.d.ts.map +1 -0
- package/lib/Surface/TabBar/TabBar.js +30 -0
- package/lib/Surface/TabBar/TabBar.stories.d.ts +11 -0
- package/lib/Surface/TabBar/TabBar.stories.d.ts.map +1 -0
- package/lib/Surface/TabBar/TabBar.stories.js +66 -0
- package/lib/Surface/TabBar/index.d.ts +2 -0
- package/lib/Surface/TabBar/index.d.ts.map +1 -0
- package/lib/Surface/TabBar/index.js +35 -0
- package/lib/Surface/index.d.ts +6 -0
- package/lib/Surface/index.d.ts.map +1 -0
- package/lib/Surface/index.js +39 -0
- package/lib/Typography/ActionLink/ActionLink.d.ts +17 -0
- package/lib/Typography/ActionLink/ActionLink.d.ts.map +1 -0
- package/lib/Typography/ActionLink/ActionLink.js +37 -0
- package/lib/Typography/ActionLink/ActionLinkButton.style.d.ts +12 -0
- package/lib/Typography/ActionLink/ActionLinkButton.style.d.ts.map +1 -0
- package/lib/Typography/ActionLink/ActionLinkButton.style.js +54 -0
- package/lib/Typography/ActionLink/index.d.ts +2 -0
- package/lib/Typography/ActionLink/index.d.ts.map +1 -0
- package/lib/Typography/ActionLink/index.js +35 -0
- package/lib/Typography/Heading/Heading.d.ts +16 -0
- package/lib/Typography/Heading/Heading.d.ts.map +1 -0
- package/lib/Typography/Heading/Heading.js +72 -0
- package/lib/Typography/Heading/Heading.stories.d.ts +38 -0
- package/lib/Typography/Heading/Heading.stories.d.ts.map +1 -0
- package/lib/Typography/Heading/Heading.stories.js +67 -0
- package/lib/Typography/Heading/index.d.ts +2 -0
- package/lib/Typography/Heading/index.d.ts.map +1 -0
- package/lib/Typography/Heading/index.js +35 -0
- package/lib/Typography/Label/Label.d.ts +9 -0
- package/lib/Typography/Label/Label.d.ts.map +1 -0
- package/lib/Typography/Label/Label.js +26 -0
- package/lib/Typography/Label/Label.stories.d.ts +403 -0
- package/lib/Typography/Label/Label.stories.d.ts.map +1 -0
- package/lib/Typography/Label/Label.stories.js +37 -0
- package/lib/Typography/Label/index.d.ts +2 -0
- package/lib/Typography/Label/index.d.ts.map +1 -0
- package/lib/Typography/Label/index.js +35 -0
- package/lib/Typography/Line/Line.d.ts +8 -0
- package/lib/Typography/Line/Line.d.ts.map +1 -0
- package/lib/Typography/Line/Line.js +15 -0
- package/lib/Typography/Line/Line.stories.d.ts +19 -0
- package/lib/Typography/Line/Line.stories.d.ts.map +1 -0
- package/lib/Typography/Line/Line.stories.js +43 -0
- package/lib/Typography/Line/index.d.ts +2 -0
- package/lib/Typography/Line/index.d.ts.map +1 -0
- package/lib/Typography/Line/index.js +35 -0
- package/lib/Typography/Link/Link.d.ts +17 -0
- package/lib/Typography/Link/Link.d.ts.map +1 -0
- package/lib/Typography/Link/Link.js +46 -0
- package/lib/Typography/Link/Link.stories.d.ts +27 -0
- package/lib/Typography/Link/Link.stories.d.ts.map +1 -0
- package/lib/Typography/Link/Link.stories.js +75 -0
- package/lib/Typography/Link/index.d.ts +2 -0
- package/lib/Typography/Link/index.d.ts.map +1 -0
- package/lib/Typography/Link/index.js +35 -0
- package/lib/Typography/Paragraph/Paragraph.d.ts +10 -0
- package/lib/Typography/Paragraph/Paragraph.d.ts.map +1 -0
- package/lib/Typography/Paragraph/Paragraph.js +25 -0
- package/lib/Typography/Paragraph/Paragraph.stories.d.ts +15 -0
- package/lib/Typography/Paragraph/Paragraph.stories.d.ts.map +1 -0
- package/lib/Typography/Paragraph/Paragraph.stories.js +30 -0
- package/lib/Typography/Paragraph/index.d.ts +2 -0
- package/lib/Typography/Paragraph/index.d.ts.map +1 -0
- package/lib/Typography/Paragraph/index.js +35 -0
- package/lib/Typography/Text/Text.d.ts +25 -0
- package/lib/Typography/Text/Text.d.ts.map +1 -0
- package/lib/Typography/Text/Text.js +87 -0
- package/lib/Typography/Text/Text.stories.d.ts +32 -0
- package/lib/Typography/Text/Text.stories.d.ts.map +1 -0
- package/lib/Typography/Text/Text.stories.js +59 -0
- package/lib/Typography/Text/index.d.ts +2 -0
- package/lib/Typography/Text/index.d.ts.map +1 -0
- package/lib/Typography/Text/index.js +35 -0
- package/lib/Typography/TextLink/TextLink.d.ts +7 -0
- package/lib/Typography/TextLink/TextLink.d.ts.map +1 -0
- package/lib/Typography/TextLink/TextLink.js +12 -0
- package/lib/Typography/TextLink/TextLink.stories.d.ts +20 -0
- package/lib/Typography/TextLink/TextLink.stories.d.ts.map +1 -0
- package/lib/Typography/TextLink/TextLink.stories.js +37 -0
- package/lib/Typography/TextLink/index.d.ts +2 -0
- package/lib/Typography/TextLink/index.d.ts.map +1 -0
- package/lib/Typography/TextLink/index.js +35 -0
- package/lib/Typography/Title/Title.d.ts +4 -0
- package/lib/Typography/Title/Title.d.ts.map +1 -0
- package/lib/Typography/Title/Title.js +12 -0
- package/lib/Typography/Title/Title.stories.d.ts +24 -0
- package/lib/Typography/Title/Title.stories.d.ts.map +1 -0
- package/lib/Typography/Title/Title.stories.js +63 -0
- package/lib/Typography/Title/index.d.ts +2 -0
- package/lib/Typography/Title/index.d.ts.map +1 -0
- package/lib/Typography/Title/index.js +35 -0
- package/lib/Typography/index.d.ts +10 -0
- package/lib/Typography/index.d.ts.map +1 -0
- package/lib/Typography/index.js +43 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +43 -0
- package/lib/utils/IsInViewport.d.ts +8 -0
- package/lib/utils/IsInViewport.d.ts.map +1 -0
- package/lib/utils/IsInViewport.js +49 -0
- package/lib/utils/childrenWithDefaultProps.d.ts +7 -0
- package/lib/utils/childrenWithDefaultProps.d.ts.map +1 -0
- package/lib/utils/childrenWithDefaultProps.js +57 -0
- package/lib/utils/enums.d.ts +5 -0
- package/lib/utils/enums.d.ts.map +1 -0
- package/lib/utils/enums.js +26 -0
- package/lib/utils/index.d.ts +8 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/index.js +41 -0
- package/lib/utils/mediaQueries.d.ts +15 -0
- package/lib/utils/mediaQueries.d.ts.map +1 -0
- package/lib/utils/mediaQueries.js +46 -0
- package/lib/utils/testUtil.d.ts +4 -0
- package/lib/utils/testUtil.d.ts.map +1 -0
- package/lib/utils/testUtil.js +11 -0
- package/lib/utils/useLongTouch.d.ts +3 -0
- package/lib/utils/useLongTouch.d.ts.map +1 -0
- package/lib/utils/useLongTouch.js +44 -0
- package/lib/utils/useTimeout.d.ts +6 -0
- package/lib/utils/useTimeout.d.ts.map +1 -0
- package/lib/utils/useTimeout.js +46 -0
- package/lib/utils/util.d.ts +8 -0
- package/lib/utils/util.d.ts.map +1 -0
- package/lib/utils/util.js +48 -0
- package/package.json +2 -2
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.CheckboxLabel = exports.Checkbox = void 0;
|
|
27
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
28
|
+
/*
|
|
29
|
+
* Wire
|
|
30
|
+
* Copyright (C) 2018 Wire Swiss GmbH
|
|
31
|
+
*
|
|
32
|
+
* This program is free software: you can redistribute it and/or modify
|
|
33
|
+
* it under the terms of the GNU General Public License as published by
|
|
34
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
35
|
+
* (at your option) any later version.
|
|
36
|
+
*
|
|
37
|
+
* This program is distributed in the hope that it will be useful,
|
|
38
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
39
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
40
|
+
* GNU General Public License for more details.
|
|
41
|
+
*
|
|
42
|
+
* You should have received a copy of the GNU General Public License
|
|
43
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
const react_1 = require("react");
|
|
47
|
+
const React = __importStar(require("react"));
|
|
48
|
+
const Typography_1 = require("../../Typography");
|
|
49
|
+
const Input_1 = require("../Input");
|
|
50
|
+
const StyledLabel = ({ disabled, markInvalid, aligncenter = false, labelBeforeCheckbox = false, children, ...props }) => {
|
|
51
|
+
return ((0, jsx_runtime_1.jsxs)("label", { css: (theme) => ({
|
|
52
|
+
[`.${Input_1.INPUT_CLASSNAME}:checked + &::before`]: {
|
|
53
|
+
background: `${disabled ? theme.Checkbox.disablecheckedBgColor : theme.general.primaryColor}`,
|
|
54
|
+
borderColor: disabled ? theme.Checkbox.disablecheckedBgColor : theme.general.primaryColor,
|
|
55
|
+
},
|
|
56
|
+
[`.${Input_1.INPUT_CLASSNAME}:checked + & > svg`]: {
|
|
57
|
+
fill: theme.general.backgroundColor,
|
|
58
|
+
},
|
|
59
|
+
[`.${Input_1.INPUT_CLASSNAME} + & > svg`]: {
|
|
60
|
+
fill: 'none',
|
|
61
|
+
position: 'absolute',
|
|
62
|
+
top: '50%',
|
|
63
|
+
transform: 'translateY(-50%)',
|
|
64
|
+
...(labelBeforeCheckbox
|
|
65
|
+
? {
|
|
66
|
+
right: '11px',
|
|
67
|
+
}
|
|
68
|
+
: {
|
|
69
|
+
left: '4px',
|
|
70
|
+
}),
|
|
71
|
+
},
|
|
72
|
+
...(!disabled && {
|
|
73
|
+
[`.${Input_1.INPUT_CLASSNAME}:hover + &::before`]: {
|
|
74
|
+
borderColor: theme.general.primaryColor,
|
|
75
|
+
},
|
|
76
|
+
}),
|
|
77
|
+
[`.${Input_1.INPUT_CLASSNAME} + &::before`]: {
|
|
78
|
+
background: disabled ? theme.Checkbox.disableBgColor : theme.Checkbox.background,
|
|
79
|
+
...(!disabled
|
|
80
|
+
? {
|
|
81
|
+
border: markInvalid
|
|
82
|
+
? `2px solid ${theme.Checkbox.invalidBorderColor}`
|
|
83
|
+
: `2px solid ${theme.Checkbox.border}`,
|
|
84
|
+
}
|
|
85
|
+
: {
|
|
86
|
+
border: `2px solid ${theme.Checkbox.disableBorderColor}`,
|
|
87
|
+
}),
|
|
88
|
+
borderRadius: '3px',
|
|
89
|
+
boxSizing: 'border-box',
|
|
90
|
+
content: '""',
|
|
91
|
+
display: 'inline-block',
|
|
92
|
+
minWidth: '22px',
|
|
93
|
+
height: '22px',
|
|
94
|
+
lineHeight: '1.4rem',
|
|
95
|
+
margin: '0 8px 0 0px',
|
|
96
|
+
color: theme.general.color,
|
|
97
|
+
},
|
|
98
|
+
...(labelBeforeCheckbox && {
|
|
99
|
+
flexDirection: 'row-reverse',
|
|
100
|
+
justifyContent: 'space-between',
|
|
101
|
+
}),
|
|
102
|
+
alignItems: 'center',
|
|
103
|
+
position: 'relative',
|
|
104
|
+
margin: '0 0 0 -16px',
|
|
105
|
+
width: aligncenter ? 'auto' : '100%',
|
|
106
|
+
lineHeight: '1.4rem',
|
|
107
|
+
display: 'flex',
|
|
108
|
+
opacity: disabled ? 0.56 : 1,
|
|
109
|
+
cursor: disabled ? 'not-allowed' : 'pointer',
|
|
110
|
+
borderRadius: '4px',
|
|
111
|
+
}), ...props, children: [children, (0, jsx_runtime_1.jsx)("svg", { width: "15", height: "13", viewBox: "0 0 16 13", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M5.65685 12.0711L15.9842 1.62738L14.57 0.213167L5.65685 9.24264L1.41421 5L0 6.41421L5.65685 12.0711Z" }) })] }));
|
|
112
|
+
};
|
|
113
|
+
exports.Checkbox = React.forwardRef(({ id, children, style, disabled, wrapperCSS = {}, markInvalid, aligncenter, labelBeforeCheckbox, outlineOffset = '0.4rem', ...props }, ref) => {
|
|
114
|
+
const inputId = (0, react_1.useId)();
|
|
115
|
+
return ((0, jsx_runtime_1.jsxs)("div", { css: (theme) => ({
|
|
116
|
+
alignItems: 'center',
|
|
117
|
+
display: 'flex',
|
|
118
|
+
justifyContent: 'flex-start',
|
|
119
|
+
position: 'relative',
|
|
120
|
+
left: '-0.3rem',
|
|
121
|
+
[`.${Input_1.INPUT_CLASSNAME}:focus-visible + label`]: {
|
|
122
|
+
outline: `1px solid ${theme.general.primaryColor}`,
|
|
123
|
+
outlineOffset: outlineOffset,
|
|
124
|
+
},
|
|
125
|
+
...wrapperCSS,
|
|
126
|
+
}), style: style, children: [(0, jsx_runtime_1.jsx)("input", { type: "checkbox", id: id ?? inputId, style: {
|
|
127
|
+
height: '22px',
|
|
128
|
+
marginBottom: '0',
|
|
129
|
+
opacity: 0,
|
|
130
|
+
width: '22px',
|
|
131
|
+
cursor: disabled ? 'not-allowed' : 'pointer',
|
|
132
|
+
}, disabled: disabled, ref: ref, className: Input_1.INPUT_CLASSNAME, ...props }), (0, jsx_runtime_1.jsx)(StyledLabel, { htmlFor: id ?? inputId, disabled: disabled, markInvalid: markInvalid, aligncenter: aligncenter, labelBeforeCheckbox: labelBeforeCheckbox, children: children })] }));
|
|
133
|
+
});
|
|
134
|
+
exports.Checkbox.displayName = 'Checkbox';
|
|
135
|
+
const CheckboxLabel = ({ ...props }) => ((0, jsx_runtime_1.jsx)(Typography_1.Text, { css: (theme) => ({
|
|
136
|
+
...(0, Typography_1.textStyle)(theme, {
|
|
137
|
+
...props,
|
|
138
|
+
}),
|
|
139
|
+
}), ...props }));
|
|
140
|
+
exports.CheckboxLabel = CheckboxLabel;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<Omit<import("./Checkbox").CheckboxProps<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const WithLink: Story;
|
|
14
|
+
export declare const Invalid: Story;
|
|
15
|
+
export declare const Disabled: Story;
|
|
16
|
+
//# sourceMappingURL=Checkbox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/Inputs/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAO,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAMrD,QAAA,MAAM,IAAI;;;;;;;CAOuB,CAAC;AAElC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Disabled = exports.Invalid = exports.WithLink = exports.Default = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
5
|
+
const Checkbox_1 = require("./Checkbox");
|
|
6
|
+
const Typography_1 = require("../../Typography");
|
|
7
|
+
const meta = {
|
|
8
|
+
title: 'Inputs/Checkbox',
|
|
9
|
+
component: Checkbox_1.Checkbox,
|
|
10
|
+
parameters: {
|
|
11
|
+
layout: 'centered',
|
|
12
|
+
},
|
|
13
|
+
tags: ['autodocs'],
|
|
14
|
+
};
|
|
15
|
+
exports.default = meta;
|
|
16
|
+
exports.Default = {
|
|
17
|
+
args: {
|
|
18
|
+
children: (0, jsx_runtime_1.jsx)(Checkbox_1.CheckboxLabel, { children: "Default Checkbox" }),
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
exports.WithLink = {
|
|
22
|
+
render: () => ((0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { children: (0, jsx_runtime_1.jsxs)(Checkbox_1.CheckboxLabel, { children: ["I accept the ", (0, jsx_runtime_1.jsx)(Typography_1.Link, { href: "#", children: "Terms and Conditions" })] }) })),
|
|
23
|
+
};
|
|
24
|
+
exports.Invalid = {
|
|
25
|
+
args: {
|
|
26
|
+
children: (0, jsx_runtime_1.jsx)(Checkbox_1.CheckboxLabel, { children: "Invalid Checkbox" }),
|
|
27
|
+
markInvalid: true,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
exports.Disabled = {
|
|
31
|
+
args: {
|
|
32
|
+
children: (0, jsx_runtime_1.jsx)(Checkbox_1.CheckboxLabel, { children: "Disabled Checkbox" }),
|
|
33
|
+
disabled: true,
|
|
34
|
+
},
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Inputs/Checkbox/index.ts"],"names":[],"mappings":"AAmBA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Wire
|
|
4
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
32
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
__exportStar(require("./Checkbox"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InputProps } from '../Input';
|
|
2
|
+
export type DigitInputProps<T = HTMLInputElement> = InputProps<T>;
|
|
3
|
+
export interface CodeInputProps<T = HTMLInputElement> extends InputProps<T> {
|
|
4
|
+
autoFocus?: boolean;
|
|
5
|
+
digits?: number;
|
|
6
|
+
markInvalid?: boolean;
|
|
7
|
+
onCodeComplete?: (completeCode?: string) => void;
|
|
8
|
+
codeInputLabel?: string;
|
|
9
|
+
codePlaceholder?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const CodeInput: ({ style, digits, markInvalid, onCodeComplete, disabled, codeInputLabel, codePlaceholder, }: CodeInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=CodeInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeInput.d.ts","sourceRoot":"","sources":["../../../src/Inputs/CodeInput/CodeInput.tsx"],"names":[],"mappings":"AA2BA,OAAO,EAAC,UAAU,EAAa,MAAM,UAAU,CAAC;AAwBhD,MAAM,MAAM,eAAe,CAAC,CAAC,GAAG,gBAAgB,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;AAuBlE,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,gBAAgB,CAAE,SAAQ,UAAU,CAAC,CAAC,CAAC;IACzE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,SAAS,+FAQnB,cAAc,qDAwHhB,CAAC"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.CodeInput = void 0;
|
|
27
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
28
|
+
/*
|
|
29
|
+
* Wire
|
|
30
|
+
* Copyright (C) 2018 Wire Swiss GmbH
|
|
31
|
+
*
|
|
32
|
+
* This program is free software: you can redistribute it and/or modify
|
|
33
|
+
* it under the terms of the GNU General Public License as published by
|
|
34
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
35
|
+
* (at your option) any later version.
|
|
36
|
+
*
|
|
37
|
+
* This program is distributed in the hope that it will be useful,
|
|
38
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
39
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
40
|
+
* GNU General Public License for more details.
|
|
41
|
+
*
|
|
42
|
+
* You should have received a copy of the GNU General Public License
|
|
43
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
const react_1 = require("react");
|
|
47
|
+
const React = __importStar(require("react"));
|
|
48
|
+
const Identity_1 = require("../../Identity");
|
|
49
|
+
const util_1 = require("../../utils/util");
|
|
50
|
+
const Input_1 = require("../Input");
|
|
51
|
+
const CodeInputWrapper = (props) => ((0, jsx_runtime_1.jsx)("div", { css: {
|
|
52
|
+
display: 'flex',
|
|
53
|
+
justifyContent: 'center',
|
|
54
|
+
flexDirection: 'column',
|
|
55
|
+
}, ...props }));
|
|
56
|
+
const codeInputLabelStyle = theme => ({
|
|
57
|
+
color: Identity_1.COLOR_V2.GRAY_70,
|
|
58
|
+
textAlign: 'center',
|
|
59
|
+
marginBottom: '0.5rem',
|
|
60
|
+
fontSize: theme.fontSizes.base,
|
|
61
|
+
fontStyle: 'normal',
|
|
62
|
+
fontWeight: 400,
|
|
63
|
+
lineHeight: '1.5rem',
|
|
64
|
+
letterSpacing: '0.003rem',
|
|
65
|
+
});
|
|
66
|
+
const digitInputStyle = (theme, props) => ({
|
|
67
|
+
...(0, Input_1.inputStyle)(theme, props),
|
|
68
|
+
'& + &': {
|
|
69
|
+
marginLeft: 'min(19px, 2vw)',
|
|
70
|
+
},
|
|
71
|
+
'&:hover': {
|
|
72
|
+
boxShadow: `0 0 0 1px ${Identity_1.COLOR_V2.GRAY_60}`,
|
|
73
|
+
},
|
|
74
|
+
fontSize: theme.fontSizes.extraLarge,
|
|
75
|
+
lineHeight: '1.75rem',
|
|
76
|
+
borderRadius: '12px',
|
|
77
|
+
padding: 0,
|
|
78
|
+
textAlign: 'center',
|
|
79
|
+
width: 'min(48px, 13vw)',
|
|
80
|
+
height: '56px',
|
|
81
|
+
});
|
|
82
|
+
const DigitInput = React.forwardRef((props, ref) => ((0, jsx_runtime_1.jsx)("input", { ref: ref, css: (theme) => digitInputStyle(theme, props), ...props })));
|
|
83
|
+
DigitInput.displayName = 'DigitInput';
|
|
84
|
+
const CodeInput = ({ style, digits = 6, markInvalid, onCodeComplete = util_1.noop, disabled, codeInputLabel, codePlaceholder, }) => {
|
|
85
|
+
const [values, setValues] = (0, react_1.useState)(Array(digits).fill(''));
|
|
86
|
+
const inputs = Array(digits);
|
|
87
|
+
const forceSelection = (event) => {
|
|
88
|
+
const target = event.target;
|
|
89
|
+
target.select();
|
|
90
|
+
};
|
|
91
|
+
const forceSelectionPreventDefault = (event) => {
|
|
92
|
+
forceSelection(event);
|
|
93
|
+
event.preventDefault();
|
|
94
|
+
};
|
|
95
|
+
const nextField = (currentFieldIndex) => {
|
|
96
|
+
const nextFieldIndex = currentFieldIndex + 1;
|
|
97
|
+
if (nextFieldIndex < digits) {
|
|
98
|
+
inputs[nextFieldIndex].focus();
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
const previousField = (currentFieldIndex) => {
|
|
102
|
+
if (currentFieldIndex > 0) {
|
|
103
|
+
inputs[currentFieldIndex - 1].focus();
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
const setValue = (fieldIndex, value) => {
|
|
107
|
+
if (/^[0-9]?$/.test(value)) {
|
|
108
|
+
const valuesCopy = values.slice();
|
|
109
|
+
valuesCopy[fieldIndex] = value;
|
|
110
|
+
setValues(valuesCopy);
|
|
111
|
+
if (value.length) {
|
|
112
|
+
nextField(fieldIndex);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
const handleKeyDown = (fieldIndex, { key }) => {
|
|
117
|
+
switch (key) {
|
|
118
|
+
case 'Backspace':
|
|
119
|
+
setValue(fieldIndex, '');
|
|
120
|
+
previousField(fieldIndex);
|
|
121
|
+
break;
|
|
122
|
+
case 'ArrowLeft':
|
|
123
|
+
previousField(fieldIndex);
|
|
124
|
+
break;
|
|
125
|
+
case 'ArrowRight':
|
|
126
|
+
nextField(fieldIndex);
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
if (/^[0-9]$/.test(key)) {
|
|
130
|
+
setValue(fieldIndex, key);
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
const handlePaste = (fieldIndex, event) => {
|
|
134
|
+
const pastedValue = event.clipboardData.getData('Text');
|
|
135
|
+
const cleanedPaste = pastedValue.replace(/[^0-9]/g, '');
|
|
136
|
+
if (/^[0-9]+$/.test(cleanedPaste)) {
|
|
137
|
+
setValues(values.slice(0, fieldIndex).concat(cleanedPaste.split('')).slice(0, digits));
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
(0, react_1.useEffect)(() => {
|
|
141
|
+
const completeCode = values.join('');
|
|
142
|
+
if (completeCode.length === digits) {
|
|
143
|
+
onCodeComplete(completeCode);
|
|
144
|
+
}
|
|
145
|
+
}, [values]);
|
|
146
|
+
const labelId = React.useId();
|
|
147
|
+
const getDigitAriaLabel = (value) => (value ? `${codePlaceholder}, ${value}` : `${codePlaceholder}`);
|
|
148
|
+
return ((0, jsx_runtime_1.jsxs)(CodeInputWrapper, { role: "group", "aria-labelledby": labelId, style: style, children: [(0, jsx_runtime_1.jsx)("span", { id: labelId, css: codeInputLabelStyle, children: codeInputLabel }), (0, jsx_runtime_1.jsx)("div", { css: {
|
|
149
|
+
display: 'flex',
|
|
150
|
+
alignItems: 'center',
|
|
151
|
+
justifyContent: 'center',
|
|
152
|
+
flexWrap: 'nowrap',
|
|
153
|
+
width: '100%',
|
|
154
|
+
}, children: Array.from({ length: digits }, (_, index) => ((0, jsx_runtime_1.jsx)(DigitInput, { onPaste: event => handlePaste(index, event), onFocus: forceSelection, onMouseDown: forceSelectionPreventDefault, onTouchStart: forceSelectionPreventDefault, onKeyDown: event => handleKeyDown(index, event), onKeyUp: forceSelection, markInvalid: markInvalid, ref: node => (inputs[index] = node), value: values[index], disabled: disabled, id: `code-input-digit-${index}`, inputMode: "numeric", pattern: "[0-9]*", autoComplete: "one-time-code", "aria-label": getDigitAriaLabel(values[index]), "aria-describedby": labelId }, index))) })] }));
|
|
155
|
+
};
|
|
156
|
+
exports.CodeInput = CodeInput;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ style, digits, markInvalid, onCodeComplete, disabled, codeInputLabel, codePlaceholder, }: import("./CodeInput").CodeInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const Invalid: Story;
|
|
14
|
+
export declare const CustomLength: Story;
|
|
15
|
+
//# sourceMappingURL=CodeInput.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeInput.stories.d.ts","sourceRoot":"","sources":["../../../src/Inputs/CodeInput/CodeInput.stories.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAO,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAIrD,QAAA,MAAM,IAAI;;;;;;;CAOwB,CAAC;AAEnC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Wire
|
|
4
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.CustomLength = exports.Invalid = exports.Default = void 0;
|
|
22
|
+
const CodeInput_1 = require("./CodeInput");
|
|
23
|
+
const meta = {
|
|
24
|
+
title: 'Inputs/CodeInput',
|
|
25
|
+
component: CodeInput_1.CodeInput,
|
|
26
|
+
parameters: {
|
|
27
|
+
layout: 'centered',
|
|
28
|
+
},
|
|
29
|
+
tags: ['autodocs'],
|
|
30
|
+
};
|
|
31
|
+
exports.default = meta;
|
|
32
|
+
exports.Default = {
|
|
33
|
+
args: {
|
|
34
|
+
// eslint-disable-next-line no-console
|
|
35
|
+
onCodeComplete: code => console.log('Code entered:', code),
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
exports.Invalid = {
|
|
39
|
+
args: {
|
|
40
|
+
markInvalid: true,
|
|
41
|
+
// eslint-disable-next-line no-console
|
|
42
|
+
onCodeComplete: code => console.log('Code entered:', code),
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
exports.CustomLength = {
|
|
46
|
+
args: {
|
|
47
|
+
digits: 4,
|
|
48
|
+
// eslint-disable-next-line no-console
|
|
49
|
+
onCodeComplete: code => console.log('Code entered:', code),
|
|
50
|
+
},
|
|
51
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Inputs/CodeInput/index.ts"],"names":[],"mappings":"AAmBA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Wire
|
|
4
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
32
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
__exportStar(require("./CodeInput"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CSSObject } from '@emotion/react';
|
|
2
|
+
import { MenuPosition } from 'react-select';
|
|
3
|
+
export type ComboboxSelectOption = {
|
|
4
|
+
value: string | number;
|
|
5
|
+
label: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
};
|
|
8
|
+
export interface ComboboxSelectProps {
|
|
9
|
+
id: string;
|
|
10
|
+
options: ComboboxSelectOption[];
|
|
11
|
+
value?: ComboboxSelectOption | ComboboxSelectOption[];
|
|
12
|
+
onChange?: (value: ComboboxSelectOption | ComboboxSelectOption[]) => void;
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
dataUieName?: string;
|
|
16
|
+
onCreateOption?: (inputValue: string) => void;
|
|
17
|
+
createOptionLabel?: (inputValue: string) => string;
|
|
18
|
+
noOptionsMessage: string;
|
|
19
|
+
label?: string;
|
|
20
|
+
labelVisuallyHidden?: boolean;
|
|
21
|
+
required?: boolean;
|
|
22
|
+
menuPortalTarget?: HTMLElement;
|
|
23
|
+
menuPosition?: MenuPosition;
|
|
24
|
+
menuListCSS?: CSSObject;
|
|
25
|
+
isLoading?: boolean;
|
|
26
|
+
loadingMessage?: string;
|
|
27
|
+
closeMenuOnSelect?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export declare const ComboboxSelect: ({ id, options, value, onChange, isDisabled, placeholder, dataUieName, onCreateOption, createOptionLabel, noOptionsMessage, label, labelVisuallyHidden, required, menuPortalTarget, menuPosition, menuListCSS, isLoading, loadingMessage, closeMenuOnSelect, }: ComboboxSelectProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
30
|
+
//# sourceMappingURL=ComboboxSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComboboxSelect.d.ts","sourceRoot":"","sources":["../../../src/Inputs/ComboboxSelect/ComboboxSelect.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAC,SAAS,EAAW,MAAM,gBAAgB,CAAC;AACnD,OAAmB,EAAa,YAAY,EAAqC,MAAM,cAAc,CAAC;AAgBtG,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,KAAK,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,EAAE,CAAC;IACtD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,GAAG,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAC1E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,CAAC;IACnD,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,WAAW,CAAC;IAC/B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,cAAc,kQAoBxB,mBAAmB,qDA4BrB,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ComboboxSelect = void 0;
|
|
30
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
31
|
+
/*
|
|
32
|
+
* Wire
|
|
33
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
34
|
+
*
|
|
35
|
+
* This program is free software: you can redistribute it and/or modify
|
|
36
|
+
* it under the terms of the GNU General Public License as published by
|
|
37
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
38
|
+
* (at your option) any later version.
|
|
39
|
+
*
|
|
40
|
+
* This program is distributed in the hope that it will be useful,
|
|
41
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
42
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
43
|
+
* GNU General Public License for more details.
|
|
44
|
+
*
|
|
45
|
+
* You should have received a copy of the GNU General Public License
|
|
46
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
const react_1 = require("react");
|
|
50
|
+
const react_2 = require("@emotion/react");
|
|
51
|
+
const react_select_1 = __importStar(require("react-select"));
|
|
52
|
+
const creatable_1 = __importDefault(require("react-select/creatable"));
|
|
53
|
+
const ComboboxSelect_styles_1 = require("./ComboboxSelect.styles");
|
|
54
|
+
const Icon_1 = require("../../DataDisplay/Icon");
|
|
55
|
+
const InputLabel_1 = require("../InputLabel");
|
|
56
|
+
const BaseSelectDropdownIndicator_1 = require("../Select/BaseSelect/BaseSelectDropdownIndicator");
|
|
57
|
+
const ComboboxSelect = ({ id, options, value, onChange, isDisabled = false, placeholder, dataUieName, onCreateOption, createOptionLabel, noOptionsMessage, label, labelVisuallyHidden = false, required, menuPortalTarget, menuPosition = 'absolute', menuListCSS, isLoading = false, loadingMessage, closeMenuOnSelect = true, }) => {
|
|
58
|
+
return ((0, jsx_runtime_1.jsxs)("div", { css: ComboboxSelect_styles_1.wrapperStyles, "data-uie-name": dataUieName, children: [label && ((0, jsx_runtime_1.jsx)(InputLabel_1.InputLabel, { htmlFor: id, isRequired: required, labelCSS: (0, ComboboxSelect_styles_1.labelCSS)({ isVisuallyHidden: labelVisuallyHidden }), children: label })), (0, jsx_runtime_1.jsx)(Select, { id: id, options: options, value: value, onChange: onChange, isDisabled: isDisabled, placeholder: placeholder, menuPortalTarget: menuPortalTarget, menuPosition: menuPosition, createOptionLabel: createOptionLabel, onCreateOption: onCreateOption, creatable: !!onCreateOption, isLoading: isLoading, noOptionsMessage: noOptionsMessage, loadingMessage: loadingMessage, menuListCSS: menuListCSS, closeMenuOnSelect: closeMenuOnSelect })] }));
|
|
59
|
+
};
|
|
60
|
+
exports.ComboboxSelect = ComboboxSelect;
|
|
61
|
+
const Select = ({ id, options, value, onChange, isDisabled = false, placeholder, onCreateOption, createOptionLabel, noOptionsMessage, menuPortalTarget, menuPosition = 'absolute', menuListCSS, isLoading = false, loadingMessage, creatable = false, closeMenuOnSelect = true, }) => {
|
|
62
|
+
const theme = (0, react_2.useTheme)();
|
|
63
|
+
const components = (0, react_1.useMemo)(() => {
|
|
64
|
+
return {
|
|
65
|
+
ClearIndicator: () => null,
|
|
66
|
+
DropdownIndicator: BaseSelectDropdownIndicator_1.BaseSelectDropdownIndicator,
|
|
67
|
+
MultiValueRemove: (props) => (0, jsx_runtime_1.jsx)(MultiValueRemove, { ...props }),
|
|
68
|
+
NoOptionsMessage: (props) => (0, jsx_runtime_1.jsx)(NoOptionsMessage, { ...props, message: noOptionsMessage }),
|
|
69
|
+
LoadingMessage: (props) => (0, jsx_runtime_1.jsx)(LoadingMessage, { ...props, message: loadingMessage }),
|
|
70
|
+
};
|
|
71
|
+
}, [loadingMessage, noOptionsMessage]);
|
|
72
|
+
if (!creatable) {
|
|
73
|
+
return ((0, jsx_runtime_1.jsx)(react_select_1.default, { id: id, inputId: id, options: options, value: value, onChange: onChange, isMulti: true, isSearchable: true, isDisabled: isDisabled, placeholder: placeholder, menuPortalTarget: menuPortalTarget, menuPosition: menuPosition, styles: (0, ComboboxSelect_styles_1.selectStyles)({ theme, menuListCSS }), classNamePrefix: "select", closeMenuOnSelect: closeMenuOnSelect, components: components }));
|
|
74
|
+
}
|
|
75
|
+
return ((0, jsx_runtime_1.jsx)(creatable_1.default, { id: id, inputId: id, options: options, value: value, onChange: onChange, isMulti: true, isSearchable: true, isDisabled: isDisabled, placeholder: placeholder, menuPortalTarget: menuPortalTarget, menuPosition: menuPosition, styles: (0, ComboboxSelect_styles_1.selectStyles)({ theme, menuListCSS }), classNamePrefix: "select", formatCreateLabel: createOptionLabel, onCreateOption: onCreateOption, closeMenuOnSelect: closeMenuOnSelect, isLoading: isLoading, components: components }));
|
|
76
|
+
};
|
|
77
|
+
const MultiValueRemove = (props) => ((0, jsx_runtime_1.jsx)(react_select_1.components.MultiValueRemove, { ...props, children: (0, jsx_runtime_1.jsx)(Icon_1.CloseIcon, { width: 10, height: 10 }) }));
|
|
78
|
+
const NoOptionsMessage = ({ message, ...props }) => ((0, jsx_runtime_1.jsx)(react_select_1.components.NoOptionsMessage, { ...props, children: (0, jsx_runtime_1.jsx)("div", { css: ComboboxSelect_styles_1.noOptionsMessageStyles, children: message }) }));
|
|
79
|
+
const LoadingMessage = ({ message, ...props }) => ((0, jsx_runtime_1.jsx)(react_select_1.components.LoadingMessage, { ...props, children: (0, jsx_runtime_1.jsx)("div", { css: ComboboxSelect_styles_1.loadingMessageStyles, children: message }) }));
|