mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
[PM-22284] - [Defect] Inconsistent UI issues with Send page empty state (#15877)
* update new send dropdown to match comps * revert change to no send icon.
This commit is contained in:
@@ -22,7 +22,9 @@
|
|||||||
>
|
>
|
||||||
<bit-no-items [icon]="noItemIcon" class="tw-text-main">
|
<bit-no-items [icon]="noItemIcon" class="tw-text-main">
|
||||||
<ng-container slot="title">{{ "sendsTitleNoItems" | i18n }}</ng-container>
|
<ng-container slot="title">{{ "sendsTitleNoItems" | i18n }}</ng-container>
|
||||||
<ng-container slot="description">{{ "sendsBodyNoItems" | i18n }}</ng-container>
|
<ng-container slot="description">
|
||||||
|
<p bitTypography="body2" class="tw-mx-6 tw-mt-2">{{ "sendsBodyNoItems" | i18n }}</p>
|
||||||
|
</ng-container>
|
||||||
<tools-new-send-dropdown
|
<tools-new-send-dropdown
|
||||||
[hideIcon]="true"
|
[hideIcon]="true"
|
||||||
*ngIf="!sendsDisabled"
|
*ngIf="!sendsDisabled"
|
||||||
|
|||||||
@@ -10,7 +10,12 @@ import { PolicyType } from "@bitwarden/common/admin-console/enums";
|
|||||||
import { AccountService } from "@bitwarden/common/auth/abstractions/account.service";
|
import { AccountService } from "@bitwarden/common/auth/abstractions/account.service";
|
||||||
import { getUserId } from "@bitwarden/common/auth/services/account.service";
|
import { getUserId } from "@bitwarden/common/auth/services/account.service";
|
||||||
import { SendType } from "@bitwarden/common/tools/send/enums/send-type";
|
import { SendType } from "@bitwarden/common/tools/send/enums/send-type";
|
||||||
import { ButtonModule, CalloutModule, NoItemsModule } from "@bitwarden/components";
|
import {
|
||||||
|
ButtonModule,
|
||||||
|
CalloutModule,
|
||||||
|
NoItemsModule,
|
||||||
|
TypographyModule,
|
||||||
|
} from "@bitwarden/components";
|
||||||
import {
|
import {
|
||||||
NewSendDropdownComponent,
|
NewSendDropdownComponent,
|
||||||
SendItemsService,
|
SendItemsService,
|
||||||
@@ -48,6 +53,7 @@ export enum SendState {
|
|||||||
SendListItemsContainerComponent,
|
SendListItemsContainerComponent,
|
||||||
SendListFiltersComponent,
|
SendListFiltersComponent,
|
||||||
SendSearchComponent,
|
SendSearchComponent,
|
||||||
|
TypographyModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class SendV2Component implements OnDestroy {
|
export class SendV2Component implements OnDestroy {
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
<button
|
<button bitButton [bitMenuTriggerFor]="itemOptions" [buttonType]="buttonType" type="button">
|
||||||
bitButton
|
|
||||||
size="small"
|
|
||||||
[bitMenuTriggerFor]="itemOptions"
|
|
||||||
[buttonType]="buttonType"
|
|
||||||
type="button"
|
|
||||||
>
|
|
||||||
<i *ngIf="!hideIcon" class="bwi bwi-plus" aria-hidden="true"></i>
|
<i *ngIf="!hideIcon" class="bwi bwi-plus" aria-hidden="true"></i>
|
||||||
{{ (hideIcon ? "createSend" : "new") | i18n }}
|
{{ (hideIcon ? "createSend" : "new") | i18n }}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user