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,87 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
/**
|
|
3
|
-
* Renders a button component for use in pagination purposes.
|
|
4
|
-
*
|
|
5
|
-
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidebuttonpagination--docs) for TideButtonPagination
|
|
6
|
-
*/
|
|
7
|
-
export default {};
|
|
8
|
-
</script>
|
|
9
|
-
|
|
10
|
-
<script lang="ts" setup>
|
|
11
|
-
import { computed } from 'vue';
|
|
12
|
-
|
|
13
|
-
import InternalBaseLink from '@/components/InternalBaseLink.vue';
|
|
14
|
-
import { ELEMENT, ELEMENT_BROAD } from '@/types/Element';
|
|
15
|
-
import { CSS } from '@/types/Styles';
|
|
16
|
-
|
|
17
|
-
import type { ElementBroad } from '@/types/Element';
|
|
18
|
-
|
|
19
|
-
type Props = {
|
|
20
|
-
/** Indicates whether Pagination Button is associated with the displayed page */
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
|
|
23
|
-
/** HTML tag type */
|
|
24
|
-
element?: ElementBroad;
|
|
25
|
-
|
|
26
|
-
/** URL to open<br />(Link only) */
|
|
27
|
-
href?: string;
|
|
28
|
-
|
|
29
|
-
/** Button text */
|
|
30
|
-
label: string | number;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
34
|
-
disabled: false,
|
|
35
|
-
element: ELEMENT_BROAD.BUTTON,
|
|
36
|
-
href: undefined,
|
|
37
|
-
label: undefined,
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
const rootElement = computed(() => (props.element === ELEMENT.LINK ? InternalBaseLink : props.element));
|
|
41
|
-
</script>
|
|
42
|
-
|
|
43
|
-
<template>
|
|
44
|
-
<component
|
|
45
|
-
:class="[
|
|
46
|
-
'tide-button-icon',
|
|
47
|
-
[CSS.DISPLAY.INLINE_BLOCK, CSS.BORDER.RADIUS.FULL, CSS.PADDING.FULL.HALF],
|
|
48
|
-
props.element === ELEMENT_BROAD.LINK ? [CSS.UNDERLINE.REST.OFF] : '',
|
|
49
|
-
props.element === ELEMENT_BROAD.DIV ? [CSS.CURSOR.POINTER] : '',
|
|
50
|
-
[CSS.FONT.ROLE.HEADLINE_3],
|
|
51
|
-
]"
|
|
52
|
-
:disabled="props.element === ELEMENT_BROAD.BUTTON && props.disabled"
|
|
53
|
-
:href="props.element === ELEMENT_BROAD.LINK && props.href ? props.href : undefined"
|
|
54
|
-
:type="element === ELEMENT_BROAD.BUTTON ? ELEMENT_BROAD.BUTTON : undefined"
|
|
55
|
-
:is="rootElement"
|
|
56
|
-
>
|
|
57
|
-
<span :class="['label', CSS.DISPLAY.FLEX, CSS.AXIS1.CENTER, CSS.AXIS2.CENTER]">
|
|
58
|
-
{{ props.label }}
|
|
59
|
-
</span>
|
|
60
|
-
</component>
|
|
61
|
-
</template>
|
|
62
|
-
|
|
63
|
-
<style scoped>
|
|
64
|
-
.tide-button-icon,
|
|
65
|
-
.tide-link-as-button-icon {
|
|
66
|
-
border: 1px solid var(--tide-white);
|
|
67
|
-
background: var(--tide-white);
|
|
68
|
-
color: var(--tide-secondary);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.tide-button-icon:not(:disabled):hover,
|
|
72
|
-
.tide-link-as-button-icon:not(:disabled):hover {
|
|
73
|
-
border: 1px solid var(--tide-surface-variant);
|
|
74
|
-
background: var(--tide-surface-variant);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.tide-button-icon:disabled,
|
|
78
|
-
.tide-link-as-button-icon:disabled {
|
|
79
|
-
border: 1px solid var(--tide-border-high);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.tide-button-icon .label,
|
|
83
|
-
.tide-link-as-button-icon .label {
|
|
84
|
-
width: 1.5rem;
|
|
85
|
-
height: 1.5rem;
|
|
86
|
-
}
|
|
87
|
-
</style>
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
/**
|
|
3
|
-
* Renders a button component for use to save items.
|
|
4
|
-
*
|
|
5
|
-
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidebuttonsave--docs) for TideButtonSave
|
|
6
|
-
*/
|
|
7
|
-
export default {};
|
|
8
|
-
</script>
|
|
9
|
-
|
|
10
|
-
<script setup lang="ts">
|
|
11
|
-
import { ref, watch } from 'vue';
|
|
12
|
-
|
|
13
|
-
import { CSS } from '@/types/Styles';
|
|
14
|
-
|
|
15
|
-
const isTouched = ref(false);
|
|
16
|
-
const isSaved = defineModel<boolean>({ required: true });
|
|
17
|
-
|
|
18
|
-
watch(
|
|
19
|
-
isSaved,
|
|
20
|
-
() => {
|
|
21
|
-
if (!isTouched.value) isTouched.value = true;
|
|
22
|
-
},
|
|
23
|
-
{ immediate: false }
|
|
24
|
-
);
|
|
25
|
-
</script>
|
|
26
|
-
|
|
27
|
-
<template>
|
|
28
|
-
<button
|
|
29
|
-
:class="['tide-button-save', CSS.PADDING.FULL.QUARTER, isSaved && 'saved']"
|
|
30
|
-
@click="isSaved = !isSaved"
|
|
31
|
-
type="button"
|
|
32
|
-
>
|
|
33
|
-
<div :class="['heart-container', CSS.DISPLAY.FLEX, isSaved && isTouched && 'animate-heartbeat']">
|
|
34
|
-
<svg
|
|
35
|
-
:class="['tide-button-save-icon', CSS.FLEX.GROW.OFF, CSS.FLEX.SHRINK.OFF]"
|
|
36
|
-
height="32"
|
|
37
|
-
viewBox="0 0 24 24"
|
|
38
|
-
width="32"
|
|
39
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
40
|
-
>
|
|
41
|
-
<path
|
|
42
|
-
:class="['heart-filled', isSaved ? CSS.FONT.COLOR.GLOBAL.PRIMARY.RED : 'filled-transparent']"
|
|
43
|
-
d="m12 21-1.45-1.3c-1.6833-1.5167-3.075-2.825-4.175-3.925-1.1-1.1-1.975-2.0875-2.625-2.9625-.65-.875-1.1042-1.6792-1.3625-2.4125C2.1292 9.6667 2 8.9167 2 8.15c0-1.5667.525-2.875 1.575-3.925C4.625 3.175 5.9333 2.65 7.5 2.65c.8667 0 1.6917.1833 2.475.55.7833.3667 1.4583.8833 2.025 1.55.5667-.6667 1.2417-1.1833 2.025-1.55.7833-.3667 1.6083-.55 2.475-.55 1.5667 0 2.875.525 3.925 1.575C21.475 5.275 22 6.5833 22 8.15c0 .7667-.1292 1.5167-.3875 2.25-.2583.7333-.7125 1.5375-1.3625 2.4125s-1.525 1.8625-2.625 2.9625c-1.1 1.1-2.4917 2.4083-4.175 3.925L12 21Z"
|
|
44
|
-
/>
|
|
45
|
-
|
|
46
|
-
<path
|
|
47
|
-
:class="['heart-outline', CSS.FONT.COLOR.SURFACE.INVERSE]"
|
|
48
|
-
d="m12 21-1.45-1.3c-1.6833-1.5167-3.075-2.825-4.175-3.925-1.1-1.1-1.975-2.0875-2.625-2.9625-.65-.875-1.1042-1.6792-1.3625-2.4125C2.1292 9.6667 2 8.9167 2 8.15c0-1.5667.525-2.875 1.575-3.925C4.625 3.175 5.9333 2.65 7.5 2.65c.8667 0 1.6917.1833 2.475.55.7833.3667 1.4583.8833 2.025 1.55.5667-.6667 1.2417-1.1833 2.025-1.55.7833-.3667 1.6083-.55 2.475-.55 1.5667 0 2.875.525 3.925 1.575C21.475 5.275 22 6.5833 22 8.15c0 .7667-.1292 1.5167-.3875 2.25-.2583.7333-.7125 1.5375-1.3625 2.4125s-1.525 1.8625-2.625 2.9625c-1.1 1.1-2.4917 2.4083-4.175 3.925L12 21Zm0-2.7c1.6-1.4333 2.9167-2.6625 3.95-3.6875s1.85-1.9167 2.45-2.675c.6-.7583 1.0167-1.4333 1.25-2.025.2333-.5917.35-1.1792.35-1.7625 0-1-.3333-1.8333-1-2.5-.6667-.6667-1.5-1-2.5-1-.7833 0-1.5083.2208-2.175.6625C13.6583 5.7542 13.2 6.3167 12.95 7h-1.9c-.25-.6833-.7083-1.2458-1.375-1.6875S8.2833 4.65 7.5 4.65c-1 0-1.8333.3333-2.5 1-.6667.6667-1 1.5-1 2.5 0 .5833.1167 1.1708.35 1.7625.2333.5917.65 1.2667 1.25 2.025s1.4167 1.65 2.45 2.675S10.4 16.8667 12 18.3Z"
|
|
49
|
-
/>
|
|
50
|
-
</svg>
|
|
51
|
-
</div>
|
|
52
|
-
</button>
|
|
53
|
-
</template>
|
|
54
|
-
|
|
55
|
-
<style scoped>
|
|
56
|
-
.heart-container {
|
|
57
|
-
--rotate-during-heart-beat: 9deg;
|
|
58
|
-
filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.3));
|
|
59
|
-
transition: var(--tide-duration-300) var(--tide-easing-ease-out);
|
|
60
|
-
transition-property: transform, scale;
|
|
61
|
-
rotate: 0deg;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.heart-container.animate-heartbeat {
|
|
65
|
-
animation: heartBeat var(--tide-duration-150);
|
|
66
|
-
animation-direction: alternate;
|
|
67
|
-
animation-iteration-count: 4;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.heart-container:active {
|
|
71
|
-
scale: 0.9;
|
|
72
|
-
transition-duration: var(--tide-duration-75);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.tide-button-save-icon {
|
|
76
|
-
fill: currentColor;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@media (hover: hover) {
|
|
80
|
-
.heart-container {
|
|
81
|
-
--rotate-during-heart-beat: 0deg;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.tide-button-save:where(:hover, :focus-visible) .heart-container {
|
|
85
|
-
transform: rotate(9deg);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.heart-filled {
|
|
90
|
-
scale: 0.985; /* avoid hairline border render issue */
|
|
91
|
-
transform-origin: center;
|
|
92
|
-
transition: color var(--tide-duration-75) var(--tide-easing-linear);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.filled-transparent {
|
|
96
|
-
color: var(--tide-transparent-400);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@keyframes heartBeat {
|
|
100
|
-
from {
|
|
101
|
-
scale: 1;
|
|
102
|
-
rotate: 0deg;
|
|
103
|
-
}
|
|
104
|
-
to {
|
|
105
|
-
scale: 1.25;
|
|
106
|
-
rotate: var(--rotate-during-heart-beat);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
</style>
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
/**
|
|
3
|
-
* Renders a segmented button component for navigation purposes.
|
|
4
|
-
*
|
|
5
|
-
* Powered by native input[type="radio"] under the hood for enhanced accessibility.
|
|
6
|
-
*
|
|
7
|
-
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidebuttonsegmented--docs) for TideButtonSegmented
|
|
8
|
-
*/
|
|
9
|
-
export default {};
|
|
10
|
-
</script>
|
|
11
|
-
|
|
12
|
-
<script lang="ts" setup>
|
|
13
|
-
import { computed, useId } from 'vue';
|
|
14
|
-
|
|
15
|
-
import { CSS } from '@/types/Styles';
|
|
16
|
-
|
|
17
|
-
import type { Tab } from '@/types/Tab';
|
|
18
|
-
|
|
19
|
-
type Props = {
|
|
20
|
-
/** Sets label and callback for each tab */
|
|
21
|
-
tabs: Tab[] | readonly Tab[];
|
|
22
|
-
|
|
23
|
-
/** Opts in as a native HTML form field with this name. */
|
|
24
|
-
name?: string;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
const props = defineProps<Props>();
|
|
28
|
-
|
|
29
|
-
const currentIndex = defineModel<number>({ required: true });
|
|
30
|
-
|
|
31
|
-
const uniqueId = useId();
|
|
32
|
-
|
|
33
|
-
const inputFormAttribute = computed(() => (props.name ? undefined : 'none'));
|
|
34
|
-
const inputNameAttribute = computed(() => props.name ?? uniqueId);
|
|
35
|
-
</script>
|
|
36
|
-
|
|
37
|
-
<template>
|
|
38
|
-
<div
|
|
39
|
-
:class="[
|
|
40
|
-
'tide-button-segmented',
|
|
41
|
-
CSS.BG.SURFACE.VARIANT,
|
|
42
|
-
CSS.BORDER.RADIUS.FULL,
|
|
43
|
-
CSS.DISPLAY.FLEX,
|
|
44
|
-
CSS.FLEX.SHRINK.OFF,
|
|
45
|
-
CSS.GAP.QUARTER,
|
|
46
|
-
CSS.OVERFLOW.XY.AUTO,
|
|
47
|
-
CSS.PADDING.FULL.QUARTER,
|
|
48
|
-
]"
|
|
49
|
-
role="radiogroup"
|
|
50
|
-
>
|
|
51
|
-
<label
|
|
52
|
-
:class="[
|
|
53
|
-
'tide-button-segmented-tab',
|
|
54
|
-
index === currentIndex
|
|
55
|
-
? [CSS.BG.SURFACE.DEFAULT, CSS.FONT.COLOR.SURFACE.DEFAULT, CSS.SHADOW.BOTTOM]
|
|
56
|
-
: ['inactive', CSS.FONT.COLOR.SURFACE.VARIANT],
|
|
57
|
-
CSS.ALIGN.X.CENTER,
|
|
58
|
-
CSS.BORDER.FULL.TWO,
|
|
59
|
-
CSS.BORDER.RADIUS.FULL,
|
|
60
|
-
CSS.CURSOR.POINTER,
|
|
61
|
-
CSS.FLEX.GROW.ON,
|
|
62
|
-
CSS.FLEX.SHRINK.OFF,
|
|
63
|
-
CSS.FONT.ROLE.BUTTON_1,
|
|
64
|
-
CSS.PADDING.X.HALF,
|
|
65
|
-
CSS.PADDING.Y.QUARTER,
|
|
66
|
-
CSS.WHITESPACE_WRAP.OFF,
|
|
67
|
-
CSS.WIDTH.AUTO,
|
|
68
|
-
]"
|
|
69
|
-
:data-track="tab.dataTrack || undefined"
|
|
70
|
-
:key="tab.label"
|
|
71
|
-
v-for="(tab, index) in tabs"
|
|
72
|
-
>
|
|
73
|
-
<input
|
|
74
|
-
:checked="index === currentIndex"
|
|
75
|
-
:class="['tide-screen-reader-only']"
|
|
76
|
-
:form="inputFormAttribute"
|
|
77
|
-
:name="inputNameAttribute"
|
|
78
|
-
:value="index"
|
|
79
|
-
@change="currentIndex = index"
|
|
80
|
-
type="radio"
|
|
81
|
-
/>
|
|
82
|
-
|
|
83
|
-
<span :class="[CSS.FONT.ROLE.LABEL_2_SEMIBOLD]">
|
|
84
|
-
{{ tab.label }}
|
|
85
|
-
</span>
|
|
86
|
-
|
|
87
|
-
<span
|
|
88
|
-
:class="[CSS.FONT.ROLE.LABEL_2_SEMIBOLD]"
|
|
89
|
-
v-if="tab.count && tab.count > 0"
|
|
90
|
-
>
|
|
91
|
-
({{ tab.count }})
|
|
92
|
-
</span>
|
|
93
|
-
</label>
|
|
94
|
-
</div>
|
|
95
|
-
</template>
|
|
96
|
-
|
|
97
|
-
<style scoped>
|
|
98
|
-
.tide-button-segmented {
|
|
99
|
-
max-width: 23.3rem;
|
|
100
|
-
align-self: stretch;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.tide-button-segmented:has(:focus-visible) {
|
|
104
|
-
outline: auto;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.inactive {
|
|
108
|
-
border-color: var(--tide-surface-variant);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.inactive:hover {
|
|
112
|
-
border-color: var(--tide-border);
|
|
113
|
-
color: var(--tide-surface-default);
|
|
114
|
-
}
|
|
115
|
-
</style>
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
/**
|
|
3
|
-
* Renders a card component with a heading, description, and optional icon.
|
|
4
|
-
*
|
|
5
|
-
* @see the [Storybook interface](https://tide-design-system.netlify.app/?path=/docs/components-tidecard--docs) for TideCard
|
|
6
|
-
*/
|
|
7
|
-
export default {};
|
|
8
|
-
</script>
|
|
9
|
-
|
|
10
|
-
<script lang="ts" setup>
|
|
11
|
-
import { computed } from 'vue';
|
|
12
|
-
|
|
13
|
-
import InternalBaseLink from '@/components/InternalBaseLink.vue';
|
|
14
|
-
import TideIcon from '@/components/TideIcon.vue';
|
|
15
|
-
import { TYPE_CARD } from '@/types/Card';
|
|
16
|
-
import { ELEMENT_BROAD } from '@/types/Element';
|
|
17
|
-
import { SIZE } from '@/types/Size';
|
|
18
|
-
import { CSS } from '@/types/Styles';
|
|
19
|
-
|
|
20
|
-
import type { CardType } from '@/types/Card';
|
|
21
|
-
import type { ElementBroad } from '@/types/Element';
|
|
22
|
-
import type { Icon } from '@/types/Icon';
|
|
23
|
-
|
|
24
|
-
type Props = {
|
|
25
|
-
/** Optional description text displayed below the heading */
|
|
26
|
-
description?: string;
|
|
27
|
-
|
|
28
|
-
/** The main heading of the card. */
|
|
29
|
-
heading: string;
|
|
30
|
-
|
|
31
|
-
/** Optional icon displayed on the card. */
|
|
32
|
-
icon?: Icon;
|
|
33
|
-
|
|
34
|
-
/** Determines whether the Card is selected (for selectable cards). */
|
|
35
|
-
selected?: boolean;
|
|
36
|
-
|
|
37
|
-
/** Type of the card */
|
|
38
|
-
type?: CardType;
|
|
39
|
-
|
|
40
|
-
/** URL to navigate to on click. */
|
|
41
|
-
href?: string;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
45
|
-
description: undefined,
|
|
46
|
-
href: undefined,
|
|
47
|
-
icon: undefined,
|
|
48
|
-
selected: undefined,
|
|
49
|
-
type: TYPE_CARD.INFORMATIONAL,
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
const rootElement = computed<ElementBroad | typeof InternalBaseLink>(() =>
|
|
53
|
-
props.href ? InternalBaseLink : props.type === TYPE_CARD.INFORMATIONAL ? ELEMENT_BROAD.DIV : ELEMENT_BROAD.BUTTON
|
|
54
|
-
);
|
|
55
|
-
</script>
|
|
56
|
-
|
|
57
|
-
<template>
|
|
58
|
-
<component
|
|
59
|
-
:class="[
|
|
60
|
-
'tide-card',
|
|
61
|
-
CSS.BORDER.COLOR.LOW,
|
|
62
|
-
CSS.BORDER.FULL.ONE,
|
|
63
|
-
CSS.BORDER.RADIUS.HALF,
|
|
64
|
-
CSS.DISPLAY.FLEX,
|
|
65
|
-
CSS.GAP.HALF,
|
|
66
|
-
CSS.PADDING.FULL.ONE,
|
|
67
|
-
CSS.WIDTH.FULL,
|
|
68
|
-
CSS.ALIGN.X.LEFT,
|
|
69
|
-
CSS.FLEX.DIRECTION.COLUMN,
|
|
70
|
-
type !== TYPE_CARD.INFORMATIONAL && 'hoverable',
|
|
71
|
-
type === TYPE_CARD.SELECTABLE && selected && 'selected',
|
|
72
|
-
]"
|
|
73
|
-
:href="href"
|
|
74
|
-
:type="rootElement === ELEMENT_BROAD.BUTTON ? ELEMENT_BROAD.BUTTON : undefined"
|
|
75
|
-
:is="rootElement"
|
|
76
|
-
>
|
|
77
|
-
<TideIcon
|
|
78
|
-
:class="[CSS.FLEX.GROW.OFF, CSS.FLEX.SHRINK.OFF]"
|
|
79
|
-
:icon="icon"
|
|
80
|
-
:size="SIZE.SMALL"
|
|
81
|
-
v-if="icon"
|
|
82
|
-
/>
|
|
83
|
-
|
|
84
|
-
<div :class="[CSS.AXIS2.START, CSS.DISPLAY.FLEX, CSS.FLEX.DIRECTION.COLUMN, CSS.GAP.HALF]">
|
|
85
|
-
<div :class="[CSS.FONT.ROLE.LABEL_1_SEMIBOLD, CSS.FONT.COLOR.SURFACE.DEFAULT]">
|
|
86
|
-
{{ heading }}
|
|
87
|
-
</div>
|
|
88
|
-
|
|
89
|
-
<div
|
|
90
|
-
:class="[CSS.FONT.ROLE.LABEL_2, CSS.FONT.COLOR.SURFACE.VARIANT]"
|
|
91
|
-
v-if="description"
|
|
92
|
-
>
|
|
93
|
-
{{ description }}
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
</component>
|
|
97
|
-
</template>
|
|
98
|
-
|
|
99
|
-
<style scoped>
|
|
100
|
-
.tide-card.hoverable:not(.selected):hover {
|
|
101
|
-
border-color: var(--tide-border-rest);
|
|
102
|
-
}
|
|
103
|
-
.tide-card.selected {
|
|
104
|
-
outline: 2px solid var(--tide-border-high);
|
|
105
|
-
outline-offset: -2px;
|
|
106
|
-
}
|
|
107
|
-
</style>
|