tide-design-system 2.5.13 → 2.5.14
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/tide-design-system.d.ts +2742 -0
- package/dist/tide-design-system.js +2 -2
- package/package.json +13 -2
- package/.eslintrc.cjs +0 -119
- package/.github/workflows/publish-release.yml +0 -38
- package/.storybook/main.ts +0 -70
- package/.storybook/preview.ts +0 -256
- package/docs/assets/full-bleed.gif +0 -0
- package/docs/assets/layout-grid-default.webp +0 -0
- package/docs/assets/layout-grid-fluid.webp +0 -0
- package/docs/assets/layout-grid.webp +0 -0
- package/docs/assets/native-input-validation.png +0 -0
- package/docs/configuation.md +0 -47
- package/docs/development.md +0 -163
- package/docs/figma.md +0 -43
- package/docs/forms.md +0 -484
- package/docs/grid-layout.md +0 -83
- package/docs/images.md +0 -50
- package/docs/integration-full.md +0 -84
- package/docs/integration-partial.md +0 -39
- package/docs/migration.md +0 -74
- package/docs/storybook.md +0 -44
- package/docs/style-guide.md +0 -22
- package/docs/toast.md +0 -61
- package/docs/token-cheatsheet.md +0 -63
- package/docs/upgrading.md +0 -188
- package/docs/workflows.md +0 -20
- package/index.html +0 -14
- package/index.ts +0 -201
- package/netlify.toml +0 -3
- package/src/assets/css/fonts.css +0 -36
- package/src/assets/css/grid-layout.css +0 -34
- package/src/assets/css/main.css +0 -5
- package/src/assets/css/realm/aero.css +0 -25
- package/src/assets/css/realm/atv.css +0 -25
- package/src/assets/css/realm/boatmart.css +0 -25
- package/src/assets/css/realm/cycle.css +0 -24
- package/src/assets/css/realm/equipment.css +0 -25
- package/src/assets/css/realm/pwc.css +0 -25
- package/src/assets/css/realm/rv.css +0 -25
- package/src/assets/css/realm/snow.css +0 -25
- package/src/assets/css/realm/truck.css +0 -25
- package/src/assets/css/reset.css +0 -99
- package/src/assets/css/storybook.css +0 -18
- package/src/assets/css/utilities-base.css +0 -574
- package/src/assets/css/utilities-responsive.css +0 -2307
- package/src/assets/css/utilities.css +0 -16
- package/src/assets/css/variables.css +0 -223
- package/src/assets/svg/branding/logo/logo-aero.svg +0 -4
- package/src/assets/svg/branding/logo/logo-atv.svg +0 -6
- package/src/assets/svg/branding/logo/logo-boatmart.svg +0 -4
- package/src/assets/svg/branding/logo/logo-cycle.svg +0 -4
- package/src/assets/svg/branding/logo/logo-equipment.svg +0 -4
- package/src/assets/svg/branding/logo/logo-pwc.svg +0 -4
- package/src/assets/svg/branding/logo/logo-rv.svg +0 -6
- package/src/assets/svg/branding/logo/logo-snow.svg +0 -4
- package/src/assets/svg/branding/logo/logo-truck.svg +0 -5
- package/src/assets/svg/branding/mark/mark-aero.svg +0 -3
- package/src/assets/svg/branding/mark/mark-atv.svg +0 -4
- package/src/assets/svg/branding/mark/mark-boatmart.svg +0 -3
- package/src/assets/svg/branding/mark/mark-cycle.svg +0 -3
- package/src/assets/svg/branding/mark/mark-equipment.svg +0 -3
- package/src/assets/svg/branding/mark/mark-pwc.svg +0 -3
- package/src/assets/svg/branding/mark/mark-rv.svg +0 -4
- package/src/assets/svg/branding/mark/mark-snow.svg +0 -3
- package/src/assets/svg/branding/mark/mark-truck.svg +0 -4
- package/src/assets/svg/icons/IconAccountBalance.svg +0 -5
- package/src/assets/svg/icons/IconAcute.svg +0 -3
- package/src/assets/svg/icons/IconAdd.svg +0 -3
- package/src/assets/svg/icons/IconAiDescription.svg +0 -7
- package/src/assets/svg/icons/IconAlignSpaceEven.svg +0 -3
- package/src/assets/svg/icons/IconApplePay.svg +0 -5
- package/src/assets/svg/icons/IconArrowBack.svg +0 -3
- package/src/assets/svg/icons/IconArrowCycle.svg +0 -5
- package/src/assets/svg/icons/IconArrowForward.svg +0 -3
- package/src/assets/svg/icons/IconArrowRight.svg +0 -3
- package/src/assets/svg/icons/IconArrowUp.svg +0 -3
- package/src/assets/svg/icons/IconAssignment.svg +0 -3
- package/src/assets/svg/icons/IconAttachMoney.svg +0 -4
- package/src/assets/svg/icons/IconAutoRenew.svg +0 -3
- package/src/assets/svg/icons/IconAwardStar.svg +0 -5
- package/src/assets/svg/icons/IconBed.svg +0 -3
- package/src/assets/svg/icons/IconBolt.svg +0 -3
- package/src/assets/svg/icons/IconBookmark.svg +0 -5
- package/src/assets/svg/icons/IconBunkhouse.svg +0 -3
- package/src/assets/svg/icons/IconCalculate.svg +0 -3
- package/src/assets/svg/icons/IconCalendarMonth.svg +0 -5
- package/src/assets/svg/icons/IconCall.svg +0 -5
- package/src/assets/svg/icons/IconCallQuality.svg +0 -3
- package/src/assets/svg/icons/IconCarRental.svg +0 -3
- package/src/assets/svg/icons/IconCheck.svg +0 -3
- package/src/assets/svg/icons/IconChevronLeft.svg +0 -3
- package/src/assets/svg/icons/IconChevronRight.svg +0 -3
- package/src/assets/svg/icons/IconClear.svg +0 -3
- package/src/assets/svg/icons/IconClose.svg +0 -3
- package/src/assets/svg/icons/IconContract.svg +0 -3
- package/src/assets/svg/icons/IconCrash.svg +0 -3
- package/src/assets/svg/icons/IconDashboardCustomize.svg +0 -3
- package/src/assets/svg/icons/IconDelete.svg +0 -5
- package/src/assets/svg/icons/IconDiamond.svg +0 -5
- package/src/assets/svg/icons/IconDirectionsBoat.svg +0 -3
- package/src/assets/svg/icons/IconDomain.svg +0 -3
- package/src/assets/svg/icons/IconDraft.svg +0 -3
- package/src/assets/svg/icons/IconEdit.svg +0 -5
- package/src/assets/svg/icons/IconEngine.svg +0 -3
- package/src/assets/svg/icons/IconEngineering.svg +0 -3
- package/src/assets/svg/icons/IconError.svg +0 -5
- package/src/assets/svg/icons/IconExpandContent.svg +0 -3
- package/src/assets/svg/icons/IconExpandLess.svg +0 -3
- package/src/assets/svg/icons/IconExpandMore.svg +0 -3
- package/src/assets/svg/icons/IconFacebook.svg +0 -3
- package/src/assets/svg/icons/IconFavorite.svg +0 -5
- package/src/assets/svg/icons/IconFavoriteFilled.svg +0 -5
- package/src/assets/svg/icons/IconFlag.svg +0 -3
- package/src/assets/svg/icons/IconFormatBold.svg +0 -5
- package/src/assets/svg/icons/IconFormatItalic.svg +0 -3
- package/src/assets/svg/icons/IconFormatListBulleted.svg +0 -5
- package/src/assets/svg/icons/IconForum.svg +0 -5
- package/src/assets/svg/icons/IconGas.svg +0 -3
- package/src/assets/svg/icons/IconGavel.svg +0 -5
- package/src/assets/svg/icons/IconGears.svg +0 -3
- package/src/assets/svg/icons/IconGlobeLocationPin.svg +0 -3
- package/src/assets/svg/icons/IconGoogle.svg +0 -18
- package/src/assets/svg/icons/IconGooglePay.svg +0 -5
- package/src/assets/svg/icons/IconGrid.svg +0 -3
- package/src/assets/svg/icons/IconHandshake.svg +0 -3
- package/src/assets/svg/icons/IconHandyman.svg +0 -3
- package/src/assets/svg/icons/IconHeight.svg +0 -3
- package/src/assets/svg/icons/IconHelp.svg +0 -5
- package/src/assets/svg/icons/IconInfo.svg +0 -5
- package/src/assets/svg/icons/IconInformation.svg +0 -3
- package/src/assets/svg/icons/IconInsertText.svg +0 -5
- package/src/assets/svg/icons/IconInstagram.svg +0 -3
- package/src/assets/svg/icons/IconIosShare.svg +0 -5
- package/src/assets/svg/icons/IconLayout.svg +0 -3
- package/src/assets/svg/icons/IconLevellingJack.svg +0 -3
- package/src/assets/svg/icons/IconLinkedIn.svg +0 -3
- package/src/assets/svg/icons/IconLocalShipping.svg +0 -5
- package/src/assets/svg/icons/IconLock.svg +0 -5
- package/src/assets/svg/icons/IconMail.svg +0 -5
- package/src/assets/svg/icons/IconMenu.svg +0 -3
- package/src/assets/svg/icons/IconMoneyBag.svg +0 -3
- package/src/assets/svg/icons/IconMoreHoriz.svg +0 -5
- package/src/assets/svg/icons/IconMove.svg +0 -3
- package/src/assets/svg/icons/IconNotifications.svg +0 -5
- package/src/assets/svg/icons/IconOdometer.svg +0 -3
- package/src/assets/svg/icons/IconOpenInNew.svg +0 -5
- package/src/assets/svg/icons/IconPalette.svg +0 -5
- package/src/assets/svg/icons/IconPaypal.svg +0 -5
- package/src/assets/svg/icons/IconPerson.svg +0 -5
- package/src/assets/svg/icons/IconPersonSearch.svg +0 -3
- package/src/assets/svg/icons/IconPhotoCamera.svg +0 -5
- package/src/assets/svg/icons/IconPinterest.svg +0 -5
- package/src/assets/svg/icons/IconPlayArrow.svg +0 -3
- package/src/assets/svg/icons/IconPolicy.svg +0 -3
- package/src/assets/svg/icons/IconPower.svg +0 -3
- package/src/assets/svg/icons/IconPowerOff.svg +0 -3
- package/src/assets/svg/icons/IconPriorityHigh.svg +0 -3
- package/src/assets/svg/icons/IconRemove.svg +0 -3
- package/src/assets/svg/icons/IconRequestQuote.svg +0 -3
- package/src/assets/svg/icons/IconResetWrench.svg +0 -3
- package/src/assets/svg/icons/IconRoad.svg +0 -3
- package/src/assets/svg/icons/IconRoundedCorner.svg +0 -5
- package/src/assets/svg/icons/IconRuler.svg +0 -3
- package/src/assets/svg/icons/IconSailing.svg +0 -3
- package/src/assets/svg/icons/IconSchool.svg +0 -3
- package/src/assets/svg/icons/IconSearch.svg +0 -5
- package/src/assets/svg/icons/IconSeating.svg +0 -3
- package/src/assets/svg/icons/IconSell.svg +0 -5
- package/src/assets/svg/icons/IconSensors.svg +0 -3
- package/src/assets/svg/icons/IconSettings.svg +0 -3
- package/src/assets/svg/icons/IconShare.svg +0 -5
- package/src/assets/svg/icons/IconShieldCheck.svg +0 -3
- package/src/assets/svg/icons/IconShoppingCart.svg +0 -5
- package/src/assets/svg/icons/IconSleeps.svg +0 -3
- package/src/assets/svg/icons/IconSms.svg +0 -5
- package/src/assets/svg/icons/IconSnowflake.svg +0 -3
- package/src/assets/svg/icons/IconStar.svg +0 -5
- package/src/assets/svg/icons/IconStarFilled.svg +0 -3
- package/src/assets/svg/icons/IconStarHalf.svg +0 -3
- package/src/assets/svg/icons/IconSummarize.svg +0 -3
- package/src/assets/svg/icons/IconSwapHoriz.svg +0 -3
- package/src/assets/svg/icons/IconSwapVert.svg +0 -5
- package/src/assets/svg/icons/IconThreeDRotation.svg +0 -18
- package/src/assets/svg/icons/IconThumbUp.svg +0 -3
- package/src/assets/svg/icons/IconTrendingDown.svg +0 -5
- package/src/assets/svg/icons/IconTrophy.svg +0 -5
- package/src/assets/svg/icons/IconTune.svg +0 -5
- package/src/assets/svg/icons/IconTwitter.svg +0 -5
- package/src/assets/svg/icons/IconUmbrella.svg +0 -3
- package/src/assets/svg/icons/IconVerified.svg +0 -4
- package/src/assets/svg/icons/IconVideocam.svg +0 -5
- package/src/assets/svg/icons/IconViewInAr.svg +0 -5
- package/src/assets/svg/icons/IconVisibility.svg +0 -5
- package/src/assets/svg/icons/IconVolumeOff.svg +0 -5
- package/src/assets/svg/icons/IconVolumeOn.svg +0 -5
- package/src/assets/svg/icons/IconWarehouse.svg +0 -3
- package/src/assets/svg/icons/IconWarning.svg +0 -5
- package/src/assets/svg/icons/IconWater.svg +0 -3
- package/src/assets/svg/icons/IconWeight.svg +0 -3
- package/src/assets/svg/icons/IconWidth.svg +0 -3
- package/src/assets/svg/icons/IconWorkspacePremium.svg +0 -3
- package/src/assets/svg/icons/IconWrench.svg +0 -3
- package/src/assets/svg/icons/IconYoutube.svg +0 -5
- package/src/assets/svg/icons/realm/aero/IconAeroFlight.svg +0 -3
- package/src/assets/svg/icons/realm/aero/IconAeroHelicopter.svg +0 -3
- package/src/assets/svg/icons/realm/aero/IconAeroModeFan.svg +0 -3
- package/src/assets/svg/icons/realm/aero/IconAeroPlaneContrails.svg +0 -3
- package/src/assets/svg/icons/realm/atv/IconAtvAtv.svg +0 -3
- package/src/assets/svg/icons/realm/atv/IconAtvDuneBuggy.svg +0 -3
- package/src/assets/svg/icons/realm/atv/IconAtvGoKart.svg +0 -3
- package/src/assets/svg/icons/realm/atv/IconAtvGolfCart.svg +0 -3
- package/src/assets/svg/icons/realm/atv/IconAtvSandRail.svg +0 -3
- package/src/assets/svg/icons/realm/atv/IconAtvSideBySide.svg +0 -3
- package/src/assets/svg/icons/realm/atv/IconAtvTrailer.svg +0 -3
- package/src/assets/svg/icons/realm/boatmart/IconBoatmartPwc.svg +0 -3
- package/src/assets/svg/icons/realm/boatmart/IconBoatmartTrailer.svg +0 -3
- package/src/assets/svg/icons/realm/cycle/IconCycleMotorcycle.svg +0 -4
- package/src/assets/svg/icons/realm/cycle/IconCycleTrailer.svg +0 -3
- package/src/assets/svg/icons/realm/pwc/IconPwcPwc.svg +0 -3
- package/src/assets/svg/icons/realm/pwc/IconPwcSnowmobile.svg +0 -3
- package/src/assets/svg/icons/realm/pwc/IconPwcTrailer.svg +0 -3
- package/src/assets/svg/icons/realm/rv/IconRvClassA.svg +0 -3
- package/src/assets/svg/icons/realm/rv/IconRvClassB.svg +0 -3
- package/src/assets/svg/icons/realm/rv/IconRvClassC.svg +0 -3
- package/src/assets/svg/icons/realm/rv/IconRvDestinationTrailer.svg +0 -5
- package/src/assets/svg/icons/realm/rv/IconRvFifthWheel.svg +0 -3
- package/src/assets/svg/icons/realm/rv/IconRvFishHouse.svg +0 -3
- package/src/assets/svg/icons/realm/rv/IconRvParkModel.svg +0 -3
- package/src/assets/svg/icons/realm/rv/IconRvPopUpCamper.svg +0 -3
- package/src/assets/svg/icons/realm/rv/IconRvTeardropTrailer.svg +0 -4
- package/src/assets/svg/icons/realm/rv/IconRvTravelTrailer.svg +0 -3
- package/src/assets/svg/icons/realm/rv/IconRvTruckCamper.svg +0 -3
- package/src/assets/svg/icons/realm/snow/IconSnowMotorcycle.svg +0 -4
- package/src/assets/svg/icons/realm/snow/IconSnowPwc.svg +0 -3
- package/src/assets/svg/icons/realm/snow/IconSnowSideBySide.svg +0 -3
- package/src/assets/svg/icons/realm/snow/IconSnowSnowmobile.svg +0 -3
- package/src/assets/svg/icons/realm/snow/IconSnowTrailer.svg +0 -3
- package/src/components/InternalBaseLink.vue +0 -11
- package/src/components/TideAccordionItem.vue +0 -120
- package/src/components/TideAlert.vue +0 -186
- package/src/components/TideBadge.vue +0 -64
- package/src/components/TideBadgeTrustedPartner.vue +0 -52
- package/src/components/TideBadgeVerifiedVehicle.vue +0 -46
- package/src/components/TideBreadCrumbs.vue +0 -62
- package/src/components/TideButton.vue +0 -115
- package/src/components/TideButtonIcon.vue +0 -91
- package/src/components/TideButtonPagination.vue +0 -87
- package/src/components/TideButtonSave.vue +0 -109
- package/src/components/TideButtonSegmented.vue +0 -115
- package/src/components/TideCard.vue +0 -107
- package/src/components/TideCarousel.vue +0 -489
- package/src/components/TideChipAction.vue +0 -83
- package/src/components/TideChipFilter.vue +0 -71
- package/src/components/TideChipInput.vue +0 -54
- package/src/components/TideColumns.vue +0 -65
- package/src/components/TideDivider.vue +0 -43
- package/src/components/TideForm.vue +0 -33
- package/src/components/TideIcon.vue +0 -85
- package/src/components/TideImage.vue +0 -126
- package/src/components/TideImageBackground.vue +0 -69
- package/src/components/TideIndicator.vue +0 -63
- package/src/components/TideInputCheckbox.vue +0 -210
- package/src/components/TideInputCheckboxDeprecated.vue +0 -117
- package/src/components/TideInputRadio.vue +0 -115
- package/src/components/TideInputRadioDeprecated.vue +0 -119
- package/src/components/TideInputSelect.vue +0 -331
- package/src/components/TideInputSelectDeprecated.vue +0 -245
- package/src/components/TideInputSupportingText.vue +0 -44
- package/src/components/TideInputText.vue +0 -382
- package/src/components/TideInputTextDeprecated.vue +0 -327
- package/src/components/TideInputTextarea.vue +0 -235
- package/src/components/TideInputTextareaDeprecated.vue +0 -198
- package/src/components/TideLink.vue +0 -95
- package/src/components/TideMenuItem.vue +0 -83
- package/src/components/TideModal.vue +0 -281
- package/src/components/TidePagination.vue +0 -65
- package/src/components/TidePopover.vue +0 -198
- package/src/components/TideRating.vue +0 -109
- package/src/components/TideRealmLogo.vue +0 -154
- package/src/components/TideSeoLinks.vue +0 -59
- package/src/components/TideSheet.vue +0 -209
- package/src/components/TideSwitch.vue +0 -101
- package/src/components/TideTabs.vue +0 -63
- package/src/components/TideToaster.vue +0 -97
- package/src/composables/useTideConfig.ts +0 -23
- package/src/composables/useTideForm.ts +0 -25
- package/src/composables/useTideToaster.ts +0 -63
- package/src/contexts/sandbox/AppSandbox.vue +0 -7
- package/src/contexts/sandbox/app-sandbox.ts +0 -10
- package/src/stories/DemoCssUtilities.stories.ts +0 -154
- package/src/stories/DemoCssUtilitiesByTextInput.stories.ts +0 -61
- package/src/stories/FoundationsBorder.stories.ts +0 -272
- package/src/stories/FoundationsColor.stories.ts +0 -311
- package/src/stories/FoundationsFlexbox.stories.ts +0 -184
- package/src/stories/FoundationsGrid.stories.ts +0 -126
- package/src/stories/FoundationsMargin.stories.ts +0 -155
- package/src/stories/FoundationsPadding.stories.ts +0 -108
- package/src/stories/FoundationsShadow.stories.ts +0 -103
- package/src/stories/FoundationsTransparency.stories.ts +0 -114
- package/src/stories/FoundationsTypography.stories.ts +0 -212
- package/src/stories/Template.stories.ts +0 -73
- package/src/stories/TideAccordionItem.stories.ts +0 -91
- package/src/stories/TideAlert.stories.ts +0 -133
- package/src/stories/TideBadge.stories.ts +0 -90
- package/src/stories/TideBadgeTrustedPartner.stories.ts +0 -34
- package/src/stories/TideBadgeVerifiedVehicle.stories.ts +0 -22
- package/src/stories/TideBreadCrumbs.stories.ts +0 -42
- package/src/stories/TideButton.stories.ts +0 -132
- package/src/stories/TideButtonIcon.stories.ts +0 -109
- package/src/stories/TideButtonPagination.stories.ts +0 -99
- package/src/stories/TideButtonSave.stories.ts +0 -62
- package/src/stories/TideButtonSegmented.stories.ts +0 -110
- package/src/stories/TideCard.stories.ts +0 -102
- package/src/stories/TideCarousel.stories.ts +0 -219
- package/src/stories/TideChipAction.stories.ts +0 -81
- package/src/stories/TideChipFilter.stories.ts +0 -84
- package/src/stories/TideChipInput.stories.ts +0 -56
- package/src/stories/TideColumns.stories.ts +0 -89
- package/src/stories/TideDivider.stories.ts +0 -48
- package/src/stories/TideIcon.stories.ts +0 -31
- package/src/stories/TideImage.stories.ts +0 -124
- package/src/stories/TideImageBackground.stories.ts +0 -114
- package/src/stories/TideIndicator.stories.ts +0 -32
- package/src/stories/TideInputCheckbox.stories.ts +0 -138
- package/src/stories/TideInputRadio.stories.ts +0 -100
- package/src/stories/TideInputSelect.stories.ts +0 -244
- package/src/stories/TideInputText.stories.ts +0 -221
- package/src/stories/TideInputTextarea.stories.ts +0 -156
- package/src/stories/TideLink.stories.ts +0 -127
- package/src/stories/TideMenuItem.stories.ts +0 -117
- package/src/stories/TideModal.stories.ts +0 -219
- package/src/stories/TidePagination.stories.ts +0 -100
- package/src/stories/TidePopover.stories.ts +0 -101
- package/src/stories/TideRating.stories.ts +0 -114
- package/src/stories/TideRealmLogo.stories.ts +0 -93
- package/src/stories/TideSeoLinks.stories.ts +0 -68
- package/src/stories/TideSheet.stories.ts +0 -152
- package/src/stories/TideSwitch.stories.ts +0 -72
- package/src/stories/TideTabs.stories.ts +0 -114
- package/src/stories/TideToaster.stories.ts +0 -117
- package/src/stories/Welcome.mdx +0 -17
- package/src/types/Alert.ts +0 -8
- package/src/types/Badge.ts +0 -76
- package/src/types/BreadCrumb.ts +0 -5
- package/src/types/Breakpoint.ts +0 -18
- package/src/types/Card.ts +0 -7
- package/src/types/Element.ts +0 -13
- package/src/types/FieldDeprecated.ts +0 -92
- package/src/types/Form.ts +0 -1
- package/src/types/FormDeprecated.ts +0 -91
- package/src/types/Formatted.ts +0 -23
- package/src/types/Icon.ts +0 -202
- package/src/types/Image.ts +0 -7
- package/src/types/Link.ts +0 -5
- package/src/types/Orientation.ts +0 -6
- package/src/types/Priority.ts +0 -11
- package/src/types/Realm.ts +0 -14
- package/src/types/RealmLogo.ts +0 -23
- package/src/types/Select.ts +0 -9
- package/src/types/Size.ts +0 -13
- package/src/types/Source.ts +0 -6
- package/src/types/Storybook.ts +0 -253
- package/src/types/Styles.ts +0 -526
- package/src/types/Tab.ts +0 -5
- package/src/types/Target.ts +0 -6
- package/src/types/TextInput.ts +0 -28
- package/src/types/Toast.ts +0 -21
- package/src/types/Type.ts +0 -6
- package/src/types/Validation.ts +0 -33
- package/src/types/ValidationDeprecated.ts +0 -41
- package/src/utilities/event.ts +0 -4
- package/src/utilities/format.ts +0 -184
- package/src/utilities/forms.ts +0 -22
- package/src/utilities/realm.ts +0 -17
- package/src/utilities/storybook.ts +0 -354
- package/src/utilities/validation-deprecated.ts +0 -252
- package/src/utilities/validation.ts +0 -132
- package/src/utilities/viewport.ts +0 -63
- package/tests/InternalBaseLink.spec.ts +0 -61
- package/tests/TideRealmLogo.spec.ts +0 -58
- package/tests/svg-icons.spec.ts +0 -74
- package/tests/utilities-format.spec.ts +0 -470
- package/tests/utilities-storybook.spec.ts +0 -99
- package/tsconfig.app.json +0 -14
- package/tsconfig.config.json +0 -12
- package/tsconfig.json +0 -35
- package/tsconfig.node.json +0 -7
- package/tsconfig.vitest.json +0 -10
- package/vite-env.d.ts +0 -2
- package/vite.config.sandbox.ts +0 -29
- package/vite.config.ts +0 -37
|
@@ -1 +1,2743 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
3
|
+
import { ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { DefineComponent } from 'vue';
|
|
5
|
+
import { PublicProps } from 'vue';
|
|
6
|
+
import { Ref } from 'vue';
|
|
7
|
+
|
|
8
|
+
declare type __VLS_Props = Props_2;
|
|
9
|
+
|
|
10
|
+
declare type __VLS_PublicProps = {
|
|
11
|
+
modelValue: number;
|
|
12
|
+
} & __VLS_Props;
|
|
13
|
+
|
|
14
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
63
|
+
new (): {
|
|
64
|
+
$slots: S;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
69
|
+
new (): {
|
|
70
|
+
$slots: S;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export declare const ALERT: {
|
|
75
|
+
readonly ERROR: "error";
|
|
76
|
+
readonly INFO: "info";
|
|
77
|
+
readonly SUCCESS: "success";
|
|
78
|
+
readonly WARNING: "warning";
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export declare type Alert = (typeof ALERT)[keyof typeof ALERT];
|
|
82
|
+
|
|
83
|
+
export declare const BADGE_COLOR: {
|
|
84
|
+
readonly BLACK: "black";
|
|
85
|
+
readonly BLUE: "blue";
|
|
86
|
+
readonly GREEN: "green";
|
|
87
|
+
readonly LIME: "lime";
|
|
88
|
+
readonly ORANGE: "orange";
|
|
89
|
+
readonly PURPLE: "purple";
|
|
90
|
+
readonly RED: "red";
|
|
91
|
+
readonly SALMON: "salmon";
|
|
92
|
+
readonly TEAL: "teal";
|
|
93
|
+
readonly YELLOW: "yellow";
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export declare const BADGE_COLOR_DETAILS: Record<BadgeColor, {
|
|
97
|
+
borderColor: string;
|
|
98
|
+
iconColor: string;
|
|
99
|
+
}>;
|
|
100
|
+
|
|
101
|
+
export declare const BADGE_TRUSTED: {
|
|
102
|
+
readonly YEARS_10: "10";
|
|
103
|
+
readonly YEARS_15: "15";
|
|
104
|
+
readonly YEARS_20: "20";
|
|
105
|
+
readonly YEARS_25: "25";
|
|
106
|
+
readonly YEARS_30: "30";
|
|
107
|
+
readonly YEARS_35: "35";
|
|
108
|
+
readonly YEARS_5: "5";
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
declare type BadgeColor = (typeof BADGE_COLOR)[keyof typeof BADGE_COLOR];
|
|
112
|
+
|
|
113
|
+
export declare type BadgeTrustedYears = (typeof BADGE_TRUSTED)[keyof typeof BADGE_TRUSTED];
|
|
114
|
+
|
|
115
|
+
export declare type BreadCrumb = {
|
|
116
|
+
dataTrack?: string;
|
|
117
|
+
label: string;
|
|
118
|
+
url?: string;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
export declare const BREAKPOINT: {
|
|
122
|
+
readonly SM: "sm";
|
|
123
|
+
readonly MD: "md";
|
|
124
|
+
readonly LG: "lg";
|
|
125
|
+
readonly XL: "xl";
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export declare type Breakpoint = (typeof BREAKPOINT)[keyof typeof BREAKPOINT];
|
|
129
|
+
|
|
130
|
+
declare const BUTTON_TYPE: {
|
|
131
|
+
readonly BUTTON: "button";
|
|
132
|
+
readonly SUBMIT: "submit";
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
declare type ButtonType = (typeof BUTTON_TYPE)[keyof typeof BUTTON_TYPE];
|
|
136
|
+
|
|
137
|
+
export declare type CardType = (typeof TYPE_CARD)[keyof typeof TYPE_CARD];
|
|
138
|
+
|
|
139
|
+
declare const CSS_2: {
|
|
140
|
+
readonly withBreakpoint: (utilities: string[], breakpoint: Breakpoint) => string[];
|
|
141
|
+
readonly ALIGN: {
|
|
142
|
+
readonly X: {
|
|
143
|
+
readonly CENTER: "tide-text-center";
|
|
144
|
+
readonly JUSTIFY: "tide-text-justify";
|
|
145
|
+
readonly LEFT: "tide-text-left";
|
|
146
|
+
readonly RIGHT: "tide-text-right";
|
|
147
|
+
};
|
|
148
|
+
readonly Y: {
|
|
149
|
+
readonly INITIAL: "tide-align-initial";
|
|
150
|
+
readonly MIDDLE: "tide-align-middle";
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
readonly AXIS1: {
|
|
154
|
+
readonly AROUND: "tide-axis1-around";
|
|
155
|
+
readonly BETWEEN: "tide-axis1-between";
|
|
156
|
+
readonly CENTER: "tide-axis1-center";
|
|
157
|
+
readonly END: "tide-axis1-end";
|
|
158
|
+
readonly START: "tide-axis1-start";
|
|
159
|
+
};
|
|
160
|
+
readonly AXIS2: {
|
|
161
|
+
readonly AROUND: "tide-axis2-around";
|
|
162
|
+
readonly CENTER: "tide-axis2-center";
|
|
163
|
+
readonly END: "tide-axis2-end";
|
|
164
|
+
readonly START: "tide-axis2-start";
|
|
165
|
+
readonly STRETCH: "tide-axis2-stretch";
|
|
166
|
+
};
|
|
167
|
+
readonly BG: {
|
|
168
|
+
readonly GLOBAL: {
|
|
169
|
+
readonly PRIMARY: {
|
|
170
|
+
readonly ERROR: "tide-bg-primary-error";
|
|
171
|
+
readonly INFO: "tide-bg-primary-info";
|
|
172
|
+
readonly SUCCESS: "tide-bg-primary-success";
|
|
173
|
+
readonly WARNING: "tide-bg-primary-warning";
|
|
174
|
+
};
|
|
175
|
+
readonly SURFACE: {
|
|
176
|
+
readonly ERROR: "tide-bg-surface-error";
|
|
177
|
+
readonly INFO: "tide-bg-surface-info";
|
|
178
|
+
readonly SUCCESS: "tide-bg-surface-success";
|
|
179
|
+
readonly WARNING: "tide-bg-surface-warning";
|
|
180
|
+
readonly BLUE: "tide-bg-surface-blue";
|
|
181
|
+
readonly GREEN: "tide-bg-surface-green";
|
|
182
|
+
readonly LIME: "tide-bg-surface-lime";
|
|
183
|
+
readonly ORANGE: "tide-bg-surface-orange";
|
|
184
|
+
readonly PURPLE: "tide-bg-surface-purple";
|
|
185
|
+
readonly RED: "tide-bg-surface-red";
|
|
186
|
+
readonly SALMON: "tide-bg-surface-salmon";
|
|
187
|
+
readonly TEAL: "tide-bg-surface-teal";
|
|
188
|
+
readonly YELLOW: "tide-bg-surface-yellow";
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
readonly INITIAL: "tide-bg-initial";
|
|
192
|
+
readonly BLUR: "tide-bg-blur";
|
|
193
|
+
readonly PRIMARY: "tide-bg-primary";
|
|
194
|
+
readonly SECONDARY: "tide-bg-secondary";
|
|
195
|
+
readonly SURFACE: {
|
|
196
|
+
readonly ACCENT: "tide-bg-surface-accent";
|
|
197
|
+
readonly BRAND: "tide-bg-surface-brand";
|
|
198
|
+
readonly DEFAULT: "tide-bg-surface";
|
|
199
|
+
readonly FLOATING: "tide-bg-surface-floating";
|
|
200
|
+
readonly GRADIENT: "tide-bg-surface-gradient";
|
|
201
|
+
readonly INVERSE: "tide-bg-surface-inverse";
|
|
202
|
+
readonly VARIANT: "tide-bg-surface-variant";
|
|
203
|
+
};
|
|
204
|
+
readonly TRANSPARENT: {
|
|
205
|
+
readonly ONE_HUNDRED: "tide-transparent-100";
|
|
206
|
+
readonly TWO_HUNDRED: "tide-transparent-200";
|
|
207
|
+
readonly THREE_HUNDRED: "tide-transparent-300";
|
|
208
|
+
readonly FOUR_HUNDRED: "tide-transparent-400";
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
readonly BORDER: {
|
|
212
|
+
readonly COLOR: {
|
|
213
|
+
readonly GLOBAL: {
|
|
214
|
+
readonly ERROR: "tide-border-error";
|
|
215
|
+
readonly INFO: "tide-border-info";
|
|
216
|
+
readonly SUCCESS: "tide-border-success";
|
|
217
|
+
readonly WARNING: "tide-border-warning";
|
|
218
|
+
readonly BLUE: "tide-border-blue";
|
|
219
|
+
readonly GREEN: "tide-border-green";
|
|
220
|
+
readonly LIME: "tide-border-lime";
|
|
221
|
+
readonly ORANGE: "tide-border-orange";
|
|
222
|
+
readonly PURPLE: "tide-border-purple";
|
|
223
|
+
readonly RED: "tide-border-red";
|
|
224
|
+
readonly SALMON: "tide-border-salmon";
|
|
225
|
+
readonly TEAL: "tide-border-teal";
|
|
226
|
+
readonly YELLOW: "tide-border-yellow";
|
|
227
|
+
};
|
|
228
|
+
readonly INITIAL: "tide-border-color-initial";
|
|
229
|
+
readonly DEFAULT: "tide-border";
|
|
230
|
+
readonly FLOATING: "tide-border-floating";
|
|
231
|
+
readonly HIGH: "tide-border-high";
|
|
232
|
+
readonly LOW: "tide-border-low";
|
|
233
|
+
readonly PRIMARY: "tide-border-primary";
|
|
234
|
+
};
|
|
235
|
+
readonly RADIUS: {
|
|
236
|
+
readonly ZERO: "tide-radius-0";
|
|
237
|
+
readonly QUARTER: "tide-radius-1/4";
|
|
238
|
+
readonly HALF: "tide-radius-1/2";
|
|
239
|
+
readonly ONE: "tide-radius-1";
|
|
240
|
+
readonly FULL: "tide-radius-full";
|
|
241
|
+
};
|
|
242
|
+
readonly STYLE: {
|
|
243
|
+
readonly DASHED: "tide-border-dashed";
|
|
244
|
+
readonly SOLID: "tide-border-solid";
|
|
245
|
+
};
|
|
246
|
+
readonly BOTTOM: {
|
|
247
|
+
readonly ZERO: "tide-border-bottom-0";
|
|
248
|
+
readonly ONE: "tide-border-bottom-1";
|
|
249
|
+
readonly TWO: "tide-border-bottom-2";
|
|
250
|
+
};
|
|
251
|
+
readonly FULL: {
|
|
252
|
+
readonly ZERO: "tide-border-0";
|
|
253
|
+
readonly ONE: "tide-border-1";
|
|
254
|
+
readonly TWO: "tide-border-2";
|
|
255
|
+
};
|
|
256
|
+
readonly LEFT: {
|
|
257
|
+
readonly ZERO: "tide-border-left-0";
|
|
258
|
+
readonly ONE: "tide-border-left-1";
|
|
259
|
+
readonly TWO: "tide-border-left-2";
|
|
260
|
+
};
|
|
261
|
+
readonly RIGHT: {
|
|
262
|
+
readonly ZERO: "tide-border-right-0";
|
|
263
|
+
readonly ONE: "tide-border-right-1";
|
|
264
|
+
readonly TWO: "tide-border-right-2";
|
|
265
|
+
};
|
|
266
|
+
readonly TOP: {
|
|
267
|
+
readonly ZERO: "tide-border-top-0";
|
|
268
|
+
readonly ONE: "tide-border-top-1";
|
|
269
|
+
readonly TWO: "tide-border-top-2";
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
readonly BOX_SIZING: {
|
|
273
|
+
readonly BORDER_BOX: "tide-box-border";
|
|
274
|
+
readonly CONTENT_BOX: "tide-box-content";
|
|
275
|
+
};
|
|
276
|
+
readonly BREAK_INSIDE: {
|
|
277
|
+
readonly AVOID_COLUMN: "tide-break-inside-avoid-column";
|
|
278
|
+
};
|
|
279
|
+
readonly BREAK_WORD: {
|
|
280
|
+
readonly OFF: "tide-break-initial";
|
|
281
|
+
readonly ON: "tide-break-word";
|
|
282
|
+
};
|
|
283
|
+
readonly COLUMNS: {
|
|
284
|
+
readonly INITIAL: "tide-columns-initial";
|
|
285
|
+
readonly ONE: "tide-columns-1";
|
|
286
|
+
readonly TWO: "tide-columns-2";
|
|
287
|
+
readonly THREE: "tide-columns-3";
|
|
288
|
+
readonly FOUR: "tide-columns-4";
|
|
289
|
+
};
|
|
290
|
+
readonly CURSOR: {
|
|
291
|
+
readonly NOT_ALLOWED: "tide-cursor-not-allowed";
|
|
292
|
+
readonly POINTER: "tide-cursor-pointer";
|
|
293
|
+
readonly TEXT: "tide-cursor-text";
|
|
294
|
+
};
|
|
295
|
+
readonly DISPLAY: {
|
|
296
|
+
readonly BLOCK: "tide-display-block";
|
|
297
|
+
readonly CONTENTS: "tide-display-contents";
|
|
298
|
+
readonly FLEX: "tide-display-flex";
|
|
299
|
+
readonly GRID: "tide-display-grid";
|
|
300
|
+
readonly INITIAL: "tide-display-initial";
|
|
301
|
+
readonly INLINE: "tide-display-inline";
|
|
302
|
+
readonly INLINE_BLOCK: "tide-display-inline-block";
|
|
303
|
+
readonly INLINE_FLEX: "tide-display-inline-flex";
|
|
304
|
+
readonly NONE: "tide-display-none";
|
|
305
|
+
};
|
|
306
|
+
readonly ELLIPSIS: "tide-ellipsis";
|
|
307
|
+
readonly FLEX: {
|
|
308
|
+
readonly BASIS: {
|
|
309
|
+
readonly AUTO: "tide-flex-basis-auto";
|
|
310
|
+
readonly ZERO: "tide-flex-basis-0";
|
|
311
|
+
};
|
|
312
|
+
readonly DIRECTION: {
|
|
313
|
+
readonly COLUMN: "tide-flex-column";
|
|
314
|
+
readonly COLUMN_REVERSE: "tide-flex-column-reverse";
|
|
315
|
+
readonly ROW: "tide-flex-row";
|
|
316
|
+
readonly ROW_REVERSE: "tide-flex-row-reverse";
|
|
317
|
+
};
|
|
318
|
+
readonly GROW: {
|
|
319
|
+
readonly OFF: "tide-grow-none";
|
|
320
|
+
readonly ON: "tide-grow";
|
|
321
|
+
};
|
|
322
|
+
readonly SHRINK: {
|
|
323
|
+
readonly OFF: "tide-shrink-none";
|
|
324
|
+
readonly ON: "tide-shrink";
|
|
325
|
+
};
|
|
326
|
+
readonly WRAP: "tide-flex-wrap";
|
|
327
|
+
};
|
|
328
|
+
readonly FONT: {
|
|
329
|
+
readonly COLOR: {
|
|
330
|
+
readonly GLOBAL: {
|
|
331
|
+
readonly ERROR: "tide-font-error";
|
|
332
|
+
readonly INFO: "tide-font-info";
|
|
333
|
+
readonly SUCCESS: "tide-font-success";
|
|
334
|
+
readonly WARNING: "tide-font-warning";
|
|
335
|
+
readonly BLUE: "tide-font-blue";
|
|
336
|
+
readonly GREEN: "tide-font-green";
|
|
337
|
+
readonly LIME: "tide-font-lime";
|
|
338
|
+
readonly ORANGE: "tide-font-orange";
|
|
339
|
+
readonly PURPLE: "tide-font-purple";
|
|
340
|
+
readonly RED: "tide-font-red";
|
|
341
|
+
readonly SALMON: "tide-font-salmon";
|
|
342
|
+
readonly TEAL: "tide-font-teal";
|
|
343
|
+
readonly YELLOW: "tide-font-yellow";
|
|
344
|
+
readonly PRIMARY: {
|
|
345
|
+
readonly BLUE: "tide-font-primary-blue";
|
|
346
|
+
readonly GREEN: "tide-font-primary-green";
|
|
347
|
+
readonly LIME: "tide-font-primary-lime";
|
|
348
|
+
readonly ORANGE: "tide-font-primary-orange";
|
|
349
|
+
readonly PURPLE: "tide-font-primary-purple";
|
|
350
|
+
readonly RED: "tide-font-primary-red";
|
|
351
|
+
readonly SALMON: "tide-font-primary-salmon";
|
|
352
|
+
readonly TEAL: "tide-font-primary-teal";
|
|
353
|
+
readonly YELLOW: "tide-font-primary-yellow";
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
readonly PRIMARY: "tide-font-on-primary";
|
|
357
|
+
readonly SECONDARY: "tide-font-on-secondary";
|
|
358
|
+
readonly SURFACE: {
|
|
359
|
+
readonly BRAND: "tide-font-on-surface-brand";
|
|
360
|
+
readonly DEFAULT: "tide-font-on-surface";
|
|
361
|
+
readonly INVERSE: "tide-font-on-surface-inverse";
|
|
362
|
+
readonly VARIANT: "tide-font-on-surface-variant";
|
|
363
|
+
readonly VARIANT_INVERSE: "tide-font-on-surface-variant-inverse";
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
readonly ROLE: {
|
|
367
|
+
readonly DISPLAY_1: "tide-typography-display-1";
|
|
368
|
+
readonly HEADLINE_1: "tide-typography-headline-1";
|
|
369
|
+
readonly HEADLINE_2: "tide-typography-headline-2";
|
|
370
|
+
readonly HEADLINE_3: "tide-typography-headline-3";
|
|
371
|
+
readonly TITLE_1: "tide-typography-title-1";
|
|
372
|
+
readonly TITLE_2: "tide-typography-title-2";
|
|
373
|
+
readonly BODY_1: "tide-typography-body-1";
|
|
374
|
+
readonly BODY_2: "tide-typography-body-2";
|
|
375
|
+
readonly LABEL_1: "tide-typography-label-1";
|
|
376
|
+
readonly LABEL_1_SEMIBOLD: "tide-typography-label-1-semibold";
|
|
377
|
+
readonly LABEL_2: "tide-typography-label-2";
|
|
378
|
+
readonly LABEL_2_SEMIBOLD: "tide-typography-label-2-semibold";
|
|
379
|
+
readonly LABEL_3: "tide-typography-label-3";
|
|
380
|
+
readonly LINK_1: "tide-typography-link-1";
|
|
381
|
+
readonly LINK_2: "tide-typography-link-2";
|
|
382
|
+
readonly LINK_3: "tide-typography-link-3";
|
|
383
|
+
readonly BUTTON_1: "tide-typography-button-1";
|
|
384
|
+
readonly BUTTON_2: "tide-typography-button-2";
|
|
385
|
+
};
|
|
386
|
+
readonly SIZE: {
|
|
387
|
+
readonly TWELVE: "tide-font-12";
|
|
388
|
+
readonly FOURTEEN: "tide-font-14";
|
|
389
|
+
readonly SIXTEEN: "tide-font-16";
|
|
390
|
+
readonly TWENTY: "tide-font-20";
|
|
391
|
+
readonly TWENTY_FOUR: "tide-font-24";
|
|
392
|
+
readonly THIRTY_TWO: "tide-font-32";
|
|
393
|
+
};
|
|
394
|
+
readonly WEIGHT: {
|
|
395
|
+
readonly FOUR_HUNDRED: "tide-font-400";
|
|
396
|
+
readonly FIVE_HUNDRED: "tide-font-500";
|
|
397
|
+
readonly SIX_HUNDRED: "tide-font-600";
|
|
398
|
+
readonly SEVEN_HUNDRED: "tide-font-700";
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
readonly GAP: {
|
|
402
|
+
readonly ZERO: "tide-gap-0";
|
|
403
|
+
readonly QUARTER: "tide-gap-1/4";
|
|
404
|
+
readonly HALF: "tide-gap-1/2";
|
|
405
|
+
readonly ONE: "tide-gap-1";
|
|
406
|
+
readonly TWO: "tide-gap-2";
|
|
407
|
+
readonly FOUR: "tide-gap-4";
|
|
408
|
+
};
|
|
409
|
+
readonly GRID: {
|
|
410
|
+
readonly FLUID: "tide-fluid";
|
|
411
|
+
readonly ITEM: "tide-grid-item";
|
|
412
|
+
readonly LAYOUT: "tide-grid-layout";
|
|
413
|
+
readonly XL: "tide-grid-xl";
|
|
414
|
+
};
|
|
415
|
+
readonly HEIGHT: {
|
|
416
|
+
readonly AUTO: "tide-height-auto";
|
|
417
|
+
readonly ZERO: "tide-height-0";
|
|
418
|
+
readonly FULL: "tide-height-full";
|
|
419
|
+
readonly MAX_FULL: "tide-max-height-full";
|
|
420
|
+
readonly MIN_ZERO: "tide-min-height-0";
|
|
421
|
+
};
|
|
422
|
+
readonly ISOLATION: {
|
|
423
|
+
readonly ISOLATE: "tide-isolate";
|
|
424
|
+
};
|
|
425
|
+
readonly LIST_BULLETS: {
|
|
426
|
+
readonly OFF: "tide-list-none";
|
|
427
|
+
};
|
|
428
|
+
readonly MARGIN: {
|
|
429
|
+
readonly BOTTOM: {
|
|
430
|
+
readonly AUTO: "tide-margin-bottom-auto";
|
|
431
|
+
readonly ZERO: "tide-margin-bottom-0";
|
|
432
|
+
readonly QUARTER: "tide-margin-bottom-1/4";
|
|
433
|
+
readonly HALF: "tide-margin-bottom-1/2";
|
|
434
|
+
readonly ONE: "tide-margin-bottom-1";
|
|
435
|
+
readonly TWO: "tide-margin-bottom-2";
|
|
436
|
+
readonly FOUR: "tide-margin-bottom-4";
|
|
437
|
+
};
|
|
438
|
+
readonly FULL: {
|
|
439
|
+
readonly ZERO: "tide-margin-0";
|
|
440
|
+
readonly QUARTER: "tide-margin-1/4";
|
|
441
|
+
readonly HALF: "tide-margin-1/2";
|
|
442
|
+
readonly ONE: "tide-margin-1";
|
|
443
|
+
readonly TWO: "tide-margin-2";
|
|
444
|
+
readonly FOUR: "tide-margin-4";
|
|
445
|
+
};
|
|
446
|
+
readonly LEFT: {
|
|
447
|
+
readonly AUTO: "tide-margin-left-auto";
|
|
448
|
+
readonly ZERO: "tide-margin-left-0";
|
|
449
|
+
readonly QUARTER: "tide-margin-left-1/4";
|
|
450
|
+
readonly HALF: "tide-margin-left-1/2";
|
|
451
|
+
readonly ONE: "tide-margin-left-1";
|
|
452
|
+
readonly TWO: "tide-margin-left-2";
|
|
453
|
+
readonly FOUR: "tide-margin-left-4";
|
|
454
|
+
};
|
|
455
|
+
readonly RIGHT: {
|
|
456
|
+
readonly AUTO: "tide-margin-right-auto";
|
|
457
|
+
readonly ZERO: "tide-margin-right-0";
|
|
458
|
+
readonly QUARTER: "tide-margin-right-1/4";
|
|
459
|
+
readonly HALF: "tide-margin-right-1/2";
|
|
460
|
+
readonly ONE: "tide-margin-right-1";
|
|
461
|
+
readonly TWO: "tide-margin-right-2";
|
|
462
|
+
readonly FOUR: "tide-margin-right-4";
|
|
463
|
+
};
|
|
464
|
+
readonly TOP: {
|
|
465
|
+
readonly AUTO: "tide-margin-top-auto";
|
|
466
|
+
readonly ZERO: "tide-margin-top-0";
|
|
467
|
+
readonly QUARTER: "tide-margin-top-1/4";
|
|
468
|
+
readonly HALF: "tide-margin-top-1/2";
|
|
469
|
+
readonly ONE: "tide-margin-top-1";
|
|
470
|
+
readonly TWO: "tide-margin-top-2";
|
|
471
|
+
readonly FOUR: "tide-margin-top-4";
|
|
472
|
+
};
|
|
473
|
+
readonly X: {
|
|
474
|
+
readonly AUTO: "tide-margin-x-auto";
|
|
475
|
+
readonly ZERO: "tide-margin-x-0";
|
|
476
|
+
readonly QUARTER: "tide-margin-x-1/4";
|
|
477
|
+
readonly HALF: "tide-margin-x-1/2";
|
|
478
|
+
readonly ONE: "tide-margin-x-1";
|
|
479
|
+
readonly TWO: "tide-margin-x-2";
|
|
480
|
+
readonly FOUR: "tide-margin-x-4";
|
|
481
|
+
};
|
|
482
|
+
readonly Y: {
|
|
483
|
+
readonly ZERO: "tide-margin-y-0";
|
|
484
|
+
readonly QUARTER: "tide-margin-y-1/4";
|
|
485
|
+
readonly HALF: "tide-margin-y-1/2";
|
|
486
|
+
readonly ONE: "tide-margin-y-1";
|
|
487
|
+
readonly TWO: "tide-margin-y-2";
|
|
488
|
+
readonly FOUR: "tide-margin-y-4";
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
readonly OBJECT: {
|
|
492
|
+
readonly CENTER: "tide-object-center";
|
|
493
|
+
readonly CONTAIN: "tide-object-contain";
|
|
494
|
+
readonly COVER: "tide-object-cover";
|
|
495
|
+
readonly SCALE_DOWN: "tide-object-scale-down";
|
|
496
|
+
};
|
|
497
|
+
readonly OPACITY: {
|
|
498
|
+
readonly DISABLED: "tide-opacity-disabled";
|
|
499
|
+
readonly OFF: "tide-opacity-none";
|
|
500
|
+
readonly ON: "tide-opacity";
|
|
501
|
+
};
|
|
502
|
+
readonly OVERFLOW: {
|
|
503
|
+
readonly X: {
|
|
504
|
+
readonly AUTO: "tide-x-auto";
|
|
505
|
+
readonly HIDDEN: "tide-x-hidden";
|
|
506
|
+
readonly SCROLL: "tide-x-scroll";
|
|
507
|
+
};
|
|
508
|
+
readonly XY: {
|
|
509
|
+
readonly AUTO: "tide-xy-auto";
|
|
510
|
+
readonly HIDDEN: "tide-xy-hidden";
|
|
511
|
+
};
|
|
512
|
+
readonly Y: {
|
|
513
|
+
readonly AUTO: "tide-y-auto";
|
|
514
|
+
readonly HIDDEN: "tide-y-hidden";
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
readonly PADDING: {
|
|
518
|
+
readonly BOTTOM: {
|
|
519
|
+
readonly ZERO: "tide-padding-bottom-0";
|
|
520
|
+
readonly QUARTER: "tide-padding-bottom-1/4";
|
|
521
|
+
readonly HALF: "tide-padding-bottom-1/2";
|
|
522
|
+
readonly ONE: "tide-padding-bottom-1";
|
|
523
|
+
readonly TWO: "tide-padding-bottom-2";
|
|
524
|
+
readonly FOUR: "tide-padding-bottom-4";
|
|
525
|
+
};
|
|
526
|
+
readonly FULL: {
|
|
527
|
+
readonly ZERO: "tide-padding-0";
|
|
528
|
+
readonly QUARTER: "tide-padding-1/4";
|
|
529
|
+
readonly HALF: "tide-padding-1/2";
|
|
530
|
+
readonly ONE: "tide-padding-1";
|
|
531
|
+
readonly TWO: "tide-padding-2";
|
|
532
|
+
readonly FOUR: "tide-padding-4";
|
|
533
|
+
};
|
|
534
|
+
readonly LEFT: {
|
|
535
|
+
readonly ZERO: "tide-padding-left-0";
|
|
536
|
+
readonly QUARTER: "tide-padding-left-1/4";
|
|
537
|
+
readonly HALF: "tide-padding-left-1/2";
|
|
538
|
+
readonly ONE: "tide-padding-left-1";
|
|
539
|
+
readonly TWO: "tide-padding-left-2";
|
|
540
|
+
readonly FOUR: "tide-padding-left-4";
|
|
541
|
+
};
|
|
542
|
+
readonly RIGHT: {
|
|
543
|
+
readonly ZERO: "tide-padding-right-0";
|
|
544
|
+
readonly QUARTER: "tide-padding-right-1/4";
|
|
545
|
+
readonly HALF: "tide-padding-right-1/2";
|
|
546
|
+
readonly ONE: "tide-padding-right-1";
|
|
547
|
+
readonly TWO: "tide-padding-right-2";
|
|
548
|
+
readonly FOUR: "tide-padding-right-4";
|
|
549
|
+
};
|
|
550
|
+
readonly TOP: {
|
|
551
|
+
readonly ZERO: "tide-padding-top-0";
|
|
552
|
+
readonly QUARTER: "tide-padding-top-1/4";
|
|
553
|
+
readonly HALF: "tide-padding-top-1/2";
|
|
554
|
+
readonly ONE: "tide-padding-top-1";
|
|
555
|
+
readonly TWO: "tide-padding-top-2";
|
|
556
|
+
readonly FOUR: "tide-padding-top-4";
|
|
557
|
+
};
|
|
558
|
+
readonly X: {
|
|
559
|
+
readonly ZERO: "tide-padding-x-0";
|
|
560
|
+
readonly QUARTER: "tide-padding-x-1/4";
|
|
561
|
+
readonly HALF: "tide-padding-x-1/2";
|
|
562
|
+
readonly ONE: "tide-padding-x-1";
|
|
563
|
+
readonly TWO: "tide-padding-x-2";
|
|
564
|
+
readonly FOUR: "tide-padding-x-4";
|
|
565
|
+
};
|
|
566
|
+
readonly Y: {
|
|
567
|
+
readonly ZERO: "tide-padding-y-0";
|
|
568
|
+
readonly QUARTER: "tide-padding-y-1/4";
|
|
569
|
+
readonly HALF: "tide-padding-y-1/2";
|
|
570
|
+
readonly ONE: "tide-padding-y-1";
|
|
571
|
+
readonly TWO: "tide-padding-y-2";
|
|
572
|
+
readonly FOUR: "tide-padding-y-4";
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
readonly POINTER_EVENTS: {
|
|
576
|
+
readonly OFF: "tide-pointer-events-none";
|
|
577
|
+
readonly ON: "tide-pointer-events";
|
|
578
|
+
};
|
|
579
|
+
readonly POSITION: {
|
|
580
|
+
readonly ABSOLUTE: "tide-position-absolute";
|
|
581
|
+
readonly FIXED: "tide-position-fixed";
|
|
582
|
+
readonly RELATIVE: "tide-position-relative";
|
|
583
|
+
readonly STATIC: "tide-position-static";
|
|
584
|
+
readonly STICKY: "tide-position-sticky";
|
|
585
|
+
};
|
|
586
|
+
readonly POSITIONING: {
|
|
587
|
+
readonly BOTTOM: "tide-bottom-0";
|
|
588
|
+
readonly LEFT: "tide-left-0";
|
|
589
|
+
readonly RIGHT: "tide-right-0";
|
|
590
|
+
readonly TOP: "tide-top-0";
|
|
591
|
+
};
|
|
592
|
+
readonly RATIO: {
|
|
593
|
+
readonly ONE_TO_ONE: "tide-ratio-1/1";
|
|
594
|
+
readonly SIXTEEN_TO_NINE: "tide-ratio-16/9";
|
|
595
|
+
readonly THREE_TO_TWO: "tide-ratio-3/2";
|
|
596
|
+
};
|
|
597
|
+
readonly SCROLLBAR: {
|
|
598
|
+
readonly OFF: "tide-scrollbar-none";
|
|
599
|
+
};
|
|
600
|
+
readonly SHADOW: {
|
|
601
|
+
readonly INITIAL: "tide-shadow-initial";
|
|
602
|
+
readonly BOTTOM: "tide-shadow-bottom";
|
|
603
|
+
readonly TOP: "tide-shadow-top";
|
|
604
|
+
readonly TEXT: "tide-shadow-text";
|
|
605
|
+
};
|
|
606
|
+
readonly SNAP: {
|
|
607
|
+
readonly ON: "tide-scroll-snap";
|
|
608
|
+
};
|
|
609
|
+
readonly SNAP_ALIGN: {
|
|
610
|
+
readonly START: "tide-scroll-snap-start";
|
|
611
|
+
};
|
|
612
|
+
readonly STRIKETHROUGH: {
|
|
613
|
+
readonly OFF: "tide-strikethrough-none";
|
|
614
|
+
readonly ON: "tide-strikethrough";
|
|
615
|
+
};
|
|
616
|
+
readonly TEXT_TRANSFORM: {
|
|
617
|
+
readonly LOWER: "tide-text-transform-lower";
|
|
618
|
+
readonly NONE: "tide-text-transform-none";
|
|
619
|
+
readonly UPPER: "tide-text-transform-upper";
|
|
620
|
+
};
|
|
621
|
+
readonly UNDERLINE: {
|
|
622
|
+
readonly HOVER: {
|
|
623
|
+
readonly ON: "tide-underline-hover";
|
|
624
|
+
readonly OFF: "tide-underline-hover-none";
|
|
625
|
+
};
|
|
626
|
+
readonly REST: {
|
|
627
|
+
readonly ON: "tide-underline";
|
|
628
|
+
readonly OFF: "tide-underline-none";
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
readonly USER_SELECT: {
|
|
632
|
+
readonly INITIAL: "tide-user-select-initial";
|
|
633
|
+
readonly NONE: "tide-user-select-none";
|
|
634
|
+
};
|
|
635
|
+
readonly VISIBILITY: {
|
|
636
|
+
readonly OFF: "tide-visible-none";
|
|
637
|
+
readonly ON: "tide-visible";
|
|
638
|
+
};
|
|
639
|
+
readonly WHITESPACE_WRAP: {
|
|
640
|
+
readonly OFF: "tide-whitespace-nowrap";
|
|
641
|
+
};
|
|
642
|
+
readonly WIDTH: {
|
|
643
|
+
readonly AUTO: "tide-width-auto";
|
|
644
|
+
readonly FULL: "tide-width-full";
|
|
645
|
+
readonly MAX_FULL: "tide-max-width-full";
|
|
646
|
+
readonly MIN_ZERO: "tide-min-width-0";
|
|
647
|
+
readonly STRETCH: "tide-width-stretch";
|
|
648
|
+
readonly ZERO: "tide-width-0";
|
|
649
|
+
};
|
|
650
|
+
readonly Z_INDEX: {
|
|
651
|
+
readonly INITIAL: "tide-z-index-initial";
|
|
652
|
+
readonly ONE: "tide-z-index-1";
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
export { CSS_2 as CSS }
|
|
656
|
+
|
|
657
|
+
export declare const CSS_REALM_LOGO_SIZE: {
|
|
658
|
+
readonly LARGE: "large";
|
|
659
|
+
readonly SMALL: "small";
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
export declare const ELEMENT: {
|
|
663
|
+
readonly BUTTON: "button";
|
|
664
|
+
readonly LINK: "a";
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
declare type Element_2 = (typeof ELEMENT)[keyof typeof ELEMENT];
|
|
668
|
+
export { Element_2 as Element }
|
|
669
|
+
|
|
670
|
+
export declare const ELEMENT_BROAD: {
|
|
671
|
+
readonly BUTTON: "button";
|
|
672
|
+
readonly DIV: "div";
|
|
673
|
+
readonly LINK: "a";
|
|
674
|
+
};
|
|
675
|
+
|
|
676
|
+
export declare type ElementBroad = (typeof ELEMENT_BROAD)[keyof typeof ELEMENT_BROAD];
|
|
677
|
+
|
|
678
|
+
declare const ERROR_DISPLAY: {
|
|
679
|
+
readonly EAGER: "eager";
|
|
680
|
+
readonly LAZY: "lazy";
|
|
681
|
+
};
|
|
682
|
+
|
|
683
|
+
declare type ErrorDisplay = (typeof ERROR_DISPLAY)[keyof typeof ERROR_DISPLAY];
|
|
684
|
+
|
|
685
|
+
export declare const FORMAT: {
|
|
686
|
+
readonly NUMBER: (input: number | string) => string;
|
|
687
|
+
readonly PHONE: (input: number | string) => string;
|
|
688
|
+
readonly PRICE: (input: number | string) => string;
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
export declare const FORMAT_REGEX: {
|
|
692
|
+
alpha: RegExp;
|
|
693
|
+
alphaNumberOrEmpty: RegExp;
|
|
694
|
+
alphaSpace: RegExp;
|
|
695
|
+
email: RegExp;
|
|
696
|
+
numberFormatted: RegExp;
|
|
697
|
+
phone: RegExp;
|
|
698
|
+
price: RegExp;
|
|
699
|
+
zip: RegExp;
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
export declare type Formatted = {
|
|
703
|
+
[key: string]: string | string[] | number;
|
|
704
|
+
};
|
|
705
|
+
|
|
706
|
+
export declare type FormValueTransformer = (value: string) => string;
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* @deprecated
|
|
710
|
+
*/
|
|
711
|
+
declare type FormValueTransformer_2 = (value: string) => string;
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* @deprecated
|
|
715
|
+
*/
|
|
716
|
+
declare interface GenericInput {
|
|
717
|
+
error?: ValidationError_2;
|
|
718
|
+
transformValue?: FormValueTransformer_2;
|
|
719
|
+
name: string;
|
|
720
|
+
validators?: Validator_2[];
|
|
721
|
+
required?: boolean;
|
|
722
|
+
label?: string;
|
|
723
|
+
disabled?: boolean;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* @deprecated
|
|
728
|
+
*/
|
|
729
|
+
declare interface GenericInput_2 {
|
|
730
|
+
disabled?: boolean;
|
|
731
|
+
error?: ValidationError_2;
|
|
732
|
+
label?: string;
|
|
733
|
+
name: string;
|
|
734
|
+
required?: boolean;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
declare type GlobalIcon = (typeof ICON)[keyof typeof ICON];
|
|
738
|
+
|
|
739
|
+
export declare const ICON: {
|
|
740
|
+
readonly ACCOUNT_BALANCE: "account-balance";
|
|
741
|
+
readonly ACUTE: "acute";
|
|
742
|
+
readonly ADD: "add";
|
|
743
|
+
readonly AI_DESCRIPTION: "ai-description";
|
|
744
|
+
readonly ALIGN_SPACE_EVEN: "align-space-even";
|
|
745
|
+
readonly APPLE_PAY: "apple-pay";
|
|
746
|
+
readonly ARROW_BACK: "arrow-back";
|
|
747
|
+
readonly ARROW_CYCLE: "arrow-cycle";
|
|
748
|
+
readonly ARROW_FORWARD: "arrow-forward";
|
|
749
|
+
readonly ARROW_RIGHT: "arrow-right";
|
|
750
|
+
readonly ARROW_UP: "arrow-up";
|
|
751
|
+
readonly ASSIGNMENT: "assignment";
|
|
752
|
+
readonly ATTACH_MONEY: "attach-money";
|
|
753
|
+
readonly AUTO_RENEW: "auto-renew";
|
|
754
|
+
readonly AWARD_STAR: "award-star";
|
|
755
|
+
readonly BED: "bed";
|
|
756
|
+
readonly BOLT: "bolt";
|
|
757
|
+
readonly BOOKMARK: "bookmark";
|
|
758
|
+
readonly BUNKHOUSE: "bunkhouse";
|
|
759
|
+
readonly CALCULATE: "calculate";
|
|
760
|
+
readonly CALENDAR_MONTH: "calendar-month";
|
|
761
|
+
readonly CALL: "call";
|
|
762
|
+
readonly CALL_QUALITY: "call-quality";
|
|
763
|
+
readonly CAR_RENTAL: "car-rental";
|
|
764
|
+
readonly CHECK: "check";
|
|
765
|
+
readonly CHEVRON_LEFT: "chevron-left";
|
|
766
|
+
readonly CHEVRON_RIGHT: "chevron-right";
|
|
767
|
+
readonly CLEAR: "clear";
|
|
768
|
+
readonly CLOSE: "close";
|
|
769
|
+
readonly CONTRACT: "contract";
|
|
770
|
+
readonly CRASH: "crash";
|
|
771
|
+
readonly DASHBOARD_CUSTOMIZE: "dashboard-customize";
|
|
772
|
+
readonly DELETE: "delete";
|
|
773
|
+
readonly DIAMOND: "diamond";
|
|
774
|
+
readonly DIRECTIONS_BOAT: "directions-boat";
|
|
775
|
+
readonly DOMAIN: "domain";
|
|
776
|
+
readonly DRAFT: "draft";
|
|
777
|
+
readonly EDIT: "edit";
|
|
778
|
+
readonly ENGINE: "engine";
|
|
779
|
+
readonly ENGINEERING: "engineering";
|
|
780
|
+
readonly ERROR: "error";
|
|
781
|
+
readonly EXPAND_CONTENT: "expand-content";
|
|
782
|
+
readonly EXPAND_LESS: "expand-less";
|
|
783
|
+
readonly EXPAND_MORE: "expand-more";
|
|
784
|
+
readonly FACEBOOK: "facebook";
|
|
785
|
+
readonly FAVORITE: "favorite";
|
|
786
|
+
readonly FAVORITE_FILLED: "favorite-filled";
|
|
787
|
+
readonly FLAG: "flag";
|
|
788
|
+
readonly FORMAT_BOLD: "format-bold";
|
|
789
|
+
readonly FORMAT_ITALIC: "format-italic";
|
|
790
|
+
readonly FORMAT_LIST_BULLETED: "format-list-bulleted";
|
|
791
|
+
readonly FORUM: "forum";
|
|
792
|
+
readonly GAS: "gas";
|
|
793
|
+
readonly GAVEL: "gavel";
|
|
794
|
+
readonly GEARS: "gears";
|
|
795
|
+
readonly GLOBE_LOCATION_PIN: "globe-location-pin";
|
|
796
|
+
readonly GOOGLE: "google";
|
|
797
|
+
readonly GOOGLE_PAY: "google-pay";
|
|
798
|
+
readonly GRID: "grid";
|
|
799
|
+
readonly HANDSHAKE: "handshake";
|
|
800
|
+
readonly HANDYMAN: "handyman";
|
|
801
|
+
readonly HEIGHT: "height";
|
|
802
|
+
readonly HELP: "help";
|
|
803
|
+
readonly INFO: "info";
|
|
804
|
+
readonly INFORMATION: "information";
|
|
805
|
+
readonly INSERT_TEXT: "insert-text";
|
|
806
|
+
readonly INSTAGRAM: "instagram";
|
|
807
|
+
readonly IOS_SHARE: "ios-share";
|
|
808
|
+
readonly LAYOUT: "layout";
|
|
809
|
+
readonly LEVELLING_JACK: "levelling-jack";
|
|
810
|
+
readonly LINKED_IN: "linked in";
|
|
811
|
+
readonly LOCAL_SHIPPING: "local-shipping";
|
|
812
|
+
readonly LOCK: "lock";
|
|
813
|
+
readonly MAIL: "mail";
|
|
814
|
+
readonly MENU: "menu";
|
|
815
|
+
readonly MONEY_BAG: "money-bag";
|
|
816
|
+
readonly MORE_HORIZ: "more-horiz";
|
|
817
|
+
readonly MOVE: "move";
|
|
818
|
+
readonly NOTIFICATIONS: "notifications";
|
|
819
|
+
readonly ODOMETER: "odometer";
|
|
820
|
+
readonly OPEN_IN_NEW: "open-in-new";
|
|
821
|
+
readonly PALETTE: "palette";
|
|
822
|
+
readonly PAYPAL: "paypal";
|
|
823
|
+
readonly PERSON: "person";
|
|
824
|
+
readonly PERSON_SEARCH: "person-search";
|
|
825
|
+
readonly PHOTO_CAMERA: "photo-camera";
|
|
826
|
+
readonly PINTEREST: "pinterest";
|
|
827
|
+
readonly PLAY_ARROW: "play-arrow";
|
|
828
|
+
readonly POLICY: "policy";
|
|
829
|
+
readonly POWER: "power";
|
|
830
|
+
readonly POWER_OFF: "power-off";
|
|
831
|
+
readonly PRIORITY_HIGH: "priority-high";
|
|
832
|
+
readonly REMOVE: "remove";
|
|
833
|
+
readonly REQUEST_QUOTE: "request-quote";
|
|
834
|
+
readonly RESET_WRENCH: "reset-wrench";
|
|
835
|
+
readonly ROAD: "road";
|
|
836
|
+
readonly ROUNDED_CORNER: "rounded-corner";
|
|
837
|
+
readonly RULER: "ruler";
|
|
838
|
+
readonly SAILING: "sailing";
|
|
839
|
+
readonly SCHOOL: "school";
|
|
840
|
+
readonly SEARCH: "search";
|
|
841
|
+
readonly SEATING: "seating";
|
|
842
|
+
readonly SELL: "sell";
|
|
843
|
+
readonly SENSORS: "sensors";
|
|
844
|
+
readonly SETTINGS: "settings";
|
|
845
|
+
readonly SHARE: "share";
|
|
846
|
+
readonly SHIELD_CHECK: "shield-check";
|
|
847
|
+
readonly SHOPPING_CART: "shopping-cart";
|
|
848
|
+
readonly SLEEPS: "sleeps";
|
|
849
|
+
readonly SMS: "sms";
|
|
850
|
+
readonly SNOWFLAKE: "snowflake";
|
|
851
|
+
readonly STAR: "star";
|
|
852
|
+
readonly STAR_FILLED: "star-filled";
|
|
853
|
+
readonly STAR_HALF: "star-half";
|
|
854
|
+
readonly SUMMARIZE: "summarize";
|
|
855
|
+
readonly SWAP_HORIZ: "swap-horiz";
|
|
856
|
+
readonly SWAP_VERT: "swap-vert";
|
|
857
|
+
readonly THREE_D_ROTATION: "three-d-rotation";
|
|
858
|
+
readonly THUMB_UP: "thumb-up";
|
|
859
|
+
readonly TRENDING_DOWN: "trending-down";
|
|
860
|
+
readonly TROPHY: "trophy";
|
|
861
|
+
readonly TUNE: "tune";
|
|
862
|
+
readonly TWITTER: "twitter";
|
|
863
|
+
readonly UMBRELLA: "umbrella";
|
|
864
|
+
readonly VERIFIED: "verified";
|
|
865
|
+
readonly VIDEOCAM: "videocam";
|
|
866
|
+
readonly VIEW_IN_AR: "view-in-ar";
|
|
867
|
+
readonly VISIBILITY: "visibility";
|
|
868
|
+
readonly VOLUME_OFF: "volume-off";
|
|
869
|
+
readonly VOLUME_ON: "volume-on";
|
|
870
|
+
readonly WAREHOUSE: "warehouse";
|
|
871
|
+
readonly WARNING: "warning";
|
|
872
|
+
readonly WATER: "water";
|
|
873
|
+
readonly WEIGHT: "weight";
|
|
874
|
+
readonly WIDTH: "width";
|
|
875
|
+
readonly WORKSPACE_PREMIUM: "workspace-premium";
|
|
876
|
+
readonly WRENCH: "wrench";
|
|
877
|
+
readonly YOUTUBE: "youtube";
|
|
878
|
+
};
|
|
879
|
+
|
|
880
|
+
export declare type Icon = GlobalIcon | RealmIcon;
|
|
881
|
+
|
|
882
|
+
export declare const ICON_REALM: {
|
|
883
|
+
readonly AERO: {
|
|
884
|
+
readonly FLIGHT: "aero-flight";
|
|
885
|
+
readonly HELICOPTER: "aero-helicopter";
|
|
886
|
+
readonly MODE_FAN: "aero-mode-fan";
|
|
887
|
+
readonly PLANE_CONTRAILS: "aero-plane-contrails";
|
|
888
|
+
};
|
|
889
|
+
readonly ATV: {
|
|
890
|
+
readonly ATV: "atv-atv";
|
|
891
|
+
readonly DUNE_BUGGY: "atv-dune-buggy";
|
|
892
|
+
readonly GOLF_CART: "atv-golf-cart";
|
|
893
|
+
readonly GO_KART: "atv-go-kart";
|
|
894
|
+
readonly SAND_RAIL: "atv-sand-rail";
|
|
895
|
+
readonly SIDE_BY_SIDE: "atv-side-by-side";
|
|
896
|
+
readonly TRAILER: "atv-trailer";
|
|
897
|
+
};
|
|
898
|
+
readonly BOATMART: {
|
|
899
|
+
readonly PWC: "boatmart-pwc";
|
|
900
|
+
readonly TRAILER: "boatmart-trailer";
|
|
901
|
+
};
|
|
902
|
+
readonly CYCLE: {
|
|
903
|
+
readonly MOTORCYCLE: "cycle-motorcycle";
|
|
904
|
+
readonly TRAILER: "cycle-trailer";
|
|
905
|
+
};
|
|
906
|
+
readonly PWC: {
|
|
907
|
+
readonly PWC: "pwc-pwc";
|
|
908
|
+
readonly SNOWMOBILE: "pwc-snowmobile";
|
|
909
|
+
readonly TRAILER: "pwc-trailer";
|
|
910
|
+
};
|
|
911
|
+
readonly RV: {
|
|
912
|
+
readonly CLASS_A: "rv-class-a";
|
|
913
|
+
readonly CLASS_B: "rv-class-b";
|
|
914
|
+
readonly CLASS_C: "rv-class-c";
|
|
915
|
+
readonly DESTINATION_TRAILER: "rv-destination-trailer";
|
|
916
|
+
readonly FIFTH_WHEEL: "rv-fifth-wheel";
|
|
917
|
+
readonly FISH_HOUSE: "rv-fish-house";
|
|
918
|
+
readonly PARK_MODEL: "rv-park-model";
|
|
919
|
+
readonly POP_UP_CAMPER: "rv-pop-up-camper";
|
|
920
|
+
readonly TEARDROP_TRAILER: "rv-teardrop-trailer";
|
|
921
|
+
readonly TRAVEL_TRAILER: "rv-travel-trailer";
|
|
922
|
+
readonly TRUCK_CAMPER: "rv-truck-camper";
|
|
923
|
+
};
|
|
924
|
+
readonly SNOW: {
|
|
925
|
+
readonly MOTORCYCLE: "snow-motorcycle";
|
|
926
|
+
readonly PWC: "snow-pwc";
|
|
927
|
+
readonly SIDE_BY_SIDE: "snow-side-by-side";
|
|
928
|
+
readonly SNOWMOBILE: "snow-snowmobile";
|
|
929
|
+
readonly TRAILER: "snow-trailer";
|
|
930
|
+
};
|
|
931
|
+
};
|
|
932
|
+
|
|
933
|
+
export declare const INPUT_MODE: {
|
|
934
|
+
readonly DECIMAL: "decimal";
|
|
935
|
+
readonly EMAIL: "email";
|
|
936
|
+
readonly NUMERIC: "numeric";
|
|
937
|
+
readonly SEARCH: "search";
|
|
938
|
+
readonly TEL: "tel";
|
|
939
|
+
readonly TEXT: "text";
|
|
940
|
+
readonly URL: "url";
|
|
941
|
+
};
|
|
942
|
+
|
|
943
|
+
export declare type InputMode = (typeof INPUT_MODE)[keyof typeof INPUT_MODE];
|
|
944
|
+
|
|
945
|
+
export declare type Link = {
|
|
946
|
+
label: string;
|
|
947
|
+
url: string;
|
|
948
|
+
isNewTab?: boolean;
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
export declare const MEDIA: {
|
|
952
|
+
SM: number;
|
|
953
|
+
MD: number;
|
|
954
|
+
LG: number;
|
|
955
|
+
XL: number;
|
|
956
|
+
};
|
|
957
|
+
|
|
958
|
+
export declare type Media = (typeof MEDIA)[keyof typeof MEDIA];
|
|
959
|
+
|
|
960
|
+
export declare const OBJECT_FIT: {
|
|
961
|
+
readonly CONTAIN: "contain";
|
|
962
|
+
readonly COVER: "cover";
|
|
963
|
+
readonly SCALE_DOWN: "scale-down";
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
export declare type ObjectFit = (typeof OBJECT_FIT)[keyof typeof OBJECT_FIT];
|
|
967
|
+
|
|
968
|
+
export declare const ORIENTATION: {
|
|
969
|
+
readonly HORIZONTAL: "horizontal";
|
|
970
|
+
readonly VERTICAL: "vertical";
|
|
971
|
+
};
|
|
972
|
+
|
|
973
|
+
export declare type Orientation = (typeof ORIENTATION)[keyof typeof ORIENTATION];
|
|
974
|
+
|
|
975
|
+
export declare const PRIORITY: {
|
|
976
|
+
readonly PRIMARY: "primary";
|
|
977
|
+
readonly SECONDARY: "secondary";
|
|
978
|
+
readonly TERTIARY: "tertiary";
|
|
979
|
+
readonly QUATERNARY: "quaternary";
|
|
980
|
+
readonly FLOATING: "floating";
|
|
981
|
+
};
|
|
982
|
+
|
|
983
|
+
export declare type Priority = (typeof PRIORITY)[keyof typeof PRIORITY];
|
|
984
|
+
|
|
985
|
+
declare interface Props extends SelectField {
|
|
986
|
+
inputId?: string;
|
|
987
|
+
supportingText?: string;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
declare type Props_2 = {
|
|
991
|
+
pageTotal: number;
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
declare type Props_3 = {
|
|
995
|
+
heading?: string;
|
|
996
|
+
links: Link[];
|
|
997
|
+
};
|
|
998
|
+
|
|
999
|
+
export declare const provideTideConfig: (config?: Partial<TideConfig>) => void;
|
|
1000
|
+
|
|
1001
|
+
export declare const REALM: {
|
|
1002
|
+
readonly AERO: "aero";
|
|
1003
|
+
readonly ATV: "atv";
|
|
1004
|
+
readonly BOATMART: "boatmart";
|
|
1005
|
+
readonly CYCLE: "cycle";
|
|
1006
|
+
readonly EQUIPMENT: "equipment";
|
|
1007
|
+
readonly PWC: "pwc";
|
|
1008
|
+
readonly RV: "rv";
|
|
1009
|
+
readonly SNOW: "snow";
|
|
1010
|
+
readonly TRUCK: "truck";
|
|
1011
|
+
};
|
|
1012
|
+
|
|
1013
|
+
export declare type Realm = (typeof REALM)[RealmKey];
|
|
1014
|
+
|
|
1015
|
+
declare type RealmIcon = {
|
|
1016
|
+
[RealmKey in RealmKeysWithIcons]: (typeof ICON_REALM)[RealmKey][keyof (typeof ICON_REALM)[RealmKey]];
|
|
1017
|
+
}[RealmKeysWithIcons];
|
|
1018
|
+
|
|
1019
|
+
declare type RealmKey = keyof typeof REALM;
|
|
1020
|
+
|
|
1021
|
+
declare type RealmKeysWithIcons = Extract<RealmKey, keyof typeof ICON_REALM>;
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* @deprecated
|
|
1025
|
+
*/
|
|
1026
|
+
declare interface SelectField extends GenericInput_2, StringValue_2 {
|
|
1027
|
+
optgroups?: (SelectOption | SelectOptionGroup)[];
|
|
1028
|
+
options?: SelectOption[];
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
export declare type SelectOption = {
|
|
1032
|
+
label: string;
|
|
1033
|
+
value?: string;
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
export declare type SelectOptionGroup = {
|
|
1037
|
+
label: string;
|
|
1038
|
+
options: SelectOption[];
|
|
1039
|
+
};
|
|
1040
|
+
|
|
1041
|
+
export declare const SIZE: {
|
|
1042
|
+
readonly LARGE: "large";
|
|
1043
|
+
readonly SMALL: "small";
|
|
1044
|
+
};
|
|
1045
|
+
|
|
1046
|
+
export declare type Size = (typeof SIZE)[keyof typeof SIZE];
|
|
1047
|
+
|
|
1048
|
+
export declare const SIZE_BUTTON: {
|
|
1049
|
+
readonly LARGE: "large";
|
|
1050
|
+
readonly SMALL: "small";
|
|
1051
|
+
};
|
|
1052
|
+
|
|
1053
|
+
export declare type SizeButton = (typeof SIZE)[keyof typeof SIZE];
|
|
1054
|
+
|
|
1055
|
+
export declare type Source = {
|
|
1056
|
+
media: Media;
|
|
1057
|
+
srcset: string;
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* @deprecated
|
|
1062
|
+
*/
|
|
1063
|
+
declare interface StringValue {
|
|
1064
|
+
value?: string;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* @deprecated
|
|
1069
|
+
*/
|
|
1070
|
+
declare interface StringValue_2 {
|
|
1071
|
+
value?: string;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
export declare type Tab = {
|
|
1075
|
+
count?: number;
|
|
1076
|
+
dataTrack?: string;
|
|
1077
|
+
label: string;
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1080
|
+
export declare const TARGET: {
|
|
1081
|
+
readonly BLANK: "_blank";
|
|
1082
|
+
readonly SELF: undefined;
|
|
1083
|
+
};
|
|
1084
|
+
|
|
1085
|
+
export declare type Target = (typeof TARGET)[keyof typeof TARGET];
|
|
1086
|
+
|
|
1087
|
+
export declare const TEXT_INPUT_TYPE: {
|
|
1088
|
+
readonly DATE: "date";
|
|
1089
|
+
readonly DATETIME_LOCAL: "datetime-local";
|
|
1090
|
+
readonly EMAIL: "email";
|
|
1091
|
+
readonly MONTH: "month";
|
|
1092
|
+
readonly NUMBER: "number";
|
|
1093
|
+
readonly PASSWORD: "password";
|
|
1094
|
+
readonly SEARCH: "search";
|
|
1095
|
+
readonly TEL: "tel";
|
|
1096
|
+
readonly TEXT: "text";
|
|
1097
|
+
readonly TIME: "time";
|
|
1098
|
+
readonly URL: "url";
|
|
1099
|
+
readonly WEEK: "week";
|
|
1100
|
+
};
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* @deprecated
|
|
1104
|
+
*/
|
|
1105
|
+
export declare type TextInput = GenericInput & StringValue & {
|
|
1106
|
+
autocomplete?: boolean;
|
|
1107
|
+
maxlength?: number;
|
|
1108
|
+
minlength?: number;
|
|
1109
|
+
type?: TextInputType;
|
|
1110
|
+
placeholder?: string;
|
|
1111
|
+
value?: string;
|
|
1112
|
+
};
|
|
1113
|
+
|
|
1114
|
+
export declare type TextInputType = (typeof TEXT_INPUT_TYPE)[keyof typeof TEXT_INPUT_TYPE];
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* Renders an accordion item intended to be used in navigation menus relating to accordion dropdowns.
|
|
1118
|
+
*
|
|
1119
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tideaccordionitem--docs) for TideAccordionItem
|
|
1120
|
+
*/
|
|
1121
|
+
export declare const TideAccordionItem: __VLS_WithTemplateSlots<DefineComponent< {
|
|
1122
|
+
modelValue: boolean;
|
|
1123
|
+
} & {
|
|
1124
|
+
/** Determines whether to disable the accordion item */
|
|
1125
|
+
disabled?: boolean;
|
|
1126
|
+
/** Determines whether to include bottom divider */
|
|
1127
|
+
hasBottomDivider?: boolean;
|
|
1128
|
+
/** Determines whether to include top divider */
|
|
1129
|
+
hasTopDivider?: boolean;
|
|
1130
|
+
/** Determines whether to show "(optional)" indicator after label */
|
|
1131
|
+
isOptional?: boolean;
|
|
1132
|
+
/** The label of the accordion item */
|
|
1133
|
+
label: string;
|
|
1134
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1135
|
+
"update:modelValue": (value: boolean) => any;
|
|
1136
|
+
}, string, PublicProps, Readonly<{
|
|
1137
|
+
modelValue: boolean;
|
|
1138
|
+
} & {
|
|
1139
|
+
/** Determines whether to disable the accordion item */
|
|
1140
|
+
disabled?: boolean;
|
|
1141
|
+
/** Determines whether to include bottom divider */
|
|
1142
|
+
hasBottomDivider?: boolean;
|
|
1143
|
+
/** Determines whether to include top divider */
|
|
1144
|
+
hasTopDivider?: boolean;
|
|
1145
|
+
/** Determines whether to show "(optional)" indicator after label */
|
|
1146
|
+
isOptional?: boolean;
|
|
1147
|
+
/** The label of the accordion item */
|
|
1148
|
+
label: string;
|
|
1149
|
+
}> & Readonly<{
|
|
1150
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1151
|
+
}>, {
|
|
1152
|
+
disabled: boolean;
|
|
1153
|
+
hasBottomDivider: boolean;
|
|
1154
|
+
hasTopDivider: boolean;
|
|
1155
|
+
isOptional: boolean;
|
|
1156
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
1157
|
+
default?(_: {}): any;
|
|
1158
|
+
}>;
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Renders an alert component with customizable content and behavior.
|
|
1162
|
+
*
|
|
1163
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidealert--docs) for TideAlert
|
|
1164
|
+
*/
|
|
1165
|
+
export declare const TideAlert: __VLS_WithTemplateSlots_2<DefineComponent< {
|
|
1166
|
+
/** Call To Action that renders as a TideLink; clicking emits a separate `click` event */
|
|
1167
|
+
ctaLabel?: string;
|
|
1168
|
+
/** Heading text */
|
|
1169
|
+
heading?: string;
|
|
1170
|
+
/** Determines whether the Alert can be closed by the user */
|
|
1171
|
+
isDismissible?: boolean;
|
|
1172
|
+
/** Determines whether the Alert is an overlay or displaces content */
|
|
1173
|
+
isToast?: boolean;
|
|
1174
|
+
/** Alert type */
|
|
1175
|
+
type?: Alert;
|
|
1176
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1177
|
+
close: () => any;
|
|
1178
|
+
ctaClick: () => any;
|
|
1179
|
+
}, string, PublicProps, Readonly<{
|
|
1180
|
+
/** Call To Action that renders as a TideLink; clicking emits a separate `click` event */
|
|
1181
|
+
ctaLabel?: string;
|
|
1182
|
+
/** Heading text */
|
|
1183
|
+
heading?: string;
|
|
1184
|
+
/** Determines whether the Alert can be closed by the user */
|
|
1185
|
+
isDismissible?: boolean;
|
|
1186
|
+
/** Determines whether the Alert is an overlay or displaces content */
|
|
1187
|
+
isToast?: boolean;
|
|
1188
|
+
/** Alert type */
|
|
1189
|
+
type?: Alert;
|
|
1190
|
+
}> & Readonly<{
|
|
1191
|
+
onClose?: (() => any) | undefined;
|
|
1192
|
+
onCtaClick?: (() => any) | undefined;
|
|
1193
|
+
}>, {
|
|
1194
|
+
type: Alert;
|
|
1195
|
+
ctaLabel: string;
|
|
1196
|
+
heading: string;
|
|
1197
|
+
isDismissible: boolean;
|
|
1198
|
+
isToast: boolean;
|
|
1199
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
1200
|
+
default?(_: {}): any;
|
|
1201
|
+
}>;
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* Renders a badge component with customizable content and behavior.
|
|
1205
|
+
*
|
|
1206
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidebadge--docs) for TideBadge
|
|
1207
|
+
*/
|
|
1208
|
+
export declare const TideBadge: DefineComponent< {
|
|
1209
|
+
/** Determines which color option to adopt (if any) */
|
|
1210
|
+
color?: BadgeColor;
|
|
1211
|
+
/** Icon to left of label */
|
|
1212
|
+
iconLeading?: Icon;
|
|
1213
|
+
/** Determines whether to display the "Floating" variant styles */
|
|
1214
|
+
isFloating?: boolean;
|
|
1215
|
+
/** Badge text */
|
|
1216
|
+
label: string;
|
|
1217
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1218
|
+
/** Determines which color option to adopt (if any) */
|
|
1219
|
+
color?: BadgeColor;
|
|
1220
|
+
/** Icon to left of label */
|
|
1221
|
+
iconLeading?: Icon;
|
|
1222
|
+
/** Determines whether to display the "Floating" variant styles */
|
|
1223
|
+
isFloating?: boolean;
|
|
1224
|
+
/** Badge text */
|
|
1225
|
+
label: string;
|
|
1226
|
+
}> & Readonly<{}>, {
|
|
1227
|
+
iconLeading: Icon;
|
|
1228
|
+
color: BadgeColor;
|
|
1229
|
+
isFloating: boolean;
|
|
1230
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* Renders a trusted partner badge component with preset years.
|
|
1234
|
+
*
|
|
1235
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidebadgetrustedpartner--docs) for TideBadgeTrustedPartner
|
|
1236
|
+
*/
|
|
1237
|
+
export declare const TideBadgeTrustedPartner: DefineComponent< {
|
|
1238
|
+
/** Number of years to display in the trusted partner badge */
|
|
1239
|
+
years?: BadgeTrustedYears;
|
|
1240
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1241
|
+
/** Number of years to display in the trusted partner badge */
|
|
1242
|
+
years?: BadgeTrustedYears;
|
|
1243
|
+
}> & Readonly<{}>, {
|
|
1244
|
+
years: BadgeTrustedYears;
|
|
1245
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Renders a badge component for indicating a verified vehicle.
|
|
1249
|
+
*
|
|
1250
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidebadgeverifiedvehicle--docs) for TideBadgeVerifiedVehicle
|
|
1251
|
+
*/
|
|
1252
|
+
export declare const TideBadgeVerifiedVehicle: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* Renders a set of breadcrumbs for navigation purposes.
|
|
1256
|
+
*
|
|
1257
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidebreadcrumbs--docs) for TideBreadCrumbs
|
|
1258
|
+
*/
|
|
1259
|
+
export declare const TideBreadCrumbs: DefineComponent< {
|
|
1260
|
+
/** An array of labels and optional URLs to display for each bread crumb. */
|
|
1261
|
+
breadCrumbs: BreadCrumb[];
|
|
1262
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1263
|
+
/** An array of labels and optional URLs to display for each bread crumb. */
|
|
1264
|
+
breadCrumbs: BreadCrumb[];
|
|
1265
|
+
}> & Readonly<{}>, {
|
|
1266
|
+
breadCrumbs: BreadCrumb[];
|
|
1267
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Renders a button component with various styling options.
|
|
1271
|
+
*
|
|
1272
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidebutton--docs) for TideButton
|
|
1273
|
+
*/
|
|
1274
|
+
export declare const TideButton: DefineComponent< {
|
|
1275
|
+
/** Determines clickability (Button only) */
|
|
1276
|
+
disabled?: boolean;
|
|
1277
|
+
/** HTML tag type */
|
|
1278
|
+
element?: Element_2;
|
|
1279
|
+
/** URL to open (Link only) */
|
|
1280
|
+
href?: string;
|
|
1281
|
+
/** Icon to left of label */
|
|
1282
|
+
iconLeading?: Icon;
|
|
1283
|
+
/** Icon to right of label */
|
|
1284
|
+
iconTrailing?: Icon;
|
|
1285
|
+
/** Determines whether to target a new browser tab (Link only) */
|
|
1286
|
+
isNewTab?: boolean;
|
|
1287
|
+
/** Button text */
|
|
1288
|
+
label: string;
|
|
1289
|
+
/** Determines visual prominence */
|
|
1290
|
+
priority?: Exclude<Priority, typeof PRIORITY.FLOATING>;
|
|
1291
|
+
/** Determines rendered size */
|
|
1292
|
+
size?: SizeButton;
|
|
1293
|
+
/** Applies type attribute to HTML element */
|
|
1294
|
+
type?: ButtonType;
|
|
1295
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1296
|
+
/** Determines clickability (Button only) */
|
|
1297
|
+
disabled?: boolean;
|
|
1298
|
+
/** HTML tag type */
|
|
1299
|
+
element?: Element_2;
|
|
1300
|
+
/** URL to open (Link only) */
|
|
1301
|
+
href?: string;
|
|
1302
|
+
/** Icon to left of label */
|
|
1303
|
+
iconLeading?: Icon;
|
|
1304
|
+
/** Icon to right of label */
|
|
1305
|
+
iconTrailing?: Icon;
|
|
1306
|
+
/** Determines whether to target a new browser tab (Link only) */
|
|
1307
|
+
isNewTab?: boolean;
|
|
1308
|
+
/** Button text */
|
|
1309
|
+
label: string;
|
|
1310
|
+
/** Determines visual prominence */
|
|
1311
|
+
priority?: Exclude<Priority, typeof PRIORITY.FLOATING>;
|
|
1312
|
+
/** Determines rendered size */
|
|
1313
|
+
size?: SizeButton;
|
|
1314
|
+
/** Applies type attribute to HTML element */
|
|
1315
|
+
type?: ButtonType;
|
|
1316
|
+
}> & Readonly<{}>, {
|
|
1317
|
+
type: ButtonType;
|
|
1318
|
+
label: string;
|
|
1319
|
+
size: SizeButton;
|
|
1320
|
+
disabled: boolean;
|
|
1321
|
+
element: Element_2;
|
|
1322
|
+
href: string;
|
|
1323
|
+
isNewTab: boolean;
|
|
1324
|
+
priority: Exclude<Priority, typeof PRIORITY.FLOATING>;
|
|
1325
|
+
iconLeading: Icon;
|
|
1326
|
+
iconTrailing: Icon;
|
|
1327
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* Renders a icon button component with various styling options.
|
|
1331
|
+
*
|
|
1332
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidebuttonicon--docs) for TideButtonIcon
|
|
1333
|
+
*/
|
|
1334
|
+
export declare const TideButtonIcon: DefineComponent< {
|
|
1335
|
+
/** Determines clickability (Button only) */
|
|
1336
|
+
disabled?: boolean;
|
|
1337
|
+
/** HTML tag type */
|
|
1338
|
+
element?: Element_2;
|
|
1339
|
+
/** URL to open (Link only) */
|
|
1340
|
+
href?: string;
|
|
1341
|
+
/** Icon to show */
|
|
1342
|
+
icon: Icon;
|
|
1343
|
+
/** Determines whether to target a new browser tab (Link only) */
|
|
1344
|
+
isNewTab?: boolean;
|
|
1345
|
+
/** Determines visual prominence */
|
|
1346
|
+
priority?: Priority;
|
|
1347
|
+
/** Applies type attribute to HTML element */
|
|
1348
|
+
type?: ButtonType;
|
|
1349
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1350
|
+
/** Determines clickability (Button only) */
|
|
1351
|
+
disabled?: boolean;
|
|
1352
|
+
/** HTML tag type */
|
|
1353
|
+
element?: Element_2;
|
|
1354
|
+
/** URL to open (Link only) */
|
|
1355
|
+
href?: string;
|
|
1356
|
+
/** Icon to show */
|
|
1357
|
+
icon: Icon;
|
|
1358
|
+
/** Determines whether to target a new browser tab (Link only) */
|
|
1359
|
+
isNewTab?: boolean;
|
|
1360
|
+
/** Determines visual prominence */
|
|
1361
|
+
priority?: Priority;
|
|
1362
|
+
/** Applies type attribute to HTML element */
|
|
1363
|
+
type?: ButtonType;
|
|
1364
|
+
}> & Readonly<{}>, {
|
|
1365
|
+
type: ButtonType;
|
|
1366
|
+
icon: Icon;
|
|
1367
|
+
disabled: boolean;
|
|
1368
|
+
element: Element_2;
|
|
1369
|
+
href: string;
|
|
1370
|
+
isNewTab: boolean;
|
|
1371
|
+
priority: Priority;
|
|
1372
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* Renders a button component for use in pagination purposes.
|
|
1376
|
+
*
|
|
1377
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidebuttonpagination--docs) for TideButtonPagination
|
|
1378
|
+
*/
|
|
1379
|
+
export declare const TideButtonPagination: DefineComponent< {
|
|
1380
|
+
/** Indicates whether Pagination Button is associated with the displayed page */
|
|
1381
|
+
disabled?: boolean;
|
|
1382
|
+
/** HTML tag type */
|
|
1383
|
+
element?: ElementBroad;
|
|
1384
|
+
/** URL to open<br />(Link only) */
|
|
1385
|
+
href?: string;
|
|
1386
|
+
/** Button text */
|
|
1387
|
+
label: string | number;
|
|
1388
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1389
|
+
/** Indicates whether Pagination Button is associated with the displayed page */
|
|
1390
|
+
disabled?: boolean;
|
|
1391
|
+
/** HTML tag type */
|
|
1392
|
+
element?: ElementBroad;
|
|
1393
|
+
/** URL to open<br />(Link only) */
|
|
1394
|
+
href?: string;
|
|
1395
|
+
/** Button text */
|
|
1396
|
+
label: string | number;
|
|
1397
|
+
}> & Readonly<{}>, {
|
|
1398
|
+
label: string | number;
|
|
1399
|
+
disabled: boolean;
|
|
1400
|
+
element: ElementBroad;
|
|
1401
|
+
href: string;
|
|
1402
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* Renders a button component for use to save items.
|
|
1406
|
+
*
|
|
1407
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidebuttonsave--docs) for TideButtonSave
|
|
1408
|
+
*/
|
|
1409
|
+
export declare const TideButtonSave: DefineComponent< {
|
|
1410
|
+
modelValue: boolean;
|
|
1411
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1412
|
+
"update:modelValue": (value: boolean) => any;
|
|
1413
|
+
}, string, PublicProps, Readonly<{
|
|
1414
|
+
modelValue: boolean;
|
|
1415
|
+
}> & Readonly<{
|
|
1416
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1417
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* Renders a segmented button component for navigation purposes.
|
|
1421
|
+
*
|
|
1422
|
+
* Powered by native input[type="radio"] under the hood for enhanced accessibility.
|
|
1423
|
+
*
|
|
1424
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidebuttonsegmented--docs) for TideButtonSegmented
|
|
1425
|
+
*/
|
|
1426
|
+
export declare const TideButtonSegmented: DefineComponent< {
|
|
1427
|
+
modelValue: number;
|
|
1428
|
+
} & {
|
|
1429
|
+
/** Sets label and callback for each tab */
|
|
1430
|
+
tabs: Tab[] | readonly Tab[];
|
|
1431
|
+
/** Opts in as a native HTML form field with this name. */
|
|
1432
|
+
name?: string;
|
|
1433
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1434
|
+
"update:modelValue": (value: number) => any;
|
|
1435
|
+
}, string, PublicProps, Readonly<{
|
|
1436
|
+
modelValue: number;
|
|
1437
|
+
} & {
|
|
1438
|
+
/** Sets label and callback for each tab */
|
|
1439
|
+
tabs: Tab[] | readonly Tab[];
|
|
1440
|
+
/** Opts in as a native HTML form field with this name. */
|
|
1441
|
+
name?: string;
|
|
1442
|
+
}> & Readonly<{
|
|
1443
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1444
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* Renders a card component with a heading, description, and optional icon.
|
|
1448
|
+
*
|
|
1449
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidecard--docs) for TideCard
|
|
1450
|
+
*/
|
|
1451
|
+
export declare const TideCard: DefineComponent< {
|
|
1452
|
+
/** Optional description text displayed below the heading */
|
|
1453
|
+
description?: string;
|
|
1454
|
+
/** The main heading of the card. */
|
|
1455
|
+
heading: string;
|
|
1456
|
+
/** Optional icon displayed on the card. */
|
|
1457
|
+
icon?: Icon;
|
|
1458
|
+
/** Determines whether the Card is selected (for selectable cards). */
|
|
1459
|
+
selected?: boolean;
|
|
1460
|
+
/** Type of the card */
|
|
1461
|
+
type?: CardType;
|
|
1462
|
+
/** URL to navigate to on click. */
|
|
1463
|
+
href?: string;
|
|
1464
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1465
|
+
/** Optional description text displayed below the heading */
|
|
1466
|
+
description?: string;
|
|
1467
|
+
/** The main heading of the card. */
|
|
1468
|
+
heading: string;
|
|
1469
|
+
/** Optional icon displayed on the card. */
|
|
1470
|
+
icon?: Icon;
|
|
1471
|
+
/** Determines whether the Card is selected (for selectable cards). */
|
|
1472
|
+
selected?: boolean;
|
|
1473
|
+
/** Type of the card */
|
|
1474
|
+
type?: CardType;
|
|
1475
|
+
/** URL to navigate to on click. */
|
|
1476
|
+
href?: string;
|
|
1477
|
+
}> & Readonly<{}>, {
|
|
1478
|
+
type: CardType;
|
|
1479
|
+
icon: Icon;
|
|
1480
|
+
href: string;
|
|
1481
|
+
description: string;
|
|
1482
|
+
selected: boolean;
|
|
1483
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* Renders a carousel component with navigation controls and slide indicators.
|
|
1487
|
+
*
|
|
1488
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidecarousel--docs) for TideCarousel
|
|
1489
|
+
*/
|
|
1490
|
+
export declare const TideCarousel: __VLS_WithTemplateSlots_3<DefineComponent< {
|
|
1491
|
+
/** Determines whether to display the indicator dots overlay<br />(Only valid with full width cards) */
|
|
1492
|
+
hasDots?: boolean;
|
|
1493
|
+
/** Determines whether to display on-page or floating carousel */
|
|
1494
|
+
isFloating?: boolean;
|
|
1495
|
+
/** Determines font role used for title display */
|
|
1496
|
+
isHeadline1?: boolean;
|
|
1497
|
+
/** Determines whether on-page buttons should be hidden until hover */
|
|
1498
|
+
isHideawayButtons?: boolean;
|
|
1499
|
+
/** Determines whether to scroll by page or by individual slide */
|
|
1500
|
+
isScrollByPage?: boolean;
|
|
1501
|
+
/** Determines the max number of indicator dots to display at a given time */
|
|
1502
|
+
maxDots?: number;
|
|
1503
|
+
/** Determines the text displayed to the right of the title */
|
|
1504
|
+
subtitle?: string;
|
|
1505
|
+
/** Determines the title text displayed above the carousel */
|
|
1506
|
+
title?: string;
|
|
1507
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1508
|
+
slidesAddedToView: (slidesInView: number[]) => any;
|
|
1509
|
+
}, string, PublicProps, Readonly<{
|
|
1510
|
+
/** Determines whether to display the indicator dots overlay<br />(Only valid with full width cards) */
|
|
1511
|
+
hasDots?: boolean;
|
|
1512
|
+
/** Determines whether to display on-page or floating carousel */
|
|
1513
|
+
isFloating?: boolean;
|
|
1514
|
+
/** Determines font role used for title display */
|
|
1515
|
+
isHeadline1?: boolean;
|
|
1516
|
+
/** Determines whether on-page buttons should be hidden until hover */
|
|
1517
|
+
isHideawayButtons?: boolean;
|
|
1518
|
+
/** Determines whether to scroll by page or by individual slide */
|
|
1519
|
+
isScrollByPage?: boolean;
|
|
1520
|
+
/** Determines the max number of indicator dots to display at a given time */
|
|
1521
|
+
maxDots?: number;
|
|
1522
|
+
/** Determines the text displayed to the right of the title */
|
|
1523
|
+
subtitle?: string;
|
|
1524
|
+
/** Determines the title text displayed above the carousel */
|
|
1525
|
+
title?: string;
|
|
1526
|
+
}> & Readonly<{
|
|
1527
|
+
onSlidesAddedToView?: ((slidesInView: number[]) => any) | undefined;
|
|
1528
|
+
}>, {
|
|
1529
|
+
title: string;
|
|
1530
|
+
isFloating: boolean;
|
|
1531
|
+
hasDots: boolean;
|
|
1532
|
+
isHeadline1: boolean;
|
|
1533
|
+
isHideawayButtons: boolean;
|
|
1534
|
+
isScrollByPage: boolean;
|
|
1535
|
+
maxDots: number;
|
|
1536
|
+
subtitle: string;
|
|
1537
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1538
|
+
carouselRef: HTMLElement;
|
|
1539
|
+
containerRef: HTMLUListElement;
|
|
1540
|
+
dotsRef: HTMLDivElement;
|
|
1541
|
+
}, HTMLElement>, {
|
|
1542
|
+
misc?(_: {}): any;
|
|
1543
|
+
default?(_: {}): any;
|
|
1544
|
+
}>;
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* Renders a chip action button intended to be used in navigation menus relating to searches.
|
|
1548
|
+
*
|
|
1549
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidechipaction--docs) for TideChipAction
|
|
1550
|
+
*/
|
|
1551
|
+
export declare const TideChipAction: DefineComponent< {
|
|
1552
|
+
/** HTML tag type. */
|
|
1553
|
+
element?: Element_2;
|
|
1554
|
+
/** URL to navigate to on click. */
|
|
1555
|
+
href?: string;
|
|
1556
|
+
/** Icon to show before the label. */
|
|
1557
|
+
iconLeading?: Icon;
|
|
1558
|
+
/** Determines whether to target a new browser tab. */
|
|
1559
|
+
isNewTab?: boolean;
|
|
1560
|
+
/** Chip text. */
|
|
1561
|
+
label: string;
|
|
1562
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1563
|
+
/** HTML tag type. */
|
|
1564
|
+
element?: Element_2;
|
|
1565
|
+
/** URL to navigate to on click. */
|
|
1566
|
+
href?: string;
|
|
1567
|
+
/** Icon to show before the label. */
|
|
1568
|
+
iconLeading?: Icon;
|
|
1569
|
+
/** Determines whether to target a new browser tab. */
|
|
1570
|
+
isNewTab?: boolean;
|
|
1571
|
+
/** Chip text. */
|
|
1572
|
+
label: string;
|
|
1573
|
+
}> & Readonly<{}>, {
|
|
1574
|
+
element: Element_2;
|
|
1575
|
+
href: string;
|
|
1576
|
+
isNewTab: boolean;
|
|
1577
|
+
iconLeading: Icon;
|
|
1578
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* Renders a chip filter component for use in navigation.
|
|
1582
|
+
*
|
|
1583
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidechipfilter--docs) for TideChipFilter
|
|
1584
|
+
*/
|
|
1585
|
+
export declare const TideChipFilter: __VLS_WithTemplateSlots_4<DefineComponent< {
|
|
1586
|
+
modelValue: boolean;
|
|
1587
|
+
} & {
|
|
1588
|
+
/** Chip text. */
|
|
1589
|
+
label: string;
|
|
1590
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1591
|
+
"update:modelValue": (value: boolean) => any;
|
|
1592
|
+
}, string, PublicProps, Readonly<{
|
|
1593
|
+
modelValue: boolean;
|
|
1594
|
+
} & {
|
|
1595
|
+
/** Chip text. */
|
|
1596
|
+
label: string;
|
|
1597
|
+
}> & Readonly<{
|
|
1598
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1599
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>, {
|
|
1600
|
+
default?(_: {}): any;
|
|
1601
|
+
}>;
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* Renders a input chip component for use in navigation.
|
|
1605
|
+
*
|
|
1606
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidechipinput--docs) for TideChipInput
|
|
1607
|
+
*/
|
|
1608
|
+
export declare const TideChipInput: DefineComponent< {
|
|
1609
|
+
/** Chip text */
|
|
1610
|
+
label: string;
|
|
1611
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1612
|
+
/** Chip text */
|
|
1613
|
+
label: string;
|
|
1614
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* Renders a columns component for use in navigation.
|
|
1618
|
+
*
|
|
1619
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidecolumns--docs) for TideColumns
|
|
1620
|
+
*/
|
|
1621
|
+
export declare const TideColumns: __VLS_WithTemplateSlots_5<DefineComponent< {
|
|
1622
|
+
/** Determines label for the columns section. */
|
|
1623
|
+
heading?: string;
|
|
1624
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1625
|
+
/** Determines label for the columns section. */
|
|
1626
|
+
heading?: string;
|
|
1627
|
+
}> & Readonly<{}>, {
|
|
1628
|
+
heading: string;
|
|
1629
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>, {
|
|
1630
|
+
section1?(_: {}): any;
|
|
1631
|
+
section2?(_: {}): any;
|
|
1632
|
+
section3?(_: {}): any;
|
|
1633
|
+
section4?(_: {}): any;
|
|
1634
|
+
}>;
|
|
1635
|
+
|
|
1636
|
+
declare type TideConfig = {
|
|
1637
|
+
linkComponent: Component | typeof ELEMENT.LINK;
|
|
1638
|
+
};
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* Renders a divider component.
|
|
1642
|
+
*
|
|
1643
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidedivider--docs) for TideDivider
|
|
1644
|
+
*/
|
|
1645
|
+
export declare const TideDivider: DefineComponent< {
|
|
1646
|
+
/** Determines whether Divider is horizontal or vertical */
|
|
1647
|
+
orientation?: Orientation;
|
|
1648
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1649
|
+
/** Determines whether Divider is horizontal or vertical */
|
|
1650
|
+
orientation?: Orientation;
|
|
1651
|
+
}> & Readonly<{}>, {
|
|
1652
|
+
orientation: Orientation;
|
|
1653
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* Renders a form component to be used to wrap form elements and handle form submission.
|
|
1657
|
+
*
|
|
1658
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tideform--docs) for TideForm
|
|
1659
|
+
*/
|
|
1660
|
+
export declare const TideForm: __VLS_WithTemplateSlots_6<DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1661
|
+
submit: (e: SubmitEvent) => any;
|
|
1662
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
1663
|
+
onSubmit?: ((e: SubmitEvent) => any) | undefined;
|
|
1664
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLFormElement>, {
|
|
1665
|
+
default?(_: {}): any;
|
|
1666
|
+
}>;
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* Renders an icon component.
|
|
1670
|
+
*
|
|
1671
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tideicon--docs) for TideIcon
|
|
1672
|
+
*/
|
|
1673
|
+
export declare const TideIcon: DefineComponent< {
|
|
1674
|
+
/** Icon */
|
|
1675
|
+
icon: Icon;
|
|
1676
|
+
/** Determines icon dimensions */
|
|
1677
|
+
size?: Size;
|
|
1678
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1679
|
+
/** Icon */
|
|
1680
|
+
icon: Icon;
|
|
1681
|
+
/** Determines icon dimensions */
|
|
1682
|
+
size?: Size;
|
|
1683
|
+
}> & Readonly<{}>, {
|
|
1684
|
+
size: Size;
|
|
1685
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* Renders an image component.
|
|
1689
|
+
*
|
|
1690
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tideimage--docs) for TideImage
|
|
1691
|
+
*/
|
|
1692
|
+
export declare const TideImage: DefineComponent< {
|
|
1693
|
+
/** Text display when image can't be loaded. */
|
|
1694
|
+
alt?: string;
|
|
1695
|
+
/** Apply a "height" attribute to the internal image tag (including unit). */
|
|
1696
|
+
height?: string;
|
|
1697
|
+
/** Determines whether to delay loading until image is in viewport. */
|
|
1698
|
+
isLazy?: boolean;
|
|
1699
|
+
/** Controls how the image scales within its box, effective only when image size differs from its intrinsic dimensions. */
|
|
1700
|
+
objectFit?: ObjectFit;
|
|
1701
|
+
/** Determines image sources by breakpoint. */
|
|
1702
|
+
sources?: Source[];
|
|
1703
|
+
/** Image URL. */
|
|
1704
|
+
src?: string;
|
|
1705
|
+
/** Apply a "width" attribute to the internal image tag (including unit). */
|
|
1706
|
+
width?: string;
|
|
1707
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1708
|
+
/** Text display when image can't be loaded. */
|
|
1709
|
+
alt?: string;
|
|
1710
|
+
/** Apply a "height" attribute to the internal image tag (including unit). */
|
|
1711
|
+
height?: string;
|
|
1712
|
+
/** Determines whether to delay loading until image is in viewport. */
|
|
1713
|
+
isLazy?: boolean;
|
|
1714
|
+
/** Controls how the image scales within its box, effective only when image size differs from its intrinsic dimensions. */
|
|
1715
|
+
objectFit?: ObjectFit;
|
|
1716
|
+
/** Determines image sources by breakpoint. */
|
|
1717
|
+
sources?: Source[];
|
|
1718
|
+
/** Image URL. */
|
|
1719
|
+
src?: string;
|
|
1720
|
+
/** Apply a "width" attribute to the internal image tag (including unit). */
|
|
1721
|
+
width?: string;
|
|
1722
|
+
}> & Readonly<{}>, {
|
|
1723
|
+
height: string;
|
|
1724
|
+
width: string;
|
|
1725
|
+
alt: string;
|
|
1726
|
+
isLazy: boolean;
|
|
1727
|
+
objectFit: ObjectFit;
|
|
1728
|
+
sources: Source[];
|
|
1729
|
+
src: string;
|
|
1730
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1731
|
+
picture: HTMLPictureElement;
|
|
1732
|
+
img: HTMLImageElement;
|
|
1733
|
+
}, HTMLPictureElement>;
|
|
1734
|
+
|
|
1735
|
+
/**
|
|
1736
|
+
* Renders an image background component.
|
|
1737
|
+
*
|
|
1738
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tideimagebackground--docs) for TideImageBackground
|
|
1739
|
+
*/
|
|
1740
|
+
export declare const TideImageBackground: __VLS_WithTemplateSlots_7<DefineComponent< {
|
|
1741
|
+
/** Text display when image can't be loaded. */
|
|
1742
|
+
alt?: string;
|
|
1743
|
+
/** Determines whether to delay loading until image is in viewport. */
|
|
1744
|
+
isLazy?: boolean;
|
|
1745
|
+
/** Determines image sources by breakpoint. */
|
|
1746
|
+
sources?: Source[];
|
|
1747
|
+
/** Image URL. */
|
|
1748
|
+
src?: string;
|
|
1749
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1750
|
+
/** Text display when image can't be loaded. */
|
|
1751
|
+
alt?: string;
|
|
1752
|
+
/** Determines whether to delay loading until image is in viewport. */
|
|
1753
|
+
isLazy?: boolean;
|
|
1754
|
+
/** Determines image sources by breakpoint. */
|
|
1755
|
+
sources?: Source[];
|
|
1756
|
+
/** Image URL. */
|
|
1757
|
+
src?: string;
|
|
1758
|
+
}> & Readonly<{}>, {
|
|
1759
|
+
alt: string;
|
|
1760
|
+
isLazy: boolean;
|
|
1761
|
+
sources: Source[];
|
|
1762
|
+
src: string;
|
|
1763
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
1764
|
+
default?(_: {}): any;
|
|
1765
|
+
}>;
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* Renders an indicator component.
|
|
1769
|
+
*
|
|
1770
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tideindicator--docs) for TideIndicator
|
|
1771
|
+
*/
|
|
1772
|
+
export declare const TideIndicator: DefineComponent< {
|
|
1773
|
+
/** Indicator text */
|
|
1774
|
+
label?: string | number;
|
|
1775
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1776
|
+
/** Indicator text */
|
|
1777
|
+
label?: string | number;
|
|
1778
|
+
}> & Readonly<{}>, {
|
|
1779
|
+
label: string | number;
|
|
1780
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* Renders an input checkbox component.
|
|
1784
|
+
*
|
|
1785
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tideinputcheckbox--docs) for TideInputCheckbox
|
|
1786
|
+
*/
|
|
1787
|
+
export declare const TideInputCheckbox: DefineComponent< {
|
|
1788
|
+
modelValue: boolean;
|
|
1789
|
+
} & {
|
|
1790
|
+
/** Determines whether Checkbox state is interactable */
|
|
1791
|
+
disabled?: boolean;
|
|
1792
|
+
/** Overrides the default error message and valid state */
|
|
1793
|
+
error?: string;
|
|
1794
|
+
/** Determines whether Checkbox is indeterminate */
|
|
1795
|
+
indeterminate?: boolean;
|
|
1796
|
+
/** Unique ID attribute (to bind Checkbox label to input) */
|
|
1797
|
+
inputId?: string;
|
|
1798
|
+
/** Label content */
|
|
1799
|
+
label: string;
|
|
1800
|
+
/** Name attribute */
|
|
1801
|
+
name?: string;
|
|
1802
|
+
/** Parenthetical response count */
|
|
1803
|
+
number?: number;
|
|
1804
|
+
/** Determines whether input is required */
|
|
1805
|
+
required?: boolean;
|
|
1806
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1807
|
+
"update:modelValue": (value: boolean) => any;
|
|
1808
|
+
} & {
|
|
1809
|
+
valid: (valid: boolean) => any;
|
|
1810
|
+
}, string, PublicProps, Readonly<{
|
|
1811
|
+
modelValue: boolean;
|
|
1812
|
+
} & {
|
|
1813
|
+
/** Determines whether Checkbox state is interactable */
|
|
1814
|
+
disabled?: boolean;
|
|
1815
|
+
/** Overrides the default error message and valid state */
|
|
1816
|
+
error?: string;
|
|
1817
|
+
/** Determines whether Checkbox is indeterminate */
|
|
1818
|
+
indeterminate?: boolean;
|
|
1819
|
+
/** Unique ID attribute (to bind Checkbox label to input) */
|
|
1820
|
+
inputId?: string;
|
|
1821
|
+
/** Label content */
|
|
1822
|
+
label: string;
|
|
1823
|
+
/** Name attribute */
|
|
1824
|
+
name?: string;
|
|
1825
|
+
/** Parenthetical response count */
|
|
1826
|
+
number?: number;
|
|
1827
|
+
/** Determines whether input is required */
|
|
1828
|
+
required?: boolean;
|
|
1829
|
+
}> & Readonly<{
|
|
1830
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1831
|
+
onValid?: ((valid: boolean) => any) | undefined;
|
|
1832
|
+
}>, {
|
|
1833
|
+
number: number;
|
|
1834
|
+
label: string;
|
|
1835
|
+
error: string;
|
|
1836
|
+
required: boolean;
|
|
1837
|
+
disabled: boolean;
|
|
1838
|
+
name: string;
|
|
1839
|
+
indeterminate: boolean;
|
|
1840
|
+
inputId: string;
|
|
1841
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1842
|
+
input: HTMLInputElement;
|
|
1843
|
+
}, HTMLDivElement>;
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* @deprecated Use `TideInputCheckbox.vue` imported from 'tide-design-system' npm package instead.
|
|
1847
|
+
*/
|
|
1848
|
+
export declare const TideInputCheckboxDeprecated: DefineComponent< {
|
|
1849
|
+
checked?: boolean;
|
|
1850
|
+
disabled?: boolean;
|
|
1851
|
+
indeterminate?: boolean;
|
|
1852
|
+
inputId?: string;
|
|
1853
|
+
label?: string;
|
|
1854
|
+
name?: string;
|
|
1855
|
+
number?: number;
|
|
1856
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1857
|
+
checked?: boolean;
|
|
1858
|
+
disabled?: boolean;
|
|
1859
|
+
indeterminate?: boolean;
|
|
1860
|
+
inputId?: string;
|
|
1861
|
+
label?: string;
|
|
1862
|
+
name?: string;
|
|
1863
|
+
number?: number;
|
|
1864
|
+
}> & Readonly<{}>, {
|
|
1865
|
+
number: number;
|
|
1866
|
+
label: string;
|
|
1867
|
+
disabled: boolean;
|
|
1868
|
+
name: string;
|
|
1869
|
+
checked: boolean;
|
|
1870
|
+
indeterminate: boolean;
|
|
1871
|
+
inputId: string;
|
|
1872
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1873
|
+
input: HTMLInputElement;
|
|
1874
|
+
}, HTMLDivElement>;
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* Renders an input radio component.
|
|
1878
|
+
*
|
|
1879
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tideinputradio--docs) for TideInputRadio
|
|
1880
|
+
*/
|
|
1881
|
+
export declare const TideInputRadio: DefineComponent< {
|
|
1882
|
+
modelValue: string;
|
|
1883
|
+
} & {
|
|
1884
|
+
/** Determines whether input is interactable */
|
|
1885
|
+
disabled?: boolean;
|
|
1886
|
+
/** Unique ID attribute (to bind input label to input) */
|
|
1887
|
+
inputId?: string;
|
|
1888
|
+
/** Label content */
|
|
1889
|
+
label: string;
|
|
1890
|
+
/** Name attribute */
|
|
1891
|
+
name: string;
|
|
1892
|
+
/** Parenthetical response count */
|
|
1893
|
+
number?: number;
|
|
1894
|
+
/** Value attribute */
|
|
1895
|
+
value: string;
|
|
1896
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1897
|
+
"update:modelValue": (value: string) => any;
|
|
1898
|
+
}, string, PublicProps, Readonly<{
|
|
1899
|
+
modelValue: string;
|
|
1900
|
+
} & {
|
|
1901
|
+
/** Determines whether input is interactable */
|
|
1902
|
+
disabled?: boolean;
|
|
1903
|
+
/** Unique ID attribute (to bind input label to input) */
|
|
1904
|
+
inputId?: string;
|
|
1905
|
+
/** Label content */
|
|
1906
|
+
label: string;
|
|
1907
|
+
/** Name attribute */
|
|
1908
|
+
name: string;
|
|
1909
|
+
/** Parenthetical response count */
|
|
1910
|
+
number?: number;
|
|
1911
|
+
/** Value attribute */
|
|
1912
|
+
value: string;
|
|
1913
|
+
}> & Readonly<{
|
|
1914
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1915
|
+
}>, {
|
|
1916
|
+
number: number;
|
|
1917
|
+
label: string;
|
|
1918
|
+
disabled: boolean;
|
|
1919
|
+
inputId: string;
|
|
1920
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
1921
|
+
|
|
1922
|
+
/**
|
|
1923
|
+
* @deprecated Use `TideInputRadio.vue` imported from 'tide-design-system' npm package instead.
|
|
1924
|
+
*/
|
|
1925
|
+
export declare const TideInputRadioDeprecated: DefineComponent< {
|
|
1926
|
+
checked?: boolean;
|
|
1927
|
+
disabled?: boolean;
|
|
1928
|
+
inputId?: string;
|
|
1929
|
+
label?: string;
|
|
1930
|
+
name?: string;
|
|
1931
|
+
number?: number;
|
|
1932
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
1933
|
+
checked?: boolean;
|
|
1934
|
+
disabled?: boolean;
|
|
1935
|
+
inputId?: string;
|
|
1936
|
+
label?: string;
|
|
1937
|
+
name?: string;
|
|
1938
|
+
number?: number;
|
|
1939
|
+
}> & Readonly<{}>, {
|
|
1940
|
+
number: number;
|
|
1941
|
+
label: string;
|
|
1942
|
+
disabled: boolean;
|
|
1943
|
+
name: string;
|
|
1944
|
+
checked: boolean;
|
|
1945
|
+
inputId: string;
|
|
1946
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* Renders a select input intended to be used in forms.
|
|
1950
|
+
*
|
|
1951
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tideinputselect--docs) for TideInputSelect
|
|
1952
|
+
*/
|
|
1953
|
+
export declare const TideInputSelect: DefineComponent< {
|
|
1954
|
+
modelValue: string;
|
|
1955
|
+
} & {
|
|
1956
|
+
/** Determines whether Select is interactable */
|
|
1957
|
+
disabled?: boolean;
|
|
1958
|
+
/** Overrides the default error message and valid state */
|
|
1959
|
+
error?: string;
|
|
1960
|
+
/** Determines whether errors display prior to blur */
|
|
1961
|
+
errorDisplay?: ErrorDisplay;
|
|
1962
|
+
/** Label content */
|
|
1963
|
+
label?: string;
|
|
1964
|
+
/** Name attribute */
|
|
1965
|
+
name?: string;
|
|
1966
|
+
/** Determines grouped values found inside Select */
|
|
1967
|
+
optgroups?: (SelectOption | SelectOptionGroup)[] | readonly (SelectOption | SelectOptionGroup)[];
|
|
1968
|
+
/** Determines ungrouped values found inside Select */
|
|
1969
|
+
options?: SelectOption[] | readonly SelectOption[];
|
|
1970
|
+
/** Prefix content */
|
|
1971
|
+
prefix?: string;
|
|
1972
|
+
/** Determines whether Select is required */
|
|
1973
|
+
required?: boolean;
|
|
1974
|
+
/** Suffix content */
|
|
1975
|
+
suffix?: string;
|
|
1976
|
+
/** Explainer text beneath input */
|
|
1977
|
+
supportingText?: string;
|
|
1978
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1979
|
+
"update:modelValue": (value: string) => any;
|
|
1980
|
+
} & {
|
|
1981
|
+
valid: (isValid: boolean) => any;
|
|
1982
|
+
}, string, PublicProps, Readonly<{
|
|
1983
|
+
modelValue: string;
|
|
1984
|
+
} & {
|
|
1985
|
+
/** Determines whether Select is interactable */
|
|
1986
|
+
disabled?: boolean;
|
|
1987
|
+
/** Overrides the default error message and valid state */
|
|
1988
|
+
error?: string;
|
|
1989
|
+
/** Determines whether errors display prior to blur */
|
|
1990
|
+
errorDisplay?: ErrorDisplay;
|
|
1991
|
+
/** Label content */
|
|
1992
|
+
label?: string;
|
|
1993
|
+
/** Name attribute */
|
|
1994
|
+
name?: string;
|
|
1995
|
+
/** Determines grouped values found inside Select */
|
|
1996
|
+
optgroups?: (SelectOption | SelectOptionGroup)[] | readonly (SelectOption | SelectOptionGroup)[];
|
|
1997
|
+
/** Determines ungrouped values found inside Select */
|
|
1998
|
+
options?: SelectOption[] | readonly SelectOption[];
|
|
1999
|
+
/** Prefix content */
|
|
2000
|
+
prefix?: string;
|
|
2001
|
+
/** Determines whether Select is required */
|
|
2002
|
+
required?: boolean;
|
|
2003
|
+
/** Suffix content */
|
|
2004
|
+
suffix?: string;
|
|
2005
|
+
/** Explainer text beneath input */
|
|
2006
|
+
supportingText?: string;
|
|
2007
|
+
}> & Readonly<{
|
|
2008
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
2009
|
+
onValid?: ((isValid: boolean) => any) | undefined;
|
|
2010
|
+
}>, {
|
|
2011
|
+
label: string;
|
|
2012
|
+
error: string;
|
|
2013
|
+
required: boolean;
|
|
2014
|
+
prefix: string;
|
|
2015
|
+
disabled: boolean;
|
|
2016
|
+
name: string;
|
|
2017
|
+
errorDisplay: ErrorDisplay;
|
|
2018
|
+
optgroups: (SelectOption | SelectOptionGroup)[] | readonly (SelectOption | SelectOptionGroup)[];
|
|
2019
|
+
options: SelectOption[] | readonly SelectOption[];
|
|
2020
|
+
suffix: string;
|
|
2021
|
+
supportingText: string;
|
|
2022
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2023
|
+
selectElement: HTMLSelectElement;
|
|
2024
|
+
}, HTMLDivElement>;
|
|
2025
|
+
|
|
2026
|
+
/**
|
|
2027
|
+
* @deprecated Use `TideInputSelect.vue` imported from 'tide-design-system' npm package instead.
|
|
2028
|
+
*/
|
|
2029
|
+
export declare const TideInputSelectDeprecated: DefineComponent<Props, {
|
|
2030
|
+
error: Ref<ValidationError_2, ValidationError_2>;
|
|
2031
|
+
value: Ref<string | undefined, string | undefined>;
|
|
2032
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
2033
|
+
label: string;
|
|
2034
|
+
error: ValidationError_2;
|
|
2035
|
+
required: boolean;
|
|
2036
|
+
disabled: boolean;
|
|
2037
|
+
value: string;
|
|
2038
|
+
inputId: string;
|
|
2039
|
+
supportingText: string;
|
|
2040
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2041
|
+
input: HTMLSelectElement;
|
|
2042
|
+
}, HTMLDivElement>;
|
|
2043
|
+
|
|
2044
|
+
/**
|
|
2045
|
+
* Renders a text input intended to be used in forms.
|
|
2046
|
+
*
|
|
2047
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tideinputtext--docs) for TideInputText
|
|
2048
|
+
*/
|
|
2049
|
+
export declare const TideInputText: DefineComponent< {
|
|
2050
|
+
modelValue: string;
|
|
2051
|
+
} & {
|
|
2052
|
+
/** Determines whether browser attempts to autocomplete */
|
|
2053
|
+
autocomplete?: boolean;
|
|
2054
|
+
/** Determines whether input is interactable */
|
|
2055
|
+
disabled?: boolean;
|
|
2056
|
+
/** Overrides the default error message and valid state */
|
|
2057
|
+
error?: string;
|
|
2058
|
+
/** Determines whether errors display prior to blur */
|
|
2059
|
+
errorDisplay?: ErrorDisplay;
|
|
2060
|
+
/** Determines whether a clear/reset button is shown for the input */
|
|
2061
|
+
hasClear?: boolean;
|
|
2062
|
+
/** Icon at left of input value */
|
|
2063
|
+
iconLeading?: Icon;
|
|
2064
|
+
/** Unique ID attribute (to bind input label to input) */
|
|
2065
|
+
inputId?: string;
|
|
2066
|
+
/** Determines the input editing features offered by the browser */
|
|
2067
|
+
inputmode?: InputMode;
|
|
2068
|
+
/** Label content */
|
|
2069
|
+
label?: string;
|
|
2070
|
+
/** Applies a maximum character count to the input */
|
|
2071
|
+
maxlength?: number;
|
|
2072
|
+
/** Applies a minimum character count to the input */
|
|
2073
|
+
minlength?: number;
|
|
2074
|
+
/** Name attribute */
|
|
2075
|
+
name?: string;
|
|
2076
|
+
/** Input prefix */
|
|
2077
|
+
prefix?: string;
|
|
2078
|
+
/** Determines whether input is required */
|
|
2079
|
+
required?: boolean;
|
|
2080
|
+
/** Input suffix (i.e. units) */
|
|
2081
|
+
suffix?: string;
|
|
2082
|
+
/** Explainer text beneath input */
|
|
2083
|
+
supportingText?: string;
|
|
2084
|
+
/** Determines text formatting applied to input value upon invoking relevant listener event(s) */
|
|
2085
|
+
transformValue?: FormValueTransformer;
|
|
2086
|
+
/** Determines the type(s) of values expected by the input */
|
|
2087
|
+
type?: TextInputType;
|
|
2088
|
+
/** Determines method(s) used to check for valid input value upon invoking relevant listener event(s) */
|
|
2089
|
+
validators?: Validator[];
|
|
2090
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2091
|
+
"update:modelValue": (value: string) => any;
|
|
2092
|
+
} & {
|
|
2093
|
+
valid: (isValid: boolean) => any;
|
|
2094
|
+
}, string, PublicProps, Readonly<{
|
|
2095
|
+
modelValue: string;
|
|
2096
|
+
} & {
|
|
2097
|
+
/** Determines whether browser attempts to autocomplete */
|
|
2098
|
+
autocomplete?: boolean;
|
|
2099
|
+
/** Determines whether input is interactable */
|
|
2100
|
+
disabled?: boolean;
|
|
2101
|
+
/** Overrides the default error message and valid state */
|
|
2102
|
+
error?: string;
|
|
2103
|
+
/** Determines whether errors display prior to blur */
|
|
2104
|
+
errorDisplay?: ErrorDisplay;
|
|
2105
|
+
/** Determines whether a clear/reset button is shown for the input */
|
|
2106
|
+
hasClear?: boolean;
|
|
2107
|
+
/** Icon at left of input value */
|
|
2108
|
+
iconLeading?: Icon;
|
|
2109
|
+
/** Unique ID attribute (to bind input label to input) */
|
|
2110
|
+
inputId?: string;
|
|
2111
|
+
/** Determines the input editing features offered by the browser */
|
|
2112
|
+
inputmode?: InputMode;
|
|
2113
|
+
/** Label content */
|
|
2114
|
+
label?: string;
|
|
2115
|
+
/** Applies a maximum character count to the input */
|
|
2116
|
+
maxlength?: number;
|
|
2117
|
+
/** Applies a minimum character count to the input */
|
|
2118
|
+
minlength?: number;
|
|
2119
|
+
/** Name attribute */
|
|
2120
|
+
name?: string;
|
|
2121
|
+
/** Input prefix */
|
|
2122
|
+
prefix?: string;
|
|
2123
|
+
/** Determines whether input is required */
|
|
2124
|
+
required?: boolean;
|
|
2125
|
+
/** Input suffix (i.e. units) */
|
|
2126
|
+
suffix?: string;
|
|
2127
|
+
/** Explainer text beneath input */
|
|
2128
|
+
supportingText?: string;
|
|
2129
|
+
/** Determines text formatting applied to input value upon invoking relevant listener event(s) */
|
|
2130
|
+
transformValue?: FormValueTransformer;
|
|
2131
|
+
/** Determines the type(s) of values expected by the input */
|
|
2132
|
+
type?: TextInputType;
|
|
2133
|
+
/** Determines method(s) used to check for valid input value upon invoking relevant listener event(s) */
|
|
2134
|
+
validators?: Validator[];
|
|
2135
|
+
}> & Readonly<{
|
|
2136
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
2137
|
+
onValid?: ((isValid: boolean) => any) | undefined;
|
|
2138
|
+
}>, {
|
|
2139
|
+
type: TextInputType;
|
|
2140
|
+
label: string;
|
|
2141
|
+
error: string;
|
|
2142
|
+
required: boolean;
|
|
2143
|
+
prefix: string;
|
|
2144
|
+
disabled: boolean;
|
|
2145
|
+
iconLeading: Icon;
|
|
2146
|
+
name: string;
|
|
2147
|
+
maxlength: number;
|
|
2148
|
+
minlength: number;
|
|
2149
|
+
validators: Validator[];
|
|
2150
|
+
inputId: string;
|
|
2151
|
+
errorDisplay: ErrorDisplay;
|
|
2152
|
+
suffix: string;
|
|
2153
|
+
supportingText: string;
|
|
2154
|
+
autocomplete: boolean;
|
|
2155
|
+
hasClear: boolean;
|
|
2156
|
+
inputmode: InputMode;
|
|
2157
|
+
transformValue: FormValueTransformer;
|
|
2158
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2159
|
+
inputElement: HTMLInputElement;
|
|
2160
|
+
}, HTMLDivElement>;
|
|
2161
|
+
|
|
2162
|
+
/**
|
|
2163
|
+
* Renders a textarea input intended to be used in forms.
|
|
2164
|
+
*
|
|
2165
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tideinputtextarea--docs) for TideInputTextarea
|
|
2166
|
+
*/
|
|
2167
|
+
export declare const TideInputTextarea: DefineComponent< {
|
|
2168
|
+
modelValue: string;
|
|
2169
|
+
} & {
|
|
2170
|
+
/** Overrides the default error message and valid state */
|
|
2171
|
+
error?: string;
|
|
2172
|
+
/** Determines whether errors display prior to blur */
|
|
2173
|
+
errorDisplay?: ErrorDisplay;
|
|
2174
|
+
/** Unique ID attribute (to bind input label to input) */
|
|
2175
|
+
inputId?: string;
|
|
2176
|
+
/** Label content */
|
|
2177
|
+
label?: string;
|
|
2178
|
+
/** Applies a maximum character count to the input */
|
|
2179
|
+
maxlength?: number | undefined;
|
|
2180
|
+
/** Applies a minimum character count to the input */
|
|
2181
|
+
minlength?: number | undefined;
|
|
2182
|
+
/** Name attribute */
|
|
2183
|
+
name?: string;
|
|
2184
|
+
/** Determines whether input is required */
|
|
2185
|
+
required?: boolean;
|
|
2186
|
+
/** Determines the height of the input */
|
|
2187
|
+
rows?: number;
|
|
2188
|
+
/** Explainer text beneath input */
|
|
2189
|
+
supportingText?: string;
|
|
2190
|
+
/** Determines method(s) used to check for valid input value upon invoking relevant listener event(s) */
|
|
2191
|
+
validators?: Validator[];
|
|
2192
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2193
|
+
"update:modelValue": (value: string) => any;
|
|
2194
|
+
} & {
|
|
2195
|
+
valid: (isValid: boolean) => any;
|
|
2196
|
+
}, string, PublicProps, Readonly<{
|
|
2197
|
+
modelValue: string;
|
|
2198
|
+
} & {
|
|
2199
|
+
/** Overrides the default error message and valid state */
|
|
2200
|
+
error?: string;
|
|
2201
|
+
/** Determines whether errors display prior to blur */
|
|
2202
|
+
errorDisplay?: ErrorDisplay;
|
|
2203
|
+
/** Unique ID attribute (to bind input label to input) */
|
|
2204
|
+
inputId?: string;
|
|
2205
|
+
/** Label content */
|
|
2206
|
+
label?: string;
|
|
2207
|
+
/** Applies a maximum character count to the input */
|
|
2208
|
+
maxlength?: number | undefined;
|
|
2209
|
+
/** Applies a minimum character count to the input */
|
|
2210
|
+
minlength?: number | undefined;
|
|
2211
|
+
/** Name attribute */
|
|
2212
|
+
name?: string;
|
|
2213
|
+
/** Determines whether input is required */
|
|
2214
|
+
required?: boolean;
|
|
2215
|
+
/** Determines the height of the input */
|
|
2216
|
+
rows?: number;
|
|
2217
|
+
/** Explainer text beneath input */
|
|
2218
|
+
supportingText?: string;
|
|
2219
|
+
/** Determines method(s) used to check for valid input value upon invoking relevant listener event(s) */
|
|
2220
|
+
validators?: Validator[];
|
|
2221
|
+
}> & Readonly<{
|
|
2222
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
2223
|
+
onValid?: ((isValid: boolean) => any) | undefined;
|
|
2224
|
+
}>, {
|
|
2225
|
+
label: string;
|
|
2226
|
+
error: string;
|
|
2227
|
+
required: boolean;
|
|
2228
|
+
name: string;
|
|
2229
|
+
maxlength: number;
|
|
2230
|
+
minlength: number;
|
|
2231
|
+
validators: Validator[];
|
|
2232
|
+
inputId: string;
|
|
2233
|
+
errorDisplay: ErrorDisplay;
|
|
2234
|
+
supportingText: string;
|
|
2235
|
+
rows: number;
|
|
2236
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2237
|
+
textareaElement: HTMLTextAreaElement;
|
|
2238
|
+
}, HTMLDivElement>;
|
|
2239
|
+
|
|
2240
|
+
/**
|
|
2241
|
+
* @deprecated Use `TideInputTextarea.vue` imported from 'tide-design-system' npm package instead.
|
|
2242
|
+
*/
|
|
2243
|
+
export declare const TideInputTextareaDeprecated: DefineComponent< {
|
|
2244
|
+
error?: ValidationError_2;
|
|
2245
|
+
inputId?: string;
|
|
2246
|
+
label?: string;
|
|
2247
|
+
maxlength?: number | undefined;
|
|
2248
|
+
minlength?: number | undefined;
|
|
2249
|
+
name?: string;
|
|
2250
|
+
required?: boolean;
|
|
2251
|
+
rows?: number;
|
|
2252
|
+
supportingText?: string;
|
|
2253
|
+
value?: string;
|
|
2254
|
+
}, {
|
|
2255
|
+
error: Ref<ValidationError_2, ValidationError_2>;
|
|
2256
|
+
required: boolean;
|
|
2257
|
+
value: Ref<string | undefined, string | undefined>;
|
|
2258
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
2259
|
+
error?: ValidationError_2;
|
|
2260
|
+
inputId?: string;
|
|
2261
|
+
label?: string;
|
|
2262
|
+
maxlength?: number | undefined;
|
|
2263
|
+
minlength?: number | undefined;
|
|
2264
|
+
name?: string;
|
|
2265
|
+
required?: boolean;
|
|
2266
|
+
rows?: number;
|
|
2267
|
+
supportingText?: string;
|
|
2268
|
+
value?: string;
|
|
2269
|
+
}> & Readonly<{}>, {
|
|
2270
|
+
label: string;
|
|
2271
|
+
error: ValidationError_2;
|
|
2272
|
+
required: boolean;
|
|
2273
|
+
name: string;
|
|
2274
|
+
value: string;
|
|
2275
|
+
maxlength: number;
|
|
2276
|
+
minlength: number;
|
|
2277
|
+
inputId: string;
|
|
2278
|
+
supportingText: string;
|
|
2279
|
+
rows: number;
|
|
2280
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2281
|
+
input: HTMLTextAreaElement;
|
|
2282
|
+
}, HTMLDivElement>;
|
|
2283
|
+
|
|
2284
|
+
/**
|
|
2285
|
+
* @deprecated Use `TideInputText.vue` imported from 'tide-design-system' npm package instead.
|
|
2286
|
+
*/
|
|
2287
|
+
export declare const TideInputTextDeprecated: DefineComponent< {
|
|
2288
|
+
autocomplete?: boolean;
|
|
2289
|
+
disabled?: boolean;
|
|
2290
|
+
error?: ValidationError_2;
|
|
2291
|
+
hasClear?: boolean;
|
|
2292
|
+
iconLeading?: Icon;
|
|
2293
|
+
inputId?: string;
|
|
2294
|
+
label?: string;
|
|
2295
|
+
maxlength?: number | undefined;
|
|
2296
|
+
minlength?: number | undefined;
|
|
2297
|
+
name?: string;
|
|
2298
|
+
prefix?: string;
|
|
2299
|
+
required?: boolean;
|
|
2300
|
+
suffix?: string;
|
|
2301
|
+
supportingText?: string;
|
|
2302
|
+
transformValue?: FormValueTransformer_2;
|
|
2303
|
+
type?: TextInputType;
|
|
2304
|
+
validators?: Validator_2[];
|
|
2305
|
+
value?: string;
|
|
2306
|
+
}, {
|
|
2307
|
+
error: Ref<ValidationError_2, ValidationError_2>;
|
|
2308
|
+
required: boolean;
|
|
2309
|
+
updateValue: (newValue: string) => void;
|
|
2310
|
+
value: Ref<string | undefined, string | undefined>;
|
|
2311
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
2312
|
+
autocomplete?: boolean;
|
|
2313
|
+
disabled?: boolean;
|
|
2314
|
+
error?: ValidationError_2;
|
|
2315
|
+
hasClear?: boolean;
|
|
2316
|
+
iconLeading?: Icon;
|
|
2317
|
+
inputId?: string;
|
|
2318
|
+
label?: string;
|
|
2319
|
+
maxlength?: number | undefined;
|
|
2320
|
+
minlength?: number | undefined;
|
|
2321
|
+
name?: string;
|
|
2322
|
+
prefix?: string;
|
|
2323
|
+
required?: boolean;
|
|
2324
|
+
suffix?: string;
|
|
2325
|
+
supportingText?: string;
|
|
2326
|
+
transformValue?: FormValueTransformer_2;
|
|
2327
|
+
type?: TextInputType;
|
|
2328
|
+
validators?: Validator_2[];
|
|
2329
|
+
value?: string;
|
|
2330
|
+
}> & Readonly<{}>, {
|
|
2331
|
+
type: TextInputType;
|
|
2332
|
+
label: string;
|
|
2333
|
+
error: ValidationError_2;
|
|
2334
|
+
required: boolean;
|
|
2335
|
+
prefix: string;
|
|
2336
|
+
disabled: boolean;
|
|
2337
|
+
iconLeading: Icon;
|
|
2338
|
+
name: string;
|
|
2339
|
+
value: string;
|
|
2340
|
+
maxlength: number;
|
|
2341
|
+
minlength: number;
|
|
2342
|
+
validators: Validator_2[];
|
|
2343
|
+
inputId: string;
|
|
2344
|
+
suffix: string;
|
|
2345
|
+
supportingText: string;
|
|
2346
|
+
autocomplete: boolean;
|
|
2347
|
+
hasClear: boolean;
|
|
2348
|
+
transformValue: FormValueTransformer_2;
|
|
2349
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2350
|
+
input: HTMLInputElement;
|
|
2351
|
+
}, HTMLDivElement>;
|
|
2352
|
+
|
|
2353
|
+
/**
|
|
2354
|
+
* Renders a link element.
|
|
2355
|
+
*
|
|
2356
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidelink--docs) for TideLink
|
|
2357
|
+
*/
|
|
2358
|
+
export declare const TideLink: DefineComponent< {
|
|
2359
|
+
/** HTML tag type */
|
|
2360
|
+
element?: Element_2;
|
|
2361
|
+
/** URL to open (Link only) */
|
|
2362
|
+
href?: string;
|
|
2363
|
+
/** Icon to left of label */
|
|
2364
|
+
iconLeading?: Icon;
|
|
2365
|
+
/** Size of the icons */
|
|
2366
|
+
iconSize?: Size;
|
|
2367
|
+
/** Icon to right of label */
|
|
2368
|
+
iconTrailing?: Icon;
|
|
2369
|
+
/** Determines whether to target a new browser tab (Link only) */
|
|
2370
|
+
isNewTab?: boolean;
|
|
2371
|
+
/** Link text */
|
|
2372
|
+
label: string;
|
|
2373
|
+
/** Hides the underline until hovered, de-emphasizing the link */
|
|
2374
|
+
subtle?: boolean;
|
|
2375
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
2376
|
+
/** HTML tag type */
|
|
2377
|
+
element?: Element_2;
|
|
2378
|
+
/** URL to open (Link only) */
|
|
2379
|
+
href?: string;
|
|
2380
|
+
/** Icon to left of label */
|
|
2381
|
+
iconLeading?: Icon;
|
|
2382
|
+
/** Size of the icons */
|
|
2383
|
+
iconSize?: Size;
|
|
2384
|
+
/** Icon to right of label */
|
|
2385
|
+
iconTrailing?: Icon;
|
|
2386
|
+
/** Determines whether to target a new browser tab (Link only) */
|
|
2387
|
+
isNewTab?: boolean;
|
|
2388
|
+
/** Link text */
|
|
2389
|
+
label: string;
|
|
2390
|
+
/** Hides the underline until hovered, de-emphasizing the link */
|
|
2391
|
+
subtle?: boolean;
|
|
2392
|
+
}> & Readonly<{}>, {
|
|
2393
|
+
label: string;
|
|
2394
|
+
element: Element_2;
|
|
2395
|
+
href: string;
|
|
2396
|
+
isNewTab: boolean;
|
|
2397
|
+
iconLeading: Icon;
|
|
2398
|
+
iconSize: Size;
|
|
2399
|
+
iconTrailing: Icon;
|
|
2400
|
+
subtle: boolean;
|
|
2401
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2402
|
+
|
|
2403
|
+
/**
|
|
2404
|
+
* Renders a generic menu item intended to be used in navigation menus or dropdowns.
|
|
2405
|
+
*
|
|
2406
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidemenuitem--docs) for TideMenuItem
|
|
2407
|
+
*/
|
|
2408
|
+
export declare const TideMenuItem: DefineComponent< {
|
|
2409
|
+
/** The element to render the root element as. */
|
|
2410
|
+
element?: Element_2;
|
|
2411
|
+
/** The href attribute to apply when the element is a link. */
|
|
2412
|
+
href?: string;
|
|
2413
|
+
/** Whether to open link in a new tab. */
|
|
2414
|
+
isNewTab?: boolean;
|
|
2415
|
+
/** Icon to show after the label. */
|
|
2416
|
+
iconTrailing?: Icon;
|
|
2417
|
+
/** The label to be displayed. */
|
|
2418
|
+
label: string;
|
|
2419
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
2420
|
+
/** The element to render the root element as. */
|
|
2421
|
+
element?: Element_2;
|
|
2422
|
+
/** The href attribute to apply when the element is a link. */
|
|
2423
|
+
href?: string;
|
|
2424
|
+
/** Whether to open link in a new tab. */
|
|
2425
|
+
isNewTab?: boolean;
|
|
2426
|
+
/** Icon to show after the label. */
|
|
2427
|
+
iconTrailing?: Icon;
|
|
2428
|
+
/** The label to be displayed. */
|
|
2429
|
+
label: string;
|
|
2430
|
+
}> & Readonly<{}>, {
|
|
2431
|
+
element: Element_2;
|
|
2432
|
+
href: string;
|
|
2433
|
+
isNewTab: boolean;
|
|
2434
|
+
iconTrailing: Icon;
|
|
2435
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2436
|
+
|
|
2437
|
+
/**
|
|
2438
|
+
* Renders a modal intended to be used for displaying additional information or options.
|
|
2439
|
+
*
|
|
2440
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidemodal--docs) for TideModal
|
|
2441
|
+
*/
|
|
2442
|
+
export declare const TideModal: __VLS_WithTemplateSlots_8<DefineComponent< {
|
|
2443
|
+
modelValue: boolean;
|
|
2444
|
+
} & {
|
|
2445
|
+
/**
|
|
2446
|
+
* Called before the modal closes.
|
|
2447
|
+
*
|
|
2448
|
+
* Return `false` to cancel the close event.
|
|
2449
|
+
*/
|
|
2450
|
+
beforeClose?: () => void | boolean | Promise<void | boolean>;
|
|
2451
|
+
/** Controls display of the back button. */
|
|
2452
|
+
isBackButton?: boolean;
|
|
2453
|
+
/** Controls whether the modal can be dismissed with a close button or other gestures. */
|
|
2454
|
+
isDismissible?: boolean;
|
|
2455
|
+
/** The title to display in the modal's header. */
|
|
2456
|
+
title?: string;
|
|
2457
|
+
/** Custom override to the modal's width constraint. Include units. */
|
|
2458
|
+
width?: string;
|
|
2459
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2460
|
+
"update:modelValue": (value: boolean) => any;
|
|
2461
|
+
} & {
|
|
2462
|
+
back: () => any;
|
|
2463
|
+
}, string, PublicProps, Readonly<{
|
|
2464
|
+
modelValue: boolean;
|
|
2465
|
+
} & {
|
|
2466
|
+
/**
|
|
2467
|
+
* Called before the modal closes.
|
|
2468
|
+
*
|
|
2469
|
+
* Return `false` to cancel the close event.
|
|
2470
|
+
*/
|
|
2471
|
+
beforeClose?: () => void | boolean | Promise<void | boolean>;
|
|
2472
|
+
/** Controls display of the back button. */
|
|
2473
|
+
isBackButton?: boolean;
|
|
2474
|
+
/** Controls whether the modal can be dismissed with a close button or other gestures. */
|
|
2475
|
+
isDismissible?: boolean;
|
|
2476
|
+
/** The title to display in the modal's header. */
|
|
2477
|
+
title?: string;
|
|
2478
|
+
/** Custom override to the modal's width constraint. Include units. */
|
|
2479
|
+
width?: string;
|
|
2480
|
+
}> & Readonly<{
|
|
2481
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2482
|
+
onBack?: (() => any) | undefined;
|
|
2483
|
+
}>, {
|
|
2484
|
+
title: string;
|
|
2485
|
+
width: string;
|
|
2486
|
+
isDismissible: boolean;
|
|
2487
|
+
beforeClose: () => void | boolean | Promise<void | boolean>;
|
|
2488
|
+
isBackButton: boolean;
|
|
2489
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2490
|
+
modalDialog: HTMLDialogElement;
|
|
2491
|
+
modalContent: HTMLDivElement;
|
|
2492
|
+
}, any>, {
|
|
2493
|
+
default?(_: {}): any;
|
|
2494
|
+
footer?(_: {}): any;
|
|
2495
|
+
}>;
|
|
2496
|
+
|
|
2497
|
+
export declare const TidePagination: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2498
|
+
"update:modelValue": (value: number) => any;
|
|
2499
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
2500
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
2501
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
2502
|
+
|
|
2503
|
+
/**
|
|
2504
|
+
* Renders a popover intended to be used for displaying additional information.
|
|
2505
|
+
*
|
|
2506
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidepopover--docs) for TidePopover
|
|
2507
|
+
*/
|
|
2508
|
+
export declare const TidePopover: __VLS_WithTemplateSlots_9<DefineComponent< {
|
|
2509
|
+
/** Determines the HTML node over which the Popover will appear */
|
|
2510
|
+
anchorId: string;
|
|
2511
|
+
/** Determines spacing between Popover and anchor node */
|
|
2512
|
+
offset?: number;
|
|
2513
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
2514
|
+
/** Determines the HTML node over which the Popover will appear */
|
|
2515
|
+
anchorId: string;
|
|
2516
|
+
/** Determines spacing between Popover and anchor node */
|
|
2517
|
+
offset?: number;
|
|
2518
|
+
}> & Readonly<{}>, {
|
|
2519
|
+
offset: number;
|
|
2520
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2521
|
+
floating: HTMLDivElement;
|
|
2522
|
+
}, any>, {
|
|
2523
|
+
default?(_: {}): any;
|
|
2524
|
+
}>;
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* Renders a rating component intended to be used for displaying and selecting a rating.
|
|
2528
|
+
*
|
|
2529
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tiderating--docs) for TideRating
|
|
2530
|
+
*/
|
|
2531
|
+
export declare const TideRating: DefineComponent< {
|
|
2532
|
+
modelValue: number;
|
|
2533
|
+
} & {
|
|
2534
|
+
/** Determines the text displayed below the title */
|
|
2535
|
+
description?: string;
|
|
2536
|
+
/** Maximum rating value / Number of segments */
|
|
2537
|
+
maxRating?: number;
|
|
2538
|
+
/** Determines whether to display the current rating value */
|
|
2539
|
+
showRating?: boolean;
|
|
2540
|
+
/** Determines the title text displayed above the rating component */
|
|
2541
|
+
title?: string;
|
|
2542
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2543
|
+
"update:modelValue": (value: number) => any;
|
|
2544
|
+
}, string, PublicProps, Readonly<{
|
|
2545
|
+
modelValue: number;
|
|
2546
|
+
} & {
|
|
2547
|
+
/** Determines the text displayed below the title */
|
|
2548
|
+
description?: string;
|
|
2549
|
+
/** Maximum rating value / Number of segments */
|
|
2550
|
+
maxRating?: number;
|
|
2551
|
+
/** Determines whether to display the current rating value */
|
|
2552
|
+
showRating?: boolean;
|
|
2553
|
+
/** Determines the title text displayed above the rating component */
|
|
2554
|
+
title?: string;
|
|
2555
|
+
}> & Readonly<{
|
|
2556
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
2557
|
+
}>, {
|
|
2558
|
+
title: string;
|
|
2559
|
+
description: string;
|
|
2560
|
+
maxRating: number;
|
|
2561
|
+
showRating: boolean;
|
|
2562
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2563
|
+
|
|
2564
|
+
/**
|
|
2565
|
+
* Renders a realm logo component intended to be used for displaying a realm's logo.
|
|
2566
|
+
*
|
|
2567
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tiderealmlogo--docs) for TideRealmLogo
|
|
2568
|
+
*/
|
|
2569
|
+
export declare const TideRealmLogo: DefineComponent< {
|
|
2570
|
+
/** Determines whether to include text in the logo */
|
|
2571
|
+
markOnly?: boolean;
|
|
2572
|
+
/** Sets the realm for this logo instance */
|
|
2573
|
+
realm: Realm;
|
|
2574
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
2575
|
+
/** Determines whether to include text in the logo */
|
|
2576
|
+
markOnly?: boolean;
|
|
2577
|
+
/** Sets the realm for this logo instance */
|
|
2578
|
+
realm: Realm;
|
|
2579
|
+
}> & Readonly<{}>, {
|
|
2580
|
+
markOnly: boolean;
|
|
2581
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2582
|
+
|
|
2583
|
+
export declare const TideSeoLinks: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_3> & Readonly<{}>, {
|
|
2584
|
+
heading: string;
|
|
2585
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
2586
|
+
|
|
2587
|
+
/**
|
|
2588
|
+
* Renders a sheet component intended to be used for displaying content in a modal-like menu overlay on the right side of the screen.
|
|
2589
|
+
*
|
|
2590
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidesheet--docs) for TideSheet
|
|
2591
|
+
*/
|
|
2592
|
+
export declare const TideSheet: __VLS_WithTemplateSlots_10<DefineComponent< {
|
|
2593
|
+
modelValue: boolean;
|
|
2594
|
+
} & {
|
|
2595
|
+
/** Controls display of the back button. */
|
|
2596
|
+
isBackButton?: boolean;
|
|
2597
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2598
|
+
"update:modelValue": (value: boolean) => any;
|
|
2599
|
+
} & {
|
|
2600
|
+
back: () => any;
|
|
2601
|
+
}, string, PublicProps, Readonly<{
|
|
2602
|
+
modelValue: boolean;
|
|
2603
|
+
} & {
|
|
2604
|
+
/** Controls display of the back button. */
|
|
2605
|
+
isBackButton?: boolean;
|
|
2606
|
+
}> & Readonly<{
|
|
2607
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2608
|
+
onBack?: (() => any) | undefined;
|
|
2609
|
+
}>, {
|
|
2610
|
+
isBackButton: boolean;
|
|
2611
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2612
|
+
dialogElement: HTMLDialogElement;
|
|
2613
|
+
}, any>, {
|
|
2614
|
+
default?(_: {}): any;
|
|
2615
|
+
}>;
|
|
2616
|
+
|
|
2617
|
+
/**
|
|
2618
|
+
* Renders a switch component intended to be used for toggling a boolean value.
|
|
2619
|
+
*
|
|
2620
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tideswitch--docs) for TideSwitch
|
|
2621
|
+
*/
|
|
2622
|
+
export declare const TideSwitch: DefineComponent< {
|
|
2623
|
+
modelValue: boolean;
|
|
2624
|
+
} & {
|
|
2625
|
+
/** Determines clickability */
|
|
2626
|
+
disabled?: boolean;
|
|
2627
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2628
|
+
"update:modelValue": (value: boolean) => any;
|
|
2629
|
+
}, string, PublicProps, Readonly<{
|
|
2630
|
+
modelValue: boolean;
|
|
2631
|
+
} & {
|
|
2632
|
+
/** Determines clickability */
|
|
2633
|
+
disabled?: boolean;
|
|
2634
|
+
}> & Readonly<{
|
|
2635
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2636
|
+
}>, {
|
|
2637
|
+
disabled: boolean;
|
|
2638
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2639
|
+
|
|
2640
|
+
/**
|
|
2641
|
+
* Renders a tabs component intended to be used for navigation.
|
|
2642
|
+
*
|
|
2643
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidetabs--docs) for TideTabs
|
|
2644
|
+
*/
|
|
2645
|
+
export declare const TideTabs: DefineComponent< {
|
|
2646
|
+
modelValue: number;
|
|
2647
|
+
} & {
|
|
2648
|
+
/** Sets labels and callback for each tab */
|
|
2649
|
+
tabs: Tab[];
|
|
2650
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2651
|
+
"update:modelValue": (value: number) => any;
|
|
2652
|
+
}, string, PublicProps, Readonly<{
|
|
2653
|
+
modelValue: number;
|
|
2654
|
+
} & {
|
|
2655
|
+
/** Sets labels and callback for each tab */
|
|
2656
|
+
tabs: Tab[];
|
|
2657
|
+
}> & Readonly<{
|
|
2658
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
2659
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2660
|
+
|
|
2661
|
+
declare type TideToast = {
|
|
2662
|
+
description?: string;
|
|
2663
|
+
heading: string;
|
|
2664
|
+
id: string;
|
|
2665
|
+
action?: {
|
|
2666
|
+
callback: () => void;
|
|
2667
|
+
label: string;
|
|
2668
|
+
};
|
|
2669
|
+
};
|
|
2670
|
+
|
|
2671
|
+
/**
|
|
2672
|
+
* Renders a toaster component intended to be used for displaying notifications.
|
|
2673
|
+
*
|
|
2674
|
+
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidetoaster--docs) for TideToaster
|
|
2675
|
+
*/
|
|
2676
|
+
export declare const TideToaster: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2677
|
+
|
|
2678
|
+
declare type TideToaster_2 = {
|
|
2679
|
+
addToast: (toast: TideToastOmitId) => void;
|
|
2680
|
+
cancelAutoDismiss: () => void;
|
|
2681
|
+
clearToasts: () => void;
|
|
2682
|
+
startAutoDismiss: () => void;
|
|
2683
|
+
toasts: Ref<readonly TideToast[]>;
|
|
2684
|
+
};
|
|
2685
|
+
|
|
2686
|
+
declare type TideToastOmitId = Omit<TideToast, 'id'>;
|
|
2687
|
+
|
|
2688
|
+
export declare const TYPE_CARD: {
|
|
2689
|
+
readonly ACTIONABLE: "action";
|
|
2690
|
+
readonly INFORMATIONAL: "informational";
|
|
2691
|
+
readonly SELECTABLE: "select";
|
|
2692
|
+
};
|
|
2693
|
+
|
|
2694
|
+
export declare const useTideForm: () => {
|
|
2695
|
+
revealValidationErrors: () => void;
|
|
2696
|
+
};
|
|
2697
|
+
|
|
2698
|
+
export declare const useTideToaster: () => TideToaster_2;
|
|
2699
|
+
|
|
2700
|
+
export declare type ValidationError = string | boolean;
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* @deprecated
|
|
2704
|
+
*/
|
|
2705
|
+
declare type ValidationError_2 = string | boolean;
|
|
2706
|
+
|
|
2707
|
+
export declare type ValidationLength = {
|
|
2708
|
+
maxlength?: number;
|
|
2709
|
+
minlength?: number;
|
|
2710
|
+
required: boolean;
|
|
2711
|
+
value: string;
|
|
2712
|
+
};
|
|
2713
|
+
|
|
2714
|
+
export declare type ValidationResult = {
|
|
2715
|
+
message: string;
|
|
2716
|
+
valid: boolean;
|
|
2717
|
+
};
|
|
2718
|
+
|
|
2719
|
+
/**
|
|
2720
|
+
* @deprecated
|
|
2721
|
+
*/
|
|
2722
|
+
declare type ValidationResult_2 = {
|
|
2723
|
+
message: string;
|
|
2724
|
+
valid: boolean;
|
|
2725
|
+
};
|
|
2726
|
+
|
|
2727
|
+
export declare const VALIDATOR: {
|
|
2728
|
+
readonly ALPHA_NUMBER_EMPTY: (value: string) => ValidationResult;
|
|
2729
|
+
readonly ALPHA_SPACE: (value: string) => ValidationResult;
|
|
2730
|
+
readonly EMAIL: (value: string) => ValidationResult;
|
|
2731
|
+
readonly NUMBER: (value: string) => ValidationResult;
|
|
2732
|
+
readonly PHONE: (value: string) => ValidationResult;
|
|
2733
|
+
readonly ZIP: (value: string) => ValidationResult;
|
|
2734
|
+
};
|
|
2735
|
+
|
|
2736
|
+
export declare type Validator = (value: string) => ValidationResult;
|
|
2737
|
+
|
|
2738
|
+
/**
|
|
2739
|
+
* @deprecated
|
|
2740
|
+
*/
|
|
2741
|
+
declare type Validator_2 = (value: string) => ValidationResult_2;
|
|
2742
|
+
|
|
1
2743
|
export { }
|