Commit 9c9af79
authored
chore(dependencies): add daisyui (#34932)
This pull request updates the DotCMS VTL migration skill and guide to
standardize and clarify the use of DaisyUI for styling migrated custom
fields. The documentation now emphasizes replacing legacy Dijit/Dojo
widgets and ad-hoc CSS with DaisyUI component classes and Tailwind
utilities for semantic, theme-aware, and maintainable UI. The migration
process, rules, examples, and checklists are revised to guide developers
in applying DaisyUI throughout migrated templates.
**Styling and UI migration enhancements:**
* Updated migration rules and checklists to require DaisyUI component
classes (e.g. `btn`, `input`, `select`, `modal`, `link`) and Tailwind
utilities for layout, replacing Dijit classes, inline styles, and ad-hoc
CSS. Custom CSS is preserved only when DaisyUI/Tailwind are
insufficient. (.claude/skills/vtl-migration/SKILL.md,
[[1]](diffhunk://#diff-c2b9ed9bda14805f7fda51366e12e2df2a16d5e5a76a2d1695705042e57f3da2L23-R26)
[[2]](diffhunk://#diff-c2b9ed9bda14805f7fda51366e12e2df2a16d5e5a76a2d1695705042e57f3da2L35-R38)
[[3]](diffhunk://#diff-c2b9ed9bda14805f7fda51366e12e2df2a16d5e5a76a2d1695705042e57f3da2L80-R84)
[[4]](diffhunk://#diff-c2b9ed9bda14805f7fda51366e12e2df2a16d5e5a76a2d1695705042e57f3da2R151-R157);
.claude/skills/vtl-migration/references/migration-guide.md,
[[5]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L141-R144)
[[6]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L152-L225)
[[7]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L305-R367)
[[8]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699R467)
[[9]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L458-R513)
* Added a new "Styling with DaisyUI" section to the migration guide,
including component class quick reference, examples, and guidance on
replacing inline styles and widgets with DaisyUI equivalents.
(.claude/skills/vtl-migration/references/migration-guide.md,
[[1]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L6-R11)
[[2]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L305-R367)
* Revised migration examples (dialogs, event handlers, text counters,
title fields) to demonstrate DaisyUI usage for semantic styling,
replacing legacy patterns and inline styles with DaisyUI and Tailwind
classes. (.claude/skills/vtl-migration/SKILL.md,
[[1]](diffhunk://#diff-c2b9ed9bda14805f7fda51366e12e2df2a16d5e5a76a2d1695705042e57f3da2L116-R136);
.claude/skills/vtl-migration/references/migration-guide.md,
[[2]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L152-L225)
[[3]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L236-R216)
[[4]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L633-R688)
[[5]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L670-R698)
[[6]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L734-R762)
* Improved migration checklists and process steps to enforce
DaisyUI/Tailwind styling, and clarified preservation of VTL variables
and business logic. (.claude/skills/vtl-migration/SKILL.md,
[[1]](diffhunk://#diff-c2b9ed9bda14805f7fda51366e12e2df2a16d5e5a76a2d1695705042e57f3da2L35-R38)
[[2]](diffhunk://#diff-c2b9ed9bda14805f7fda51366e12e2df2a16d5e5a76a2d1695705042e57f3da2R151-R157);
.claude/skills/vtl-migration/references/migration-guide.md,
[[3]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L458-R513)
**Documentation and process clarity:**
* Updated references throughout the skill and guide to point to the new
DaisyUI styling section and examples, ensuring developers know where to
find styling guidance. (.claude/skills/vtl-migration/SKILL.md,
[[1]](diffhunk://#diff-c2b9ed9bda14805f7fda51366e12e2df2a16d5e5a76a2d1695705042e57f3da2L9-R11)
[[2]](diffhunk://#diff-c2b9ed9bda14805f7fda51366e12e2df2a16d5e5a76a2d1695705042e57f3da2L23-R26)
[[3]](diffhunk://#diff-c2b9ed9bda14805f7fda51366e12e2df2a16d5e5a76a2d1695705042e57f3da2L35-R38)
[[4]](diffhunk://#diff-c2b9ed9bda14805f7fda51366e12e2df2a16d5e5a76a2d1695705042e57f3da2R151-R157);
.claude/skills/vtl-migration/references/migration-guide.md,
[[5]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L6-R11)
* Clarified that business logic and VTL variables remain unchanged, and
that custom CSS is preserved only when DaisyUI/Tailwind cannot provide
the needed styling. (.claude/skills/vtl-migration/SKILL.md,
[[1]](diffhunk://#diff-c2b9ed9bda14805f7fda51366e12e2df2a16d5e5a76a2d1695705042e57f3da2L80-R84);
.claude/skills/vtl-migration/references/migration-guide.md,
[[2]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L411-L412)
[[3]](diffhunk://#diff-c8a865197226c1c0647627d1d0ffcf5334beb5c3c24940c5c4bd44e7b63cb699L458-R513)
These changes ensure that all migrated custom fields are styled
consistently and semantically, leveraging DaisyUI and Tailwind for
maintainability and theme compatibility.
#337791 parent 1b886b5 commit 9c9af79
15 files changed
Lines changed: 472 additions & 747 deletions
File tree
- .claude/skills/vtl-migration
- references
- core-web
- apps/dotcms-ui/src
- libs/edit-content/src/lib/fields/dot-edit-content-custom-field/components/native-field
- dotCMS/src/main/webapp/WEB-INF/velocity/static
- htmlpage_assets
- tag
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
80 | | - | |
81 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
| |||
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
116 | | - | |
| 119 | + | |
117 | 120 | | |
118 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
119 | 133 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
124 | 138 | | |
125 | 139 | | |
126 | 140 | | |
127 | 141 | | |
| 142 | + | |
| 143 | + | |
128 | 144 | | |
129 | 145 | | |
130 | 146 | | |
| |||
139 | 155 | | |
140 | 156 | | |
141 | 157 | | |
| 158 | + | |
142 | 159 | | |
143 | 160 | | |
144 | 161 | | |
145 | 162 | | |
146 | 163 | | |
147 | | - | |
| 164 | + | |
0 commit comments