@mrshmllw/smores-react 10.7.0-crumbs-feature-vite-bundling.1 → 10.7.0-crumbs-feature-vite-bundling.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion/Accordion.d.ts +15 -0
- package/dist/Accordion/index.d.ts +1 -0
- package/dist/ActionDropdown/ActionDropdown.d.ts +16 -0
- package/dist/ActionDropdown/List.d.ts +14 -0
- package/dist/ActionDropdown/index.d.ts +1 -0
- package/dist/Badge/Badge.d.ts +16 -0
- package/dist/Badge/BadgeFallbackImage.d.ts +6 -0
- package/dist/Badge/index.d.ts +1 -0
- package/dist/BadgeList/BadgeList.d.ts +26 -0
- package/dist/BadgeList/index.d.ts +1 -0
- package/dist/Banner/BannerContainer.d.ts +7 -0
- package/dist/Banner/BannerItem.d.ts +7 -0
- package/dist/Banner/hooks.d.ts +3 -0
- package/dist/Banner/index.d.ts +2 -0
- package/dist/Banner/types.d.ts +19 -0
- package/dist/Box/Box.d.ts +14 -0
- package/dist/Box/index.d.ts +1 -0
- package/dist/BrandCard/BrandCard.d.ts +27 -0
- package/dist/BrandCard/index.d.ts +1 -0
- package/dist/Button/Button.d.ts +23 -0
- package/dist/Button/index.d.ts +1 -0
- package/dist/Card/Card.d.ts +38 -0
- package/dist/Card/index.d.ts +1 -0
- package/dist/CheckBox/CheckBox.d.ts +10 -0
- package/dist/CheckBox/index.d.ts +1 -0
- package/dist/CheckBoxGroup/CheckBoxGroup.d.ts +15 -0
- package/dist/CheckBoxGroup/index.d.ts +1 -0
- package/dist/Chip/Chip.d.ts +15 -0
- package/dist/Chip/index.d.ts +1 -0
- package/dist/CurrencyInput/CurrencyInput.d.ts +24 -0
- package/dist/CurrencyInput/index.d.ts +1 -0
- package/dist/Datepicker/Datepicker.d.ts +18 -0
- package/dist/Datepicker/DatesList.d.ts +9 -0
- package/dist/Datepicker/index.d.ts +1 -0
- package/dist/Datepicker/types.d.ts +6 -0
- package/dist/Divider/Divider.d.ts +9 -0
- package/dist/Divider/index.d.ts +1 -0
- package/dist/Dropdown/Dropdown.d.ts +32 -0
- package/dist/Dropdown/index.d.ts +1 -0
- package/dist/Emoji/Emoji.d.ts +13 -0
- package/dist/Emoji/index.d.ts +1 -0
- package/dist/Icon/Icon.d.ts +17 -0
- package/dist/Icon/iconFiles/Aa.d.ts +3 -0
- package/dist/Icon/iconFiles/AaInverted.d.ts +3 -0
- package/dist/Icon/iconFiles/AccidentalDamage.d.ts +3 -0
- package/dist/Icon/iconFiles/AccountBreakdown.d.ts +3 -0
- package/dist/Icon/iconFiles/AccountMlp.d.ts +3 -0
- package/dist/Icon/iconFiles/ActivityClipboard.d.ts +3 -0
- package/dist/Icon/iconFiles/AddOns.d.ts +3 -0
- package/dist/Icon/iconFiles/AddressMta.d.ts +3 -0
- package/dist/Icon/iconFiles/Ai.d.ts +3 -0
- package/dist/Icon/iconFiles/AlbumAudio.d.ts +3 -0
- package/dist/Icon/iconFiles/Alert.d.ts +3 -0
- package/dist/Icon/iconFiles/AlertEngine.d.ts +3 -0
- package/dist/Icon/iconFiles/Amex.d.ts +3 -0
- package/dist/Icon/iconFiles/ApplePay.d.ts +3 -0
- package/dist/Icon/iconFiles/ApprovedFile.d.ts +3 -0
- package/dist/Icon/iconFiles/Archive.d.ts +3 -0
- package/dist/Icon/iconFiles/Arrow.d.ts +3 -0
- package/dist/Icon/iconFiles/At.d.ts +3 -0
- package/dist/Icon/iconFiles/Axa.d.ts +3 -0
- package/dist/Icon/iconFiles/Bank.d.ts +3 -0
- package/dist/Icon/iconFiles/Basket.d.ts +3 -0
- package/dist/Icon/iconFiles/Bicycle.d.ts +3 -0
- package/dist/Icon/iconFiles/Boost.d.ts +3 -0
- package/dist/Icon/iconFiles/Breakdown.d.ts +3 -0
- package/dist/Icon/iconFiles/BreakdownAlt.d.ts +3 -0
- package/dist/Icon/iconFiles/Briefcase.d.ts +3 -0
- package/dist/Icon/iconFiles/Bullets.d.ts +3 -0
- package/dist/Icon/iconFiles/Burger.d.ts +3 -0
- package/dist/Icon/iconFiles/Calendar.d.ts +3 -0
- package/dist/Icon/iconFiles/Camera.d.ts +3 -0
- package/dist/Icon/iconFiles/Cancel.d.ts +3 -0
- package/dist/Icon/iconFiles/CancelBw.d.ts +3 -0
- package/dist/Icon/iconFiles/Car.d.ts +3 -0
- package/dist/Icon/iconFiles/CarMta.d.ts +3 -0
- package/dist/Icon/iconFiles/CarRepairs.d.ts +3 -0
- package/dist/Icon/iconFiles/CarReplacement.d.ts +3 -0
- package/dist/Icon/iconFiles/CarUsage.d.ts +3 -0
- package/dist/Icon/iconFiles/Card.d.ts +3 -0
- package/dist/Icon/iconFiles/Caret.d.ts +5 -0
- package/dist/Icon/iconFiles/CaretUp.d.ts +6 -0
- package/dist/Icon/iconFiles/Charge.d.ts +3 -0
- package/dist/Icon/iconFiles/Chat.d.ts +3 -0
- package/dist/Icon/iconFiles/ChatBubble.d.ts +3 -0
- package/dist/Icon/iconFiles/Checkout.d.ts +3 -0
- package/dist/Icon/iconFiles/CheckoutWithText.d.ts +3 -0
- package/dist/Icon/iconFiles/CircleTick.d.ts +3 -0
- package/dist/Icon/iconFiles/City.d.ts +3 -0
- package/dist/Icon/iconFiles/Claim.d.ts +3 -0
- package/dist/Icon/iconFiles/ClaimLine.d.ts +3 -0
- package/dist/Icon/iconFiles/Clipboard.d.ts +3 -0
- package/dist/Icon/iconFiles/ClipboardCheck.d.ts +3 -0
- package/dist/Icon/iconFiles/Clock.d.ts +3 -0
- package/dist/Icon/iconFiles/ClosePanel.d.ts +3 -0
- package/dist/Icon/iconFiles/Collapse.d.ts +3 -0
- package/dist/Icon/iconFiles/Confused.d.ts +3 -0
- package/dist/Icon/iconFiles/ConfusedBlue.d.ts +3 -0
- package/dist/Icon/iconFiles/ContactEmail.d.ts +3 -0
- package/dist/Icon/iconFiles/Copy.d.ts +3 -0
- package/dist/Icon/iconFiles/Crop.d.ts +3 -0
- package/dist/Icon/iconFiles/Cross.d.ts +3 -0
- package/dist/Icon/iconFiles/DashboardHigh.d.ts +3 -0
- package/dist/Icon/iconFiles/DirectDebit.d.ts +3 -0
- package/dist/Icon/iconFiles/DocDownload.d.ts +3 -0
- package/dist/Icon/iconFiles/DocUpload.d.ts +3 -0
- package/dist/Icon/iconFiles/Download.d.ts +3 -0
- package/dist/Icon/iconFiles/Earth.d.ts +3 -0
- package/dist/Icon/iconFiles/Edit.d.ts +3 -0
- package/dist/Icon/iconFiles/EditContact.d.ts +3 -0
- package/dist/Icon/iconFiles/EditOutline.d.ts +3 -0
- package/dist/Icon/iconFiles/EmailFilled.d.ts +3 -0
- package/dist/Icon/iconFiles/Engine.d.ts +3 -0
- package/dist/Icon/iconFiles/Europe.d.ts +3 -0
- package/dist/Icon/iconFiles/Excluded.d.ts +3 -0
- package/dist/Icon/iconFiles/Expand.d.ts +3 -0
- package/dist/Icon/iconFiles/Facebook.d.ts +3 -0
- package/dist/Icon/iconFiles/FallingItems.d.ts +3 -0
- package/dist/Icon/iconFiles/Fence.d.ts +3 -0
- package/dist/Icon/iconFiles/File.d.ts +3 -0
- package/dist/Icon/iconFiles/FileBadge2.d.ts +3 -0
- package/dist/Icon/iconFiles/FileCabinet.d.ts +3 -0
- package/dist/Icon/iconFiles/Filter.d.ts +3 -0
- package/dist/Icon/iconFiles/Fire.d.ts +3 -0
- package/dist/Icon/iconFiles/Flag.d.ts +3 -0
- package/dist/Icon/iconFiles/Folder.d.ts +3 -0
- package/dist/Icon/iconFiles/FraudAlert.d.ts +3 -0
- package/dist/Icon/iconFiles/FreezerFood.d.ts +3 -0
- package/dist/Icon/iconFiles/Fuel.d.ts +3 -0
- package/dist/Icon/iconFiles/Globe.d.ts +3 -0
- package/dist/Icon/iconFiles/GooglePlayBadge.d.ts +3 -0
- package/dist/Icon/iconFiles/Gpay.d.ts +3 -0
- package/dist/Icon/iconFiles/HelpAboutus.d.ts +3 -0
- package/dist/Icon/iconFiles/HelpBuypolicy.d.ts +3 -0
- package/dist/Icon/iconFiles/HelpCenter.d.ts +3 -0
- package/dist/Icon/iconFiles/HelpIdcheck.d.ts +3 -0
- package/dist/Icon/iconFiles/HelpManagePolicy.d.ts +3 -0
- package/dist/Icon/iconFiles/HelpNcd.d.ts +3 -0
- package/dist/Icon/iconFiles/HelpVerification.d.ts +3 -0
- package/dist/Icon/iconFiles/HomeExcluded.d.ts +3 -0
- package/dist/Icon/iconFiles/House.d.ts +3 -0
- package/dist/Icon/iconFiles/HouseTree.d.ts +3 -0
- package/dist/Icon/iconFiles/Id.d.ts +3 -0
- package/dist/Icon/iconFiles/Inbox.d.ts +3 -0
- package/dist/Icon/iconFiles/Included.d.ts +3 -0
- package/dist/Icon/iconFiles/Info.d.ts +3 -0
- package/dist/Icon/iconFiles/Injury.d.ts +3 -0
- package/dist/Icon/iconFiles/Instagram.d.ts +3 -0
- package/dist/Icon/iconFiles/Intercom.d.ts +3 -0
- package/dist/Icon/iconFiles/Intercom2.d.ts +3 -0
- package/dist/Icon/iconFiles/IosStoreBadge.d.ts +3 -0
- package/dist/Icon/iconFiles/Iphone.d.ts +3 -0
- package/dist/Icon/iconFiles/Jewellery.d.ts +3 -0
- package/dist/Icon/iconFiles/Key.d.ts +3 -0
- package/dist/Icon/iconFiles/Laptop.d.ts +3 -0
- package/dist/Icon/iconFiles/Leaks.d.ts +3 -0
- package/dist/Icon/iconFiles/Lightbulb.d.ts +3 -0
- package/dist/Icon/iconFiles/Link.d.ts +3 -0
- package/dist/Icon/iconFiles/Linkedin.d.ts +3 -0
- package/dist/Icon/iconFiles/LiveChat.d.ts +3 -0
- package/dist/Icon/iconFiles/LiveChat2.d.ts +3 -0
- package/dist/Icon/iconFiles/Location.d.ts +3 -0
- package/dist/Icon/iconFiles/LogOut.d.ts +3 -0
- package/dist/Icon/iconFiles/ManageDrivers.d.ts +3 -0
- package/dist/Icon/iconFiles/ManagePolicy.d.ts +3 -0
- package/dist/Icon/iconFiles/Marshmallow.d.ts +3 -0
- package/dist/Icon/iconFiles/Mastercard.d.ts +3 -0
- package/dist/Icon/iconFiles/Maximise.d.ts +3 -0
- package/dist/Icon/iconFiles/MaximiseWindow.d.ts +3 -0
- package/dist/Icon/iconFiles/Medical.d.ts +3 -0
- package/dist/Icon/iconFiles/Minimise.d.ts +3 -0
- package/dist/Icon/iconFiles/Minus.d.ts +3 -0
- package/dist/Icon/iconFiles/MinusCircle.d.ts +3 -0
- package/dist/Icon/iconFiles/MoneyBag.d.ts +3 -0
- package/dist/Icon/iconFiles/MoneyHeart.d.ts +3 -0
- package/dist/Icon/iconFiles/MoreDots.d.ts +3 -0
- package/dist/Icon/iconFiles/Mulsanne.d.ts +3 -0
- package/dist/Icon/iconFiles/NewWindow.d.ts +3 -0
- package/dist/Icon/iconFiles/NoExcess.d.ts +3 -0
- package/dist/Icon/iconFiles/Notes.d.ts +3 -0
- package/dist/Icon/iconFiles/Notification.d.ts +3 -0
- package/dist/Icon/iconFiles/Onfido.d.ts +3 -0
- package/dist/Icon/iconFiles/OpenPanel.d.ts +3 -0
- package/dist/Icon/iconFiles/Other.d.ts +3 -0
- package/dist/Icon/iconFiles/OutOfHome.d.ts +3 -0
- package/dist/Icon/iconFiles/Padlock.d.ts +3 -0
- package/dist/Icon/iconFiles/PadlockOutline.d.ts +3 -0
- package/dist/Icon/iconFiles/Paperclip.d.ts +3 -0
- package/dist/Icon/iconFiles/People.d.ts +3 -0
- package/dist/Icon/iconFiles/Person.d.ts +3 -0
- package/dist/Icon/iconFiles/PhoneFilled.d.ts +3 -0
- package/dist/Icon/iconFiles/PhoneOutline.d.ts +3 -0
- package/dist/Icon/iconFiles/Photo.d.ts +3 -0
- package/dist/Icon/iconFiles/PinCode.d.ts +3 -0
- package/dist/Icon/iconFiles/Plus.d.ts +3 -0
- package/dist/Icon/iconFiles/PlusCircle.d.ts +3 -0
- package/dist/Icon/iconFiles/Policy.d.ts +3 -0
- package/dist/Icon/iconFiles/PolicyDetails.d.ts +3 -0
- package/dist/Icon/iconFiles/PolicyDoc.d.ts +3 -0
- package/dist/Icon/iconFiles/PolicyDocs.d.ts +3 -0
- package/dist/Icon/iconFiles/PoundBold.d.ts +3 -0
- package/dist/Icon/iconFiles/PoundFilledCircle.d.ts +3 -0
- package/dist/Icon/iconFiles/PoundMedium.d.ts +3 -0
- package/dist/Icon/iconFiles/PoundOutline.d.ts +3 -0
- package/dist/Icon/iconFiles/PoundRegular.d.ts +3 -0
- package/dist/Icon/iconFiles/Premfina.d.ts +3 -0
- package/dist/Icon/iconFiles/Profile.d.ts +3 -0
- package/dist/Icon/iconFiles/Progress.d.ts +2 -0
- package/dist/Icon/iconFiles/Prohibited.d.ts +3 -0
- package/dist/Icon/iconFiles/Property.d.ts +3 -0
- package/dist/Icon/iconFiles/QuestionHelp.d.ts +3 -0
- package/dist/Icon/iconFiles/Rac.d.ts +3 -0
- package/dist/Icon/iconFiles/Ravelin.d.ts +3 -0
- package/dist/Icon/iconFiles/ReferAFriend.d.ts +3 -0
- package/dist/Icon/iconFiles/Refund.d.ts +3 -0
- package/dist/Icon/iconFiles/RegPlate.d.ts +3 -0
- package/dist/Icon/iconFiles/Renewal.d.ts +3 -0
- package/dist/Icon/iconFiles/RenewalLine.d.ts +3 -0
- package/dist/Icon/iconFiles/RepeatCharge.d.ts +3 -0
- package/dist/Icon/iconFiles/Reply.d.ts +3 -0
- package/dist/Icon/iconFiles/Return.d.ts +3 -0
- package/dist/Icon/iconFiles/ScheduleQuote.d.ts +3 -0
- package/dist/Icon/iconFiles/Search.d.ts +3 -0
- package/dist/Icon/iconFiles/Security.d.ts +3 -0
- package/dist/Icon/iconFiles/SendMessage.d.ts +3 -0
- package/dist/Icon/iconFiles/Settings.d.ts +3 -0
- package/dist/Icon/iconFiles/Shield.d.ts +3 -0
- package/dist/Icon/iconFiles/ShieldCheck.d.ts +3 -0
- package/dist/Icon/iconFiles/Shopping.d.ts +3 -0
- package/dist/Icon/iconFiles/Sofa.d.ts +3 -0
- package/dist/Icon/iconFiles/Stack.d.ts +3 -0
- package/dist/Icon/iconFiles/Storm.d.ts +3 -0
- package/dist/Icon/iconFiles/Stripe.d.ts +3 -0
- package/dist/Icon/iconFiles/Subsidence.d.ts +3 -0
- package/dist/Icon/iconFiles/Theft.d.ts +3 -0
- package/dist/Icon/iconFiles/ThumbsDown.d.ts +3 -0
- package/dist/Icon/iconFiles/ThumbsUp.d.ts +3 -0
- package/dist/Icon/iconFiles/Tick.d.ts +3 -0
- package/dist/Icon/iconFiles/TowTruck.d.ts +3 -0
- package/dist/Icon/iconFiles/TraceAndAccess.d.ts +3 -0
- package/dist/Icon/iconFiles/Training.d.ts +3 -0
- package/dist/Icon/iconFiles/Trash.d.ts +3 -0
- package/dist/Icon/iconFiles/Twitter.d.ts +3 -0
- package/dist/Icon/iconFiles/UpDown.d.ts +3 -0
- package/dist/Icon/iconFiles/Upload.d.ts +3 -0
- package/dist/Icon/iconFiles/UploadDocuments.d.ts +3 -0
- package/dist/Icon/iconFiles/UploadEmail.d.ts +3 -0
- package/dist/Icon/iconFiles/Vandalism.d.ts +3 -0
- package/dist/Icon/iconFiles/Village.d.ts +3 -0
- package/dist/Icon/iconFiles/Visa.d.ts +3 -0
- package/dist/Icon/iconFiles/Warning.d.ts +3 -0
- package/dist/Icon/iconFiles/WarningCircle.d.ts +3 -0
- package/dist/Icon/iconFiles/Watch.d.ts +3 -0
- package/dist/Icon/iconFiles/Wave.d.ts +3 -0
- package/dist/Icon/iconFiles/Wellbeing.d.ts +3 -0
- package/dist/Icon/iconFiles/WheelFlat.d.ts +3 -0
- package/dist/Icon/iconFiles/Windscreen.d.ts +3 -0
- package/dist/Icon/iconFiles/WindscreenRepair.d.ts +3 -0
- package/dist/Icon/iconFiles/WindscreenReplacement.d.ts +3 -0
- package/dist/Icon/iconsList.d.ts +227 -0
- package/dist/Icon/index.d.ts +1 -0
- package/dist/IconStrict/IconStrict.d.ts +22 -0
- package/dist/IconStrict/index.d.ts +1 -0
- package/dist/IconWrapper/IconWrapper.d.ts +18 -0
- package/dist/IconWrapper/index.d.ts +1 -0
- package/dist/LabelledText/LabelledText.d.ts +8 -0
- package/dist/LabelledText/index.d.ts +1 -0
- package/dist/Link/Link.d.ts +24 -0
- package/dist/Link/index.d.ts +1 -0
- package/dist/Loader/Loader.d.ts +7 -0
- package/dist/Loader/index.d.ts +1 -0
- package/dist/Logo/Logo.d.ts +35 -0
- package/dist/Logo/index.d.ts +1 -0
- package/dist/Modal/Modal.d.ts +32 -0
- package/dist/Modal/index.d.ts +1 -0
- package/dist/NumberInput/NumberInput.d.ts +25 -0
- package/dist/NumberInput/index.d.ts +1 -0
- package/dist/Pagination/Pagination.d.ts +13 -0
- package/dist/Pagination/index.d.ts +1 -0
- package/dist/RadioGroup/RadioElement.d.ts +12 -0
- package/dist/RadioGroup/RadioGroup.d.ts +23 -0
- package/dist/RadioGroup/RadioItem.d.ts +20 -0
- package/dist/RadioGroup/constants.d.ts +1 -0
- package/dist/RadioGroup/index.d.ts +1 -0
- package/dist/RadioGroup/types.d.ts +3 -0
- package/dist/RichText/RichText.d.ts +6 -0
- package/dist/RichText/index.d.ts +1 -0
- package/dist/RichTextEditor/RichTextEditor.d.ts +10 -0
- package/dist/RichTextEditor/index.d.ts +1 -0
- package/dist/RichTextEditor/plugins/AutoLinkPlugin.d.ts +2 -0
- package/dist/RichTextEditor/plugins/EditorDefaultUpdatePlugin.d.ts +4 -0
- package/dist/RichTextEditor/plugins/EditorUpdatePlugin.d.ts +4 -0
- package/dist/RichTextEditor/plugins/ToolbarPlugin.d.ts +2 -0
- package/dist/RichTextEditor/plugins/index.d.ts +1 -0
- package/dist/RichTextEditor/utils.d.ts +2 -0
- package/dist/Row/Row.d.ts +18 -0
- package/dist/Row/index.d.ts +1 -0
- package/dist/SearchInput/SearchInput.d.ts +50 -0
- package/dist/SearchInput/components/EmptyResults.d.ts +8 -0
- package/dist/SearchInput/components/SearchOptions.d.ts +23 -0
- package/dist/SearchInput/index.d.ts +1 -0
- package/dist/SegmentedControl/SegmentedControl.d.ts +35 -0
- package/dist/SegmentedControl/ToggleButton.d.ts +11 -0
- package/dist/SegmentedControl/index.d.ts +1 -0
- package/dist/SliderInput/SliderInput.d.ts +9 -0
- package/dist/SliderInput/index.d.ts +1 -0
- package/dist/Snackbar/SnackbarContainer.d.ts +7 -0
- package/dist/Snackbar/SnackbarItem.d.ts +7 -0
- package/dist/Snackbar/hooks.d.ts +3 -0
- package/dist/Snackbar/index.d.ts +2 -0
- package/dist/Snackbar/types.d.ts +13 -0
- package/dist/SupportMessage/SupportMessage.d.ts +16 -0
- package/dist/SupportMessage/index.d.ts +1 -0
- package/dist/Table/Table.d.ts +16 -0
- package/dist/Table/components/RowActions.d.ts +3 -0
- package/dist/Table/components/TableHeader.d.ts +3 -0
- package/dist/Table/components/TableRow.d.ts +3 -0
- package/dist/Table/components/commonComponents.d.ts +6 -0
- package/dist/Table/helpers.d.ts +2 -0
- package/dist/Table/index.d.ts +2 -0
- package/dist/Table/types.d.ts +114 -0
- package/dist/Tag/Tag.d.ts +11 -0
- package/dist/Tag/index.d.ts +1 -0
- package/dist/Text/Text.d.ts +21 -0
- package/dist/Text/fontMapping.d.ts +2 -0
- package/dist/Text/index.d.ts +1 -0
- package/dist/TextDateOfBirthInput/TextDateOfBirthInput.d.ts +36 -0
- package/dist/TextDateOfBirthInput/index.d.ts +1 -0
- package/dist/TextInput/TextInput.d.ts +39 -0
- package/dist/TextInput/index.d.ts +1 -0
- package/dist/Textarea/Textarea.d.ts +27 -0
- package/dist/Textarea/index.d.ts +1 -0
- package/dist/Toggle/Toggle.d.ts +12 -0
- package/dist/Toggle/index.d.ts +1 -0
- package/dist/Tooltip/Tooltip.d.ts +33 -0
- package/dist/Tooltip/index.d.ts +1 -0
- package/dist/fields/Field/Field.d.ts +7 -0
- package/dist/fields/Field/index.d.ts +1 -0
- package/dist/fields/Fieldset/Fieldset.d.ts +5 -0
- package/dist/fields/Fieldset/index.d.ts +1 -0
- package/dist/fields/commonFieldTypes.d.ts +19 -0
- package/dist/fields/components/CommonInput.d.ts +30 -0
- package/dist/fields/components/InternalField.d.ts +10 -0
- package/dist/fields/components/Placeholder.d.ts +2 -0
- package/dist/fontStyle.d.ts +1 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/useBodyScrollLock/index.d.ts +4 -0
- package/dist/hooks/useClickOutside/index.d.ts +6 -0
- package/dist/hooks/useEventListener/index.d.ts +8 -0
- package/dist/hooks/useScript/index.d.ts +4 -0
- package/dist/hooks/useTimeout/index.d.ts +1 -0
- package/dist/index.d.ts +53 -0
- package/dist/index.js +11750 -0
- package/dist/index.js.map +1 -0
- package/dist/theme.d.ts +98 -0
- package/dist/types.d.ts +4 -0
- package/dist/utils/date.d.ts +1 -0
- package/dist/utils/dateOfBirth/dateOfBirthValidator.d.ts +11 -0
- package/dist/utils/dateOfBirth/dateOfBirthValidator.utils.d.ts +18 -0
- package/dist/utils/dateOfBirth/schema.d.ts +11 -0
- package/dist/utils/debounce.d.ts +7 -0
- package/dist/utils/deprecated.d.ts +9 -0
- package/dist/utils/flex.d.ts +19 -0
- package/dist/utils/focusOutline.d.ts +4 -0
- package/dist/utils/id.d.ts +2 -0
- package/dist/utils/isReactElement.d.ts +2 -0
- package/dist/utils/measure.d.ts +13 -0
- package/dist/utils/noop.d.ts +1 -0
- package/dist/utils/responsiveProp.d.ts +10 -0
- package/dist/utils/space.d.ts +30 -0
- package/dist/utils/useControlledState.d.ts +5 -0
- package/dist/utils/utilTypes.d.ts +7 -0
- package/dist/utils/visuallyHidden.d.ts +5 -0
- package/package.json +2 -1
- package/dist/smores-react.js +0 -26333
- package/dist/smores-react.js.map +0 -1
- package/dist/smores-react.umd.cjs +0 -2413
- package/dist/smores-react.umd.cjs.map +0 -1
@@ -0,0 +1,15 @@
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
2
|
+
import { MarginProps } from '../utils/space';
|
3
|
+
export type AccordionProps = {
|
4
|
+
title: string;
|
5
|
+
subTitle?: string;
|
6
|
+
filledBackground?: boolean;
|
7
|
+
borderTop?: boolean;
|
8
|
+
borderColor?: 'oatmeal' | 'custard' | 'cream' | 'coconut';
|
9
|
+
fullBorder?: boolean;
|
10
|
+
backgroundColor?: 'oatmeal' | 'custard' | 'cream' | 'coconut';
|
11
|
+
onToggle?: (isOpen: boolean) => void;
|
12
|
+
children: ReactNode;
|
13
|
+
defaultIsOpen?: boolean;
|
14
|
+
} & MarginProps;
|
15
|
+
export declare const Accordion: FC<AccordionProps>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Accordion';
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { FC } from 'react';
|
2
|
+
import { ActionListItem } from './List';
|
3
|
+
import { MarginProps } from '../utils/space';
|
4
|
+
export type ActionDropdownProps = {
|
5
|
+
id?: string;
|
6
|
+
className?: string;
|
7
|
+
/** label displayed above the dropdown */
|
8
|
+
label?: string;
|
9
|
+
/** value */
|
10
|
+
value: ActionListItem;
|
11
|
+
/** list of items for the dropdown list */
|
12
|
+
list: ActionListItem[];
|
13
|
+
/** onSelect handler */
|
14
|
+
onSelect: (action: ActionListItem) => void;
|
15
|
+
} & MarginProps;
|
16
|
+
export declare const ActionDropdown: FC<ActionDropdownProps>;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { FC } from 'react';
|
2
|
+
import { Color } from '../theme';
|
3
|
+
export type ActionListItem = {
|
4
|
+
label: string;
|
5
|
+
value: string;
|
6
|
+
bgColor?: Color;
|
7
|
+
textColor?: Color;
|
8
|
+
};
|
9
|
+
type Props = {
|
10
|
+
options: ActionListItem[];
|
11
|
+
selectOption: (option: ActionListItem) => void;
|
12
|
+
};
|
13
|
+
export declare const List: FC<Props>;
|
14
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ActionDropdown } from './ActionDropdown';
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { JSX } from 'react';
|
2
|
+
import { Color } from '../theme';
|
3
|
+
export declare enum BadgeSize {
|
4
|
+
Sm = "24px",
|
5
|
+
Md = "32px",
|
6
|
+
Lg = "40px"
|
7
|
+
}
|
8
|
+
export type BadgeProps = {
|
9
|
+
src: string | JSX.Element;
|
10
|
+
title?: string;
|
11
|
+
borderColour?: Color;
|
12
|
+
size?: BadgeSize;
|
13
|
+
disabled?: boolean;
|
14
|
+
zIndex?: number;
|
15
|
+
};
|
16
|
+
export declare function Badge({ borderColour, size, src, disabled, zIndex, title, }: BadgeProps): JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Badge, type BadgeProps, type BadgeSize } from './Badge';
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { default as React } from 'react';
|
2
|
+
import { BadgeProps } from '../Badge/Badge';
|
3
|
+
import { TooltipProps } from '../Tooltip/Tooltip';
|
4
|
+
type WithTooltip = Pick<TooltipProps, 'title' | 'content'> & {
|
5
|
+
position?: TooltipProps['position'];
|
6
|
+
};
|
7
|
+
export type BadgeListBadge = BadgeProps & {
|
8
|
+
tooltip?: WithTooltip;
|
9
|
+
};
|
10
|
+
type Props = {
|
11
|
+
size?: BadgeProps['size'];
|
12
|
+
limit?: number;
|
13
|
+
badges: Omit<BadgeListBadge, 'zIndex'>[];
|
14
|
+
};
|
15
|
+
/**
|
16
|
+
* ### A list of badges with optional tooltips
|
17
|
+
*
|
18
|
+
* @param limit - The maximum number of badges to display. If the number of badges exceeds the limit, a badge will be displayed indicating the number of hidden excess badges.
|
19
|
+
*
|
20
|
+
*/
|
21
|
+
export declare function BadgeList({ badges, limit, size }: Props): React.JSX.Element;
|
22
|
+
type WithTooltipProps = {
|
23
|
+
badge: BadgeListBadge;
|
24
|
+
};
|
25
|
+
declare const WithTooltip: ({ badge: { tooltip, ...badge } }: WithTooltipProps) => React.JSX.Element;
|
26
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { BadgeList, type BadgeListBadge } from './BadgeList';
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { default as React, FC, ReactNode } from 'react';
|
2
|
+
import { BannerContextType } from './types';
|
3
|
+
export declare const BannerContext: React.Context<BannerContextType>;
|
4
|
+
export declare const useBannerContext: () => BannerContextType;
|
5
|
+
export declare const BannerContainer: FC<{
|
6
|
+
children?: ReactNode;
|
7
|
+
}>;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { Icons } from '../Icon/iconsList';
|
2
|
+
export interface Banner {
|
3
|
+
id: string;
|
4
|
+
message: string;
|
5
|
+
type: 'upsell' | 'critical' | 'general' | 'success';
|
6
|
+
topOffset: string;
|
7
|
+
exploreAction?: () => void;
|
8
|
+
showExploreText?: boolean;
|
9
|
+
showExploreIcon?: boolean;
|
10
|
+
autoCloseTime?: 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
11
|
+
leadingIcon?: Icons;
|
12
|
+
canManuallyClose?: boolean;
|
13
|
+
showCloseIcon?: boolean;
|
14
|
+
noTimeout?: boolean;
|
15
|
+
}
|
16
|
+
export type CreateBanner = Omit<Banner, 'id'>;
|
17
|
+
export interface BannerContextType {
|
18
|
+
addBanner: (banner: CreateBanner) => void;
|
19
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { default as React, ElementType, HTMLAttributes } from 'react';
|
2
|
+
import { FlexProps, TransientFlexProps } from '../utils/flex';
|
3
|
+
import { MeasureProps, TransientMeasureProps } from '../utils/measure';
|
4
|
+
import { MarginProps, PaddingProps, TransientMarginProps, TransientPaddingProps } from '../utils/space';
|
5
|
+
export type BoxProps = MarginProps & PaddingProps & FlexProps & MeasureProps & HTMLAttributes<HTMLElement> & {
|
6
|
+
as?: ElementType;
|
7
|
+
forwardedAs?: ElementType;
|
8
|
+
};
|
9
|
+
export type TransientBoxProps = TransientMarginProps & TransientPaddingProps & TransientFlexProps & TransientMeasureProps;
|
10
|
+
export declare const Box: React.ForwardRefExoticComponent<MarginProps & PaddingProps & FlexProps & MeasureProps & React.HTMLAttributes<HTMLElement> & {
|
11
|
+
as?: ElementType;
|
12
|
+
forwardedAs?: ElementType;
|
13
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
14
|
+
export declare const CustomBox: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TransientBoxProps>> & string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Box } from './Box';
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
2
|
+
import { Color } from '../theme';
|
3
|
+
import { MarginProps } from '../utils/space';
|
4
|
+
export type BrandCardProps = {
|
5
|
+
/** generic card title */
|
6
|
+
title: string;
|
7
|
+
/** generic card body */
|
8
|
+
body: string;
|
9
|
+
/** card image */
|
10
|
+
visual: string;
|
11
|
+
/** alignment of the image */
|
12
|
+
alignVisual?: 'left' | 'right';
|
13
|
+
/** height of the image, leave this blank for 100% */
|
14
|
+
visualHeight?: string;
|
15
|
+
/** render image at bottom of card */
|
16
|
+
visualBottom?: boolean;
|
17
|
+
bgColor: Color;
|
18
|
+
/** card tag */
|
19
|
+
tag?: ReactNode;
|
20
|
+
/** primary button */
|
21
|
+
buttonAction?: ReactNode;
|
22
|
+
/** fallback color scheme */
|
23
|
+
fallbackStyle?: boolean;
|
24
|
+
/** margin */
|
25
|
+
maxWidth?: string;
|
26
|
+
} & MarginProps;
|
27
|
+
export declare const BrandCard: FC<BrandCardProps>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { BrandCard } from './BrandCard';
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { default as React, ButtonHTMLAttributes, FC, ReactNode } from 'react';
|
2
|
+
import { Icons } from '../Icon/iconsList';
|
3
|
+
import { MarginProps } from '../utils/space';
|
4
|
+
type Props = {
|
5
|
+
children: ReactNode;
|
6
|
+
id?: string;
|
7
|
+
className?: string;
|
8
|
+
disabled?: boolean;
|
9
|
+
handleClick?: (e: React.FormEvent<HTMLButtonElement>) => void;
|
10
|
+
loading?: boolean;
|
11
|
+
primary?: boolean;
|
12
|
+
secondary?: boolean;
|
13
|
+
fallbackStyle?: boolean;
|
14
|
+
textBtn?: boolean;
|
15
|
+
smallButton?: boolean;
|
16
|
+
icon?: Icons;
|
17
|
+
trailingIcon?: boolean;
|
18
|
+
forcedWidth?: string;
|
19
|
+
form?: string;
|
20
|
+
};
|
21
|
+
export type ButtonProps = Props & MarginProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>;
|
22
|
+
export declare const Button: FC<ButtonProps>;
|
23
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Button } from './Button';
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { FC, MouseEventHandler, ReactNode } from 'react';
|
2
|
+
import { Icons } from '../Icon/iconsList';
|
3
|
+
import { MarginProps } from '../utils/space';
|
4
|
+
export type CardProps = {
|
5
|
+
children?: ReactNode;
|
6
|
+
/** leading card icon */
|
7
|
+
leadingIcon?: Icons;
|
8
|
+
/** generic card title */
|
9
|
+
title?: string;
|
10
|
+
/** generic card body */
|
11
|
+
body?: string;
|
12
|
+
/** card image */
|
13
|
+
visual?: string;
|
14
|
+
/** height of the image */
|
15
|
+
visualHeight?: string;
|
16
|
+
/** card tag */
|
17
|
+
tag?: ReactNode;
|
18
|
+
/** action for a fully clickable card */
|
19
|
+
cardOnClickAction?: MouseEventHandler<HTMLDivElement>;
|
20
|
+
/** action to the right of the card, chevron, chip or link text */
|
21
|
+
rightAction?: ReactNode;
|
22
|
+
/** primary button */
|
23
|
+
buttonAction?: ReactNode;
|
24
|
+
/** fallback color scheme */
|
25
|
+
fallbackStyle?: boolean;
|
26
|
+
className?: string;
|
27
|
+
/** margin */
|
28
|
+
maxWidth?: string;
|
29
|
+
/** left-right margin */
|
30
|
+
marginX?: string;
|
31
|
+
/** top-bottom margin */
|
32
|
+
marginY?: string;
|
33
|
+
/** Narrow padding */
|
34
|
+
narrow?: boolean;
|
35
|
+
/** Wide padding */
|
36
|
+
wide?: boolean;
|
37
|
+
} & MarginProps;
|
38
|
+
export declare const Card: FC<CardProps>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Card } from './Card';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
2
|
+
export type CheckBoxProps = {
|
3
|
+
id?: string;
|
4
|
+
checked: boolean;
|
5
|
+
children: ReactNode;
|
6
|
+
toggle: () => void;
|
7
|
+
error?: boolean;
|
8
|
+
errorMsg?: string;
|
9
|
+
};
|
10
|
+
export declare const CheckBox: React.ForwardRefExoticComponent<CheckBoxProps & React.RefAttributes<HTMLInputElement>>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './CheckBox';
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { FC } from 'react';
|
2
|
+
import { MarginProps } from '../utils/space';
|
3
|
+
type Item = {
|
4
|
+
id: number;
|
5
|
+
label: string;
|
6
|
+
checked: boolean;
|
7
|
+
value?: string | number;
|
8
|
+
};
|
9
|
+
type CheckBoxGroupProps = {
|
10
|
+
list: Item[];
|
11
|
+
onToggle: (id: number) => void;
|
12
|
+
isColumn?: boolean;
|
13
|
+
} & MarginProps;
|
14
|
+
export declare const CheckBoxGroup: FC<CheckBoxGroupProps>;
|
15
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './CheckBoxGroup';
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { default as React, ButtonHTMLAttributes, FC, ReactNode } from 'react';
|
2
|
+
import { Icons } from '../Icon/iconsList';
|
3
|
+
import { MarginProps } from '../utils/space';
|
4
|
+
type Props = {
|
5
|
+
children: ReactNode;
|
6
|
+
handleClick: (e: React.FormEvent<HTMLButtonElement>) => void;
|
7
|
+
primary?: boolean;
|
8
|
+
secondary?: boolean;
|
9
|
+
icon?: Icons;
|
10
|
+
disabled?: boolean;
|
11
|
+
loading?: boolean;
|
12
|
+
} & MarginProps;
|
13
|
+
export type ChipProps = Props & ButtonHTMLAttributes<HTMLButtonElement>;
|
14
|
+
export declare const Chip: FC<ChipProps>;
|
15
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Chip } from './Chip';
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { default as React, FocusEvent, FormEvent } from 'react';
|
2
|
+
import { CommonFieldProps } from '../fields/commonFieldTypes';
|
3
|
+
export interface Props extends CommonFieldProps {
|
4
|
+
placeholder: string;
|
5
|
+
name?: string;
|
6
|
+
value: string;
|
7
|
+
decimalNumber?: boolean;
|
8
|
+
onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
|
9
|
+
min?: number;
|
10
|
+
max?: number;
|
11
|
+
}
|
12
|
+
/** on change or on input required */
|
13
|
+
type InputProps = {
|
14
|
+
/** on change is required and on input optional */
|
15
|
+
onChange: (e: string) => void;
|
16
|
+
onInputChange?: (e: FormEvent<HTMLInputElement>) => void;
|
17
|
+
} | {
|
18
|
+
/** on input is required and on change optional */
|
19
|
+
onChange?: (e: string) => void;
|
20
|
+
onInputChange: (e: FormEvent<HTMLInputElement>) => void;
|
21
|
+
};
|
22
|
+
export type CurrencyInputProps = Props & InputProps;
|
23
|
+
export declare const CurrencyInput: React.ForwardRefExoticComponent<CurrencyInputProps & React.RefAttributes<HTMLInputElement>>;
|
24
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { CurrencyInput } from './CurrencyInput';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { FC } from 'react';
|
2
|
+
import { MarginProps } from '../utils/space';
|
3
|
+
export type DatepickerProps = {
|
4
|
+
showDayLabels?: boolean;
|
5
|
+
disableWeekend?: boolean;
|
6
|
+
fromDate?: Date;
|
7
|
+
endingDate?: Date;
|
8
|
+
showYear?: boolean;
|
9
|
+
showSelectedDate?: boolean;
|
10
|
+
range?: number;
|
11
|
+
onDateSelect: (date: string) => void;
|
12
|
+
onChange?: (value: Date) => void;
|
13
|
+
value?: Date;
|
14
|
+
/** Disables all dates, defaults to false */
|
15
|
+
disabled?: boolean;
|
16
|
+
fallbackStyle?: boolean;
|
17
|
+
} & MarginProps;
|
18
|
+
export declare const Datepicker: FC<DatepickerProps>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Datepicker } from './Datepicker';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { FC } from 'react';
|
2
|
+
import { Color } from '../theme';
|
3
|
+
import { MarginProps } from '../utils/space';
|
4
|
+
export type DividerProps = {
|
5
|
+
maxWidth?: string;
|
6
|
+
height?: string;
|
7
|
+
color?: Color;
|
8
|
+
} & MarginProps;
|
9
|
+
export declare const Divider: FC<DividerProps>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Divider } from './Divider';
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { default as React, FocusEvent, FormEvent } from 'react';
|
2
|
+
import { Icons } from '../Icon/iconsList';
|
3
|
+
import { CommonFieldProps } from '../fields/commonFieldTypes';
|
4
|
+
export type DropdownItem = {
|
5
|
+
optionGroupLabel?: string;
|
6
|
+
label: string;
|
7
|
+
value: string;
|
8
|
+
};
|
9
|
+
export interface Props extends CommonFieldProps {
|
10
|
+
placeholder?: string;
|
11
|
+
showDefaultOption?: boolean;
|
12
|
+
customDefaultOption?: string;
|
13
|
+
name?: string;
|
14
|
+
value?: string | null;
|
15
|
+
defaultValue?: string;
|
16
|
+
disabled?: boolean;
|
17
|
+
list: DropdownItem[];
|
18
|
+
frontIcon?: Icons;
|
19
|
+
fallbackStyle?: boolean;
|
20
|
+
onSelect: (element: string) => void;
|
21
|
+
onBlur?: (e: FocusEvent<HTMLSelectElement>) => void;
|
22
|
+
}
|
23
|
+
type TruncateProps = {
|
24
|
+
onSelect: (e: string) => void;
|
25
|
+
onInputChange?: (e: FormEvent<HTMLSelectElement>) => void;
|
26
|
+
} | {
|
27
|
+
onSelect?: (e: string) => void;
|
28
|
+
onInputChange: (e: FormEvent<HTMLSelectElement>) => void;
|
29
|
+
};
|
30
|
+
export type DropdownProps = Props & TruncateProps;
|
31
|
+
export declare const Dropdown: React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<HTMLSelectElement>>;
|
32
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Dropdown } from './Dropdown';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { FC } from 'react';
|
2
|
+
import { MarginProps } from '../utils/space';
|
3
|
+
export type EmojiProps = {
|
4
|
+
/** className attribute to apply classes from props */
|
5
|
+
className?: string;
|
6
|
+
/** Emoji symbol */
|
7
|
+
symbol: string;
|
8
|
+
/** set size of the Emoji */
|
9
|
+
size?: number;
|
10
|
+
/** aria-label to identify Emoji */
|
11
|
+
label: string;
|
12
|
+
} & MarginProps;
|
13
|
+
export declare const Emoji: FC<EmojiProps>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Emoji } from './Emoji';
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { FC } from 'react';
|
2
|
+
import { MarginProps } from '../utils/space';
|
3
|
+
import { Color } from '../theme';
|
4
|
+
import { Icons } from './iconsList';
|
5
|
+
export type IconProps = {
|
6
|
+
/** className attribute to apply classes from props */
|
7
|
+
className?: string;
|
8
|
+
/** specify what Icon to render */
|
9
|
+
render: Icons;
|
10
|
+
/** set size of the Icon */
|
11
|
+
size?: number;
|
12
|
+
/** set color of the Icon */
|
13
|
+
color?: Color;
|
14
|
+
/** rotation degrees */
|
15
|
+
rotate?: number;
|
16
|
+
} & MarginProps;
|
17
|
+
export declare const Icon: FC<IconProps>;
|