1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 13:10:17 +00:00
Commit Graph

401 Commits

Author SHA1 Message Date
Will Martin
75cfd1cfe6 Update libs/components/src/dialog/dialog.service.ts
Co-authored-by: Vicki League <vleague@bitwarden.com>
2025-04-24 16:57:39 -04:00
William Martin
c1093bfd9f fix styles when background is alt 2025-04-24 12:10:45 -04:00
William Martin
e10af1ff86 fix responsive width 2025-04-24 12:07:02 -04:00
William Martin
897ede94b1 fix provider issue when used in router outlet 2025-04-24 11:35:22 -04:00
William Martin
4e52df0ecf remove storybook from barrel file 2025-04-24 10:16:01 -04:00
Will Martin
b4abb9739a Merge branch 'main' into uif/CL-622/dialog-as-drawer 2025-04-23 17:32:26 -04:00
William Martin
797e793a11 fix lifecycle bug by reworking scoll util 2025-04-23 17:22:02 -04:00
William Martin
c7cc3d60c9 add dynamic border styles to dialog template 2025-04-23 13:12:10 -04:00
William Martin
fd1801eabe update docs 2025-04-23 10:04:56 -04:00
William Martin
d1e0802a9e fix stories attempt 2025-04-22 18:44:19 -04:00
William Martin
668a42282d better comments in dialog service 2025-04-22 14:17:08 -04:00
Oscar Hinton
490a46e9b6 [PM-19923] Update autofocus directive to be more aggressive in focusing (#14368)
* Update autofocus directive to be more aggressive in focusing

* Handle checkVisibility not existing (safari < 17.4)

* Tweak phrasing

* Change approach
2025-04-22 11:46:35 -05:00
William Martin
39fd829d5e update drawer padding to match new spec 2025-04-22 10:45:53 -04:00
William Martin
dc19571764 small cr changes 2025-04-22 08:42:03 -04:00
William Martin
478cdbaffb replace scrollWindow usages with bitScrollLayout 2025-04-21 23:11:55 -04:00
William Martin
8236891c71 fix virtual scroll; add bitScrollLayout directive 2025-04-21 23:00:21 -04:00
William Martin
48236873da Merge branch 'main' into uif/CL-622/dialog-as-drawer 2025-04-21 10:25:06 -04:00
Bryan Cunningham
cbab354c0e Hide bit-icon component from screen readers by default (#14295)
* adds aria-hidden to bit-icon when no aria-label provided

* add ariaLabel to logo svg usages

* add ariaLabel documentation

* default ariaLable value to undefined

* add logo label to translations

* adds i18n pipe to component

* Add binding to example docs
2025-04-18 10:38:19 -04:00
William Martin
589abad9c7 fix lint error 2025-04-18 09:58:37 -04:00
William Martin
526085ea54 Merge branch 'uif/CL-622/dialog-as-drawer' of https://github.com/bitwarden/clients into uif/CL-622/dialog-as-drawer 2025-04-16 17:06:00 -04:00
William Martin
06c9b70ba0 optional dialogRef 2025-04-16 17:04:53 -04:00
Will Martin
38c3aab123 Merge branch 'main' into uif/CL-622/dialog-as-drawer 2025-04-16 14:53:00 -04:00
William Martin
72cb0dd5f0 cr changes 2025-04-16 13:59:56 -04:00
William Martin
b467670e7f fix type & injection errors; add wrapper dialogRef for cdk base dialogRef 2025-04-16 13:57:59 -04:00
Bryan Cunningham
ac1210a7ed remove margin from checkbox hint (#14251) 2025-04-14 12:56:30 -04:00
Alec Rippberger
4772362928 refactor(auth): [PM-8976] migrate two-factor setup component to Tailwind and standalone
- Remove Bootstrap styles from two-factor-setup component and replace with Tailwind equivalents
- Convert two factor components to standalone components to move away from LooseComponents
- Replace ul/li list with bit-item-group and bit-item components
- Integrate with the bit design system

---------

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
Co-authored-by: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com>
2025-04-10 14:13:11 -05:00
Bryan Cunningham
f24a4d139d remove hint margin in radio button (#14223) 2025-04-10 14:42:15 -04:00
Bryan Cunningham
c59b321dbb adds button story and docs for button with icon spacing (#14198)
* add story & docs for button with icon spacing

* add back block story removed in error

* remove unnecessary args
2025-04-10 14:17:37 -04:00
William Martin
0b8e696501 fix drawer height 2025-04-07 13:58:22 -04:00
William Martin
e32f418154 update stories 2025-04-07 13:34:42 -04:00
William Martin
fcaff75efe fix full screen drawer 2025-04-07 12:51:25 -04:00
Jason Ng
31cc2c57ee [CL-421] add new notification variant to badge (#14130)
* add new notification variant to badge
2025-04-07 10:37:34 -04:00
William Martin
5f2bdf0eae open drawer as dialog 2025-04-03 21:11:48 -04:00
Vicki League
64bbdcd638 Revert "fix menu trigger fallback position (#14040)" (#14112)
This reverts commit b0ccadcc0f.
2025-04-03 15:09:10 -04:00
Will Martin
76cb3fd38d [CL-623] export CDK dialog deps from libs/components (#14074)
* add cdk dialog deps to CL dialog barrel file

* find and replace cdk dialog import

* run prettier
2025-04-02 15:08:38 -04:00
Nick Krantz
3c83165b4e [PM-17598] Long custom fields (#13668)
* add custom directive to use the angular CDK resize textarea directive

* swap to textarea to allow for full content to be shown when view text or hidden custom fields

* add text-field styling to web sass file

* move angular import to CL scss file

* add `textarea` to selector to enforce directive usage only on textareas
2025-04-02 09:58:31 -07:00
Jordan Aasen
b0ccadcc0f fix menu trigger fallback position (#14040) 2025-04-01 14:15:54 -07:00
Vicki League
575e8b691f [CL-570] Deprecate old icons (#13663) 2025-04-01 11:34:04 -04:00
Vijay Oommen
a877450e0a PM-2630 virtual scroll on tables (#13725)
Tested by QA and passed.
2025-03-10 15:52:52 -04:00
Oscar Hinton
a569dd9ad6 [PM-15892] [PM-12250]Remove nord and remnants from solarizedark (#13449)
* Remove nord and remnants from solarizedark

* Update window reload color

* Remove extension-refresh feature flag from clients (#13450)

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>

* Remove usage of nord and solarized themes within DarkImageDirective

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-03-10 15:33:55 +01:00
Thomas Rittson
ef72f513b1 eslint: report unused disable directives (#13463)
Remove any unused disable directives and FIXMEs in our code
2025-03-10 09:33:08 -04:00
Merissa Weinstein
d4c74287fc [CL-281] Override tailwind text-3xl style (#13710)
* override tailwind text-3xl style

* convert px to rem
2025-03-07 10:02:17 -06:00
Shane Melton
b9ebf0704a [PM-14426] At-risk password Getting Started Carousel (#13383)
* [PM-14426] Add hideIcon input to simple dialog component

* [PM-14426] Introduce dark-image-source.directive.ts

* [PM-14426] Tweaks to the Vault Carousel component
- Create a Carousel NgModule so that the carousel component and carousel slide component are exported
- Update barrel files
- Adjust min height calculation logic to wait for ;hidden slides to finish rendering before calculating height

* [PM-14426] Introduce at risk password getting started carousel component and images

* [PM-14426] Refactor at-risk-password-page.service.ts to use the same state definition for banner and carousel dismissal

* [PM-14426] Open the getting started carousel on page load

* [PM-14426] Add tests

* [PM-14426] Use booleanAttribute

* [PM-14426] Fix failing type checking
2025-02-26 13:24:35 -08:00
Oscar Hinton
cec117459b [PM-18599] Forbid unknown property and element in tests (#13556)
Fail tests when relying on unknownProperties or unknownElements. Existing instances are whitelist and have tickets created and assigned to the relevant teams.
2025-02-25 14:02:19 -08:00
Danielle Flinn
e6e6058f9e CL-261: update popover styles and fix stories (#13547)
* updated popover styles and fix stories

* fixed alignment of icon button title and added long title story
2025-02-25 13:55:21 -08:00
Vicki League
6d1914f43d [CL-485] Add small delay for async action loading state (#12835) 2025-02-25 09:56:01 -05:00
Vicki League
886cf48e77 [CL-524] Unskip chromatic tests to troubleshoot (#13477) 2025-02-24 09:48:54 -05:00
Vicki League
657902cdcc [CL-349] Allow @apply styles to be used in CL css (#13414) 2025-02-20 12:56:22 -05:00
Oscar Hinton
661ee03698 Add cdk-visually-hidden to tw-theme for Angular CDK LiveAnnouncer (#13410)
Angular CKD LiveAnnouncer depends on some css logic to hide announcements from being displayed.

This imports the required CSS to ensure the text is hidden from regular view.
2025-02-19 17:42:34 +01:00
Vicki League
6e4a06dab4 [CL-317] Use storybook theme addon for theme switching (#13451) 2025-02-18 15:29:47 -05:00