@eslamdevui/ui 3.3.2-beta.0 → 3.3.3

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/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslamdevui/ui",
3
- "version": "3.3.2-beta.0",
3
+ "version": "3.3.3",
4
4
  "docs": "https://ui.nuxt.com/getting-started/installation/nuxt",
5
5
  "configKey": "ui",
6
6
  "compatibility": {
package/dist/module.mjs CHANGED
@@ -8,7 +8,7 @@ import 'tailwindcss/colors';
8
8
  import 'knitwork';
9
9
 
10
10
  const name = "@eslamdevui/ui";
11
- const version = "3.3.2-beta.0";
11
+ const version = "3.3.3";
12
12
 
13
13
  function generateProseComponentMap(components) {
14
14
  return components.reduce((map, component) => {
@@ -54,14 +54,22 @@ defineExpose({
54
54
  v-for="(item, index) of items"
55
55
  :key="index"
56
56
  :ref="(el) => triggersRef[index] = el"
57
- `
58
57
  :value="item.value || String(index)"
59
58
  :disabled="item.disabled"
60
59
  :class="ui.trigger({ class: [props.ui?.trigger, item.ui?.trigger] })"
61
60
  >
62
61
  <slot name="leading" :item="item" :index="index">
63
- <UIcon v-if="item.icon" :name="item.icon" :class="ui.leadingIcon({ class: [props.ui?.leadingIcon, item.ui?.leadingIcon] })" />
64
- <UAvatar v-else-if="item.avatar" :size="item.ui?.leadingAvatarSize || props.ui?.leadingAvatarSize || ui.leadingAvatarSize()" v-bind="item.avatar" :class="ui.leadingAvatar({ class: [props.ui?.leadingAvatar, item.ui?.leadingAvatar] })" />
62
+ <UIcon
63
+ v-if="item.icon"
64
+ :name="item.icon"
65
+ :class="ui.leadingIcon({ class: [props.ui?.leadingIcon, item.ui?.leadingIcon] })"
66
+ />
67
+ <UAvatar
68
+ v-else-if="item.avatar"
69
+ :size="item.ui?.leadingAvatarSize || props.ui?.leadingAvatarSize || ui.leadingAvatarSize()"
70
+ v-bind="item.avatar"
71
+ :class="ui.leadingAvatar({ class: [props.ui?.leadingAvatar, item.ui?.leadingAvatar] })"
72
+ />
65
73
  </slot>
66
74
 
67
75
  <span
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eslamdevui/ui",
3
3
  "description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.",
4
- "version": "3.3.2-beta.0",
4
+ "version": "3.3.3",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "repository": {
7
7
  "type": "git",