vueless 0.0.432 → 0.0.433

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,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.432",
3
+ "version": "0.0.433",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -234,7 +234,7 @@ const props = defineProps({
234
234
  */
235
235
  rightIcon: {
236
236
  type: String,
237
- default: getDefault(defaultConfig, UDatePicker).calendarIcon,
237
+ default: getDefault(defaultConfig, UDatePicker).rightIcon,
238
238
  },
239
239
 
240
240
  /**
@@ -123,7 +123,6 @@ export default /*tw*/ {
123
123
  dateTimeFormat: undefined,
124
124
  maxDate: undefined,
125
125
  minDate: undefined,
126
- /* icons */
127
- calendarIcon: "calendar_month-fill",
126
+ rightIcon: "calendar_month-fill",
128
127
  },
129
128
  };
@@ -7,6 +7,7 @@
7
7
  v-model="userFormatDate"
8
8
  :size="size"
9
9
  :label="label"
10
+ :label-align="labelAlign"
10
11
  :disabled="disabled"
11
12
  :placeholder="placeholder"
12
13
  :description="description"
@@ -300,7 +301,7 @@ const props = defineProps({
300
301
  */
301
302
  rightIcon: {
302
303
  type: String,
303
- default: getDefault(defaultConfig, UDatePickerRange).calendarIcon,
304
+ default: getDefault(defaultConfig, UDatePickerRange).rightIcon,
304
305
  },
305
306
 
306
307
  /**
@@ -311,6 +312,15 @@ const props = defineProps({
311
312
  default: "",
312
313
  },
313
314
 
315
+ /**
316
+ * Label placement.
317
+ * @values top, topInside, topWithDesc, left, right
318
+ */
319
+ labelAlign: {
320
+ type: String,
321
+ default: getDefault(defaultConfig, UDatePickerRange).labelAlign,
322
+ },
323
+
314
324
  /**
315
325
  * Input placeholder for an input type.
316
326
  */
@@ -187,6 +187,7 @@ export default /*tw*/ {
187
187
  defaults: {
188
188
  size: "md",
189
189
  variant: "button",
190
+ labelAlign: "topInside",
190
191
  openDirectionX: "auto",
191
192
  openDirectionY: "auto",
192
193
  timepicker: false,
@@ -194,10 +195,10 @@ export default /*tw*/ {
194
195
  dateFormat: undefined,
195
196
  maxDate: undefined,
196
197
  minDate: undefined,
198
+ rightIcon: "calendar_month-fill",
197
199
  /* icons */
198
200
  nextIcon: "keyboard_arrow_right",
199
201
  prevIcon: "keyboard_arrow_left",
200
202
  ownRangeIcon: "apps",
201
- calendarIcon: "calendar_month-fill",
202
203
  },
203
204
  };
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.432",
4
+ "version": "0.0.433",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -2484,7 +2484,7 @@
2484
2484
  "kind": "expression",
2485
2485
  "type": "string"
2486
2486
  },
2487
- "default": "getDefault(defaultConfig, UDatePicker).calendarIcon"
2487
+ "default": "calendar_month-fill"
2488
2488
  },
2489
2489
  {
2490
2490
  "name": "disabled",
@@ -2708,7 +2708,7 @@
2708
2708
  "kind": "expression",
2709
2709
  "type": "string"
2710
2710
  },
2711
- "default": "getDefault(defaultConfig, UDatePickerRange).calendarIcon"
2711
+ "default": "calendar_month-fill"
2712
2712
  },
2713
2713
  {
2714
2714
  "name": "label",
@@ -2719,6 +2719,15 @@
2719
2719
  },
2720
2720
  "default": "\"\""
2721
2721
  },
2722
+ {
2723
+ "name": "labelAlign",
2724
+ "description": "Label placement.",
2725
+ "value": {
2726
+ "kind": "expression",
2727
+ "type": "'top' | 'topInside' | 'topWithDesc' | 'left' | 'right'"
2728
+ },
2729
+ "default": "topInside"
2730
+ },
2722
2731
  {
2723
2732
  "name": "placeholder",
2724
2733
  "description": "Input placeholder for an input type.",