Граф коммитов

9391 Коммитов

Автор SHA1 Сообщение Дата
Ferdinand Thiessen 803f317f45
refactor: Migrate component tests to Playwright
This contains all normal component tests

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-19 19:12:22 +02:00
Maksim Sukharev 17c3098658
Merge pull request #5836 from nextcloud-libraries/backport/5834/next
[next] fix(NcListItem): do not render counter on falsy values
2024-07-19 02:46:22 +02:00
Maksim Sukharev 6782a651cb fix(NcListItem): do not render counter on falsy values
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-18 21:09:45 +00:00
Ferdinand Thiessen e31b0d41a8
Merge pull request #5835 from nextcloud-libraries/backport/5780/next
[next] fix(NcListItem): Anchor height was set not to content but random area
2024-07-18 22:16:11 +02:00
Ferdinand Thiessen f6ebd415c0 fix(NcListItem): Anchor height was set not to content but random area
* The anchor height is in reality not default-clickable-area but 2 lines of text
* Fix visual regressions on Nextcloud 30 by making the padding dependant of the border radius
* The margin for the focus-visual needs only to account for the box shadow on the first and last element, all other can just have a margin for the border.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-18 19:34:20 +00:00
Ferdinand Thiessen d82f79f1e2
Merge pull request #5825 from nextcloud-libraries/backport/5820/next
[next] docs: Fix `NcAppNavigationCaption` examples
2024-07-18 17:34:22 +02:00
Grigorii K. Shartsev 57b5b481f6
Merge pull request #5827 from nextcloud-libraries/backport/5822/next
[next] fix(NcInputField): Make helper text aligned and maxcontrast color
2024-07-18 18:54:34 +05:00
Ferdinand Thiessen 3ec27d68e0
Merge pull request #5826 from nextcloud-libraries/backport/5815/next
[next] style(NcAppNavigationCaption): remove margin-bottom
2024-07-18 15:22:09 +02:00
Ferdinand Thiessen 3c28c9d885
fix(NcInputField): Make helper text aligned and maxcontrast color
The helper text should be aligned with the input, at least the inline padding

should match the input (without icons).

Also the helper text without any state (error / success) should be maxcontrast color.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-18 15:14:59 +02:00
Grigory V dadd19b989 style(NcAppNavigationCaption): remove margin-bottom
Signed-off-by: Grigory V <scratchx@gmx.com>
2024-07-18 13:10:28 +00:00
Ferdinand Thiessen b848ff251f docs: Fix `NcAppNavigationCaption` examples
We need to use the real `NcAppNavigation` component as this is injecting other styles.
Otherwise the styleguide will look very different to the real result.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-18 13:09:11 +00:00
Ferdinand Thiessen 93471ddf0c
Merge pull request #5781 from nextcloud-libraries/chore/prepare-9-0-0-alpha5
Prepare v9.0.0-alpha.5 release
2024-07-16 15:48:20 +02:00
Ferdinand Thiessen 3c36ce32be chore: Update translations
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 11:51:55 +02:00
Ferdinand Thiessen ca8bbb1e22 chore: Prepare v9.0.0-alpha.5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 11:51:55 +02:00
Ferdinand Thiessen 79ddba5f2e
Merge pull request #5568 from nextcloud-libraries/fix/next-caption-attrs
[next] fix(NcAppNavigationCaption): Only pass needed props to NcActions
2024-07-10 12:47:32 +02:00
Pytal 20433d7828
Merge pull request #5799 from nextcloud-libraries/backport/5765/next
[next] fix(NcAppNavigationSettings): border radius of toggle button
2024-07-09 09:03:44 -07:00
Ferdinand Thiessen 74289da691
Merge pull request #5778 from nextcloud-libraries/backport/5771/next
[next] fix(NcDialog): Ensure the dialog is correctly labelled by its name
2024-07-09 15:48:46 +02:00
Richard Steinmetz 86b5c049dc fix(NcAppNavigationSettings): border radius of toggle button
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-09 13:47:39 +00:00
Ferdinand Thiessen 9949c44470
Merge pull request #5508 from nextcloud-libraries/backport/5507/next
[next] fix(NcCheckboxRadioSwitch): Pass attrs to `input` if available
2024-07-08 12:40:18 +02:00
Ferdinand Thiessen 8debebe91f
fix(NcCheckboxRadioSwitch): Pass attrs to `input` if available
If not button type, pass the attrs to the input element to allow setting aria tags like `aria-invalid` and `aria-errormessage`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-08 12:38:04 +02:00
Andy Scherzinger 2b9fa1065a
Merge pull request #5792 from nextcloud-libraries/chore/noid/next-reuse-toml
Migrate REUSE to TOML
2024-07-08 12:16:13 +02:00
Andy Scherzinger d6149c3884
fix: Use correct date in header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-07-08 12:14:15 +02:00
Andy Scherzinger fc668a40df
ci: bump REUSE to v4
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-07-08 12:12:38 +02:00
Andy Scherzinger a02e36ceb0
chore: Migrate REUSE to TOML
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-07-08 12:12:38 +02:00
Ferdinand Thiessen 9141727c10
fix(NcDialog): Properly export Typescript types
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-07 14:58:23 +02:00
Ferdinand Thiessen 4ba63e1245
fix(NcButton): Properly export Typescript types
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-07 14:58:23 +02:00
Ferdinand Thiessen 58347e09f9
fix(NcAppSettingsDialog): Make sure sections are correctly labelled
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-07 14:58:19 +02:00
Ferdinand Thiessen bc4d27d9a3
fix(NcDialog): Ensure the dialog is correctly labelled by its name
* Added `labelId` prop to NcModal to allow label modal without a name
* Pass the navigation id (the ID of the headline element of NcDialog) to `labelId`
* Added cypress tests

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-07 14:42:38 +02:00
Ferdinand Thiessen 44d9f9c038 fix(NcAppNavigationCaption): Only pass needed props to NcActions
Only forward the real props and not all attributes,
for Vue3 this fixes the forwarding of `class` and `style`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-07 14:12:43 +02:00
Ferdinand Thiessen c818fb1bf0
Merge pull request #5769 from nextcloud-libraries/backport/5767/next
[next] feat(NcButton): Add `size` prop to allow setting the button size to `small`, `normal`, `large`
2024-07-04 18:14:11 +02:00
Ferdinand Thiessen a7a1c028a5
Merge pull request #5770 from nextcloud-libraries/backport/5757/next
[next] feat: migrate `NcCollectionList` component from `nextcloud-vue-collections`
2024-07-04 18:06:40 +02:00
Maksim Sukharev 3c1412f3da
vue3(NcCollectionList): migrate component to Vue3
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-04 10:52:28 +02:00
Maksim Sukharev 100bb3a6f8
refactor(NcCollectionList): refactor code
- migrate service from Class to simple functions
- migrate store to composable
- make NcCollectionListItem a visual component
- update avatar styles
- use RouterLink for relative paths in the same app
- update message.pot translations
- add docs

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>

(cherry picked from commit 94177fec58)
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-04 10:34:53 +02:00
Maksim Sukharev 3cd6d7ad4d
feat(NcCollectionList): merge nextcloud-vue-collections into nextcloud/vue
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>

(cherry picked from commit 0637422d32)
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-04 10:33:18 +02:00
Ferdinand Thiessen 71c3a1e5b0
feat(NcButton): Add `size` prop to allow setting the button size to `small`, `normal`, `large`
With our new 3 different clickable area sizes we have some places, like the header menu,

where we still want to use "large" buttons. So this gives the ability to set the button

size to either `normal` which is the default, `large` for main actions or `small`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-04 00:31:52 +02:00
Ferdinand Thiessen 2e3c392633
Merge pull request #5768 from nextcloud-libraries/backport/5766/next
[next] Fix input field label alignment
2024-07-04 00:19:47 +02:00
Marco Ambrosini 348c3f8743 Fix input field label alignment
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
2024-07-03 13:12:05 +00:00
Ferdinand Thiessen 64e3dc3d9d
Merge pull request #5760 from nextcloud-libraries/backport/5747/next
[next] style(NcHeaderMenu): pass text-on-background color for header menu
2024-07-02 18:15:04 +02:00
Dorra 5da345df55
Merge pull request #5759 from nextcloud-libraries/backport/5754/next
[next] fix(NcReferenceWidget): pass elements to intersection observer
2024-07-02 18:14:26 +02:00
Maksim Sukharev 2f05da8e02 style(NcHeaderMenu): pass text-on-background color for header menu
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-02 16:08:20 +00:00
DorraJaouad fee68f7bd4 fix(NcReferenceWidget): pass elements to intersection observer
Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
2024-07-02 15:50:23 +00:00
Maksim Sukharev 8b5cb2e809
Merge pull request #5758 from nextcloud-libraries/backport/5753/next
[next] fix(NcMentionBubble): hide selectable mention id from widescreens
2024-07-02 17:38:23 +02:00
Maksim Sukharev c68e2414b9 fix(NcMentionBubble): hide selectable mention id from widescreens
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-02 15:35:49 +00:00
Grigorii K. Shartsev ffdc4dc4c5
Merge pull request #5744 from nextcloud-libraries/backport/5715/next
[next] chore(NcUserStatusIcon): remove warn if status is not set
2024-07-01 17:41:21 +05:00
Maksim Sukharev e64db73b71
Merge pull request #5751 from nextcloud-libraries/backport/5740/next
[next] feat(NcAppSidebar): force show navigation for a single tab
2024-07-01 14:40:11 +02:00
Maksim Sukharev ecd53e4866
fix(vue3): replace :checked.sync with v-model
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-01 14:14:27 +02:00
Dorra 2d9e09a1cf
Merge pull request #5750 from nextcloud-libraries/backport/5749/next
[next] fix(NcRichContentEditable): remove overlapping placeholder with tribute trigger
2024-07-01 14:13:36 +02:00
Maksim Sukharev 2c9141fe4d feat(NcAppSidebar): force show navigation for a single tab
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-01 11:37:17 +00:00
DorraJaouad 4513834458 fix(NcRichContentEditable): update value with the updated content
Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
2024-07-01 11:37:04 +00:00
Ferdinand Thiessen 5017e51d0e
Merge pull request #5738 from nextcloud-libraries/chore/prepare-9-0-0-alpha4
chore: Prepare 9.0.0-alpha.4
2024-06-28 18:28:33 +02:00