glints-aries 4.0.149 → 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/Icon/components/MessageOutlineIcon.d.ts +4 -0
- package/es/General/Icon/components/MessageOutlineIcon.js +14 -0
- package/es/General/Icon/components/MessageOutlineIncomingIcon.d.ts +4 -0
- package/es/General/Icon/components/MessageOutlineIncomingIcon.js +20 -0
- package/es/General/Icon/components/index.d.ts +2 -0
- package/es/General/Icon/components/index.js +2 -0
- 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 +65 -3
- package/es/Input/TextField/TextField.js +6 -4
- package/es/Input/TextField/TextField.stories.d.ts +1 -0
- package/es/Input/TextField/TextField.stories.js +6 -0
- package/es/Input/TextField/TextFieldStyle.d.ts +1 -0
- package/es/Input/TextField/TextFieldStyle.js +7 -3
- 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/Icon/IconLibrary.d.ts +2 -0
- package/es/Utils/Icon/IconLibrary.js +16 -0
- package/es/Utils/Shadow/ShadowsStoriesHelpers.js +2 -2
- package/es/index.d.ts +2 -0
- package/es/index.js +2 -0
- 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.d.ts +4 -0
- package/lib/General/Icon/components/MessageOutlineIcon.js +27 -0
- package/lib/General/Icon/components/MessageOutlineIncomingIcon.d.ts +4 -0
- package/lib/General/Icon/components/MessageOutlineIncomingIcon.js +33 -0
- 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.d.ts +2 -0
- package/lib/General/Icon/components/index.js +10 -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 +65 -3
- package/lib/Input/TextField/TextField.js +11 -6
- package/lib/Input/TextField/TextField.stories.d.ts +1 -0
- package/lib/Input/TextField/TextField.stories.js +12 -3
- package/lib/Input/TextField/TextFieldStyle.d.ts +1 -0
- package/lib/Input/TextField/TextFieldStyle.js +11 -4
- 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.d.ts +2 -0
- package/lib/Utils/Icon/IconLibrary.js +20 -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.d.ts +2 -0
- package/lib/index.js +11 -3
- package/lib/stories/story-components/AriesStatus.js +4 -2
- package/package.json +31 -35
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
3
|
exports.__esModule = true;
|
|
6
|
-
exports.
|
|
4
|
+
exports.AlertMessage = exports.AlertIcon = exports.AlertContainer = exports.AlertClose = void 0;
|
|
7
5
|
|
|
8
6
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
9
7
|
|
|
@@ -11,33 +9,37 @@ var _StyleConfig = require("../../Utils/StyleConfig");
|
|
|
11
9
|
|
|
12
10
|
var _Shadow = require("../../Utils/Shadow");
|
|
13
11
|
|
|
12
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
+
|
|
14
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
|
+
|
|
14
16
|
var fadeDown = (0, _styledComponents.keyframes)(["0%{transform:translateY(-100%);top:0;}100%{transform:translateY(0%);top:16px;}"]);
|
|
15
17
|
var fadeUp = (0, _styledComponents.keyframes)(["0%{transform:translateY(0%);top:12px;}100%{transform:translateY(-100%);top:0;}"]);
|
|
16
18
|
|
|
17
19
|
var AlertContainer = _styledComponents["default"].div.withConfig({
|
|
18
20
|
displayName: "AlertStyle__AlertContainer",
|
|
19
|
-
componentId: "fcjw72-0"
|
|
21
|
+
componentId: "sc-fcjw72-0"
|
|
20
22
|
})(["position:fixed;left:0;right:0;margin:0 auto;top:16px;animation:", " 0.3s ease-in-out;&[aria-hidden='true']{top:0;animation:", " 0.3s ease-in-out;}display:flex;align-items:center;box-shadow:", ";padding:12px;border-radius:4px;z-index:5000;min-width:296px;max-width:", "px;outline:none;line-height:1.5;font-size:14px;color:#454545;@media (max-width:", "px){max-width:95%;}background:#c5ecfa;&[data-type='success']{background:#c2e2da;}&[data-type='warning']{background:#fde9cc;}&[data-type='danger']{background:#facbcc;}"], fadeDown, fadeUp, _Shadow.Shadow.down4, _StyleConfig.ScreenSize.tablet, _StyleConfig.ScreenSize.tablet);
|
|
21
23
|
|
|
22
24
|
exports.AlertContainer = AlertContainer;
|
|
23
25
|
|
|
24
26
|
var AlertIcon = _styledComponents["default"].div.withConfig({
|
|
25
27
|
displayName: "AlertStyle__AlertIcon",
|
|
26
|
-
componentId: "fcjw72-1"
|
|
28
|
+
componentId: "sc-fcjw72-1"
|
|
27
29
|
})(["margin-right:8px;line-height:1;svg{display:block;}"]);
|
|
28
30
|
|
|
29
31
|
exports.AlertIcon = AlertIcon;
|
|
30
32
|
|
|
31
33
|
var AlertMessage = _styledComponents["default"].div.withConfig({
|
|
32
34
|
displayName: "AlertStyle__AlertMessage",
|
|
33
|
-
componentId: "fcjw72-2"
|
|
35
|
+
componentId: "sc-fcjw72-2"
|
|
34
36
|
})(["margin-right:8px;flex-grow:1;"]);
|
|
35
37
|
|
|
36
38
|
exports.AlertMessage = AlertMessage;
|
|
37
39
|
|
|
38
40
|
var AlertClose = _styledComponents["default"].div.withConfig({
|
|
39
41
|
displayName: "AlertStyle__AlertClose",
|
|
40
|
-
componentId: "fcjw72-3"
|
|
42
|
+
componentId: "sc-fcjw72-3"
|
|
41
43
|
})(["line-height:1;cursor:pointer;font-size:10px;"]);
|
|
42
44
|
|
|
43
45
|
exports.AlertClose = AlertClose;
|
|
@@ -2,10 +2,10 @@ import * as React from 'react';
|
|
|
2
2
|
import { BadgeContainer } from './BadgeStyle';
|
|
3
3
|
export declare const Badge: React.FunctionComponent<Props>;
|
|
4
4
|
export declare type BadgeType = 'dimmed' | 'default' | 'white' | 'blue';
|
|
5
|
-
export
|
|
5
|
+
export declare type Props = React.ComponentPropsWithoutRef<typeof BadgeContainer> & {
|
|
6
6
|
/** Sets the label of Badge. */
|
|
7
7
|
label: string | number;
|
|
8
8
|
/** Sets the variant of the Badge. */
|
|
9
9
|
variant?: BadgeType;
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
11
|
export default Badge;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
4
|
|
|
7
5
|
exports.__esModule = true;
|
|
@@ -21,12 +19,18 @@ var _BadgeStyle = require("./BadgeStyle");
|
|
|
21
19
|
|
|
22
20
|
var _BadgeVariant = require("./BadgeVariant");
|
|
23
21
|
|
|
22
|
+
var _excluded = ["label", "variant", "className"];
|
|
23
|
+
|
|
24
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
|
+
|
|
24
28
|
var Badge = function Badge(_ref) {
|
|
25
29
|
var label = _ref.label,
|
|
26
30
|
_ref$variant = _ref.variant,
|
|
27
31
|
variant = _ref$variant === void 0 ? _BadgeVariant.BadgeVariant.DEFAULT : _ref$variant,
|
|
28
32
|
className = _ref.className,
|
|
29
|
-
defaultProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref,
|
|
33
|
+
defaultProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
|
|
30
34
|
return /*#__PURE__*/React.createElement(React.Fragment, null, !(0, _isNil["default"])(label) && /*#__PURE__*/React.createElement(_BadgeStyle.BadgeContainer, (0, _extends2["default"])({
|
|
31
35
|
className: (0, _classnames["default"])('aries-badge', className),
|
|
32
36
|
role: "presentation",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
5
|
exports.__esModule = true;
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = exports.Variants = exports.Interactive = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
15
15
|
|
|
16
16
|
var BadgeStack = (0, _styledComponents["default"])('div').withConfig({
|
|
17
17
|
displayName: "Badgestories__BadgeStack",
|
|
18
|
-
componentId: "imkkqn-0"
|
|
18
|
+
componentId: "sc-imkkqn-0"
|
|
19
19
|
})(["display:flex;align-items:flex-start;"]);
|
|
20
20
|
var _default = {
|
|
21
21
|
title: 'General/Badge',
|
|
@@ -15,7 +15,7 @@ var _Spacing = require("../../Layout/Spacing");
|
|
|
15
15
|
|
|
16
16
|
var BadgeContainer = _styledComponents["default"].div.withConfig({
|
|
17
17
|
displayName: "BadgeStyle__BadgeContainer",
|
|
18
|
-
componentId: "vaj8hs-0"
|
|
18
|
+
componentId: "sc-vaj8hs-0"
|
|
19
19
|
})(["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;}"], _Colors.Greyscale.white, function (_ref) {
|
|
20
20
|
var variant = _ref.variant;
|
|
21
21
|
|
|
@@ -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,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
4
|
|
|
7
5
|
exports.__esModule = true;
|
|
@@ -17,6 +15,12 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
17
15
|
|
|
18
16
|
var _BrandStyle = require("./BrandStyle");
|
|
19
17
|
|
|
18
|
+
var _excluded = ["alt", "asset", "className", "rightClickURL", "onContextMenu"];
|
|
19
|
+
|
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
+
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
|
|
20
24
|
var GlintsBlack = require('../../../assets/image/glints-logo-black.svg');
|
|
21
25
|
|
|
22
26
|
var GlintsWhite = require('../../../assets/image/glints-logo-white.svg');
|
|
@@ -27,7 +31,7 @@ var Brand = function Brand(_ref) {
|
|
|
27
31
|
className = _ref.className,
|
|
28
32
|
rightClickURL = _ref.rightClickURL,
|
|
29
33
|
onContextMenu = _ref.onContextMenu,
|
|
30
|
-
defaultProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref,
|
|
34
|
+
defaultProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
|
|
31
35
|
|
|
32
36
|
var handleRightClick = function handleRightClick(e) {
|
|
33
37
|
if (rightClickURL) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
5
|
exports.__esModule = true;
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = exports.RedirectToGlintsWhenRightClick = exports.Interactive = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
@@ -9,14 +9,14 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
9
9
|
|
|
10
10
|
var BrandContainer = _styledComponents["default"].div.withConfig({
|
|
11
11
|
displayName: "BrandStyle__BrandContainer",
|
|
12
|
-
componentId: "xckggx-0"
|
|
12
|
+
componentId: "sc-xckggx-0"
|
|
13
13
|
})(["position:relative;display:inline-flex;cursor:pointer;&:focus{outline:none;}&:focus > img{outline:5px auto -webkit-focus-ring-color;}"]);
|
|
14
14
|
|
|
15
15
|
exports.BrandContainer = BrandContainer;
|
|
16
16
|
|
|
17
17
|
var BrandImage = _styledComponents["default"].img.withConfig({
|
|
18
18
|
displayName: "BrandStyle__BrandImage",
|
|
19
|
-
componentId: "xckggx-1"
|
|
19
|
+
componentId: "sc-xckggx-1"
|
|
20
20
|
})(["object-fit:contain;width:3em;height:3em;outline:none;"]);
|
|
21
21
|
|
|
22
22
|
exports.BrandImage = BrandImage;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
5
|
exports.__esModule = true;
|
|
6
|
-
exports["default"] = exports.Button =
|
|
6
|
+
exports.transformVariant = exports["default"] = exports.Button = void 0;
|
|
7
7
|
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
|
|
@@ -23,6 +23,8 @@ var _StyleConfig = require("../../Utils/StyleConfig");
|
|
|
23
23
|
|
|
24
24
|
var _ButtonStyle = require("./ButtonStyle");
|
|
25
25
|
|
|
26
|
+
var _excluded = ["children", "block", "className", "disabled", "onClick", "small", "variant", "startIcon", "endIcon", "theme", "forwardedRef"];
|
|
27
|
+
|
|
26
28
|
var _SOLID_BUTTON_THEME_M;
|
|
27
29
|
|
|
28
30
|
var SOLID_BUTTON_THEME_MAP = (_SOLID_BUTTON_THEME_M = {}, _SOLID_BUTTON_THEME_M[_StyleConfig.ButtonVariant.SOLID_WHITE] = _StyleConfig.ButtonTheme.WHITE, _SOLID_BUTTON_THEME_M[_StyleConfig.ButtonVariant.SOLID_BLUE] = _StyleConfig.ButtonTheme.BLUE, _SOLID_BUTTON_THEME_M);
|
|
@@ -63,7 +65,7 @@ var Button = function Button(_ref) {
|
|
|
63
65
|
endIcon = _ref.endIcon,
|
|
64
66
|
theme = _ref.theme,
|
|
65
67
|
forwardedRef = _ref.forwardedRef,
|
|
66
|
-
defaultProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref,
|
|
68
|
+
defaultProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
|
|
67
69
|
|
|
68
70
|
var content = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, startIcon && /*#__PURE__*/_react["default"].createElement(_ButtonStyle.StartIconContainer, null, startIcon), children, endIcon && /*#__PURE__*/_react["default"].createElement(_ButtonStyle.EndIconContainer, null, endIcon));
|
|
69
71
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
5
|
exports.__esModule = true;
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = exports.WithRoundedCorner = exports.WithIcon = exports.WithDifferentTag = exports.Variants = exports.SolidBlue = exports.Sizes = exports.Disable = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
5
|
exports.__esModule = true;
|
|
6
|
-
exports.
|
|
6
|
+
exports.WhiteGreyBtn = exports.StartIconContainer = exports.SolidShadowContainer = exports.SolidShadowBtn = exports.SolidBtnContainer = exports.SolidBtn = exports.LinkBtn = exports.GhostBtnContainer = exports.GhostBtn = exports.EndIconContainer = void 0;
|
|
7
7
|
|
|
8
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
9
|
|
|
@@ -16,7 +16,7 @@ var smallButtonPadding = [10, 20];
|
|
|
16
16
|
|
|
17
17
|
var Button = _styledComponents["default"].button.withConfig({
|
|
18
18
|
displayName: "ButtonStyle__Button",
|
|
19
|
-
componentId: "jyb3o2-0"
|
|
19
|
+
componentId: "sc-jyb3o2-0"
|
|
20
20
|
})(["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) {
|
|
21
21
|
var small = _ref.small;
|
|
22
22
|
return small ? '14px' : '16px';
|
|
@@ -37,7 +37,7 @@ var Button = _styledComponents["default"].button.withConfig({
|
|
|
37
37
|
|
|
38
38
|
var SolidBtn = (0, _styledComponents["default"])(Button).withConfig({
|
|
39
39
|
displayName: "ButtonStyle__SolidBtn",
|
|
40
|
-
componentId: "jyb3o2-1"
|
|
40
|
+
componentId: "sc-jyb3o2-1"
|
|
41
41
|
})(["width:", ";border-radius:", ";&:active{background-color:", ";color:", ";}", " ", " &:hover{text-decoration:none;", "}"], function (_ref4) {
|
|
42
42
|
var block = _ref4.block;
|
|
43
43
|
return block && '100%';
|
|
@@ -69,7 +69,7 @@ exports.SolidBtn = SolidBtn;
|
|
|
69
69
|
|
|
70
70
|
var SolidBtnContainer = _styledComponents["default"].div.withConfig({
|
|
71
71
|
displayName: "ButtonStyle__SolidBtnContainer",
|
|
72
|
-
componentId: "jyb3o2-2"
|
|
72
|
+
componentId: "sc-jyb3o2-2"
|
|
73
73
|
})(["position:relative;display:", ";z-index:1;border-radius:", ";", " &:hover{", "{", "}}&:active{", "{", "}}"], function (_ref8) {
|
|
74
74
|
var block = _ref8.block;
|
|
75
75
|
return block ? 'flex' : 'inline-flex';
|
|
@@ -102,7 +102,7 @@ var SolidBtnContainer = _styledComponents["default"].div.withConfig({
|
|
|
102
102
|
exports.SolidBtnContainer = SolidBtnContainer;
|
|
103
103
|
var SolidShadowBtn = (0, _styledComponents["default"])(Button).withConfig({
|
|
104
104
|
displayName: "ButtonStyle__SolidShadowBtn",
|
|
105
|
-
componentId: "jyb3o2-3"
|
|
105
|
+
componentId: "sc-jyb3o2-3"
|
|
106
106
|
})(["transition:all 0.2s;cursor:pointer;position:relative;width:100%;&:hover{text-decoration:none;}", ""], function (props) {
|
|
107
107
|
if (props.disabled) {
|
|
108
108
|
return "\n background-color: " + _Colors.Greyscale.lightgrey + ";\n color: " + _Colors.Greyscale.white + ";\n ";
|
|
@@ -114,7 +114,7 @@ exports.SolidShadowBtn = SolidShadowBtn;
|
|
|
114
114
|
|
|
115
115
|
var SolidShadowContainer = _styledComponents["default"].div.withConfig({
|
|
116
116
|
displayName: "ButtonStyle__SolidShadowContainer",
|
|
117
|
-
componentId: "jyb3o2-4"
|
|
117
|
+
componentId: "sc-jyb3o2-4"
|
|
118
118
|
})(["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) {
|
|
119
119
|
var block = _ref11.block;
|
|
120
120
|
return block ? 'flex' : 'inline-flex';
|
|
@@ -163,7 +163,7 @@ var SolidShadowContainer = _styledComponents["default"].div.withConfig({
|
|
|
163
163
|
exports.SolidShadowContainer = SolidShadowContainer;
|
|
164
164
|
var GhostBtn = (0, _styledComponents["default"])(Button).withConfig({
|
|
165
165
|
displayName: "ButtonStyle__GhostBtn",
|
|
166
|
-
componentId: "jyb3o2-5"
|
|
166
|
+
componentId: "sc-jyb3o2-5"
|
|
167
167
|
})(["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) {
|
|
168
168
|
var block = _ref12.block;
|
|
169
169
|
return block && '100%';
|
|
@@ -190,7 +190,7 @@ exports.GhostBtn = GhostBtn;
|
|
|
190
190
|
|
|
191
191
|
var GhostBtnContainer = _styledComponents["default"].div.withConfig({
|
|
192
192
|
displayName: "ButtonStyle__GhostBtnContainer",
|
|
193
|
-
componentId: "jyb3o2-6"
|
|
193
|
+
componentId: "sc-jyb3o2-6"
|
|
194
194
|
})(["position:relative;display:", ";z-index:1;", " ", "{", "}"], function (_ref17) {
|
|
195
195
|
var block = _ref17.block;
|
|
196
196
|
return block ? 'flex' : 'inline-flex';
|
|
@@ -216,7 +216,7 @@ var GhostBtnContainer = _styledComponents["default"].div.withConfig({
|
|
|
216
216
|
exports.GhostBtnContainer = GhostBtnContainer;
|
|
217
217
|
var WhiteGreyBtn = (0, _styledComponents["default"])(Button).withConfig({
|
|
218
218
|
displayName: "ButtonStyle__WhiteGreyBtn",
|
|
219
|
-
componentId: "jyb3o2-7"
|
|
219
|
+
componentId: "sc-jyb3o2-7"
|
|
220
220
|
})(["width:", ";", ""], function (_ref20) {
|
|
221
221
|
var block = _ref20.block;
|
|
222
222
|
return block && '100%';
|
|
@@ -237,7 +237,7 @@ var WhiteGreyBtn = (0, _styledComponents["default"])(Button).withConfig({
|
|
|
237
237
|
exports.WhiteGreyBtn = WhiteGreyBtn;
|
|
238
238
|
var LinkBtn = (0, _styledComponents["default"])(Button).withConfig({
|
|
239
239
|
displayName: "ButtonStyle__LinkBtn",
|
|
240
|
-
componentId: "jyb3o2-8"
|
|
240
|
+
componentId: "sc-jyb3o2-8"
|
|
241
241
|
})(["font-weight:normal;text-transform:inherit;width:", ";padding:0;justify-content:flex-start;color:", ";", ""], function (_ref22) {
|
|
242
242
|
var block = _ref22.block;
|
|
243
243
|
return block && '100%';
|
|
@@ -254,14 +254,14 @@ exports.LinkBtn = LinkBtn;
|
|
|
254
254
|
|
|
255
255
|
var StartIconContainer = _styledComponents["default"].span.withConfig({
|
|
256
256
|
displayName: "ButtonStyle__StartIconContainer",
|
|
257
|
-
componentId: "jyb3o2-9"
|
|
257
|
+
componentId: "sc-jyb3o2-9"
|
|
258
258
|
})(["display:inline-flex;margin-right:10px;"]);
|
|
259
259
|
|
|
260
260
|
exports.StartIconContainer = StartIconContainer;
|
|
261
261
|
|
|
262
262
|
var EndIconContainer = _styledComponents["default"].span.withConfig({
|
|
263
263
|
displayName: "ButtonStyle__EndIconContainer",
|
|
264
|
-
componentId: "jyb3o2-10"
|
|
264
|
+
componentId: "sc-jyb3o2-10"
|
|
265
265
|
})(["display:inline-flex;margin-left:10px;"]);
|
|
266
266
|
|
|
267
267
|
exports.EndIconContainer = EndIconContainer;
|
|
@@ -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,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
4
|
|
|
7
5
|
exports.__esModule = true;
|
|
@@ -17,6 +15,12 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
17
15
|
|
|
18
16
|
var _ButtonStyle = require("./ButtonStyle");
|
|
19
17
|
|
|
18
|
+
var _excluded = ["children", "className", "theme", "disabled", "block", "small", "tag", "isRoundedCorner", "forwardedRef"];
|
|
19
|
+
|
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
+
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
|
|
20
24
|
var GhostButton = function GhostButton(_ref) {
|
|
21
25
|
var children = _ref.children,
|
|
22
26
|
className = _ref.className,
|
|
@@ -27,7 +31,7 @@ var GhostButton = function GhostButton(_ref) {
|
|
|
27
31
|
tag = _ref.tag,
|
|
28
32
|
isRoundedCorner = _ref.isRoundedCorner,
|
|
29
33
|
forwardedRef = _ref.forwardedRef,
|
|
30
|
-
defaultProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref,
|
|
34
|
+
defaultProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
|
|
31
35
|
return /*#__PURE__*/React.createElement(_ButtonStyle.GhostBtnContainer, {
|
|
32
36
|
className: (0, _classnames["default"])('aries-ghostbtn', className),
|
|
33
37
|
theme: theme,
|
|
@@ -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,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
4
|
|
|
7
5
|
exports.__esModule = true;
|
|
@@ -17,12 +15,18 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
17
15
|
|
|
18
16
|
var _ButtonStyle = require("./ButtonStyle");
|
|
19
17
|
|
|
18
|
+
var _excluded = ["children", "className", "tag", "forwardedRef"];
|
|
19
|
+
|
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
+
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
|
|
20
24
|
var LinkButton = function LinkButton(_ref) {
|
|
21
25
|
var children = _ref.children,
|
|
22
26
|
className = _ref.className,
|
|
23
27
|
tag = _ref.tag,
|
|
24
28
|
forwardedRef = _ref.forwardedRef,
|
|
25
|
-
defaultProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref,
|
|
29
|
+
defaultProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
|
|
26
30
|
return /*#__PURE__*/React.createElement(_ButtonStyle.LinkBtn, (0, _extends2["default"])({
|
|
27
31
|
ref: forwardedRef,
|
|
28
32
|
className: (0, _classnames["default"])('aries-linkbtn', className),
|
|
@@ -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,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
4
|
|
|
7
5
|
exports.__esModule = true;
|
|
@@ -17,6 +15,12 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
17
15
|
|
|
18
16
|
var _ButtonStyle = require("./ButtonStyle");
|
|
19
17
|
|
|
18
|
+
var _excluded = ["children", "className", "theme", "disabled", "block", "small", "tag", "forwardedRef", "isRoundedCorner"];
|
|
19
|
+
|
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
+
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
|
|
20
24
|
var SolidButton = function SolidButton(_ref) {
|
|
21
25
|
var children = _ref.children,
|
|
22
26
|
className = _ref.className,
|
|
@@ -27,7 +31,7 @@ var SolidButton = function SolidButton(_ref) {
|
|
|
27
31
|
tag = _ref.tag,
|
|
28
32
|
forwardedRef = _ref.forwardedRef,
|
|
29
33
|
isRoundedCorner = _ref.isRoundedCorner,
|
|
30
|
-
defaultProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref,
|
|
34
|
+
defaultProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
|
|
31
35
|
return /*#__PURE__*/React.createElement(_ButtonStyle.SolidBtnContainer, {
|
|
32
36
|
className: (0, _classnames["default"])('aries-solid-btn', className),
|
|
33
37
|
theme: theme,
|
|
@@ -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;
|