welcome-ui 7.4.0 → 8.0.0-alpha.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 +7 -5
package/dist/Pagination.mjs
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import i, { useMemo as j, useRef as
|
|
3
|
-
import m, {
|
|
4
|
-
import { h as
|
|
2
|
+
import i, { useMemo as j, useRef as R, useCallback as y } from "react";
|
|
3
|
+
import m, { th as x, css as E } from "@xstyled/styled-components";
|
|
4
|
+
import { h as z } from "./hide-focus-rings-root-BNyva1yb.mjs";
|
|
5
5
|
import "./Icon.mjs";
|
|
6
|
-
import { L as
|
|
7
|
-
import { R as
|
|
8
|
-
import { forwardRef as
|
|
9
|
-
const a = 5,
|
|
6
|
+
import { L as G } from "./index-BpRjq7lj.mjs";
|
|
7
|
+
import { R as F } from "./index-BRDOakbf.mjs";
|
|
8
|
+
import { forwardRef as M } from "./System.mjs";
|
|
9
|
+
const a = 5, S = 3;
|
|
10
10
|
function d(e, t) {
|
|
11
11
|
return Array.from({ length: e }, (r, s) => t(s));
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function q(e, t) {
|
|
14
14
|
return e.reduce((r, s, c) => {
|
|
15
15
|
const n = [];
|
|
16
16
|
return n.push(...r), n.push(...s), s.length && c < e.length - 1 && n.push(t), n;
|
|
17
17
|
}, []);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function J(e, t) {
|
|
20
20
|
if (e < a) return "before";
|
|
21
21
|
if (e >= a && e <= t - a + 1) return "center";
|
|
22
22
|
if (e > t - a + 1) return "after";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function K({ page: e, pageCount: t, rangeDisplay: r }) {
|
|
25
25
|
return j(() => {
|
|
26
26
|
if (t <= r || t <= a + 1)
|
|
27
27
|
return d(t, (l) => l + 1);
|
|
28
|
-
const s =
|
|
29
|
-
return
|
|
28
|
+
const s = J(e, t), c = s === "before" ? d(a, (l) => l + 1) : [1], n = s === "center" ? d(S, (l) => l + e - 1) : [], u = s === "after" ? d(a, (l) => l + t - a + 1) : [t];
|
|
29
|
+
return q([c, n, u], "-");
|
|
30
30
|
}, [e, t, r]);
|
|
31
31
|
}
|
|
32
|
-
const
|
|
32
|
+
const O = m.navBox``, Q = m.ulBox`
|
|
33
33
|
list-style-type: none;
|
|
34
34
|
padding: 0;
|
|
35
35
|
margin: 0;
|
|
@@ -42,14 +42,14 @@ const Q = m.nav(z), U = m.ul`
|
|
|
42
42
|
&:last-child {
|
|
43
43
|
margin-right: 0;
|
|
44
44
|
}
|
|
45
|
-
`,
|
|
46
|
-
${
|
|
45
|
+
`, U = m.span`
|
|
46
|
+
${x("paginations.default")};
|
|
47
47
|
display: flex;
|
|
48
48
|
justify-content: center;
|
|
49
49
|
align-items: center;
|
|
50
|
-
`,
|
|
51
|
-
${
|
|
52
|
-
${
|
|
50
|
+
`, p = E`
|
|
51
|
+
${x("paginations.default")};
|
|
52
|
+
${x("paginations.item")};
|
|
53
53
|
border-radius: 50%;
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
@@ -62,23 +62,23 @@ const Q = m.nav(z), U = m.ul`
|
|
|
62
62
|
transition: none;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
[${
|
|
65
|
+
[${z}] &:focus {
|
|
66
66
|
box-shadow: none;
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
69
|
-
(e) =>
|
|
70
|
-
${
|
|
71
|
-
${e["aria-disabled"] &&
|
|
68
|
+
`, B = m.aBox(
|
|
69
|
+
(e) => E`
|
|
70
|
+
${p};
|
|
71
|
+
${e["aria-disabled"] && E`
|
|
72
72
|
color: beige-70;
|
|
73
73
|
background-color: beige-40;
|
|
74
74
|
`}
|
|
75
75
|
`
|
|
76
|
-
),
|
|
77
|
-
(e) =>
|
|
78
|
-
${
|
|
79
|
-
${e["aria-current"] &&
|
|
76
|
+
), V = m.aBox(
|
|
77
|
+
(e) => E`
|
|
78
|
+
${p};
|
|
79
|
+
${e["aria-current"] && x("paginations.active")}
|
|
80
80
|
`
|
|
81
|
-
),
|
|
81
|
+
), C = M(
|
|
82
82
|
({
|
|
83
83
|
"aria-label": e,
|
|
84
84
|
dataTestId: t,
|
|
@@ -88,17 +88,17 @@ const Q = m.nav(z), U = m.ul`
|
|
|
88
88
|
page: n,
|
|
89
89
|
pageCount: u,
|
|
90
90
|
rangeDisplay: l = 5,
|
|
91
|
-
rightArrow:
|
|
92
|
-
...
|
|
93
|
-
},
|
|
94
|
-
const w =
|
|
91
|
+
rightArrow: A,
|
|
92
|
+
...D
|
|
93
|
+
}, L) => {
|
|
94
|
+
const w = K({ page: n, pageCount: u, rangeDisplay: l }), k = R(null), v = R(null), h = n === 1, $ = n === u, N = y(
|
|
95
95
|
(o) => {
|
|
96
96
|
o.preventDefault();
|
|
97
97
|
const f = n - 1;
|
|
98
98
|
f === 1 && k.current.focus(), c(f);
|
|
99
99
|
},
|
|
100
100
|
[n, c]
|
|
101
|
-
),
|
|
101
|
+
), P = y(
|
|
102
102
|
(o) => {
|
|
103
103
|
o.preventDefault();
|
|
104
104
|
const f = n + 1;
|
|
@@ -107,54 +107,54 @@ const Q = m.nav(z), U = m.ul`
|
|
|
107
107
|
[n, u, c]
|
|
108
108
|
);
|
|
109
109
|
return /* @__PURE__ */ i.createElement(
|
|
110
|
-
|
|
110
|
+
O,
|
|
111
111
|
{
|
|
112
112
|
"aria-label": e,
|
|
113
113
|
"data-testid": t,
|
|
114
|
-
ref:
|
|
114
|
+
ref: L,
|
|
115
115
|
role: "navigation",
|
|
116
|
-
...
|
|
116
|
+
...D
|
|
117
117
|
},
|
|
118
|
-
/* @__PURE__ */ i.createElement(
|
|
119
|
-
|
|
118
|
+
/* @__PURE__ */ i.createElement(Q, null, /* @__PURE__ */ i.createElement(b, null, /* @__PURE__ */ i.createElement(
|
|
119
|
+
B,
|
|
120
120
|
{
|
|
121
|
-
"aria-disabled":
|
|
121
|
+
"aria-disabled": h,
|
|
122
122
|
"data-testid": t ? `${t}-arrow-prev` : void 0,
|
|
123
|
-
href: r ? r(
|
|
124
|
-
onClick:
|
|
123
|
+
href: r ? r(h ? n : n - 1) : "",
|
|
124
|
+
onClick: h ? void 0 : N,
|
|
125
125
|
ref: k
|
|
126
126
|
},
|
|
127
|
-
s || /* @__PURE__ */ i.createElement(
|
|
127
|
+
s || /* @__PURE__ */ i.createElement(G, { size: "sm" })
|
|
128
128
|
)), w.map(
|
|
129
129
|
(o, f) => o === "-" ? (
|
|
130
130
|
// eslint-disable-next-line react/no-array-index-key
|
|
131
|
-
/* @__PURE__ */ i.createElement(b, { key: `${f}-` }, /* @__PURE__ */ i.createElement(
|
|
131
|
+
/* @__PURE__ */ i.createElement(b, { key: `${f}-` }, /* @__PURE__ */ i.createElement(U, null, "..."))
|
|
132
132
|
) : /* @__PURE__ */ i.createElement(b, { key: o }, /* @__PURE__ */ i.createElement(
|
|
133
|
-
|
|
133
|
+
V,
|
|
134
134
|
{
|
|
135
135
|
"aria-current": o === n,
|
|
136
136
|
"data-testid": t ? `${t}-${o}` : void 0,
|
|
137
137
|
href: r ? r(o) : "",
|
|
138
|
-
onClick: (
|
|
139
|
-
|
|
138
|
+
onClick: (_) => {
|
|
139
|
+
_.preventDefault(), c(o);
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
142
|
o
|
|
143
143
|
))
|
|
144
144
|
), /* @__PURE__ */ i.createElement(b, null, /* @__PURE__ */ i.createElement(
|
|
145
|
-
|
|
145
|
+
B,
|
|
146
146
|
{
|
|
147
147
|
"aria-disabled": $,
|
|
148
148
|
"data-testid": t ? `${t}-arrow-next` : void 0,
|
|
149
149
|
href: r ? r($ ? n : n + 1) : "",
|
|
150
|
-
onClick: $ ? void 0 :
|
|
150
|
+
onClick: $ ? void 0 : P,
|
|
151
151
|
ref: v
|
|
152
152
|
},
|
|
153
|
-
|
|
153
|
+
A || /* @__PURE__ */ i.createElement(F, { size: "sm" })
|
|
154
154
|
)))
|
|
155
155
|
);
|
|
156
156
|
}
|
|
157
157
|
);
|
|
158
158
|
export {
|
|
159
|
-
|
|
159
|
+
C as Pagination
|
|
160
160
|
};
|
package/dist/Picker.mjs
CHANGED
|
@@ -7,16 +7,16 @@ import { Label as E } from "./Label.mjs";
|
|
|
7
7
|
import { FieldGroup as b } from "./FieldGroup.mjs";
|
|
8
8
|
import { Box as w } from "./Box.mjs";
|
|
9
9
|
import { u as x, R as P } from "./radio-group-CGC6DTFJ.mjs";
|
|
10
|
-
const
|
|
10
|
+
const h = u(y).withConfig({ shouldForwardProp: $ })`
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: 0;
|
|
13
13
|
left: 0;
|
|
14
14
|
opacity: 0;
|
|
15
15
|
|
|
16
16
|
${R};
|
|
17
|
-
`,
|
|
18
|
-
({ dataTestId:
|
|
19
|
-
const d = x({ defaultValue:
|
|
17
|
+
`, F = k(
|
|
18
|
+
({ dataTestId: t, label: l, name: i, onChange: a, options: s, required: c, value: m, ...p }, f) => {
|
|
19
|
+
const d = x({ defaultValue: m }), n = (o) => {
|
|
20
20
|
o.stopPropagation(), a && a(o);
|
|
21
21
|
};
|
|
22
22
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -24,27 +24,27 @@ const _ = u(y).withConfig({ shouldForwardProp: $ })`
|
|
|
24
24
|
{
|
|
25
25
|
...p,
|
|
26
26
|
as: P,
|
|
27
|
-
dataTestId:
|
|
27
|
+
dataTestId: t,
|
|
28
28
|
mb: 0,
|
|
29
29
|
ref: f,
|
|
30
30
|
required: c,
|
|
31
31
|
store: d
|
|
32
32
|
},
|
|
33
|
-
/* @__PURE__ */ e.createElement(w, { display: "flex", flexWrap: "wrap" }, s.map(({ element: o, value:
|
|
33
|
+
/* @__PURE__ */ e.createElement(w, { display: "flex", flexWrap: "wrap" }, s.map(({ element: o, value: r }) => /* @__PURE__ */ e.createElement(
|
|
34
34
|
E,
|
|
35
35
|
{
|
|
36
36
|
checkableField: !0,
|
|
37
|
-
dataTestId:
|
|
38
|
-
key: `${
|
|
37
|
+
dataTestId: t && `${t}-item-${i}-${r}`,
|
|
38
|
+
key: `${l}-${i}-${r}`,
|
|
39
39
|
onClick: n
|
|
40
40
|
},
|
|
41
|
-
/* @__PURE__ */ e.createElement(
|
|
42
|
-
/* @__PURE__ */ e.createElement(o, { selected:
|
|
41
|
+
/* @__PURE__ */ e.createElement(h, { name: i, value: r }),
|
|
42
|
+
/* @__PURE__ */ e.createElement(o, { selected: m === r })
|
|
43
43
|
)))
|
|
44
44
|
);
|
|
45
45
|
}
|
|
46
46
|
);
|
|
47
|
-
|
|
47
|
+
F.displayName = "Picker";
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
F as Picker
|
|
50
50
|
};
|
package/dist/Popover.mjs
CHANGED
|
@@ -83,16 +83,16 @@ const y = a($)`
|
|
|
83
83
|
},
|
|
84
84
|
/* @__PURE__ */ r.createElement(H, null)
|
|
85
85
|
));
|
|
86
|
-
},
|
|
86
|
+
}, k = i(
|
|
87
87
|
({ children: t, onClose: o, store: e, ...n }, s) => {
|
|
88
88
|
const { withCloseButton: c } = e;
|
|
89
89
|
return /* @__PURE__ */ r.createElement(f, { $withCloseButton: c, ref: s, store: e, ...n }, /* @__PURE__ */ r.createElement(g, { onClose: o, store: e }, t));
|
|
90
90
|
}
|
|
91
|
-
), G = Object.assign(
|
|
91
|
+
), G = Object.assign(k, {
|
|
92
92
|
Content: d,
|
|
93
93
|
Title: u,
|
|
94
94
|
Trigger: Z
|
|
95
|
-
}),
|
|
95
|
+
}), z = i(
|
|
96
96
|
({ children: t, onClose: o, store: e, ...n }, s) => {
|
|
97
97
|
const { withCloseButton: c } = e;
|
|
98
98
|
return /* @__PURE__ */ r.createElement(
|
|
@@ -107,7 +107,7 @@ const y = a($)`
|
|
|
107
107
|
/* @__PURE__ */ r.createElement(g, { onClose: o, store: e }, t)
|
|
108
108
|
);
|
|
109
109
|
}
|
|
110
|
-
), J = Object.assign(
|
|
110
|
+
), J = Object.assign(z, {
|
|
111
111
|
Content: d,
|
|
112
112
|
Title: u,
|
|
113
113
|
Trigger: A
|
package/dist/Radio.mjs
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import o, { css as
|
|
4
|
-
import { d as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { R } from "./
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
${x({ size: r, variant: a })};
|
|
3
|
+
import o, { css as g, th as i, system as x } from "@xstyled/styled-components";
|
|
4
|
+
import { d as $ } from "./field-styles-DLIhqG_8.mjs";
|
|
5
|
+
import { shouldForwardProp as k, forwardRef as w } from "./System.mjs";
|
|
6
|
+
import { Label as y } from "./Label.mjs";
|
|
7
|
+
import { R as E } from "./NLEBE274-C94QU78N.mjs";
|
|
8
|
+
import { Hint as R } from "./Hint.mjs";
|
|
9
|
+
const C = o(E).withConfig({ shouldForwardProp: k })(
|
|
10
|
+
({ order: e = "-1", size: r, variant: a }) => g`
|
|
11
|
+
${$({ size: r, variant: a })};
|
|
13
12
|
${i("radios.default")}
|
|
14
13
|
position: relative;
|
|
15
14
|
padding: 0;
|
|
@@ -17,7 +16,7 @@ const L = o(R).withConfig({ shouldForwardProp: w })(
|
|
|
17
16
|
cursor: pointer;
|
|
18
17
|
border-radius: 50%;
|
|
19
18
|
transition: medium;
|
|
20
|
-
${
|
|
19
|
+
${x};
|
|
21
20
|
|
|
22
21
|
&::after {
|
|
23
22
|
content: '';
|
|
@@ -47,17 +46,16 @@ const L = o(R).withConfig({ shouldForwardProp: w })(
|
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
`
|
|
50
|
-
),
|
|
49
|
+
), L = o(y)`
|
|
51
50
|
max-width: 100%;
|
|
52
51
|
/** we need to reset margin-bottom from Label component */
|
|
53
52
|
margin-bottom: 0 !important;
|
|
54
|
-
|
|
55
|
-
`, F = o.div`
|
|
53
|
+
`, v = o.divBox`
|
|
56
54
|
flex-shrink: 0;
|
|
57
55
|
position: relative;
|
|
58
56
|
align-items: center;
|
|
59
57
|
display: flex;
|
|
60
|
-
`,
|
|
58
|
+
`, F = o.divBox`
|
|
61
59
|
display: flex;
|
|
62
60
|
align-items: flex-start;
|
|
63
61
|
gap: sm;
|
|
@@ -65,54 +63,54 @@ const L = o(R).withConfig({ shouldForwardProp: w })(
|
|
|
65
63
|
input {
|
|
66
64
|
margin-top: xs;
|
|
67
65
|
}
|
|
68
|
-
`,
|
|
66
|
+
`, B = o.div`
|
|
69
67
|
display: flex;
|
|
70
68
|
flex-direction: column;
|
|
71
|
-
`,
|
|
69
|
+
`, D = w(
|
|
72
70
|
({
|
|
73
71
|
dataTestId: e,
|
|
74
72
|
disabled: r,
|
|
75
73
|
disabledIcon: a,
|
|
76
|
-
flexDirection:
|
|
77
|
-
hint:
|
|
74
|
+
flexDirection: f,
|
|
75
|
+
hint: l,
|
|
78
76
|
label: d,
|
|
79
|
-
maxWidth:
|
|
77
|
+
maxWidth: p,
|
|
80
78
|
onChange: s,
|
|
81
|
-
onClick:
|
|
82
|
-
variant:
|
|
83
|
-
...
|
|
84
|
-
},
|
|
85
|
-
const
|
|
86
|
-
|
|
79
|
+
onClick: c,
|
|
80
|
+
variant: m,
|
|
81
|
+
...u
|
|
82
|
+
}, b) => {
|
|
83
|
+
const h = (n) => {
|
|
84
|
+
n.stopPropagation(), c && c(n), s && s(n);
|
|
87
85
|
};
|
|
88
86
|
return /* @__PURE__ */ t.createElement(
|
|
89
|
-
|
|
87
|
+
L,
|
|
90
88
|
{
|
|
91
89
|
alignItems: "flex-start",
|
|
92
90
|
checkableField: !0,
|
|
93
91
|
disabled: r,
|
|
94
92
|
disabledIcon: a,
|
|
95
93
|
flexDirection: "column",
|
|
96
|
-
maxWidth:
|
|
97
|
-
onClick:
|
|
98
|
-
variant:
|
|
94
|
+
maxWidth: p,
|
|
95
|
+
onClick: h,
|
|
96
|
+
variant: m,
|
|
99
97
|
withDisabledIcon: !1
|
|
100
98
|
},
|
|
101
|
-
/* @__PURE__ */ t.createElement(
|
|
102
|
-
|
|
99
|
+
/* @__PURE__ */ t.createElement(F, { flexDirection: f }, /* @__PURE__ */ t.createElement(v, null, /* @__PURE__ */ t.createElement(
|
|
100
|
+
C,
|
|
103
101
|
{
|
|
104
102
|
"data-testid": e,
|
|
105
103
|
disabled: r,
|
|
106
104
|
label: d,
|
|
107
|
-
ref:
|
|
108
|
-
variant:
|
|
109
|
-
...
|
|
105
|
+
ref: b,
|
|
106
|
+
variant: m,
|
|
107
|
+
...u
|
|
110
108
|
}
|
|
111
|
-
)), /* @__PURE__ */ t.createElement(
|
|
109
|
+
)), /* @__PURE__ */ t.createElement(B, null, /* @__PURE__ */ t.createElement("div", { "data-testid": e ? `${e}-label` : void 0 }, d), l && /* @__PURE__ */ t.createElement(R, { "data-testid": e ? `${e}-hint` : void 0, mt: "0" }, l)))
|
|
112
110
|
);
|
|
113
111
|
}
|
|
114
112
|
);
|
|
115
|
-
|
|
113
|
+
D.displayName = "Radio";
|
|
116
114
|
export {
|
|
117
|
-
|
|
115
|
+
D as Radio
|
|
118
116
|
};
|
package/dist/RadioGroup.mjs
CHANGED
|
@@ -1,43 +1,41 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import x, { css as
|
|
4
|
-
import { FieldGroup as
|
|
5
|
-
import { Radio as
|
|
3
|
+
import x, { css as b } from "@xstyled/styled-components";
|
|
4
|
+
import { FieldGroup as y } from "./FieldGroup.mjs";
|
|
5
|
+
import { Radio as G } from "./Radio.mjs";
|
|
6
6
|
import { forwardRef as w } from "./System.mjs";
|
|
7
7
|
import { u as E, R as V } from "./radio-group-CGC6DTFJ.mjs";
|
|
8
8
|
const h = x.divBox(
|
|
9
|
-
({ flexDirection: a }) =>
|
|
9
|
+
({ flexDirection: a }) => b`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: ${a};
|
|
12
12
|
flex-wrap: wrap;
|
|
13
13
|
gap: md;
|
|
14
|
-
|
|
15
|
-
${b};
|
|
16
14
|
`
|
|
17
15
|
), k = w(
|
|
18
16
|
({
|
|
19
17
|
dataTestId: a,
|
|
20
18
|
flexDirection: i,
|
|
21
|
-
id:
|
|
22
|
-
label:
|
|
19
|
+
id: m,
|
|
20
|
+
label: s,
|
|
23
21
|
maxWidth: o,
|
|
24
22
|
name: u,
|
|
25
23
|
onChange: r,
|
|
26
24
|
options: f = [],
|
|
27
|
-
renderOption: c =
|
|
25
|
+
renderOption: c = G,
|
|
28
26
|
required: p,
|
|
29
27
|
value: v,
|
|
30
28
|
...d
|
|
31
29
|
}, R) => {
|
|
32
|
-
const l = E({ defaultValue: v }),
|
|
30
|
+
const l = E({ defaultValue: v }), n = l.useState("value"), $ = (e) => {
|
|
33
31
|
d.disabled || (l.setValue(e), r == null || r(e));
|
|
34
32
|
};
|
|
35
33
|
return /* @__PURE__ */ t.createElement(
|
|
36
|
-
|
|
34
|
+
y,
|
|
37
35
|
{
|
|
38
36
|
as: V,
|
|
39
37
|
dataTestId: a,
|
|
40
|
-
label:
|
|
38
|
+
label: s,
|
|
41
39
|
mb: 0,
|
|
42
40
|
ref: R,
|
|
43
41
|
required: p,
|
|
@@ -46,15 +44,15 @@ const h = x.divBox(
|
|
|
46
44
|
/* @__PURE__ */ t.createElement(h, { flexDirection: i }, f.map((e) => /* @__PURE__ */ t.createElement(
|
|
47
45
|
c,
|
|
48
46
|
{
|
|
49
|
-
checked: e.value ===
|
|
47
|
+
checked: e.value === n,
|
|
50
48
|
dataTestId: a ? `${a}-${e.value}` : void 0,
|
|
51
49
|
hint: e.hint,
|
|
52
|
-
id: `${
|
|
50
|
+
id: `${m || u}.${e.value}`,
|
|
53
51
|
key: e.value,
|
|
54
52
|
label: e.label,
|
|
55
53
|
maxWidth: o,
|
|
56
54
|
name: u,
|
|
57
|
-
onChange: () =>
|
|
55
|
+
onChange: () => $(e.value),
|
|
58
56
|
value: e.value,
|
|
59
57
|
...d
|
|
60
58
|
}
|
package/dist/RadioTab.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import a, { css as e, th as i
|
|
4
|
-
import { d as
|
|
5
|
-
import { o as
|
|
6
|
-
import { shouldForwardProp as
|
|
7
|
-
import { R as
|
|
8
|
-
import { Button as
|
|
9
|
-
const
|
|
2
|
+
import s from "react";
|
|
3
|
+
import a, { css as e, th as i } from "@xstyled/styled-components";
|
|
4
|
+
import { d as f } from "./field-styles-DLIhqG_8.mjs";
|
|
5
|
+
import { o as u } from "./overflow-ellipsis-DGV5Kgt-.mjs";
|
|
6
|
+
import { shouldForwardProp as b, forwardRef as h } from "./System.mjs";
|
|
7
|
+
import { R as c } from "./NLEBE274-C94QU78N.mjs";
|
|
8
|
+
import { Button as g } from "./Button.mjs";
|
|
9
|
+
const y = a(c).withConfig({ shouldForwardProp: b })`
|
|
10
10
|
position: absolute;
|
|
11
11
|
top: 0;
|
|
12
12
|
left: 0;
|
|
13
13
|
opacity: 0;
|
|
14
|
-
`,
|
|
14
|
+
`, $ = e`
|
|
15
15
|
margin-top: -${i.borderWidth("sm")};
|
|
16
16
|
|
|
17
17
|
&:first-of-type {
|
|
@@ -23,7 +23,7 @@ const $ = a(g).withConfig({ shouldForwardProp: h })`
|
|
|
23
23
|
border-top-right-radius: 0;
|
|
24
24
|
border-top-left-radius: 0;
|
|
25
25
|
}
|
|
26
|
-
`,
|
|
26
|
+
`, w = e`
|
|
27
27
|
margin-left: -${i.borderWidth("sm")};
|
|
28
28
|
|
|
29
29
|
&:first-of-type {
|
|
@@ -36,8 +36,8 @@ const $ = a(g).withConfig({ shouldForwardProp: h })`
|
|
|
36
36
|
border-bottom-left-radius: 0;
|
|
37
37
|
}
|
|
38
38
|
`;
|
|
39
|
-
a.
|
|
40
|
-
({ checked: o, flexDirection: t, size: r, variant:
|
|
39
|
+
a.labelBox(
|
|
40
|
+
({ checked: o, flexDirection: t, size: r, variant: d }) => e`
|
|
41
41
|
${i("radioTabs.default")};
|
|
42
42
|
flex: 1;
|
|
43
43
|
display: flex;
|
|
@@ -52,14 +52,13 @@ a.label(
|
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
transition: medium;
|
|
54
54
|
|
|
55
|
-
${
|
|
55
|
+
${f({ size: r, variant: d })};
|
|
56
56
|
${o && e`
|
|
57
57
|
${i("radioTabs.checked")};
|
|
58
58
|
z-index: 2;
|
|
59
59
|
`};
|
|
60
|
-
${t === "column" &&
|
|
61
|
-
${t === "row" &&
|
|
62
|
-
${p};
|
|
60
|
+
${t === "column" && $};
|
|
61
|
+
${t === "row" && w};
|
|
63
62
|
padding-top: 0;
|
|
64
63
|
padding-bottom: 0;
|
|
65
64
|
`
|
|
@@ -69,28 +68,28 @@ a.div`
|
|
|
69
68
|
position: relative;
|
|
70
69
|
`;
|
|
71
70
|
a.div`
|
|
72
|
-
${
|
|
71
|
+
${u};
|
|
73
72
|
max-width: 100%;
|
|
74
73
|
`;
|
|
75
|
-
const
|
|
76
|
-
({ checked: o, dataTestId: t, disabled: r, id:
|
|
77
|
-
|
|
74
|
+
const x = h(
|
|
75
|
+
({ checked: o, dataTestId: t, disabled: r, id: d, label: l, onChange: m, value: n }, p) => /* @__PURE__ */ s.createElement(
|
|
76
|
+
g,
|
|
78
77
|
{
|
|
79
78
|
as: "label",
|
|
80
79
|
borderColor: !o && "neutral-30",
|
|
81
80
|
className: "label",
|
|
82
81
|
dataTestId: t,
|
|
83
82
|
disabled: r,
|
|
84
|
-
ref:
|
|
83
|
+
ref: p,
|
|
85
84
|
variant: o ? "primary" : "ghost"
|
|
86
85
|
},
|
|
87
|
-
/* @__PURE__ */
|
|
88
|
-
|
|
86
|
+
/* @__PURE__ */ s.createElement(
|
|
87
|
+
y,
|
|
89
88
|
{
|
|
90
89
|
checked: o,
|
|
91
90
|
"data-testid": t ? `${t}-input` : void 0,
|
|
92
91
|
disabled: r,
|
|
93
|
-
id:
|
|
92
|
+
id: d,
|
|
94
93
|
onChange: m,
|
|
95
94
|
value: n
|
|
96
95
|
}
|
|
@@ -98,7 +97,7 @@ const R = c(
|
|
|
98
97
|
l
|
|
99
98
|
)
|
|
100
99
|
);
|
|
101
|
-
|
|
100
|
+
x.displayName = "RadioTab";
|
|
102
101
|
export {
|
|
103
|
-
|
|
102
|
+
x as RadioTab
|
|
104
103
|
};
|