@bagelink/vue 0.0.1163 → 0.0.1165

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/index.cjs CHANGED
@@ -21644,7 +21644,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21644
21644
  const emit2 = __emit;
21645
21645
  let numberValue = vue.ref(Number.parseFloat(`${__props.modelValue}`) || void 0);
21646
21646
  const btnLayouts = ["horizontal", "vertical"];
21647
- const canAdd = vue.computed(() => !(__props.max !== void 0 && (numberValue.value || 0 + __props.step) > __props.max));
21647
+ const canAdd = vue.computed(() => !(__props.max !== void 0 && (numberValue.value || 0) + __props.step > __props.max));
21648
21648
  const canDecrement = vue.computed(() => !(__props.min !== void 0 && (numberValue.value || 0 - __props.step) < __props.min));
21649
21649
  function increment() {
21650
21650
  if (!canAdd.value) return;
@@ -21780,7 +21780,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21780
21780
  };
21781
21781
  }
21782
21782
  });
21783
- const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-8ae5f930"]]);
21783
+ const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-eddf76f4"]]);
21784
21784
  const _hoisted_1$y = ["value", "autofocus", "onKeydown", "onPaste"];
21785
21785
  const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
21786
21786
  __name: "OTP",
package/dist/index.mjs CHANGED
@@ -21642,7 +21642,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21642
21642
  const emit2 = __emit;
21643
21643
  let numberValue = ref(Number.parseFloat(`${__props.modelValue}`) || void 0);
21644
21644
  const btnLayouts = ["horizontal", "vertical"];
21645
- const canAdd = computed(() => !(__props.max !== void 0 && (numberValue.value || 0 + __props.step) > __props.max));
21645
+ const canAdd = computed(() => !(__props.max !== void 0 && (numberValue.value || 0) + __props.step > __props.max));
21646
21646
  const canDecrement = computed(() => !(__props.min !== void 0 && (numberValue.value || 0 - __props.step) < __props.min));
21647
21647
  function increment() {
21648
21648
  if (!canAdd.value) return;
@@ -21778,7 +21778,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21778
21778
  };
21779
21779
  }
21780
21780
  });
21781
- const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-8ae5f930"]]);
21781
+ const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-eddf76f4"]]);
21782
21782
  const _hoisted_1$y = ["value", "autofocus", "onKeydown", "onPaste"];
21783
21783
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
21784
21784
  __name: "OTP",
package/dist/style.css CHANGED
@@ -1240,14 +1240,14 @@ pre code.hljs{
1240
1240
  direction: ltr;
1241
1241
  }
1242
1242
 
1243
- .txtInputIconStart .iconStart[data-v-8ae5f930] {
1243
+ .txtInputIconStart .iconStart[data-v-eddf76f4] {
1244
1244
  color: var(--input-color);
1245
1245
  position: absolute;
1246
1246
  inset-inline-start:calc(var(--input-height) / 3 - 0.25rem);
1247
1247
  margin-top: calc(var(--input-height) / 2 );
1248
1248
  line-height: 0;
1249
1249
  }
1250
- .textInputSpinnerWrap .spinner[data-v-8ae5f930] {
1250
+ .textInputSpinnerWrap .spinner[data-v-eddf76f4] {
1251
1251
  color: var(--input-color);
1252
1252
  position: absolute;
1253
1253
  inset-inline-end: 0;
@@ -1257,18 +1257,18 @@ pre code.hljs{
1257
1257
  flex-direction: column;
1258
1258
  gap: 0;
1259
1259
  }
1260
- .top-bgl-ctrl-num-btn[data-v-8ae5f930]{
1260
+ .top-bgl-ctrl-num-btn[data-v-eddf76f4]{
1261
1261
  margin-top: calc(var(--input-height) / 10) !important;
1262
1262
  }
1263
- .bgl-ctrl-num-btn[data-v-8ae5f930]{
1263
+ .bgl-ctrl-num-btn[data-v-eddf76f4]{
1264
1264
  height: calc(var(--input-height) / 2.5) !important;
1265
1265
  isolation: isolate;
1266
1266
  }
1267
- .bgl-big-ctrl-num-btn[data-v-8ae5f930]{
1267
+ .bgl-big-ctrl-num-btn[data-v-eddf76f4]{
1268
1268
  width: 100% !important;
1269
1269
  isolation: isolate;
1270
1270
  }
1271
- .bgl-number-input[data-v-8ae5f930]{
1271
+ .bgl-number-input[data-v-eddf76f4]{
1272
1272
  padding-inline-end: 1.75rem !important;
1273
1273
  }
1274
1274
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.1163",
4
+ "version": "0.0.1165",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -48,7 +48,7 @@ let numberValue = $ref(Number.parseFloat(`${modelValue}`) || undefined)
48
48
 
49
49
  const btnLayouts: NumberLayout[] = ['horizontal', 'vertical']
50
50
 
51
- const canAdd = $computed(() => !(max !== undefined && (numberValue || 0 + step) > max))
51
+ const canAdd = $computed(() => !(max !== undefined && ((numberValue || 0) + step) > max))
52
52
  const canDecrement = $computed(() => !(min !== undefined && (numberValue || 0 - step) < min))
53
53
 
54
54
  // Methods