@weni/unnnic-system 3.24.2 → 3.24.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weni/unnnic-system",
3
- "version": "3.24.2",
3
+ "version": "3.24.3",
4
4
  "type": "commonjs",
5
5
  "files": [
6
6
  "dist",
@@ -18,6 +18,7 @@
18
18
  >
19
19
  {{ count }}
20
20
  </p>
21
+ <slot name="right" />
21
22
  <UnnnicIcon
22
23
  v-if="type === 'multiple'"
23
24
  :icon="isSelected ? 'close' : 'add'"
@@ -1,4 +1,5 @@
1
1
  import UnnnicChip from '../components/Chip/Chip.vue';
2
+ import UnnnicIcon from '../components/Icon.vue';
2
3
 
3
4
  export default {
4
5
  title: 'Data Display/Chip',
@@ -147,6 +148,22 @@ export const ClickableSelected = {
147
148
  },
148
149
  };
149
150
 
151
+ export const WithRightSlot = {
152
+ render: (args) => ({
153
+ components: { UnnnicChip, UnnnicIcon },
154
+ setup() {
155
+ return { args };
156
+ },
157
+ template: `
158
+ <UnnnicChip v-bind="args">
159
+ <template #right>
160
+ <UnnnicIcon icon="material-symbols:account-circle-sharp" size="sm" scheme="fg-base" />
161
+ </template>
162
+ </UnnnicChip>
163
+ `,
164
+ }),
165
+ };
166
+
150
167
  // Interactive example showing state changes
151
168
  export const Interactive = {
152
169
  args: {