Skip to content

Commit

Permalink
Merge pull request #2131 from tf/hotspots-2
Browse files Browse the repository at this point in the history
Pan/zoom mode for hotspots element
  • Loading branch information
tf authored Jul 23, 2024
2 parents 3a94eb2 + aaccb1e commit 8e78f8a
Show file tree
Hide file tree
Showing 42 changed files with 1,931 additions and 360 deletions.
9 changes: 9 additions & 0 deletions entry_types/scrolled/config/locales/new/hotspots.de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ de:
pageflow_scrolled:
public:
more: Mehr
next: Nächster
previous: Vorheriger
inline_editing:
select_link_destination: "Link-Ziel auswählen"
change_link_destination: "Link-Ziel ändern"
editor:
content_elements:
hotspots:
edit_area:
back: Zurück
destroy: Löschen
confirm_delete_link: Soll der Bereich wirklich gelöscht werden?
tabs:
area: Hotspot-Breiech
portrait: Hochkant
Expand All @@ -27,6 +32,8 @@ de:
label: Aktives Bild
area:
label: Bereich
zoom:
label: Zoom
portraitTooltipPosition:
label: Tooltip-Position (Hochkant)
values:
Expand All @@ -38,6 +45,8 @@ de:
label: Aktives Bild (Hochkant)
portraitArea:
label: Bereich (Hochkant)
portraitZoom:
label: Zoom (Hochkant)
edit_area_dialog:
header: Bereichsumriss und Indikatorposition
tabs:
Expand Down
9 changes: 9 additions & 0 deletions entry_types/scrolled/config/locales/new/hotspots.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ en:
pageflow_scrolled:
public:
more: More
next: Next
previous: Previous
inline_editing:
select_link_destination: "Select link destination"
change_link_destination: "Change link destination"
editor:
content_elements:
hotspots:
edit_area:
back: Back
destroy: Delete
confirm_delete_link: Are you sure you want to delete this area?
tabs:
area: Hotspot Area
portrait: Portrait
Expand All @@ -27,6 +32,8 @@ en:
label: Active image
area:
label: Area
zoom:
label: Zoom
portraitTooltipPosition:
label: Tooltip orientation (Portrait)
values:
Expand All @@ -38,6 +45,8 @@ en:
label: Active image (Portrait)
portraitArea:
label: Area (Portrait)
portraitZoom:
label: Zoom (Portrait)
edit_area_dialog:
header: Area outline and indicator position
tabs:
Expand Down
1 change: 1 addition & 0 deletions entry_types/scrolled/package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"license": "MIT",
"dependencies": {
"@egjs/view360": "^3.4.3",
"@floating-ui/react": "https://github.com/tf/floating-ui-react#react-16-focus-fix",
"@headlessui/react": "^1.6.6",
"core-js": "^3.6.5",
"debounce": "^1.2.0",
Expand Down
Loading

0 comments on commit 8e78f8a

Please sign in to comment.