@brftech/filex-core 0.7.0 → 0.7.2
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/{ArchiveViewer-w6GDJJt9.js → ArchiveViewer-DAb5peBU.js} +2 -2
- package/dist/{ArchiveViewer-w6GDJJt9.js.map → ArchiveViewer-DAb5peBU.js.map} +1 -1
- package/dist/{CsvViewer-Ci5-mke8.js → CsvViewer-_bnmnpjn.js} +2 -2
- package/dist/{CsvViewer-Ci5-mke8.js.map → CsvViewer-_bnmnpjn.js.map} +1 -1
- package/dist/{DrawioViewer-D2iMuQfD.js → DrawioViewer-Bjns4ob8.js} +2 -2
- package/dist/{DrawioViewer-D2iMuQfD.js.map → DrawioViewer-Bjns4ob8.js.map} +1 -1
- package/dist/{EpubViewer-D4ydsa9X.js → EpubViewer-DoFuZTtA.js} +2 -2
- package/dist/{EpubViewer-D4ydsa9X.js.map → EpubViewer-DoFuZTtA.js.map} +1 -1
- package/dist/{IpynbViewer-CWBwiFKX.js → IpynbViewer-eg1ySMD4.js} +2 -2
- package/dist/{IpynbViewer-CWBwiFKX.js.map → IpynbViewer-eg1ySMD4.js.map} +1 -1
- package/dist/{MermaidViewer-CDhuqQli.js → MermaidViewer-BZ13vA6S.js} +2 -2
- package/dist/{MermaidViewer-CDhuqQli.js.map → MermaidViewer-BZ13vA6S.js.map} +1 -1
- package/dist/{PsdViewer-C_TkFb2H.js → PsdViewer-qFkE4KCB.js} +2 -2
- package/dist/{PsdViewer-C_TkFb2H.js.map → PsdViewer-qFkE4KCB.js.map} +1 -1
- package/dist/{TiffViewer-BmWCXR7e.js → TiffViewer-eHJTCYsd.js} +2 -2
- package/dist/{TiffViewer-BmWCXR7e.js.map → TiffViewer-eHJTCYsd.js.map} +1 -1
- package/dist/{Viewer3D-5kPT1QsY.js → Viewer3D-C4--ljdO.js} +2 -2
- package/dist/{Viewer3D-5kPT1QsY.js.map → Viewer3D-C4--ljdO.js.map} +1 -1
- package/dist/filex-core.js +1 -1
- package/dist/filex-core.umd.cjs +56 -56
- package/dist/filex-core.umd.cjs.map +1 -1
- package/dist/index-BSDT0PU8.js +11859 -0
- package/dist/index-BSDT0PU8.js.map +1 -0
- package/dist/index.d.ts +59 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/FileExplorer.vue +106 -12
- package/src/components/SecondaryPane.vue +88 -78
- package/src/components/Toolbar.vue +112 -3
- package/src/composables/useKeyboardShortcuts.ts +6 -0
- package/src/composables/useTabs.ts +11 -2
- package/src/styles/base.css +50 -4
- package/src/styles/variables.css +2 -2
- package/dist/index-nc0-oI_l.js +0 -11723
- package/dist/index-nc0-oI_l.js.map +0 -1
package/src/styles/base.css
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
position: relative;
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
|
+
box-sizing: border-box;
|
|
7
8
|
min-height: 420px;
|
|
8
9
|
height: 100%;
|
|
9
10
|
background: var(--fe-bg);
|
|
@@ -3099,7 +3100,12 @@ filex-explorer {
|
|
|
3099
3100
|
flex: 1 1 auto;
|
|
3100
3101
|
min-width: 0;
|
|
3101
3102
|
overflow-x: auto;
|
|
3102
|
-
|
|
3103
|
+
/* Tab overflow scrolls (wheel / drag / keyboard) but never shows a
|
|
3104
|
+
* scrollbar strip under the tabs — the 30px bar cannot fit one. */
|
|
3105
|
+
scrollbar-width: none;
|
|
3106
|
+
}
|
|
3107
|
+
.fe-tabs__scroll::-webkit-scrollbar {
|
|
3108
|
+
display: none;
|
|
3103
3109
|
}
|
|
3104
3110
|
.fe-tabs__tab {
|
|
3105
3111
|
display: flex;
|
|
@@ -3214,9 +3220,23 @@ filex-explorer {
|
|
|
3214
3220
|
display: none;
|
|
3215
3221
|
}
|
|
3216
3222
|
|
|
3223
|
+
/* ui-fix — sol panel sarmalı: breadcrumb + durum şeritleri + body bir
|
|
3224
|
+
flex-column. Split olmadan tüm genişlik; split olunca sol yarı (böylece
|
|
3225
|
+
breadcrumb kendi panelini kaplar, SecondaryPane ile simetrik). */
|
|
3226
|
+
.fe__primary {
|
|
3227
|
+
display: flex;
|
|
3228
|
+
flex-direction: column;
|
|
3229
|
+
flex: 1 1 auto;
|
|
3230
|
+
min-width: 0;
|
|
3231
|
+
min-height: 0;
|
|
3232
|
+
}
|
|
3233
|
+
.fe__primary > .fe__body {
|
|
3234
|
+
min-width: 0;
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3217
3237
|
/* Split layout — equal halves inside fe__main; the inspector (koru:k1)
|
|
3218
3238
|
keeps its fixed width to the right of both. */
|
|
3219
|
-
.fe__main--split > .
|
|
3239
|
+
.fe__main--split > .fe__primary {
|
|
3220
3240
|
flex: 1 1 50%;
|
|
3221
3241
|
}
|
|
3222
3242
|
.fe-split {
|
|
@@ -3230,11 +3250,11 @@ filex-explorer {
|
|
|
3230
3250
|
color: var(--fe-text);
|
|
3231
3251
|
}
|
|
3232
3252
|
/* Active-panel accent: a thin top line on whichever pane owns the keyboard. */
|
|
3233
|
-
.fe__main--split > .
|
|
3253
|
+
.fe__main--split > .fe__primary,
|
|
3234
3254
|
.fe-split {
|
|
3235
3255
|
box-shadow: inset 0 2px 0 transparent;
|
|
3236
3256
|
}
|
|
3237
|
-
.fe__main--split > .
|
|
3257
|
+
.fe__main--split > .fe__primary.fe-pane--focus,
|
|
3238
3258
|
.fe-split.fe-pane--focus {
|
|
3239
3259
|
box-shadow: inset 0 2px 0 var(--fe-primary);
|
|
3240
3260
|
}
|
|
@@ -3708,3 +3728,29 @@ filex-explorer {
|
|
|
3708
3728
|
text-decoration: underline;
|
|
3709
3729
|
}
|
|
3710
3730
|
/* === /wiring:e2 === */
|
|
3731
|
+
|
|
3732
|
+
/* === ui-fix — toolbar tek satır + katlama + ölçüm şeridi ============= */
|
|
3733
|
+
.fe:not(.fe--narrow) .fe-toolbar {
|
|
3734
|
+
flex-wrap: nowrap;
|
|
3735
|
+
}
|
|
3736
|
+
.fe:not(.fe--narrow) .fe-toolbar__primary {
|
|
3737
|
+
flex: 1 1 auto;
|
|
3738
|
+
min-width: 0;
|
|
3739
|
+
flex-wrap: nowrap;
|
|
3740
|
+
overflow: hidden;
|
|
3741
|
+
position: relative;
|
|
3742
|
+
}
|
|
3743
|
+
.fe-toolbar__measure {
|
|
3744
|
+
position: absolute;
|
|
3745
|
+
visibility: hidden;
|
|
3746
|
+
pointer-events: none;
|
|
3747
|
+
height: 0;
|
|
3748
|
+
overflow: hidden;
|
|
3749
|
+
display: flex;
|
|
3750
|
+
gap: 8px;
|
|
3751
|
+
white-space: nowrap;
|
|
3752
|
+
}
|
|
3753
|
+
.fe-toolbar__measure .fe-btn {
|
|
3754
|
+
flex: none;
|
|
3755
|
+
}
|
|
3756
|
+
/* === /ui-fix ========================================================= */
|
package/src/styles/variables.css
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
--fe-text: #1a1e27;
|
|
14
14
|
--fe-text-muted: #5a6475;
|
|
15
15
|
--fe-text-on-primary: #ffffff;
|
|
16
|
-
--fe-primary: #3b82f6
|
|
16
|
+
--fe-primary: #2f6fe0; /* ui-fix: beyaz metinle WCAG AA (eski #3b82f6 = 3.68) */
|
|
17
17
|
--fe-primary-hover: #2563eb;
|
|
18
18
|
--fe-danger: #dc2626;
|
|
19
19
|
--fe-danger-hover: #b91c1c;
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
--fe-icon-archive: #78716c;
|
|
103
103
|
--fe-icon-code: #4f46e5;
|
|
104
104
|
--fe-icon-text: #64748b;
|
|
105
|
-
--fe-icon-unknown: #
|
|
105
|
+
--fe-icon-unknown: #64748b; /* ui-fix: acik temada 3:1 UI kontrasti */
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
/* Dark values — same selector strategy as the palette blocks above. */
|