@nyaruka/temba-components 0.157.0 → 0.157.1

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 (38) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/temba-components.js +1450 -1370
  3. package/dist/temba-components.js.map +1 -1
  4. package/package.json +1 -1
  5. package/src/display/Button.ts +102 -121
  6. package/src/display/Chat.ts +60 -9
  7. package/src/display/Dropdown.ts +11 -0
  8. package/src/display/Label.ts +1 -3
  9. package/src/display/LeafletMap.ts +4 -3
  10. package/src/display/TembaUser.ts +9 -3
  11. package/src/events/eventRenderers.ts +152 -67
  12. package/src/flow/AutoTranslate.ts +2 -2
  13. package/src/flow/Editor.ts +4 -4
  14. package/src/flow/NodeEditor.ts +2 -2
  15. package/src/flow/NodeTypeSelector.ts +0 -5
  16. package/src/flow/actions/set_contact_language.ts +5 -4
  17. package/src/flow/nodes/split_by_llm_categorize.ts +1 -6
  18. package/src/flow/utils.ts +1 -20
  19. package/src/form/ColorPicker.ts +5 -3
  20. package/src/form/select/Omnibox.ts +1 -3
  21. package/src/form/select/Select.ts +5 -4
  22. package/src/interfaces.ts +1 -0
  23. package/src/languages.ts +56 -0
  24. package/src/layout/Dialog.ts +1 -3
  25. package/src/list/ContentMenu.ts +1 -2
  26. package/src/list/SortableList.ts +1 -4
  27. package/src/list/TembaMenu.ts +159 -113
  28. package/src/live/ContactBadges.ts +2 -1
  29. package/src/live/ContactChat.ts +16 -1
  30. package/src/live/ContactDetails.ts +2 -1
  31. package/src/live/ContactFieldEditor.ts +0 -2
  32. package/src/store/AppState.ts +3 -21
  33. package/src/store/Store.ts +0 -29
  34. package/src/styles/designTokens.ts +31 -18
  35. package/src/styles/pillVariants.ts +24 -13
  36. package/static/css/temba-components.css +82 -55
  37. package/web-dev-server.config.mjs +0 -1
  38. package/web-test-runner.config.mjs +0 -1
package/CHANGELOG.md CHANGED
@@ -4,8 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [v0.157.1](https://github.com/nyaruka/temba-components/compare/v0.157.0...v0.157.1)
8
+
9
+ - Add language name utility and replace store-based lookups [`#1009`](https://github.com/nyaruka/temba-components/pull/1009)
10
+ - Adopt nav design system across menu, buttons, pills, and accent ramp [`#1008`](https://github.com/nyaruka/temba-components/pull/1008)
11
+
7
12
  #### [v0.157.0](https://github.com/nyaruka/temba-components/compare/v0.156.18...v0.157.0)
8
13
 
14
+ > 11 May 2026
15
+
9
16
  - Use full name for chat avatar initials to match user select and ticket lists [`#1006`](https://github.com/nyaruka/temba-components/pull/1006)
10
17
  - Adopt TextIt design system across form widgets and chat history [`#1005`](https://github.com/nyaruka/temba-components/pull/1005)
11
18
  - Re-enable split_by_llm_categorize with result name and category localization [`#1004`](https://github.com/nyaruka/temba-components/pull/1004)