@brftech/filex-core 0.39.0 → 0.40.0
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/README.md +9 -0
- package/dist/filex-core.js +7339 -7014
- package/dist/filex-core.js.map +1 -1
- package/dist/filex-core.umd.cjs +49 -49
- package/dist/filex-core.umd.cjs.map +1 -1
- package/dist/index.d.ts +84 -11
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/FileExplorer.vue +30 -0
- package/src/components/ContextMenu.vue +18 -0
- package/src/components/OnboardingTour.vue +11 -1
- package/src/components/QuickLook.vue +85 -33
- package/src/components/ShortcutSettings.vue +37 -0
- package/src/components/Toolbar.vue +28 -15
- package/src/composables/useKeyboardShortcuts.ts +175 -0
- package/src/index.ts +12 -0
- package/src/lib/themes.ts +96 -2
- package/src/locales/en.ts +21 -2
- package/src/locales/tr.ts +21 -2
- package/src/styles/base.css +42 -2
- package/src/styles/variables.css +6 -0
package/README.md
CHANGED
|
@@ -86,6 +86,9 @@ import {
|
|
|
86
86
|
useFileApi, useUploadChunked, useSelection, useKeyboardShortcuts,
|
|
87
87
|
useLocale, usePendingOps, useMonacoLoader,
|
|
88
88
|
preloadEditor, ensureMonaco,
|
|
89
|
+
// naming a key on screen — read the binding, never type it out:
|
|
90
|
+
// shortcuts are remappable, so a hardcoded "Ctrl+K" stops being true
|
|
91
|
+
shortcutHint, eventMatchesShortcut,
|
|
89
92
|
// types
|
|
90
93
|
type ExplorerConfig, type AuthConfig, type FileNode, type ShareInfo,
|
|
91
94
|
type Capabilities,
|
|
@@ -95,6 +98,12 @@ import {
|
|
|
95
98
|
The composables are stable — feel free to compose your own UI without
|
|
96
99
|
touching the SFC.
|
|
97
100
|
|
|
101
|
+
If your own UI names a keyboard shortcut, render `shortcutHint('<action>')`
|
|
102
|
+
rather than the key itself: the user may remap any action from the shortcut
|
|
103
|
+
settings, and `''` comes back for one they unbound so you can drop the hint
|
|
104
|
+
instead of drawing an empty key cap. See
|
|
105
|
+
[docs/API.md](https://github.com/BRF-Tech/filex/blob/main/docs/API.md#naming-a-key-on-screen).
|
|
106
|
+
|
|
98
107
|
### Navigation panel
|
|
99
108
|
|
|
100
109
|
The explorer ships a left navigation panel — a prominent **Upload**, the views
|