@cerebruminc/cerebellum 18.0.0 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/package.json +3 -3
- package/src/SharedStorybook/ComponentLabel.tsx +2 -2
- package/src/SharedStorybook/DocStyles.tsx +1 -1
- package/src/SharedStorybook/DocsOnly.tsx +1 -1
- package/src/SharedStorybook/Layout.tsx +1 -1
- package/src/SharedStorybook/Notes.tsx +1 -1
- package/src/SharedStorybook/TextGroup.tsx +1 -1
- package/src/SharedStorybook/TextGroupStyles.tsx +1 -1
- package/src/assets/EmptySearchIcon.tsx +0 -2
- package/src/assets/icons/Cerebrum.tsx +2 -2
- package/src/assets/icons/Cognition.tsx +2 -2
- package/src/assets/icons/Cortex.tsx +2 -2
- package/src/assets/icons/Neuron.tsx +2 -2
- package/src/codemods/formatMdxStorybook7Update.ts +0 -3
- package/src/components/Accordion/Accordion.test.tsx +0 -1
- package/src/components/Accordion/Accordion.tsx +1 -1
- package/src/components/AddressInput/AddressInput.test.tsx +0 -1
- package/src/components/AlertCount/AlertCount.stories.tsx +0 -1
- package/src/components/AlertCount/AlertCount.test.tsx +1 -2
- package/src/components/Avatar/Avatar.test.tsx +0 -1
- package/src/components/Avatar/Avatar.tsx +2 -2
- package/src/components/Button/BoxedButton.tsx +1 -1
- package/src/components/Button/BoxedOutlineButton.tsx +1 -1
- package/src/components/Button/Button.stories.tsx +1 -2
- package/src/components/Button/Button.test.tsx +2 -3
- package/src/components/Button/Button.tsx +2 -2
- package/src/components/Button/ButtonComponentStyles.tsx +1 -1
- package/src/components/Button/OutlineButton.tsx +1 -1
- package/src/components/Button/PrimaryButton.tsx +1 -1
- package/src/components/Button/SecondaryButton.tsx +1 -1
- package/src/components/Button/SingleButton.tsx +1 -1
- package/src/components/Button/TextButton.tsx +1 -1
- package/src/components/Button/helpers.ts +11 -2
- package/src/components/Button/types.ts +1 -1
- package/src/components/Checkbox/Checkbox.test.tsx +0 -1
- package/src/components/Checkbox/Checkbox.tsx +2 -2
- package/src/components/CheckboxGroup/CheckboxGroup.stories.tsx +1 -2
- package/src/components/CheckboxGroup/CheckboxGroup.test.tsx +17 -3
- package/src/components/CheckboxGroup/CheckboxGroup.tsx +10 -3
- package/src/components/CheckboxGroup/types.ts +1 -1
- package/src/components/CheckboxItem/CheckboxItem.stories.tsx +2 -3
- package/src/components/CheckboxItem/CheckboxItem.test.tsx +0 -1
- package/src/components/CheckboxItem/CheckboxItem.tsx +1 -1
- package/src/components/ClearableTag/ClearableTag.stories.tsx +1 -1
- package/src/components/ClearableTag/ClearableTag.test.tsx +1 -2
- package/src/components/ClearableTag/ClearableTag.tsx +2 -2
- package/src/components/ClearableTag/ClearableTagStyles.tsx +1 -1
- package/src/components/ClickOutHandler/ClickOutHandler.stories.tsx +4 -4
- package/src/components/ClickOutHandler/ClickOutHandler.test.tsx +0 -1
- package/src/components/ClickOutHandler/ClickOutHandler.tsx +1 -1
- package/src/components/ClickOutHandler/ClickoutHandlerStoryStyles.tsx +1 -1
- package/src/components/ColorButton/ColorButton.stories.tsx +1 -2
- package/src/components/ColorButton/ColorButton.test.tsx +1 -2
- package/src/components/ColorButton/ColorButton.tsx +1 -1
- package/src/components/ColorButton/ColorButtonStyles.tsx +1 -1
- package/src/components/ColorPickerInput/ColorPickerInput.stories.tsx +1 -2
- package/src/components/ColorPickerInput/ColorPickerInput.test.tsx +1 -3
- package/src/components/ColorPickerInput/ColorPickerInput.tsx +2 -2
- package/src/components/ColorPickerInput/InlineColorPickerInput.tsx +1 -1
- package/src/components/ColorPickerMenu/ColorPickerMenu.stories.tsx +1 -2
- package/src/components/ColorPickerMenu/ColorPickerMenu.test.tsx +1 -2
- package/src/components/ColorPickerMenu/ColorPickerMenu.tsx +3 -3
- package/src/components/ConfigurableInput/ConfigurableInput.stories.tsx +1 -2
- package/src/components/ConfigurableInput/ConfigurableInput.test.tsx +2 -3
- package/src/components/ConfigurableInput/ConfigurableInput.tsx +7 -4
- package/src/components/ConfigurableInput/mocks.tsx +2 -2
- package/src/components/ConfigurableInput/types.ts +1 -1
- package/src/components/ConfirmModal/ConfirmModal.stories.tsx +4 -5
- package/src/components/ConfirmModal/ConfirmModal.test.tsx +0 -1
- package/src/components/ConfirmModal/ConfirmModal.tsx +2 -2
- package/src/components/CreditCardInput/CreditCardInput.stories.tsx +1 -2
- package/src/components/CreditCardInput/CreditCardInput.test.tsx +0 -1
- package/src/components/CreditCardInput/CreditCardInput.tsx +2 -2
- package/src/components/CurrencyInput/CurrencyInput.stories.tsx +1 -2
- package/src/components/CurrencyInput/CurrencyInput.test.tsx +0 -1
- package/src/components/CurrencyInput/CurrencyInput.tsx +2 -2
- package/src/components/DatePicker/CustomHeader.tsx +5 -5
- package/src/components/DatePicker/DatePicker.stories.tsx +0 -1
- package/src/components/DatePicker/DatePicker.test.tsx +0 -1
- package/src/components/DatePicker/DatePicker.tsx +1 -1
- package/src/components/DatePicker/InlineDatePicker.tsx +2 -2
- package/src/components/DescriptiveSwitchMenu/DescriptiveSwitchMenu.stories.tsx +1 -2
- package/src/components/DescriptiveSwitchMenu/DescriptiveSwitchMenu.test.tsx +0 -1
- package/src/components/DescriptiveSwitchMenu/DescriptiveSwitchMenu.tsx +4 -4
- package/src/components/DescriptiveSwitchMenu/DescriptiveSwitchMenuStyles.tsx +2 -2
- package/src/components/DigitalInput/DigitalInput.stories.tsx +6 -7
- package/src/components/DigitalInput/DigitalInput.test.tsx +0 -1
- package/src/components/DigitalInput/DigitalInput.tsx +12 -4
- package/src/components/DigitalInput/DigitalInputStyles.tsx +2 -5
- package/src/components/Drawer/Drawer.stories.tsx +1 -2
- package/src/components/Drawer/Drawer.test.tsx +0 -1
- package/src/components/Drawer/Drawer.tsx +1 -1
- package/src/components/Drawer/DrawerDivider/DrawerDivider.tsx +1 -1
- package/src/components/Drawer/mocks.tsx +0 -1
- package/src/components/EmailInput/EmailInput.stories.tsx +1 -2
- package/src/components/EmailInput/EmailInput.test.tsx +0 -1
- package/src/components/EmailInput/EmailInput.tsx +1 -1
- package/src/components/FiltersBar/FiltersBar.stories.tsx +1 -2
- package/src/components/FiltersBar/FiltersBar.test.tsx +1 -2
- package/src/components/FiltersBar/FiltersBar.tsx +8 -4
- package/src/components/FiltersBar/mocks.tsx +1 -1
- package/src/components/Footer/Footer.stories.tsx +0 -1
- package/src/components/Footer/Footer.test.tsx +0 -1
- package/src/components/Footer/Footer.tsx +1 -1
- package/src/components/Form/Form.stories.tsx +1 -2
- package/src/components/Form/Form.test.tsx +26 -32
- package/src/components/Form/Form.tsx +3 -3
- package/src/components/Form/FormLoader.tsx +0 -1
- package/src/components/Form/FormikContainer.tsx +1 -1
- package/src/components/Form/fields/AddressField/AddressField.stories.tsx +0 -1
- package/src/components/Form/fields/AddressField/AddressField.test.tsx +1 -1
- package/src/components/Form/fields/AddressField/AddressField.tsx +3 -3
- package/src/components/Form/fields/CheckboxField/CheckboxField.stories.tsx +0 -1
- package/src/components/Form/fields/CheckboxField/CheckboxField.tsx +2 -2
- package/src/components/Form/fields/CheckboxGroupField/CheckboxGroupField.stories.tsx +0 -1
- package/src/components/Form/fields/CheckboxGroupField/CheckboxGroupField.tsx +3 -3
- package/src/components/Form/fields/ColorPickerField/ColorPickerField.stories.tsx +0 -1
- package/src/components/Form/fields/ColorPickerField/ColorPickerField.tsx +1 -1
- package/src/components/Form/fields/ConfigurableInputField/ConfigurableInputField.stories.tsx +0 -1
- package/src/components/Form/fields/ConfigurableInputField/ConfigurableInputField.tsx +4 -4
- package/src/components/Form/fields/CountrySelectField/CountrySelectField.stories.tsx +0 -1
- package/src/components/Form/fields/CountrySelectField/CountrySelectField.tsx +1 -1
- package/src/components/Form/fields/CountySelectField/CountySelectField.stories.tsx +1 -2
- package/src/components/Form/fields/CountySelectField/CountySelectField.tsx +1 -1
- package/src/components/Form/fields/CreditCardField/CreditCardField.stories.tsx +0 -1
- package/src/components/Form/fields/CreditCardField/CreditCardField.tsx +6 -6
- package/src/components/Form/fields/CurrencyField/CurrencyField.stories.tsx +0 -1
- package/src/components/Form/fields/CurrencyField/CurrencyField.tsx +5 -5
- package/src/components/Form/fields/DatePickerField/DatePickerField.stories.tsx +0 -3
- package/src/components/Form/fields/DatePickerField/DatePickerField.tsx +3 -3
- package/src/components/Form/fields/DescriptiveDropdownInputField/DescriptiveDropdownInputField.stories.tsx +1 -2
- package/src/components/Form/fields/DescriptiveDropdownInputField/DescriptiveDropdownInputField.tsx +4 -4
- package/src/components/Form/fields/EmailField/EmailField.stories.tsx +0 -1
- package/src/components/Form/fields/EmailField/EmailField.tsx +3 -3
- package/src/components/Form/fields/HiddenField/HiddenField.stories.tsx +0 -1
- package/src/components/Form/fields/HiddenField/HiddenField.tsx +1 -1
- package/src/components/Form/fields/ImagePickerField/ImagePickerField.stories.tsx +2 -3
- package/src/components/Form/fields/ImagePickerField/ImagePickerField.tsx +4 -4
- package/src/components/Form/fields/MultiSelectField/MultiSelectField.stories.tsx +1 -2
- package/src/components/Form/fields/MultiSelectField/MultiSelectField.tsx +3 -3
- package/src/components/Form/fields/NationalitySelectField/NationalitySelectField.stories.tsx +0 -1
- package/src/components/Form/fields/NationalitySelectField/NationalitySelectField.tsx +1 -1
- package/src/components/Form/fields/NumberField/NumberField.stories.tsx +1 -2
- package/src/components/Form/fields/NumberField/NumberField.tsx +5 -5
- package/src/components/Form/fields/PasswordField/PasswordField.stories.tsx +0 -1
- package/src/components/Form/fields/PasswordField/PasswordField.tsx +4 -4
- package/src/components/Form/fields/PhoneField/PhoneField.stories.tsx +1 -2
- package/src/components/Form/fields/PhoneField/PhoneField.tsx +5 -5
- package/src/components/Form/fields/RadioGroupField/RadioGroupField.stories.tsx +0 -1
- package/src/components/Form/fields/RadioGroupField/RadioGroupField.tsx +4 -4
- package/src/components/Form/fields/RemovableField/RemovableField.stories.tsx +2 -3
- package/src/components/Form/fields/RemovableField/RemovableField.test.tsx +0 -1
- package/src/components/Form/fields/RemovableField/RemovableField.tsx +2 -2
- package/src/components/Form/fields/SectionHeader/SectionHeader.stories.tsx +0 -1
- package/src/components/Form/fields/SectionHeader/SectionHeader.tsx +2 -2
- package/src/components/Form/fields/SelectField/SelectField.stories.tsx +0 -1
- package/src/components/Form/fields/SelectField/SelectField.tsx +2 -2
- package/src/components/Form/fields/SocialSecurityField/SocialSecurityField.stories.tsx +0 -1
- package/src/components/Form/fields/SocialSecurityField/SocialSecurityField.tsx +3 -3
- package/src/components/Form/fields/SplitLineField/SplitLineField.stories.tsx +2 -2
- package/src/components/Form/fields/SplitLineField/SplitLineField.tsx +1 -1
- package/src/components/Form/fields/StateSelectField/StateSelectField.stories.tsx +0 -1
- package/src/components/Form/fields/StateSelectField/StateSelectField.tsx +1 -1
- package/src/components/Form/fields/TextField/TextField.stories.tsx +1 -2
- package/src/components/Form/fields/TextField/TextField.tsx +4 -4
- package/src/components/Form/fields/TextareaField/TextareaField.stories.tsx +1 -2
- package/src/components/Form/fields/TextareaField/TextareaField.tsx +3 -3
- package/src/components/Form/fields/ToggleField/ToggleField.stories.tsx +0 -1
- package/src/components/Form/fields/ToggleField/ToggleField.tsx +2 -2
- package/src/components/Form/fields/ToggleGroupField/ToggleGroupField.stories.tsx +0 -1
- package/src/components/Form/fields/ToggleGroupField/ToggleGroupField.tsx +3 -3
- package/src/components/Form/fields/ZipCodeField/ZipCodeField.stories.tsx +0 -1
- package/src/components/Form/fields/ZipCodeField/ZipCodeField.tsx +5 -5
- package/src/components/Form/helpers.ts +9 -13
- package/src/components/Form/mocks/fields.tsx +3 -4
- package/src/components/Form/mocks/testingComponents.tsx +1 -1
- package/src/components/Form/mocks/testingFields.ts +2 -2
- package/src/components/Form/stories/ClearingForms.stories.tsx +2 -3
- package/src/components/Form/stories/DynamicForms.stories.tsx +0 -1
- package/src/components/Form/stories/DynamicFormsExample.tsx +2 -2
- package/src/components/Form/stories/ExternalSubmit.stories.tsx +0 -1
- package/src/components/Form/stories/ExternalSubmitExample.tsx +3 -3
- package/src/components/Form/stories/LeftLabels.stories.tsx +1 -2
- package/src/components/Form/stories/Loading.stories.tsx +1 -2
- package/src/components/Form/stories/StickyFooter.stories.tsx +3 -4
- package/src/components/Form/types.ts +6 -6
- package/src/components/HorizontalTabMenu/HorizontalTabMenu.stories.tsx +2 -3
- package/src/components/HorizontalTabMenu/HorizontalTabMenu.test.tsx +0 -1
- package/src/components/HorizontalTabMenu/HorizontalTabMenu.tsx +3 -3
- package/src/components/IconButton/IconButton.stories.tsx +2 -3
- package/src/components/IconButton/IconButton.test.tsx +1 -2
- package/src/components/IconButton/IconButton.tsx +1 -1
- package/src/components/IconButton/IconButtonStyles.tsx +1 -1
- package/src/components/IconButton/types.ts +1 -1
- package/src/components/IconTile/IconTile.stories.tsx +2 -3
- package/src/components/IconTile/IconTile.test.tsx +2 -3
- package/src/components/IconTile/IconTile.tsx +4 -4
- package/src/components/IconTile/IconTileStyles.tsx +1 -1
- package/src/components/IconTile/types.ts +1 -1
- package/src/components/Icons/Accessibility.tsx +27 -27
- package/src/components/Icons/AltIdBack.tsx +1 -1
- package/src/components/Icons/AltIdFront.tsx +1 -1
- package/src/components/Icons/Arrow.tsx +1 -1
- package/src/components/Icons/ArrowLong.tsx +1 -1
- package/src/components/Icons/Assign.tsx +1 -1
- package/src/components/Icons/At.tsx +1 -1
- package/src/components/Icons/Attachment.tsx +1 -1
- package/src/components/Icons/BackCircle.tsx +1 -1
- package/src/components/Icons/BackgroundCheck.tsx +1 -1
- package/src/components/Icons/BellOutline.tsx +1 -1
- package/src/components/Icons/Bill.tsx +1 -1
- package/src/components/Icons/Calendar.tsx +1 -1
- package/src/components/Icons/Camera.tsx +1 -1
- package/src/components/Icons/Car.tsx +1 -1
- package/src/components/Icons/CaretDown.tsx +1 -1
- package/src/components/Icons/CaretLeft.tsx +1 -1
- package/src/components/Icons/CaretRight.tsx +1 -1
- package/src/components/Icons/CaretUp.tsx +1 -1
- package/src/components/Icons/Cart.tsx +1 -1
- package/src/components/Icons/Certs.tsx +1 -1
- package/src/components/Icons/ChatBubbleLines.tsx +1 -1
- package/src/components/Icons/Check.tsx +1 -1
- package/src/components/Icons/CheckboxEmpty.tsx +1 -1
- package/src/components/Icons/CheckboxFull.tsx +1 -1
- package/src/components/Icons/CheckedOff.tsx +1 -1
- package/src/components/Icons/Checklist.tsx +1 -1
- package/src/components/Icons/CheckmarkCircle.tsx +1 -1
- package/src/components/Icons/Clear.tsx +1 -1
- package/src/components/Icons/ClearSquare.tsx +1 -1
- package/src/components/Icons/Clock.tsx +1 -1
- package/src/components/Icons/Close.tsx +1 -1
- package/src/components/Icons/CloseCircle.tsx +1 -1
- package/src/components/Icons/Code.tsx +1 -1
- package/src/components/Icons/CodeDoc.tsx +1 -1
- package/src/components/Icons/Communication.tsx +1 -1
- package/src/components/Icons/Configure.tsx +1 -1
- package/src/components/Icons/Construction.tsx +1 -1
- package/src/components/Icons/Contact.tsx +1 -1
- package/src/components/Icons/Copy.tsx +1 -1
- package/src/components/Icons/Covid.tsx +1 -1
- package/src/components/Icons/CovidTest.tsx +1 -1
- package/src/components/Icons/CovidVaccineCard.tsx +1 -1
- package/src/components/Icons/CreditCard.tsx +1 -1
- package/src/components/Icons/CsvDoc.tsx +1 -1
- package/src/components/Icons/Dashboard.tsx +1 -1
- package/src/components/Icons/Delete.tsx +1 -1
- package/src/components/Icons/DesktopSelfie.tsx +1 -1
- package/src/components/Icons/Document.tsx +1 -1
- package/src/components/Icons/Dollar.tsx +1 -1
- package/src/components/Icons/Download.tsx +1 -1
- package/src/components/Icons/DownloadDocument.tsx +1 -1
- package/src/components/Icons/Drag.tsx +1 -1
- package/src/components/Icons/Dribbble.tsx +1 -1
- package/src/components/Icons/DriversLicense.tsx +1 -1
- package/src/components/Icons/DrugTest.tsx +1 -1
- package/src/components/Icons/Duplicate.tsx +1 -1
- package/src/components/Icons/Edit.tsx +1 -1
- package/src/components/Icons/EditCircle.tsx +1 -1
- package/src/components/Icons/Education.tsx +1 -1
- package/src/components/Icons/Ellipsis.tsx +1 -1
- package/src/components/Icons/Email.tsx +1 -1
- package/src/components/Icons/Employee.tsx +1 -1
- package/src/components/Icons/Expand.tsx +1 -1
- package/src/components/Icons/Expired.tsx +1 -1
- package/src/components/Icons/Eye.tsx +1 -1
- package/src/components/Icons/EyeOff.tsx +1 -1
- package/src/components/Icons/Facebook.tsx +1 -1
- package/src/components/Icons/File.tsx +1 -1
- package/src/components/Icons/FileComplete.tsx +1 -1
- package/src/components/Icons/FileError.tsx +1 -1
- package/src/components/Icons/Filter.tsx +1 -1
- package/src/components/Icons/Filters.tsx +1 -1
- package/src/components/Icons/Flag.tsx +1 -1
- package/src/components/Icons/Folder.tsx +1 -1
- package/src/components/Icons/FolderClosed.tsx +1 -1
- package/src/components/Icons/FolderOpen.tsx +1 -1
- package/src/components/Icons/Gear.tsx +1 -1
- package/src/components/Icons/GitHub.tsx +1 -1
- package/src/components/Icons/Grid.tsx +1 -1
- package/src/components/Icons/Healthcare.tsx +1 -1
- package/src/components/Icons/Heart.tsx +1 -1
- package/src/components/Icons/Help.tsx +1 -1
- package/src/components/Icons/HelpCircle.tsx +1 -1
- package/src/components/Icons/Home.tsx +1 -1
- package/src/components/Icons/HomeOutline.tsx +1 -1
- package/src/components/Icons/ID.tsx +1 -1
- package/src/components/Icons/IconList.tsx +1 -1
- package/src/components/Icons/Icons.stories.tsx +2 -4
- package/src/components/Icons/IdBack.tsx +1 -1
- package/src/components/Icons/IdFront.tsx +1 -1
- package/src/components/Icons/IdReverse.tsx +1 -1
- package/src/components/Icons/Inactive.tsx +1 -1
- package/src/components/Icons/IndicatorDown.tsx +1 -1
- package/src/components/Icons/IndicatorLeft.tsx +1 -1
- package/src/components/Icons/IndicatorRight.tsx +1 -1
- package/src/components/Icons/IndicatorUp.tsx +1 -1
- package/src/components/Icons/InfoCircle.tsx +1 -1
- package/src/components/Icons/Issue.tsx +1 -1
- package/src/components/Icons/Key.tsx +1 -1
- package/src/components/Icons/Lightbulb.tsx +1 -1
- package/src/components/Icons/Lightning.tsx +1 -1
- package/src/components/Icons/LinkedIn.tsx +1 -1
- package/src/components/Icons/List.tsx +1 -1
- package/src/components/Icons/Location.tsx +1 -1
- package/src/components/Icons/LocationPin.tsx +1 -1
- package/src/components/Icons/Lock.tsx +1 -1
- package/src/components/Icons/LogOut.tsx +1 -1
- package/src/components/Icons/Marketplace.tsx +1 -1
- package/src/components/Icons/Menu.tsx +1 -1
- package/src/components/Icons/Merge.tsx +1 -1
- package/src/components/Icons/Military.tsx +1 -1
- package/src/components/Icons/MinusCircle.tsx +1 -1
- package/src/components/Icons/Mobile.tsx +1 -1
- package/src/components/Icons/Money.tsx +1 -1
- package/src/components/Icons/No.tsx +1 -1
- package/src/components/Icons/Orders.tsx +1 -1
- package/src/components/Icons/PDF.tsx +1 -1
- package/src/components/Icons/Package.tsx +1 -1
- package/src/components/Icons/PackageDownArrow.tsx +1 -1
- package/src/components/Icons/Passport.tsx +1 -1
- package/src/components/Icons/PassportCard.tsx +1 -1
- package/src/components/Icons/Phone.tsx +1 -1
- package/src/components/Icons/Pillar.tsx +1 -1
- package/src/components/Icons/Plus.tsx +1 -1
- package/src/components/Icons/PlusCircle.tsx +1 -1
- package/src/components/Icons/Print.tsx +1 -1
- package/src/components/Icons/QRCode.tsx +1 -1
- package/src/components/Icons/Queue.tsx +1 -1
- package/src/components/Icons/RadioEmpty.tsx +1 -1
- package/src/components/Icons/RadioFull.tsx +1 -1
- package/src/components/Icons/Received.tsx +1 -1
- package/src/components/Icons/RefreshLock.tsx +1 -1
- package/src/components/Icons/Reporting.tsx +1 -1
- package/src/components/Icons/Resend.tsx +1 -1
- package/src/components/Icons/ResultsQueue.tsx +1 -1
- package/src/components/Icons/Review.tsx +1 -1
- package/src/components/Icons/Search.tsx +1 -1
- package/src/components/Icons/Selfie.tsx +1 -1
- package/src/components/Icons/SelfiePhone.tsx +1 -1
- package/src/components/Icons/Send.tsx +1 -1
- package/src/components/Icons/SendOutline.tsx +1 -1
- package/src/components/Icons/Settings.tsx +1 -1
- package/src/components/Icons/Share.tsx +1 -1
- package/src/components/Icons/ShareVID.tsx +1 -1
- package/src/components/Icons/Sign.tsx +1 -1
- package/src/components/Icons/SignDoc.tsx +1 -1
- package/src/components/Icons/Sort.tsx +1 -1
- package/src/components/Icons/SortDown.tsx +1 -1
- package/src/components/Icons/SortUp.tsx +1 -1
- package/src/components/Icons/Sports.tsx +1 -1
- package/src/components/Icons/Ssn.tsx +1 -1
- package/src/components/Icons/Star.tsx +1 -1
- package/src/components/Icons/Status.tsx +1 -1
- package/src/components/Icons/Stop.tsx +1 -1
- package/src/components/Icons/SubOrg.tsx +1 -1
- package/src/components/Icons/Support.tsx +1 -1
- package/src/components/Icons/SupportHeadset.tsx +1 -1
- package/src/components/Icons/Switcher.tsx +1 -1
- package/src/components/Icons/Tenant.tsx +1 -1
- package/src/components/Icons/Timer.tsx +1 -1
- package/src/components/Icons/Tip.tsx +1 -1
- package/src/components/Icons/Twitter.tsx +1 -1
- package/src/components/Icons/Update.tsx +1 -1
- package/src/components/Icons/Upload.tsx +1 -1
- package/src/components/Icons/UploadDocument.tsx +1 -1
- package/src/components/Icons/User.tsx +1 -1
- package/src/components/Icons/UserAdd.tsx +1 -1
- package/src/components/Icons/UserOutline.tsx +1 -1
- package/src/components/Icons/UserRecords.tsx +1 -1
- package/src/components/Icons/UserSearch.tsx +1 -1
- package/src/components/Icons/VID.tsx +1 -1
- package/src/components/Icons/VIDLogo.tsx +1 -1
- package/src/components/Icons/Vaccine.tsx +1 -1
- package/src/components/Icons/Video.tsx +1 -1
- package/src/components/Icons/Volleyball.tsx +1 -1
- package/src/components/Icons/Volunteer.tsx +1 -1
- package/src/components/Icons/Wait.tsx +1 -1
- package/src/components/Icons/Warning.tsx +1 -1
- package/src/components/Icons/Wrench.tsx +1 -1
- package/src/components/Icons/index.tsx +1 -1
- package/src/components/ImagePicker/ImagePicker.stories.tsx +1 -2
- package/src/components/ImagePicker/ImagePicker.test.tsx +4 -11
- package/src/components/ImagePicker/ImagePicker.tsx +2 -2
- package/src/components/ImagePicker/ImagePickerStyles.tsx +1 -1
- package/src/components/InlineCreditCardInput/InlineCreditCardInput.stories.tsx +0 -1
- package/src/components/InlineCreditCardInput/InlineCreditCardInput.test.tsx +0 -1
- package/src/components/InlineCreditCardInput/InlineCreditCardInput.tsx +2 -2
- package/src/components/InlineCreditCardInput/creditCardValidators.tsx +1 -1
- package/src/components/InlineCreditCardInput/types.ts +1 -1
- package/src/components/InlineCurrencyInput/InlineCurrencyInput.stories.tsx +0 -1
- package/src/components/InlineCurrencyInput/InlineCurrencyInput.test.tsx +0 -1
- package/src/components/InlineCurrencyInput/InlineCurrencyInput.tsx +1 -1
- package/src/components/InlineEmailInput/InlineEmailInput.stories.tsx +0 -1
- package/src/components/InlineEmailInput/InlineEmailInput.test.tsx +0 -1
- package/src/components/InlineEmailInput/InlineEmailInput.tsx +1 -1
- package/src/components/InlineInput/InlineInput.stories.tsx +1 -2
- package/src/components/InlineInput/InlineInput.test.tsx +1 -2
- package/src/components/InlineInput/InlineInput.tsx +2 -2
- package/src/components/InlineInput/types.ts +1 -1
- package/src/components/InlinePhoneInput/InlinePhoneInput.stories.tsx +1 -2
- package/src/components/InlinePhoneInput/InlinePhoneInput.test.tsx +0 -1
- package/src/components/InlinePhoneInput/InlinePhoneInput.tsx +2 -2
- package/src/components/InlinePhoneInput/types.ts +1 -1
- package/src/components/Input/Input.stories.tsx +1 -2
- package/src/components/Input/Input.test.tsx +1 -2
- package/src/components/Input/Input.tsx +2 -2
- package/src/components/InputButton/InlineInputButton.tsx +5 -5
- package/src/components/InputButton/InputButton.stories.tsx +0 -1
- package/src/components/InputButton/InputButton.test.tsx +2 -3
- package/src/components/InputButton/InputButton.tsx +1 -1
- package/src/components/InputButton/InputButtonStyles.tsx +1 -1
- package/src/components/InputButton/types.ts +2 -2
- package/src/components/InteriorSidebar/InteriorSidebar.test.tsx +1 -2
- package/src/components/InteriorSidebar/InteriorSidebar.tsx +2 -2
- package/src/components/InteriorSidebar/InteriorSidebarStyles.tsx +1 -1
- package/src/components/LabelledIconGroup/LabelledIconGroup.test.tsx +0 -1
- package/src/components/LabelledIconGroup/LabelledIconGroup.tsx +1 -1
- package/src/components/LabelledIconGroup/LabelledIconGroupStyles.tsx +1 -1
- package/src/components/LoadingEllipsis/LoadingEllipsis.test.tsx +0 -1
- package/src/components/LoadingEllipsis/LoadingEllipsis.tsx +1 -1
- package/src/components/LogoSidebar/LogoSidebar.stories.tsx +1 -2
- package/src/components/LogoSidebar/LogoSidebar.test.tsx +1 -2
- package/src/components/LogoSidebar/LogoSidebar.tsx +3 -3
- package/src/components/Modal/Modal.stories.tsx +3 -3
- package/src/components/Modal/Modal.test.tsx +0 -1
- package/src/components/Modal/Modal.tsx +2 -2
- package/src/components/Modal/modalStyles.tsx +1 -1
- package/src/components/PasswordInput/InlinePasswordInput.tsx +1 -1
- package/src/components/PasswordInput/PasswordInput.stories.tsx +1 -2
- package/src/components/PasswordInput/PasswordInput.test.tsx +0 -1
- package/src/components/PasswordInput/PasswordInput.tsx +1 -1
- package/src/components/PasswordInput/PasswordInputStyles.tsx +1 -1
- package/src/components/PhoneInput/PhoneInput.stories.tsx +1 -2
- package/src/components/PhoneInput/PhoneInput.test.tsx +0 -1
- package/src/components/PhoneInput/PhoneInput.tsx +1 -1
- package/src/components/PieChart/PieChart.tsx +1 -1
- package/src/components/RJSForm/RJSFormStyles.tsx +1 -1
- package/src/components/RJSForm/fields/AddressField.tsx +3 -3
- package/src/components/RJSForm/fields/ArrayField.tsx +2 -2
- package/src/components/RJSForm/fields/CheckboxGroupField.tsx +4 -3
- package/src/components/RJSForm/fields/DateField.tsx +1 -1
- package/src/components/RJSForm/fields/MultiSelectField.tsx +1 -1
- package/src/components/RJSForm/fields/MultiTextInputField.tsx +1 -1
- package/src/components/RJSForm/fields/ObjectField.tsx +2 -2
- package/src/components/RJSForm/fields/RadioField.tsx +1 -1
- package/src/components/RJSFormRenderer/RJSFormRenderer.stories.tsx +0 -1
- package/src/components/RJSFormRenderer/RJSFormRenderer.test.tsx +0 -1
- package/src/components/RJSFormRenderer/RJSFormRenderer.tsx +2 -2
- package/src/components/Radio/Radio.test.tsx +0 -1
- package/src/components/Radio/Radio.tsx +2 -2
- package/src/components/RadioGroup/RadioGroup.stories.tsx +1 -2
- package/src/components/RadioGroup/RadioGroup.test.tsx +18 -4
- package/src/components/RadioGroup/RadioGroup.tsx +9 -2
- package/src/components/RadioGroup/types.ts +1 -1
- package/src/components/RadioItem/RadioItem.stories.tsx +2 -3
- package/src/components/RadioItem/RadioItem.test.tsx +0 -1
- package/src/components/RadioItem/RadioItem.tsx +1 -1
- package/src/components/SearchMenu/SearchMenu.stories.tsx +1 -2
- package/src/components/SearchMenu/SearchMenu.test.tsx +2 -3
- package/src/components/SearchMenu/SearchMenu.tsx +19 -9
- package/src/components/SearchMenu/SearchMenuStyles.tsx +1 -1
- package/src/components/SearchMenu/types.ts +1 -1
- package/src/components/Select/Select.stories.tsx +2 -3
- package/src/components/Select/Select.tsx +2 -2
- package/src/components/SelectSearch/SelectSearch.stories.tsx +1 -2
- package/src/components/SelectSearch/SelectSearch.test.tsx +1 -2
- package/src/components/SelectSearch/SelectSearch.tsx +6 -6
- package/src/components/SlideIn/SlideIn.stories.tsx +3 -3
- package/src/components/SlideIn/SlideIn.test.tsx +0 -1
- package/src/components/SlideIn/SlideIn.tsx +1 -1
- package/src/components/SnackContainer/Bar.tsx +2 -2
- package/src/components/SnackContainer/Dialog.tsx +4 -4
- package/src/components/SnackContainer/DialogHandler.stories.tsx +0 -1
- package/src/components/SnackContainer/SnackContainer.tsx +20 -4
- package/src/components/SnackContainer/SnackDialog.test.tsx +1 -2
- package/src/components/SnackContainer/Snackbar.test.tsx +1 -2
- package/src/components/SnackContainer/Toast.test.tsx +1 -2
- package/src/components/SnackContainer/storybook/DuplicateIdExample.tsx +1 -2
- package/src/components/SnackContainer/storybook/MultipleToastsExample.tsx +3 -3
- package/src/components/SnackContainer/storybook/SnackDialogExample.tsx +2 -2
- package/src/components/SnackContainer/storybook/SnackbarExample.tsx +3 -3
- package/src/components/SnackContainer/storybook/ToastExample.tsx +1 -2
- package/src/components/SnackContainer/styles.tsx +1 -1
- package/src/components/SsnInput/InlineSsnInput.tsx +2 -2
- package/src/components/SsnInput/SsnInput.stories.tsx +1 -2
- package/src/components/SsnInput/SsnInput.test.tsx +0 -1
- package/src/components/SsnInput/SsnInput.tsx +1 -1
- package/src/components/SsnInput/types.ts +1 -1
- package/src/components/StatusIndicator/StatusIndicator.test.tsx +1 -2
- package/src/components/StatusIndicator/StatusIndicator.tsx +2 -2
- package/src/components/Stepper/Stepper.stories.tsx +2 -3
- package/src/components/Stepper/Stepper.test.tsx +0 -1
- package/src/components/Stepper/Stepper.tsx +2 -2
- package/src/components/TabModal/TabModal.stories.tsx +1 -2
- package/src/components/TabModal/TabModal.test.tsx +0 -1
- package/src/components/TabModal/TabModal.tsx +2 -2
- package/src/components/TabModal/examples/Stepper.tsx +1 -1
- package/src/components/TabModal/mocks.tsx +1 -1
- package/src/components/Table/CheckboxHeader.tsx +2 -2
- package/src/components/Table/EditCell.tsx +5 -5
- package/src/components/Table/NumberGrid.tsx +1 -1
- package/src/components/Table/Row.tsx +3 -3
- package/src/components/Table/Table.test.tsx +2 -2
- package/src/components/Table/Table.tsx +9 -7
- package/src/components/Table/TableOptionLabel.tsx +1 -1
- package/src/components/Table/TableStyles.tsx +2 -2
- package/src/components/Table/examples/ClickableCells.tsx +1 -1
- package/src/components/Table/examples/ExternalPagination.tsx +1 -1
- package/src/components/Table/mocks/MockStyles.tsx +1 -1
- package/src/components/Table/mocks/mockColumns.tsx +6 -6
- package/src/components/Table/stories/Checkboxes.stories.tsx +2 -3
- package/src/components/Table/stories/Clickable.stories.tsx +1 -2
- package/src/components/Table/stories/Editable.stories.tsx +1 -2
- package/src/components/Table/stories/Empty.stories.tsx +4 -4
- package/src/components/Table/stories/Filters.stories.tsx +1 -2
- package/src/components/Table/stories/Options.stories.tsx +1 -2
- package/src/components/Table/stories/Pagination.stories.tsx +1 -2
- package/src/components/Table/stories/Radios.stories.tsx +2 -3
- package/src/components/Table/stories/RowHighlight.stories.tsx +1 -1
- package/src/components/Table/stories/Sorting.stories.tsx +1 -2
- package/src/components/Table/stories/templates.tsx +3 -3
- package/src/components/Table/types.ts +1 -1
- package/src/components/TextLink/TextLink.stories.tsx +2 -3
- package/src/components/TextLink/TextLink.test.tsx +0 -1
- package/src/components/TextLink/TextLink.tsx +3 -3
- package/src/components/TextLink/helpers.tsx +1 -1
- package/src/components/Textarea/InlineTextarea.tsx +1 -1
- package/src/components/Textarea/ResizeIcon.tsx +1 -1
- package/src/components/Textarea/Textarea.stories.tsx +1 -3
- package/src/components/Textarea/Textarea.test.tsx +0 -1
- package/src/components/Textarea/Textarea.tsx +1 -1
- package/src/components/Textarea/TextareaStyles.tsx +5 -5
- package/src/components/Toggle/Toggle.stories.tsx +0 -1
- package/src/components/Toggle/Toggle.test.tsx +0 -1
- package/src/components/Toggle/Toggle.tsx +1 -1
- package/src/components/ToggleButtons/ToggleButtons.stories.tsx +0 -1
- package/src/components/ToggleButtons/ToggleButtons.test.tsx +1 -8
- package/src/components/ToggleButtons/ToggleButtons.tsx +1 -1
- package/src/components/ToggleGroup/ToggleGroup.stories.tsx +1 -2
- package/src/components/ToggleGroup/ToggleGroup.test.tsx +2 -4
- package/src/components/ToggleGroup/ToggleGroup.tsx +10 -3
- package/src/components/ToggleGroup/types.ts +1 -1
- package/src/components/ToggleItem/ToggleItem.stories.tsx +1 -2
- package/src/components/ToggleItem/ToggleItem.test.tsx +1 -1
- package/src/components/ToggleItem/ToggleItem.tsx +3 -3
- package/src/components/ToggleItem/ToggleItemStyles.tsx +1 -1
- package/src/components/Tooltip/StoryTooltipExample.tsx +1 -1
- package/src/components/Tooltip/Tooltip.stories.tsx +3 -3
- package/src/components/Tooltip/Tooltip.test.tsx +0 -1
- package/src/components/Tooltip/Tooltip.tsx +1 -1
- package/src/components/TooltipLabel/TooltipLabel.stories.tsx +0 -1
- package/src/components/TooltipLabel/TooltipLabel.test.tsx +0 -1
- package/src/components/TooltipLabel/TooltipLabel.tsx +1 -1
- package/src/components/TooltipLabel/TooltipLabelStyles.tsx +1 -1
- package/src/components/TooltipOptions/StoryTooltipOptionsExample.tsx +1 -1
- package/src/components/TooltipOptions/TooltipOptions.stories.tsx +2 -2
- package/src/components/TooltipOptions/TooltipOptions.test.tsx +1 -1
- package/src/components/TooltipOptions/TooltipOptions.tsx +2 -2
- package/src/components/TooltipOptions/mockOptions.tsx +2 -2
- package/src/components/Truncate/Truncate.stories.tsx +3 -3
- package/src/components/Truncate/Truncate.test.tsx +0 -1
- package/src/components/Truncate/Truncate.tsx +1 -1
- package/src/components/Truncate/TruncateArray.tsx +1 -1
- package/src/components/Truncate/TruncatePicker.tsx +1 -1
- package/src/components/Typography/Typography.stories.tsx +0 -1
- package/src/components/Typography/Typography.test.tsx +0 -1
- package/src/components/Typography/Typography.tsx +1 -1
- package/src/components/UploadDropzone/UploadDropzone.stories.tsx +1 -2
- package/src/components/UploadDropzone/UploadDropzone.test.tsx +0 -1
- package/src/components/UploadDropzone/UploadDropzone.tsx +1 -1
- package/src/components/UploadDropzone/UploadDropzoneStyles.tsx +1 -1
- package/src/components/UploadDropzone/helpers.tsx +0 -1
- package/src/components/UserCard/UserCard.module.css +87 -0
- package/src/components/UserCard/UserCard.stories.tsx +123 -11
- package/src/components/UserCard/UserCard.test.tsx +2 -2
- package/src/components/UserCard/UserCard.tsx +8 -8
- package/src/components/UserCard/UserCardModal.tsx +10 -2
- package/src/components/UserInformationCard/UserInformationCard.stories.tsx +2 -2
- package/src/components/UserInformationCard/UserInformationCard.test.tsx +0 -1
- package/src/components/UserInformationCard/UserInformationCard.tsx +3 -3
- package/src/components/UserInformationCard/UserInformationCardStyles.tsx +1 -1
- package/src/components/ZipCodeInput/InlineZipCodeInput.tsx +2 -2
- package/src/components/ZipCodeInput/ZipCodeInput.stories.tsx +1 -2
- package/src/components/ZipCodeInput/ZipCodeInput.test.tsx +0 -1
- package/src/components/ZipCodeInput/ZipCodeInput.tsx +1 -1
- package/src/components/ZipCodeInput/types.ts +1 -1
- package/src/configuredComponents/AddButton/AddButton.test.tsx +0 -1
- package/src/configuredComponents/AddButton/AddButton.tsx +1 -1
- package/src/configuredComponents/AddMenu/AddMenu.stories.tsx +0 -1
- package/src/configuredComponents/AddMenu/AddMenu.test.tsx +0 -1
- package/src/configuredComponents/AddMenu/AddMenu.tsx +2 -2
- package/src/configuredComponents/ColorDotDropdown/ColorDotDropdown.stories.tsx +0 -1
- package/src/configuredComponents/ColorDotDropdown/ColorDotDropdown.test.tsx +0 -1
- package/src/configuredComponents/ColorDotDropdown/ColorDotDropdown.tsx +2 -2
- package/src/configuredComponents/ColorPicker/ColorPicker.stories.tsx +1 -2
- package/src/configuredComponents/ColorPicker/ColorPicker.test.tsx +0 -1
- package/src/configuredComponents/ColorPicker/ColorPicker.tsx +2 -2
- package/src/configuredComponents/CountryDropdown/CountryDropdown.stories.tsx +0 -1
- package/src/configuredComponents/CountryDropdown/CountryDropdown.tsx +1 -1
- package/src/configuredComponents/CountyDropdown/CountyDropdown.stories.tsx +2 -3
- package/src/configuredComponents/CountyDropdown/CountyDropdown.test.tsx +1 -2
- package/src/configuredComponents/CountyDropdown/CountyDropdown.tsx +2 -2
- package/src/configuredComponents/CountyDropdown/types.ts +1 -1
- package/src/configuredComponents/DescriptiveDropdownInput/DescriptiveDropdownInput.stories.tsx +1 -2
- package/src/configuredComponents/DescriptiveDropdownInput/DescriptiveDropdownInput.test.tsx +0 -1
- package/src/configuredComponents/DropdownButton/DropdownButton.stories.tsx +0 -1
- package/src/configuredComponents/DropdownButton/DropdownButton.test.tsx +0 -1
- package/src/configuredComponents/DropdownButton/DropdownButton.tsx +2 -2
- package/src/configuredComponents/DropdownButton/DropdownButtonStyles.tsx +1 -1
- package/src/configuredComponents/DropdownInput/DropdownInput.stories.tsx +1 -2
- package/src/configuredComponents/DropdownInput/DropdownInput.test.tsx +1 -2
- package/src/configuredComponents/IconSwitcher/IconSwitcher.stories.tsx +0 -1
- package/src/configuredComponents/IconSwitcher/IconSwitcher.test.tsx +0 -1
- package/src/configuredComponents/IconSwitcher/IconSwitcher.tsx +1 -1
- package/src/configuredComponents/IconSwitcher/IconSwitcherStyles.tsx +1 -1
- package/src/configuredComponents/InlineDescriptiveDropdown/InlineDescriptiveDropdown.stories.tsx +1 -2
- package/src/configuredComponents/InlineDescriptiveDropdown/InlineDescriptiveDropdown.test.tsx +0 -1
- package/src/configuredComponents/InlineDropdown/InlineDropdown.stories.tsx +2 -2
- package/src/configuredComponents/InlineDropdown/InlineDropdown.test.tsx +1 -2
- package/src/configuredComponents/InlineDropdown/InlineDropdown.tsx +1 -1
- package/src/configuredComponents/MoreMenuButton/MoreMenuButton.stories.tsx +0 -1
- package/src/configuredComponents/MoreMenuButton/MoreMenuButton.test.tsx +0 -1
- package/src/configuredComponents/MoreMenuButton/MoreMenuButton.tsx +2 -2
- package/src/configuredComponents/MultiSelect/MultiSelect.stories.tsx +1 -2
- package/src/configuredComponents/MultiSelect/MultiSelect.test.tsx +1 -2
- package/src/configuredComponents/MultiSelect/MultiSelect.tsx +1 -1
- package/src/configuredComponents/MultiSelect/types.ts +1 -1
- package/src/configuredComponents/NationalityDropdown/NationalityDropdown.stories.tsx +0 -1
- package/src/configuredComponents/NationalityDropdown/NationalityDropdown.tsx +1 -1
- package/src/configuredComponents/SearchInput/SearchInput.stories.tsx +1 -2
- package/src/configuredComponents/SearchInput/SearchInput.test.tsx +0 -1
- package/src/configuredComponents/SearchInput/SearchInput.tsx +1 -1
- package/src/configuredComponents/StateDropdown/StateDropdown.stories.tsx +1 -2
- package/src/configuredComponents/StateDropdown/StateDropdown.test.tsx +0 -1
- package/src/configuredComponents/StateDropdown/StateDropdown.tsx +1 -1
- package/src/configuredComponents/StatusDropdown/StatusDropdown.stories.tsx +1 -2
- package/src/configuredComponents/StatusDropdown/StatusDropdown.styles.tsx +1 -1
- package/src/configuredComponents/StatusDropdown/StatusDropdown.test.tsx +0 -1
- package/src/configuredComponents/StatusDropdown/StatusDropdown.tsx +2 -2
- package/src/configuredComponents/TableFiltersPanel/TableFiltersPanel.stories.tsx +1 -1
- package/src/configuredComponents/TableFiltersPanel/TableFiltersPanel.test.tsx +0 -1
- package/src/configuredComponents/TableFiltersPanel/TableFiltersPanel.tsx +1 -1
- package/src/const/ColorGrid.tsx +1 -1
- package/src/const/GlobalStyle.tsx +6 -2
- package/src/const/colors.stories.tsx +0 -2
- package/src/examples/BigTable.tsx +1 -1
- package/src/examples/FormDelayed.tsx +1 -1
- package/src/examples/FormGridLayout.tsx +3 -5
- package/src/examples/ParentSort.tsx +1 -1
- package/src/examples/TableFilters.tsx +1 -1
- package/src/examples/bigTable.stories.tsx +2 -3
- package/src/examples/formElements.tsx +1 -1
- package/src/examples/formExamples.stories.tsx +2 -3
- package/src/examples/tableComponentWrappers.tsx +1 -1
- package/src/examples/tableFilters.stories.tsx +2 -3
- package/src/helpers/accessibility.stories.tsx +0 -1
- package/src/helpers/colors.ts +1 -1
- package/src/helpers/lodash/debounce.ts +5 -1
- package/src/helpers/lodash/toNumber.ts +5 -1
- package/src/hocs/withTheme.tsx +1 -1
- package/src/layout/LayoutSidebar/LayoutSidebar.stories.tsx +12 -6
- package/src/layout/LayoutSidebar/LayoutSidebar.tsx +1 -1
- package/src/layout/NavLayout/NavLayout.mdx +16 -10
- package/src/layout/NavLayout/NavLayout.module.css +10 -0
- package/src/layout/NavLayout/NavLayout.stories.tsx +11 -4
- package/src/layout/NavLayout/NavLayout.tsx +19 -32
- package/src/mantine/components/modalHelpers.module.css +2 -2
- package/src/mantine/mantineTheme.ts +3 -1
- package/src/mantine/services/Notification.module.css +1 -1
- package/src/mantine/services/notifications.tsx +2 -2
- package/src/mantine/stories/Buttons.stories.tsx +0 -1
- package/src/mantine/stories/Inputs.stories.tsx +0 -1
- package/src/mantine/stories/Overlays.stories.tsx +1 -1
- package/src/mantine/stories/Typography.stories.tsx +0 -1
- package/src/pages/NotFound/NotFound.stories.tsx +0 -1
- package/src/pages/NotFound/NotFound.test.tsx +0 -1
- package/src/pages/NotFound/NotFound.tsx +1 -1
- package/src/pages/NotFound/NotFoundStyles.tsx +1 -1
- package/src/sharedStyle/Inputs.tsx +1 -2
- package/src/sharedStyle/Labels.tsx +1 -1
- package/src/sharedStyle/Loading.tsx +1 -1
- package/src/sharedStyle/Scroller.tsx +1 -1
- package/src/sharedStyle/Switches.tsx +1 -1
- package/src/sharedTypes/types.ts +5 -7
- package/src/theme.ts +1 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# react-component-lib-boilerplate
|
|
2
2
|
|
|
3
|
+
## [19.0.0](https://github.com/cerebruminc/cerebellum/compare/v18.0.0...v19.0.0) (2026-07-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* **nav-layout:** NavLayout no longer uses themeOverride and uses height and paddingLeft instead. backgroundColor override has been removed entirely as it was unused across all consumers.
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **nav-layout:** migrate NavLayout from styled-components to CSS modules ([44638fa](https://github.com/cerebruminc/cerebellum/commit/44638fab6578b0a4fced2917c6b100e21a543c77))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **avatar:** allow the placeholder font size to grow with the component ([4b3d5a4](https://github.com/cerebruminc/cerebellum/commit/4b3d5a424a6774cf356a4adf7231a68a4b020b6c))
|
|
18
|
+
* **avatar:** remove the border on the Avatar placeholder ([82b97da](https://github.com/cerebruminc/cerebellum/commit/82b97da16eeb589f4e10c03c728714232e03a8d5))
|
|
19
|
+
* support next 16 ([7a5d33d](https://github.com/cerebruminc/cerebellum/commit/7a5d33d9e30724e07f2aced6ecf439ba4feae25d))
|
|
20
|
+
* **user-card:** fix the click out feature ([bcd7db7](https://github.com/cerebruminc/cerebellum/commit/bcd7db73bf2147d1a455a5c0982624942a567eb2))
|
|
21
|
+
|
|
3
22
|
## [18.0.0](https://github.com/cerebruminc/cerebellum/compare/v17.5.0...v18.0.0) (2026-07-22)
|
|
4
23
|
|
|
5
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cerebruminc/cerebellum",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.0",
|
|
4
4
|
"description": "Cerebrum's React Component Library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"lint-staged": "^15.0.0",
|
|
93
93
|
"lorem-ipsum": "^2.0.4",
|
|
94
94
|
"msw": "^2.14.6",
|
|
95
|
-
"next": "^
|
|
95
|
+
"next": "^16.2.10",
|
|
96
96
|
"react": "^18.3.1",
|
|
97
97
|
"react-dom": "^18.3.1",
|
|
98
98
|
"remark-gfm": "^4.0.0",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"@types/pngjs": "^6.0.5",
|
|
111
111
|
"@types/react-datepicker": "^6.0.3",
|
|
112
112
|
"@types/react-places-autocomplete": "^7.2.14",
|
|
113
|
-
"next": "^14.0.0 || ^15.0.0",
|
|
113
|
+
"next": "^14.0.0 || ^15.0.0 || ^16.0.0",
|
|
114
114
|
"react": "^18.0.0 || ^19.0.0",
|
|
115
115
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
116
116
|
"styled-components": "^6.1.16"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { TextLink, TextVariantEnum, Typography, colors } from "..";
|
|
2
3
|
import { ChatBubbleLines, User } from "../components/Icons";
|
|
3
4
|
import { TooltipLabel } from "../components/TooltipLabel";
|
|
4
|
-
import { TextLink, TextVariantEnum, Typography, colors } from "..";
|
|
5
5
|
import { SmallLabelBase, SmallLabelIcon, SmallLabelText, TooltipJSXBase } from "./ComponentLabelStyles";
|
|
6
6
|
|
|
7
7
|
export const ComponentLabel = <TooltipLabel label={"React component in label"} tooltipText={"It works!"} />;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This component is for stories that don't import a component
|
|
2
2
|
// Helper functions, etc.
|
|
3
3
|
|
|
4
|
-
import
|
|
4
|
+
import { FC } from "react";
|
|
5
5
|
import { Col1, Col2, Col3, Col4, Description, Name, Row, Table } from "./DocStyles";
|
|
6
6
|
import { GridContainer } from "./GridStyles";
|
|
7
7
|
import { DocProps } from "./types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { colors } from "../const/colors";
|
|
2
1
|
import { styled } from "styled-components";
|
|
2
|
+
import { colors } from "../const/colors";
|
|
3
3
|
import { AlignProps, ElementSpacingProps, FlexContainerProps, RelativeContainerProps, SpacerProps } from "./types";
|
|
4
4
|
|
|
5
5
|
export const Spacer = styled.div<SpacerProps>`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { boxColorLookup } from "../../helpers/colors";
|
|
1
|
+
import { JSXElementConstructor } from "react";
|
|
3
2
|
import { BoringSpan, IconBox, InnerIconBox, Svg } from "../../components/Icons/IconComponentStyles";
|
|
4
3
|
import { IconProps, IconType } from "../../components/Icons/types";
|
|
4
|
+
import { boxColorLookup } from "../../helpers/colors";
|
|
5
5
|
|
|
6
6
|
export const Cerebrum: IconType = (props: IconProps) => {
|
|
7
7
|
const { boxed = false, boxedSize = 67, boxColor, fill = "currentColor", round = false, scale = 1, title } = props;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { boxColorLookup } from "../../helpers/colors";
|
|
1
|
+
import { JSXElementConstructor } from "react";
|
|
3
2
|
import { BoringSpan, IconBox, InnerIconBox } from "../../components/Icons/IconComponentStyles";
|
|
4
3
|
import { IconProps, IconType } from "../../components/Icons/types";
|
|
4
|
+
import { boxColorLookup } from "../../helpers/colors";
|
|
5
5
|
|
|
6
6
|
import CognitionLogo from "./../../../stories/assets/cognition.svg";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { boxColorLookup } from "../../helpers/colors";
|
|
1
|
+
import { JSXElementConstructor } from "react";
|
|
3
2
|
import { BoringSpan, IconBox, InnerIconBox, Svg } from "../../components/Icons/IconComponentStyles";
|
|
4
3
|
import { IconProps, IconType } from "../../components/Icons/types";
|
|
4
|
+
import { boxColorLookup } from "../../helpers/colors";
|
|
5
5
|
|
|
6
6
|
export const Cortex: IconType = (props: IconProps) => {
|
|
7
7
|
const { boxed = false, boxedSize = 67, boxColor, fill = "currentColor", round = false, scale = 1, title } = props;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { boxColorLookup } from "../../helpers/colors";
|
|
1
|
+
import { JSXElementConstructor } from "react";
|
|
3
2
|
import { BoringSpan, IconBox, InnerIconBox, Svg } from "../../components/Icons/IconComponentStyles";
|
|
4
3
|
import { IconProps, IconType } from "../../components/Icons/types";
|
|
4
|
+
import { boxColorLookup } from "../../helpers/colors";
|
|
5
5
|
|
|
6
6
|
export const Neuron: IconType = (props: IconProps) => {
|
|
7
7
|
const { boxed = false, boxedSize = 67, boxColor, fill = "currentColor", round = false, scale = 1, title } = props;
|
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
* Your .mdx file will still need updating, specifically moving comments into the <Description /> tag
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
// consts
|
|
9
|
-
const LIBRARY = "@cerebruminc/cerebellum";
|
|
10
|
-
|
|
11
8
|
export default (fileInfo, api) => {
|
|
12
9
|
const j = api.jscodeshift;
|
|
13
10
|
const root = j(fileInfo.source);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { render, screen } from "@testing-library/react";
|
|
2
2
|
import userEvent from "@testing-library/user-event";
|
|
3
|
-
import
|
|
3
|
+
import { withTheme } from "../../hocs/withTheme";
|
|
4
4
|
import { ButtonColorFamilyEnum } from "../../sharedTypes/enums";
|
|
5
5
|
import { cerebellumTheme } from "../../theme";
|
|
6
|
-
import { withTheme } from "../../hocs/withTheme";
|
|
7
6
|
import { AlertCount } from "./AlertCount";
|
|
8
7
|
|
|
9
8
|
const ThemedAlertCount = withTheme(AlertCount);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { higherContrast } from "../../helpers/accessibility";
|
|
1
|
+
import { FC, useMemo } from "react";
|
|
3
2
|
import { useTheme } from "styled-components";
|
|
3
|
+
import { higherContrast } from "../../helpers/accessibility";
|
|
4
4
|
|
|
5
5
|
import { Badge, Base, Initials } from "./AvatarStyles";
|
|
6
6
|
import { getInitialsOnly } from "./helpers";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { InfoCircle } from "../Icons";
|
|
4
2
|
import { colors } from "../../const/colors";
|
|
3
|
+
import { InfoCircle } from "../Icons";
|
|
5
4
|
|
|
6
5
|
import { ExternalIcon } from "../../SharedStorybook/ExternalObjects";
|
|
7
6
|
import { Cell, GridContainer, Label } from "../../SharedStorybook/GridStyles";
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { render, screen } from "@testing-library/react";
|
|
2
2
|
import userEvent from "@testing-library/user-event";
|
|
3
|
-
import React from "react";
|
|
4
3
|
import { ExternalIcon } from "../../SharedStorybook/ExternalObjects";
|
|
5
|
-
import { Search } from "../Icons";
|
|
6
4
|
import { colors } from "../../const/colors";
|
|
7
|
-
import { ButtonColorFamilyEnum } from "../../sharedTypes/enums";
|
|
8
5
|
import { withTheme } from "../../hocs/withTheme";
|
|
6
|
+
import { ButtonColorFamilyEnum } from "../../sharedTypes/enums";
|
|
7
|
+
import { Search } from "../Icons";
|
|
9
8
|
import { Button } from "./Button";
|
|
10
9
|
|
|
11
10
|
const customColorFamily = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC, KeyboardEvent, MouseEvent, useEffect, useRef, useState } from "react";
|
|
2
2
|
import { useTheme } from "styled-components";
|
|
3
3
|
|
|
4
|
-
import { ArrowLong, CaretDown, IndicatorDown } from "../Icons";
|
|
5
4
|
import { pressedEnter } from "../../helpers/accessibility";
|
|
6
5
|
import { ButtonColorFamilyEnum } from "../../sharedTypes/enums";
|
|
6
|
+
import { ArrowLong, CaretDown, IndicatorDown } from "../Icons";
|
|
7
7
|
|
|
8
8
|
import { LoadingEllipsis } from "./../LoadingEllipsis";
|
|
9
9
|
import {
|
|
@@ -94,8 +94,17 @@ interface GetLoadingOffsetProps {
|
|
|
94
94
|
nextButton?: boolean;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
export const getLoadingOffset = ({
|
|
98
|
-
|
|
97
|
+
export const getLoadingOffset = ({
|
|
98
|
+
iconSize,
|
|
99
|
+
autoIconSize,
|
|
100
|
+
iconGap,
|
|
101
|
+
confirmedIconGap,
|
|
102
|
+
Icon,
|
|
103
|
+
backButton,
|
|
104
|
+
caret,
|
|
105
|
+
nextButton,
|
|
106
|
+
}: GetLoadingOffsetProps): number => {
|
|
107
|
+
const iconOffset = ((iconSize != null && iconSize > 0 ? iconSize : autoIconSize) + (iconGap ?? 10)) / 2;
|
|
99
108
|
const backOffset = (autoIconSize + confirmedIconGap) / 2;
|
|
100
109
|
const nextAndCaretOffset = backOffset * -1;
|
|
101
110
|
const loadingAnimationOffset = Icon ? iconOffset : backButton ? backOffset : caret || nextButton ? nextAndCaretOffset : 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { KeyboardEvent, MouseEvent } from "react";
|
|
2
2
|
|
|
3
|
-
import { IconType } from "../Icons";
|
|
4
3
|
import { ButtonColorFamilyEnum } from "../../sharedTypes/enums";
|
|
5
4
|
import { ColorFamilyType } from "../../sharedTypes/types";
|
|
5
|
+
import { IconType } from "../Icons";
|
|
6
6
|
import { LoadingEllipsisType } from "../LoadingEllipsis";
|
|
7
7
|
export interface ButtonType {
|
|
8
8
|
/** Sets the `aria-label` attribute on the button element */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { CheckboxEmpty, CheckboxFull } from "../Icons";
|
|
1
|
+
import { FC } from "react";
|
|
3
2
|
import { useTheme } from "styled-components";
|
|
3
|
+
import { CheckboxEmpty, CheckboxFull } from "../Icons";
|
|
4
4
|
|
|
5
5
|
import { CheckContainer, CheckboxDisabled, CheckboxIcon } from "./CheckboxStyles";
|
|
6
6
|
import { CheckboxComponentType } from "./types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import
|
|
2
|
+
import { useArgs } from "storybook/preview-api";
|
|
3
3
|
import { addOrRemoveString } from "../../helpers/arrays";
|
|
4
4
|
import {
|
|
5
5
|
checkboxesOrToggles,
|
|
@@ -7,7 +7,6 @@ import {
|
|
|
7
7
|
checkboxesOrTogglesStates,
|
|
8
8
|
checkboxesOrTogglesStatesActiveValues,
|
|
9
9
|
} from "../../sharedMocks/options";
|
|
10
|
-
import { useArgs } from "storybook/preview-api";
|
|
11
10
|
import { CheckboxGroup } from "./CheckboxGroup";
|
|
12
11
|
|
|
13
12
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { render, screen } from "@testing-library/react";
|
|
2
2
|
import userEvent from "@testing-library/user-event";
|
|
3
|
-
import
|
|
3
|
+
import { ChangeEvent } from "react";
|
|
4
4
|
import { withTheme } from "../../hocs/withTheme";
|
|
5
5
|
import { CheckboxGroup } from "./CheckboxGroup";
|
|
6
6
|
|
|
@@ -46,7 +46,14 @@ describe("CheckboxGroup", () => {
|
|
|
46
46
|
test("validation message has role='alert' when showValidationMessage is true", () => {
|
|
47
47
|
const validationMessage = "Selection required";
|
|
48
48
|
render(
|
|
49
|
-
<ThemedCheckboxGroup
|
|
49
|
+
<ThemedCheckboxGroup
|
|
50
|
+
onClick={jest.fn()}
|
|
51
|
+
activeValues={[]}
|
|
52
|
+
checkboxes={[]}
|
|
53
|
+
label="foo"
|
|
54
|
+
validationMessage={validationMessage}
|
|
55
|
+
showValidationMessage
|
|
56
|
+
/>
|
|
50
57
|
);
|
|
51
58
|
const alert = screen.getByRole("alert");
|
|
52
59
|
expect(alert).toHaveTextContent(validationMessage);
|
|
@@ -60,7 +67,14 @@ describe("CheckboxGroup", () => {
|
|
|
60
67
|
|
|
61
68
|
test("group has aria-invalid when showValidationMessage is true", () => {
|
|
62
69
|
render(
|
|
63
|
-
<ThemedCheckboxGroup
|
|
70
|
+
<ThemedCheckboxGroup
|
|
71
|
+
onClick={jest.fn()}
|
|
72
|
+
activeValues={[]}
|
|
73
|
+
checkboxes={[]}
|
|
74
|
+
label="foo"
|
|
75
|
+
validationMessage="Error"
|
|
76
|
+
showValidationMessage
|
|
77
|
+
/>
|
|
64
78
|
);
|
|
65
79
|
const group = screen.getByRole("group");
|
|
66
80
|
expect(group).toHaveAttribute("aria-invalid", "true");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { BodyXSEmphasis } from "../../const/text";
|
|
1
|
+
import { FC } from "react";
|
|
3
2
|
import { useTheme } from "styled-components";
|
|
3
|
+
import { BodyXSEmphasis } from "../../const/text";
|
|
4
4
|
import { CheckboxItem } from "../CheckboxItem";
|
|
5
5
|
|
|
6
6
|
import { Asterisk, ValidationText } from "../../sharedStyle/Inputs";
|
|
@@ -45,7 +45,14 @@ export const CheckboxGroup: FC<CheckboxGroupType> = ({
|
|
|
45
45
|
const disabledTextColor = disabledLabelColor || theme.text.disabledColor;
|
|
46
46
|
|
|
47
47
|
return (
|
|
48
|
-
<CheckboxGroupBase
|
|
48
|
+
<CheckboxGroupBase
|
|
49
|
+
$labelGap={labelGap}
|
|
50
|
+
$noBottomPadding={noBottomPadding}
|
|
51
|
+
$width={checkboxGroupWidth}
|
|
52
|
+
role="group"
|
|
53
|
+
aria-invalid={(hasError ?? showValidationMessage) ? "true" : undefined}
|
|
54
|
+
aria-required={required ? "true" : undefined}
|
|
55
|
+
>
|
|
49
56
|
{label ? (
|
|
50
57
|
typeof label === "string" ? (
|
|
51
58
|
<BodyXSEmphasis $textColor={disableGroup ? disabledTextColor : titleColor} data-sentry-unmask>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeEvent, ReactElement, ReactNode } from "react";
|
|
2
|
-
import { CheckboxItemType } from "../CheckboxItem/types";
|
|
3
2
|
import { SwitchGroupSwitchType } from "../../sharedTypes/types";
|
|
3
|
+
import { CheckboxItemType } from "../CheckboxItem/types";
|
|
4
4
|
|
|
5
5
|
export interface CheckboxGroupType extends Omit<CheckboxItemType, "active" | "disabled" | "label" | "onClick" | "value"> {
|
|
6
6
|
/** An array of strings that match the value for each active checkbox */
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import
|
|
2
|
+
import { useArgs } from "storybook/preview-api";
|
|
3
3
|
import { FlexContainer, IconContainer } from "../../SharedStorybook/Layout";
|
|
4
4
|
import { Note } from "../../SharedStorybook/Notes";
|
|
5
|
-
import { User, WarningExclaim } from "../Icons";
|
|
6
5
|
import { BodySEmphasis } from "../../const/text";
|
|
7
|
-
import {
|
|
6
|
+
import { User, WarningExclaim } from "../Icons";
|
|
8
7
|
import { CheckboxItem } from "./CheckboxItem";
|
|
9
8
|
|
|
10
9
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { Calendar } from "../Icons";
|
|
3
2
|
import { ButtonColorFamilyEnum } from "../../sharedTypes/enums";
|
|
3
|
+
import { Calendar } from "../Icons";
|
|
4
4
|
import { ClearableTag } from "./ClearableTag";
|
|
5
5
|
|
|
6
6
|
/** `ClearableTag` is a tag that is designed to be deleted. It will grow to fit any text given to it, will fit on the same line as its siblings
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { render, screen } from "@testing-library/react";
|
|
2
2
|
import userEvent from "@testing-library/user-event";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { Calendar } from "../Icons";
|
|
5
3
|
import { withTheme } from "../../hocs/withTheme";
|
|
4
|
+
import { Calendar } from "../Icons";
|
|
6
5
|
import { ClearableTag } from "./ClearableTag";
|
|
7
6
|
|
|
8
7
|
const ThemedClearableTag = withTheme(ClearableTag);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC, KeyboardEvent } from "react";
|
|
2
2
|
import { useTheme } from "styled-components";
|
|
3
3
|
|
|
4
|
-
import { Close } from "../Icons";
|
|
5
4
|
import { pressedEnter } from "../../helpers/accessibility";
|
|
6
5
|
import useMeasure from "../../hooks/useMeasure";
|
|
7
6
|
import { ButtonColorFamilyEnum } from "../../sharedTypes/enums";
|
|
7
|
+
import { Close } from "../Icons";
|
|
8
8
|
|
|
9
9
|
import { Background, IconBox, Text, TextBox, Title, XBox, XIconBox } from "./ClearableTagStyles";
|
|
10
10
|
import { ClearableTagType } from "./types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { focusAfter } from "../../sharedStyle/mixins";
|
|
2
1
|
import { styled } from "styled-components";
|
|
2
|
+
import { focusAfter } from "../../sharedStyle/mixins";
|
|
3
3
|
import { BackgroundProps, TextBoxProps, TextProps, TitleProps, XBoxProps, XIconBoxProps } from "./types";
|
|
4
4
|
|
|
5
5
|
export const Background = styled.span<BackgroundProps>`
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import
|
|
2
|
+
import { FC } from "react";
|
|
3
|
+
import { action } from "storybook/actions";
|
|
4
|
+
import { useArgs } from "storybook/preview-api";
|
|
3
5
|
import { CenterContainer } from "../../SharedStorybook/Notes";
|
|
4
|
-
import { Button } from "../Button/Button";
|
|
5
6
|
import { noop } from "../../helpers/utils";
|
|
6
7
|
import { ButtonColorFamilyEnum } from "../../sharedTypes/enums";
|
|
7
|
-
import {
|
|
8
|
-
import { useArgs } from "storybook/preview-api";
|
|
8
|
+
import { Button } from "../Button/Button";
|
|
9
9
|
import { ClickOutHandler } from "./ClickOutHandler";
|
|
10
10
|
import { FlexContainer, StorybookInnerDiv, StorybookRedText } from "./ClickoutHandlerStoryStyles";
|
|
11
11
|
import { ClickOutHandlerStoryType } from "./types";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { render, screen } from "@testing-library/react";
|
|
2
2
|
import userEvent from "@testing-library/user-event";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { CheckedOff } from "../Icons";
|
|
5
3
|
import { colors } from "../../const/colors";
|
|
6
4
|
import { withTheme } from "../../hocs/withTheme";
|
|
5
|
+
import { CheckedOff } from "../Icons";
|
|
7
6
|
import { ColorButton } from "./ColorButton";
|
|
8
7
|
|
|
9
8
|
const ThemedColorButton = withTheme(ColorButton);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC, KeyboardEvent, useEffect, useRef, useState } from "react";
|
|
2
2
|
import { higherContrast, pressedEnter } from "../../helpers/accessibility";
|
|
3
3
|
import { IconBox, Swatch } from "./ColorButtonStyles";
|
|
4
4
|
import { ColorButtonType } from "./types";
|