@weni/unnnic-system 2.0.16 → 2.0.17

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.
Files changed (69) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/unnnic.mjs +1044 -1033
  3. package/dist/unnnic.umd.js +18 -18
  4. package/package.json +3 -2
  5. package/src/components/AudioRecorder/AudioHandler.vue +2 -0
  6. package/src/components/AudioRecorder/AudioPlayer.vue +2 -0
  7. package/src/components/AudioRecorder/AudioRecorder.vue +6 -4
  8. package/src/components/Card/CardData.vue +2 -2
  9. package/src/components/CardProject/CardProject.vue +6 -6
  10. package/src/components/ChartRainbow/ChartRainbow.vue +4 -4
  11. package/src/components/ChatsMessage/ChatsMessage.vue +11 -2
  12. package/src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue +1 -4
  13. package/src/components/DateFilter/DateFilter.vue +2 -2
  14. package/src/components/DatePicker/DatePicker.vue +2 -2
  15. package/src/components/Dropdown/LanguageSelect.vue +7 -7
  16. package/src/components/ImportCard/ImportCard.vue +2 -2
  17. package/src/components/ProgressBar/ProgressBar.vue +3 -3
  18. package/src/components/Sidebar/SidebarPrimary.vue +15 -5
  19. package/src/components/TabsExpanded/TabsExpanded.vue +1 -0
  20. package/src/stories/Accordion.stories.js +35 -40
  21. package/src/stories/Alert.stories.js +98 -83
  22. package/src/stories/Breadcrumb.stories.js +12 -23
  23. package/src/stories/ButtonIcon.stories.js +2 -2
  24. package/src/stories/CardCompany.stories.js +52 -58
  25. package/src/stories/CardData.stories.js +8 -26
  26. package/src/stories/CardImage.stories.js +49 -48
  27. package/src/stories/CardInformation.stories.js +33 -54
  28. package/src/stories/CardProject.stories.js +50 -52
  29. package/src/stories/Carousel.stories.js +32 -27
  30. package/src/stories/ChartBar.stories.js +82 -102
  31. package/src/stories/ChartLine.stories.js +42 -52
  32. package/src/stories/ChartMultiLine.stories.js +39 -49
  33. package/src/stories/ChartRainbow.stories.js +2 -2
  34. package/src/stories/ChatText.stories.js +38 -44
  35. package/src/stories/ChatsContact.stories.js +57 -54
  36. package/src/stories/ChatsDashboardTagLive.stories.js +1 -8
  37. package/src/stories/ChatsHeader.stories.js +63 -74
  38. package/src/stories/ChatsMessage.stories.js +208 -216
  39. package/src/stories/CircleProgressBar.stories.js +4 -20
  40. package/src/stories/Collapse.stories.js +49 -55
  41. package/src/stories/Comment.stories.js +57 -54
  42. package/src/stories/DataArea.stories.js +60 -65
  43. package/src/stories/DateFilter.stories.js +7 -12
  44. package/src/stories/DatePicker.stories.js +50 -68
  45. package/src/stories/Disclaimer.stories.js +12 -27
  46. package/src/stories/Drawer.stories.js +116 -110
  47. package/src/stories/Dropdown.stories.js +22 -12
  48. package/src/stories/FormElement.stories.js +18 -23
  49. package/src/stories/Grid.stories.js +4 -10
  50. package/src/stories/Icon.stories.js +2 -2
  51. package/src/stories/IconLoading.stories.js +5 -11
  52. package/src/stories/ImportCard.stories.js +12 -19
  53. package/src/stories/Indicator.stories.js +8 -13
  54. package/src/stories/InputDatePicker.stories.js +27 -32
  55. package/src/stories/LanguageSelect.stories.js +12 -16
  56. package/src/stories/Modal.stories.js +66 -40
  57. package/src/stories/MoodRating.stories.js +27 -32
  58. package/src/stories/MultiSelect.stories.js +56 -50
  59. package/src/stories/Pagination.stories.js +21 -29
  60. package/src/stories/ProgressBar.stories.js +19 -54
  61. package/src/stories/Radio.stories.js +36 -35
  62. package/src/stories/Sidebar.stories.js +29 -27
  63. package/src/stories/SidebarPrimary.stories.js +87 -80
  64. package/src/stories/SkeletonLoading.stories.js +12 -29
  65. package/src/stories/StarRating.stories.js +29 -33
  66. package/src/stories/Switch.stories.js +26 -19
  67. package/src/stories/TabsExpanded.stories.js +56 -58
  68. package/src/stories/TextArea.stories.js +29 -34
  69. package/src/stories/TransitionRipple.stories.js +19 -18
@@ -1,11 +1,11 @@
1
- import alertCaller from '../components/Alert/AlertCaller.vue';
1
+ import AlertCaller from '../components/Alert/AlertCaller.vue';
2
2
  import alert from '../utils/call';
3
- import unnnicAlert from '../components/Alert/Alert.vue';
4
- import alertBanner from '../components/Alert/AlertBanner.vue';
3
+ import UnnnicAlert from '../components/Alert/Alert.vue';
4
+ import AlertBanner from '../components/Alert/AlertBanner.vue';
5
5
 
6
6
  export default {
7
7
  title: 'example/Alert',
8
- component: unnnicAlert,
8
+ component: UnnnicAlert,
9
9
  argTypes: {
10
10
  text: { control: { type: 'text' } },
11
11
  showCloseButton: { control: { type: 'boolean' } },
@@ -56,74 +56,106 @@ export default {
56
56
  },
57
57
  };
58
58
 
59
- const Template = (args, { argTypes }) => ({
60
- props: Object.keys(argTypes),
61
- components: { alertCaller, unnnicAlert },
62
- template: `
63
- <div>
64
- <button @click="unnnicCallAlert">Click for alert</button>
59
+ export const Normal = {
60
+ render: (args) => ({
61
+ components: { AlertCaller, UnnnicAlert },
62
+ setup() {
63
+ return { args };
64
+ },
65
+ methods: {
66
+ unnnicCallAlert() {
67
+ alert.callAlert({ props: this.args, seconds: this.args.seconds });
68
+ },
69
+ },
70
+ template: `
71
+ <div>
72
+ <button @click="unnnicCallAlert">Click for alert</button>
65
73
 
66
- <h3>Refactoring changes:</h3>
74
+ <h3>Refactoring changes:</h3>
67
75
 
68
- <ul>
69
- <li>Removed props: title, icon, hide-close-text, close-text, position</li>
70
- <li>Added props: link-text, link-href, link-target (default: '_blank'), type (default, success, error)</li>
71
- <li>Avoid using scheme prop, instead use the 'type' prop to change the color variant</li>
72
- <li>Avoid using on-close prop to listen to close event, instead use the '@close' event</li>
73
- </ul>
76
+ <ul>
77
+ <li>Removed props: title, icon, hide-close-text, close-text, position</li>
78
+ <li>Added props: link-text, link-href, link-target (default: '_blank'), type (default, success, error)</li>
79
+ <li>Avoid using scheme prop, instead use the 'type' prop to change the color variant</li>
80
+ <li>Avoid using on-close prop to listen to close event, instead use the '@close' event</li>
81
+ </ul>
74
82
 
75
- <pre>
76
- Recommended use:
83
+ <pre>
84
+ Recommended use:
77
85
 
78
- &lt;unnnic-alert
79
- type String default 'default' ('default', 'success', 'error')
80
- text String required
81
- @close Event
82
- link-href String
83
- ┠ link-text String default 'Learn more'
84
- ┖ link-target String default '_blank'
85
- /&gt;
86
- </pre>
87
- </div>`,
88
- methods: {
89
- unnnicCallAlert() {
90
- alert.callAlert({ props: this.$props, seconds: this.$props.seconds });
91
- },
86
+ &lt;unnnic-alert
87
+ type String default 'default' ('default', 'success', 'error')
88
+ text String required
89
+ @close Event
90
+ link-href String
91
+ ┠ link-text String default 'Learn more'
92
+ ┖ link-target String default '_blank'
93
+ /&gt;
94
+ </pre>
95
+ </div>`,
96
+ }),
97
+ args: {
98
+ title: 'Title',
99
+ text: 'Text',
100
+ icon: 'check-circle-1-1',
101
+ scheme: 'feedback-green',
92
102
  },
93
- });
103
+ };
94
104
 
95
- const TemplateWithContainerRef = (args, { argTypes }) => ({
96
- props: Object.keys(argTypes),
97
- components: { alertCaller, unnnicAlert },
98
- template: `
99
- <div ref="divContainer" style="height: 200px; position: relative; border: 1px solid black">
100
- <button @click="unnnicCallAlert">Click for alert</button>
105
+ export const WithContainerRef = {
106
+ render: (args) => ({
107
+ components: { AlertCaller, UnnnicAlert },
108
+ setup() {
109
+ return { args };
110
+ },
111
+ methods: {
112
+ unnnicCallAlert() {
113
+ alert.callAlert({
114
+ props: this.args,
115
+ containerRef: this.$refs.divContainer,
116
+ });
117
+ },
118
+ },
119
+ template: `
120
+ <div ref="divContainer" style="height: 200px; position: relative; border: 1px solid black">
121
+ <button @click="unnnicCallAlert">Click for alert</button>
101
122
 
102
- <pre>
103
- To use, add position relative style to your container
104
- and pass it as "containerRef" at callAlert function like:
123
+ <pre>
124
+ To use, add position relative style to your container
125
+ and pass it as "containerRef" at callAlert function like:
105
126
 
106
- alert.callAlert({
107
- containerRef: this.$refs.divContainer,
108
- });
109
- </pre>
110
- </div>`,
111
- methods: {
112
- unnnicCallAlert() {
113
- alert.callAlert({
114
- props: this.$props,
115
- containerRef: this.$refs.divContainer,
116
- });
117
- },
127
+ alert.callAlert({
128
+ containerRef: this.$refs,
129
+ });
130
+ </pre>
131
+ </div>
132
+ `,
133
+ }),
134
+ args: {
135
+ title: 'Title',
136
+ text: 'Text',
137
+ icon: 'check-circle-1-1',
138
+ scheme: 'feedback-green',
118
139
  },
119
- });
140
+ };
120
141
 
121
- const TemplateBanner = (args, { argTypes }) => ({
122
- props: Object.keys(argTypes),
123
- components: { alertBanner },
124
- template: `
142
+ export const Banner = {
143
+ render: (args) => ({
144
+ components: { AlertBanner },
145
+ setup() {
146
+ return { args };
147
+ },
148
+ methods: {
149
+ unnnicCallAlert() {
150
+ alert.callAlert({
151
+ props: this.args,
152
+ containerRef: this.$refs.divContainer,
153
+ });
154
+ },
155
+ },
156
+ template: `
125
157
  <div>
126
- <alert-banner v-bind="$props" />
158
+ <alert-banner v-bind="args" />
127
159
 
128
160
  <pre>
129
161
  Recommended use:
@@ -139,26 +171,9 @@ const TemplateBanner = (args, { argTypes }) => ({
139
171
  /&gt;
140
172
  </pre>
141
173
  </div>`,
142
- });
143
-
144
- export const Normal = Template.bind({});
145
- Normal.args = {
146
- title: 'Title',
147
- text: 'Text',
148
- icon: 'check-circle-1-1',
149
- scheme: 'feedback-green',
150
- };
151
-
152
- export const WithContainerRef = TemplateWithContainerRef.bind({});
153
- WithContainerRef.args = {
154
- title: 'Title',
155
- text: 'Text',
156
- icon: 'check-circle-1-1',
157
- scheme: 'feedback-green',
158
- };
159
-
160
- export const Banner = TemplateBanner.bind({});
161
- Banner.args = {
162
- text: 'Text',
163
- showCloseButton: false,
174
+ }),
175
+ args: {
176
+ text: 'Text',
177
+ showCloseButton: false,
178
+ },
164
179
  };
@@ -1,31 +1,20 @@
1
- import unnnicBreadcrumb from '../components/Breadcrumb/Breadcrumb.vue';
1
+ import UnnnicBreadcrumb from '../components/Breadcrumb/Breadcrumb.vue';
2
+ import { action } from '@storybook/addon-actions';
2
3
 
3
4
  export default {
4
5
  title: 'Example/Breadcrumb',
5
- component: unnnicBreadcrumb,
6
- argTypes: {
7
- 'on-crumb-click': { action: '@crumb-click' },
6
+ component: UnnnicBreadcrumb,
7
+ args: {
8
+ onCrumbClick: action('crumb-click'),
8
9
  },
9
10
  };
10
11
 
11
- const Template = (args, { argTypes }) => ({
12
- props: Object.keys(argTypes),
13
-
14
- components: {
15
- unnnicBreadcrumb,
12
+ export const Default = {
13
+ args: {
14
+ crumbs: [
15
+ { name: 'One', path: '/One' },
16
+ { name: 'Two', path: '/Two' },
17
+ { name: 'Active', path: '/Active' },
18
+ ],
16
19
  },
17
-
18
- template: `
19
- <unnnic-breadcrumb v-bind="$props"></unnnic-breadcrumb>
20
- `,
21
- });
22
-
23
- export const Default = Template.bind({});
24
-
25
- Default.args = {
26
- crumbs: [
27
- { name: 'One', path: '/One' },
28
- { name: 'Two', path: '/Two' },
29
- { name: 'Active', path: '/Active' },
30
- ],
31
20
  };
@@ -1,11 +1,11 @@
1
- import unnnicButtonIcon from '../components/Button/ButtonIcon.vue';
1
+ import UnnnicButtonIcon from '../components/Button/ButtonIcon.vue';
2
2
  import icons from '../utils/icons';
3
3
 
4
4
  const iconsOptions = Object.keys(icons);
5
5
 
6
6
  export default {
7
7
  title: 'Form/ButtonIcon',
8
- component: unnnicButtonIcon,
8
+ component: UnnnicButtonIcon,
9
9
  argTypes: {
10
10
  size: {
11
11
  control: {
@@ -1,70 +1,64 @@
1
+ import { action } from '@storybook/addon-actions';
1
2
  import CardCompany from '../components/Card/CardCompany.vue';
2
3
 
3
4
  export default {
4
5
  title: 'Card/CardCompany',
5
6
  component: CardCompany,
6
7
  argTypes: {
7
- join: {
8
- action: 'join',
9
- },
8
+ onJoin: action('join'),
10
9
  },
11
10
  };
12
11
 
13
- const Template = (args, { argTypes }) => ({
14
- props: Object.keys(argTypes),
15
- components: { CardCompany },
16
- template: '<card-company v-bind="$props" @join="join"/>',
17
- });
18
-
19
- export const Normal = Template.bind({});
20
- Normal.args = {
21
- title: 'Weni',
22
- tag: 'Gratuita',
23
- description: 'Description',
24
- joinLabel: 'Join',
25
- options: [
26
- {
27
- icon: 'view-1-1',
28
- title: 'View members',
29
- click() {
30
- console.log('view');
12
+ export const Normal = {
13
+ args: {
14
+ title: 'Weni',
15
+ tag: 'Gratuita',
16
+ description: 'Description',
17
+ joinLabel: 'Join',
18
+ options: [
19
+ {
20
+ icon: 'view-1-1',
21
+ title: 'View members',
22
+ click() {
23
+ console.log('view');
24
+ },
25
+ },
26
+ {
27
+ icon: 'delete-1-1',
28
+ title: 'Delete organization',
29
+ scheme: 'feedback-red',
30
+ click() {
31
+ console.log('delete');
32
+ },
33
+ },
34
+ ],
35
+ members: [
36
+ {
37
+ name: 'Cristian',
38
+ photo:
39
+ 'https://weni-sp-connect-staging.s3.amazonaws.com/media/user/avatars/av_ef64cdfa-26b9-4896-93ba-098c00724d88.jpg?AWSAccessKeyId=AKIATQ3M7WDGK6GLYL6V&Signature=ka1ANr0Z6MuiRHKkOFbz%2Fr6krA4%3D&Expires=1625729559',
40
+ },
41
+ {
42
+ name: 'Cristian',
43
+ photo:
44
+ 'https://weni-sp-connect-staging.s3.amazonaws.com/media/user/avatars/av_ef64cdfa-26b9-4896-93ba-098c00724d88.jpg?AWSAccessKeyId=AKIATQ3M7WDGK6GLYL6V&Signature=ka1ANr0Z6MuiRHKkOFbz%2Fr6krA4%3D&Expires=1625729559',
31
45
  },
32
- },
33
- {
34
- icon: 'delete-1-1',
35
- title: 'Delete organization',
36
- scheme: 'feedback-red',
37
- click() {
38
- console.log('delete');
46
+ {
47
+ name: 'Cristian',
48
+ photo:
49
+ 'https://weni-sp-connect-staging.s3.amazonaws.com/media/user/avatars/av_ef64cdfa-26b9-4896-93ba-098c00724d88.jpg?AWSAccessKeyId=AKIATQ3M7WDGK6GLYL6V&Signature=ka1ANr0Z6MuiRHKkOFbz%2Fr6krA4%3D&Expires=1625729559',
39
50
  },
40
- },
41
- ],
42
- members: [
43
- {
44
- name: 'Cristian',
45
- photo:
46
- 'https://weni-sp-connect-staging.s3.amazonaws.com/media/user/avatars/av_ef64cdfa-26b9-4896-93ba-098c00724d88.jpg?AWSAccessKeyId=AKIATQ3M7WDGK6GLYL6V&Signature=ka1ANr0Z6MuiRHKkOFbz%2Fr6krA4%3D&Expires=1625729559',
47
- },
48
- {
49
- name: 'Cristian',
50
- photo:
51
- 'https://weni-sp-connect-staging.s3.amazonaws.com/media/user/avatars/av_ef64cdfa-26b9-4896-93ba-098c00724d88.jpg?AWSAccessKeyId=AKIATQ3M7WDGK6GLYL6V&Signature=ka1ANr0Z6MuiRHKkOFbz%2Fr6krA4%3D&Expires=1625729559',
52
- },
53
- {
54
- name: 'Cristian',
55
- photo:
56
- 'https://weni-sp-connect-staging.s3.amazonaws.com/media/user/avatars/av_ef64cdfa-26b9-4896-93ba-098c00724d88.jpg?AWSAccessKeyId=AKIATQ3M7WDGK6GLYL6V&Signature=ka1ANr0Z6MuiRHKkOFbz%2Fr6krA4%3D&Expires=1625729559',
57
- },
58
- {
59
- name: 'Cristian',
60
- photo:
61
- 'https://weni-sp-connect-staging.s3.amazonaws.com/media/user/avatars/av_ef64cdfa-26b9-4896-93ba-098c00724d88.jpg?AWSAccessKeyId=AKIATQ3M7WDGK6GLYL6V&Signature=ka1ANr0Z6MuiRHKkOFbz%2Fr6krA4%3D&Expires=1625729559',
62
- },
63
- {
64
- name: 'Cristian',
65
- photo:
66
- 'https://weni-sp-connect-staging.s3.amazonaws.com/media/user/avatars/av_ef64cdfa-26b9-4896-93ba-098c00724d88.jpg?AWSAccessKeyId=AKIATQ3M7WDGK6GLYL6V&Signature=ka1ANr0Z6MuiRHKkOFbz%2Fr6krA4%3D&Expires=1625729559',
67
- },
68
- ],
69
- membersDescription: '+24 members',
51
+ {
52
+ name: 'Cristian',
53
+ photo:
54
+ 'https://weni-sp-connect-staging.s3.amazonaws.com/media/user/avatars/av_ef64cdfa-26b9-4896-93ba-098c00724d88.jpg?AWSAccessKeyId=AKIATQ3M7WDGK6GLYL6V&Signature=ka1ANr0Z6MuiRHKkOFbz%2Fr6krA4%3D&Expires=1625729559',
55
+ },
56
+ {
57
+ name: 'Cristian',
58
+ photo:
59
+ 'https://weni-sp-connect-staging.s3.amazonaws.com/media/user/avatars/av_ef64cdfa-26b9-4896-93ba-098c00724d88.jpg?AWSAccessKeyId=AKIATQ3M7WDGK6GLYL6V&Signature=ka1ANr0Z6MuiRHKkOFbz%2Fr6krA4%3D&Expires=1625729559',
60
+ },
61
+ ],
62
+ membersDescription: '+24 members',
63
+ },
70
64
  };
@@ -12,31 +12,13 @@ export default {
12
12
  },
13
13
  };
14
14
 
15
- const Template = (args, { argTypes }) => ({
16
- props: Object.keys(argTypes),
17
-
18
- components: {
19
- unnnicCardData,
20
- },
21
-
22
- data() {
23
- return {};
15
+ export const Default = {
16
+ args: {
17
+ title: 'Title Card',
18
+ description:
19
+ 'Description Description Description Description Description Description Description Description.',
20
+ score: '4.9',
21
+ info: '(3 comments)',
22
+ checked: true,
24
23
  },
25
-
26
- template: `
27
- <div>
28
- <unnnic-card-data v-bind="$props"/>
29
- </div>
30
- `,
31
- });
32
-
33
- export const Default = Template.bind({});
34
-
35
- Default.args = {
36
- title: 'Title Card',
37
- description:
38
- 'Description Description Description Description Description Description Description Description.',
39
- score: '4.9',
40
- info: '(3 comments)',
41
- checked: true,
42
24
  };
@@ -5,55 +5,56 @@ export default {
5
5
  title: 'card/CardImage',
6
6
  component: UnnnicCardImage,
7
7
  argTypes: {},
8
+ render: (args) => ({
9
+ components: {
10
+ UnnnicCardImage,
11
+ UnnnicDropdownItem,
12
+ },
13
+ setup() {
14
+ return { args };
15
+ },
16
+ data() {
17
+ return {
18
+ value: true,
19
+ };
20
+ },
21
+ template: `
22
+ <div>
23
+ <pre>v-model: {{ value }}</pre>
24
+ <unnnic-card-image v-bind="args" v-model="value">
25
+ <template #actions>
26
+ <unnnic-dropdown-item>
27
+ Option 1
28
+ </unnnic-dropdown-item>
29
+
30
+ <unnnic-dropdown-item>
31
+ Option 2
32
+ </unnnic-dropdown-item>
33
+ </template>
34
+ </unnnic-card-image>
35
+ </div>
36
+ `,
37
+ }),
8
38
  };
9
39
 
10
- const Template = (args, { argTypes }) => ({
11
- components: {
12
- UnnnicCardImage,
13
- UnnnicDropdownItem,
14
- },
15
-
16
- props: Object.keys(argTypes),
17
-
18
- data() {
19
- return {
20
- v: false,
21
- };
40
+ export const Default = {
41
+ args: {
42
+ title: 'Title Card',
43
+ description: 'Last edit',
44
+ image: 'https://picsum.photos/300/150',
45
+ data: [
46
+ {
47
+ icon: 'graph-stats-1',
48
+ scheme: 'aux-purple',
49
+ name: 'Data',
50
+ value: '00',
51
+ },
52
+ {
53
+ icon: 'graph-stats-1',
54
+ scheme: 'aux-purple',
55
+ name: 'Data',
56
+ value: '00',
57
+ },
58
+ ],
22
59
  },
23
-
24
- template: `<div><pre>v-model: {{ v }}</pre>
25
- <unnnic-card-image v-bind="$props" v-model="v">
26
- <template slot="actions">
27
- <unnnic-dropdown-item>
28
- Option 1
29
- </unnnic-dropdown-item>
30
-
31
- <unnnic-dropdown-item>
32
- Option 2
33
- </unnnic-dropdown-item>
34
- </template>
35
- </unnnic-card-image>
36
- </div>`,
37
- });
38
-
39
- export const Default = Template.bind({});
40
-
41
- Default.args = {
42
- title: 'Title Card',
43
- description: 'Last edit',
44
- image: 'https://picsum.photos/300/150',
45
- data: [
46
- {
47
- icon: 'graph-stats-1',
48
- scheme: 'aux-purple',
49
- name: 'Data',
50
- value: '00',
51
- },
52
- {
53
- icon: 'graph-stats-1',
54
- scheme: 'aux-purple',
55
- name: 'Data',
56
- value: '00',
57
- },
58
- ],
59
60
  };
@@ -6,59 +6,38 @@ export default {
6
6
  argTypes: {},
7
7
  };
8
8
 
9
- const Template = (args, { argTypes }) => ({
10
- props: Object.keys(argTypes),
11
-
12
- components: {
13
- unnnicCardInformation,
14
- },
15
-
16
- data() {
17
- return {};
9
+ export const Default = {
10
+ args: {
11
+ name: 'Title Card',
12
+ subtitle: 'Subtitle',
13
+ description: 'Description',
14
+ descriptionRow: 'Description Row',
15
+ descriptionRowInfo: 'Description Row Info',
16
+ statuses: [
17
+ {
18
+ title: 'AI',
19
+ icon: 'science-fiction-robot-2',
20
+ scheme: 'aux-blue',
21
+ count: 1,
22
+ },
23
+ {
24
+ title: 'Flows',
25
+ icon: 'hierarchy-3-2',
26
+ scheme: 'aux-purple',
27
+ count: 2,
28
+ },
29
+ {
30
+ title: 'Contatos',
31
+ icon: 'single-neutral-actions-1',
32
+ scheme: 'aux-lemon',
33
+ count: 3,
34
+ },
35
+ {
36
+ title: 'Contatos',
37
+ icon: 'single-neutral-actions-1',
38
+ scheme: 'aux-lemon',
39
+ count: 3,
40
+ },
41
+ ],
18
42
  },
19
-
20
- template: `
21
- <div>
22
- <unnnic-card-information v-bind="$props">
23
- </unnnic-card-information>
24
- </div>
25
- `,
26
-
27
- methods: {},
28
- });
29
-
30
- export const Default = Template.bind({});
31
-
32
- Default.args = {
33
- name: 'Title Card',
34
- subtitle: 'Subtitle',
35
- description: 'Description',
36
- descriptionRow: 'Description Row',
37
- descriptionRowInfo: 'Description Row Info',
38
- statuses: [
39
- {
40
- title: 'AI',
41
- icon: 'science-fiction-robot-2',
42
- scheme: 'aux-blue',
43
- count: 1,
44
- },
45
- {
46
- title: 'Flows',
47
- icon: 'hierarchy-3-2',
48
- scheme: 'aux-purple',
49
- count: 2,
50
- },
51
- {
52
- title: 'Contatos',
53
- icon: 'single-neutral-actions-1',
54
- scheme: 'aux-lemon',
55
- count: 3,
56
- },
57
- {
58
- title: 'Contatos',
59
- icon: 'single-neutral-actions-1',
60
- scheme: 'aux-lemon',
61
- count: 3,
62
- },
63
- ],
64
43
  };