@bagelink/vue 1.15.27 → 1.15.32

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "1.15.27",
4
+ "version": "1.15.32",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Bagel Studio",
@@ -116,7 +116,7 @@ function fileName(pathKey: string) {
116
116
  <Btn v-tooltip="'Delete'" color="gray" thin icon="delete" @click="removeFile(path_key)" />
117
117
  <Btn v-tooltip="'Replace'" color="gray" thin icon="autorenew" @click="browse()" />
118
118
  <Btn
119
- icon="download" color="gray" thin :href="pathKeyToURL(path_key)"
119
+ icon="download" color="gray" thin target="_blank" :href="pathKeyToURL(path_key)"
120
120
  :download="fileName(path_key)"
121
121
  />
122
122
  <div class="flex gap-025 rounded pe-1 ps-05 py-025 -my-1 ">
@@ -195,7 +195,7 @@ function fileName(pathKey: string) {
195
195
  />
196
196
  <Btn v-tooltip="'Replace'" color="white" frame thin icon="autorenew" @click="browse()" />
197
197
  <Btn
198
- v-tooltip="'Download'" color="white" frame thin icon="download"
198
+ v-tooltip="'Download'" color="white" frame thin target="_blank" icon="download"
199
199
  :href="pathKeyToURL(path_key)" :download="fileName(path_key)"
200
200
  />
201
201
  </div>
@@ -121,7 +121,7 @@ defineExpose({ close })
121
121
  >
122
122
  <Btn
123
123
  v-if="dismissable && closePlacement === 'header-start'" flat icon="close" aria-label="Close"
124
- class="dialog-close" thin @click="close"
124
+ class="dialog-close relative z-2" thin @click="close"
125
125
  />
126
126
  <h3
127
127
  v-if="title" class="dialog-title m-0 txt20 semi w-100p"
@@ -132,7 +132,7 @@ defineExpose({ close })
132
132
  <div v-if="!title" class="flex-grow-1" />
133
133
  <Btn
134
134
  v-if="dismissable && closePlacement === 'header-end'" flat icon="close" aria-label="Close"
135
- class="dialog-close" thin @click="close"
135
+ class="dialog-close relative z-2" thin @click="close"
136
136
  />
137
137
  </header>
138
138
  <!-- Body -->
@@ -3,6 +3,13 @@
3
3
  specificity). Consumers override plain utilities with normal CSS, and
4
4
  override `!important` utilities by adding their own `!important`. */
5
5
 
6
+ /* Icon fonts — must load via the main stylesheet (not only inside Icon.vue's
7
+ <style>), otherwise in Vite dev mode the @import is injected after other
8
+ rules and the browser ignores it, so Material/Font Awesome icons render as
9
+ raw ligature text. Keep these first so the @import rules stay valid. */
10
+ @import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
11
+ @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');
12
+
6
13
  /* Tokens — lowest priority, only custom properties */
7
14
  @import "theme.css";
8
15
  @import "dark.css";
@@ -26,6 +33,20 @@
26
33
  @import "mobileColors.css";
27
34
  @import "appearance.css";
28
35
 
36
+ /* Icon font-family bindings — mirrored from Icon.vue so icons work even when
37
+ that component's injected <style> is not yet present (e.g. Vite dev mode). */
38
+ .bgl_icon-font {
39
+ font-family: 'Material Symbols Outlined', serif !important;
40
+ }
41
+
42
+ .bgl_icon-font.fa {
43
+ font-family: 'Font Awesome 6 Free', serif !important;
44
+ }
45
+
46
+ .bgl_icon-font.fa-brands {
47
+ font-family: 'Font Awesome 6 Brands', serif !important;
48
+ }
49
+
29
50
  /* Reset / base element styles */
30
51
  :root {
31
52
  --bgl-transition-ease: cubic-bezier(0.1, 0.5, 0.33, 1);