vueless 0.0.712 → 0.0.713

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.712",
3
+ "version": "0.0.713",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -564,20 +564,6 @@ const {
564
564
  </div>
565
565
 
566
566
  <div ref="innerWrapperRef" v-bind="innerWrapperAttrs">
567
- <span
568
- v-if="hasSlotContent($slots['left']) || leftIcon"
569
- ref="leftSlotWrapperRef"
570
- v-bind="leftSlotAttrs"
571
- >
572
- <!--
573
- @slot Use it to add something to the left of input.
574
- @binding {string} icon-name
575
- -->
576
- <slot name="left" :icon-name="leftIcon">
577
- <UIcon v-if="leftIcon" :name="leftIcon" internal v-bind="leftIconAttrs" />
578
- </slot>
579
- </span>
580
-
581
567
  <div v-if="multiple && localValue?.length" v-bind="selectedLabelsAttrs">
582
568
  <div
583
569
  v-for="item in localValue as Option[]"
@@ -745,6 +731,20 @@ const {
745
731
  </template>
746
732
  </template>
747
733
  </UDropdownList>
734
+
735
+ <div
736
+ v-if="hasSlotContent($slots['left']) || leftIcon"
737
+ ref="leftSlotWrapperRef"
738
+ v-bind="leftSlotAttrs"
739
+ >
740
+ <!--
741
+ @slot Use it to add something to the left of input.
742
+ @binding {string} icon-name
743
+ -->
744
+ <slot name="left" :icon-name="leftIcon">
745
+ <UIcon v-if="leftIcon" :name="leftIcon" internal v-bind="leftIconAttrs" />
746
+ </slot>
747
+ </div>
748
748
  </div>
749
749
  </ULabel>
750
750
  </template>
@@ -82,7 +82,7 @@ export default /*tw*/ {
82
82
  },
83
83
  leftIcon: "{UIcon} {>selectIcon}",
84
84
  rightIcon: "{UIcon} {>selectIcon}",
85
- leftSlot: "pr-1.5",
85
+ leftSlot: "{>toggle} pl-3",
86
86
  rightSlot: "{>toggle} pr-3",
87
87
  beforeToggle: "{>toggle} cursor-auto",
88
88
  afterToggle: "{>toggle} mr-3 items-start pt-3 cursor-auto",