bright-components 9.33.0 → 10.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/.babelrc +1 -1
- package/dist/animations/SlideUp/index.js +32 -20
- package/dist/components/A/index.js +18 -14
- package/dist/components/Alert/index.js +24 -57
- package/dist/components/Avatar/index.js +29 -34
- package/dist/components/Avatar/utils/getAcronym/index.js +2 -4
- package/dist/components/Badge/index.js +14 -20
- package/dist/components/Breadcrumbs/index.js +33 -41
- package/dist/components/BrowserWarning/index.js +39 -37
- package/dist/components/BrowserWarning/supportsStaticImport.js +1 -1
- package/dist/components/BulletedList/index.js +19 -35
- package/dist/components/Button/BaseButton/index.js +46 -38
- package/dist/components/Button/BrandButton/index.js +20 -13
- package/dist/components/Button/Button/index.js +63 -66
- package/dist/components/Button/OutlineButton/index.js +41 -43
- package/dist/components/Button/WhiteOutlineButton/index.js +16 -13
- package/dist/components/ButtonGroup/index.js +33 -16
- package/dist/components/Checkbox/index.js +93 -70
- package/dist/components/Chevron/Chevron/index.js +13 -18
- package/dist/components/Chevron/CircledChevron/index.js +30 -17
- package/dist/components/CopyToClipboard/index.js +49 -59
- package/dist/components/CountryPicker/index.js +17 -19
- package/dist/components/DateInput/index.js +68 -89
- package/dist/components/DayMonthInput/index.js +29 -47
- package/dist/components/DayMonthInput/utils/getDayValue/index.js +3 -3
- package/dist/components/DayPicker/index.js +176 -214
- package/dist/components/DayPickerPanel/Cancel/index.js +15 -13
- package/dist/components/DayPickerPanel/Header/index.js +53 -96
- package/dist/components/DayPickerPanel/HeaderDayPickerPanel/dayPickerCSS.js +160 -11
- package/dist/components/DayPickerPanel/HeaderDayPickerPanel/index.js +149 -252
- package/dist/components/DayPickerPanel/HeaderMonthPanel/index.js +31 -40
- package/dist/components/DayPickerPanel/HeaderYearPanel/index.js +28 -41
- package/dist/components/DayPickerPanel/ItemSelector/index.js +44 -59
- package/dist/components/DayPickerPanel/Shortcuts/index.js +23 -28
- package/dist/components/DayPickerPanel/index.js +173 -217
- package/dist/components/DayPickerPanel/utils/getYearRangeChunks/index.js +3 -3
- package/dist/components/DayPickerPanel/utils/getYearRangeIndex/index.js +1 -5
- package/dist/components/Donut/index.js +73 -31
- package/dist/components/DropZone/index.js +21 -54
- package/dist/components/Dropdown/DropdownItem/index.js +11 -14
- package/dist/components/Dropdown/index.js +71 -118
- package/dist/components/DurationInput/index.js +41 -56
- package/dist/components/DurationInput/utils/roundOnBlur/index.js +13 -11
- package/dist/components/EmployeeCard/index.js +24 -40
- package/dist/components/EmployeePicker/DisplayFilter/index.js +29 -37
- package/dist/components/EmployeePicker/FilterBar/index.js +51 -84
- package/dist/components/EmployeePicker/Group/index.js +70 -127
- package/dist/components/EmployeePicker/GroupList/index.js +20 -24
- package/dist/components/EmployeePicker/Item/index.js +76 -122
- package/dist/components/EmployeePicker/index.js +67 -77
- package/dist/components/EmployeePicker/utils/index.js +9 -21
- package/dist/components/ErrorMessage/index.js +16 -29
- package/dist/components/Expando/index.js +62 -96
- package/dist/components/Fieldset/index.js +24 -18
- package/dist/components/FileIcons/index.js +14 -12
- package/dist/components/FilterRadioGroup/index.js +59 -55
- package/dist/components/Form/index.js +195 -198
- package/dist/components/Form/utils/runFormValidation.js +11 -11
- package/dist/components/FormLayout/FormRow/FormContent/index.js +4 -16
- package/dist/components/FormLayout/FormRow/FormLabel/index.js +10 -14
- package/dist/components/FormLayout/FormRow/index.js +9 -14
- package/dist/components/FormLayout/index.js +1 -14
- package/dist/components/Formik/FormikCheckbox/index.js +8 -8
- package/dist/components/Formik/FormikDayPicker/index.js +23 -17
- package/dist/components/Formik/FormikInput/index.js +10 -10
- package/dist/components/Formik/FormikOptions/index.js +13 -20
- package/dist/components/Formik/FormikRadio/index.js +10 -10
- package/dist/components/Formik/FormikRadioGroup/index.js +3 -5
- package/dist/components/Formik/FormikResetButton/index.js +5 -3
- package/dist/components/Formik/FormikSelect/index.js +10 -10
- package/dist/components/Formik/FormikSubmitButton/index.js +8 -8
- package/dist/components/Formik/FormikTextarea/index.js +10 -10
- package/dist/components/Formik/FormikTypeahead/index.js +26 -30
- package/dist/components/Formik/FormikValidation/index.js +12 -21
- package/dist/components/Formik/index.js +1 -14
- package/dist/components/HR/index.js +12 -14
- package/dist/components/Icons/AddIcon/index.js +6 -8
- package/dist/components/Icons/AddSquare/index.js +5 -7
- package/dist/components/Icons/Alarmclock/index.js +5 -7
- package/dist/components/Icons/Anchor/index.js +5 -7
- package/dist/components/Icons/Apps/index.js +5 -7
- package/dist/components/Icons/ArrowBigDown/index.js +5 -7
- package/dist/components/Icons/ArrowLoop/index.js +5 -7
- package/dist/components/Icons/Baby/index.js +5 -7
- package/dist/components/Icons/BackArrow/index.js +5 -7
- package/dist/components/Icons/BackToWorkNavigator/index.js +7 -9
- package/dist/components/Icons/Beta/index.js +5 -7
- package/dist/components/Icons/Blip/index.js +12 -14
- package/dist/components/Icons/Book/index.js +5 -7
- package/dist/components/Icons/Bookmark/index.js +5 -7
- package/dist/components/Icons/BoomMoodle/index.js +8 -10
- package/dist/components/Icons/BoxTruck/index.js +5 -7
- package/dist/components/Icons/BrighhrApp/index.js +5 -7
- package/dist/components/Icons/BrightAdvice/index.js +5 -7
- package/dist/components/Icons/Browser/index.js +5 -7
- package/dist/components/Icons/Bullhorn/index.js +5 -7
- package/dist/components/Icons/Cake/index.js +5 -7
- package/dist/components/Icons/Calculator/index.js +5 -7
- package/dist/components/Icons/Calendar/index.js +25 -27
- package/dist/components/Icons/CalendarAdd/index.js +11 -13
- package/dist/components/Icons/CalendarBlackout/index.js +5 -7
- package/dist/components/Icons/CalendarCross/index.js +9 -11
- package/dist/components/Icons/CalendarDates/index.js +5 -7
- package/dist/components/Icons/CalendarInfo/index.js +5 -7
- package/dist/components/Icons/CalendarOverlap/index.js +5 -7
- package/dist/components/Icons/Camera/index.js +5 -7
- package/dist/components/Icons/CameraAperture/index.js +5 -7
- package/dist/components/Icons/Cart/index.js +11 -13
- package/dist/components/Icons/Case/index.js +5 -7
- package/dist/components/Icons/Certificate/index.js +5 -7
- package/dist/components/Icons/Chair/index.js +5 -7
- package/dist/components/Icons/Chat/index.js +5 -7
- package/dist/components/Icons/CheckCircle/index.js +5 -7
- package/dist/components/Icons/Checklist/index.js +5 -7
- package/dist/components/Icons/Chevron/index.js +5 -7
- package/dist/components/Icons/ChevronCircleDown/index.js +5 -7
- package/dist/components/Icons/ChevronCircleLeft/index.js +5 -7
- package/dist/components/Icons/ChevronCircleRight/index.js +5 -7
- package/dist/components/Icons/ChevronCircleUp/index.js +5 -7
- package/dist/components/Icons/ChevronDoubleDown/index.js +13 -15
- package/dist/components/Icons/ChevronDoubleUp/index.js +13 -15
- package/dist/components/Icons/ChevronDown/index.js +5 -7
- package/dist/components/Icons/ChevronLeft/index.js +5 -7
- package/dist/components/Icons/ChevronRight/index.js +5 -7
- package/dist/components/Icons/ChevronUp/index.js +5 -7
- package/dist/components/Icons/Clear/index.js +5 -7
- package/dist/components/Icons/Clipboard/index.js +40 -42
- package/dist/components/Icons/Clock/index.js +7 -9
- package/dist/components/Icons/Close/index.js +7 -3
- package/dist/components/Icons/ClothesHanger/index.js +5 -7
- package/dist/components/Icons/Clothing/index.js +5 -7
- package/dist/components/Icons/Cog/index.js +5 -7
- package/dist/components/Icons/Compass/index.js +5 -7
- package/dist/components/Icons/Compassion/index.js +7 -9
- package/dist/components/Icons/Compassionate/index.js +5 -7
- package/dist/components/Icons/Conflict/index.js +5 -7
- package/dist/components/Icons/ContactCard/index.js +5 -7
- package/dist/components/Icons/Contrast/index.js +5 -7
- package/dist/components/Icons/Copy/index.js +5 -7
- package/dist/components/Icons/Court/index.js +5 -7
- package/dist/components/Icons/Crib/index.js +5 -7
- package/dist/components/Icons/Crop/index.js +5 -7
- package/dist/components/Icons/Cross/index.js +5 -7
- package/dist/components/Icons/CrossCircle/index.js +5 -7
- package/dist/components/Icons/CrossThick/index.js +5 -7
- package/dist/components/Icons/Crown/index.js +5 -7
- package/dist/components/Icons/Dependants/index.js +5 -7
- package/dist/components/Icons/DesktopComputer/index.js +5 -7
- package/dist/components/Icons/Dial/index.js +5 -7
- package/dist/components/Icons/Diamond/index.js +5 -7
- package/dist/components/Icons/Diaper/index.js +5 -7
- package/dist/components/Icons/DisabilityMobility/index.js +5 -7
- package/dist/components/Icons/Door/index.js +5 -7
- package/dist/components/Icons/DownArrow/index.js +5 -7
- package/dist/components/Icons/Download/index.js +5 -7
- package/dist/components/Icons/Dropdown/index.js +17 -22
- package/dist/components/Icons/Edit/index.js +5 -7
- package/dist/components/Icons/Education/index.js +5 -7
- package/dist/components/Icons/Emergency/index.js +5 -7
- package/dist/components/Icons/Enter/index.js +5 -7
- package/dist/components/Icons/Error/index.js +5 -7
- package/dist/components/Icons/ErrorOctagon/index.js +5 -7
- package/dist/components/Icons/Exit/index.js +5 -7
- package/dist/components/Icons/Expand/index.js +5 -7
- package/dist/components/Icons/Eye/index.js +7 -3
- package/dist/components/Icons/Factory/index.js +20 -22
- package/dist/components/Icons/FactoryIcon/index.js +5 -7
- package/dist/components/Icons/Featus/index.js +5 -7
- package/dist/components/Icons/FeedbackLoop/index.js +5 -7
- package/dist/components/Icons/FileAudio/index.js +7 -9
- package/dist/components/Icons/FileCode/index.js +5 -7
- package/dist/components/Icons/FileDocument/index.js +11 -13
- package/dist/components/Icons/FileEmail/index.js +5 -7
- package/dist/components/Icons/FileMovie/index.js +5 -7
- package/dist/components/Icons/FilePath/index.js +5 -7
- package/dist/components/Icons/FilePdf/index.js +9 -11
- package/dist/components/Icons/FilePresentation/index.js +13 -15
- package/dist/components/Icons/FileSpreadsheet/index.js +9 -11
- package/dist/components/Icons/FileText/index.js +11 -13
- package/dist/components/Icons/FileVector/index.js +5 -7
- package/dist/components/Icons/Filter/index.js +5 -7
- package/dist/components/Icons/Fingerprint/index.js +5 -7
- package/dist/components/Icons/Flag/index.js +5 -7
- package/dist/components/Icons/Flash/index.js +5 -7
- package/dist/components/Icons/FlashOff/index.js +5 -7
- package/dist/components/Icons/Flower/index.js +5 -7
- package/dist/components/Icons/Folder/index.js +6 -8
- package/dist/components/Icons/FolderSolid/index.js +5 -7
- package/dist/components/Icons/FolderZip/index.js +6 -8
- package/dist/components/Icons/FurloughNavigator/index.js +7 -9
- package/dist/components/Icons/Gallery/index.js +5 -7
- package/dist/components/Icons/GestureTouch/index.js +5 -7
- package/dist/components/Icons/Ghost/index.js +5 -7
- package/dist/components/Icons/Gift/index.js +5 -7
- package/dist/components/Icons/Globe/index.js +5 -7
- package/dist/components/Icons/Grid/index.js +5 -7
- package/dist/components/Icons/Headset/index.js +5 -7
- package/dist/components/Icons/Health/index.js +5 -7
- package/dist/components/Icons/Heart/index.js +5 -7
- package/dist/components/Icons/Help/index.js +5 -7
- package/dist/components/Icons/Home/index.js +5 -7
- package/dist/components/Icons/Hourglass/index.js +5 -7
- package/dist/components/Icons/IdCard/index.js +5 -7
- package/dist/components/Icons/Image/index.js +9 -11
- package/dist/components/Icons/Inbox/index.js +5 -7
- package/dist/components/Icons/InboxEmpty/index.js +5 -7
- package/dist/components/Icons/Information/index.js +5 -7
- package/dist/components/Icons/Injury/index.js +64 -66
- package/dist/components/Icons/KebabMenuHorizontal/index.js +5 -7
- package/dist/components/Icons/KebabMenuVertical/index.js +5 -7
- package/dist/components/Icons/Lazydave/index.js +71 -73
- package/dist/components/Icons/LazydaveMoodle/index.js +71 -73
- package/dist/components/Icons/LeftArrow/index.js +5 -7
- package/dist/components/Icons/Legal/index.js +5 -7
- package/dist/components/Icons/Lightning/index.js +5 -7
- package/dist/components/Icons/LineChart/index.js +5 -7
- package/dist/components/Icons/Link/index.js +5 -7
- package/dist/components/Icons/List/index.js +21 -23
- package/dist/components/Icons/ListBullets/index.js +5 -7
- package/dist/components/Icons/LocationPin/index.js +5 -7
- package/dist/components/Icons/Loop/index.js +5 -7
- package/dist/components/Icons/Magicwand/index.js +5 -7
- package/dist/components/Icons/Mail/index.js +5 -7
- package/dist/components/Icons/MandatoryLeave/index.js +5 -7
- package/dist/components/Icons/Medal/index.js +5 -7
- package/dist/components/Icons/Medical/index.js +5 -7
- package/dist/components/Icons/MedicalBag/index.js +5 -7
- package/dist/components/Icons/Medication/index.js +5 -7
- package/dist/components/Icons/MenuHamburger/index.js +5 -7
- package/dist/components/Icons/Message/index.js +5 -7
- package/dist/components/Icons/Meteor/index.js +5 -7
- package/dist/components/Icons/MinusCircle/index.js +5 -7
- package/dist/components/Icons/MinusSquare/index.js +5 -7
- package/dist/components/Icons/MoneyStack/index.js +5 -7
- package/dist/components/Icons/MoveFile/index.js +5 -7
- package/dist/components/Icons/New/index.js +9 -11
- package/dist/components/Icons/New2/index.js +9 -11
- package/dist/components/Icons/NewWindow/index.js +5 -7
- package/dist/components/Icons/Night/index.js +5 -7
- package/dist/components/Icons/NotAllowed/index.js +5 -7
- package/dist/components/Icons/Note/index.js +7 -9
- package/dist/components/Icons/Notepad/index.js +5 -7
- package/dist/components/Icons/Notifications/index.js +5 -7
- package/dist/components/Icons/OrganisationConnection/index.js +5 -7
- package/dist/components/Icons/Overtime/index.js +5 -7
- package/dist/components/Icons/Pacman/index.js +5 -7
- package/dist/components/Icons/PadlockLocked/index.js +5 -7
- package/dist/components/Icons/PadlockUnlocked/index.js +5 -7
- package/dist/components/Icons/PaperStack/index.js +5 -7
- package/dist/components/Icons/Paperclip/index.js +5 -7
- package/dist/components/Icons/PayrollNavigator/index.js +5 -7
- package/dist/components/Icons/Pencil/index.js +5 -7
- package/dist/components/Icons/Perspective/index.js +5 -7
- package/dist/components/Icons/Phone/index.js +5 -7
- package/dist/components/Icons/PhoneWork/index.js +5 -7
- package/dist/components/Icons/PieChart/index.js +5 -7
- package/dist/components/Icons/Pin/index.js +5 -7
- package/dist/components/Icons/Plaster/index.js +5 -7
- package/dist/components/Icons/Plus/index.js +5 -7
- package/dist/components/Icons/PlusCircle/index.js +5 -7
- package/dist/components/Icons/PoP/index.js +7 -9
- package/dist/components/Icons/Power/index.js +5 -7
- package/dist/components/Icons/Pram/index.js +5 -7
- package/dist/components/Icons/PrintIcon/index.js +14 -16
- package/dist/components/Icons/Printer/index.js +5 -7
- package/dist/components/Icons/Pulse/index.js +5 -7
- package/dist/components/Icons/Puzzle/index.js +5 -7
- package/dist/components/Icons/Question/index.js +5 -7
- package/dist/components/Icons/Radar/index.js +5 -7
- package/dist/components/Icons/Records/index.js +5 -7
- package/dist/components/Icons/RedunancyNavigator/index.js +5 -7
- package/dist/components/Icons/Refresh/index.js +5 -7
- package/dist/components/Icons/Requests/index.js +5 -7
- package/dist/components/Icons/Ribbon/index.js +5 -7
- package/dist/components/Icons/RightArrow/index.js +5 -7
- package/dist/components/Icons/Road/index.js +9 -11
- package/dist/components/Icons/Rosette/index.js +5 -7
- package/dist/components/Icons/Rotas/index.js +5 -7
- package/dist/components/Icons/RotateImage/index.js +5 -7
- package/dist/components/Icons/Rush/index.js +5 -7
- package/dist/components/Icons/Search/index.js +5 -7
- package/dist/components/Icons/SelectArrow/index.js +5 -7
- package/dist/components/Icons/Send/index.js +5 -7
- package/dist/components/Icons/SettingsSliders/index.js +5 -7
- package/dist/components/Icons/Share/index.js +5 -7
- package/dist/components/Icons/Shield/index.js +5 -7
- package/dist/components/Icons/Shifts/index.js +5 -7
- package/dist/components/Icons/Shredder/index.js +5 -7
- package/dist/components/Icons/Signature/index.js +5 -7
- package/dist/components/Icons/Skull/index.js +5 -7
- package/dist/components/Icons/SocialFacebook/index.js +5 -7
- package/dist/components/Icons/SocialInstagram/index.js +5 -7
- package/dist/components/Icons/SocialLinkedin/index.js +5 -7
- package/dist/components/Icons/SocialTwitter/index.js +5 -7
- package/dist/components/Icons/SocialYoutube/index.js +5 -7
- package/dist/components/Icons/SortAscending/index.js +5 -7
- package/dist/components/Icons/SortDescending/index.js +5 -7
- package/dist/components/Icons/Stamp/index.js +5 -7
- package/dist/components/Icons/Star/index.js +5 -7
- package/dist/components/Icons/Steam/index.js +5 -7
- package/dist/components/Icons/Stethoscope/index.js +5 -7
- package/dist/components/Icons/Stop/index.js +5 -7
- package/dist/components/Icons/Suitcase/index.js +5 -7
- package/dist/components/Icons/Sun/index.js +5 -7
- package/dist/components/Icons/Switch/index.js +5 -7
- package/dist/components/Icons/TableGrid/index.js +5 -7
- package/dist/components/Icons/Tachograph/index.js +5 -7
- package/dist/components/Icons/Tag/index.js +5 -7
- package/dist/components/Icons/Target/index.js +5 -7
- package/dist/components/Icons/Tasklist/index.js +40 -42
- package/dist/components/Icons/ThumbsDown/index.js +5 -7
- package/dist/components/Icons/ThumbsUp/index.js +5 -7
- package/dist/components/Icons/Tick/index.js +5 -7
- package/dist/components/Icons/TickCircle/index.js +5 -7
- package/dist/components/Icons/TickThick/index.js +5 -7
- package/dist/components/Icons/ToilEarned/index.js +9 -11
- package/dist/components/Icons/ToilTaken/index.js +13 -15
- package/dist/components/Icons/Tooth/index.js +5 -7
- package/dist/components/Icons/TrainingEvents/index.js +5 -7
- package/dist/components/Icons/Trash/index.js +5 -7
- package/dist/components/Icons/Umbrella/index.js +5 -7
- package/dist/components/Icons/Unpaid/index.js +5 -7
- package/dist/components/Icons/UpArrow/index.js +5 -7
- package/dist/components/Icons/Upload/index.js +5 -7
- package/dist/components/Icons/User/index.js +5 -7
- package/dist/components/Icons/UserAdd/index.js +5 -7
- package/dist/components/Icons/UserId/index.js +5 -7
- package/dist/components/Icons/UserRemove/index.js +5 -7
- package/dist/components/Icons/Users/index.js +5 -7
- package/dist/components/Icons/Virus/index.js +5 -7
- package/dist/components/Icons/Visibility/index.js +14 -16
- package/dist/components/Icons/Wallet/index.js +5 -7
- package/dist/components/Icons/Watch/index.js +5 -7
- package/dist/components/Icons/Week/index.js +10 -12
- package/dist/components/Icons/Xing/index.js +5 -7
- package/dist/components/Icons/index.js +35 -46
- package/dist/components/InlineLoader/index.js +46 -61
- package/dist/components/Input/index.js +49 -34
- package/dist/components/InputBox/AdornedBox/Adornment/index.js +37 -53
- package/dist/components/InputBox/AdornedBox/index.js +60 -53
- package/dist/components/InputBox/InputError/index.js +5 -15
- package/dist/components/InputBox/InputFactory/index.js +17 -15
- package/dist/components/InputBox/UnadornedBox/index.js +34 -25
- package/dist/components/InputBox/index.js +4 -6
- package/dist/components/InputWithIcon/index.js +30 -30
- package/dist/components/InputWithUnit/index.js +63 -73
- package/dist/components/Label/index.js +9 -14
- package/dist/components/Legend/index.js +5 -14
- package/dist/components/LinkButton/index.js +29 -20
- package/dist/components/Lists/DL/DD/index.js +3 -14
- package/dist/components/Lists/DL/DT/index.js +4 -14
- package/dist/components/Lists/DL/index.js +3 -14
- package/dist/components/Lists/LI/index.js +3 -14
- package/dist/components/Lists/OL/index.js +3 -14
- package/dist/components/Lists/UL/index.js +3 -14
- package/dist/components/LoadingContainer/index.js +24 -25
- package/dist/components/Modal/ModalBody/index.js +3 -16
- package/dist/components/Modal/ModalHeader/index.js +23 -31
- package/dist/components/Modal/index.js +71 -96
- package/dist/components/NumberInput/componentMap/index.js +4 -2
- package/dist/components/NumberInput/decimalFilter/index.js +1 -1
- package/dist/components/NumberInput/index.js +51 -55
- package/dist/components/NumberInput/inputMode/index.js +1 -1
- package/dist/components/NumberInput/integerFilter/index.js +1 -1
- package/dist/components/Options/index.js +59 -66
- package/dist/components/PageLoader/index.js +75 -91
- package/dist/components/Pill/index.js +22 -35
- package/dist/components/ProgressBar/index.js +39 -58
- package/dist/components/ProgressSteps/index.js +100 -49
- package/dist/components/ProvincePicker/index.js +21 -23
- package/dist/components/Radio/index.js +54 -59
- package/dist/components/RadioBlock/index.js +59 -80
- package/dist/components/ResponsiveTabs/index.js +93 -110
- package/dist/components/SearchInput/index.js +64 -52
- package/dist/components/Select/Optgroup/index.js +7 -3
- package/dist/components/Select/Option/index.js +8 -4
- package/dist/components/Select/index.js +42 -28
- package/dist/components/SelectedFile/index.js +62 -85
- package/dist/components/Snackbar/index.js +108 -157
- package/dist/components/StatusBadge/index.js +15 -19
- package/dist/components/Styleguide/ConstantsList/index.js +40 -88
- package/dist/components/Switch/index.js +55 -82
- package/dist/components/Table/Cell/index.js +18 -21
- package/dist/components/Table/HeaderCell/index.js +4 -13
- package/dist/components/Table/Row/index.js +6 -13
- package/dist/components/Table/TableBody/index.js +7 -3
- package/dist/components/Table/TableFooter/index.js +7 -3
- package/dist/components/Table/TableHeader/index.js +7 -3
- package/dist/components/Table/index.js +3 -14
- package/dist/components/Tabs/Tab/index.js +23 -13
- package/dist/components/Tabs/TabList/index.js +8 -13
- package/dist/components/Tabs/TabPanel/index.js +6 -12
- package/dist/components/Tabs/index.js +4 -13
- package/dist/components/Textarea/index.js +50 -27
- package/dist/components/Time/DurationPicker/DurationOverlay/index.js +40 -42
- package/dist/components/Time/DurationPicker/index.js +46 -62
- package/dist/components/Time/OverlayBase/UnitInput/index.js +68 -103
- package/dist/components/Time/OverlayBase/index.js +77 -85
- package/dist/components/Time/TimePicker/TimeOverlay/UnitInput/index.js +62 -91
- package/dist/components/Time/TimePicker/TimeOverlay/index.js +87 -133
- package/dist/components/Time/TimePicker/index.js +76 -95
- package/dist/components/TimeInput/index.js +1 -1
- package/dist/components/TimePicker/DayPart/DayPartOverlay/index.js +98 -189
- package/dist/components/TimePicker/DayPart/index.js +59 -105
- package/dist/components/TimePicker/Elements/Actions/index.js +6 -14
- package/dist/components/TimePicker/Elements/CancelLink/index.js +7 -13
- package/dist/components/TimePicker/Elements/DownIcon/index.js +10 -19
- package/dist/components/TimePicker/Elements/IncrementNotice/index.js +6 -14
- package/dist/components/TimePicker/Elements/PickerSeparator/index.js +5 -14
- package/dist/components/TimePicker/Elements/Title/index.js +8 -14
- package/dist/components/TimePicker/Elements/TitleUnderline/index.js +9 -14
- package/dist/components/TimePicker/Elements/UpIcon/index.js +10 -19
- package/dist/components/TimePicker/Time/TimeInput/index.js +58 -77
- package/dist/components/TimePicker/Time/TimeOverlay/index.js +185 -210
- package/dist/components/TimePicker/Time/index.js +76 -105
- package/dist/components/TimePicker/utils/PickerGA/index.js +9 -7
- package/dist/components/TimePicker/utils/constants/loopStatus.js +1 -1
- package/dist/components/TimePicker/utils/limitAround/index.js +1 -1
- package/dist/components/TimePicker/utils/loopAround/index.js +3 -3
- package/dist/components/TimePicker/utils/loopAroundMinutes/index.js +3 -3
- package/dist/components/TimePicker/utils/roundToMultiple/index.js +1 -3
- package/dist/components/Tooltip/index.js +74 -80
- package/dist/components/Typeahead/MobileHeader/index.js +29 -24
- package/dist/components/Typeahead/Option/OptionImage/index.js +12 -35
- package/dist/components/Typeahead/Option/index.js +59 -103
- package/dist/components/Typeahead/Options/index.js +15 -18
- package/dist/components/Typeahead/index.js +191 -185
- package/dist/components/Typeahead/mocks/employees.js +1 -1
- package/dist/components/Typeahead/utils/getSelected/index.js +2 -4
- package/dist/components/Typography/H1/index.js +7 -14
- package/dist/components/Typography/H2/index.js +7 -14
- package/dist/components/Typography/H3/index.js +7 -14
- package/dist/components/Typography/H4/index.js +7 -14
- package/dist/components/Typography/H5/index.js +7 -14
- package/dist/components/Typography/H6/index.js +7 -14
- package/dist/components/Typography/P/index.js +4 -16
- package/dist/components/Typography/Small/index.js +3 -16
- package/dist/components/Validation/index.js +18 -20
- package/dist/components/WithDayPicker/index.js +37 -62
- package/dist/components/WithValidation/index.js +44 -61
- package/dist/components/XingLoader/index.js +56 -112
- package/dist/components/withConfirmation/index.js +69 -68
- package/dist/components/withModal/index.js +14 -28
- package/dist/constants/breakpoints/index.js +1 -1
- package/dist/constants/colors/index.js +47 -47
- package/dist/constants/documents/index.js +3 -3
- package/dist/constants/spacing/index.js +1 -1
- package/dist/constants/vars/index.js +8 -8
- package/dist/constants/z-index/index.js +1 -1
- package/dist/hooks/useClickOutside/index.js +5 -5
- package/dist/setupTests.js +8 -8
- package/dist/test-utils/renderCheck/index.js +15 -17
- package/dist/test-utils/waitForAsync/index.js +1 -5
- package/dist/utils/numbers/getBoundedValue/index.js +1 -1
- package/dist/utils/pad/index.js +2 -2
- package/dist/utils/range/index.js +3 -5
- package/dist/utils/roundTo/index.js +5 -5
- package/dist/utils/setBreakPoint/index.js +1 -3
- package/dist/utils/stripUnit/index.js +2 -2
- package/dist/utils/time/Duration/index.js +33 -41
- package/dist/utils/time/durationToMilliseconds/index.js +11 -21
- package/dist/utils/time/durationToTimeString/index.js +3 -5
- package/dist/utils/time/millisecondsToDuration/index.js +6 -6
- package/dist/utils/trackForm/index.js +34 -37
- package/package.json +5 -5
- package/src/components/Checkbox/index.js +2 -2
- package/src/components/Typeahead/Option/index.js +0 -1
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const TrashIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M30.5 7.5h-5.625v-3c0-2.481-2.019-4.5-4.5-4.5h-8.75a4.505 4.505 0 0 0-4.5 4.5v3H1.5a1.5 1.5 0 1 0 0 3h2v17C3.5 29.981 5.519 32 8 32h16c2.481 0 4.5-2.019 4.5-4.5v-17h2a1.5 1.5 0 1 0 0-3zm-20.375-3a1.5 1.5 0 0 1 1.5-1.5h8.75a1.5 1.5 0 0 1 1.5 1.5v3h-11.75v-3zm15.375 6v17A1.5 1.5 0 0 1 24 29H8c-.827 0-1.5-.672-1.5-1.5v-17h19zM12.375 25.75a1.5 1.5 0 0 1-1.5-1.5v-9a1.5 1.5 0 1 1 3 0v9a1.5 1.5 0 0 1-1.5 1.5zm7.25 0a1.5 1.5 0 0 1-1.5-1.5v-9a1.5 1.5 0 1 1 3 0v9a1.5 1.5 0 0 1-1.5 1.5z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
TrashIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const UmbrellaIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M31.988 13.6c-.012-.137-.375-3.463-2.512-6.787C27.488 3.701 23.526 0 16.001 0S4.513 3.7 2.526 6.813C.388 10.138.026 13.463.013 13.6c-.037.425.1.838.375 1.162.287.313.688.5 1.113.5h12.875v10.75c0 1.65-1.35 3-3 3s-3-1.35-3-3c0-.825-.675-1.5-1.5-1.5s-1.5.675-1.5 1.5c0 3.313 2.688 6 6 6s6-2.688 6-6v-10.75h13.125c.425 0 .825-.175 1.113-.5s.425-.738.375-1.162zM3.337 12.25c.288-1.025.8-2.425 1.7-3.813C7.362 4.825 11.05 2.999 16 2.999c9 0 11.825 6.188 12.663 9.25H3.338z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
UmbrellaIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const UnpaidIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M16 23.5c-1.662 0-3.262-.863-4.387-2.363C10.576 19.75 10 17.925 10 16s.575-3.75 1.613-5.137C12.738 9.363 14.338 8.5 16 8.5s3.262.863 4.387 2.363C21.425 12.25 22 14.076 22 16s-.575 3.75-1.613 5.137C19.262 22.637 17.662 23.5 16 23.5zm0-12c-1.625 0-3 2.063-3 4.5s1.375 4.5 3 4.5 3-2.063 3-4.5-1.375-4.5-3-4.5zM30.5 4h-29C.675 4 0 4.675 0 5.5v21c0 .825.675 1.5 1.5 1.5l29 .012c.825 0 1.5-.675 1.5-1.5V5.5c0-.825-.675-1.5-1.5-1.5zM3 7h2.737A4.503 4.503 0 0 1 3 9.738V7.001zm0 18v-2.738A4.498 4.498 0 0 1 5.737 25H3zm26 0h-2.738A4.5 4.5 0 0 1 29 22.262V25zm0-5.85A7.521 7.521 0 0 0 23.15 25H8.85A7.52 7.52 0 0 0 3 19.15v-6.3A7.52 7.52 0 0 0 8.85 7h14.3A7.521 7.521 0 0 0 29 12.85v6.3zm0-9.412a4.503 4.503 0 0 1-2.738-2.737H29v2.737zm-2.725 19.974l-18-29A1.501 1.501 0 0 0 7-.001c-.825 0-1.5.675-1.5 1.5 0 .288.088.563.225.788l18 29c.262.425.738.712 1.275.712.825 0 1.5-.675 1.5-1.5a1.52 1.52 0 0 0-.225-.788z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
UnpaidIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const UpArrowIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M17.469 30.5V5.09l11.97 11.97a1.5 1.5 0 1 0 2.121-2.121L17.06.439a1.5 1.5 0 0 0-2.121 0l-14.5 14.5a1.503 1.503 0 0 0 0 2.122 1.5 1.5 0 0 0 2.121 0L14.468 5.153v25.346a1.5 1.5 0 1 0 3.001 0z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
UpArrowIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const UploadIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M8.351 9.149a1.5 1.5 0 0 0 2.121 0l4.027-4.027v19.379a1.5 1.5 0 1 0 3 0V5.122l4.027 4.027a1.5 1.5 0 1 0 2.121-2.121L17.06.44a1.501 1.501 0 0 0-2.122-.001L8.35 7.027a1.5 1.5 0 0 0 0 2.122zM27.5 32h-.006l-23-.029A4.507 4.507 0 0 1 0 27.47V24.5a1.5 1.5 0 1 1 3 0v2.97c0 .828.672 1.501 1.499 1.501l23 .029h.003c.4 0 .776-.156 1.059-.439.284-.284.441-.661.441-1.064V24.5a1.5 1.5 0 1 1 3 0v2.999a4.472 4.472 0 0 1-1.321 3.186A4.473 4.473 0 0 1 27.501 32z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
UploadIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const UserIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M26.863 18.69A12.434 12.434 0 0 0 28.5 12.5C28.5 5.596 22.904 0 16 0S3.5 5.596 3.5 12.5c0 2.248.594 4.358 1.633 6.18A10.952 10.952 0 0 0 0 27.964v1.844C0 31.014.986 32 2.192 32h27.615a2.198 2.198 0 0 0 2.192-2.192v-1.844c0-3.894-2.058-7.328-5.137-9.274zM16 3c5.239 0 9.5 4.261 9.5 9.5S21.239 22 16 22s-9.5-4.261-9.5-9.5S10.761 3 16 3zm13 26H3v-1.036a7.963 7.963 0 0 1 3.931-6.861A12.466 12.466 0 0 0 16 25.001a12.46 12.46 0 0 0 9.065-3.894 8.074 8.074 0 0 1 1.594 1.235A7.903 7.903 0 0 1 29 27.963v1.038z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
UserIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const UserAddIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M26.863 18.69A12.434 12.434 0 0 0 28.5 12.5C28.5 5.596 22.904 0 16 0S3.5 5.596 3.5 12.5c0 2.248.594 4.358 1.633 6.18A10.952 10.952 0 0 0 0 27.964v1.844C0 31.014.986 32 2.192 32h27.615a2.198 2.198 0 0 0 2.192-2.192v-1.844c0-3.894-2.058-7.328-5.137-9.274zM16 3c5.239 0 9.5 4.261 9.5 9.5S21.239 22 16 22s-9.5-4.261-9.5-9.5S10.761 3 16 3zm13 26H3v-1.036a7.963 7.963 0 0 1 3.931-6.861A12.466 12.466 0 0 0 16 25.001a12.46 12.46 0 0 0 9.065-3.894 8.074 8.074 0 0 1 1.594 1.235A7.903 7.903 0 0 1 29 27.963v1.038zM12.125 13.75h2.625v2.625a1.25 1.25 0 0 0 2.5 0V13.75h2.625a1.25 1.25 0 0 0 0-2.5H17.25V8.625a1.25 1.25 0 0 0-2.5 0v2.625h-2.625a1.25 1.25 0 0 0 0 2.5z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
UserAddIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const UserIdIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M27.5 0h-23A4.505 4.505 0 0 0 0 4.5v23C0 29.981 2.019 32 4.5 32h23c2.481 0 4.5-2.019 4.5-4.5v-23C32 2.019 29.981 0 27.5 0zM29 27.5a1.5 1.5 0 0 1-1.5 1.5h-23A1.5 1.5 0 0 1 3 27.5v-23A1.5 1.5 0 0 1 4.5 3h23A1.5 1.5 0 0 1 29 4.5v23zm-7.277-11.234A6.751 6.751 0 1 0 9.25 12.687a6.72 6.72 0 0 0 1.024 3.574A7.748 7.748 0 0 0 6 23.187v1.25a1.5 1.5 0 0 0 1.5 1.5h17a1.5 1.5 0 0 0 1.5-1.5v-1.25c0-3.016-1.746-5.641-4.277-6.921zM16 8.938c2.067 0 3.75 1.683 3.75 3.75s-1.683 3.75-3.75 3.75-3.75-1.683-3.75-3.75 1.683-3.75 3.75-3.75zm-6.994 14a4.758 4.758 0 0 1 3.669-4.376 6.722 6.722 0 0 0 3.325.876 6.71 6.71 0 0 0 3.324-.876 4.744 4.744 0 0 1 2.279 1.274 4.717 4.717 0 0 1 1.391 3.102H9.006z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
UserIdIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const UserRemoveIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M26.863 18.69A12.434 12.434 0 0 0 28.5 12.5C28.5 5.596 22.904 0 16 0S3.5 5.596 3.5 12.5c0 2.248.594 4.358 1.633 6.18A10.952 10.952 0 0 0 0 27.964v1.844C0 31.014.986 32 2.192 32h27.615a2.198 2.198 0 0 0 2.192-2.192v-1.844c0-3.894-2.058-7.328-5.137-9.274zM16 3c5.239 0 9.5 4.261 9.5 9.5S21.239 22 16 22s-9.5-4.261-9.5-9.5S10.761 3 16 3zm13 26H3v-1.036a7.963 7.963 0 0 1 3.931-6.861A12.466 12.466 0 0 0 16 25.001a12.46 12.46 0 0 0 9.065-3.894 8.074 8.074 0 0 1 1.594 1.235A7.903 7.903 0 0 1 29 27.963v1.038zM12.125 13.75h7.75a1.25 1.25 0 0 0 0-2.5h-7.75a1.25 1.25 0 0 0 0 2.5z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
UserRemoveIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const UsersIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M28.465 13.771A8.125 8.125 0 1 0 15.859 3.626 9.963 9.963 0 0 0 11.25 2.5c-5.522 0-10 4.478-10 10 0 2.7 1.071 5.148 2.81 6.946A10.945 10.945 0 0 0 0 27.963v1.844c0 1.206.986 2.192 2.192 2.192h18.115a2.198 2.198 0 0 0 2.192-2.192v-1.844c0-1.444-.284-2.824-.796-4.089h8.796c.825 0 1.5-.675 1.5-1.5v-2.25c0-2.671-1.416-5.025-3.535-6.354zM22.625 3c2.826 0 5.125 2.299 5.125 5.125s-2.299 5.125-5.125 5.125c-.483 0-.949-.069-1.391-.194a9.966 9.966 0 0 0-2.945-7.657A5.125 5.125 0 0 1 22.625 3zM11.25 5.5c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.14-7-7 3.14-7 7-7zM19.5 29H3v-1.036a7.96 7.96 0 0 1 3.56-6.631 9.96 9.96 0 0 0 4.69 1.168 9.958 9.958 0 0 0 4.685-1.165 8.16 8.16 0 0 1 1.224 1.006 7.903 7.903 0 0 1 2.341 5.621v1.038zm9.5-8.125h-9.117c-.44-.516-.925-.991-1.451-1.419.95-.981 1.7-2.156 2.188-3.459a8.12 8.12 0 0 0 4.86-.264 4.493 4.493 0 0 1 2.199 1.215 4.465 4.465 0 0 1 1.325 3.175v.751h-.003z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
UsersIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const VirusIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M30.5 14.375h-1.587a13.33 13.33 0 0 0-.975-3.662l1.375-.8c.712-.412.962-1.338.55-2.05s-1.337-.963-2.05-.55l-1.375.8a13.56 13.56 0 0 0-2.675-2.675l.8-1.375c.413-.712.163-1.638-.55-2.05s-1.637-.163-2.05.55l-.8 1.375a12.394 12.394 0 0 0-3.663-.975V1.376c0-.825-.675-1.5-1.5-1.5s-1.5.675-1.5 1.5v1.587c-1.287.15-2.512.487-3.662.975l-.8-1.375c-.412-.712-1.338-.962-2.05-.55s-.963 1.337-.55 2.05l.8 1.375a12.94 12.94 0 0 0-2.662 2.687l-1.375-.8c-.712-.412-1.638-.162-2.05.55s-.163 1.637.55 2.05l1.375.8a12.396 12.396 0 0 0-.975 3.662h-1.6c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5h1.587c.15 1.288.487 2.512.975 3.663l-1.375.8a1.509 1.509 0 0 0-.55 2.05 1.504 1.504 0 0 0 2.05.55l1.375-.8a13.586 13.586 0 0 0 2.675 2.675l-.8 1.375a1.51 1.51 0 0 0 .55 2.05c.238.137.5.2.75.2.512 0 1.025-.275 1.3-.75l.8-1.375c1.137.5 2.375.837 3.662.975v1.575c0 .825.675 1.5 1.5 1.5s1.5-.675 1.5-1.5v-1.587a13.337 13.337 0 0 0 3.663-.975l.8 1.375c.275.488.788.75 1.3.75.25 0 .512-.063.75-.2a1.509 1.509 0 0 0 .55-2.05l-.8-1.375a13.56 13.56 0 0 0 2.675-2.675l1.375.8c.238.137.5.2.75.2.512 0 1.025-.275 1.3-.75a1.507 1.507 0 0 0-.55-2.05l-1.375-.8c.5-1.137.837-2.375.975-3.663H30.5c.825 0 1.5-.675 1.5-1.5s-.675-1.5-1.5-1.5zM16 25.875c-5.512 0-10-4.488-10-10s4.488-10 10-10 10 4.488 10 10-4.488 10-10 10zm.625-11.375a3 3 0 1 1-6 0 3 3 0 0 1 6 0zm3.125 6.375a1.5 1.5 0 1 1-3.001-.001 1.5 1.5 0 0 1 3.001.001zm3.25-5a1.5 1.5 0 1 1-3.001-.001 1.5 1.5 0 0 1 3.001.001z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
VirusIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -13,22 +13,20 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
}));
|
31
|
-
};
|
16
|
+
const VisibilityIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 256 256"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M254.89 122.97c-.36-.78-9.08-19.38-29.04-37.79C207.48 68.22 175.58 48 128 48S48.52 68.22 30.14 85.18c-19.95 18.41-28.67 37-29.04 37.79a12.026 12.026 0 0 0 0 10.06c.36.78 9.08 19.38 29.04 37.79C48.52 187.78 80.42 208 128 208s79.48-20.22 97.86-37.18c19.95-18.41 28.67-37 29.04-37.79 1.47-3.19 1.47-6.87-.01-10.06zM184 128c0 30.88-25.12 56-56 56s-56-25.12-56-56 25.12-56 56-56 56 25.12 56 56zm-158.3 0c3.54-5.84 10.5-15.91 21.44-25.84 2.49-2.26 5.05-4.39 7.68-6.4C50.44 105.63 48 116.53 48 128s2.44 22.37 6.81 32.24c-2.62-2.01-5.18-4.14-7.68-6.4-10.93-9.93-17.9-20-21.43-25.84zm183.17 25.84a118.32 118.32 0 0 1-7.68 6.4c4.36-9.87 6.81-20.77 6.81-32.24s-2.44-22.37-6.81-32.24c2.62 2.01 5.18 4.14 7.68 6.4 10.94 9.93 17.91 20.01 21.44 25.83-3.54 5.85-10.51 15.92-21.44 25.85z",
|
20
|
+
fill: props.color
|
21
|
+
}), _react.default.createElement("circle", {
|
22
|
+
cx: "128",
|
23
|
+
cy: "128",
|
24
|
+
r: "30",
|
25
|
+
fill: props.color
|
26
|
+
}), _react.default.createElement("path", {
|
27
|
+
d: "M252.49 3.51c-4.69-4.69-12.29-4.69-16.97 0l-232 232c-4.69 4.69-4.69 12.28 0 16.97 4.69 4.69 12.29 4.69 16.97 0l232-232c4.68-4.68 4.68-12.28 0-16.97z",
|
28
|
+
fill: props.color
|
29
|
+
}));
|
32
30
|
|
33
31
|
VisibilityIcon.displayName = 'VisibilityIcon';
|
34
32
|
VisibilityIcon.propTypes = {
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const WalletIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M29 6.258V4.5C29 2.019 26.981 0 24.5 0h-20A4.505 4.505 0 0 0 0 4.5v23C0 29.981 2.019 32 4.5 32h23c2.481 0 4.5-2.019 4.5-4.5v-17a4.505 4.505 0 0 0-3-4.242zM4.5 3h20A1.5 1.5 0 0 1 26 4.5V6H4.5a1.501 1.501 0 0 1 0-3zM29 22h-9v-6h9v6zm-9-9c-1.654 0-3 1.346-3 3v6c0 1.654 1.346 3 3 3h9v2.5a1.5 1.5 0 0 1-1.5 1.5h-23A1.5 1.5 0 0 1 3 27.5V8.742c.469.168.974.258 1.5.258h23a1.5 1.5 0 0 1 1.5 1.5V13h-9zm6 6a1.5 1.5 0 1 1-3.001-.001A1.5 1.5 0 0 1 26 19z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
WalletIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const WatchIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 32 32"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M22.384 5.915l-1.01-3.704A3.007 3.007 0 0 0 18.479 0H13.27a3.006 3.006 0 0 0-2.894 2.211l-1.05 3.851A4.5 4.5 0 0 0 7 10v12c0 1.694.94 3.17 2.326 3.939l1.05 3.851A3.007 3.007 0 0 0 13.271 32h5.209a3.006 3.006 0 0 0 2.894-2.211l1.01-3.704A4.504 4.504 0 0 0 25 22V10a4.506 4.506 0 0 0-2.616-4.085zM22 10v12a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 10 22V10a1.5 1.5 0 0 1 1.5-1.5h9A1.5 1.5 0 0 1 22 10zm-8.729-7h5.209l.681 2.5h-6.572l.682-2.5zm5.208 26H13.27l-.681-2.5h6.573l-.683 2.5zm-2.541-19a1.5 1.5 0 0 0-1.5 1.5v3h-1.375a1.5 1.5 0 1 0 0 3h2.875a1.5 1.5 0 0 0 1.5-1.5v-4.5a1.5 1.5 0 0 0-1.5-1.5zM3 17.5a1.5 1.5 0 1 0 0-3H1.5a1.5 1.5 0 1 0 0 3H3zm27.5-3H29a1.5 1.5 0 1 0 0 3h1.5a1.5 1.5 0 1 0 0-3zm-.725 6.269l-1.36-.634a1.501 1.501 0 0 0-1.269 2.719l1.36.634a1.5 1.5 0 0 0 1.269-2.719zM4.853 9.146l-1.36-.634a1.501 1.501 0 0 0-1.269 2.719l1.36.634a1.5 1.5 0 0 0 1.269-2.719zm22.929 2.86c.212 0 .427-.045.633-.141l1.36-.634a1.5 1.5 0 1 0-1.269-2.719l-1.36.634a1.5 1.5 0 0 0 .636 2.86zM3.584 20.135l-1.36.634a1.5 1.5 0 1 0 1.267 2.719l1.36-.634a1.5 1.5 0 1 0-1.267-2.719z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
WatchIcon.propTypes = {
|
25
23
|
size: _propTypes.number
|
@@ -15,18 +15,16 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
15
15
|
|
16
16
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
}));
|
29
|
-
};
|
18
|
+
const WeekIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
19
|
+
viewBox: "0 0 21.605 21.605"
|
20
|
+
}, props), _react.default.createElement("path", {
|
21
|
+
id: "calendar",
|
22
|
+
d: "M18.567,2.026H16.584V1.013a1.013,1.013,0,0,0-2.026,0V2.026H7.131V1.013a1.013,1.013,0,0,0-2.026,0V2.026H3.038A3.042,3.042,0,0,0,0,5.064v13.5a3.042,3.042,0,0,0,3.038,3.038H18.567a3.042,3.042,0,0,0,3.038-3.038V5.064A3.042,3.042,0,0,0,18.567,2.026ZM19.58,18.567a1.014,1.014,0,0,1-1.013,1.013H3.038a1.014,1.014,0,0,1-1.013-1.013V5.064A1.014,1.014,0,0,1,3.038,4.051H5.106V5.064a1.013,1.013,0,0,0,2.026,0V4.051h7.427V5.064a1.013,1.013,0,0,0,2.026,0V4.051h1.983A1.014,1.014,0,0,1,19.58,5.064Z"
|
23
|
+
}), _react.default.createElement("path", {
|
24
|
+
id: "number",
|
25
|
+
d: "M92.025,105.452a1.014,1.014,0,0,1-.922-1.432l2.725-5.995H91.013a1.013,1.013,0,0,1,0-2.026H95.4a1.013,1.013,0,0,1,.922,1.431l-3.376,7.427A1.014,1.014,0,0,1,92.025,105.452Z",
|
26
|
+
transform: "translate(-82.404 -87.898)"
|
27
|
+
}));
|
30
28
|
|
31
29
|
WeekIcon.displayName = 'WeekIcon';
|
32
30
|
WeekIcon.propTypes = {
|
@@ -13,13 +13,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}));
|
22
|
-
};
|
16
|
+
const XingMoodleIcon = props => _react.default.createElement(_reactIconBase.default, _extends({
|
17
|
+
viewBox: "0 0 300 300"
|
18
|
+
}, props), _react.default.createElement("path", {
|
19
|
+
d: "M234.036 138.213c-2.675-9.459-12.658-13.447-29.666-11.866l-5.633.524c-10.695.993-24.147 2.242-38.952 3.711 48.1-31.405 128.627-73.003 129.216-73.277L286.009 46.9c-1.57-5.461-7.924-7.456-13.964-4.36-15.205 7.794-92.529 50.063-130.07 75.099 26.971-62.084 51.466-113.475 51.94-114.468L182.921.313C177.436-1.113 170.742 2.463 168 8.29c-9.099 19.334-29.118 62.405-50.237 111.295-12.331-19.757-28.073-36.568-37.141-45.531-3.894-3.849-11.129-2.932-15.922 2.018l-9.18 9.481c.311.275 26.417 23.652 43.179 51.749-24.728 3.067-48.456 6.559-66.088 10.357-6.38 1.374-11.45 7.59-11.09 13.554l.676 11.195c13.622-3.738 34.783-7.26 58.274-10.425a1058.249 1058.249 0 0 0-64.928 54.763c-4.993 4.568-6.037 11.48-2.309 15.341l7.398 7.663c24.865-23.296 49.46-43.898 72.705-61.872-16.236 40.165-30.787 79.645-38.768 109.539l-.374 1.401c-2.485 9.307 7.108 14.62 15.658 8.672l1.287-.896c2.942-2.046 72.489-50.528 111.874-86.361 40.329-36.69 55.111-57.556 51.022-72.02zm-64.802 57.064c-23.658 21.525-59.939 48.701-83.962 66.153 10.194-31.058 24.842-68.375 40.096-104.862 26.692-2.917 52.36-5.3 70.236-6.959l5.64-.524c5.536-.515 8.358-.134 9.666.204-1.304 3.525-7.943 15.298-41.676 45.988z"
|
20
|
+
}));
|
23
21
|
|
24
22
|
XingMoodleIcon.displayName = 'XingMoodleIcon';
|
25
23
|
XingMoodleIcon.propTypes = {
|
@@ -11,55 +11,44 @@ var _reactCopyToClipboard = require("react-copy-to-clipboard");
|
|
11
11
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
}
|
33
|
-
|
34
|
-
function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
|
35
|
-
|
36
|
-
var req = require.context('./', true, /.*\/.*.js/);
|
37
|
-
|
38
|
-
var Icons = req.keys().map(req).map(function (m) {
|
39
|
-
return m.default;
|
40
|
-
}).filter(Boolean);
|
41
|
-
|
42
|
-
var IconDemo = _styledComponents.default.div(_templateObject());
|
43
|
-
|
14
|
+
const req = require.context('./', true, /.*\/.*.js/);
|
15
|
+
|
16
|
+
const Icons = req.keys().map(req).map(m => m.default).filter(Boolean);
|
17
|
+
const IconDemo = _styledComponents.default.div`
|
18
|
+
flex-grow: 1;
|
19
|
+
width: auto;
|
20
|
+
padding: 1rem;
|
21
|
+
border: #eee 1px solid;
|
22
|
+
margin: 0.5rem;
|
23
|
+
text-align: center;
|
24
|
+
flex-basis: 150px;
|
25
|
+
flex-grow: 1;
|
26
|
+
|
27
|
+
h3 {
|
28
|
+
margin: 0.5rem 0 0;
|
29
|
+
font-size: 12px;
|
30
|
+
}
|
31
|
+
`;
|
44
32
|
IconDemo.displayName = 'IconDemo';
|
45
|
-
|
46
|
-
|
47
|
-
|
33
|
+
const Container = _styledComponents.default.div`
|
34
|
+
display: flex;
|
35
|
+
justify-content: space-between;
|
36
|
+
flex-wrap: wrap;
|
37
|
+
cursor: pointer;
|
38
|
+
`;
|
48
39
|
Container.displayName = 'Container';
|
49
40
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
}));
|
62
|
-
};
|
41
|
+
const AllIcons = () => _react.default.createElement(Container, null, Icons.map(icon => {
|
42
|
+
const Icon = icon;
|
43
|
+
const name = Icon.name.replace('Icon', '');
|
44
|
+
const importSrc = `import ${name} from 'bright-components/dist/components/Icons/${name}';`;
|
45
|
+
return _react.default.createElement(_reactCopyToClipboard.CopyToClipboard, {
|
46
|
+
text: importSrc,
|
47
|
+
key: Icon.name
|
48
|
+
}, _react.default.createElement(IconDemo, null, _react.default.createElement(Icon, {
|
49
|
+
size: 30
|
50
|
+
}), _react.default.createElement("h3", null, name)));
|
51
|
+
}));
|
63
52
|
|
64
53
|
var _default = AllIcons;
|
65
54
|
exports.default = _default;
|