welcome-ui 7.4.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion.mjs +14 -15
- package/dist/Alert.mjs +36 -37
- package/dist/AspectRatio.mjs +6 -6
- package/dist/Avatar.mjs +3 -3
- package/dist/Badge.mjs +13 -14
- package/dist/Breadcrumb.mjs +10 -10
- package/dist/Button.mjs +7 -7
- package/dist/ButtonGroup.mjs +9 -11
- package/dist/Card.mjs +10 -16
- package/dist/Checkbox.mjs +1 -1
- package/dist/ClearButton.mjs +4 -4
- package/dist/CloseButton.mjs +2 -2
- package/dist/{CustomInput-BqaOGHm4.mjs → CustomInput-D_13Gd_3.mjs} +511 -514
- package/dist/DatePicker.mjs +54 -50
- package/dist/DateTimePicker.mjs +16 -18
- package/dist/DateTimePickerCommon.mjs +1 -1
- package/dist/Drawer.mjs +44 -45
- package/dist/DropdownMenu.mjs +204 -208
- package/dist/Field.mjs +35 -37
- package/dist/FieldGroup.mjs +10 -11
- package/dist/FileDrop.mjs +98 -99
- package/dist/FileUpload.mjs +10 -10
- package/dist/Hint.mjs +7 -8
- package/dist/Icon.mjs +17 -18
- package/dist/IconsFont.mjs +298 -298
- package/dist/InputText.mjs +39 -42
- package/dist/Label.mjs +26 -27
- package/dist/Link.mjs +9 -11
- package/dist/Loader.mjs +4 -4
- package/dist/Logo.mjs +9 -11
- package/dist/Modal.mjs +46 -47
- package/dist/Pagination.mjs +50 -50
- package/dist/Picker.mjs +12 -12
- package/dist/Popover.mjs +4 -4
- package/dist/Radio.mjs +36 -38
- package/dist/RadioGroup.mjs +13 -15
- package/dist/RadioTab.mjs +25 -26
- package/dist/Search.mjs +89 -91
- package/dist/Select.mjs +33 -39
- package/dist/Slider.mjs +11 -11
- package/dist/System.mjs +16 -48
- package/dist/Table.mjs +7 -7
- package/dist/Text.mjs +20 -22
- package/dist/Textarea.mjs +16 -17
- package/dist/TimePicker.mjs +22 -22
- package/dist/Toast.mjs +14 -14
- package/dist/Toggle.mjs +3 -3
- package/dist/Tooltip.mjs +52 -53
- package/dist/UniversalLink.mjs +5 -5
- package/dist/VariantIcon.mjs +14 -16
- package/dist/{index-BSdL4wPb.mjs → index-BDeIsk2X.mjs} +6 -6
- package/dist/theme.mjs +180 -180
- package/dist/types/components/Accordion/styles.d.ts +13 -5
- package/dist/types/components/Alert/styles.d.ts +16 -4
- package/dist/types/components/AspectRatio/styles.d.ts +1 -1
- package/dist/types/components/Avatar/styles.d.ts +14 -2
- package/dist/types/components/Badge/styles.d.ts +2 -2
- package/dist/types/components/Breadcrumb/Item.styles.d.ts +2 -2
- package/dist/types/components/Breadcrumb/styles.d.ts +4 -4
- package/dist/types/components/Button/index.d.ts +5 -1
- package/dist/types/components/Button/styles.d.ts +5 -1
- package/dist/types/components/ButtonGroup/styles.d.ts +1 -1
- package/dist/types/components/Card/Cover.styles.d.ts +7 -1
- package/dist/types/components/Card/index.d.ts +1 -1
- package/dist/types/components/Card/styles.d.ts +2 -2
- package/dist/types/components/Checkbox/styles.d.ts +5 -1
- package/dist/types/components/ClearButton/index.d.ts +8 -1
- package/dist/types/components/ClearButton/styles.d.ts +7 -1
- package/dist/types/components/CloseButton/styles.d.ts +7 -1
- package/dist/types/components/DatePicker/index.d.ts +2 -2
- package/dist/types/components/DateTimePicker/styles.d.ts +1 -1
- package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +2 -2
- package/dist/types/components/DateTimePickerCommon/datePickerStyles.d.ts +1 -1
- package/dist/types/components/DateTimePickerCommon/styles.d.ts +7 -7
- package/dist/types/components/Drawer/AssetDrawer/styles.d.ts +2 -2
- package/dist/types/components/Drawer/styles.d.ts +13 -7
- package/dist/types/components/DropdownMenu/Arrow.styled.d.ts +3 -3
- package/dist/types/components/DropdownMenu/Item.styled.d.ts +1 -1
- package/dist/types/components/DropdownMenu/Separator.styled.d.ts +1 -1
- package/dist/types/components/DropdownMenu/styles.d.ts +1 -1
- package/dist/types/components/Field/index.d.ts +5 -4
- package/dist/types/components/Field/styles.d.ts +6 -6
- package/dist/types/components/FieldGroup/index.d.ts +1 -1
- package/dist/types/components/FieldGroup/styles.d.ts +1 -1
- package/dist/types/components/FileDrop/index.d.ts +1 -1
- package/dist/types/components/FileDrop/styles.d.ts +4 -4
- package/dist/types/components/FileUpload/styles.d.ts +1 -1
- package/dist/types/components/Hint/index.d.ts +3 -2
- package/dist/types/components/Hint/styles.d.ts +2 -2
- package/dist/types/components/Icon/index.d.ts +3 -4
- package/dist/types/components/Icon/styles.d.ts +3 -4
- package/dist/types/components/Icons/Actions/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Activity/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Add/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Address/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Airplay/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Alert/content.json.d.ts +7 -0
- package/dist/types/components/Icons/AlertOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Analytics/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Anniversary/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Archive/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ArrowDown/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ArrowLeft/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ArrowLineDown/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ArrowLineLeft/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ArrowLineRight/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ArrowLineUp/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ArrowRight/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ArrowUp/content.json.d.ts +7 -0
- package/dist/types/components/Icons/AspectRatioFill/content.json.d.ts +7 -0
- package/dist/types/components/Icons/AspectRatioFit/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Attachment/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Avatar/content.json.d.ts +7 -0
- package/dist/types/components/Icons/AvatarAccessory/content.json.d.ts +7 -0
- package/dist/types/components/Icons/AvatarBody/content.json.d.ts +7 -0
- package/dist/types/components/Icons/AvatarBottom/content.json.d.ts +7 -0
- package/dist/types/components/Icons/AvatarCostume/content.json.d.ts +7 -0
- package/dist/types/components/Icons/AvatarHead/content.json.d.ts +7 -0
- package/dist/types/components/Icons/AvatarTop/content.json.d.ts +7 -0
- package/dist/types/components/Icons/BarChart/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Basketball/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Behance/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Birthday/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Bold/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Book/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Book2/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Bookmark/content.json.d.ts +7 -0
- package/dist/types/components/Icons/BookmarkOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Bulb/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Bulk/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Buoy/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Burn/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Caddy/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Calcul/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Camera/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CameraOff/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CameraOn/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CandidateStatus/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CardView/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Cast/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CastConnected/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CastUnavailable/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Celebrate/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Certified/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Check/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Clipboard/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Clock/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Code/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CodeBlock/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Coffee/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Collapse/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Comment/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CommentOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CommonArea/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Compass/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Computer/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Connection/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Contract/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ControlBackward/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ControlForward/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ControlPause/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ControlStop/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Copy/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CoverLetter/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Create/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CreditCard/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CrescentMoon/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CrescentMoonOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Cross/content.json.d.ts +7 -0
- package/dist/types/components/Icons/CrossTarget/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Crown/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Csv/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Date/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Department/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Details/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Diamond/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Dish/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Doc/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Docx/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Down/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Download/content.json.d.ts +7 -0
- package/dist/types/components/Icons/DragAndDrop/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Dribbble/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Earth/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Edit/content.json.d.ts +7 -0
- package/dist/types/components/Icons/EducationLevel/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Email/content.json.d.ts +7 -0
- package/dist/types/components/Icons/EmailOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Eot/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Equal/content.json.d.ts +7 -0
- package/dist/types/components/Icons/EuroCurrency/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Expand/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ExpandText/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Extend/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ExternalLink/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Facebook/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Factory/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Female/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Filters/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Fingerprint/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Flag/content.json.d.ts +7 -0
- package/dist/types/components/Icons/FlagCs/content.json.d.ts +8 -0
- package/dist/types/components/Icons/FlagEn/content.json.d.ts +8 -0
- package/dist/types/components/Icons/FlagEs/content.json.d.ts +8 -0
- package/dist/types/components/Icons/FlagFr/content.json.d.ts +8 -0
- package/dist/types/components/Icons/FlagOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/FlagPointed/content.json.d.ts +7 -0
- package/dist/types/components/Icons/FlagSk/content.json.d.ts +8 -0
- package/dist/types/components/Icons/FlagUs/content.json.d.ts +8 -0
- package/dist/types/components/Icons/Folder/content.json.d.ts +7 -0
- package/dist/types/components/Icons/FullscreenOff/content.json.d.ts +7 -0
- package/dist/types/components/Icons/FullscreenOn/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Gear/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Gif/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Github/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Google/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Handshake/content.json.d.ts +7 -0
- package/dist/types/components/Icons/HardHat/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Hashtag/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Heading/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Heading1/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Heading2/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Heading3/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Heading4/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Heading5/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Heading6/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Headset/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Heart/content.json.d.ts +7 -0
- package/dist/types/components/Icons/HeartOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/HeartShiny/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Hide/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Home/content.json.d.ts +7 -0
- package/dist/types/components/Icons/House/content.json.d.ts +7 -0
- package/dist/types/components/Icons/InProgressCandidate/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Information/content.json.d.ts +7 -0
- package/dist/types/components/Icons/InformationOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Instagram/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Italic/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Jpeg/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Jpg/content.json.d.ts +7 -0
- package/dist/types/components/Icons/JusticeHammer/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Kanban/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Key/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Language/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Leaf/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Left/content.json.d.ts +7 -0
- package/dist/types/components/Icons/LineChart/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Link/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Linkedin/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Location/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Lock/content.json.d.ts +7 -0
- package/dist/types/components/Icons/LockRounded/content.json.d.ts +7 -0
- package/dist/types/components/Icons/LogOut/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Male/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Map/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Masonry/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Masonry2/content.json.d.ts +7 -0
- package/dist/types/components/Icons/MeetingRoom/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Megaphone/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Mention/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Menu/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Mic/content.json.d.ts +7 -0
- package/dist/types/components/Icons/MicrophoneOff/content.json.d.ts +7 -0
- package/dist/types/components/Icons/MicrophoneOn/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Microship/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Mobile/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Money/content.json.d.ts +7 -0
- package/dist/types/components/Icons/More/content.json.d.ts +7 -0
- package/dist/types/components/Icons/MoreAndroid/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Mountain/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Move/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Music/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Negative/content.json.d.ts +7 -0
- package/dist/types/components/Icons/NegativeOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/NegativeStraight/content.json.d.ts +7 -0
- package/dist/types/components/Icons/NewCandidate/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Notification/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Npm/content.json.d.ts +7 -0
- package/dist/types/components/Icons/OfferStatus/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Office/content.json.d.ts +7 -0
- package/dist/types/components/Icons/OrderedList/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Origine/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Paperplane/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Pdf/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Pencil/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Phone/content.json.d.ts +7 -0
- package/dist/types/components/Icons/PhoneOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Pictures/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Piechart/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Pin/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Pinterest/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Pizza/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Play/content.json.d.ts +7 -0
- package/dist/types/components/Icons/PlayOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Playlist/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Png/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Podcast/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Positive/content.json.d.ts +7 -0
- package/dist/types/components/Icons/PositiveOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/PositiveStraight/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Ppt/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Print/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Promote/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Puzzle/content.json.d.ts +7 -0
- package/dist/types/components/Icons/PuzzleOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Question/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Questions/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Quote/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Refresh/content.json.d.ts +7 -0
- package/dist/types/components/Icons/RefuseCandidate/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Remote/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Remove/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Reset/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Resume/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Review/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ReviewOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Right/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Salary/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Save/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ScreenshareOff/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ScreenshareOn/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Search/content.json.d.ts +7 -0
- package/dist/types/components/Icons/SearchPeople/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Settings/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Share1/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Share2/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Shield/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Show/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Slack/content.json.d.ts +7 -0
- package/dist/types/components/Icons/SoundOff/content.json.d.ts +7 -0
- package/dist/types/components/Icons/SoundOn/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Source/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Spanner/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Sparkles/content.json.d.ts +7 -0
- package/dist/types/components/Icons/SquareAlert/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Stackoverflow/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Stackserver/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Star/content.json.d.ts +7 -0
- package/dist/types/components/Icons/StarOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Strikethrough/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Subtitle/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Success/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Suitcase/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Sun/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Svg/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Symbol/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Table/content.json.d.ts +7 -0
- package/dist/types/components/Icons/TableColumnAddAfter/content.json.d.ts +7 -0
- package/dist/types/components/Icons/TableColumnAddBefore/content.json.d.ts +7 -0
- package/dist/types/components/Icons/TableColumnRemove/content.json.d.ts +7 -0
- package/dist/types/components/Icons/TableDelete/content.json.d.ts +7 -0
- package/dist/types/components/Icons/TableDivide/content.json.d.ts +7 -0
- package/dist/types/components/Icons/TableMergeCells/content.json.d.ts +7 -0
- package/dist/types/components/Icons/TableRowAddAbove/content.json.d.ts +7 -0
- package/dist/types/components/Icons/TableRowAddBelow/content.json.d.ts +7 -0
- package/dist/types/components/Icons/TableRowRemove/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Tablet/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Tag/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Target/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Teepee/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ThumbDown/content.json.d.ts +7 -0
- package/dist/types/components/Icons/ThumbUp/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Thunderclock/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Tiktok/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Trash/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Tree/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Trophy/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Ttf/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Twitch/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Twitter/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Txt/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Type/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Unavailable/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Underline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/UnorderedList/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Up/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Update/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Upload/content.json.d.ts +7 -0
- package/dist/types/components/Icons/User/content.json.d.ts +7 -0
- package/dist/types/components/Icons/UserOutline/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Video/content.json.d.ts +7 -0
- package/dist/types/components/Icons/VideoCamera/content.json.d.ts +7 -0
- package/dist/types/components/Icons/VideoCamera2/content.json.d.ts +7 -0
- package/dist/types/components/Icons/WatchLater/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Woff/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Woff2/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Write/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Wttj/content.json.d.ts +7 -0
- package/dist/types/components/Icons/X/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Xing/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Xls/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Xlsx/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Youtube/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Zapier/content.json.d.ts +7 -0
- package/dist/types/components/Icons/Zip/content.json.d.ts +7 -0
- package/dist/types/components/IconsFont/index.d.ts +2 -1
- package/dist/types/components/IconsFont/styles.d.ts +1 -1
- package/dist/types/components/IconsFont/unicode.json.d.ts +303 -0
- package/dist/types/components/InputText/styles.d.ts +1 -2
- package/dist/types/components/Label/index.d.ts +3 -2
- package/dist/types/components/Label/styles.d.ts +4 -4
- package/dist/types/components/Link/styles.d.ts +7 -1
- package/dist/types/components/Loader/styles.d.ts +7 -2
- package/dist/types/components/Logo/Solutions.d.ts +1 -1
- package/dist/types/components/Logo/Symbol.d.ts +1 -1
- package/dist/types/components/Logo/Wui.d.ts +1 -1
- package/dist/types/components/Logo/styles.d.ts +1 -1
- package/dist/types/components/Modal/Assets/Backdrop.d.ts +8 -1
- package/dist/types/components/Modal/Assets/index.d.ts +15 -6
- package/dist/types/components/Modal/Assets/styles.d.ts +16 -7
- package/dist/types/components/Modal/index.d.ts +15 -6
- package/dist/types/components/Modal/styles.d.ts +18 -8
- package/dist/types/components/Pagination/styles.d.ts +7 -7
- package/dist/types/components/Picker/styles.d.ts +5 -1
- package/dist/types/components/Popover/Popover.d.ts +3 -2
- package/dist/types/components/Popover/PopoverHover.d.ts +3 -2
- package/dist/types/components/Popover/styles.d.ts +25 -9
- package/dist/types/components/Radio/styles.d.ts +15 -5
- package/dist/types/components/RadioGroup/styles.d.ts +2 -2
- package/dist/types/components/RadioTab/styles.d.ts +9 -5
- package/dist/types/components/Search/index.d.ts +1 -1
- package/dist/types/components/Search/styles.d.ts +9 -9
- package/dist/types/components/Select/index.d.ts +6 -2
- package/dist/types/components/Select/styles.d.ts +24 -15
- package/dist/types/components/Shape/styles.d.ts +5 -1
- package/dist/types/components/Slider/styles.d.ts +30 -8
- package/dist/types/components/Swiper/index.d.ts +2 -2
- package/dist/types/components/Swiper/styles.d.ts +19 -14
- package/dist/types/components/System/index.d.ts +1 -19
- package/dist/types/components/Table/index.d.ts +7 -6
- package/dist/types/components/Table/styles.d.ts +9 -9
- package/dist/types/components/Tabs/styles.d.ts +13 -5
- package/dist/types/components/Tag/index.d.ts +2 -1
- package/dist/types/components/Tag/styles.d.ts +4 -4
- package/dist/types/components/Text/styles.d.ts +1 -1
- package/dist/types/components/Textarea/styles.d.ts +1 -1
- package/dist/types/components/TimePicker/styles.d.ts +1 -1
- package/dist/types/components/Toast/styles.d.ts +29 -9
- package/dist/types/components/Toggle/styles.d.ts +9 -5
- package/dist/types/components/Tooltip/styles.d.ts +2 -2
- package/dist/types/components/UniversalLink/styles.d.ts +1 -1
- package/dist/types/components/VariantIcon/styles.d.ts +2 -2
- package/dist/types/components/WelcomeLoader/loader.json.d.ts +3 -0
- package/dist/types/components/WuiProvider/index.d.ts +2 -2
- package/dist/types/components/WuiProvider/styles.d.ts +4 -4
- package/dist/types/utils/overflow-ellipsis.d.ts +1 -1
- package/package.json +8 -6
package/dist/Table.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import o from "react";
|
|
3
|
-
import t, { css as
|
|
3
|
+
import t, { css as i, th as l } from "@xstyled/styled-components";
|
|
4
4
|
import { forwardRef as c } from "./System.mjs";
|
|
5
5
|
const h = t.divBox(
|
|
6
|
-
({ indent: e }) =>
|
|
6
|
+
({ indent: e }) => i`
|
|
7
7
|
overflow: hidden;
|
|
8
8
|
width: 100%;
|
|
9
9
|
|
|
10
|
-
${e &&
|
|
11
|
-
${r}, ${
|
|
10
|
+
${e && i`
|
|
11
|
+
${r}, ${a} {
|
|
12
12
|
&:first-child {
|
|
13
13
|
padding-left: xl;
|
|
14
14
|
}
|
|
@@ -27,7 +27,7 @@ const h = t.divBox(
|
|
|
27
27
|
width: 100%;
|
|
28
28
|
border-collapse: collapse;
|
|
29
29
|
`, f = t.theadBox``, g = t.tbodyBox``, T = t.trBox(
|
|
30
|
-
({ onClick: e, variant: d }) =>
|
|
30
|
+
({ onClick: e, variant: d }) => i`
|
|
31
31
|
${l("tables.tr.default")};
|
|
32
32
|
${d && l(`tables.tr.${d}`)};
|
|
33
33
|
${e && l("tables.tr.clickable")};
|
|
@@ -36,7 +36,7 @@ const h = t.divBox(
|
|
|
36
36
|
border: 0;
|
|
37
37
|
}
|
|
38
38
|
`
|
|
39
|
-
),
|
|
39
|
+
), a = t.thBox`
|
|
40
40
|
${l("tables.th")};
|
|
41
41
|
padding: xl;
|
|
42
42
|
vertical-align: middle;
|
|
@@ -65,7 +65,7 @@ const h = t.divBox(
|
|
|
65
65
|
), B = Object.assign(m, {
|
|
66
66
|
Thead: f,
|
|
67
67
|
Tbody: g,
|
|
68
|
-
Th:
|
|
68
|
+
Th: a,
|
|
69
69
|
Tr: T,
|
|
70
70
|
Td: r
|
|
71
71
|
});
|
package/dist/Text.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import p from "react";
|
|
3
|
+
import f, { css as l, th as d, system as b } from "@xstyled/styled-components";
|
|
4
4
|
import { forwardRef as x } from "./System.mjs";
|
|
5
5
|
const g = {
|
|
6
6
|
h0: "h1",
|
|
@@ -10,7 +10,7 @@ const g = {
|
|
|
10
10
|
h4: "h5",
|
|
11
11
|
h5: "h6",
|
|
12
12
|
h6: "h6"
|
|
13
|
-
}, k = (e) =>
|
|
13
|
+
}, k = (e) => l`
|
|
14
14
|
/* stylelint-disable-next-line value-no-vendor-prefix */
|
|
15
15
|
display: -webkit-box;
|
|
16
16
|
/* stylelint-disable-next-line property-no-vendor-prefix */
|
|
@@ -20,18 +20,18 @@ const g = {
|
|
|
20
20
|
line-height: normal;
|
|
21
21
|
overflow: hidden;
|
|
22
22
|
word-break: ${e === 1 ? "break-all" : null};
|
|
23
|
-
`, y =
|
|
24
|
-
const h = g[t], r = t == null ? void 0 : t.startsWith("h"),
|
|
25
|
-
return
|
|
23
|
+
`, y = f.pBox(({ lines: e, theme: n, variant: t, withDash: s, wordBreak: o }) => {
|
|
24
|
+
const h = g[t], r = t == null ? void 0 : t.startsWith("h"), i = e && e !== 1 / 0 && t.startsWith("h") && n.fonts.headings.includes("welcome-font");
|
|
25
|
+
return l`
|
|
26
26
|
${d(`texts.${h || t}`)};
|
|
27
|
-
word-break: ${
|
|
27
|
+
word-break: ${o};
|
|
28
28
|
|
|
29
29
|
/* Start fallback for non-webkit */
|
|
30
30
|
display: block;
|
|
31
31
|
${e && e !== 1 / 0 && k(e)};
|
|
32
32
|
/* End fallback for non-webkit */
|
|
33
33
|
|
|
34
|
-
${s && r &&
|
|
34
|
+
${s && r && l`
|
|
35
35
|
display: flex;
|
|
36
36
|
|
|
37
37
|
&:before {
|
|
@@ -48,16 +48,14 @@ const g = {
|
|
|
48
48
|
|
|
49
49
|
@media (min-width: lg) {
|
|
50
50
|
${d(`texts.${t}`)};
|
|
51
|
-
${
|
|
51
|
+
${b}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
${
|
|
54
|
+
${i && l`
|
|
55
55
|
& {
|
|
56
56
|
line-height: 1.4;
|
|
57
57
|
}
|
|
58
58
|
`}
|
|
59
|
-
|
|
60
|
-
${a};
|
|
61
59
|
`;
|
|
62
60
|
}), w = {
|
|
63
61
|
h0: "h1",
|
|
@@ -79,24 +77,24 @@ const g = {
|
|
|
79
77
|
children: n,
|
|
80
78
|
dataTestId: t,
|
|
81
79
|
lines: s,
|
|
82
|
-
variant:
|
|
80
|
+
variant: o = "md",
|
|
83
81
|
withDash: h,
|
|
84
82
|
wordBreak: r = "break-word",
|
|
85
|
-
...
|
|
86
|
-
},
|
|
87
|
-
const
|
|
88
|
-
return /* @__PURE__ */
|
|
83
|
+
...i
|
|
84
|
+
}, a) => {
|
|
85
|
+
const c = e || w[o], m = i.className || "";
|
|
86
|
+
return /* @__PURE__ */ p.createElement(
|
|
89
87
|
y,
|
|
90
88
|
{
|
|
91
|
-
as:
|
|
89
|
+
as: c,
|
|
92
90
|
"data-testid": t,
|
|
93
91
|
lines: s,
|
|
94
|
-
ref:
|
|
95
|
-
variant:
|
|
92
|
+
ref: a,
|
|
93
|
+
variant: o,
|
|
96
94
|
withDash: h,
|
|
97
95
|
wordBreak: r,
|
|
98
|
-
...
|
|
99
|
-
className: `${
|
|
96
|
+
...i,
|
|
97
|
+
className: `${m} wui-text`
|
|
100
98
|
},
|
|
101
99
|
n
|
|
102
100
|
);
|
package/dist/Textarea.mjs
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import u from "react";
|
|
3
|
-
import w, { css as
|
|
4
|
-
import { d as
|
|
5
|
-
import { shouldForwardProp as
|
|
6
|
-
const R = w
|
|
7
|
-
({ size: e, variant: t }) =>
|
|
8
|
-
${
|
|
9
|
-
${
|
|
3
|
+
import w, { css as g, th as y } from "@xstyled/styled-components";
|
|
4
|
+
import { d as T } from "./field-styles-DLIhqG_8.mjs";
|
|
5
|
+
import { shouldForwardProp as $, forwardRef as F } from "./System.mjs";
|
|
6
|
+
const R = w.textareaBox.withConfig({ shouldForwardProp: $ })(
|
|
7
|
+
({ size: e, variant: t }) => g`
|
|
8
|
+
${T({ size: e, variant: t })};
|
|
9
|
+
${y("textareas")};
|
|
10
10
|
line-height: lg;
|
|
11
|
-
${$};
|
|
12
11
|
`
|
|
13
|
-
),
|
|
12
|
+
), _ = F(
|
|
14
13
|
({
|
|
15
14
|
autoFocus: e,
|
|
16
15
|
dataTestId: t,
|
|
@@ -24,9 +23,9 @@ const R = w("textarea").withConfig({ shouldForwardProp: T })(
|
|
|
24
23
|
onKeyDown: m,
|
|
25
24
|
placeholder: f,
|
|
26
25
|
size: p = "md",
|
|
27
|
-
value:
|
|
28
|
-
variant:
|
|
29
|
-
...
|
|
26
|
+
value: x,
|
|
27
|
+
variant: c,
|
|
28
|
+
...n
|
|
30
29
|
}, h) => /* @__PURE__ */ u.createElement(
|
|
31
30
|
R,
|
|
32
31
|
{
|
|
@@ -43,13 +42,13 @@ const R = w("textarea").withConfig({ shouldForwardProp: T })(
|
|
|
43
42
|
ref: h,
|
|
44
43
|
rows: o,
|
|
45
44
|
size: p,
|
|
46
|
-
value:
|
|
47
|
-
variant:
|
|
48
|
-
...
|
|
45
|
+
value: x,
|
|
46
|
+
variant: c,
|
|
47
|
+
...n
|
|
49
48
|
}
|
|
50
49
|
)
|
|
51
50
|
);
|
|
52
|
-
|
|
51
|
+
_.displayName = "Textarea";
|
|
53
52
|
export {
|
|
54
|
-
|
|
53
|
+
_ as Textarea
|
|
55
54
|
};
|
package/dist/TimePicker.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import c, { useState as T, useEffect as E } from "react";
|
|
3
3
|
import M from "@xstyled/styled-components";
|
|
4
|
-
import { f as Y, a as w, c as I, b as L, D as O, g as U } from "./CustomInput-
|
|
4
|
+
import { f as Y, a as w, c as I, b as L, D as O, g as U } from "./CustomInput-D_13Gd_3.mjs";
|
|
5
5
|
import { forwardRef as W } from "./System.mjs";
|
|
6
6
|
const $ = M.div`
|
|
7
7
|
position: relative;
|
|
@@ -17,31 +17,31 @@ const $ = M.div`
|
|
|
17
17
|
onBlur: o,
|
|
18
18
|
onChange: t,
|
|
19
19
|
onFocus: p,
|
|
20
|
-
placeholder:
|
|
21
|
-
popperProps:
|
|
20
|
+
placeholder: h,
|
|
21
|
+
popperProps: x,
|
|
22
22
|
size: d = "md",
|
|
23
23
|
timeIntervals: n = 15,
|
|
24
|
-
transparent:
|
|
25
|
-
value:
|
|
24
|
+
transparent: F,
|
|
25
|
+
value: r = O,
|
|
26
26
|
...u
|
|
27
|
-
},
|
|
28
|
-
const
|
|
27
|
+
}, P) => {
|
|
28
|
+
const l = (e) => U(e, n), R = h || u.placeholderText, [g, f] = T(k && "time" || null), [A, a] = T(l(r));
|
|
29
29
|
E(() => {
|
|
30
|
-
t && t(r
|
|
30
|
+
t && t(l(r));
|
|
31
31
|
}, []), E(() => {
|
|
32
32
|
var s;
|
|
33
|
-
const e = r
|
|
34
|
-
((s = new Date(
|
|
35
|
-
}, [
|
|
36
|
-
const
|
|
33
|
+
const e = l(r);
|
|
34
|
+
((s = new Date(r)) == null ? void 0 : s.getTime()) - (e == null ? void 0 : e.getTime()) !== 0 && t && t(e), a(e);
|
|
35
|
+
}, [r]);
|
|
36
|
+
const N = (e) => {
|
|
37
37
|
f("time"), p && p(e);
|
|
38
|
-
},
|
|
38
|
+
}, _ = (e) => {
|
|
39
39
|
f(null), o && o(e);
|
|
40
40
|
}, b = (e) => {
|
|
41
41
|
e.preventDefault(), a(null), t && t();
|
|
42
42
|
}, H = (e) => {
|
|
43
43
|
if (!e) return;
|
|
44
|
-
const s =
|
|
44
|
+
const s = l(e);
|
|
45
45
|
e.setFullYear(s.getFullYear(), s.getMonth(), s.getDate()), a(e), t && t(new Date(e));
|
|
46
46
|
};
|
|
47
47
|
return /* @__PURE__ */ c.createElement($, null, /* @__PURE__ */ c.createElement(
|
|
@@ -53,13 +53,13 @@ const $ = M.div`
|
|
|
53
53
|
{
|
|
54
54
|
className: "time-picker",
|
|
55
55
|
"data-testid": y,
|
|
56
|
-
focused:
|
|
57
|
-
handleBlur:
|
|
58
|
-
handleFocus:
|
|
56
|
+
focused: g,
|
|
57
|
+
handleBlur: _,
|
|
58
|
+
handleFocus: N,
|
|
59
59
|
icon: i,
|
|
60
60
|
iconPlacement: m,
|
|
61
61
|
onReset: b,
|
|
62
|
-
ref:
|
|
62
|
+
ref: P,
|
|
63
63
|
size: d
|
|
64
64
|
}
|
|
65
65
|
),
|
|
@@ -67,15 +67,15 @@ const $ = M.div`
|
|
|
67
67
|
disabled: S,
|
|
68
68
|
iconPlacement: !!i && m,
|
|
69
69
|
onChange: H,
|
|
70
|
-
placeholderText:
|
|
70
|
+
placeholderText: R,
|
|
71
71
|
popperContainer: L,
|
|
72
|
-
popperProps:
|
|
73
|
-
selected:
|
|
72
|
+
popperProps: x,
|
|
73
|
+
selected: A,
|
|
74
74
|
showTimeSelect: !0,
|
|
75
75
|
showTimeSelectOnly: !0,
|
|
76
76
|
size: d,
|
|
77
77
|
timeIntervals: n,
|
|
78
|
-
transparent:
|
|
78
|
+
transparent: F,
|
|
79
79
|
...u,
|
|
80
80
|
isClearable: !1
|
|
81
81
|
}
|
package/dist/Toast.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import d, { useEffect as C, useCallback as I, useState as M, useMemo as
|
|
2
|
+
import d, { useEffect as C, useCallback as I, useState as M, useMemo as _, cloneElement as z, useContext as H } from "react";
|
|
3
3
|
import v, { css as T, th as m, ThemeContext as L, ThemeProvider as W } from "@xstyled/styled-components";
|
|
4
4
|
import { r as Y } from "./index-BYdkhqH4.mjs";
|
|
5
5
|
import { Box as $ } from "./Box.mjs";
|
|
6
|
-
import { Alert as
|
|
7
|
-
import { CloseButton as
|
|
6
|
+
import { Alert as B } from "./Alert.mjs";
|
|
7
|
+
import { CloseButton as N } from "./CloseButton.mjs";
|
|
8
8
|
import { forwardRef as D } from "./System.mjs";
|
|
9
9
|
import { Button as U } from "./Button.mjs";
|
|
10
10
|
var j = (t) => typeof t == "function", A = (t, e) => j(t) ? t(e) : t, q = /* @__PURE__ */ (() => {
|
|
@@ -107,7 +107,7 @@ function st(t = !1) {
|
|
|
107
107
|
const [e, s] = M(!1);
|
|
108
108
|
return C(() => {
|
|
109
109
|
s(!0);
|
|
110
|
-
}, []),
|
|
110
|
+
}, []), _(() => t ? (a) => a : e ? (a, r, o) => Y.createPortal(a, r || document.body, o) : () => null, [t, e]);
|
|
111
111
|
}
|
|
112
112
|
const ot = v($)(
|
|
113
113
|
({ isBottom: t }) => T`
|
|
@@ -118,7 +118,7 @@ const ot = v($)(
|
|
|
118
118
|
z-index: 9999;
|
|
119
119
|
transition: all 400ms ease-out;
|
|
120
120
|
`
|
|
121
|
-
), rt = v(
|
|
121
|
+
), rt = v(B)(
|
|
122
122
|
() => T`
|
|
123
123
|
position: relative;
|
|
124
124
|
padding: lg;
|
|
@@ -143,7 +143,7 @@ const ot = v($)(
|
|
|
143
143
|
flex-shrink: 0;
|
|
144
144
|
}
|
|
145
145
|
`
|
|
146
|
-
), nt = v(
|
|
146
|
+
), nt = v(B)`
|
|
147
147
|
display: flex;
|
|
148
148
|
align-items: center;
|
|
149
149
|
padding: sm md;
|
|
@@ -152,7 +152,7 @@ const ot = v($)(
|
|
|
152
152
|
> div {
|
|
153
153
|
align-self: center !important;
|
|
154
154
|
}
|
|
155
|
-
`, it = v.
|
|
155
|
+
`, it = v.divBox(
|
|
156
156
|
({ variant: t }) => T`
|
|
157
157
|
${m("toasts.snackbar.separator.default")};
|
|
158
158
|
${m(`toasts.snackbar.separator.${t}`)};
|
|
@@ -197,7 +197,7 @@ const ot = v($)(
|
|
|
197
197
|
},
|
|
198
198
|
z(e.message, { onClose: c })
|
|
199
199
|
);
|
|
200
|
-
},
|
|
200
|
+
}, G = D(
|
|
201
201
|
({ children: t, dataTestId: e, hasCloseButton: s = !0, icon: a, onClose: r, variant: o = "default" }, i) => {
|
|
202
202
|
const n = e ? `${e}-close-button` : void 0;
|
|
203
203
|
return /* @__PURE__ */ d.createElement(
|
|
@@ -210,7 +210,7 @@ const ot = v($)(
|
|
|
210
210
|
variant: o
|
|
211
211
|
},
|
|
212
212
|
s && /* @__PURE__ */ d.createElement(
|
|
213
|
-
|
|
213
|
+
N,
|
|
214
214
|
{
|
|
215
215
|
dataTestId: n,
|
|
216
216
|
onClick: r,
|
|
@@ -223,11 +223,11 @@ const ot = v($)(
|
|
|
223
223
|
);
|
|
224
224
|
}
|
|
225
225
|
);
|
|
226
|
-
|
|
227
|
-
const
|
|
228
|
-
({ children: t, cta: e, hasCloseButton: s = !0, icon: a, onClose: r, variant: o = "default", ...i }, n) => /* @__PURE__ */ d.createElement(nt, { icon: a, ref: n, variant: o, ...i }, /* @__PURE__ */ d.createElement($, { alignItems: "center", display: "flex", gap: "sm" }, t, e && /* @__PURE__ */ d.createElement(it, { variant: o }, e), s && /* @__PURE__ */ d.createElement(
|
|
226
|
+
G.displayName = "Growl";
|
|
227
|
+
const R = D(
|
|
228
|
+
({ children: t, cta: e, hasCloseButton: s = !0, icon: a, onClose: r, variant: o = "default", ...i }, n) => /* @__PURE__ */ d.createElement(nt, { icon: a, ref: n, variant: o, ...i }, /* @__PURE__ */ d.createElement($, { alignItems: "center", display: "flex", gap: "sm" }, t, e && /* @__PURE__ */ d.createElement(it, { variant: o }, e), s && /* @__PURE__ */ d.createElement(N, { onClick: r, size: "xs" })))
|
|
229
229
|
), ut = D((t, e) => /* @__PURE__ */ d.createElement(U, { flexShrink: 0, ref: e, size: "xs", variant: "ghost", ...t }));
|
|
230
|
-
|
|
230
|
+
R.displayName = "Snackbar";
|
|
231
231
|
const xt = ({ pauseOnHover: t = !0 }) => {
|
|
232
232
|
const e = H(L), s = st(), { handlers: a, toasts: r } = et(), { calculateOffset: o, endPause: i, startPause: n, updateHeight: c } = a, f = t ? n : void 0, p = t ? i : void 0;
|
|
233
233
|
return /* @__PURE__ */ d.createElement(W, { theme: e }, r.length > 0 && s(
|
|
@@ -253,7 +253,7 @@ const xt = ({ pauseOnHover: t = !0 }) => {
|
|
|
253
253
|
P.remove(t);
|
|
254
254
|
}, wt = (t) => {
|
|
255
255
|
P.dismiss(t);
|
|
256
|
-
}, Tt = { Title: ct, Growl:
|
|
256
|
+
}, Tt = { Title: ct, Growl: G, Snackbar: R, SnackbarAction: ut };
|
|
257
257
|
export {
|
|
258
258
|
xt as Notifications,
|
|
259
259
|
Tt as Toast,
|
package/dist/Toggle.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import r from "react";
|
|
3
3
|
import s, { css as i, th as t, system as f } from "@xstyled/styled-components";
|
|
4
4
|
import { shouldForwardProp as g, forwardRef as $ } from "./System.mjs";
|
|
5
|
-
import { C as c, a as u } from "./index-
|
|
5
|
+
import { C as c, a as u } from "./index-BDeIsk2X.mjs";
|
|
6
6
|
const b = s(c).withConfig({ shouldForwardProp: g })(
|
|
7
7
|
({ order: o = "-1", size: e }) => i`
|
|
8
8
|
${t("toggles.item.default")};
|
|
@@ -54,11 +54,11 @@ const b = s(c).withConfig({ shouldForwardProp: g })(
|
|
|
54
54
|
|
|
55
55
|
${f};
|
|
56
56
|
`
|
|
57
|
-
), h = s.
|
|
57
|
+
), h = s.divBox`
|
|
58
58
|
position: relative;
|
|
59
59
|
display: inline-block;
|
|
60
60
|
cursor: pointer;
|
|
61
|
-
`, x = s.
|
|
61
|
+
`, x = s.divBox.withConfig({ shouldForwardProp: g })(
|
|
62
62
|
({ checked: o, size: e }) => i`
|
|
63
63
|
position: absolute;
|
|
64
64
|
z-index: 1;
|
package/dist/Tooltip.mjs
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import p, { useRef as G, useEffect as C, useState as J } from "react";
|
|
3
|
-
import M, { css as f, th as y
|
|
4
|
-
import { Box as
|
|
5
|
-
import { forwardRef as
|
|
6
|
-
import { c as
|
|
7
|
-
import { c as j, a as
|
|
8
|
-
import { B as I, C as
|
|
9
|
-
import { c as
|
|
10
|
-
function
|
|
3
|
+
import M, { css as f, th as y } from "@xstyled/styled-components";
|
|
4
|
+
import { Box as U } from "./Box.mjs";
|
|
5
|
+
import { forwardRef as tt } from "./System.mjs";
|
|
6
|
+
import { c as et, d as ot, e as rt, f as nt, g as it, h as st } from "./BYC7LY2E-CVjUW1dr.mjs";
|
|
7
|
+
import { c as j, a as at, b as A, d as B } from "./YV4JVR4I-BGfUf3Nu.mjs";
|
|
8
|
+
import { B as I, C as E, D as $, v as ut, c as z, _ as Y, i as L, E as lt, g as P, d as K, f as Q, h as W, t as dt, Y as H, Z as ct, Q as pt, b as w } from "./LVA2YJMS-qFC9J-lt.mjs";
|
|
9
|
+
import { c as ft } from "./JC64G2H7-Dey-8h60.mjs";
|
|
10
|
+
function mt(t = {}) {
|
|
11
11
|
var r;
|
|
12
12
|
process.env.NODE_ENV !== "production" && t.type === "label" && console.warn(
|
|
13
13
|
"The `type` option on the tooltip store is deprecated.",
|
|
14
14
|
"Render a visually hidden label or use the `aria-label` or `aria-labelledby` attributes on the anchor element instead.",
|
|
15
15
|
"See https://ariakit.org/components/tooltip#tooltip-anchors-must-have-accessible-names"
|
|
16
16
|
);
|
|
17
|
-
const o = (r = t.store) == null ? void 0 : r.getState(), e =
|
|
18
|
-
placement:
|
|
17
|
+
const o = (r = t.store) == null ? void 0 : r.getState(), e = et(I($({}, t), {
|
|
18
|
+
placement: E(
|
|
19
19
|
t.placement,
|
|
20
20
|
o == null ? void 0 : o.placement,
|
|
21
21
|
"top"
|
|
22
22
|
),
|
|
23
|
-
hideTimeout:
|
|
24
|
-
})), m = I(
|
|
25
|
-
type:
|
|
26
|
-
skipTimeout:
|
|
23
|
+
hideTimeout: E(t.hideTimeout, o == null ? void 0 : o.hideTimeout, 0)
|
|
24
|
+
})), m = I($({}, e.getState()), {
|
|
25
|
+
type: E(t.type, o == null ? void 0 : o.type, "description"),
|
|
26
|
+
skipTimeout: E(t.skipTimeout, o == null ? void 0 : o.skipTimeout, 300)
|
|
27
27
|
}), i = j(m, e, t.store);
|
|
28
|
-
return
|
|
28
|
+
return $($({}, e), i);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
return A(t, o, "type"), A(t, o, "skipTimeout"),
|
|
30
|
+
function vt(t, r, o) {
|
|
31
|
+
return A(t, o, "type"), A(t, o, "skipTimeout"), ot(t, r, o);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
const [r, o] =
|
|
35
|
-
return
|
|
33
|
+
function ht(t = {}) {
|
|
34
|
+
const [r, o] = at(mt, t);
|
|
35
|
+
return vt(r, o, t);
|
|
36
36
|
}
|
|
37
|
-
var X =
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
), k = X.useProviderContext,
|
|
37
|
+
var X = ut(
|
|
38
|
+
[nt],
|
|
39
|
+
[rt]
|
|
40
|
+
), k = X.useProviderContext, bt = X.ScopedContextProvider, St = "div", gt = z(
|
|
41
41
|
function(r) {
|
|
42
42
|
var o = r, {
|
|
43
43
|
store: e,
|
|
@@ -58,15 +58,15 @@ var X = lt(
|
|
|
58
58
|
e = e || h, L(
|
|
59
59
|
e,
|
|
60
60
|
process.env.NODE_ENV !== "production" && "Tooltip must receive a `store` prop or be wrapped in a TooltipProvider component."
|
|
61
|
-
), a =
|
|
61
|
+
), a = lt(
|
|
62
62
|
a,
|
|
63
|
-
(s) => /* @__PURE__ */
|
|
63
|
+
(s) => /* @__PURE__ */ dt.jsx(bt, { value: e, children: s }),
|
|
64
64
|
[e]
|
|
65
65
|
);
|
|
66
66
|
const b = e.useState(
|
|
67
67
|
(s) => s.type === "description" ? "tooltip" : "none"
|
|
68
68
|
);
|
|
69
|
-
return a = P({ role: b }, a), a =
|
|
69
|
+
return a = P({ role: b }, a), a = it(K(P({}, a), {
|
|
70
70
|
store: e,
|
|
71
71
|
portal: m,
|
|
72
72
|
gutter: i,
|
|
@@ -79,17 +79,17 @@ var X = lt(
|
|
|
79
79
|
hideOnInteractOutside: (s) => {
|
|
80
80
|
if (H(d, s)) return !1;
|
|
81
81
|
const u = e == null ? void 0 : e.getState().anchorElement;
|
|
82
|
-
return u ? !
|
|
82
|
+
return u ? !ct(u, s.target) : !0;
|
|
83
83
|
}
|
|
84
84
|
})), a;
|
|
85
85
|
}
|
|
86
|
-
),
|
|
86
|
+
), Tt = ft(
|
|
87
87
|
Q(function(r) {
|
|
88
|
-
const o =
|
|
89
|
-
return W(
|
|
88
|
+
const o = gt(r);
|
|
89
|
+
return W(St, o);
|
|
90
90
|
}),
|
|
91
91
|
k
|
|
92
|
-
),
|
|
92
|
+
), xt = "div", v = j({
|
|
93
93
|
activeStore: null
|
|
94
94
|
});
|
|
95
95
|
function N(t) {
|
|
@@ -98,7 +98,7 @@ function N(t) {
|
|
|
98
98
|
r === t && v.setState("activeStore", null);
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var
|
|
101
|
+
var yt = z(
|
|
102
102
|
function(r) {
|
|
103
103
|
var o = r, { store: e, showOnHover: m = !0 } = o, i = Y(o, ["store", "showOnHover"]);
|
|
104
104
|
const g = k();
|
|
@@ -111,7 +111,7 @@ var $t = z(
|
|
|
111
111
|
n.mounted || (c.current = !1);
|
|
112
112
|
}), [e]), C(() => {
|
|
113
113
|
if (e)
|
|
114
|
-
return
|
|
114
|
+
return pt(
|
|
115
115
|
// Immediately remove the current store from the global store when
|
|
116
116
|
// the component unmounts. This is useful, for example, to avoid
|
|
117
117
|
// showing tooltips immediately on serial tests.
|
|
@@ -148,7 +148,7 @@ var $t = z(
|
|
|
148
148
|
onMouseEnter: a,
|
|
149
149
|
onFocusVisible: b,
|
|
150
150
|
onBlur: u
|
|
151
|
-
}), i =
|
|
151
|
+
}), i = st(P({
|
|
152
152
|
store: e,
|
|
153
153
|
showOnHover(n) {
|
|
154
154
|
if (!c.current || H(m, n)) return !1;
|
|
@@ -158,34 +158,33 @@ var $t = z(
|
|
|
158
158
|
}, i)), i;
|
|
159
159
|
}
|
|
160
160
|
), Et = Q(function(r) {
|
|
161
|
-
const o =
|
|
162
|
-
return W(
|
|
161
|
+
const o = yt(r);
|
|
162
|
+
return W(xt, o);
|
|
163
163
|
});
|
|
164
|
-
const
|
|
164
|
+
const $t = {
|
|
165
165
|
top: "translate3d(0, -4px, 0)",
|
|
166
166
|
right: "translate3d(4px, 0, 0)",
|
|
167
167
|
bottom: "translate3d(0, 4px, 0)",
|
|
168
168
|
left: "translate3d(-4px, 0, 0)",
|
|
169
169
|
auto: "translate3d(0, 0, 0)"
|
|
170
|
-
},
|
|
170
|
+
}, Pt = (t) => {
|
|
171
171
|
const r = t == null ? void 0 : t.split("-"), o = r[0];
|
|
172
172
|
if (r.length < 2)
|
|
173
|
-
return
|
|
173
|
+
return $t[o];
|
|
174
174
|
{
|
|
175
175
|
let e = "0, 0";
|
|
176
176
|
return (t == "right-end" || t == "bottom-end") && (e = "4px, 4px"), (t == "right-start" || t == "top-end") && (e = "4px, -4px"), (t == "left-end" || t == "bottom-start") && (e = "-4px, 4px"), (t == "left-start" || t == "top-start") && (e = "-4px, -4px"), `translate3d(${e}, 0)`;
|
|
177
177
|
}
|
|
178
|
-
},
|
|
178
|
+
}, Ot = f`
|
|
179
179
|
visibility: visible;
|
|
180
180
|
opacity: 1;
|
|
181
181
|
transform: translate3d(0, 0, 0);
|
|
182
182
|
`, S = 12, x = S * 1.5, D = (t) => t.includes("start") ? x : t.includes("end") ? `calc(100% - ${x + "px"})` : "50%", F = (t, r) => {
|
|
183
183
|
const o = r - x < S;
|
|
184
184
|
return t.includes("end") ? o ? `${S}px` : `calc(100% - ${x}px)` : t.includes("start") ? o ? `${S}px` : `${x}px` : "50%";
|
|
185
|
-
},
|
|
185
|
+
}, _t = M.divBox(
|
|
186
186
|
({ fixed: t, placement: r, popoverHeight: o, withArrow: e }) => f`
|
|
187
187
|
${y("tooltips")};
|
|
188
|
-
${U};
|
|
189
188
|
transition:
|
|
190
189
|
opacity ${y.transition("medium")},
|
|
191
190
|
transform ${y.transition("medium")},
|
|
@@ -238,16 +237,16 @@ const Pt = {
|
|
|
238
237
|
`}
|
|
239
238
|
|
|
240
239
|
${t && f`
|
|
241
|
-
transform: ${
|
|
240
|
+
transform: ${Pt(r)};
|
|
242
241
|
`}
|
|
243
242
|
|
|
244
243
|
[data-enter] & {
|
|
245
|
-
${
|
|
244
|
+
${Ot}
|
|
246
245
|
}
|
|
247
246
|
`
|
|
248
|
-
),
|
|
247
|
+
), wt = M.div`
|
|
249
248
|
display: inline-block;
|
|
250
|
-
`,
|
|
249
|
+
`, Nt = tt(
|
|
251
250
|
({
|
|
252
251
|
children: t,
|
|
253
252
|
content: r,
|
|
@@ -258,14 +257,14 @@ const Pt = {
|
|
|
258
257
|
...g
|
|
259
258
|
}, c) => {
|
|
260
259
|
var R;
|
|
261
|
-
const d =
|
|
260
|
+
const d = ht({ placement: e, animated: 300 }), [a, h] = J({ x: 0, y: 0 }), { render: b, stopAnimation: s } = d, { anchorElement: u, currentPlacement: O, mounted: _, popoverElement: n } = d.useState(), l = () => {
|
|
262
261
|
n && Object.assign(n.style, {
|
|
263
262
|
display: _ ? "block" : "none",
|
|
264
263
|
position: "absolute",
|
|
265
264
|
left: `${a.x}px`,
|
|
266
265
|
top: `${a.y + window.scrollY + 20}px`
|
|
267
266
|
});
|
|
268
|
-
}, T = (R = t == null ? void 0 : t.props) != null && R.disabled ? p.Children.only(/* @__PURE__ */ p.createElement(
|
|
267
|
+
}, T = (R = t == null ? void 0 : t.props) != null && R.disabled ? p.Children.only(/* @__PURE__ */ p.createElement(wt, null, t)) : t;
|
|
269
268
|
return C(() => {
|
|
270
269
|
function V({ clientX: Z, clientY: q }) {
|
|
271
270
|
h({ x: Z, y: q }), b();
|
|
@@ -275,17 +274,17 @@ const Pt = {
|
|
|
275
274
|
u.removeEventListener("mousemove", V);
|
|
276
275
|
};
|
|
277
276
|
}, [b, o, u]), r ? /* @__PURE__ */ p.createElement(p.Fragment, null, /* @__PURE__ */ p.createElement(Et, { render: T, store: d }), /* @__PURE__ */ p.createElement(
|
|
278
|
-
|
|
277
|
+
Tt,
|
|
279
278
|
{
|
|
280
279
|
fixed: o,
|
|
281
280
|
gutter: m,
|
|
282
281
|
ref: c,
|
|
283
|
-
render: /* @__PURE__ */ p.createElement(
|
|
282
|
+
render: /* @__PURE__ */ p.createElement(U, { ...g }),
|
|
284
283
|
store: d,
|
|
285
284
|
updatePosition: o ? void 0 : l
|
|
286
285
|
},
|
|
287
286
|
/* @__PURE__ */ p.createElement(
|
|
288
|
-
|
|
287
|
+
_t,
|
|
289
288
|
{
|
|
290
289
|
fixed: o,
|
|
291
290
|
onTransitionEnd: s,
|
|
@@ -299,5 +298,5 @@ const Pt = {
|
|
|
299
298
|
}
|
|
300
299
|
);
|
|
301
300
|
export {
|
|
302
|
-
|
|
301
|
+
Nt as Tooltip
|
|
303
302
|
};
|
package/dist/UniversalLink.mjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import t from "react";
|
|
3
3
|
import a from "@xstyled/styled-components";
|
|
4
4
|
import { shouldForwardProp as l, forwardRef as d } from "./System.mjs";
|
|
5
|
-
const
|
|
5
|
+
const s = a.aBox.withConfig({ shouldForwardProp: l })`
|
|
6
6
|
color: inherit;
|
|
7
7
|
text-decoration: none;
|
|
8
|
-
`,
|
|
8
|
+
`, f = d(
|
|
9
9
|
({ children: r, dataTestId: o, target: e, ...n }, i) => /* @__PURE__ */ t.createElement(
|
|
10
|
-
|
|
10
|
+
s,
|
|
11
11
|
{
|
|
12
12
|
color: "inherit",
|
|
13
13
|
"data-testid": o,
|
|
@@ -19,7 +19,7 @@ const f = a.aBox.withConfig({ shouldForwardProp: l })`
|
|
|
19
19
|
r
|
|
20
20
|
)
|
|
21
21
|
);
|
|
22
|
-
|
|
22
|
+
f.displayName = "UniversalLink";
|
|
23
23
|
export {
|
|
24
|
-
|
|
24
|
+
f as UniversalLink
|
|
25
25
|
};
|