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

59 Коммитов

Автор SHA1 Сообщение Дата
Ferdinand Thiessen 37ab5fe269
feat(NcDialogButton): Allow to return `false` from callback to keep dialog open
If the callback returns `false` then the click event will not be forwarded.
This could be usful if the click triggers a validation that fails and the user
should be able to fix the issue.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-31 20:18:30 +02:00
Maksim Sukharev 95dfaaaecf
feat: add useHotKey composable
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-08-20 19:17:37 +02:00
Maksim Sukharev ddaeea810c
chore(docs): add documentation section for composables
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-08-20 19:17:10 +02:00
Grigorii K. Shartsev 0367deb147 chore(docs): specify more Nextcloud versions in styleguidist
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-08-06 13:09:28 +02:00
Ferdinand Thiessen 5575680382
fix(NcActions): Respect boundaries element for popover height
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-15 22:30:17 +02:00
Maksim Sukharev 94177fec58
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>
2024-07-03 21:46:11 +02:00
Grigorii K. Shartsev 1a6f0c9ed9 chore(directives): add docs
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-06-14 19:57:01 +02:00
Ferdinand Thiessen 73ea7253fe
chore: Add SPDX license information and REUSE CI workflow
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-13 10:35:27 +02:00
Grigorii K. Shartsev c8806e7f6f chore(functions): add docs
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-06-04 21:18:20 +02:00
Ferdinand Thiessen f3125d160d
feat(NcActions): Allow to manually specify the semantic menu type
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 12:33:25 +01:00
Grigorii K. Shartsev 88f659323a feat(NcPopover): provide via slot and provider attrs for trigger button
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-18 15:40:43 +01:00
Ferdinand Thiessen ac099f74b1
fix(docs): Remove internal components from styleguide
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-29 15:06:16 +01:00
Raimund Schlüßler 068e324276
chore: do not show NcCheckboxContent in docs
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2023-10-23 21:24:40 +02:00
Richard Steinmetz 1c71b1e909
Merge pull request #4605 from nextcloud-libraries/feat/textarea/implement-new-component 2023-10-23 09:08:01 +02:00
Ferdinand Thiessen da52582219 feat(NcDialog): Implement a simple dialog component based on the `NcModal` component
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-17 02:09:11 +02:00
Richard Steinmetz 4d094441e4
feat(NcTextArea): implement new textarea component
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-10-11 11:34:02 +02:00
Ferdinand Thiessen 59040a9596 chore!: Migrate build of single entry points from webpack to vite
This is a breaking change as this also introduces ESM entry points for all components etc
and therfor changed the files from `.js` to `.cjs` and `.mjs` respective.

Instead of `import NcButton from '@nextcloud/vue/dist/Components/NcButton.js` use `import NcButton from '@nextcloud/vue/components/NcButton'`.

* Also fix docs for component import pattern

Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-09-14 13:25:17 +02:00
Raimund Schlüßler 93c54dd275
chore[docs]: link to docs for vue3
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2023-09-08 10:07:22 +02:00
John Molakvoæ 9796c20be5
feat: add `v8.x (Nextcloud 28)` as latest docs title
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-09-02 19:09:34 +02:00
Raimund Schlüßler eb562b9c46
fix: remove NcMultiselect from styleguide config
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2023-08-04 14:10:47 +02:00
Ferdinand Thiessen cc2730094a chore: Fix URLs after package was transfered
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-28 18:29:53 +02:00
Ferdinand Thiessen 70ef337008 feat: Migrate building CommonJS module entrypoint to vite
* Much faster build time
* Much smaller output asset: 400kB (vite) vs 1'020kB (webpack)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-12 16:17:54 +02:00
Ferdinand Thiessen a2403b648b fix(docs): Add links to older documentation versions and replace dead badges on index page
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-27 10:29:26 +02:00
Simon L a8f6244800 collapse sections by default to make the styleguide a bit lucid
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-24 14:51:04 +02:00
Raimund Schlüßler 6522100c93
Remove deprecated popovermenu component
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2023-05-10 21:40:07 +02:00
Joas Schilling ffe5f9f387
fix(styleguide): Fix URL replacement to not be 404
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-10 12:24:50 +02:00
Raimund Schlüßler 2e17db76c0
Merge nextcloud/vue-richtext into nextcloud/vue
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2023-03-01 14:21:25 +01:00
Raimund Schlüßler cc2aa73e99
Show NcDateTimePickerNative in NcPickers section
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2023-02-19 13:41:36 +01:00
Raimund Schlüßler b5a5605f3f
Use common webpack config
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2023-01-10 13:19:44 +01:00
Christopher Ng 24092ef9db Add NcSelect section to style guide
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-22 16:29:38 -08:00
John Molakvoæ e0ca5ccc82
Extend NcInputField props and forward $attrs to NcPasswordField and NcTextField
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-17 08:01:34 +01:00
Vinicius Reis fe3305ac35
💚 fix styleguide.config.js
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-22 09:34:44 -03:00
John Molakvoæ 47d4844cb3
Use github source css for styleguide
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-31 19:19:11 +02:00
Raimund Schlüßler 8705a051b0
Add Nc prefix to all components
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2022-08-18 14:10:35 +02:00
Raimund Schlüßler a2d92fee54
Simplify webpack configuration
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2022-08-09 14:53:48 +02:00
Marco Ambrosini 34e252c945 Remove InputField from docs
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-03 14:57:32 +02:00
Raimund Schlüßler d371420e32
Add Dashboard documentation
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2022-05-04 09:42:26 +02:00
Raimund Schlüßler 32358f5e35
Cleanup styleguide config
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2022-04-11 17:23:55 +02:00
Raimund Schlüßler 618ca78277
Fix styleguide serve
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2022-04-09 13:56:15 +02:00
Raimund Schlüßler 5bc2c9dadf
Fix empty user bubble
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2021-09-13 22:12:08 +02:00
John Molakvoæ (skjnldsv) cefcf91ad5
Improve documentation sections
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-04-27 11:42:37 +02:00
Marco Ambrosini d01fcc7402 Create AppContentListItem component
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2021-04-16 11:27:07 +01:00
John Molakvoæ (skjnldsv) 1dcc668942
Render the first action icon slot if single action
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-09 19:13:43 +01:00
John Molakvoæ (skjnldsv) 7158444bb2
Proxy avatar to fixed image
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-11-18 08:56:24 +01:00
dependabot[bot] 9ca7c410a4
Bump css-loader from 3.6.0 to 5.0.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.6.0 to 5.0.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.6.0...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-05 16:08:14 +01:00
John Molakvoæ (skjnldsv) 9e751d8dbe
Fix UserBubble documentation & documentation config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-06-27 00:01:45 +02:00
Jan-Christoph Borchardt e00efed879
Remove Nunito references, move to native font stack as in server
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-05-18 14:18:30 +02:00
John Molakvoæ (skjnldsv) 56988d5349
Fix styleguide Content component
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-15 12:28:02 +02:00
John Molakvoæ (skjnldsv) 66fde03555
Content documentation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-02 16:15:38 +02:00
John Molakvoæ (skjnldsv) c77c73884f
Better sections for app containers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-29 15:17:46 +02:00