@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
package/dist/theme.d.ts
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
declare const colors: {
|
2
|
+
lollipop: string;
|
3
|
+
marshmallowPink: string;
|
4
|
+
bubblegum: string;
|
5
|
+
fairyFloss: string;
|
6
|
+
boba: string;
|
7
|
+
liquorice: string;
|
8
|
+
sesame: string;
|
9
|
+
chia: string;
|
10
|
+
custard: string;
|
11
|
+
mascarpone: string;
|
12
|
+
coconut: string;
|
13
|
+
cream: string;
|
14
|
+
spearmint: string;
|
15
|
+
feijoa: string;
|
16
|
+
blueberry: string;
|
17
|
+
macaroon: string;
|
18
|
+
pistachio: string;
|
19
|
+
matcha: string;
|
20
|
+
caramel: string;
|
21
|
+
peanut: string;
|
22
|
+
marzipan: string;
|
23
|
+
oatmeal: string;
|
24
|
+
strawberry: string;
|
25
|
+
watermelon: string;
|
26
|
+
apple: string;
|
27
|
+
mint: string;
|
28
|
+
lemon: string;
|
29
|
+
sherbert: string;
|
30
|
+
tangerine: string;
|
31
|
+
compareTheMarket: string;
|
32
|
+
confused: string;
|
33
|
+
onfido: string;
|
34
|
+
x: string;
|
35
|
+
premfina: string;
|
36
|
+
checkout: string;
|
37
|
+
meta: string;
|
38
|
+
stripe: string;
|
39
|
+
intercom: string;
|
40
|
+
ravelin: string;
|
41
|
+
rac: string;
|
42
|
+
hometree: string;
|
43
|
+
};
|
44
|
+
export type Color = keyof typeof colors;
|
45
|
+
export declare const theme: {
|
46
|
+
colors: {
|
47
|
+
lollipop: string;
|
48
|
+
marshmallowPink: string;
|
49
|
+
bubblegum: string;
|
50
|
+
fairyFloss: string;
|
51
|
+
boba: string;
|
52
|
+
liquorice: string;
|
53
|
+
sesame: string;
|
54
|
+
chia: string;
|
55
|
+
custard: string;
|
56
|
+
mascarpone: string;
|
57
|
+
coconut: string;
|
58
|
+
cream: string;
|
59
|
+
spearmint: string;
|
60
|
+
feijoa: string;
|
61
|
+
blueberry: string;
|
62
|
+
macaroon: string;
|
63
|
+
pistachio: string;
|
64
|
+
matcha: string;
|
65
|
+
caramel: string;
|
66
|
+
peanut: string;
|
67
|
+
marzipan: string;
|
68
|
+
oatmeal: string;
|
69
|
+
strawberry: string;
|
70
|
+
watermelon: string;
|
71
|
+
apple: string;
|
72
|
+
mint: string;
|
73
|
+
lemon: string;
|
74
|
+
sherbert: string;
|
75
|
+
tangerine: string;
|
76
|
+
compareTheMarket: string;
|
77
|
+
confused: string;
|
78
|
+
onfido: string;
|
79
|
+
x: string;
|
80
|
+
premfina: string;
|
81
|
+
checkout: string;
|
82
|
+
meta: string;
|
83
|
+
stripe: string;
|
84
|
+
intercom: string;
|
85
|
+
ravelin: string;
|
86
|
+
rac: string;
|
87
|
+
hometree: string;
|
88
|
+
};
|
89
|
+
font: {
|
90
|
+
weight: {
|
91
|
+
normal: number;
|
92
|
+
medium: number;
|
93
|
+
bold: number;
|
94
|
+
};
|
95
|
+
system: string;
|
96
|
+
};
|
97
|
+
};
|
98
|
+
export {};
|
package/dist/types.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export declare const convertToUkDate: (date: Date) => Date;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { FieldValidationError, InputValidationError } from './schema';
|
2
|
+
import { DateObject } from '../../TextDateOfBirthInput';
|
3
|
+
export declare const dateOfBirthValidator: (dateObject: DateObject) => {
|
4
|
+
error: FieldValidationError;
|
5
|
+
fields?: string[];
|
6
|
+
} | {
|
7
|
+
error: InputValidationError;
|
8
|
+
fields?: string[];
|
9
|
+
} | {
|
10
|
+
isSuccess: boolean;
|
11
|
+
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { DateObject } from '../../TextDateOfBirthInput';
|
2
|
+
declare const dateFields: readonly ["day", "month", "year"];
|
3
|
+
export declare const monthsArray: string[];
|
4
|
+
export declare const validators: Record<(typeof dateFields)[number], (dateField: string | undefined | null) => boolean>;
|
5
|
+
export declare const isAllowedValue: (value: string | null | undefined) => boolean;
|
6
|
+
export declare const getInvalidInputFields: (dateObject: DateObject) => ("month" | "day" | "year")[];
|
7
|
+
export declare const getMissingFields: (dateObject: DateObject) => ("month" | "day" | "year")[];
|
8
|
+
export declare const getImpossibleFields: (dateObject: DateObject) => ("month" | "day" | "year")[];
|
9
|
+
export declare const humanReadableJoin: (arr: string[]) => string;
|
10
|
+
export declare const createMissingFieldErrorMessage: (missingFields: string[]) => string;
|
11
|
+
export declare const createImpossibleFieldErrorMessage: (impossibleFields: string[]) => string;
|
12
|
+
export declare const createYoungerThan17ErrorMessage: () => string;
|
13
|
+
export declare const error: <T>(type: T, fields?: string[]) => {
|
14
|
+
error: T;
|
15
|
+
fields?: string[];
|
16
|
+
};
|
17
|
+
export declare const is17YearsOld: (date: Date) => boolean;
|
18
|
+
export {};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare enum InputValidationError {
|
2
|
+
RealDateError = "realDateError",
|
3
|
+
DateBefore1900Error = "dateBefore1900Error",
|
4
|
+
YoungerThan17 = "youngerThan17"
|
5
|
+
}
|
6
|
+
export declare enum FieldValidationError {
|
7
|
+
MissingFieldError = "missingFieldError",
|
8
|
+
InvalidInputValueError = "invalidInputValueError",
|
9
|
+
ImpossibleFieldValueError = "impossibleFieldValueError"
|
10
|
+
}
|
11
|
+
export declare const dateOfBirthErrorMessages: Record<InputValidationError | FieldValidationError, (value: string[]) => string>;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/**
|
2
|
+
* Debounces a method.
|
3
|
+
* @param fn - The function to be debounced.
|
4
|
+
* @param delay - The debouncing delay.
|
5
|
+
* @returns A debounced version of the function.
|
6
|
+
*/
|
7
|
+
export declare const debounce: <Args extends unknown[], R>(fn: (...args: Args) => R, delay: number) => ((...args: Args) => void);
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare const isLocal: boolean;
|
2
|
+
type UseDeprecatedWarningParams = {
|
3
|
+
enabled?: boolean;
|
4
|
+
title: string;
|
5
|
+
message: string;
|
6
|
+
componentProps?: Record<string, any>;
|
7
|
+
};
|
8
|
+
export declare const useDeprecatedWarning: ({ enabled, title, message, componentProps, }: UseDeprecatedWarningParams) => void;
|
9
|
+
export {};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { ResponsiveProp } from './responsiveProp';
|
2
|
+
import { SpacingProp } from './space';
|
3
|
+
import { TransientProps } from './utilTypes';
|
4
|
+
type FlexFN = (arg: TransientFlexProps) => string;
|
5
|
+
export interface FlexProps {
|
6
|
+
direction?: ResponsiveProp<'column' | 'column-reverse' | 'row' | 'row-reverse'>;
|
7
|
+
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
8
|
+
flex?: boolean;
|
9
|
+
flow?: string;
|
10
|
+
justifyContent?: ResponsiveProp<'center' | 'flex-end' | 'flex-start' | 'space-around' | 'space-between' | 'space-evenly'>;
|
11
|
+
alignItems?: ResponsiveProp<'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch'>;
|
12
|
+
alignContent?: ResponsiveProp<'center' | 'flex-end' | 'flex-start' | 'space-around' | 'space-between' | 'stretch'>;
|
13
|
+
gap?: ResponsiveProp<SpacingProp>;
|
14
|
+
rowGap?: ResponsiveProp<SpacingProp>;
|
15
|
+
columnGap?: ResponsiveProp<SpacingProp>;
|
16
|
+
}
|
17
|
+
export type TransientFlexProps = TransientProps<FlexProps>;
|
18
|
+
export declare const flex: FlexFN;
|
19
|
+
export {};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { TransientProps } from './utilTypes';
|
2
|
+
type MeasureFN = (arg: TransientMeasureProps) => string;
|
3
|
+
export interface MeasureProps {
|
4
|
+
width?: string;
|
5
|
+
maxWidth?: string;
|
6
|
+
minWidth?: string;
|
7
|
+
height?: string;
|
8
|
+
maxHeight?: string;
|
9
|
+
minHeight?: string;
|
10
|
+
}
|
11
|
+
export type TransientMeasureProps = TransientProps<MeasureProps>;
|
12
|
+
export declare const measure: MeasureFN;
|
13
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const noop: () => void;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
declare const breakpointToMinPxMapping: {
|
2
|
+
small: number;
|
3
|
+
medium: number;
|
4
|
+
large: number;
|
5
|
+
};
|
6
|
+
type Breakpoint = keyof typeof breakpointToMinPxMapping;
|
7
|
+
type PropByBreakpoint<PropValue> = Partial<Record<Breakpoint, PropValue>>;
|
8
|
+
export type ResponsiveProp<PropValue> = PropValue | PropByBreakpoint<PropValue>;
|
9
|
+
export declare const resolveResponsiveProp: <PropValue>(value: ResponsiveProp<PropValue>, styleTemplate: (value: PropValue) => string) => string;
|
10
|
+
export {};
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { ResponsiveProp } from './responsiveProp';
|
2
|
+
import { TransientProps } from './utilTypes';
|
3
|
+
type Spacing = '8px' | '12px' | '16px' | '24px' | '32px' | '48px' | '64px';
|
4
|
+
export type SpacingProp = '0' | Spacing | {
|
5
|
+
custom: number | string;
|
6
|
+
};
|
7
|
+
export declare const resolveSpacing: (value: SpacingProp | "auto") => string;
|
8
|
+
export interface MarginProps {
|
9
|
+
m?: ResponsiveProp<SpacingProp>;
|
10
|
+
mx?: ResponsiveProp<SpacingProp | 'auto'>;
|
11
|
+
my?: ResponsiveProp<SpacingProp>;
|
12
|
+
ml?: ResponsiveProp<SpacingProp>;
|
13
|
+
mr?: ResponsiveProp<SpacingProp>;
|
14
|
+
mt?: ResponsiveProp<SpacingProp>;
|
15
|
+
mb?: ResponsiveProp<SpacingProp>;
|
16
|
+
}
|
17
|
+
export interface PaddingProps {
|
18
|
+
p?: ResponsiveProp<SpacingProp>;
|
19
|
+
px?: ResponsiveProp<SpacingProp>;
|
20
|
+
py?: ResponsiveProp<SpacingProp>;
|
21
|
+
pl?: ResponsiveProp<SpacingProp>;
|
22
|
+
pr?: ResponsiveProp<SpacingProp>;
|
23
|
+
pt?: ResponsiveProp<SpacingProp>;
|
24
|
+
pb?: ResponsiveProp<SpacingProp>;
|
25
|
+
}
|
26
|
+
export type TransientMarginProps = TransientProps<MarginProps>;
|
27
|
+
export type TransientPaddingProps = TransientProps<PaddingProps>;
|
28
|
+
export declare const margin: (props: TransientMarginProps) => string;
|
29
|
+
export declare const padding: (props: TransientPaddingProps) => string;
|
30
|
+
export {};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Hide element visually but still have it accessible for assitive device
|
3
|
+
* @link https://www.a11yproject.com/posts/how-to-hide-content/
|
4
|
+
*/
|
5
|
+
export declare const visuallyHidden = "\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mrshmllw/smores-react",
|
3
|
-
"version": "10.7.0-crumbs-feature-vite-bundling.
|
3
|
+
"version": "10.7.0-crumbs-feature-vite-bundling.2",
|
4
4
|
"main": "./dist/index.js",
|
5
5
|
"description": "Collection of React components used by Marshmallow Technology",
|
6
6
|
"type": "module",
|
@@ -81,6 +81,7 @@
|
|
81
81
|
"typescript": "^5.7.3",
|
82
82
|
"typescript-eslint": "^8.22.0",
|
83
83
|
"vite": "^6.0.11",
|
84
|
+
"vite-plugin-dts": "^4.5.0",
|
84
85
|
"vite-plugin-svgr": "^4.3.0",
|
85
86
|
"vite-tsconfig-paths": "^5.1.4",
|
86
87
|
"vitest": "^3.0.4"
|