@weni/unnnic-system 2.21.2 → 2.22.0
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 +9 -0
- package/dist/{es-5d677a04.mjs → es-494a7dd2.mjs} +1 -1
- package/dist/{index-96ee9af5.mjs → index-6ef10629.mjs} +104 -104
- package/dist/{pt-br-10365b4b.mjs → pt-br-4174b355.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +1 -1
- package/dist/unnnic.umd.js +25 -25
- package/package.json +2 -2
- package/src/assets/scss/spacing.scss +31 -29
- package/src/assets/scss/unnnic.scss +9 -4
- package/src/components/Accordion/Accordion.vue +1 -1
- package/src/components/Alert/Alert.vue +1 -1
- package/src/components/Alert/AlertBanner.vue +1 -1
- package/src/components/Alert/Version1dot1.vue +1 -1
- package/src/components/AudioRecorder/AudioHandler.vue +3 -3
- package/src/components/AudioRecorder/AudioPlayer.vue +1 -1
- package/src/components/AudioRecorder/AudioRecorder.vue +3 -3
- package/src/components/AvatarIcon/AvatarIcon.vue +1 -1
- package/src/components/Banner/Banner.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 +2 -2
- package/src/components/Button/ButtonIcon.vue +1 -1
- package/src/components/Card/AccountCard.vue +1 -1
- package/src/components/Card/BlankCard.vue +1 -1
- package/src/components/Card/Card.vue +1 -1
- package/src/components/Card/CardCompany.vue +1 -1
- package/src/components/Card/CardData.vue +1 -1
- package/src/components/Card/CardStatusesContainer.vue +4 -2
- package/src/components/Card/ContentCard.vue +1 -1
- package/src/components/Card/DashCard.vue +1 -1
- package/src/components/Card/DefaultCard.vue +1 -1
- package/src/components/Card/MarketplaceCard.vue +1 -1
- package/src/components/Card/SimpleCard.vue +4 -5
- package/src/components/Card/StatusCard.vue +1 -1
- package/src/components/Card/TitleCard.vue +1 -1
- package/src/components/CardImage/CardImage.vue +1 -1
- package/src/components/CardInformation/CardInformation.vue +1 -1
- package/src/components/CardNumber/CardNumber.vue +1 -1
- package/src/components/CardProject/CardProject.vue +1 -1
- package/src/components/Carousel/TagCarousel.vue +8 -6
- package/src/components/ChartBar/ChartBar.vue +1 -1
- package/src/components/ChartFunnel/DefaultFunnel/ChartDefaultFunnelBase.vue +1 -2
- package/src/components/ChartFunnel/SvgFunnel/ChartFunnelBaseRow.vue +1 -2
- package/src/components/ChartFunnel/SvgFunnel/ChartFunnelFiveRows.vue +1 -2
- package/src/components/ChartFunnel/SvgFunnel/ChartFunnelFourRows.vue +1 -2
- package/src/components/ChartFunnel/SvgFunnel/ChartFunnelThreeRows.vue +1 -2
- package/src/components/ChartLine/ChartLine.vue +1 -1
- package/src/components/ChartMultiLine/ChartMultiLine.vue +1 -1
- package/src/components/ChartMultiLine/Line/Line.vue +1 -1
- package/src/components/ChartRainbow/ChartRainbow.vue +1 -1
- package/src/components/ChatText/ChatText.vue +1 -1
- package/src/components/ChatsContact/ChatsContact.vue +1 -1
- package/src/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue +1 -1
- package/src/components/ChatsHeader/ChatsHeader.vue +1 -1
- package/src/components/ChatsMessage/ChatsMessage.vue +1 -1
- package/src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue +1 -1
- package/src/components/ChatsNavbar/ChatsNavbar.vue +1 -1
- package/src/components/ChatsUserAvatar/ChatsUserAvatar.vue +1 -1
- package/src/components/Checkbox/Checkbox.vue +1 -1
- package/src/components/CircleProgressBar/CircleProgressBar.vue +1 -1
- package/src/components/Collapse/Collapse.vue +1 -1
- package/src/components/Comment/Comment.vue +1 -1
- package/src/components/DataArea/DataArea.vue +1 -1
- package/src/components/DatePicker/DatePicker.vue +1 -1
- package/src/components/Disclaimer/Disclaimer.vue +1 -1
- package/src/components/Drawer/Drawer.vue +1 -1
- package/src/components/DropArea/DropArea.vue +4 -3
- package/src/components/Dropdown/Dropdown.vue +1 -1
- package/src/components/Dropdown/DropdownItem.vue +1 -1
- package/src/components/Dropdown/DropdownSkeleton.vue +1 -1
- package/src/components/Dropdown/LanguageSelect.vue +1 -1
- package/src/components/FormElement/FormElement.vue +1 -1
- package/src/components/Icon.vue +2 -2
- package/src/components/ImportCard/ImportCard.vue +1 -1
- package/src/components/Indicator/Indicator.vue +1 -1
- package/src/components/Input/BaseInput.vue +2 -2
- package/src/components/Input/Input.scss +1 -1
- package/src/components/Input/Input.vue +1 -1
- package/src/components/Input/TextInput.vue +1 -1
- package/src/components/InputDatePicker/InputDatePicker.vue +1 -1
- package/src/components/InputNext/InputNext.vue +1 -1
- package/src/components/Label/Label.vue +1 -1
- package/src/components/Modal/Modal.vue +38 -25
- package/src/components/ModalDialog/ModalDialog.vue +1 -1
- package/src/components/ModalNext/ModalNext.vue +1 -1
- package/src/components/ModalUpload/ModalUpload.vue +1 -1
- package/src/components/MoodRating/MoodRating.vue +1 -1
- package/src/components/MultiSelect/MultiSelect.vue +1 -1
- package/src/components/Navigator/index.vue +1 -1
- package/src/components/Pagination/Pagination.vue +1 -1
- package/src/components/ProgressBar/ProgressBar.vue +1 -1
- package/src/components/Radio/Radio.vue +1 -1
- package/src/components/Select/SelectItem.vue +1 -1
- package/src/components/SelectSmart/SelectSmart.vue +2 -2
- package/src/components/SelectSmart/SelectSmartMultipleHeader.vue +1 -1
- package/src/components/SelectSmart/SelectSmartOption.vue +1 -1
- package/src/components/Sidebar/SidebarItem.vue +1 -1
- package/src/components/Sidebar/index.vue +1 -1
- package/src/components/SkeletonLoading/SkeletonLoading.vue +1 -1
- package/src/components/Slider/Slider.vue +2 -2
- package/src/components/StarRating/StarRating.vue +1 -1
- package/src/components/Switch/Switch.vue +1 -1
- package/src/components/Tab/Tab.vue +1 -1
- package/src/components/Table/Table.vue +2 -2
- package/src/components/Table/TableRow.vue +1 -1
- package/src/components/TableNext/TableNext.vue +1 -1
- package/src/components/TableNext/TablePagination.vue +1 -1
- package/src/components/TabsExpanded/TabsExpanded.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/TextArea/TextArea.vue +2 -2
- package/src/components/ToolTip/ToolTip.vue +1 -1
- package/src/components/Tour/TourMask.vue +1 -1
- package/src/components/Tour/TourPopover.vue +1 -1
- package/src/components/TransitionRipple/TransitionRipple.vue +1 -1
- package/src/components/UploadArea/UploadArea.vue +1 -1
- package/src/components/grid/Grid.vue +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weni/unnnic-system",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.22.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"jsdom": "^24.1.1",
|
|
81
81
|
"react": "^18.2.0",
|
|
82
82
|
"react-dom": "^18.2.0",
|
|
83
|
-
"sass": "^1.
|
|
83
|
+
"sass": "^1.63.0",
|
|
84
84
|
"storybook": "^8.0.10",
|
|
85
85
|
"typescript": "^5.6.3",
|
|
86
86
|
"vite": "4.3.5",
|
|
@@ -1,31 +1,33 @@
|
|
|
1
|
+
@use "fonts";
|
|
2
|
+
|
|
1
3
|
// Icon size
|
|
2
|
-
$unnnic-icon-size-xl: 2.5 *
|
|
3
|
-
$unnnic-icon-size-lg: 2 *
|
|
4
|
-
$unnnic-icon-size-md: 1.5 *
|
|
5
|
-
$unnnic-icon-size-ant: 1.25 *
|
|
6
|
-
$unnnic-icon-size-sm: 1 *
|
|
7
|
-
$unnnic-icon-size-xs: 0.75 *
|
|
4
|
+
$unnnic-icon-size-xl: 2.5 * fonts.$unnnic-font-size;
|
|
5
|
+
$unnnic-icon-size-lg: 2 * fonts.$unnnic-font-size;
|
|
6
|
+
$unnnic-icon-size-md: 1.5 * fonts.$unnnic-font-size;
|
|
7
|
+
$unnnic-icon-size-ant: 1.25 * fonts.$unnnic-font-size;
|
|
8
|
+
$unnnic-icon-size-sm: 1 * fonts.$unnnic-font-size;
|
|
9
|
+
$unnnic-icon-size-xs: 0.75 * fonts.$unnnic-font-size;
|
|
8
10
|
|
|
9
11
|
// Avatar size
|
|
10
|
-
$unnnic-avatar-size-lg: 6.5 *
|
|
11
|
-
$unnnic-avatar-size-md: 4.5 *
|
|
12
|
-
$unnnic-avatar-size-sm: 2.5 *
|
|
13
|
-
$unnnic-avatar-size-xs: 2 *
|
|
14
|
-
$unnnic-avatar-size-nano: 1.25 *
|
|
12
|
+
$unnnic-avatar-size-lg: 6.5 * fonts.$unnnic-font-size;
|
|
13
|
+
$unnnic-avatar-size-md: 4.5 * fonts.$unnnic-font-size;
|
|
14
|
+
$unnnic-avatar-size-sm: 2.5 * fonts.$unnnic-font-size;
|
|
15
|
+
$unnnic-avatar-size-xs: 2 * fonts.$unnnic-font-size;
|
|
16
|
+
$unnnic-avatar-size-nano: 1.25 * fonts.$unnnic-font-size;
|
|
15
17
|
|
|
16
18
|
// Border radius
|
|
17
|
-
$unnnic-border-radius-sm: 0.25 *
|
|
18
|
-
$unnnic-border-radius-md: 0.5 *
|
|
19
|
-
$unnnic-border-radius-lg: 1 *
|
|
20
|
-
$unnnic-border-radius-pill: 37.5 *
|
|
19
|
+
$unnnic-border-radius-sm: 0.25 * fonts.$unnnic-font-size;
|
|
20
|
+
$unnnic-border-radius-md: 0.5 * fonts.$unnnic-font-size;
|
|
21
|
+
$unnnic-border-radius-lg: 1 * fonts.$unnnic-font-size;
|
|
22
|
+
$unnnic-border-radius-pill: 37.5 * fonts.$unnnic-font-size;
|
|
21
23
|
|
|
22
24
|
// Border width
|
|
23
|
-
$unnnic-border-width-thinner: 0.0625 *
|
|
24
|
-
$unnnic-border-width-thin: 0.125 *
|
|
25
|
-
$unnnic-border-width-thick: 0.25 *
|
|
25
|
+
$unnnic-border-width-thinner: 0.0625 * fonts.$unnnic-font-size;
|
|
26
|
+
$unnnic-border-width-thin: 0.125 * fonts.$unnnic-font-size;
|
|
27
|
+
$unnnic-border-width-thick: 0.25 * fonts.$unnnic-font-size;
|
|
26
28
|
|
|
27
29
|
// Shadow levels
|
|
28
|
-
$unnnic-shadow-level-near: 0 *
|
|
30
|
+
$unnnic-shadow-level-near: 0 * fonts.$unnnic-font-size 0.25 * fonts.$unnnic-font-size 8px rgba(0, 0, 0, .12);
|
|
29
31
|
$unnnic-shadow-level-separated: 0px 8px 16px rgba(0, 0, 0, .08);
|
|
30
32
|
$unnnic-shadow-level-far: 0px 12px 32px rgba(0, 0, 0, .04);
|
|
31
33
|
$unnnic-shadow-level-distant: 0px 20px 40px rgba(0, 0, 0, .06);
|
|
@@ -40,16 +42,16 @@ $unnnic-opacity-level-light: 0.16;
|
|
|
40
42
|
$unnnic-opacity-level-extra-light: 0.08;
|
|
41
43
|
|
|
42
44
|
// Spacing
|
|
43
|
-
$unnnic-spacing-nano: 0.25 *
|
|
44
|
-
$unnnic-spacing-xs: 0.5 *
|
|
45
|
-
$unnnic-spacing-ant: 0.75 *
|
|
46
|
-
$unnnic-spacing-sm:
|
|
47
|
-
$unnnic-spacing-md: 1.5 *
|
|
48
|
-
$unnnic-spacing-lg: 2 *
|
|
49
|
-
$unnnic-spacing-xl: 2.5 *
|
|
50
|
-
$unnnic-spacing-giant: 3 *
|
|
51
|
-
$unnnic-spacing-xgiant: 4 *
|
|
52
|
-
$unnnic-spacing-awesome: 5 *
|
|
45
|
+
$unnnic-spacing-nano: 0.25 * fonts.$unnnic-font-size;
|
|
46
|
+
$unnnic-spacing-xs: 0.5 * fonts.$unnnic-font-size;
|
|
47
|
+
$unnnic-spacing-ant: 0.75 * fonts.$unnnic-font-size;
|
|
48
|
+
$unnnic-spacing-sm: fonts.$unnnic-font-size;
|
|
49
|
+
$unnnic-spacing-md: 1.5 * fonts.$unnnic-font-size;
|
|
50
|
+
$unnnic-spacing-lg: 2 * fonts.$unnnic-font-size;
|
|
51
|
+
$unnnic-spacing-xl: 2.5 * fonts.$unnnic-font-size;
|
|
52
|
+
$unnnic-spacing-giant: 3 * fonts.$unnnic-font-size;
|
|
53
|
+
$unnnic-spacing-xgiant: 4 * fonts.$unnnic-font-size;
|
|
54
|
+
$unnnic-spacing-awesome: 5 * fonts.$unnnic-font-size;
|
|
53
55
|
|
|
54
56
|
$unnnic-inset-nano: $unnnic-spacing-xs;
|
|
55
57
|
$unnnic-inset-xs: $unnnic-spacing-ant;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
1
|
+
@forward './colors';
|
|
2
|
+
@forward './fonts';
|
|
3
|
+
@forward './spacing';
|
|
4
|
+
@forward './grid';
|
|
5
|
+
|
|
6
|
+
@use './colors' as *;
|
|
7
|
+
@use './fonts' as *;
|
|
8
|
+
@use './spacing' as *;
|
|
9
|
+
@use './grid' as *;
|
|
5
10
|
|
|
6
11
|
.unnnic {
|
|
7
12
|
&--clickable {
|
|
@@ -63,17 +63,17 @@ export default {
|
|
|
63
63
|
</script>
|
|
64
64
|
|
|
65
65
|
<style lang="scss" scoped>
|
|
66
|
-
@
|
|
66
|
+
@use '@/assets/scss/unnnic' as *;
|
|
67
67
|
|
|
68
68
|
.audio-handler {
|
|
69
69
|
display: inline-flex;
|
|
70
70
|
align-items: center;
|
|
71
71
|
gap: $unnnic-spacing-stack-xs;
|
|
72
72
|
|
|
73
|
-
.unnnic-icon.is-recording
|
|
73
|
+
.unnnic-icon.is-recording {
|
|
74
74
|
margin-left: $unnnic-spacing-inline-nano;
|
|
75
75
|
|
|
76
|
-
.primary {
|
|
76
|
+
:deep(.primary) {
|
|
77
77
|
animation: ease-in-out pulse 2s infinite;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -377,7 +377,7 @@ export default {
|
|
|
377
377
|
</script>
|
|
378
378
|
|
|
379
379
|
<style lang="scss" scoped>
|
|
380
|
-
@
|
|
380
|
+
@use '@/assets/scss/unnnic' as *;
|
|
381
381
|
|
|
382
382
|
.unnnic-audio-recorder {
|
|
383
383
|
position: relative;
|
|
@@ -389,8 +389,8 @@ export default {
|
|
|
389
389
|
|
|
390
390
|
width: 100%;
|
|
391
391
|
|
|
392
|
-
|
|
393
|
-
|
|
392
|
+
:deep(.audio-player__time),
|
|
393
|
+
:deep(.audio-handler__time) {
|
|
394
394
|
font-family: $unnnic-font-family-secondary;
|
|
395
395
|
font-weight: $unnnic-font-weight-regular;
|
|
396
396
|
font-size: $unnnic-font-size-body-md;
|
|
@@ -219,7 +219,7 @@ export default {
|
|
|
219
219
|
</style>
|
|
220
220
|
|
|
221
221
|
<style lang="scss" scoped>
|
|
222
|
-
@
|
|
222
|
+
@use '@/assets/scss/unnnic' as *;
|
|
223
223
|
|
|
224
224
|
.unnnic-button {
|
|
225
225
|
display: inline-flex;
|
|
@@ -405,7 +405,7 @@ export default {
|
|
|
405
405
|
</style>
|
|
406
406
|
|
|
407
407
|
<style lang="scss" scoped>
|
|
408
|
-
@
|
|
408
|
+
@use '@/assets/scss/unnnic' as *;
|
|
409
409
|
|
|
410
410
|
.unnnic-button--icon-on-center {
|
|
411
411
|
min-width: auto;
|
|
@@ -138,7 +138,9 @@ export default {
|
|
|
138
138
|
</script>
|
|
139
139
|
|
|
140
140
|
<style lang="scss" scoped>
|
|
141
|
-
@
|
|
141
|
+
@use '@/assets/scss/unnnic' as *;
|
|
142
|
+
|
|
143
|
+
$calculated-width: 6 * $unnnic-font-size;
|
|
142
144
|
|
|
143
145
|
.unnnic-card-container {
|
|
144
146
|
padding: $unnnic-inset-sm;
|
|
@@ -165,7 +167,7 @@ export default {
|
|
|
165
167
|
display: flex;
|
|
166
168
|
flex-direction: column;
|
|
167
169
|
justify-content: space-between;
|
|
168
|
-
width: calc(100% - #{
|
|
170
|
+
width: calc(100% - #{$calculated-width});
|
|
169
171
|
margin-right: $unnnic-spacing-inline-xs;
|
|
170
172
|
|
|
171
173
|
.name {
|
|
@@ -88,7 +88,7 @@ export default {
|
|
|
88
88
|
</script>
|
|
89
89
|
|
|
90
90
|
<style lang="scss" scoped>
|
|
91
|
-
@
|
|
91
|
+
@use '@/assets/scss/unnnic' as *;
|
|
92
92
|
* {
|
|
93
93
|
margin: 0;
|
|
94
94
|
padding: 0;
|
|
@@ -153,15 +153,14 @@ export default {
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
&__footer {
|
|
156
|
+
border-top: 1px solid $unnnic-color-neutral-light;
|
|
157
|
+
padding-top: $unnnic-spacing-ant;
|
|
158
|
+
font-family: $unnnic-font-family-secondary;
|
|
156
159
|
* {
|
|
157
160
|
margin: 0;
|
|
158
161
|
padding: 0;
|
|
159
162
|
box-sizing: border-box;
|
|
160
163
|
}
|
|
161
|
-
|
|
162
|
-
border-top: 1px solid $unnnic-color-neutral-light;
|
|
163
|
-
padding-top: $unnnic-spacing-ant;
|
|
164
|
-
font-family: $unnnic-font-family-secondary;
|
|
165
164
|
}
|
|
166
165
|
}
|
|
167
166
|
</style>
|
|
@@ -133,7 +133,7 @@ export default {
|
|
|
133
133
|
</script>
|
|
134
134
|
|
|
135
135
|
<style lang="scss">
|
|
136
|
-
@
|
|
136
|
+
@use '@/assets/scss/unnnic' as *;
|
|
137
137
|
|
|
138
138
|
.unnnic-card-tag-carousel {
|
|
139
139
|
display: flex;
|
|
@@ -160,6 +160,12 @@ export default {
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
&__button {
|
|
163
|
+
z-index: 1;
|
|
164
|
+
position: absolute;
|
|
165
|
+
display: flex;
|
|
166
|
+
justify-content: center;
|
|
167
|
+
align-items: center;
|
|
168
|
+
|
|
163
169
|
&__icon {
|
|
164
170
|
height: $unnnic-inline-lg;
|
|
165
171
|
display: flex;
|
|
@@ -167,11 +173,7 @@ export default {
|
|
|
167
173
|
align-items: center;
|
|
168
174
|
background-color: $unnnic-color-background-snow;
|
|
169
175
|
}
|
|
170
|
-
|
|
171
|
-
position: absolute;
|
|
172
|
-
display: flex;
|
|
173
|
-
justify-content: center;
|
|
174
|
-
align-items: center;
|
|
176
|
+
|
|
175
177
|
&__blur {
|
|
176
178
|
width: $unnnic-inline-giant;
|
|
177
179
|
height: $unnnic-inline-lg;
|