@f-ewald/components 1.25.0 → 1.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +7 -3
  2. package/custom-elements.json +1390 -181
  3. package/dist/calendar-day.d.ts +33 -0
  4. package/dist/calendar-day.d.ts.map +1 -0
  5. package/dist/calendar-day.js +280 -0
  6. package/dist/calendar-day.js.map +1 -0
  7. package/dist/calendar-timeline-base.d.ts +43 -0
  8. package/dist/calendar-timeline-base.d.ts.map +1 -0
  9. package/dist/calendar-timeline-base.js +113 -0
  10. package/dist/calendar-timeline-base.js.map +1 -0
  11. package/dist/calendar-week.d.ts +37 -0
  12. package/dist/calendar-week.d.ts.map +1 -0
  13. package/dist/calendar-week.js +315 -0
  14. package/dist/calendar-week.js.map +1 -0
  15. package/dist/comment-composer.d.ts +15 -1
  16. package/dist/comment-composer.d.ts.map +1 -1
  17. package/dist/comment-composer.js +25 -3
  18. package/dist/comment-composer.js.map +1 -1
  19. package/dist/index.d.ts +3 -0
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.js +3 -0
  22. package/dist/index.js.map +1 -1
  23. package/dist/modal-dialog.d.ts +49 -0
  24. package/dist/modal-dialog.d.ts.map +1 -0
  25. package/dist/modal-dialog.js +287 -0
  26. package/dist/modal-dialog.js.map +1 -0
  27. package/dist/toast-notification.d.ts +14 -0
  28. package/dist/toast-notification.d.ts.map +1 -1
  29. package/dist/toast-notification.js +23 -8
  30. package/dist/toast-notification.js.map +1 -1
  31. package/dist/tokens.css +15 -3
  32. package/dist/tokens.d.ts +9 -8
  33. package/dist/tokens.d.ts.map +1 -1
  34. package/dist/tokens.js +43 -15
  35. package/dist/tokens.js.map +1 -1
  36. package/dist/ui-button.d.ts +2 -0
  37. package/dist/ui-button.d.ts.map +1 -1
  38. package/dist/ui-button.js +9 -1
  39. package/dist/ui-button.js.map +1 -1
  40. package/dist/utils/calendar.d.ts +41 -0
  41. package/dist/utils/calendar.d.ts.map +1 -1
  42. package/dist/utils/calendar.js +74 -0
  43. package/dist/utils/calendar.js.map +1 -1
  44. package/docs/calendar-day.md +70 -0
  45. package/docs/calendar-week.md +69 -0
  46. package/docs/comment-composer.md +5 -1
  47. package/docs/modal-dialog.md +66 -0
  48. package/docs/toast-notification.md +23 -0
  49. package/docs/ui-button.md +1 -0
  50. package/llms.txt +108 -3
  51. package/package.json +1 -1
package/README.md CHANGED
@@ -53,8 +53,10 @@ import "@f-ewald/components/roman-numeral.js";
53
53
  | `<auto-scroll>` | [API reference](https://f-ewald.github.io/components/docs/auto-scroll.html) |
54
54
  | `<autocomplete-input>` | [API reference](https://f-ewald.github.io/components/docs/autocomplete-input.html) |
55
55
  | `<button-group>` | [API reference](https://f-ewald.github.io/components/docs/button-group.html) |
56
+ | `<calendar-day>` | [API reference](https://f-ewald.github.io/components/docs/calendar-day.html) |
56
57
  | `<calendar-entry>` | [API reference](https://f-ewald.github.io/components/docs/calendar-entry.html) |
57
58
  | `<calendar-month>` | [API reference](https://f-ewald.github.io/components/docs/calendar-month.html) |
59
+ | `<calendar-week>` | [API reference](https://f-ewald.github.io/components/docs/calendar-week.html) |
58
60
  | `<calendar-year>` | [API reference](https://f-ewald.github.io/components/docs/calendar-year.html) |
59
61
  | `<card-grid>` | [API reference](https://f-ewald.github.io/components/docs/card-grid.html) |
60
62
  | `<chat-message>` | [API reference](https://f-ewald.github.io/components/docs/chat-message.html) |
@@ -87,6 +89,7 @@ import "@f-ewald/components/roman-numeral.js";
87
89
  | `<map-pin>` | [API reference](https://f-ewald.github.io/components/docs/map-pin.html) |
88
90
  | `<markdown-editor>` | [API reference](https://f-ewald.github.io/components/docs/markdown-editor.html) |
89
91
  | `<markdown-view>` | [API reference](https://f-ewald.github.io/components/docs/markdown-view.html) |
92
+ | `<modal-dialog>` | [API reference](https://f-ewald.github.io/components/docs/modal-dialog.html) |
90
93
  | `<multi-select>` | [API reference](https://f-ewald.github.io/components/docs/multi-select.html) |
91
94
  | `<page-header>` | [API reference](https://f-ewald.github.io/components/docs/page-header.html) |
92
95
  | `<pagination-nav>` | [API reference](https://f-ewald.github.io/components/docs/pagination-nav.html) |
@@ -166,10 +169,11 @@ set. Don't reintroduce that pattern.)
166
169
  ### Gradient theme
167
170
 
168
171
  Setting `data-theme="gradient"` on `<html>` layers a glossy gradient look
169
- onto `ui-button` (primary, danger, and secondary variants) on top of the
170
- flat light palette — see `gradientTokenValues` in
172
+ onto `ui-button` (primary, danger, and secondary variants) and
173
+ `toast-notification` (all four variants: success, error, info, warning) on
174
+ top of the flat light palette — see `gradientTokenValues` in
171
175
  [`src/tokens.ts`](./src/tokens.ts). Every other token stays at its light-mode
172
- value; this theme is deliberately button-only. It takes precedence over the
176
+ value. It takes precedence over the
173
177
  OS dark preference (like `data-theme="light"` does), since the gradient's
174
178
  color stops are hardcoded for a light surface.
175
179