vueless 0.0.593 → 0.0.595

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.593",
3
+ "version": "0.0.595",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -277,7 +277,7 @@ watchEffect(() => {
277
277
  <div v-bind="wrapperAttrs" ref="wrapper">
278
278
  <UInput
279
279
  :id="elementId"
280
- :key="String(userDateFormat)"
280
+ :key="String(userFormatDate)"
281
281
  ref="input"
282
282
  :model-value="userFormatDate"
283
283
  :label-align="labelAlign"
@@ -288,7 +288,7 @@ watchEffect(() => {
288
288
  :disabled="disabled"
289
289
  :size="size"
290
290
  :left-icon="leftIcon"
291
- :right-icon="rightIcon"
291
+ :right-icon="rightIcon || config.defaults.calendarIcon"
292
292
  v-bind="isShownCalendar ? datepickerInputActiveAttrs : datepickerInputAttrs"
293
293
  @input="onTextInput"
294
294
  @focus="activate"
@@ -306,7 +306,7 @@ watchEffect(() => {
306
306
  <!--
307
307
  @slot Use it add an icon before the date.
308
308
  @binding {string} icon-name
309
- @binding {string} icon-nize
309
+ @binding {string} icon-size
310
310
  -->
311
311
  <slot name="left-icon" :icon-name="iconName" :icon-size="iconSize" />
312
312
  </template>
@@ -130,6 +130,6 @@ export default /*tw*/ {
130
130
  timepicker: false,
131
131
  disabled: false,
132
132
  /* icons */
133
- rightIcon: "calendar_month-fill",
133
+ calendarIcon: "calendar_month-fill",
134
134
  },
135
135
  };
@@ -594,7 +594,7 @@ watchEffect(() => {
594
594
  :error="error"
595
595
  readonly
596
596
  :left-icon="leftIcon"
597
- :right-icon="rightIcon"
597
+ :right-icon="rightIcon || config.defaults.calendarIcon"
598
598
  v-bind="isShownMenu ? datepickerActiveInputAttrs : datepickerInputAttrs"
599
599
  @focus="activate"
600
600
  >
@@ -217,7 +217,7 @@ export default /*tw*/ {
217
217
  maxDate: undefined,
218
218
  minDate: undefined,
219
219
  /* icons */
220
- rightIcon: "calendar_month-fill",
220
+ calendarIcon: "calendar_month-fill",
221
221
  nextIcon: "keyboard_arrow_right",
222
222
  prevIcon: "keyboard_arrow_left",
223
223
  ownRangeIcon: "apps",
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.593",
4
+ "version": "0.0.595",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -3075,8 +3075,7 @@
3075
3075
  "value": {
3076
3076
  "kind": "expression",
3077
3077
  "type": "string"
3078
- },
3079
- "default": "calendar_month-fill"
3078
+ }
3080
3079
  },
3081
3080
  {
3082
3081
  "name": "disabled",
@@ -3160,6 +3159,7 @@
3160
3159
  "name": "icon-name"
3161
3160
  },
3162
3161
  {
3162
+ "type": "string",
3163
3163
  "name": "icon-size"
3164
3164
  }
3165
3165
  ]
@@ -3371,8 +3371,7 @@
3371
3371
  "value": {
3372
3372
  "kind": "expression",
3373
3373
  "type": "string"
3374
- },
3375
- "default": "calendar_month-fill"
3374
+ }
3376
3375
  },
3377
3376
  {
3378
3377
  "name": "label",