@bagelink/vue 0.0.627 → 0.0.631

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 CHANGED
@@ -18,7 +18,7 @@ import { BagelVue } from '@bagel/vue';
18
18
  import App from './App.vue';
19
19
 
20
20
  const BagelConfig = {
21
- host: import.meta.env.VITE_BASE_URL,
21
+ host: import.meta.env.VITE_BAGEL_BASE_URL,
22
22
  onError: (err: any) => {
23
23
  // handle error
24
24
  // example:
package/dist/index.cjs CHANGED
@@ -5578,8 +5578,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
5578
5578
  },
5579
5579
  setup(__props) {
5580
5580
  vue.useCssVars((_ctx) => ({
5581
- "39397c0e": computedBackgroundColor.value,
5582
- "427e8569": cumputedTextColor.value
5581
+ "50d471e9": computedBackgroundColor.value,
5582
+ "e0dc88f8": cumputedTextColor.value
5583
5583
  }));
5584
5584
  const props2 = __props;
5585
5585
  const isComponent = vue.computed(() => {
@@ -5668,7 +5668,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
5668
5668
  };
5669
5669
  }
5670
5670
  });
5671
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-59ea4a90"]]);
5671
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-26f1062f"]]);
5672
5672
  const _hoisted_1$H = {
5673
5673
  key: 0,
5674
5674
  class: "tool-bar"
@@ -28647,7 +28647,12 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
28647
28647
  (...args) => _ctx.onFocusout && _ctx.onFocusout(...args)),
28648
28648
  onInput: updateInputVal
28649
28649
  }), null, 16, _hoisted_3$d)), [
28650
- [vue.vModelDynamic, vue.unref(inputVal)]
28650
+ [
28651
+ vue.vModelDynamic,
28652
+ vue.unref(inputVal),
28653
+ void 0,
28654
+ { trim: true }
28655
+ ]
28651
28656
  ]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("textarea", vue.mergeProps({
28652
28657
  key: 1,
28653
28658
  id: _ctx.id,
@@ -28679,7 +28684,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
28679
28684
  };
28680
28685
  }
28681
28686
  });
28682
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-5e9a753f"]]);
28687
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-82137f41"]]);
28683
28688
  const _hoisted_1$n = { class: "primary-checkbox" };
28684
28689
  const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
28685
28690
  __name: "Checkbox",
package/dist/index.mjs CHANGED
@@ -5576,8 +5576,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5576
5576
  },
5577
5577
  setup(__props) {
5578
5578
  useCssVars((_ctx) => ({
5579
- "39397c0e": computedBackgroundColor.value,
5580
- "427e8569": cumputedTextColor.value
5579
+ "50d471e9": computedBackgroundColor.value,
5580
+ "e0dc88f8": cumputedTextColor.value
5581
5581
  }));
5582
5582
  const props2 = __props;
5583
5583
  const isComponent = computed(() => {
@@ -5666,7 +5666,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5666
5666
  };
5667
5667
  }
5668
5668
  });
5669
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-59ea4a90"]]);
5669
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-26f1062f"]]);
5670
5670
  const _hoisted_1$H = {
5671
5671
  key: 0,
5672
5672
  class: "tool-bar"
@@ -28645,7 +28645,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
28645
28645
  (...args) => _ctx.onFocusout && _ctx.onFocusout(...args)),
28646
28646
  onInput: updateInputVal
28647
28647
  }), null, 16, _hoisted_3$d)), [
28648
- [vModelDynamic, unref(inputVal)]
28648
+ [
28649
+ vModelDynamic,
28650
+ unref(inputVal),
28651
+ void 0,
28652
+ { trim: true }
28653
+ ]
28649
28654
  ]) : withDirectives((openBlock(), createElementBlock("textarea", mergeProps({
28650
28655
  key: 1,
28651
28656
  id: _ctx.id,
@@ -28677,7 +28682,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
28677
28682
  };
28678
28683
  }
28679
28684
  });
28680
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-5e9a753f"]]);
28685
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-82137f41"]]);
28681
28686
  const _hoisted_1$n = { class: "primary-checkbox" };
28682
28687
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
28683
28688
  __name: "Checkbox",
package/dist/style.css CHANGED
@@ -254,19 +254,19 @@
254
254
  }
255
255
  }
256
256
 
257
- a[data-v-59ea4a90] {
257
+ a[data-v-26f1062f] {
258
258
  text-decoration: none;
259
259
  }
260
- .loading[data-v-59ea4a90] {
260
+ .loading[data-v-26f1062f] {
261
261
  border: 1px solid var(--bgl-white);
262
262
  border-bottom: 2px solid var(--bgl-white);
263
- animation: spin-59ea4a90 1s linear infinite;
263
+ animation: spin-26f1062f 1s linear infinite;
264
264
  border-radius: 100px;
265
265
  width: 1rem;
266
266
  height: 1rem;
267
267
  margin: auto;
268
268
  }
269
- @keyframes spin-59ea4a90 {
269
+ @keyframes spin-26f1062f {
270
270
  0% {
271
271
  transform: rotate(0deg);
272
272
  }
@@ -274,7 +274,7 @@ a[data-v-59ea4a90] {
274
274
  transform: rotate(360deg);
275
275
  }
276
276
  }
277
- .bgl_btn-icon[data-v-59ea4a90] {
277
+ .bgl_btn-icon[data-v-26f1062f] {
278
278
  height: var(--btn-height);
279
279
  width: var(--btn-height);
280
280
  border-radius: 100%;
@@ -284,101 +284,102 @@ a[data-v-59ea4a90] {
284
284
  flex-shrink: 0;
285
285
  transition: var(--bgl-transition);
286
286
  }
287
- .bgl_btn[data-v-59ea4a90] {
287
+ .bgl_btn[data-v-26f1062f] {
288
288
  padding-left: var(--btn-padding);
289
289
  padding-right: var(--btn-padding);
290
290
  transition: var(--bgl-transition);
291
291
  text-decoration: none;
292
292
  }
293
- .bgl_btn[disabled="true"][data-v-59ea4a90] {
293
+ .bgl_btn[disabled="true"][data-v-26f1062f] {
294
294
  opacity: 0.5;
295
295
  cursor: not-allowed;
296
296
  }
297
- .bgl_btn-flex[data-v-59ea4a90] {
297
+ .bgl_btn-flex[data-v-26f1062f] {
298
298
  display: flex;
299
299
  align-items: center;
300
300
  gap: 0.5rem;
301
301
  justify-content: center;
302
302
  }
303
- .bgl_btn .bgl_.bgl_icon-font[data-v-59ea4a90] {
303
+ .bgl_btn .bgl_.bgl_icon-font[data-v-26f1062f] {
304
304
  font-size: calc(var(--input-font-size) * 1.3);
305
305
  }
306
- .bgl_btn[data-v-59ea4a90],
307
- .bgl_btn-icon[data-v-59ea4a90] {
308
- background-color: var(--39397c0e);
309
- color: var(--427e8569);
306
+ .bgl_btn[data-v-26f1062f],
307
+ .bgl_btn-icon[data-v-26f1062f] {
308
+ background-color: var(--50d471e9);
309
+ color: var(--e0dc88f8);
310
310
  }
311
- .bgl_btn[data-v-59ea4a90]:hover,
312
- .bgl_btn-icon[data-v-59ea4a90]:hover {
311
+ .bgl_btn[data-v-26f1062f]:hover,
312
+ .bgl_btn-icon[data-v-26f1062f]:hover {
313
313
  filter: var(--bgl-hover-filter);
314
314
  }
315
- .bgl_btn[data-v-59ea4a90]:active,
316
- .bgl_btn-icon[data-v-59ea4a90]:active {
315
+ .bgl_btn[data-v-26f1062f]:active,
316
+ .bgl_btn-icon[data-v-26f1062f]:active {
317
317
  filter: var(--bgl-active-filter);
318
318
  }
319
- .bgl_btn.bgl_flatBtn[data-v-59ea4a90] {
319
+ .bgl_btn.bgl_flatBtn[data-v-26f1062f] {
320
320
  padding-left: var(--btn-padding);
321
321
  padding-right: var(--btn-padding);
322
322
  background: transparent;
323
323
  }
324
- .bgl_btn-icon.bgl_flatBtn[data-v-59ea4a90] {
324
+ .bgl_btn-icon.bgl_flatBtn[data-v-26f1062f] {
325
325
  background: transparent;
326
326
  }
327
- .bgl_btn.bgl_flatBtn[data-v-59ea4a90]:hover,
328
- .bgl_btn-icon.bgl_flatBtn[data-v-59ea4a90]:hover {
329
- filter: var(--bgl-active-filter);
327
+ .bgl_btn.bgl_flatBtn[data-v-26f1062f]:hover,
328
+ .bgl_btn-icon.bgl_flatBtn[data-v-26f1062f]:hover {
329
+ filter: var(--bgl-hover-filter);
330
+ background: var(--bgl-gray-20);
330
331
  }
331
- .bgl_btn.bgl_flatBtn[data-v-59ea4a90]:active,
332
- .bgl_btn-icon.bgl_flatBtn[data-v-59ea4a90]:active {
332
+ .bgl_btn.bgl_flatBtn[data-v-26f1062f]:active,
333
+ .bgl_btn-icon.bgl_flatBtn[data-v-26f1062f]:active {
333
334
  background: var(--bgl-gray-40);
334
- filter: var(--bgl-hover-filter);
335
+ filter: var(--bgl-active-filter);
335
336
  }
336
- .bgl_btn.bgl_flatBtn.red[data-v-59ea4a90],
337
- .bgl_btn-icon.bgl_flatBtn.red[data-v-59ea4a90] {
337
+ .bgl_btn.bgl_flatBtn.red[data-v-26f1062f],
338
+ .bgl_btn-icon.bgl_flatBtn.red[data-v-26f1062f] {
338
339
  color: var(--bgl-red);
339
340
  }
340
- .bgl_btn.bgl_flatBtn.white[data-v-59ea4a90],
341
- .bgl_btn-icon.bgl_flatBtn.white[data-v-59ea4a90] {
341
+ .bgl_btn.bgl_flatBtn.white[data-v-26f1062f],
342
+ .bgl_btn-icon.bgl_flatBtn.white[data-v-26f1062f] {
342
343
  color: var(--bgl-white);
343
344
  }
344
- .bgl_btn.bgl_flatBtn.light[data-v-59ea4a90],
345
- .bgl_btn-icon.bgl_flatBtn.light[data-v-59ea4a90] {
345
+ .bgl_btn.bgl_flatBtn.light[data-v-26f1062f],
346
+ .bgl_btn-icon.bgl_flatBtn.light[data-v-26f1062f] {
346
347
  color: var(--bgl-primary-tint);
347
348
  }
348
- .bgl_btn.bgl_flatBtn.black[data-v-59ea4a90],
349
- .bgl_btn-icon.bgl_flatBtn.black[data-v-59ea4a90] {
349
+ .bgl_btn.bgl_flatBtn.black[data-v-26f1062f],
350
+ .bgl_btn-icon.bgl_flatBtn.black[data-v-26f1062f] {
350
351
  color: var(--bgl-black);
351
352
  }
352
- .bgl_btn.bgl_flatBtn.gray[data-v-59ea4a90],
353
- .bgl_btn-icon.bgl_flatBtn.gray[data-v-59ea4a90] {
353
+ .bgl_btn.bgl_flatBtn.gray[data-v-26f1062f],
354
+ .bgl_btn-icon.bgl_flatBtn.gray[data-v-26f1062f] {
354
355
  color: var(--bgl-gray);
355
356
  }
356
- .bgl_btn.thin[data-v-59ea4a90] {
357
+ .bgl_btn.thin[data-v-26f1062f] {
357
358
  padding-inline: calc(var(--btn-padding) / 3);
358
359
  border-radius: calc(var(--btn-border-radius) / 1.5);
359
360
  }
360
- .bgl_btn.round[data-v-59ea4a90] {
361
+ .bgl_btn.round[data-v-26f1062f] {
361
362
  border-radius: calc(var(--btn-border-radius) * 2);
362
363
  }
363
- .bgl_btn-icon.thin[data-v-59ea4a90] {
364
+ .bgl_btn-icon.thin[data-v-26f1062f] {
364
365
  height: calc(var(--btn-height) / 1.5);
365
366
  width: calc(var(--btn-height) / 1.5);
366
367
  line-height: 1;
367
368
  }
368
- [dir="rtl"] .bgl_.bgl_icon-font[data-v-59ea4a90] {
369
+ [dir="rtl"] .bgl_.bgl_icon-font[data-v-26f1062f] {
369
370
  transform: rotateY(180deg);
370
371
  }
371
- .bgl_btn-border[data-v-59ea4a90] {
372
- outline: 1px solid var(--39397c0e);
373
- color: var(--39397c0e);
372
+ .bgl_btn-border[data-v-26f1062f] {
373
+ outline: 1px solid var(--50d471e9);
374
+ color: var(--50d471e9);
374
375
  background: transparent;
375
376
  }
376
- .bgl_btn-border[data-v-59ea4a90]:hover {
377
+ .bgl_btn-border[data-v-26f1062f]:hover {
377
378
  color: var(--bgl-white);
378
- background: var(--39397c0e);
379
+ background: var(--50d471e9);
379
380
  filter: brightness(100%);
380
381
  }
381
- .bgl_btn-border[data-v-59ea4a90]:active {
382
+ .bgl_btn-border[data-v-26f1062f]:active {
382
383
  filter: brightness(80%);
383
384
  }
384
385
  .bg-dark {
@@ -2157,58 +2158,58 @@ svg.leaflet-image-layer.leaflet-interactive path {
2157
2158
  font-size: var(--label-font-size);
2158
2159
  }
2159
2160
 
2160
- .bagel-input textarea[data-v-5e9a753f] {
2161
+ .bagel-input textarea[data-v-82137f41] {
2161
2162
  min-height: unset;
2162
2163
  font-size: var(--input-font-size);
2163
2164
  }
2164
- .bagel-input.text-input textarea[data-v-5e9a753f] {
2165
+ .bagel-input.text-input textarea[data-v-82137f41] {
2165
2166
  resize: none;
2166
2167
  }
2167
- .code textarea[data-v-5e9a753f] {
2168
+ .code textarea[data-v-82137f41] {
2168
2169
  font-family: 'Inconsolata', monospace;
2169
2170
  background: var(--bgl-black) !important;
2170
2171
  color: var(--bgl-white) !important;
2171
2172
  }
2172
- .code textarea[data-v-5e9a753f]::placeholder {
2173
+ .code textarea[data-v-82137f41]::placeholder {
2173
2174
  color: var(--bgl-white) !important;
2174
2175
  opacity: 0.3;
2175
2176
  }
2176
- .bagel-input.small[data-v-5e9a753f] {
2177
+ .bagel-input.small[data-v-82137f41] {
2177
2178
  margin-bottom: 0;
2178
2179
  height: 30px;
2179
2180
  }
2180
- .bagel-input.dense label[data-v-5e9a753f] {
2181
+ .bagel-input.dense label[data-v-82137f41] {
2181
2182
  display: flex;
2182
2183
  align-items: center;
2183
2184
  gap: 0.5rem;
2184
2185
  }
2185
- .bagel-input input[data-v-5e9a753f]:disabled {
2186
+ .bagel-input input[data-v-82137f41]:disabled {
2186
2187
  background: #f5f5f5;
2187
2188
  }
2188
- .bagel-input label[data-v-5e9a753f] {
2189
+ .bagel-input label[data-v-82137f41] {
2189
2190
  font-size: var(--label-font-size);
2190
2191
  }
2191
- .textInputIconWrap[data-v-5e9a753f] {
2192
+ .textInputIconWrap[data-v-82137f41] {
2192
2193
  position: relative;
2193
2194
  }
2194
- .textInputIconWrap .bgl_icon-font[data-v-5e9a753f] {
2195
+ .textInputIconWrap .bgl_icon-font[data-v-82137f41] {
2195
2196
  position: absolute;
2196
2197
  inset-inline-end: 0.7rem;
2197
2198
  bottom: 50%;
2198
2199
  line-height: 0;
2199
2200
  color: var(--bgl-gray);
2200
2201
  }
2201
- .txtInputIconStart .iconStart[data-v-5e9a753f] {
2202
+ .txtInputIconStart .iconStart[data-v-82137f41] {
2202
2203
  position: absolute;
2203
2204
  inset-inline-start: 0.7rem;
2204
2205
  top: 50%;
2205
2206
  line-height: 0;
2206
2207
  color: var(--bgl-gray);
2207
2208
  }
2208
- .txtInputIconStart textarea[data-v-5e9a753f] {
2209
+ .txtInputIconStart textarea[data-v-82137f41] {
2209
2210
  padding-inline-start: 2rem;
2210
2211
  }
2211
- .bagel-input.small textarea[data-v-5e9a753f] {
2212
+ .bagel-input.small textarea[data-v-82137f41] {
2212
2213
  height: 30px;
2213
2214
  }
2214
2215
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.627",
4
+ "version": "0.0.631",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -202,13 +202,14 @@ a {
202
202
 
203
203
  .bgl_btn.bgl_flatBtn:hover,
204
204
  .bgl_btn-icon.bgl_flatBtn:hover {
205
- filter: var(--bgl-active-filter);
205
+ filter: var(--bgl-hover-filter);
206
+ background: var(--bgl-gray-20);
206
207
  }
207
208
 
208
209
  .bgl_btn.bgl_flatBtn:active,
209
210
  .bgl_btn-icon.bgl_flatBtn:active {
210
211
  background: var(--bgl-gray-40);
211
- filter: var(--bgl-hover-filter);
212
+ filter: var(--bgl-active-filter);
212
213
  }
213
214
 
214
215
  .bgl_btn.bgl_flatBtn.red,
@@ -90,7 +90,7 @@ onMounted(() => {
90
90
  v-if="!multiline && !autoheight && !code"
91
91
  :id="id"
92
92
  ref="input"
93
- v-model="inputVal"
93
+ v-model.trim="inputVal"
94
94
  :title="title"
95
95
  :autocomplete="autocomplete"
96
96
  :type="type"