@weni/unnnic-system 1.3.0 → 1.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/unnnic.common.js +881 -929
- package/dist/unnnic.common.js.map +1 -1
- package/dist/unnnic.css +1 -1
- package/dist/unnnic.umd.js +881 -929
- package/dist/unnnic.umd.js.map +1 -1
- package/dist/unnnic.umd.min.js +67 -67
- package/dist/unnnic.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/icons/fitness-biceps-1.svg +1 -1
- package/src/assets/icons/graph-stats-descend-2.svg +4 -0
- package/src/assets/icons/study-light-idea-1.svg +8 -8
- package/src/components/Accordion/Accordion.vue +1 -1
- package/src/components/Alert/Alert.vue +1 -1
- package/src/components/Alert/Version1dot1.vue +1 -1
- package/src/components/AvatarIcon/AvatarIcon.vue +1 -1
- package/src/components/Banner/InfoBanner.vue +1 -1
- package/src/components/Breadcrumb/Breadcrumb.vue +1 -1
- package/src/components/Button/Button.vue +1 -1
- package/src/components/Button/ButtonIcon.vue +1 -1
- package/src/components/Card/BlankCard.vue +1 -1
- package/src/components/Card/Card.vue +5 -0
- package/src/components/Card/CardCompany.vue +1 -1
- package/src/components/Card/CardData.vue +1 -1
- package/src/components/Card/ContentCard.vue +1 -1
- package/src/components/Card/DashCard.vue +10 -2
- package/src/components/Card/MarketplaceCard.vue +1 -1
- package/src/components/Card/StatusCard.vue +1 -1
- package/src/components/Card/TitleCard.vue +1 -1
- package/src/components/CardProject/CardProject.vue +1 -1
- package/src/components/Carousel/TagCarousel.vue +1 -1
- package/src/components/ChatText/ChatText.vue +1 -1
- package/src/components/Checkbox/Checkbox.vue +1 -1
- package/src/components/Dropdown/LanguageSelect.vue +1 -1
- package/src/components/Flag.vue +1 -1
- package/src/components/Icon.vue +92 -61
- package/src/components/Input/TextInput.vue +1 -1
- package/src/components/Modal/Modal.vue +1 -1
- package/src/components/ModalUpload/ModalUpload.vue +1 -1
- package/src/components/MultiSelect/MultiSelect.vue +1 -1
- package/src/components/Radio/Radio.vue +1 -1
- package/src/components/Sidebar/SidebarItem.vue +1 -1
- package/src/components/Sidebar/SidebarPrimary.vue +1 -1
- package/src/components/Switch/Switch.vue +1 -1
- package/src/components/Tag/BrandTag.vue +1 -1
- package/src/components/Tag/DefaultTag.vue +1 -1
- package/src/components/Tag/IndicatorTag.vue +1 -1
- package/src/components/UploadArea/UploadArea.vue +1 -1
- package/src/components/index.js +2 -3
- package/src/stories/CardProject.stories.js +1 -1
- package/src/stories/Comment.stories.js +2 -2
- package/src/stories/Icon.stories.js +37 -12
- package/src/utils/icons.js +6 -0
- package/dist/fonts/icomoon.0357f645.eot +0 -0
- package/dist/fonts/icomoon.a58994c5.ttf +0 -0
- package/dist/fonts/icomoon.ba966620.woff +0 -0
- package/dist/img/icomoon.fcc6d2c8.svg +0 -164
- package/src/components/Icon-svg.vue +0 -147
- package/src/stories/IconSvg.stories.js +0 -48
package/src/components/index.js
CHANGED
|
@@ -12,7 +12,6 @@ import dropdown from './Dropdown/Dropdown.vue';
|
|
|
12
12
|
import dropdownItem from './Dropdown/DropdownItem.vue';
|
|
13
13
|
import avatarIcon from './AvatarIcon/AvatarIcon.vue';
|
|
14
14
|
import icon from './Icon.vue';
|
|
15
|
-
import iconSvg from './Icon-svg.vue';
|
|
16
15
|
import toolTip from './ToolTip/ToolTip.vue';
|
|
17
16
|
import card from './Card/Card.vue';
|
|
18
17
|
import cardCompany from './Card/CardCompany.vue';
|
|
@@ -64,7 +63,7 @@ const components = {
|
|
|
64
63
|
unnnicTableRow: tableRow,
|
|
65
64
|
unnnicAvatarIcon: avatarIcon,
|
|
66
65
|
unnnicIcon: icon,
|
|
67
|
-
unnnicIconSvg:
|
|
66
|
+
unnnicIconSvg: icon,
|
|
68
67
|
unnnicDropdown: dropdown,
|
|
69
68
|
unnnicDropdownItem: dropdownItem,
|
|
70
69
|
unnnicToolTip: toolTip,
|
|
@@ -123,7 +122,7 @@ export const unnnicDropdown = dropdown;
|
|
|
123
122
|
export const unnnicDropdownItem = dropdownItem;
|
|
124
123
|
export const unnnicAvatarIcon = avatarIcon;
|
|
125
124
|
export const unnnicIcon = icon;
|
|
126
|
-
export const unnnicIconSvg =
|
|
125
|
+
export const unnnicIconSvg = icon;
|
|
127
126
|
export const unnnicToolTip = toolTip;
|
|
128
127
|
export const unnnicCard = card;
|
|
129
128
|
export const unnnicCardCompany = cardCompany;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import unnnicCardProject from '../components/CardProject/CardProject.vue';
|
|
2
2
|
import unnnicDropdownItem from '../components/Dropdown/DropdownItem.vue';
|
|
3
|
-
import unnnicIcon from '../components/Icon
|
|
3
|
+
import unnnicIcon from '../components/Icon.vue';
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
6
|
title: 'example/CardProject',
|
|
@@ -2,7 +2,7 @@ import unnnicComment from '../components/Comment/Comment.vue';
|
|
|
2
2
|
import unnnicButton from '../components/Button/Button.vue';
|
|
3
3
|
import unnnicDropdown from '../components/Dropdown/Dropdown.vue';
|
|
4
4
|
import unnnicDropdownItem from '../components/Dropdown/DropdownItem.vue';
|
|
5
|
-
import unnnicIconSvg from '../components/Icon
|
|
5
|
+
import unnnicIconSvg from '../components/Icon.vue';
|
|
6
6
|
|
|
7
7
|
export default {
|
|
8
8
|
title: 'Example/Comment',
|
|
@@ -43,7 +43,7 @@ const Template = (args, { argTypes }) => ({
|
|
|
43
43
|
size="small"
|
|
44
44
|
/>
|
|
45
45
|
</unnnic-dropdown-item>
|
|
46
|
-
</unnnic-dropdown>
|
|
46
|
+
</unnnic-dropdown>
|
|
47
47
|
</unnnic-comment>
|
|
48
48
|
`,
|
|
49
49
|
});
|
|
@@ -1,23 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import unnnicIcon from '../components/Icon.vue';
|
|
2
|
+
import icons from '../utils/icons';
|
|
3
|
+
|
|
4
|
+
const iconsOptions = Object.keys(icons);
|
|
5
|
+
|
|
6
|
+
const schemes = [
|
|
7
|
+
'feedback-red',
|
|
8
|
+
'feedback-green',
|
|
9
|
+
'feedback-yellow',
|
|
10
|
+
'feedback-blue',
|
|
11
|
+
'feedback-grey',
|
|
12
|
+
'aux-blue',
|
|
13
|
+
'aux-purple',
|
|
14
|
+
'aux-orange',
|
|
15
|
+
'aux-lemon',
|
|
16
|
+
'aux-pink',
|
|
17
|
+
'brand-weni',
|
|
18
|
+
'brand-weni-soft',
|
|
19
|
+
'neutral-clean',
|
|
20
|
+
'neutral-cleanest',
|
|
21
|
+
'neutral-dark',
|
|
22
|
+
'neutral-soft',
|
|
23
|
+
'neutral-darkest',
|
|
24
|
+
];
|
|
3
25
|
|
|
4
26
|
export default {
|
|
5
|
-
title: '
|
|
6
|
-
component:
|
|
27
|
+
title: 'example/Icon',
|
|
28
|
+
component: unnnicIcon,
|
|
7
29
|
argTypes: {
|
|
8
|
-
icon: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
options: iconList,
|
|
12
|
-
},
|
|
13
|
-
},
|
|
30
|
+
icon: { control: { type: 'select', options: iconsOptions } },
|
|
31
|
+
scheme: { control: { type: 'select', options: schemes } },
|
|
32
|
+
size: { control: { type: 'select', options: ['nano', 'xs', 'sm', 'md', 'lg'] } },
|
|
14
33
|
},
|
|
15
34
|
};
|
|
16
35
|
|
|
17
36
|
const Template = (args, { argTypes }) => ({
|
|
18
37
|
props: Object.keys(argTypes),
|
|
19
|
-
components: {
|
|
20
|
-
template:
|
|
38
|
+
components: { unnnicIcon },
|
|
39
|
+
template: `
|
|
40
|
+
<unnnic-icon v-bind="$props" />
|
|
41
|
+
`,
|
|
21
42
|
});
|
|
22
43
|
|
|
23
44
|
export const Normal = Template.bind({});
|
|
45
|
+
|
|
46
|
+
Normal.args = {
|
|
47
|
+
icon: iconsOptions[0],
|
|
48
|
+
};
|
package/src/utils/icons.js
CHANGED
|
@@ -87,6 +87,7 @@ import alarmBell3 from '!!svg-inline-loader!../assets/icons/alarm-bell-3.svg';
|
|
|
87
87
|
import alertCircle1 from '!!svg-inline-loader!../assets/icons/alert-circle-1.svg';
|
|
88
88
|
import bookAddress2 from '!!svg-inline-loader!../assets/icons/book-address-2.svg';
|
|
89
89
|
import graphStatsAscend2 from '!!svg-inline-loader!../assets/icons/graph-stats-ascend-2.svg';
|
|
90
|
+
import graphStatsDescend2 from '!!svg-inline-loader!../assets/icons/graph-stats-descend-2.svg';
|
|
90
91
|
import synchronizeArrowClock5 from '!!svg-inline-loader!../assets/icons/synchronize-arrow-clock-5.svg';
|
|
91
92
|
import emailActionUnread1 from '!!svg-inline-loader!../assets/icons/email-action-unread-1.svg';
|
|
92
93
|
import synchronizeArrowClock4 from '!!svg-inline-loader!../assets/icons/synchronize-arrow-clock-4.svg';
|
|
@@ -135,6 +136,8 @@ import bookLibrary2 from '!!svg-inline-loader!../assets/icons/book-library-2.svg
|
|
|
135
136
|
import notes1 from '!!svg-inline-loader!../assets/icons/notes-1.svg';
|
|
136
137
|
import videoFileMp41 from '!!svg-inline-loader!../assets/icons/video-file-mp4-1.svg';
|
|
137
138
|
import officeFilePdf11 from '!!svg-inline-loader!../assets/icons/office-file-pdf-1-1.svg';
|
|
139
|
+
import fitnessBiceps1 from '!!svg-inline-loader!../assets/icons/fitness-biceps-1.svg';
|
|
140
|
+
import studyLightIdea1 from '!!svg-inline-loader!../assets/icons/study-light-idea-1.svg';
|
|
138
141
|
|
|
139
142
|
export default {
|
|
140
143
|
'app-window-edit-1': appWindowEdit1,
|
|
@@ -227,6 +230,7 @@ export default {
|
|
|
227
230
|
'alert-circle-1': alertCircle1,
|
|
228
231
|
'book-address-2': bookAddress2,
|
|
229
232
|
'graph-stats-ascend-2': graphStatsAscend2,
|
|
233
|
+
'graph-stats-descend-2': graphStatsDescend2,
|
|
230
234
|
'synchronize-arrow-clock-5': synchronizeArrowClock5,
|
|
231
235
|
'email-action-unread-1': emailActionUnread1,
|
|
232
236
|
'synchronize-arrow-clock-4': synchronizeArrowClock4,
|
|
@@ -272,4 +276,6 @@ export default {
|
|
|
272
276
|
'notes-1': notes1,
|
|
273
277
|
'video-file-mp4-1': videoFileMp41,
|
|
274
278
|
'office-file-pdf-1-1': officeFilePdf11,
|
|
279
|
+
'fitness-biceps-1': fitnessBiceps1,
|
|
280
|
+
'study-light-idea-1': studyLightIdea1,
|
|
275
281
|
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|