Commit Graph

38 Commits

Author SHA1 Message Date
Ferran Recio 02de5b79fd MDL-79985 output: prepare dropdown components for forms
Add new features to the dropdown components (dialog and status) needed
for using them in quick forms. Now the dialog dropdown have methods to
disable the dropdown button (to disable the field). The status dropdown
has one minor style bugfix and the selected item styles are now stored
as a data attribute.
2023-12-19 09:33:45 +01:00
Philipp Memmel 8c8a11939b MDL-79623 tool_componentlibrary: Fix correct modal content attribute 2023-10-06 13:15:36 +00:00
Sara Arjona cc9430929d MDL-77708 docs: Update references from docs.moodle.org/dev 2023-09-26 10:30:19 +02:00
Ferran Recio d54027dc6d MDL-78826 tool_componentlibrary: add dropdown js controls 2023-09-08 10:23:29 +02:00
Ferran Recio b707da35d0 MDL-78665 tool_componentlibrary: add action menu page 2023-08-04 16:09:30 +02:00
Benjamin Abraham c8482f09c6 MDL-74869 theme: Moved activity icon color into variables
Moved colors of the activity-icon-colors map into variables
with default value to make them easy to override.
2023-07-14 09:46:55 +02:00
Ferran Recio 205cd5a338 MDL-78279 tool_componentlibrary: add dropdown page 2023-07-10 11:41:20 +02:00
Mikel Martín fb49de8875 MDL-78204 core: Add new showmore/showless UI component
- Create a new 'showmore' template that receives both collapsed and expanded content.
Initially only the collapsed content will be displayed with a "Show more" button. When it is expanded,
only the expanded content will be displayed with "Show less" button.

- Add 'showmore' component to component library
2023-06-26 09:32:39 +02:00
Sara Arjona 83203eef6f MDL-78052 lib: Set Moodle files after Font Awesome upgrade 2023-04-27 13:11:58 +02:00
Sara Arjona 0ad4ef1d3d MDL-76989 lib: Set Moodle files after Font Awesome upgrade
This patch updates the Font Awesome library version from 4.7 to 6.3.0.
The readme_moodle.txt has been updated properly because the new version
works slightly different.
There is a file to add backward compatibily to version 6 files (shim).
More information about how to upgrade from 4 to 6 can be found in
https://fontawesome.com/docs/web/setup/upgrade/upgrade-from-v4

Although a few icons have been renamed in Moodle 6, as the new version
is compatible with v4 icons, for now the references to the old icons
(fa fa-xxxx --> fa-solid fa-xxxx) haven't been changed yet.
A separate issue will be created to update them in the future and
review if some new icons can be used too.
2023-03-14 17:33:07 +01:00
Petr Skoda 089b9a8846 MDL-77277 tool_componentlibrary: import Bootstrap v4.6.2 2023-02-28 23:46:00 +08:00
Laurent David 377c962f11 MDL-75337 core: Single button - API changes
* Update component library for new features of single_button and modal
    * Update core_notification javascript
2023-01-23 13:45:21 +01:00
Jackson D'souza 4c5b4003c3 MDL-75571 tool_componentlibrary: Custom activity icon 2022-12-09 15:53:23 +00:00
Carlos Castillo 3236a41c3a MDL-74150 tool_componentlibrary: Add title attribute to core/toggle 2022-05-16 11:43:55 -05:00
Amaia Anabitarte 915b90b1ad MDL-74381 tool_componentlibrary: Resize icons to 24px in component library 2022-04-06 11:28:13 +02:00
Bas Brands 58fa5da723 MDL-73704 tool_componentlibrary: activity icons 2022-03-14 08:54:33 +01:00
Mathew May ecb92c7ed9 MDL-72928 login: Update styling and functionality 2022-02-11 12:01:26 +08:00
Simey Lameze 5396814489 MDL-73644 core: link confirm module CL to related JSDoc 2022-02-07 13:26:47 +08:00
Jun Pataleta 8aa45ea90d MDL-73470 tool_componentlibrary: Fix illegal whitespace 2022-01-28 11:47:13 +08:00
Jun Pataleta fd452f2fa2 Merge branch 'MDL-73470' of https://github.com/roland04/moodle 2022-01-28 11:02:01 +08:00
Eloy Lafuente (stronk7) 19dbb28366 Merge branch 'MDL-73314-master' of https://github.com/andrewnicols/moodle 2022-01-26 09:36:30 +01:00
Mikel Martín b43c28567a MDL-73470 tool_componentlibrary: Documentation for toggle input 2022-01-25 18:04:58 +01:00
Shamim Rezaie 682340d858 MDL-73635 tool_componentlibrary: Removed extra whitespaces 2022-01-25 11:36:17 +11:00
Andrew Nicols ea30c5e14b MDL-73314 core: Add CL documentation for core/toast 2022-01-24 10:03:10 +08:00
Jun Pataleta 35338975c3 MDL-73635 tool_componentlibrary: Move dynamic tabs sample page
* Move the example page for the dynamic tabs component into the examples
folder.
2022-01-24 09:24:08 +08:00
Jun Pataleta 7a6ff551a0 MDL-73635 tool_componentlibrary: Document how to add example files 2022-01-24 09:24:08 +08:00
Jun Pataleta 080e12e9ac MDL-73635 tool_componentlibrary: Move example codes to examples folders 2022-01-24 09:21:55 +08:00
David Matamoros 5e42a09a92 MDL-73436 tool_componentlibrary: Document dynamic tabs component 2022-01-20 11:01:54 +01:00
Sara Arjona ca1d3b7f8c MDL-73334 componentlibrary: Remove ilegal whitespaces 2022-01-17 12:01:00 +01:00
Simey Lameze cc7de3e86c MDL-73334 core: add CL documentation for core/confirm 2022-01-17 18:10:41 +08:00
Jun Pataleta 2a9878e191 MDL-72805 tool_componentlibrary: Add image role to informative icons
Icon fonts that act as images and convey information should have an
image role. This patch adds the image role to the icons in the examples
to serve as a correct example of using informative icon fonts.
2021-10-13 22:37:02 +08:00
Sara Arjona 3369faa695 MDL-72674 componentlibrary: Remove whitespaces 2021-10-08 11:37:23 +02:00
Jun Pataleta f0b22d1796 MDL-72674 core: Add component library documentation for accessible links 2021-10-05 00:29:34 +08:00
Sara Arjona 3f2f2e85bb MDL-72115 course: Rename Miscellaneous category
The "Miscellaneous" course category has been renamed to Category 1.
Besides, the description field has been set from FORMAT_MOODLE to
FORMAT_HTML.
2021-09-13 08:36:17 +02:00
Adrian Greeve 18515919e1 MDL-61460 tool_componentlibrary: Additional whitespace removal. 2021-07-08 23:30:35 +02:00
Adrian Greeve f03a714607 MDL-61460 tool_componentlibrary: removed white space.
Also updated the version number as that was causing a problem.
2021-07-08 23:30:34 +02:00
Bas Brands fda886c195 MDL-61460 tool_componentlibrary: Bootstrap docs pages v4.6.0 2021-07-08 09:51:02 +08:00
Bas Brands 3de68ad434 MDL-61460 tool_componentlibrary: Documentation for Moodle UI components
- This tool is only available for admins
- Before using this tool the hosting admin will need to have NPM installed and be able to run grunt
- To create the docs pages for the library run "grunt componentlibrary"
- After the pages are created the Library is available in Site adminstration > Development > UI Component Library
2021-07-08 09:51:02 +08:00