@nyaruka/temba-components 0.156.17 → 0.157.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 (39) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/temba-components.js +1189 -767
  3. package/dist/temba-components.js.map +1 -1
  4. package/package.json +1 -1
  5. package/src/display/Chat.ts +14 -0
  6. package/src/display/Label.ts +156 -2
  7. package/src/display/Options.ts +71 -16
  8. package/src/display/TembaUser.ts +23 -5
  9. package/src/events/eventRenderers.ts +104 -41
  10. package/src/excellent/caret-utils.ts +0 -1
  11. package/src/flow/RevisionsWindow.ts +53 -9
  12. package/src/flow/nodes/shared.ts +14 -0
  13. package/src/flow/nodes/split_by_llm_categorize.ts +33 -8
  14. package/src/flow/revision-summary.ts +25 -0
  15. package/src/flow/utils.ts +38 -40
  16. package/src/form/ArrayEditor.ts +9 -11
  17. package/src/form/Checkbox.ts +2 -2
  18. package/src/form/Compose.ts +1 -1
  19. package/src/form/FieldElement.ts +8 -8
  20. package/src/form/KeyValueEditor.ts +4 -4
  21. package/src/form/MessageEditor.ts +2 -3
  22. package/src/form/RangePicker.ts +17 -17
  23. package/src/form/TembaSlider.ts +10 -10
  24. package/src/form/TemplateEditor.ts +4 -4
  25. package/src/form/TextInput.ts +19 -1
  26. package/src/form/select/Omnibox.ts +22 -19
  27. package/src/form/select/Select.ts +379 -171
  28. package/src/form/select/WorkspaceSelect.ts +7 -1
  29. package/src/layout/Accordion.ts +2 -2
  30. package/src/layout/Modax.ts +1 -1
  31. package/src/list/SortableList.ts +159 -0
  32. package/src/live/ContactChat.ts +46 -44
  33. package/src/live/ContactDetails.ts +1 -0
  34. package/src/live/ContactFieldEditor.ts +38 -31
  35. package/src/live/FieldManager.ts +4 -4
  36. package/src/styles/designTokens.ts +145 -0
  37. package/src/styles/pillVariants.ts +136 -0
  38. package/static/css/temba-components.css +106 -28
  39. package/web-test-runner.config.mjs +98 -0
package/CHANGELOG.md CHANGED
@@ -4,8 +4,25 @@ 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.0](https://github.com/nyaruka/temba-components/compare/v0.156.18...v0.157.0)
8
+
9
+ - Use full name for chat avatar initials to match user select and ticket lists [`#1006`](https://github.com/nyaruka/temba-components/pull/1006)
10
+ - Adopt TextIt design system across form widgets and chat history [`#1005`](https://github.com/nyaruka/temba-components/pull/1005)
11
+ - Re-enable split_by_llm_categorize with result name and category localization [`#1004`](https://github.com/nyaruka/temba-components/pull/1004)
12
+ - Rename review workflow to match other repos and drop unused id-token: write [`6a3c5c2`](https://github.com/nyaruka/temba-components/commit/6a3c5c2618afd5d40064240a2250586a0231b8db)
13
+ - Fix PR review workflow [`50da30d`](https://github.com/nyaruka/temba-components/commit/50da30dd2e2e268e31e8a7a0fbed292dad03058d)
14
+
15
+ #### [v0.156.18](https://github.com/nyaruka/temba-components/compare/v0.156.17...v0.156.18)
16
+
17
+ > 5 May 2026
18
+
19
+ - Treat spec-only and empty-tag revisions as no-ops in the revision browser [`#1003`](https://github.com/nyaruka/temba-components/pull/1003)
20
+ - Render system-generated revisions with a 'System update' label [`#1002`](https://github.com/nyaruka/temba-components/pull/1002)
21
+
7
22
  #### [v0.156.17](https://github.com/nyaruka/temba-components/compare/v0.156.16...v0.156.17)
8
23
 
24
+ > 5 May 2026
25
+
9
26
  - Fix Firefox newline rendering and yank/paste handling in rich editor [`#1001`](https://github.com/nyaruka/temba-components/pull/1001)
10
27
  - Remove GitHub Copilot config [`f927142`](https://github.com/nyaruka/temba-components/commit/f92714240dcfea348ae43483f8327eda1ba9956d)
11
28