@simsustech/quasar-components 0.10.5 → 0.10.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.10.6
4
+
5
+ ### Patch Changes
6
+
7
+ - ca2f3e2: style(DateInput): fix margins
8
+
3
9
  ## 0.10.5
4
10
 
5
11
  ### Patch Changes
package/dist/form.js CHANGED
@@ -360,7 +360,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
360
360
  });
361
361
  const _hoisted_1$1 = {
362
362
  key: 0,
363
- style: { "margin-left": "-0.5em", "margin-top": "0.75em" }
363
+ style: { "margin-left": "-0.75em", "margin-top": "0.75em" }
364
364
  };
365
365
  const _hoisted_2$1 = { class: "row items-center justify-end" };
366
366
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
@@ -457,7 +457,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
457
457
  placeholder: lang2.value.datePicker.YYYY,
458
458
  style: "width: 7ch; margin-top: -2em; margin-bottom: -0.5em",
459
459
  // suffix: format.value === 'YYYY-MM-DD' ? '-' : undefined,
460
- class: format.value !== "YYYY-MM-DD" ? "q-mb-none q-ml-xs" : void 0,
460
+ class: format.value !== "YYYY-MM-DD" ? "q-mb-none q-ml-none" : void 0,
461
461
  "onUpdate:modelValue": setYear,
462
462
  onKeydown: goToNextElement
463
463
  },
@@ -466,7 +466,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
466
466
  placeholder: lang2.value.datePicker.MM,
467
467
  style: "width: 6ch; margin-top: -2em; margin-bottom: -0.5em",
468
468
  // suffix: '-',
469
- class: "q-ml-xs",
469
+ class: "q-ml-none",
470
470
  "onUpdate:modelValue": setMonth,
471
471
  onKeydown: goToNextElement
472
472
  },
@@ -475,7 +475,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
475
475
  placeholder: lang2.value.datePicker.DD,
476
476
  style: "width: 6ch; margin-top: -2em; margin-bottom: -0.5em",
477
477
  // suffix: format.value === 'DD-MM-YYYY' ? '-' : undefined,
478
- class: format.value === "YYYY-MM-DD" ? "q-ml-xs" : void 0,
478
+ class: format.value === "YYYY-MM-DD" ? "q-ml-none" : void 0,
479
479
  "onUpdate:modelValue": setDay,
480
480
  onKeydown: goToNextElement
481
481
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -15,7 +15,7 @@
15
15
  v-bind="dateProps[part]"
16
16
  >
17
17
  <template #after>
18
- <a v-if="index < 2" style="margin-left: -0.5em; margin-top: 0.75em"
18
+ <a v-if="index < 2" style="margin-left: -0.75em; margin-top: 0.75em"
19
19
  >-</a
20
20
  >
21
21
  </template>
@@ -187,7 +187,7 @@ const dateProps = computed<Record<string, QInputProps>>(() => ({
187
187
  placeholder: lang.value.datePicker.YYYY,
188
188
  style: 'width: 7ch; margin-top: -2em; margin-bottom: -0.5em',
189
189
  // suffix: format.value === 'YYYY-MM-DD' ? '-' : undefined,
190
- class: format.value !== 'YYYY-MM-DD' ? 'q-mb-none q-ml-xs' : undefined,
190
+ class: format.value !== 'YYYY-MM-DD' ? 'q-mb-none q-ml-none' : undefined,
191
191
  'onUpdate:modelValue': setYear,
192
192
  onKeydown: goToNextElement
193
193
  },
@@ -196,7 +196,7 @@ const dateProps = computed<Record<string, QInputProps>>(() => ({
196
196
  placeholder: lang.value.datePicker.MM,
197
197
  style: 'width: 6ch; margin-top: -2em; margin-bottom: -0.5em',
198
198
  // suffix: '-',
199
- class: 'q-ml-xs',
199
+ class: 'q-ml-none',
200
200
  'onUpdate:modelValue': setMonth,
201
201
  onKeydown: goToNextElement
202
202
  },
@@ -205,7 +205,7 @@ const dateProps = computed<Record<string, QInputProps>>(() => ({
205
205
  placeholder: lang.value.datePicker.DD,
206
206
  style: 'width: 6ch; margin-top: -2em; margin-bottom: -0.5em',
207
207
  // suffix: format.value === 'DD-MM-YYYY' ? '-' : undefined,
208
- class: format.value === 'YYYY-MM-DD' ? 'q-ml-xs' : undefined,
208
+ class: format.value === 'YYYY-MM-DD' ? 'q-ml-none' : undefined,
209
209
  'onUpdate:modelValue': setDay,
210
210
  onKeydown: goToNextElement
211
211
  }