From e8af4b3540cac976567fd69cf795c2c3ca56069a Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Wed, 22 May 2024 15:03:04 +0200 Subject: [PATCH] Copy button for Asset links #94 --- CHANGELOG.md | 1 + components/SearchableList.vue | 23 ++++----------- components/base.scss | 25 +++++++++++++--- components/internal/CopyMixin.js | 30 +++++++++++++++++++ components/internal/StacAsset.vue | 48 ++++++++++++++++++++++--------- 5 files changed, 93 insertions(+), 34 deletions(-) create mode 100644 components/internal/CopyMixin.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a36d54..b58fe12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Option to hide deprecated elements from lists by default (prop: `hideDeprecatedByDefault`) +- Copy Asset URL ### Fixed diff --git a/components/SearchableList.vue b/components/SearchableList.vue index 10d8951..9e0533f 100644 --- a/components/SearchableList.vue +++ b/components/SearchableList.vue @@ -52,6 +52,7 @@