Commit graph

55 commits

Author SHA1 Message Date
JEEEEEEEEEEEEEEEEEEEEEED
f203490d03 fix(oc-dialog): Get rid of the overlay
- Icrement Z-index of oc-dialog-dim
- Increment z-index of oc-dialog- Insert oc-dialog-dim before oc-dialog

Co-authored-by: Co-author RayanBekri <rmt.bekri@gmail.com>"
Signed-off-by: JEEEEEEEEEEEEEEEEEEEEEED <118366366+jadjoud@users.noreply.github.com>
2024-04-08 12:50:45 -05:00
Christopher Ng
b3e5269963 enh(a11y): Add aria-modal to dialogs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-20 17:13:55 -07:00
Simon L
95deec130a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-24 15:00:15 +00:00
Simon L
872483f279 only print deprecation logs if debug mode is enabled
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +02:00
Simon L
1afc82327a Move deprecation warnings to debug
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +02:00
Simon L
f5e8268ced Use the color-primary-element* variables
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-13 10:15:33 +00:00
Christopher Ng
79310bd545 Trap focus in dialogs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-24 15:45:40 -07:00
John Molakvoæ
8633f13e0a
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
Christopher Ng
864fb3fe63 Add label and switch ocdialog close button to button element
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-06 12:56:12 -08:00
szaimen
1a0625ead2 fix ldap ui buttons
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-12 15:19:39 +02:00
Christopher Ng
04cec2b686 Enable keyboard activation of legacy contacts menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-10 01:32:34 +00:00
Christopher Ng
0ea95c3ff6 Rename a11y helper function
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:25:13 +00:00
Christopher Ng
f876dc6882 Set circular radius on close button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:19:28 +00:00
Christopher Ng
189926b107 Add a11y utility function
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:17:19 +00:00
Christopher Ng
9f09caaaea Activate the primary dialog button on enter if there is a single input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:16:04 +00:00
Christopher Ng
edba92d1f4 Use keyboard controls with the action buttons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:13:52 +00:00
Christopher Ng
83e16b89a2 Prevent pressing enter key without control focus from activating the primary button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:08:25 +00:00
Christopher Ng
fc56c0eb91 Fix focus styling
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:06:53 +00:00
Christopher Ng
229c65b0d7 Handle keyboard navigation in the file picker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-08 23:58:28 +00:00
John Molakvoæ
c59c3b5c1f
Migrate to static icons colours
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-10 23:24:06 +02:00
Louis Chemineau
4763a1263f Explicitly close div element
Fix: #30002
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-04 17:52:44 +00:00
John Molakvoæ
53f379fe3f Center dialog new file menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-07 13:03:18 +00:00
Louis Chemineau
14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
Louis Chemineau
9fc6cc9634 Add generic type and description when its missing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:04 +01:00
Louis Chemineau
d92cbf5149 Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +01:00
John Molakvoæ (skjnldsv)
74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +01:00
John Molakvoæ (skjnldsv)
3e624dc399
Bump js licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +02:00
Marco Ambrosini
f2b0afdb60 fix-dialog-buttons
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-12-18 15:39:48 +01:00
Christoph Wurst
ae0a496da8
Bump jquery from 2.2.4 to 3.1.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-13 08:46:35 +01:00
Joas Schilling
ace8ff87b8
Fix dark-theme selector
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-21 11:42:50 +02:00
John Molakvoæ (skjnldsv)
a384b4a97a
Bump @nextcloud/eslint-config and peers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 09:35:55 +02:00
John Molakvoæ (skjnldsv)
0f8aca9d87
Bump compiled files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 09:26:43 +02:00
Julius Härtl
00d545f87e Fix placeholder issues with multiplace spaces in the name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-09 07:05:15 +00:00
Gary Kim
8773ae49c5
Make closing dialogs callback with false
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-06-30 21:45:06 +08:00
Joas Schilling
eca3c9f6b1
Darker background for dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-16 12:21:10 +02:00
Joas Schilling
b5140309e5
Add darkmode support for the modal background
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:20 +02:00
Joas Schilling
b1f74b0056
Fix modal support for vue apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:13 +02:00
Ruben Barkow-Kuder
4ad622a720 compress some images with tinypng.com
Signed-off-by: Ruben Barkow-Kuder <github@r.z11.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-22 13:07:11 +00:00
Christoph Wurst
3c7939f7ad
Remove the long deprecated jQuery tipsy
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-14 20:40:58 +02:00
Christoph Wurst
f9e1418098 Deprecate String.prototype.toRgb
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-14 17:39:39 +00:00
Christoph Wurst
f4ba82f38f
Import md5 for the jquery placeholder plugin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-14 15:12:55 +02:00
Sergey Shliakhov
09ecf4b4eb Generate legacy image placeholder text by taking first letters
https://github.com/nextcloud/server/issues/19335
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-30 07:17:47 +00:00
Joas Schilling
0b53084ccb Use the primary element color in case it primary color is too bright
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-10 06:49:21 +00:00
dependabot-preview[bot]
ec01e0a790
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0.
- [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases)
- [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0)

Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-19 11:55:33 +01:00
Gary Kim
0efa78d1e2
Prompt on destructive user actions
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-11-05 20:39:07 +08:00
Roeland Jago Douma
6c489a6d40
Move to escape-html
* If there is a package that does exactly the same then lets us use that
* Import it properly in the internals (less deprecation warnings)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-04 13:23:32 +02:00
John Molakvoæ (skjnldsv)
b9bc2417e7
Comply to eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-01 17:16:09 +02:00
Christoph Wurst
c624c102a6
Move OC.requestToken to the bundle, deprecate oc_requesttoken
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 08:27:43 +02:00
Christoph Wurst
51d49c3134
Move initCore to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-10 13:47:21 +02:00
John Molakvoæ (skjnldsv)
d6710b597b
Fix mobile vertical scrolling
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-09 10:18:15 +02:00