glints-aries 4.0.151 → 4.0.152
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/es/Display/Accordion/Accordion.js +4 -3
- package/es/Display/Accordion/AccordionPanel.d.ts +2 -2
- package/es/Display/Accordion/AccordionPanel.js +2 -1
- package/es/Display/Collapsible/Collapsible.js +2 -1
- package/es/Display/Collapsible/Collapsible.stories.js +2 -1
- package/es/Display/Gallery/GalleryStyle.js +5 -5
- package/es/Display/Modal/Modal.js +2 -1
- package/es/Display/Modal/Modal.stories.js +2 -1
- package/es/Display/Modal/ModalStyle.js +6 -6
- package/es/Display/PointingModal/PointingModal.d.ts +2 -2
- package/es/Display/PointingModal/PointingModal.js +2 -1
- package/es/Display/PointingModal/PointingModalBody.d.ts +2 -2
- package/es/Display/PointingModal/PointingModalBody.js +2 -1
- package/es/Display/PointingModal/PointingModalFooter.js +2 -1
- package/es/Display/PointingModal/PointingModalHeader.d.ts +2 -2
- package/es/Display/PointingModal/PointingModalHeader.js +2 -1
- package/es/Display/PointingModal/PointingModalItem.d.ts +2 -2
- package/es/Display/PointingModal/PointingModalItem.js +2 -1
- package/es/Display/PointingModal/PointingModalStyle.js +6 -6
- package/es/Display/Slider/Slider.d.ts +1 -1
- package/es/Display/Slider/Slider.js +2 -1
- package/es/Display/Swipeable/SwipeableItem.d.ts +2 -2
- package/es/Display/Swipeable/SwipeableItem.js +2 -1
- package/es/Display/Swipeable/SwipeableStyle.js +3 -3
- package/es/Display/Tabs/TabPane.d.ts +2 -2
- package/es/Display/Tabs/TabPane.js +2 -1
- package/es/Display/Tabs/TabsStyle.js +4 -4
- package/es/Display/Tooltip/Tooltip.js +2 -1
- package/es/Display/Tooltip/Tooltip.stories.js +5 -3
- package/es/Display/Tooltip/TooltipStyle.d.ts +1 -2
- package/es/General/Alert/AlertStyle.js +4 -4
- package/es/General/Badge/Badge.d.ts +2 -2
- package/es/General/Badge/Badge.js +2 -1
- package/es/General/Badge/Badge.stories.js +1 -1
- package/es/General/Badge/BadgeStyle.js +1 -1
- package/es/General/Brand/Brand.d.ts +2 -2
- package/es/General/Brand/Brand.js +2 -1
- package/es/General/Brand/BrandStyle.js +2 -2
- package/es/General/Button/Button.js +2 -1
- package/es/General/Button/ButtonStyle.js +11 -11
- package/es/General/Button/GhostButton.d.ts +32 -5
- package/es/General/Button/GhostButton.js +2 -1
- package/es/General/Button/LinkButton.d.ts +28 -5
- package/es/General/Button/LinkButton.js +2 -1
- package/es/General/Button/SolidButton.d.ts +32 -5
- package/es/General/Button/SolidButton.js +2 -1
- package/es/General/Button/SolidShadowButton.d.ts +31 -5
- package/es/General/Button/SolidShadowButton.js +2 -1
- package/es/General/Divider/Divider.js +2 -1
- package/es/General/Heading/Heading.js +2 -1
- package/es/General/Heading/Heading.stories.js +2 -1
- package/es/General/Icon/Icon.js +2 -1
- package/es/General/Icon/IconStyle.js +1 -1
- package/es/General/Loading/LoadingStyle.js +2 -2
- package/es/General/ProfilePicture/ProfilePicture.d.ts +2 -2
- package/es/General/ProfilePicture/ProfilePicture.js +2 -1
- package/es/General/ProfilePicture/ProfilePictureStyle.js +2 -2
- package/es/General/Tag/ActionTags/AddTag.js +1 -1
- package/es/General/Tag/ActionTags/ResetTag.js +1 -1
- package/es/General/Tag/BasicTag.d.ts +2 -2
- package/es/General/Tag/BasicTag.js +2 -1
- package/es/General/Tag/Tag.js +2 -1
- package/es/General/Typography/Paragraph.js +2 -1
- package/es/General/Typography/Title.js +2 -1
- package/es/Input/Checkbox/Checkbox.js +2 -1
- package/es/Input/Checkbox/CheckboxStyle.js +1 -1
- package/es/Input/Datepicker/Datepicker.d.ts +1 -1
- package/es/Input/Datepicker/DatepickerStyle.js +12 -12
- package/es/Input/DownshiftSelect/Select.js +4 -3
- package/es/Input/DownshiftSelect/Select.stories.js +8 -8
- package/es/Input/DownshiftSelect/SelectStyle.js +16 -16
- package/es/Input/NumberInput/NumberInput.d.ts +2 -2
- package/es/Input/PhoneNumberInput/PhoneNumberInput.js +4 -3
- package/es/Input/RadioButton/RadioButton.d.ts +1 -1
- package/es/Input/RadioButton/RadioButton.js +2 -1
- package/es/Input/Select/Select.d.ts +2 -2
- package/es/Input/Select/Select.js +13 -12
- package/es/Input/Select/SelectItem.d.ts +2 -2
- package/es/Input/Select/SelectItem.js +2 -1
- package/es/Input/Select/SelectList.js +2 -1
- package/es/Input/Select/SelectStyle.js +7 -7
- package/es/Input/TextField/TextField.d.ts +63 -3
- package/es/Input/TextField/TextField.js +3 -2
- package/es/Input/Textarea/Textarea.js +3 -2
- package/es/Input/ToggleSwitch/Styles.js +2 -2
- package/es/Input/ToggleSwitch/ToggleSwitch.js +2 -1
- package/es/Layout/Box/constants.js +2 -2
- package/es/Layout/Box/index.js +1 -1
- package/es/Layout/Box/types.js +1 -0
- package/es/Layout/Flex/Flex.stories.js +2 -2
- package/es/Layout/Flex/FlexStoryStyle.js +2 -2
- package/es/Layout/Flex/index.d.ts +3 -1
- package/es/Layout/Flex/index.js +2 -1
- package/es/Layout/Grid/Col.js +2 -1
- package/es/Layout/Grid/Row.js +2 -1
- package/es/Navigation/Breadcrumb/Breadcrumb.d.ts +2 -2
- package/es/Navigation/Breadcrumb/Breadcrumb.js +2 -1
- package/es/Navigation/Breadcrumb/BreadcrumbItem.d.ts +2 -2
- package/es/Navigation/Breadcrumb/BreadcrumbItem.js +2 -1
- package/es/Navigation/Breadcrumb/BreadcrumbStyle.js +2 -2
- package/es/Navigation/Drawer/Drawer.d.ts +1 -1
- package/es/Navigation/Drawer/Drawer.js +3 -2
- package/es/Navigation/Dropdown/Dropdown.js +2 -1
- package/es/Navigation/Dropdown/DropdownItem.d.ts +2 -2
- package/es/Navigation/Dropdown/DropdownItem.js +2 -1
- package/es/Utils/Shadow/ShadowsStoriesHelpers.js +2 -2
- package/lib/Display/Accordion/Accordion.js +9 -5
- package/lib/Display/Accordion/Accordion.stories.js +1 -1
- package/lib/Display/Accordion/AccordionPanel.d.ts +2 -2
- package/lib/Display/Accordion/AccordionPanel.js +7 -3
- package/lib/Display/Accordion/AccordionStyle.js +5 -3
- package/lib/Display/Collapsible/Collapsible.js +7 -3
- package/lib/Display/Collapsible/Collapsible.stories.js +3 -2
- package/lib/Display/Collapsible/CollapsibleStyle.js +5 -3
- package/lib/Display/Gallery/Gallery.js +4 -2
- package/lib/Display/Gallery/Gallery.stories.js +1 -1
- package/lib/Display/Gallery/GalleryStyle.js +6 -6
- package/lib/Display/Modal/Modal.js +7 -3
- package/lib/Display/Modal/Modal.stories.js +8 -4
- package/lib/Display/Modal/ModalStyle.js +7 -7
- package/lib/Display/PointingModal/PointingModal.d.ts +2 -2
- package/lib/Display/PointingModal/PointingModal.js +7 -3
- package/lib/Display/PointingModal/PointingModal.stories.js +1 -1
- package/lib/Display/PointingModal/PointingModalBody.d.ts +2 -2
- package/lib/Display/PointingModal/PointingModalBody.js +7 -3
- package/lib/Display/PointingModal/PointingModalFooter.js +7 -3
- package/lib/Display/PointingModal/PointingModalHeader.d.ts +2 -2
- package/lib/Display/PointingModal/PointingModalHeader.js +7 -3
- package/lib/Display/PointingModal/PointingModalItem.d.ts +2 -2
- package/lib/Display/PointingModal/PointingModalItem.js +7 -3
- package/lib/Display/PointingModal/PointingModalStyle.js +7 -7
- package/lib/Display/Popover/Popover.js +4 -2
- package/lib/Display/Popover/Popover.stories.js +1 -1
- package/lib/Display/Popover/PopoverStyle.js +5 -3
- package/lib/Display/Slider/LeftArrow.js +4 -2
- package/lib/Display/Slider/RightArrow.js +4 -2
- package/lib/Display/Slider/Slider.d.ts +1 -1
- package/lib/Display/Slider/Slider.js +6 -3
- package/lib/Display/Slider/Slider.stories.js +1 -1
- package/lib/Display/Slider/SliderItem.js +4 -2
- package/lib/Display/Slider/SliderStyle.js +5 -3
- package/lib/Display/Swipeable/Swipeable.js +4 -2
- package/lib/Display/Swipeable/Swipeable.stories.js +1 -1
- package/lib/Display/Swipeable/SwipeableItem.d.ts +2 -2
- package/lib/Display/Swipeable/SwipeableItem.js +7 -3
- package/lib/Display/Swipeable/SwipeableStyle.js +4 -4
- package/lib/Display/Tabs/TabPane.d.ts +2 -2
- package/lib/Display/Tabs/TabPane.js +7 -3
- package/lib/Display/Tabs/Tabs.js +4 -2
- package/lib/Display/Tabs/Tabs.stories.js +1 -1
- package/lib/Display/Tabs/TabsStyle.js +5 -5
- package/lib/Display/Tooltip/Tooltip.js +7 -3
- package/lib/Display/Tooltip/Tooltip.stories.js +6 -4
- package/lib/Display/Tooltip/TooltipStyle.d.ts +1 -2
- package/lib/General/Alert/Alert.js +4 -2
- package/lib/General/Alert/Alert.stories.js +5 -3
- package/lib/General/Alert/AlertStyle.js +9 -7
- package/lib/General/Badge/Badge.d.ts +2 -2
- package/lib/General/Badge/Badge.js +7 -3
- package/lib/General/Badge/Badge.stories.js +2 -2
- package/lib/General/Badge/BadgeStyle.js +1 -1
- package/lib/General/Brand/Brand.d.ts +2 -2
- package/lib/General/Brand/Brand.js +7 -3
- package/lib/General/Brand/Brand.stories.js +1 -1
- package/lib/General/Brand/BrandStyle.js +2 -2
- package/lib/General/Button/Button.js +4 -2
- package/lib/General/Button/Button.stories.js +1 -1
- package/lib/General/Button/ButtonStyle.js +12 -12
- package/lib/General/Button/GhostButton.d.ts +32 -5
- package/lib/General/Button/GhostButton.js +7 -3
- package/lib/General/Button/LinkButton.d.ts +28 -5
- package/lib/General/Button/LinkButton.js +7 -3
- package/lib/General/Button/SolidButton.d.ts +32 -5
- package/lib/General/Button/SolidButton.js +7 -3
- package/lib/General/Button/SolidShadowButton.d.ts +31 -5
- package/lib/General/Button/SolidShadowButton.js +7 -3
- package/lib/General/Divider/Divider.js +3 -1
- package/lib/General/Divider/Divider.stories.js +5 -3
- package/lib/General/Heading/Heading.js +3 -1
- package/lib/General/Heading/Heading.stories.js +3 -2
- package/lib/General/Icon/Icon.js +8 -4
- package/lib/General/Icon/IconStoriesHelpers.js +5 -3
- package/lib/General/Icon/IconStyle.js +1 -1
- package/lib/General/Icon/LegacyIcon.js +4 -2
- package/lib/General/Icon/components/AddCircleOutlineIcon.js +4 -2
- package/lib/General/Icon/components/AddCircleSolidIcon.js +4 -2
- package/lib/General/Icon/components/AddIcon.js +4 -2
- package/lib/General/Icon/components/ArrowBackDoubleIcon.js +4 -2
- package/lib/General/Icon/components/ArrowBackIcon.js +4 -2
- package/lib/General/Icon/components/ArrowBackSolidIcon.js +4 -2
- package/lib/General/Icon/components/ArrowDownCircleOutlineIcon.js +4 -2
- package/lib/General/Icon/components/ArrowDownIcon.js +4 -2
- package/lib/General/Icon/components/ArrowDownSolidIcon.js +4 -2
- package/lib/General/Icon/components/ArrowNextDoubleIcon.js +4 -2
- package/lib/General/Icon/components/ArrowNextIcon.js +4 -2
- package/lib/General/Icon/components/ArrowNextSolidIcon.js +4 -2
- package/lib/General/Icon/components/ArrowRoundBackIcon.js +4 -2
- package/lib/General/Icon/components/ArrowRoundForwardIcon.js +4 -2
- package/lib/General/Icon/components/ArrowUpIcon.js +4 -2
- package/lib/General/Icon/components/ArrowUpSolidIcon.js +4 -2
- package/lib/General/Icon/components/AsteriskSolidIcon.js +4 -2
- package/lib/General/Icon/components/AttachmentIcon.js +4 -2
- package/lib/General/Icon/components/BehanceIcon.js +4 -2
- package/lib/General/Icon/components/BellIcon.js +4 -2
- package/lib/General/Icon/components/BookmarkIcon.js +4 -2
- package/lib/General/Icon/components/BookmarkOutlineIcon.js +4 -2
- package/lib/General/Icon/components/BookmarkRoundedOutlineIcon.js +4 -2
- package/lib/General/Icon/components/BoxWithHandleSolidIcon.js +4 -2
- package/lib/General/Icon/components/BriefcaseSolidIcon.js +4 -2
- package/lib/General/Icon/components/BuildingSolidIcon.js +4 -2
- package/lib/General/Icon/components/BulletListIcon.js +4 -2
- package/lib/General/Icon/components/CalendarIcon.js +4 -2
- package/lib/General/Icon/components/CameraIcon.js +4 -2
- package/lib/General/Icon/components/ChecklistIcon.js +4 -2
- package/lib/General/Icon/components/CheckmarkIcon.js +4 -2
- package/lib/General/Icon/components/CheckmarkSolidIcon.js +4 -2
- package/lib/General/Icon/components/CheckmarkThickIcon.js +4 -2
- package/lib/General/Icon/components/CircleAndCheckIcon.js +4 -2
- package/lib/General/Icon/components/CircleIcon.js +4 -2
- package/lib/General/Icon/components/ClipboardCheckOutlineIcon.js +4 -2
- package/lib/General/Icon/components/ClipboardIcon.js +4 -2
- package/lib/General/Icon/components/ClockIcon.js +4 -2
- package/lib/General/Icon/components/CloseCircleSolidIcon.js +4 -2
- package/lib/General/Icon/components/CloseIcon.js +4 -2
- package/lib/General/Icon/components/CloudDownloadIcon.js +4 -2
- package/lib/General/Icon/components/CloudUploadIcon.js +4 -2
- package/lib/General/Icon/components/CodepenIcon.js +4 -2
- package/lib/General/Icon/components/CommunityIcon.js +4 -2
- package/lib/General/Icon/components/CompassIcon.js +4 -2
- package/lib/General/Icon/components/ConnectionIcon.js +4 -2
- package/lib/General/Icon/components/CopyIcon.js +4 -2
- package/lib/General/Icon/components/CopyLinkIcon.js +4 -2
- package/lib/General/Icon/components/CopyOutlinedIcon.js +4 -2
- package/lib/General/Icon/components/CurrencyIcon.js +4 -2
- package/lib/General/Icon/components/DeleteIcon.js +4 -2
- package/lib/General/Icon/components/DiscountSolidIcon.js +4 -2
- package/lib/General/Icon/components/DocumentCheckIcon.js +4 -2
- package/lib/General/Icon/components/DotIcon.js +4 -2
- package/lib/General/Icon/components/DoubleCheckmarkIcon.js +4 -2
- package/lib/General/Icon/components/DoveIcon.js +4 -2
- package/lib/General/Icon/components/DownloadIcon.js +4 -2
- package/lib/General/Icon/components/DragArrowIcon.js +4 -2
- package/lib/General/Icon/components/DragStripesIcon.js +4 -2
- package/lib/General/Icon/components/EditIcon.js +4 -2
- package/lib/General/Icon/components/EditOutlineIcon.js +4 -2
- package/lib/General/Icon/components/ExclamationIcon.js +4 -2
- package/lib/General/Icon/components/ExitFullScreenIcon.js +4 -2
- package/lib/General/Icon/components/ExternalLinkIcon.js +4 -2
- package/lib/General/Icon/components/EyeIcon.js +4 -2
- package/lib/General/Icon/components/EyeSlashedIcon.js +4 -2
- package/lib/General/Icon/components/EyeSolidIcon.js +4 -2
- package/lib/General/Icon/components/FacebookIcon.js +4 -2
- package/lib/General/Icon/components/FileAlternateIcon.js +4 -2
- package/lib/General/Icon/components/FileIcon.js +4 -2
- package/lib/General/Icon/components/FilePreviewIcon.js +4 -2
- package/lib/General/Icon/components/FileSolidIcon.js +4 -2
- package/lib/General/Icon/components/FilterIcon.js +4 -2
- package/lib/General/Icon/components/FlagIcon.js +4 -2
- package/lib/General/Icon/components/FolderIcon.js +4 -2
- package/lib/General/Icon/components/FullScreenIcon.js +4 -2
- package/lib/General/Icon/components/GithubIcon.js +4 -2
- package/lib/General/Icon/components/GlobeIcon.js +4 -2
- package/lib/General/Icon/components/GraduationHatIcon.js +4 -2
- package/lib/General/Icon/components/GroupIcon.js +4 -2
- package/lib/General/Icon/components/GuaranteeIcon.js +4 -2
- package/lib/General/Icon/components/HandIcon.js +4 -2
- package/lib/General/Icon/components/HandShakeIcon.js +4 -2
- package/lib/General/Icon/components/HeartIcon.js +4 -2
- package/lib/General/Icon/components/HeartSolidIcon.js +4 -2
- package/lib/General/Icon/components/HelpIcon.js +4 -2
- package/lib/General/Icon/components/HomeIcon.js +4 -2
- package/lib/General/Icon/components/HourglassIcon.js +4 -2
- package/lib/General/Icon/components/ImageIcon.js +4 -2
- package/lib/General/Icon/components/InfoIcon.js +4 -2
- package/lib/General/Icon/components/InfoSolidIcon.js +4 -2
- package/lib/General/Icon/components/InstagramIcon.js +4 -2
- package/lib/General/Icon/components/JobOutlineIcon.js +4 -2
- package/lib/General/Icon/components/JobSearchIcon.js +4 -2
- package/lib/General/Icon/components/LightbulbIcon.js +4 -2
- package/lib/General/Icon/components/LightningOutlineIcon.js +4 -2
- package/lib/General/Icon/components/LineIcon.js +4 -2
- package/lib/General/Icon/components/LinkedinIcon.js +4 -2
- package/lib/General/Icon/components/LoadingIcon.js +4 -2
- package/lib/General/Icon/components/LocationIcon.js +4 -2
- package/lib/General/Icon/components/LockSolidIcon.js +4 -2
- package/lib/General/Icon/components/MailIcon.js +4 -2
- package/lib/General/Icon/components/MailSolidIcon.js +4 -2
- package/lib/General/Icon/components/MedalIcon.js +4 -2
- package/lib/General/Icon/components/MenuHalfIcon.js +4 -2
- package/lib/General/Icon/components/MenuIcon.js +4 -2
- package/lib/General/Icon/components/MessageOutlineIcon.js +4 -2
- package/lib/General/Icon/components/MessageOutlineIncomingIcon.js +4 -2
- package/lib/General/Icon/components/MicIcon.js +4 -2
- package/lib/General/Icon/components/MicOffIcon.js +4 -2
- package/lib/General/Icon/components/MinusCircleIcon.js +4 -2
- package/lib/General/Icon/components/MinusCircleSolidIcon.js +4 -2
- package/lib/General/Icon/components/MinusIcon.js +4 -2
- package/lib/General/Icon/components/MoreHorizontalIcon.js +4 -2
- package/lib/General/Icon/components/MoreIcon.js +4 -2
- package/lib/General/Icon/components/NameTagIcon.js +4 -2
- package/lib/General/Icon/components/NotificationIcon.js +4 -2
- package/lib/General/Icon/components/NumberListIcon.js +4 -2
- package/lib/General/Icon/components/OnlineIcon.js +4 -2
- package/lib/General/Icon/components/PdfIcon.js +4 -2
- package/lib/General/Icon/components/PdfOutlineIcon.js +4 -2
- package/lib/General/Icon/components/PhoneIcon.js +4 -2
- package/lib/General/Icon/components/PowerIcon.js +4 -2
- package/lib/General/Icon/components/PuzzleIcon.js +4 -2
- package/lib/General/Icon/components/QuestionOutlineIcon.js +4 -2
- package/lib/General/Icon/components/QuotationIcon.js +4 -2
- package/lib/General/Icon/components/RefreshSolidIcon.js +4 -2
- package/lib/General/Icon/components/ReplyIcon.js +4 -2
- package/lib/General/Icon/components/ResumeOutlineIcon.js +4 -2
- package/lib/General/Icon/components/RotateIcon.js +4 -2
- package/lib/General/Icon/components/RssIcon.js +4 -2
- package/lib/General/Icon/components/SalaryIcon.js +4 -2
- package/lib/General/Icon/components/SaveSolidIcon.js +4 -2
- package/lib/General/Icon/components/SearchIcon.js +4 -2
- package/lib/General/Icon/components/SendIcon.js +4 -2
- package/lib/General/Icon/components/SettingIcon.js +4 -2
- package/lib/General/Icon/components/SettingSolidIcon.js +4 -2
- package/lib/General/Icon/components/ShareArrowIcon.js +4 -2
- package/lib/General/Icon/components/ShareArrowOutlineIcon.js +4 -2
- package/lib/General/Icon/components/ShareIcon.js +4 -2
- package/lib/General/Icon/components/ShareOutlineIcon.js +4 -2
- package/lib/General/Icon/components/ShareScreenIcon.js +4 -2
- package/lib/General/Icon/components/ShieldCheckIcon.js +4 -2
- package/lib/General/Icon/components/SpeakerIcon.js +4 -2
- package/lib/General/Icon/components/SpeechBubbleIcon.js +4 -2
- package/lib/General/Icon/components/SpeechBubbleOutlineIcon.js +4 -2
- package/lib/General/Icon/components/SpinnerIcon.js +4 -2
- package/lib/General/Icon/components/StackIcon.js +4 -2
- package/lib/General/Icon/components/StarCircleIcon.js +4 -2
- package/lib/General/Icon/components/StarIcon.js +4 -2
- package/lib/General/Icon/components/StarOutlineIcon.js +4 -2
- package/lib/General/Icon/components/TagIcon.js +4 -2
- package/lib/General/Icon/components/TaskIcon.js +4 -2
- package/lib/General/Icon/components/TelegramIcon.js +4 -2
- package/lib/General/Icon/components/ThumbsUpIcon.js +4 -2
- package/lib/General/Icon/components/ThumbsUpOutlineIcon.js +4 -2
- package/lib/General/Icon/components/TicketSolidIcon.js +4 -2
- package/lib/General/Icon/components/TieIcon.js +4 -2
- package/lib/General/Icon/components/TrashIcon.js +4 -2
- package/lib/General/Icon/components/TvPlayIcon.js +4 -2
- package/lib/General/Icon/components/TwitterIcon.js +4 -2
- package/lib/General/Icon/components/UploadIcon.js +4 -2
- package/lib/General/Icon/components/UpvoteIcon.js +4 -2
- package/lib/General/Icon/components/UserCogIcon.js +4 -2
- package/lib/General/Icon/components/UserIcon.js +4 -2
- package/lib/General/Icon/components/UserWrenchIcon.js +4 -2
- package/lib/General/Icon/components/VideoIcon.js +4 -2
- package/lib/General/Icon/components/VideoOffIcon.js +4 -2
- package/lib/General/Icon/components/ViewIcon.js +4 -2
- package/lib/General/Icon/components/VimeoIcon.js +4 -2
- package/lib/General/Icon/components/WarningCircleSolidIcon.js +4 -2
- package/lib/General/Icon/components/WarningIcon.js +4 -2
- package/lib/General/Icon/components/WarningOutlineIcon.js +4 -2
- package/lib/General/Icon/components/WarningSolidIcon.js +4 -2
- package/lib/General/Icon/components/WhatsappIcon.js +4 -2
- package/lib/General/Icon/components/YoutubeIcon.js +4 -2
- package/lib/General/Icon/components/ZaloIcon.js +4 -2
- package/lib/General/Icon/components/index.js +2 -2
- package/lib/General/Loading/Loading.stories.js +5 -3
- package/lib/General/Loading/LoadingStyle.js +6 -4
- package/lib/General/ProfilePicture/ProfilePicture.d.ts +2 -2
- package/lib/General/ProfilePicture/ProfilePicture.js +7 -3
- package/lib/General/ProfilePicture/ProfilePicture.stories.js +1 -1
- package/lib/General/ProfilePicture/ProfilePictureStyle.js +3 -3
- package/lib/General/Tag/ActionTags/AddTag.js +1 -1
- package/lib/General/Tag/ActionTags/ResetTag.js +1 -1
- package/lib/General/Tag/BasicTag.d.ts +2 -2
- package/lib/General/Tag/BasicTag.js +7 -3
- package/lib/General/Tag/Tag.js +7 -3
- package/lib/General/Tag/Tag.stories.js +1 -1
- package/lib/General/Tag/TagStyle.js +1 -1
- package/lib/General/Typography/Paragraph.js +7 -3
- package/lib/General/Typography/Paragraph.stories.js +1 -1
- package/lib/General/Typography/ParagraphStyles.js +1 -1
- package/lib/General/Typography/Title.js +7 -3
- package/lib/General/Typography/Title.stories.js +1 -1
- package/lib/General/Typography/TitleStyles.js +1 -1
- package/lib/General/Typography/Typography.js +4 -2
- package/lib/Input/Checkbox/Checkbox.js +7 -3
- package/lib/Input/Checkbox/Checkbox.stories.js +5 -3
- package/lib/Input/Checkbox/CheckboxStyle.js +1 -1
- package/lib/Input/Datepicker/Datepicker.d.ts +1 -1
- package/lib/Input/Datepicker/Datepicker.js +4 -2
- package/lib/Input/Datepicker/DatepickerStyle.js +13 -13
- package/lib/Input/DownshiftSelect/Select.js +10 -6
- package/lib/Input/DownshiftSelect/Select.stories.js +13 -11
- package/lib/Input/DownshiftSelect/SelectStyle.js +17 -17
- package/lib/Input/NumberInput/NumberInput.d.ts +2 -2
- package/lib/Input/NumberInput/NumberInput.js +4 -2
- package/lib/Input/NumberInput/NumberInput.stories.js +5 -3
- package/lib/Input/PhoneNumberInput/PhoneNumberInput.js +9 -5
- package/lib/Input/PhoneNumberInput/PhoneNumberInput.stories.js +5 -3
- package/lib/Input/PhoneNumberInput/PhoneNumberInputStyles.js +5 -3
- package/lib/Input/RadioButton/RadioButton.d.ts +1 -1
- package/lib/Input/RadioButton/RadioButton.js +7 -3
- package/lib/Input/RadioButton/RadioButton.stories.js +1 -1
- package/lib/Input/RadioButton/RadioButtonStyle.js +5 -3
- package/lib/Input/SearchFilter/SearchFilterStyle.js +1 -1
- package/lib/Input/Select/Select.d.ts +2 -2
- package/lib/Input/Select/Select.js +18 -14
- package/lib/Input/Select/Select.stories.js +1 -1
- package/lib/Input/Select/SelectItem.d.ts +2 -2
- package/lib/Input/Select/SelectItem.js +7 -3
- package/lib/Input/Select/SelectList.js +7 -3
- package/lib/Input/Select/SelectStyle.js +8 -8
- package/lib/Input/TextField/TextField.d.ts +63 -3
- package/lib/Input/TextField/TextField.js +9 -5
- package/lib/Input/TextField/TextField.stories.js +5 -3
- package/lib/Input/TextField/TextFieldStyle.js +1 -1
- package/lib/Input/Textarea/Textarea.js +3 -2
- package/lib/Input/Textarea/Textarea.stories.js +5 -3
- package/lib/Input/Textarea/TextareaStyle.js +1 -1
- package/lib/Input/ToggleSwitch/Styles.js +3 -3
- package/lib/Input/ToggleSwitch/ToggleSwitch.js +7 -3
- package/lib/Input/ToggleSwitch/ToggleSwitch.stories.js +1 -1
- package/lib/Layout/Box/Box.stories.js +5 -3
- package/lib/Layout/Box/BoxStoryStyle.js +1 -1
- package/lib/Layout/Box/constants.js +2 -2
- package/lib/Layout/Box/index.js +6 -4
- package/lib/Layout/Flex/Flex.stories.js +7 -5
- package/lib/Layout/Flex/FlexStoryStyle.js +3 -3
- package/lib/Layout/Flex/index.d.ts +3 -1
- package/lib/Layout/Flex/index.js +8 -4
- package/lib/Layout/GlintsContainer/GlintsContainer.js +5 -3
- package/lib/Layout/Grid/Col.js +7 -3
- package/lib/Layout/Grid/Row.js +7 -3
- package/lib/Navigation/Breadcrumb/Breadcrumb.d.ts +2 -2
- package/lib/Navigation/Breadcrumb/Breadcrumb.js +7 -3
- package/lib/Navigation/Breadcrumb/Breadcrumb.stories.js +1 -1
- package/lib/Navigation/Breadcrumb/BreadcrumbItem.d.ts +2 -2
- package/lib/Navigation/Breadcrumb/BreadcrumbItem.js +7 -3
- package/lib/Navigation/Breadcrumb/BreadcrumbStyle.js +3 -3
- package/lib/Navigation/Drawer/Drawer.d.ts +1 -1
- package/lib/Navigation/Drawer/Drawer.js +8 -4
- package/lib/Navigation/Drawer/Drawer.stories.js +5 -3
- package/lib/Navigation/Drawer/DrawerStyle.js +4 -2
- package/lib/Navigation/Dropdown/Dropdown.js +7 -3
- package/lib/Navigation/Dropdown/Dropdown.stories.js +1 -1
- package/lib/Navigation/Dropdown/DropdownItem.d.ts +2 -2
- package/lib/Navigation/Dropdown/DropdownItem.js +7 -3
- package/lib/Navigation/Dropdown/DropdownStyle.js +1 -1
- package/lib/Utils/Colors.js +1 -1
- package/lib/Utils/ColorsStoriesHelpers.js +1 -1
- package/lib/Utils/DelayedUnmount.js +4 -2
- package/lib/Utils/Icon/IconLibrary.js +4 -2
- package/lib/Utils/Icon/generateIcons.js +4 -2
- package/lib/Utils/Shadow/ShadowsStoriesHelpers.js +3 -3
- package/lib/Utils/StyleConfig.js +1 -1
- package/lib/index.js +3 -3
- package/lib/stories/story-components/AriesStatus.js +4 -2
- package/package.json +31 -35
|
@@ -4,7 +4,7 @@ import { BadgeVariant } from './BadgeVariant';
|
|
|
4
4
|
import { Spacing } from '../../Layout/Spacing';
|
|
5
5
|
export var BadgeContainer = styled.div.withConfig({
|
|
6
6
|
displayName: "BadgeStyle__BadgeContainer",
|
|
7
|
-
componentId: "vaj8hs-0"
|
|
7
|
+
componentId: "sc-vaj8hs-0"
|
|
8
8
|
})(["position:relative;display:inline-flex;color:", ";", " border-radius:3px;margin:0 ", "px;padding:0 ", "px;height:17px;min-width:18px;align-items:center;justify-content:center;span{font-size:12px;font-weight:700;text-align:center;}"], Greyscale.white, function (_ref) {
|
|
9
9
|
var variant = _ref.variant;
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { BrandContainer } from './BrandStyle';
|
|
3
3
|
declare const Brand: ({ alt, asset, className, rightClickURL, onContextMenu, ...defaultProps }: Props) => JSX.Element;
|
|
4
|
-
export
|
|
4
|
+
export declare type Props = React.ComponentPropsWithoutRef<typeof BrandContainer> & {
|
|
5
5
|
/** There are 3 available values for asset props. The first and second one are Glints logo, but you can also custom the logo by parsing url or path of the logo. */
|
|
6
6
|
asset: string;
|
|
7
7
|
/** HTML <img> alt Attribute */
|
|
@@ -11,5 +11,5 @@ export interface Props extends React.ComponentPropsWithoutRef<typeof BrandContai
|
|
|
11
11
|
rightClickURL?: string;
|
|
12
12
|
/** Executes when the user right-clicks on the component */
|
|
13
13
|
onContextMenu?(): void;
|
|
14
|
-
}
|
|
14
|
+
};
|
|
15
15
|
export default Brand;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["alt", "asset", "className", "rightClickURL", "onContextMenu"];
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
6
|
import { BrandContainer, BrandImage } from './BrandStyle';
|
|
@@ -14,7 +15,7 @@ var Brand = function Brand(_ref) {
|
|
|
14
15
|
className = _ref.className,
|
|
15
16
|
rightClickURL = _ref.rightClickURL,
|
|
16
17
|
onContextMenu = _ref.onContextMenu,
|
|
17
|
-
defaultProps = _objectWithoutPropertiesLoose(_ref,
|
|
18
|
+
defaultProps = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
18
19
|
|
|
19
20
|
var handleRightClick = function handleRightClick(e) {
|
|
20
21
|
if (rightClickURL) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
export var BrandContainer = styled.div.withConfig({
|
|
3
3
|
displayName: "BrandStyle__BrandContainer",
|
|
4
|
-
componentId: "xckggx-0"
|
|
4
|
+
componentId: "sc-xckggx-0"
|
|
5
5
|
})(["position:relative;display:inline-flex;cursor:pointer;&:focus{outline:none;}&:focus > img{outline:5px auto -webkit-focus-ring-color;}"]);
|
|
6
6
|
export var BrandImage = styled.img.withConfig({
|
|
7
7
|
displayName: "BrandStyle__BrandImage",
|
|
8
|
-
componentId: "xckggx-1"
|
|
8
|
+
componentId: "sc-xckggx-1"
|
|
9
9
|
})(["object-fit:contain;width:3em;height:3em;outline:none;"]);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["children", "block", "className", "disabled", "onClick", "small", "variant", "startIcon", "endIcon", "theme", "forwardedRef"];
|
|
3
4
|
|
|
4
5
|
var _SOLID_BUTTON_THEME_M;
|
|
5
6
|
|
|
@@ -44,7 +45,7 @@ export var Button = function Button(_ref) {
|
|
|
44
45
|
endIcon = _ref.endIcon,
|
|
45
46
|
theme = _ref.theme,
|
|
46
47
|
forwardedRef = _ref.forwardedRef,
|
|
47
|
-
defaultProps = _objectWithoutPropertiesLoose(_ref,
|
|
48
|
+
defaultProps = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
48
49
|
|
|
49
50
|
var content = /*#__PURE__*/React.createElement(React.Fragment, null, startIcon && /*#__PURE__*/React.createElement(StartIconContainer, null, startIcon), children, endIcon && /*#__PURE__*/React.createElement(EndIconContainer, null, endIcon));
|
|
50
51
|
var transformedVariant = transformVariant(variant, theme);
|
|
@@ -5,7 +5,7 @@ var generalButtonPadding = [15, 40];
|
|
|
5
5
|
var smallButtonPadding = [10, 20];
|
|
6
6
|
var Button = styled.button.withConfig({
|
|
7
7
|
displayName: "ButtonStyle__Button",
|
|
8
|
-
componentId: "jyb3o2-0"
|
|
8
|
+
componentId: "sc-jyb3o2-0"
|
|
9
9
|
})(["display:flex;position:relative;align-items:center;justify-content:center;border:none;text-transform:uppercase;outline:none;cursor:pointer;font-weight:bold;font-size:", ";line-height:1.5;padding:", ";background:transparent;transition:all 0.2s;text-decoration:none;", ""], function (_ref) {
|
|
10
10
|
var small = _ref.small;
|
|
11
11
|
return small ? '14px' : '16px';
|
|
@@ -25,7 +25,7 @@ var Button = styled.button.withConfig({
|
|
|
25
25
|
|
|
26
26
|
export var SolidBtn = styled(Button).withConfig({
|
|
27
27
|
displayName: "ButtonStyle__SolidBtn",
|
|
28
|
-
componentId: "jyb3o2-1"
|
|
28
|
+
componentId: "sc-jyb3o2-1"
|
|
29
29
|
})(["width:", ";border-radius:", ";&:active{background-color:", ";color:", ";}", " ", " &:hover{text-decoration:none;", "}"], function (_ref4) {
|
|
30
30
|
var block = _ref4.block;
|
|
31
31
|
return block && '100%';
|
|
@@ -55,7 +55,7 @@ export var SolidBtn = styled(Button).withConfig({
|
|
|
55
55
|
});
|
|
56
56
|
export var SolidBtnContainer = styled.div.withConfig({
|
|
57
57
|
displayName: "ButtonStyle__SolidBtnContainer",
|
|
58
|
-
componentId: "jyb3o2-2"
|
|
58
|
+
componentId: "sc-jyb3o2-2"
|
|
59
59
|
})(["position:relative;display:", ";z-index:1;border-radius:", ";", " &:hover{", "{", "}}&:active{", "{", "}}"], function (_ref8) {
|
|
60
60
|
var block = _ref8.block;
|
|
61
61
|
return block ? 'flex' : 'inline-flex';
|
|
@@ -86,7 +86,7 @@ export var SolidBtnContainer = styled.div.withConfig({
|
|
|
86
86
|
|
|
87
87
|
export var SolidShadowBtn = styled(Button).withConfig({
|
|
88
88
|
displayName: "ButtonStyle__SolidShadowBtn",
|
|
89
|
-
componentId: "jyb3o2-3"
|
|
89
|
+
componentId: "sc-jyb3o2-3"
|
|
90
90
|
})(["transition:all 0.2s;cursor:pointer;position:relative;width:100%;&:hover{text-decoration:none;}", ""], function (props) {
|
|
91
91
|
if (props.disabled) {
|
|
92
92
|
return "\n background-color: " + Greyscale.lightgrey + ";\n color: " + Greyscale.white + ";\n ";
|
|
@@ -96,7 +96,7 @@ export var SolidShadowBtn = styled(Button).withConfig({
|
|
|
96
96
|
});
|
|
97
97
|
export var SolidShadowContainer = styled.div.withConfig({
|
|
98
98
|
displayName: "ButtonStyle__SolidShadowContainer",
|
|
99
|
-
componentId: "jyb3o2-4"
|
|
99
|
+
componentId: "sc-jyb3o2-4"
|
|
100
100
|
})(["position:relative;display:", ";z-index:1;cursor:pointer;&:hover{", "}&:active{", " ", "{", "}}&:before{content:'';width:100%;height:100%;position:absolute;top:5px;left:5px;transition:all 0.2s;", "}&:hover:before{", "}&:active:before{", "}"], function (_ref11) {
|
|
101
101
|
var block = _ref11.block;
|
|
102
102
|
return block ? 'flex' : 'inline-flex';
|
|
@@ -143,7 +143,7 @@ export var SolidShadowContainer = styled.div.withConfig({
|
|
|
143
143
|
|
|
144
144
|
export var GhostBtn = styled(Button).withConfig({
|
|
145
145
|
displayName: "ButtonStyle__GhostBtn",
|
|
146
|
-
componentId: "jyb3o2-5"
|
|
146
|
+
componentId: "sc-jyb3o2-5"
|
|
147
147
|
})(["transition:background-color 0.5s;width:", ";background:", ";padding:", ";border:2px solid ", ";color:", ";border-radius:", ";&:hover{transition:background-color 0.5s;text-decoration:none;", "}", ""], function (_ref12) {
|
|
148
148
|
var block = _ref12.block;
|
|
149
149
|
return block && '100%';
|
|
@@ -168,7 +168,7 @@ export var GhostBtn = styled(Button).withConfig({
|
|
|
168
168
|
});
|
|
169
169
|
export var GhostBtnContainer = styled.div.withConfig({
|
|
170
170
|
displayName: "ButtonStyle__GhostBtnContainer",
|
|
171
|
-
componentId: "jyb3o2-6"
|
|
171
|
+
componentId: "sc-jyb3o2-6"
|
|
172
172
|
})(["position:relative;display:", ";z-index:1;", " ", "{", "}"], function (_ref17) {
|
|
173
173
|
var block = _ref17.block;
|
|
174
174
|
return block ? 'flex' : 'inline-flex';
|
|
@@ -192,7 +192,7 @@ export var GhostBtnContainer = styled.div.withConfig({
|
|
|
192
192
|
|
|
193
193
|
export var WhiteGreyBtn = styled(Button).withConfig({
|
|
194
194
|
displayName: "ButtonStyle__WhiteGreyBtn",
|
|
195
|
-
componentId: "jyb3o2-7"
|
|
195
|
+
componentId: "sc-jyb3o2-7"
|
|
196
196
|
})(["width:", ";", ""], function (_ref20) {
|
|
197
197
|
var block = _ref20.block;
|
|
198
198
|
return block && '100%';
|
|
@@ -212,7 +212,7 @@ export var WhiteGreyBtn = styled(Button).withConfig({
|
|
|
212
212
|
|
|
213
213
|
export var LinkBtn = styled(Button).withConfig({
|
|
214
214
|
displayName: "ButtonStyle__LinkBtn",
|
|
215
|
-
componentId: "jyb3o2-8"
|
|
215
|
+
componentId: "sc-jyb3o2-8"
|
|
216
216
|
})(["font-weight:normal;text-transform:inherit;width:", ";padding:0;justify-content:flex-start;color:", ";", ""], function (_ref22) {
|
|
217
217
|
var block = _ref22.block;
|
|
218
218
|
return block && '100%';
|
|
@@ -227,9 +227,9 @@ export var LinkBtn = styled(Button).withConfig({
|
|
|
227
227
|
});
|
|
228
228
|
export var StartIconContainer = styled.span.withConfig({
|
|
229
229
|
displayName: "ButtonStyle__StartIconContainer",
|
|
230
|
-
componentId: "jyb3o2-9"
|
|
230
|
+
componentId: "sc-jyb3o2-9"
|
|
231
231
|
})(["display:inline-flex;margin-right:10px;"]);
|
|
232
232
|
export var EndIconContainer = styled.span.withConfig({
|
|
233
233
|
displayName: "ButtonStyle__EndIconContainer",
|
|
234
|
-
componentId: "jyb3o2-10"
|
|
234
|
+
componentId: "sc-jyb3o2-10"
|
|
235
235
|
})(["display:inline-flex;margin-left:10px;"]);
|
|
@@ -1,14 +1,41 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<(Pick<Pick<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
[x: number]: any;
|
|
5
|
+
[x: symbol]: any;
|
|
6
|
+
} & {
|
|
7
|
+
theme?: any;
|
|
8
|
+
} & {
|
|
9
|
+
as?: string | React.ComponentType<any>;
|
|
10
|
+
forwardedAs?: string | React.ComponentType<any>;
|
|
11
|
+
}, string | number | symbol> & {
|
|
4
12
|
children: React.ReactNode;
|
|
5
13
|
className?: string;
|
|
6
14
|
theme?: string;
|
|
7
15
|
disabled?: boolean;
|
|
8
16
|
block?: boolean;
|
|
9
17
|
small?: boolean;
|
|
10
|
-
tag?: React.ElementType
|
|
18
|
+
tag?: React.ElementType<any>;
|
|
11
19
|
isRoundedCorner?: boolean;
|
|
12
|
-
}
|
|
13
|
-
|
|
20
|
+
}, string | number | symbol> | Pick<Pick<{
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
[x: number]: any;
|
|
23
|
+
[x: symbol]: any;
|
|
24
|
+
} & {
|
|
25
|
+
theme?: any;
|
|
26
|
+
} & {
|
|
27
|
+
children?: React.ReactNode;
|
|
28
|
+
} & {
|
|
29
|
+
as?: string | React.ComponentType<any>;
|
|
30
|
+
forwardedAs?: string | React.ComponentType<any>;
|
|
31
|
+
}, string | number | symbol> & {
|
|
32
|
+
children: React.ReactNode;
|
|
33
|
+
className?: string;
|
|
34
|
+
theme?: string;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
block?: boolean;
|
|
37
|
+
small?: boolean;
|
|
38
|
+
tag?: React.ElementType<any>;
|
|
39
|
+
isRoundedCorner?: boolean;
|
|
40
|
+
}, string | number | symbol>) & React.RefAttributes<HTMLButtonElement>>;
|
|
14
41
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["children", "className", "theme", "disabled", "block", "small", "tag", "isRoundedCorner", "forwardedRef"];
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
6
|
import { GhostBtnContainer, GhostBtn } from './ButtonStyle';
|
|
@@ -14,7 +15,7 @@ var GhostButton = function GhostButton(_ref) {
|
|
|
14
15
|
tag = _ref.tag,
|
|
15
16
|
isRoundedCorner = _ref.isRoundedCorner,
|
|
16
17
|
forwardedRef = _ref.forwardedRef,
|
|
17
|
-
defaultProps = _objectWithoutPropertiesLoose(_ref,
|
|
18
|
+
defaultProps = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
18
19
|
|
|
19
20
|
return /*#__PURE__*/React.createElement(GhostBtnContainer, {
|
|
20
21
|
className: classNames('aries-ghostbtn', className),
|
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<(Pick<Pick<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
[x: number]: any;
|
|
5
|
+
[x: symbol]: any;
|
|
6
|
+
} & {
|
|
7
|
+
theme?: any;
|
|
8
|
+
} & {
|
|
9
|
+
as?: string | React.ComponentType<any>;
|
|
10
|
+
forwardedAs?: string | React.ComponentType<any>;
|
|
11
|
+
}, string | number | symbol> & {
|
|
4
12
|
children: React.ReactNode;
|
|
5
13
|
className: string;
|
|
6
14
|
block?: boolean;
|
|
7
|
-
tag?: React.ElementType
|
|
8
|
-
}
|
|
9
|
-
|
|
15
|
+
tag?: React.ElementType<any>;
|
|
16
|
+
}, string | number | symbol> | Pick<Pick<{
|
|
17
|
+
[x: string]: any;
|
|
18
|
+
[x: number]: any;
|
|
19
|
+
[x: symbol]: any;
|
|
20
|
+
} & {
|
|
21
|
+
theme?: any;
|
|
22
|
+
} & {
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
} & {
|
|
25
|
+
as?: string | React.ComponentType<any>;
|
|
26
|
+
forwardedAs?: string | React.ComponentType<any>;
|
|
27
|
+
}, string | number | symbol> & {
|
|
28
|
+
children: React.ReactNode;
|
|
29
|
+
className: string;
|
|
30
|
+
block?: boolean;
|
|
31
|
+
tag?: React.ElementType<any>;
|
|
32
|
+
}, string | number | symbol>) & React.RefAttributes<HTMLButtonElement>>;
|
|
10
33
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["children", "className", "tag", "forwardedRef"];
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
6
|
import { LinkBtn } from './ButtonStyle';
|
|
@@ -9,7 +10,7 @@ var LinkButton = function LinkButton(_ref) {
|
|
|
9
10
|
className = _ref.className,
|
|
10
11
|
tag = _ref.tag,
|
|
11
12
|
forwardedRef = _ref.forwardedRef,
|
|
12
|
-
defaultProps = _objectWithoutPropertiesLoose(_ref,
|
|
13
|
+
defaultProps = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
13
14
|
|
|
14
15
|
return /*#__PURE__*/React.createElement(LinkBtn, _extends({
|
|
15
16
|
ref: forwardedRef,
|
|
@@ -1,14 +1,41 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<(Pick<Pick<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
[x: number]: any;
|
|
5
|
+
[x: symbol]: any;
|
|
6
|
+
} & {
|
|
7
|
+
theme?: any;
|
|
8
|
+
} & {
|
|
9
|
+
as?: string | React.ComponentType<any>;
|
|
10
|
+
forwardedAs?: string | React.ComponentType<any>;
|
|
11
|
+
}, string | number | symbol> & {
|
|
4
12
|
children: React.ReactNode;
|
|
5
13
|
className?: string;
|
|
6
14
|
theme?: string;
|
|
7
15
|
disabled?: boolean;
|
|
8
16
|
block?: boolean;
|
|
9
17
|
small?: boolean;
|
|
10
|
-
tag?: React.ElementType
|
|
18
|
+
tag?: React.ElementType<any>;
|
|
11
19
|
isRoundedCorner?: boolean;
|
|
12
|
-
}
|
|
13
|
-
|
|
20
|
+
}, string | number | symbol> | Pick<Pick<{
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
[x: number]: any;
|
|
23
|
+
[x: symbol]: any;
|
|
24
|
+
} & {
|
|
25
|
+
theme?: any;
|
|
26
|
+
} & {
|
|
27
|
+
children?: React.ReactNode;
|
|
28
|
+
} & {
|
|
29
|
+
as?: string | React.ComponentType<any>;
|
|
30
|
+
forwardedAs?: string | React.ComponentType<any>;
|
|
31
|
+
}, string | number | symbol> & {
|
|
32
|
+
children: React.ReactNode;
|
|
33
|
+
className?: string;
|
|
34
|
+
theme?: string;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
block?: boolean;
|
|
37
|
+
small?: boolean;
|
|
38
|
+
tag?: React.ElementType<any>;
|
|
39
|
+
isRoundedCorner?: boolean;
|
|
40
|
+
}, string | number | symbol>) & React.RefAttributes<HTMLButtonElement>>;
|
|
14
41
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["children", "className", "theme", "disabled", "block", "small", "tag", "forwardedRef", "isRoundedCorner"];
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
6
|
import { SolidBtnContainer, SolidBtn } from './ButtonStyle';
|
|
@@ -14,7 +15,7 @@ var SolidButton = function SolidButton(_ref) {
|
|
|
14
15
|
tag = _ref.tag,
|
|
15
16
|
forwardedRef = _ref.forwardedRef,
|
|
16
17
|
isRoundedCorner = _ref.isRoundedCorner,
|
|
17
|
-
defaultProps = _objectWithoutPropertiesLoose(_ref,
|
|
18
|
+
defaultProps = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
18
19
|
|
|
19
20
|
return /*#__PURE__*/React.createElement(SolidBtnContainer, {
|
|
20
21
|
className: classNames('aries-solid-btn', className),
|
|
@@ -1,13 +1,39 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<(Pick<Pick<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
[x: number]: any;
|
|
5
|
+
[x: symbol]: any;
|
|
6
|
+
} & {
|
|
7
|
+
theme?: any;
|
|
8
|
+
} & {
|
|
9
|
+
as?: string | React.ComponentType<any>;
|
|
10
|
+
forwardedAs?: string | React.ComponentType<any>;
|
|
11
|
+
}, string | number | symbol> & {
|
|
4
12
|
children: React.ReactNode;
|
|
5
13
|
className: string;
|
|
6
14
|
theme?: string;
|
|
7
15
|
disabled?: boolean;
|
|
8
16
|
block?: boolean;
|
|
9
17
|
small?: boolean;
|
|
10
|
-
tag?: React.ElementType
|
|
11
|
-
}
|
|
12
|
-
|
|
18
|
+
tag?: React.ElementType<any>;
|
|
19
|
+
}, string | number | symbol> | Pick<Pick<{
|
|
20
|
+
[x: string]: any;
|
|
21
|
+
[x: number]: any;
|
|
22
|
+
[x: symbol]: any;
|
|
23
|
+
} & {
|
|
24
|
+
theme?: any;
|
|
25
|
+
} & {
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
} & {
|
|
28
|
+
as?: string | React.ComponentType<any>;
|
|
29
|
+
forwardedAs?: string | React.ComponentType<any>;
|
|
30
|
+
}, string | number | symbol> & {
|
|
31
|
+
children: React.ReactNode;
|
|
32
|
+
className: string;
|
|
33
|
+
theme?: string;
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
block?: boolean;
|
|
36
|
+
small?: boolean;
|
|
37
|
+
tag?: React.ElementType<any>;
|
|
38
|
+
}, string | number | symbol>) & React.RefAttributes<HTMLButtonElement>>;
|
|
13
39
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["children", "className", "theme", "disabled", "block", "small", "tag", "forwardedRef"];
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
6
|
import { SolidShadowContainer, SolidShadowBtn } from './ButtonStyle';
|
|
@@ -13,7 +14,7 @@ var SolidShadowButton = function SolidShadowButton(_ref) {
|
|
|
13
14
|
small = _ref.small,
|
|
14
15
|
tag = _ref.tag,
|
|
15
16
|
forwardedRef = _ref.forwardedRef,
|
|
16
|
-
defaultProps = _objectWithoutPropertiesLoose(_ref,
|
|
17
|
+
defaultProps = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
17
18
|
|
|
18
19
|
return /*#__PURE__*/React.createElement(SolidShadowContainer, {
|
|
19
20
|
className: classNames('aries-solid-shadow-btn', className),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["theme", "className"];
|
|
3
4
|
import React from 'react';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
6
|
import { DividerContainer } from './DividerStyle';
|
|
@@ -12,7 +13,7 @@ export var Divider = function Divider(_ref) {
|
|
|
12
13
|
var _ref$theme = _ref.theme,
|
|
13
14
|
theme = _ref$theme === void 0 ? 'default' : _ref$theme,
|
|
14
15
|
className = _ref.className,
|
|
15
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
16
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
16
17
|
|
|
17
18
|
return /*#__PURE__*/React.createElement(DividerContainer, _extends({}, props, {
|
|
18
19
|
className: classNames('aries-divider', className),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["className", "inline", "children", "uppercaseText"];
|
|
3
4
|
import React from 'react';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
6
|
import { HeadingContainer } from './HeadingStyle';
|
|
@@ -10,7 +11,7 @@ export var Heading = function Heading(props) {
|
|
|
10
11
|
children = props.children,
|
|
11
12
|
_props$uppercaseText = props.uppercaseText,
|
|
12
13
|
uppercaseText = _props$uppercaseText === void 0 ? false : _props$uppercaseText,
|
|
13
|
-
defaultProps = _objectWithoutPropertiesLoose(props,
|
|
14
|
+
defaultProps = _objectWithoutPropertiesLoose(props, _excluded);
|
|
14
15
|
|
|
15
16
|
return /*#__PURE__*/React.createElement(HeadingContainer, _extends({
|
|
16
17
|
role: "heading",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
2
|
+
var _excluded = ["children"];
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import { Heading } from './Heading';
|
|
4
5
|
import { BaseContainer } from '../../Layout/GlintsContainer/GlintsContainer';
|
|
@@ -12,7 +13,7 @@ export default {
|
|
|
12
13
|
|
|
13
14
|
var Template = function Template(_ref) {
|
|
14
15
|
var children = _ref.children,
|
|
15
|
-
args = _objectWithoutPropertiesLoose(_ref,
|
|
16
|
+
args = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
16
17
|
|
|
17
18
|
return /*#__PURE__*/React.createElement(Heading, args, children || 'Glints Aries');
|
|
18
19
|
};
|
package/es/General/Icon/Icon.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["className", "children", "color", "width", "height", "onClick", "size"];
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import { VerticalCenteredSvg } from './IconStyle';
|
|
5
6
|
export var iconSizeMap = {
|
|
@@ -24,7 +25,7 @@ var Icon = function Icon(props) {
|
|
|
24
25
|
height = _props$height === void 0 ? '1em' : _props$height,
|
|
25
26
|
onClick = props.onClick,
|
|
26
27
|
size = props.size,
|
|
27
|
-
restProps = _objectWithoutPropertiesLoose(props,
|
|
28
|
+
restProps = _objectWithoutPropertiesLoose(props, _excluded);
|
|
28
29
|
|
|
29
30
|
return /*#__PURE__*/React.createElement(VerticalCenteredSvg, _extends({
|
|
30
31
|
"data-testid": "icon-svg",
|
|
@@ -4,9 +4,9 @@ var spin = keyframes(["0%{transform:rotate(0deg);}100%{transform:rotate(360deg);
|
|
|
4
4
|
var spinnerGlobal = css(["content:'';position:absolute;width:100%;height:100%;border-radius:100%;border:0.35em solid transparent;border-top-color:", ";"], Greyscale.white);
|
|
5
5
|
export var LoadingContainer = styled.div.withConfig({
|
|
6
6
|
displayName: "LoadingStyle__LoadingContainer",
|
|
7
|
-
componentId: "fg2qx3-0"
|
|
7
|
+
componentId: "sc-fg2qx3-0"
|
|
8
8
|
})(["position:relative;display:inline-flex;"]);
|
|
9
9
|
export var Spinner = styled.div.withConfig({
|
|
10
10
|
displayName: "LoadingStyle__Spinner",
|
|
11
|
-
componentId: "fg2qx3-1"
|
|
11
|
+
componentId: "sc-fg2qx3-1"
|
|
12
12
|
})(["position:relative;display:flex;justify-content:center;align-items:center;width:2em;height:2em;&:before{", ";z-index:100;animation:", " 1s infinite;}&:after{", ";border:0.35em solid ", ";}"], spinnerGlobal, spin, spinnerGlobal, SecondaryColor.actionblue);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ProfilePictureContainer } from './ProfilePictureStyle';
|
|
3
3
|
declare const ProfilePicture: ({ editable, children, className, ...defaultProps }: Props) => JSX.Element;
|
|
4
|
-
export
|
|
4
|
+
export declare type Props = React.ComponentPropsWithoutRef<typeof ProfilePictureContainer> & {
|
|
5
5
|
/** Showing edit icon when it's hovered. */
|
|
6
6
|
editable?: boolean;
|
|
7
7
|
children: React.ReactNode;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
export default ProfilePicture;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["editable", "children", "className"];
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
6
|
import { EditIcon } from '../Icon/components';
|
|
@@ -9,7 +10,7 @@ var ProfilePicture = function ProfilePicture(_ref) {
|
|
|
9
10
|
var editable = _ref.editable,
|
|
10
11
|
children = _ref.children,
|
|
11
12
|
className = _ref.className,
|
|
12
|
-
defaultProps = _objectWithoutPropertiesLoose(_ref,
|
|
13
|
+
defaultProps = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
13
14
|
|
|
14
15
|
var _React$useState = React.useState(false),
|
|
15
16
|
isHover = _React$useState[0],
|
|
@@ -4,7 +4,7 @@ var CrossPattern = require('../../../assets/image/cross-pattern.svg');
|
|
|
4
4
|
|
|
5
5
|
export var ProfilePictureContent = styled.div.withConfig({
|
|
6
6
|
displayName: "ProfilePictureStyle__ProfilePictureContent",
|
|
7
|
-
componentId: "lrsiz1-0"
|
|
7
|
+
componentId: "sc-lrsiz1-0"
|
|
8
8
|
})(["position:relative;z-index:1;width:5em;height:5em;border-radius:50%;svg{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);}", " &:after{content:'';position:absolute;z-index:-1;background:url(", ");height:100%;width:100%;border-radius:50%;top:4px;left:4px;}img{object-fit:cover;border-radius:50%;width:100%;height:100%;z-index:1;}"], function (_ref) {
|
|
9
9
|
var editable = _ref.editable;
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ export var ProfilePictureContent = styled.div.withConfig({
|
|
|
14
14
|
}, CrossPattern);
|
|
15
15
|
export var ProfilePictureContainer = styled.div.withConfig({
|
|
16
16
|
displayName: "ProfilePictureStyle__ProfilePictureContainer",
|
|
17
|
-
componentId: "lrsiz1-1"
|
|
17
|
+
componentId: "sc-lrsiz1-1"
|
|
18
18
|
})(["position:relative;display:inline-flex;", ""], function (_ref2) {
|
|
19
19
|
var editable = _ref2.editable;
|
|
20
20
|
|
|
@@ -3,5 +3,5 @@ import { Greyscale } from '../../../Utils/Colors';
|
|
|
3
3
|
import BasicTag from '../BasicTag';
|
|
4
4
|
export var AddTag = styled(BasicTag).withConfig({
|
|
5
5
|
displayName: "AddTag",
|
|
6
|
-
componentId: "ggz15u-0"
|
|
6
|
+
componentId: "sc-ggz15u-0"
|
|
7
7
|
})(["border-style:dashed;border-color:", ";&:hover{border-color:", ";&:active{border-color:", ";}"], Greyscale.lightgrey, Greyscale.grey, Greyscale.black);
|
|
@@ -3,5 +3,5 @@ import { PrimaryColor } from '../../../Utils/Colors';
|
|
|
3
3
|
import BasicTag from '../BasicTag';
|
|
4
4
|
export var ResetTag = styled(BasicTag).withConfig({
|
|
5
5
|
displayName: "ResetTag",
|
|
6
|
-
componentId: "be45u9-0"
|
|
6
|
+
componentId: "sc-be45u9-0"
|
|
7
7
|
})(["color:", ";border-style:solid;border-color:transparent;background-color:rgba(236,39,43,0.05);&:hover{background-color:rgba(236,39,43,0.1);}&:active{background-color:rgba(236,39,43,0.2);}"], PrimaryColor.glintsred);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TagContainer } from './TagStyle';
|
|
3
3
|
declare const Tag: React.FunctionComponent<Props>;
|
|
4
|
-
export
|
|
4
|
+
export declare type Props = React.ComponentPropsWithoutRef<typeof TagContainer> & {
|
|
5
5
|
children: React.ReactNode;
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
7
|
export default Tag;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["className", "children", "block", "outline", "onClick"];
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
6
|
import { TagContainer, TagContent } from './TagStyle';
|
|
@@ -10,7 +11,7 @@ var Tag = function Tag(props) {
|
|
|
10
11
|
block = props.block,
|
|
11
12
|
outline = props.outline,
|
|
12
13
|
onClick = props.onClick,
|
|
13
|
-
restProps = _objectWithoutPropertiesLoose(props,
|
|
14
|
+
restProps = _objectWithoutPropertiesLoose(props, _excluded);
|
|
14
15
|
|
|
15
16
|
return /*#__PURE__*/React.createElement(TagContainer, _extends({
|
|
16
17
|
className: classNames('aries-tag', className),
|
package/es/General/Tag/Tag.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["variant", "action", "children", "icon", "block", "outline", "onClick"];
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import { AddIcon, TrashIcon } from '../../General/Icon/components';
|
|
5
6
|
import { StartIconContainer, EndIconContainer } from './TagStyle';
|
|
@@ -17,7 +18,7 @@ var Tag = function Tag(_ref) {
|
|
|
17
18
|
_ref$outline = _ref.outline,
|
|
18
19
|
outline = _ref$outline === void 0 ? false : _ref$outline,
|
|
19
20
|
onClick = _ref.onClick,
|
|
20
|
-
resetProps = _objectWithoutPropertiesLoose(_ref,
|
|
21
|
+
resetProps = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
21
22
|
|
|
22
23
|
if (variant === 'action') {
|
|
23
24
|
switch (action) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["className", "children", "variant", "bold", "color", "ellipsis", "shouldSetLineHeight"];
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
6
|
import { Paragraph as StyledParagraph } from './ParagraphStyles';
|
|
@@ -17,7 +18,7 @@ export var Paragraph = function Paragraph(_ref) {
|
|
|
17
18
|
ellipsis = _ref$ellipsis === void 0 ? false : _ref$ellipsis,
|
|
18
19
|
_ref$shouldSetLineHei = _ref.shouldSetLineHeight,
|
|
19
20
|
shouldSetLineHeight = _ref$shouldSetLineHei === void 0 ? false : _ref$shouldSetLineHei,
|
|
20
|
-
restProps = _objectWithoutPropertiesLoose(_ref,
|
|
21
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
21
22
|
|
|
22
23
|
return /*#__PURE__*/React.createElement(StyledParagraph, _extends({
|
|
23
24
|
className: classNames('aries-typography-paragraph', className),
|