Skip to content

Commit

Permalink
Merge pull request #343 from weni-ai/fix/typo-on-unnnic-button
Browse files Browse the repository at this point in the history
Fix: Typo on unnnic button
  • Loading branch information
paulobernardoaf authored Oct 30, 2023
2 parents afb6214 + 782e0d7 commit 6ff47d4
Show file tree
Hide file tree
Showing 57 changed files with 444 additions and 452 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@sentry/integrations": "^6.13.2",
"@sentry/vue": "^6.13.2",
"@weni/unnnic-system": "^1.16.51",
"@weni/unnnic-system": "^1.16.61",
"axios": "0.21.1",
"core-js": "^3.6.5",
"global": "^4.4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/AddModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<unnnic-button
ref="unnnic-add-modal-close-button"
slot="options"
type="terciary"
type="tertiary"
@click.stop="toggleModal"
>{{ $t('general.Close') }}</unnnic-button
>
Expand Down
4 changes: 2 additions & 2 deletions src/components/AppGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
class="app-grid__content__item__dropdown"
slot="actions"
>
<unnnic-button slot="trigger" size="small" type="terciary" :iconCenter="cardIcon" />
<unnnic-button slot="trigger" size="small" type="tertiary" :iconCenter="cardIcon" />
<unnnic-dropdown-item
class="app-grid__content__item__button--action"
@click="openAppModal(app)"
Expand Down Expand Up @@ -99,7 +99,7 @@
<unnnic-button
ref="unnnic-remove-modal-close-button"
slot="options"
type="terciary"
type="tertiary"
@click="toggleRemoveModal"
>{{ $t('general.Cancel') }}</unnnic-button
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/OnboardModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</div>

<div v-if="currentApp" class="onboard__buttons">
<unnnic-button type="terciary" @click.stop="previousPage" :text="$t('general.back')" />
<unnnic-button type="tertiary" @click.stop="previousPage" :text="$t('general.back')" />
<unnnic-button
type="secondary"
@click="nextPage"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Survey.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="survey__content__buttons">
<unnnic-button
class="survey__content__buttons__exit"
type="terciary"
type="tertiary"
size="small"
:text="$t('general.exit')"
@click="closeSurvey"
Expand Down
6 changes: 3 additions & 3 deletions src/components/app/AppDetailsComments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<unnnic-icon-svg slot="trigger" icon="navigation-menu-vertical-1" size="sm" />
<unnnic-dropdown-item>
<unnnic-button
type="terciary"
type="tertiary"
iconLeft="pencil-write-1"
:text="$t('apps.details.comments.edit_comment')"
size="small"
Expand All @@ -54,7 +54,7 @@
</unnnic-dropdown-item>
<unnnic-dropdown-item>
<unnnic-button
type="terciary"
type="tertiary"
iconLeft="delete-1"
:text="$t('apps.details.comments.delete_comment')"
size="small"
Expand All @@ -76,7 +76,7 @@
<unnnic-button
ref="unnnic-remove-modal-close-button"
slot="options"
type="terciary"
type="tertiary"
@click="toggleRemoveModal"
>{{ $t('general.Cancel') }}</unnnic-button
>
Expand Down
4 changes: 2 additions & 2 deletions src/components/app/AppDetailsRecommended.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
<div class="app-details-recommended__header__buttons">
<unnnic-button
class="app-details-recommended__header__buttons__prev"
type="terciary"
type="tertiary"
icon-center="arrow-left-1-1"
size="small"
@click="prevRecommendation"
/>
<unnnic-button
class="app-details-recommended__header__buttons__next"
type="terciary"
type="tertiary"
icon-center="arrow-right-1-1"
size="small"
@click="nextRecommendation"
Expand Down
2 changes: 1 addition & 1 deletion src/components/config/ConfigModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<unnnic-button
ref="unnnic-remove-modal-close-button"
slot="options"
type="terciary"
type="tertiary"
@click="toggleConfirmationModal"
>
{{ $t('apps.config.confirmation.goBackToConfig') }}
Expand Down
2 changes: 1 addition & 1 deletion src/components/config/bi_tools/power_bi/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<div class="app-config-power-bi__buttons">
<unnnic-button
class="app-config-power-bi__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('apps.config.cancel')"
@click="$emit('closeModal')"
Expand Down
4 changes: 2 additions & 2 deletions src/components/config/channels/WWC/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
<div class="app-config-wwc__tabs__settings-content__buttons">
<unnnic-button
class="app-config-wwc__tabs__settings-content__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('general.Cancel')"
@click="closeConfig"
Expand Down Expand Up @@ -209,7 +209,7 @@
<div class="app-config-wwc__tabs__settings-content__buttons">
<unnnic-button
class="app-config-wwc__tabs__settings-content__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('general.Cancel')"
@click="closeConfig"
Expand Down
4 changes: 2 additions & 2 deletions src/components/config/channels/facebook/Setup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="facebook-setup__buttons">
<unnnic-button
class="facebook-setup__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('general.Cancel')"
@click="closePopUp"
Expand Down Expand Up @@ -70,7 +70,7 @@
<div class="page-selection__buttons" slot="options">
<unnnic-button
class="page-selection__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t(`${this.integrationName}.setup.connect_later`)"
@click="closePopUp"
Expand Down
2 changes: 1 addition & 1 deletion src/components/config/channels/generic/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<div class="app-config-generic__settings__buttons">
<unnnic-button
class="app-config-generic__settings__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('apps.config.cancel')"
@click="closeConfig"
Expand Down
6 changes: 1 addition & 5 deletions src/components/config/channels/telegram/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div class="app-config-telegram__settings__buttons">
<unnnic-button
class="app-config-telegram__settings__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('apps.config.cancel')"
@click="closeConfig"
Expand Down Expand Up @@ -224,10 +224,6 @@
&__input {
margin-top: $unnnic-spacing-stack-xs;
&__subtitle {
margin-top: $unnnic-spacing-stack-nano/2;
}
&__payload {
flex: 1;
margin-top: $unnnic-spacing-stack-xs;
Expand Down
2 changes: 1 addition & 1 deletion src/components/config/channels/whatsapp/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<unnnic-button
class="config-whatsapp__header__title__close"
type="terciary"
type="tertiary"
icon-center="close-1"
size="small"
@click="closeConfig"
Expand Down
6 changes: 3 additions & 3 deletions src/components/config/channels/whatsapp/Setup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="whatsapp-setup__buttons">
<unnnic-button
class="whatsapp-setup__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('general.Cancel')"
@click="closePopUp"
Expand Down Expand Up @@ -66,15 +66,15 @@
<div class="phone-number-selection__buttons" slot="options">
<unnnic-button
class="phone-number-selection__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('WhatsAppCloud.config.phone_numbers.connect_later')"
@click="closePopUp"
></unnnic-button>
<!-- eslint-disable -->
<LoadingButton
class="phone-number-selection__buttons__save"
type="terciary"
type="tertiary"
size="large"
:disabled="
loadingPhoneNumbers || loadingDebugToken || !!errorDebugToken || !!errorPhoneNumbers || loadingWhatsAppCloudConfigure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="profile-content__buttons">
<unnnic-button
class="profile-content__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('WhatsApp.config.profile.configure_later')"
@click="() => this.$emit('close')"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<div class="webhook-info__buttons">
<unnnic-button
class="webhook-info__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('WhatsApp.config.contact_info.configure_later')"
@click="() => this.$emit('close')"
Expand Down
2 changes: 1 addition & 1 deletion src/components/config/channels/wpp_demo/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<unnnic-button
ref="unnnic-wpp-demo-modal-close-button"
slot="options"
type="terciary"
type="tertiary"
@click="closePopUp"
>{{ $t('general.Close') }}</unnnic-button
>
Expand Down
6 changes: 1 addition & 5 deletions src/components/config/channels/wpp_demo/Preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<div class="app-preview-wpp_demo__settings__buttons">
<unnnic-button
class="app-preview-wpp_demo__settings__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('general.Close')"
@click="closePreview"
Expand Down Expand Up @@ -186,10 +186,6 @@
&__input {
margin-top: $unnnic-spacing-stack-xs;
&__subtitle {
margin-top: $unnnic-spacing-stack-nano/2;
}
&__payload {
flex: 1;
margin-top: $unnnic-spacing-stack-xs;
Expand Down
4 changes: 2 additions & 2 deletions src/components/config/external/chatgpt/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<unnnic-button
class="config-chatgpt__header__title__close"
type="terciary"
type="tertiary"
icon-center="close-1"
size="small"
@click="closeConfig"
Expand Down Expand Up @@ -96,7 +96,7 @@
<div class="config-chatgpt__settings__buttons">
<unnnic-button
class="config-chatgpt__settings__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('apps.config.cancel')"
@click="closeConfig"
Expand Down
2 changes: 1 addition & 1 deletion src/components/config/external/chatgpt/Setup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<unnnic-button
ref="unnnic-chatgpt-modal-close-button"
slot="options"
type="terciary"
type="tertiary"
@click="closePopUp"
>
{{ $t('general.Cancel') }}
Expand Down
2 changes: 1 addition & 1 deletion src/components/config/external/omie/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<div class="app-config-omie__settings__buttons">
<unnnic-button
class="app-config-omie__settings__buttons__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('apps.config.cancel')"
@click="closeConfig"
Expand Down
2 changes: 1 addition & 1 deletion src/components/whatsAppTemplates/FormTabContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<div class="form-tab-content__actions">
<unnnic-button
class="form-tab-content__actions__cancel"
type="terciary"
type="tertiary"
size="large"
:text="$t('apps.config.cancel')"
@click="closeEdit"
Expand Down
2 changes: 1 addition & 1 deletion src/components/whatsAppTemplates/FormTabContentBody.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@add-variable="addVariable"
@emoji-event="handleNewEmoji"
/>
<unnnic-button type="terciary" iconLeft="add-1" size="small" @click="addVariable">
<unnnic-button type="tertiary" iconLeft="add-1" size="small" @click="addVariable">
{{ $t('WhatsApp.templates.form_field.add_variable') }}
</unnnic-button>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/components/whatsAppTemplates/FormTabContentButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<unnnic-button
class="form-tab-content-buttons__replies__remove-button"
:disabled="disableInputs"
type="terciary"
type="tertiary"
iconCenter="bin-1-1"
size="small"
@click="removeButton(index)"
Expand Down Expand Up @@ -78,7 +78,7 @@
<unnnic-button
class="form-tab-content-buttons__call-actions__button__header__remove-button"
:disabled="disableInputs"
type="terciary"
type="tertiary"
iconCenter="bin-1-1"
size="small"
@click="removeButton(index)"
Expand Down Expand Up @@ -184,7 +184,7 @@

<unnnic-button
v-if="showAddButton"
type="terciary"
type="tertiary"
:disabled="disableInputs"
iconLeft="add-1"
size="small"
Expand Down
10 changes: 5 additions & 5 deletions src/components/whatsAppTemplates/InputEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/>
<unnnic-button
class="input-editor__emoji-picker__button"
type="terciary"
type="tertiary"
iconCenter="emoji"
size="small"
@click="toggleEmoji"
Expand All @@ -20,7 +20,7 @@
<unnnic-tool-tip side="top" text="Bold" enabled>
<unnnic-button
class="input-editor__button"
type="terciary"
type="tertiary"
iconCenter="text-bold"
size="small"
@click="$emit('format-event', '*')"
Expand All @@ -30,7 +30,7 @@
<unnnic-tool-tip side="top" text="Italic" enabled>
<unnnic-button
class="input-editor__button"
type="terciary"
type="tertiary"
iconCenter="text-italic"
size="small"
@click="$emit('format-event', '_')"
Expand All @@ -40,7 +40,7 @@
<unnnic-tool-tip side="top" text="Strike Through" enabled>
<unnnic-button
class="input-editor__button input-editor__button__strike"
type="terciary"
type="tertiary"
size="small"
@click="$emit('format-event', '~')"
>
Expand All @@ -51,7 +51,7 @@
<unnnic-tool-tip side="top" text="Monospace" enabled>
<unnnic-button
class="input-editor__button input-editor__button__mono"
type="terciary"
type="tertiary"
size="small"
@click="$emit('format-event', '```')"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/whatsAppTemplates/TableActionButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<unnnic-button
slot="trigger"
size="small"
type="terciary"
type="tertiary"
iconCenter="navigation-menu-vertical-1"
/>

Expand Down
Loading

0 comments on commit 6ff47d4

Please sign in to comment.