@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/CHANGELOG.md +6 -0
- package/dist/{es-ed911940.mjs → es-377a9cf5.mjs} +1 -1
- package/dist/{index-7d671d89.mjs → index-b1df986c.mjs} +4 -3
- package/dist/index.d.ts +52 -8
- package/dist/{pt-br-eaae2beb.mjs → pt-br-90f4bbeb.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +1 -1
- package/dist/unnnic.umd.js +1 -1
- package/package.json +1 -1
- package/src/components/Chip/Chip.vue +1 -0
- package/src/stories/Chip.stories.js +17 -0
package/package.json
CHANGED
|
@@ -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: {
|