@planningcenter/core-automations 1.0.0-rc.1 → 1.0.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/CHANGELOG.md +69 -0
  2. package/README.md +5 -0
  3. package/dist/cjs/core-automations.esm.js +1 -1
  4. package/dist/cjs/core-automations.esm.js.map +1 -1
  5. package/dist/cjs/core-automations.js +1 -1
  6. package/dist/cjs/core-automations.js.map +1 -1
  7. package/dist/cjs/core-automations.umd.js +1 -1
  8. package/dist/cjs/core-automations.umd.js.map +1 -1
  9. package/package.json +2 -2
  10. package/dist/types/assets/svg_automations.d.ts +0 -3
  11. package/dist/types/assets/svg_automations.d.ts.map +0 -1
  12. package/dist/types/automations.d.ts +0 -34
  13. package/dist/types/automations.d.ts.map +0 -1
  14. package/dist/types/definition.d.ts +0 -11
  15. package/dist/types/definition.d.ts.map +0 -1
  16. package/dist/types/field.d.ts +0 -19
  17. package/dist/types/field.d.ts.map +0 -1
  18. package/dist/types/fields.d.ts +0 -17
  19. package/dist/types/fields.d.ts.map +0 -1
  20. package/dist/types/history.d.ts +0 -8
  21. package/dist/types/history.d.ts.map +0 -1
  22. package/dist/types/history_modal.d.ts +0 -12
  23. package/dist/types/history_modal.d.ts.map +0 -1
  24. package/dist/types/index.d.ts +0 -2
  25. package/dist/types/index.d.ts.map +0 -1
  26. package/dist/types/new_automation.d.ts +0 -19
  27. package/dist/types/new_automation.d.ts.map +0 -1
  28. package/dist/types/new_automation_modal.d.ts +0 -12
  29. package/dist/types/new_automation_modal.d.ts.map +0 -1
  30. package/dist/types/src/automations.stories.d.ts +0 -6
  31. package/dist/types/src/automations.stories.d.ts.map +0 -1
  32. package/dist/types/src/stories/Automations.d.ts +0 -6
  33. package/dist/types/src/stories/Automations.d.ts.map +0 -1
  34. package/dist/types/src/stories/Automations.stories.d.ts +0 -6
  35. package/dist/types/src/stories/Automations.stories.d.ts.map +0 -1
  36. package/dist/types/src/stories/Button copy.d.ts +0 -35
  37. package/dist/types/src/stories/Button copy.d.ts.map +0 -1
  38. package/dist/types/src/stories/Button.d.ts +0 -35
  39. package/dist/types/src/stories/Button.d.ts.map +0 -1
  40. package/dist/types/src/stories/Header.d.ts +0 -18
  41. package/dist/types/src/stories/Header.d.ts.map +0 -1
  42. package/dist/types/src/stories/Page.d.ts +0 -4
  43. package/dist/types/src/stories/Page.d.ts.map +0 -1
  44. package/dist/types/src/stories/Page.stories.d.ts +0 -7
  45. package/dist/types/src/stories/Page.stories.d.ts.map +0 -1
  46. package/dist/types/utils/alerts.d.ts +0 -7
  47. package/dist/types/utils/alerts.d.ts.map +0 -1
  48. package/dist/types/utils/theme.d.ts +0 -22
  49. package/dist/types/utils/theme.d.ts.map +0 -1
  50. package/dist/types/utils/utils.d.ts +0 -24
  51. package/dist/types/utils/utils.d.ts.map +0 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,69 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.0.0](https://github.com/planningcenter/core-automations/releases/tag/v1.0.0) - 2023-04-17
9
+
10
+ ### Added
11
+
12
+ - Display incoming automations
13
+ - Take in a `currentPersonCanAccessPeople` prop that will determine if the `People` application shows up or not in the list of products where an automation can be created by the current user.
14
+ - Add blank state for incoming automations
15
+ - Show date that history begins when viewing a recently created automation
16
+
17
+ ### Changed
18
+
19
+ - Changed sizing of `DateField`, `TextField`, and `TextArea` fields
20
+ - Changed spacing around loading indicators
21
+
22
+ ### Fixed
23
+
24
+ - Automation name not showing in delete modal
25
+ - Fallback to `[Hidden]` if the person doesn't have access to the People API
26
+ - Downgrade SweetAlert2
27
+
28
+ ## [0.3.0](https://github.com/planningcenter/core-automations/releases/tag/v0.3.0) - 2023-04-10
29
+
30
+ ### Added
31
+
32
+ - Take in a `afterCreateOptions` prop. This `afterCreateOptions` prop will contain a `label` and a `onConfirm` callback function to be executed after the automation is created.
33
+ - Support multiple trigger events (e.g. "when person [joins|leaves] this group")
34
+ - Added implementation guide to the README
35
+
36
+ ### Changed
37
+
38
+ - Update `border-radius` of modals to match newest design spec
39
+ - Migrated components to Typescript
40
+ - Change sizing of `Select`s and loading indicators in the `NewAutomation` form
41
+ - Refactor "Paused" and "Active" states in `Automation` header
42
+
43
+ ### Fixed
44
+
45
+ - Prevent text overflow in History table
46
+
47
+ ## [0.2.0](https://github.com/planningcenter/core-automations/releases/tag/v0.2.0) - 2023-03-21
48
+
49
+ ### Added
50
+
51
+ - Take in a `currentOrganization` prop instead of reading from `window.currentOrganization`
52
+
53
+ ### Changed
54
+
55
+ - Use `currentOrganization` prop for date formatting
56
+ - Use outline `Badge` variant in history table
57
+
58
+ ### Fixed
59
+
60
+ - Build errors: specify `jsxFragment` for microbundle when building (#15)
61
+ - Move function definition above callsite (#16)
62
+
63
+ ## [0.1.0](https://github.com/planningcenter/core-automations/releases/tag/v0.1.0) - 2023-03-14
64
+
65
+ ### Added
66
+
67
+ - Set up initial repo with components extracted from People's original implementation
68
+ - Set up basic theme that includes necessary icons along with host app styles
69
+ - Add basic usage information to README
package/README.md CHANGED
@@ -171,6 +171,11 @@ If your app is already using `Tapestry-React`, you can simply reuse whatever you
171
171
 
172
172
  For more information about theming in Tapestry-React, see <https://planningcenter.github.io/tapestry-react/theming>.
173
173
 
174
+
175
+ ### Troubleshooting
176
+
177
+ - If the modals are visually cut off when they are rendered, check to see if any elements higher in the DOM are using the `transform` property. This property [creates a "new local coordinate system"](https://www.w3.org/TR/css-transforms-1/#transform-rendering) which will affect the positioning of the modal and its overlay.
178
+
174
179
  ## Contributing
175
180
 
176
181
  If you'd like to contribute, you can find details for getting started in the [contribution guide](/CONTRIBUTING.md).