@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
|
@@ -281,11 +281,12 @@ function addFiles(files) {
|
|
|
281
281
|
</script>
|
|
282
282
|
|
|
283
283
|
<style lang="scss" scoped>
|
|
284
|
-
@
|
|
284
|
+
@use '@/assets/scss/unnnic' as *;
|
|
285
|
+
@use 'sass:string';
|
|
285
286
|
|
|
286
287
|
@function borderDashed($color) {
|
|
287
|
-
$colorString: unquote('' + $color);
|
|
288
|
-
$cleanColor:
|
|
288
|
+
$colorString: string.unquote('' + $color);
|
|
289
|
+
$cleanColor: string.slice($colorString, 2);
|
|
289
290
|
@return url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='8' ry='8' stroke='%23#{$cleanColor}' stroke-width='1' stroke-dasharray='4%2c 4' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
|
|
290
291
|
}
|
|
291
292
|
|
package/src/components/Icon.vue
CHANGED
|
@@ -116,7 +116,7 @@ export default {
|
|
|
116
116
|
</script>
|
|
117
117
|
|
|
118
118
|
<style lang="scss" scoped>
|
|
119
|
-
@
|
|
119
|
+
@use '@/assets/scss/unnnic' as *;
|
|
120
120
|
|
|
121
121
|
.unnnic-icon :deep(svg) {
|
|
122
122
|
position: absolute;
|
|
@@ -126,7 +126,7 @@ export default {
|
|
|
126
126
|
</style>
|
|
127
127
|
|
|
128
128
|
<style lang="scss">
|
|
129
|
-
@
|
|
129
|
+
@use '@/assets/scss/unnnic' as *;
|
|
130
130
|
|
|
131
131
|
$scheme-colors:
|
|
132
132
|
'background-solo' $unnnic-color-background-solo,
|
|
@@ -139,23 +139,35 @@ export default {
|
|
|
139
139
|
},
|
|
140
140
|
methods: {
|
|
141
141
|
mobileAnimateReset() {
|
|
142
|
-
this.$refs.modalContainer
|
|
143
|
-
|
|
142
|
+
if (this.$refs.modalContainer) {
|
|
143
|
+
this.$refs.modalContainer.style.transition = null;
|
|
144
|
+
}
|
|
145
|
+
if (this.$refs.modal) {
|
|
146
|
+
this.$refs.modal.style.transition = null;
|
|
147
|
+
}
|
|
144
148
|
},
|
|
145
149
|
|
|
146
150
|
mobileAnimateOpen() {
|
|
147
151
|
this.$nextTick(() => {
|
|
148
|
-
this.$refs.modalContainer
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
152
|
+
if (this.$refs.modalContainer) {
|
|
153
|
+
this.$refs.modalContainer.style.transition = 'none';
|
|
154
|
+
this.$refs.modalContainer.style.backgroundColor = 'transparent';
|
|
155
|
+
}
|
|
156
|
+
if (this.$refs.modal) {
|
|
157
|
+
this.$refs.modal.style.transition = 'none';
|
|
158
|
+
this.$refs.modal.style.marginBottom = `${-this.$refs.modal.offsetHeight}px`;
|
|
159
|
+
}
|
|
153
160
|
|
|
154
161
|
setTimeout(() => {
|
|
155
|
-
this.$refs.modalContainer
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
162
|
+
if (this.$refs.modalContainer) {
|
|
163
|
+
this.$refs.modalContainer.style.transition =
|
|
164
|
+
'background-color 0.2s';
|
|
165
|
+
this.$refs.modalContainer.style.backgroundColor = null;
|
|
166
|
+
}
|
|
167
|
+
if (this.$refs.modal) {
|
|
168
|
+
this.$refs.modal.style.transition = 'margin-bottom 0.2s';
|
|
169
|
+
this.$refs.modal.style.marginBottom = null;
|
|
170
|
+
}
|
|
159
171
|
|
|
160
172
|
setTimeout(() => {
|
|
161
173
|
this.mobileAnimateReset();
|
|
@@ -166,11 +178,14 @@ export default {
|
|
|
166
178
|
|
|
167
179
|
mobileAnimateClose() {
|
|
168
180
|
return new Promise((resolve) => {
|
|
169
|
-
this.$refs.modalContainer
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
181
|
+
if (this.$refs.modalContainer) {
|
|
182
|
+
this.$refs.modalContainer.style.transition = 'background-color 0.2s';
|
|
183
|
+
this.$refs.modalContainer.style.backgroundColor = 'transparent';
|
|
184
|
+
}
|
|
185
|
+
if (this.$refs.modal) {
|
|
186
|
+
this.$refs.modal.style.transition = 'margin-bottom 0.2s';
|
|
187
|
+
this.$refs.modal.style.marginBottom = `${-this.$refs.modal.offsetHeight}px`;
|
|
188
|
+
}
|
|
174
189
|
|
|
175
190
|
setTimeout(() => {
|
|
176
191
|
this.mobileAnimateReset();
|
|
@@ -201,7 +216,7 @@ export default {
|
|
|
201
216
|
</script>
|
|
202
217
|
|
|
203
218
|
<style lang="scss" scoped>
|
|
204
|
-
@
|
|
219
|
+
@use '@/assets/scss/unnnic' as *;
|
|
205
220
|
|
|
206
221
|
.unnnic-modal {
|
|
207
222
|
position: fixed;
|
|
@@ -270,6 +285,12 @@ export default {
|
|
|
270
285
|
&-description {
|
|
271
286
|
width: 100%;
|
|
272
287
|
text-align: center;
|
|
288
|
+
overflow: auto;
|
|
289
|
+
font-family: $unnnic-font-family-secondary;
|
|
290
|
+
color: $unnnic-color-neutral-cloudy;
|
|
291
|
+
font-weight: $unnnic-font-weight-regular;
|
|
292
|
+
font-size: $unnnic-font-size-body-lg;
|
|
293
|
+
line-height: ($unnnic-font-size-body-lg + $unnnic-line-height-medium);
|
|
273
294
|
|
|
274
295
|
&-container {
|
|
275
296
|
background-color: $unnnic-color-background-carpet;
|
|
@@ -279,14 +300,6 @@ export default {
|
|
|
279
300
|
overflow: hidden;
|
|
280
301
|
padding-bottom: $unnnic-spacing-stack-giant;
|
|
281
302
|
}
|
|
282
|
-
|
|
283
|
-
overflow: auto;
|
|
284
|
-
|
|
285
|
-
font-family: $unnnic-font-family-secondary;
|
|
286
|
-
color: $unnnic-color-neutral-cloudy;
|
|
287
|
-
font-weight: $unnnic-font-weight-regular;
|
|
288
|
-
font-size: $unnnic-font-size-body-lg;
|
|
289
|
-
line-height: ($unnnic-font-size-body-lg + $unnnic-line-height-medium);
|
|
290
303
|
}
|
|
291
304
|
}
|
|
292
305
|
|
|
@@ -45,7 +45,7 @@ export default {
|
|
|
45
45
|
</script>
|
|
46
46
|
|
|
47
47
|
<style lang="scss">
|
|
48
|
-
@
|
|
48
|
+
@use '@/assets/scss/unnnic' as *;
|
|
49
49
|
.unnnic-select-item {
|
|
50
50
|
background-color: $unnnic-color-background-snow;
|
|
51
51
|
padding: $unnnic-spacing-stack-nano $unnnic-inline-xs;
|
|
@@ -437,7 +437,7 @@ export default {
|
|
|
437
437
|
const optionElement = elementScroll.childNodes[optionIndex];
|
|
438
438
|
|
|
439
439
|
if (optionElement instanceof HTMLElement) {
|
|
440
|
-
optionElement
|
|
440
|
+
optionElement?.scrollIntoView({ block: scrollBlock });
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
},
|
|
@@ -547,7 +547,7 @@ export default {
|
|
|
547
547
|
</script>
|
|
548
548
|
|
|
549
549
|
<style lang="scss">
|
|
550
|
-
@
|
|
550
|
+
@use '@/assets/scss/unnnic' as *;
|
|
551
551
|
.unnnic-select-smart {
|
|
552
552
|
position: relative;
|
|
553
553
|
|
|
@@ -84,7 +84,7 @@ export default {
|
|
|
84
84
|
</script>
|
|
85
85
|
|
|
86
86
|
<style lang="scss">
|
|
87
|
-
@
|
|
87
|
+
@use '@/assets/scss/unnnic' as *;
|
|
88
88
|
.unnnic-select-smart-option {
|
|
89
89
|
background-color: $unnnic-color-background-snow;
|
|
90
90
|
padding: $unnnic-spacing-stack-nano $unnnic-inline-xs;
|
|
@@ -237,7 +237,7 @@ export default {
|
|
|
237
237
|
</script>
|
|
238
238
|
|
|
239
239
|
<style lang="scss" scoped>
|
|
240
|
-
@
|
|
240
|
+
@use '@/assets/scss/unnnic' as *;
|
|
241
241
|
|
|
242
242
|
.value-input {
|
|
243
243
|
display: flex;
|
|
@@ -285,7 +285,7 @@ export default {
|
|
|
285
285
|
</style>
|
|
286
286
|
|
|
287
287
|
<style lang="scss">
|
|
288
|
-
@
|
|
288
|
+
@use '@/assets/scss/unnnic' as *;
|
|
289
289
|
|
|
290
290
|
.unnnic-label {
|
|
291
291
|
display: flex;
|