Compare commits

...
2 Commits
15 changed files with 48 additions and 30 deletions

No files matched your search

+1 -1
View File
@@ -241,7 +241,7 @@
clip-rule="evenodd" /> clip-rule="evenodd" />
</svg> </svg>
</a> </a>
<a href="https://discord.gg/q42xWQmJ" target="_blank" rel="noopener noreferrer" <a href="https://discord.gg/AP2Y97juZT" target="_blank" rel="noopener noreferrer"
class="text-gray-400 hover:text-indigo-400" title="Discord"> class="text-gray-400 hover:text-indigo-400" title="Discord">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path <path
+1 -1
View File
@@ -138,7 +138,7 @@
clip-rule="evenodd" /> clip-rule="evenodd" />
</svg> </svg>
</a> </a>
<a href="https://discord.gg/q42xWQmJ" target="_blank" rel="noopener noreferrer" <a href="https://discord.gg/AP2Y97juZT" target="_blank" rel="noopener noreferrer"
class="text-gray-400 hover:text-indigo-400" title="Discord"> class="text-gray-400 hover:text-indigo-400" title="Discord">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path <path
+1 -1
View File
@@ -285,7 +285,7 @@
clip-rule="evenodd" /> clip-rule="evenodd" />
</svg> </svg>
</a> </a>
<a href="https://discord.gg/q42xWQmJ" target="_blank" rel="noopener noreferrer" <a href="https://discord.gg/AP2Y97juZT" target="_blank" rel="noopener noreferrer"
class="text-gray-400 hover:text-indigo-400" title="Discord"> class="text-gray-400 hover:text-indigo-400" title="Discord">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path <path
+1 -1
View File
@@ -734,7 +734,7 @@
clip-rule="evenodd" /> clip-rule="evenodd" />
</svg> </svg>
</a> </a>
<a href="https://discord.gg/q42xWQmJ" target="_blank" rel="noopener noreferrer" <a href="https://discord.gg/AP2Y97juZT" target="_blank" rel="noopener noreferrer"
class="text-gray-400 hover:text-indigo-400" title="Discord"> class="text-gray-400 hover:text-indigo-400" title="Discord">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path <path
+14 -13
View File
@@ -530,18 +530,19 @@
<span class="text-lg font-semibold text-white">How do I purchase a commercial license?</span> <span class="text-lg font-semibold text-white">How do I purchase a commercial license?</span>
<i data-lucide="chevron-down" class="faq-icon w-6 h-6 text-gray-400 transition-transform"></i> <i data-lucide="chevron-down" class="faq-icon w-6 h-6 text-gray-400 transition-transform"></i>
</button> </button>
<div class="faq-answer max-h-0 overflow-hidden transition-all duration-300 ease-in-out"> <div class="faq-answer max-h-0 overflow-hidden transition-all duration-300 ease-in-out">
<p class="p-6 pt-0 text-gray-400"> <p class="p-6 pt-0 text-gray-400">
BentoPDF is available under a lifetime, one-time purchase commercial license. BentoPDF is available under a lifetime, one-time purchase commercial license.
You can purchase it directly here: You can purchase it directly here:
<a href="https://ko-fi.com/s/f32ca4cb75" class="text-indigo-400 hover:underline">Buy Commercial License</a>. <a href="https://ko-fi.com/s/f32ca4cb75" class="text-indigo-400 hover:underline">Buy
<br><br> Commercial License</a>.
If you have specific requirements or want a custom licensing arrangement, <br><br>
feel free to <a href="./contact.html" class="text-indigo-400 hover:underline">contact us</a> If you have specific requirements or want a custom licensing arrangement,
with details about your use case, company size, and deployment needs. feel free to <a href="./contact.html" class="text-indigo-400 hover:underline">contact us</a>
We're happy to work with you to find the best fit. with details about your use case, company size, and deployment needs.
</p> We're happy to work with you to find the best fit.
</div> </p>
</div>
</div> </div>
</div> </div>
</section> </section>
@@ -619,7 +620,7 @@
clip-rule="evenodd" /> clip-rule="evenodd" />
</svg> </svg>
</a> </a>
<a href="https://discord.gg/q42xWQmJ" target="_blank" rel="noopener noreferrer" <a href="https://discord.gg/AP2Y97juZT" target="_blank" rel="noopener noreferrer"
class="text-gray-400 hover:text-indigo-400" title="Discord"> class="text-gray-400 hover:text-indigo-400" title="Discord">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path <path
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "bento-pdf", "name": "bento-pdf",
"private": true, "private": true,
"version": "1.7.8", "version": "1.7.9",
"license": "Apache-2.0", "license": "Apache-2.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
+1 -1
View File
@@ -245,7 +245,7 @@
clip-rule="evenodd" /> clip-rule="evenodd" />
</svg> </svg>
</a> </a>
<a href="https://discord.gg/q42xWQmJ" target="_blank" rel="noopener noreferrer" <a href="https://discord.gg/AP2Y97juZT" target="_blank" rel="noopener noreferrer"
class="text-gray-400 hover:text-indigo-400" title="Discord"> class="text-gray-400 hover:text-indigo-400" title="Discord">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path <path
+10 -1
View File
@@ -155,7 +155,16 @@ export class ShortcutsManager {
if (e.altKey) keys.push('alt'); if (e.altKey) keys.push('alt');
if (e.shiftKey) keys.push('shift'); if (e.shiftKey) keys.push('shift');
const key = e.key.toLowerCase(); let key = e.key.toLowerCase();
if (e.altKey && e.code) {
if (e.code.startsWith('Key')) {
key = e.code.slice(3).toLowerCase();
} else if (e.code.startsWith('Digit')) {
key = e.code.slice(5);
}
}
if (!['control', 'shift', 'alt', 'meta'].includes(key)) { if (!['control', 'shift', 'alt', 'meta'].includes(key)) {
keys.push(key); keys.push(key);
} }
+10 -1
View File
@@ -597,7 +597,16 @@ const init = () => {
if (e.altKey) keys.push('alt'); if (e.altKey) keys.push('alt');
if (e.shiftKey) keys.push('shift'); if (e.shiftKey) keys.push('shift');
const key = e.key.toLowerCase(); let key = e.key.toLowerCase();
if (e.altKey && e.code) {
if (e.code.startsWith('Key')) {
key = e.code.slice(3).toLowerCase();
} else if (e.code.startsWith('Digit')) {
key = e.code.slice(5);
}
}
const isModifier = ['control', 'shift', 'alt', 'meta'].includes(key); const isModifier = ['control', 'shift', 'alt', 'meta'].includes(key);
const isDeadKey = key === 'dead' || key.startsWith('dead'); const isDeadKey = key === 'dead' || key.startsWith('dead');
+3 -4
View File
@@ -93,13 +93,12 @@
<h2 class="text-lg font-semibold text-white">Stamp Editor</h2> <h2 class="text-lg font-semibold text-white">Stamp Editor</h2>
<p class="text-xs text-gray-400">Use the toolbar's image stamp tool to place stamps.</p> <p class="text-xs text-gray-400">Use the toolbar's image stamp tool to place stamps.</p>
</div> </div>
<div id="stamp-viewer-container" class="h-[70vh] bg-black/70 flex items-stretch justify-stretch"> <div id="stamp-viewer-container" class="h-[70vh] bg-black/70 flex items-stretch justify-stretch">
<!-- iframe injected by add-stamps.ts --> <!-- iframe injected by add-stamps.ts -->
</div> </div>
</div> </div>
<button id="save-stamped-btn" <button id="save-stamped-btn" class="btn-gradient w-full mt-6 flex items-center justify-center gap-2">
class="btn-gradient w-full mt-6 flex items-center justify-center gap-2">
<span>Save Stamped PDF</span> <span>Save Stamped PDF</span>
</button> </button>
</div> </div>
@@ -159,7 +158,7 @@
clip-rule="evenodd" /> clip-rule="evenodd" />
</svg> </svg>
</a> </a>
<a href="https://discord.gg/q42xWQmJ" target="_blank" rel="noopener noreferrer" <a href="https://discord.gg/AP2Y97juZT" target="_blank" rel="noopener noreferrer"
class="text-gray-400 hover:text-indigo-400" title="Discord"> class="text-gray-400 hover:text-indigo-400" title="Discord">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path <path
+1 -1
View File
@@ -462,7 +462,7 @@
clip-rule="evenodd" /> clip-rule="evenodd" />
</svg> </svg>
</a> </a>
<a href="https://discord.gg/q42xWQmJ" target="_blank" rel="noopener noreferrer" <a href="https://discord.gg/AP2Y97juZT" target="_blank" rel="noopener noreferrer"
class="text-gray-400 hover:text-indigo-400" title="Discord"> class="text-gray-400 hover:text-indigo-400" title="Discord">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path <path
+1 -1
View File
@@ -158,7 +158,7 @@
clip-rule="evenodd" /> clip-rule="evenodd" />
</svg> </svg>
</a> </a>
<a href="https://discord.gg/q42xWQmJ" target="_blank" rel="noopener noreferrer" <a href="https://discord.gg/AP2Y97juZT" target="_blank" rel="noopener noreferrer"
class="text-gray-400 hover:text-indigo-400" title="Discord"> class="text-gray-400 hover:text-indigo-400" title="Discord">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path <path
+1 -1
View File
@@ -152,7 +152,7 @@
clip-rule="evenodd" /> clip-rule="evenodd" />
</svg> </svg>
</a> </a>
<a href="https://discord.gg/q42xWQmJ" target="_blank" rel="noopener noreferrer" <a href="https://discord.gg/AP2Y97juZT" target="_blank" rel="noopener noreferrer"
class="text-gray-400 hover:text-indigo-400" title="Discord"> class="text-gray-400 hover:text-indigo-400" title="Discord">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path <path
+1 -1
View File
@@ -221,7 +221,7 @@
clip-rule="evenodd" /> clip-rule="evenodd" />
</svg> </svg>
</a> </a>
<a href="https://discord.gg/q42xWQmJ" target="_blank" rel="noopener noreferrer" <a href="https://discord.gg/AP2Y97juZT" target="_blank" rel="noopener noreferrer"
class="text-gray-400 hover:text-indigo-400" title="Discord"> class="text-gray-400 hover:text-indigo-400" title="Discord">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path <path
+1 -1
View File
@@ -241,7 +241,7 @@
clip-rule="evenodd" /> clip-rule="evenodd" />
</svg> </svg>
</a> </a>
<a href="https://discord.gg/q42xWQmJ" target="_blank" rel="noopener noreferrer" <a href="https://discord.gg/AP2Y97juZT" target="_blank" rel="noopener noreferrer"
class="text-gray-400 hover:text-indigo-400" title="Discord"> class="text-gray-400 hover:text-indigo-400" title="Discord">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path <path