@lblod/ember-rdfa-editor-lblod-plugins 12.1.0 → 13.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 (81) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +215 -164
  3. package/addon/components/decision-plugin/decision-plugin-card.hbs +3 -3
  4. package/addon/components/snippet-plugin/snippet-list/snippet-list-view.hbs +2 -2
  5. package/addon/components/table-of-contents-plugin/ember-nodes/table-of-contents.ts +1 -0
  6. package/addon/components/template-comments-plugin/template-comment.hbs +4 -4
  7. package/addon/components/template-comments-plugin/template-comment.ts +16 -0
  8. package/addon/components/variable-plugin/address/insert-variable.ts +14 -1
  9. package/addon/components/variable-plugin/address/insert.ts +15 -1
  10. package/addon/components/variable-plugin/address/nodeview.hbs +1 -1
  11. package/addon/components/variable-plugin/address/nodeview.ts +23 -1
  12. package/addon/components/variable-plugin/codelist/insert.ts +10 -1
  13. package/addon/components/{rdfa-date-plugin → variable-plugin/date}/date-time-picker.ts +1 -1
  14. package/addon/components/{rdfa-date-plugin/card.hbs → variable-plugin/date/edit.hbs} +3 -3
  15. package/addon/components/{rdfa-date-plugin/card.ts → variable-plugin/date/edit.ts} +10 -10
  16. package/addon/components/{rdfa-date-plugin → variable-plugin/date}/help-modal.ts +2 -2
  17. package/addon/components/variable-plugin/date/insert-variable.hbs +9 -0
  18. package/addon/components/variable-plugin/date/insert-variable.ts +57 -0
  19. package/addon/components/variable-plugin/date/insert.hbs +9 -9
  20. package/addon/components/variable-plugin/date/insert.ts +13 -10
  21. package/addon/components/{rdfa-date-plugin/date.ts → variable-plugin/date/nodeview.ts} +20 -6
  22. package/addon/components/variable-plugin/location/insert.ts +11 -2
  23. package/addon/components/variable-plugin/number/insert.hbs +1 -1
  24. package/addon/components/variable-plugin/number/insert.ts +9 -1
  25. package/addon/components/variable-plugin/number/nodeview.hbs +1 -1
  26. package/addon/components/variable-plugin/number/nodeview.ts +17 -0
  27. package/addon/components/variable-plugin/text/insert.ts +14 -2
  28. package/addon/plugins/table-of-contents-plugin/nodes/table-of-contents.ts +8 -13
  29. package/addon/plugins/table-of-contents-plugin/utils/index.ts +7 -4
  30. package/addon/plugins/template-comments-plugin/node.ts +12 -3
  31. package/addon/plugins/variable-plugin/variables/address.ts +15 -8
  32. package/addon/plugins/variable-plugin/variables/codelist.ts +4 -4
  33. package/addon/plugins/variable-plugin/variables/date.ts +200 -0
  34. package/addon/plugins/variable-plugin/variables/index.ts +1 -0
  35. package/addon/plugins/variable-plugin/variables/location.ts +4 -4
  36. package/addon/plugins/variable-plugin/variables/number.ts +11 -8
  37. package/addon/plugins/variable-plugin/variables/text.ts +4 -4
  38. package/addon/utils/translation.ts +19 -0
  39. package/app/components/{rdfa-date-plugin/date.js → variable-plugin/date/date-time-picker.js} +1 -1
  40. package/app/components/{rdfa-date-plugin/card.js → variable-plugin/date/edit.js} +1 -1
  41. package/app/components/{rdfa-date-plugin → variable-plugin/date}/help-modal.js +1 -1
  42. package/app/components/{rdfa-date-plugin/date-time-picker.js → variable-plugin/date/insert-variable.js} +1 -1
  43. package/app/components/{rdfa-date-plugin/insert.js → variable-plugin/date/nodeview.js} +1 -1
  44. package/app/styles/besluit-plugin.scss +2 -2
  45. package/app/styles/date-plugin.scss +0 -20
  46. package/app/styles/snippet-plugin.scss +1 -1
  47. package/app/styles/template-comments-plugin.scss +4 -4
  48. package/app/styles/variable-plugin.scss +2 -2
  49. package/components/template-comments-plugin/template-comment.d.ts +6 -0
  50. package/components/variable-plugin/address/insert-variable.d.ts +3 -0
  51. package/components/variable-plugin/address/insert.d.ts +3 -0
  52. package/components/variable-plugin/address/nodeview.d.ts +7 -0
  53. package/components/variable-plugin/codelist/insert.d.ts +1 -0
  54. package/components/{rdfa-date-plugin → variable-plugin/date}/date-time-picker.d.ts +1 -1
  55. package/components/{rdfa-date-plugin/card.d.ts → variable-plugin/date/edit.d.ts} +3 -3
  56. package/components/{rdfa-date-plugin → variable-plugin/date}/help-modal.d.ts +1 -1
  57. package/components/variable-plugin/date/insert-variable.d.ts +16 -0
  58. package/components/variable-plugin/date/insert.d.ts +4 -3
  59. package/components/{rdfa-date-plugin/date.d.ts → variable-plugin/date/nodeview.d.ts} +5 -1
  60. package/components/variable-plugin/location/insert.d.ts +1 -0
  61. package/components/variable-plugin/number/insert.d.ts +1 -0
  62. package/components/variable-plugin/number/nodeview.d.ts +5 -0
  63. package/components/variable-plugin/text/insert.d.ts +3 -0
  64. package/package.json +8 -6
  65. package/plugins/table-of-contents-plugin/utils/index.d.ts +3 -2
  66. package/plugins/{rdfa-date-plugin/nodes → variable-plugin/variables}/date.d.ts +10 -1
  67. package/plugins/variable-plugin/variables/index.d.ts +1 -0
  68. package/translations/en-US.yaml +11 -0
  69. package/translations/nl-BE.yaml +12 -0
  70. package/utils/translation.d.ts +3 -0
  71. package/addon/components/rdfa-date-plugin/insert.hbs +0 -9
  72. package/addon/components/rdfa-date-plugin/insert.ts +0 -52
  73. package/addon/plugins/rdfa-date-plugin/index.ts +0 -28
  74. package/addon/plugins/rdfa-date-plugin/nodes/date.ts +0 -167
  75. package/components/rdfa-date-plugin/insert.d.ts +0 -16
  76. package/plugins/rdfa-date-plugin/index.d.ts +0 -15
  77. /package/addon/components/{rdfa-date-plugin → variable-plugin/date}/date-time-picker.hbs +0 -0
  78. /package/addon/components/{rdfa-date-plugin → variable-plugin/date}/help-modal.hbs +0 -0
  79. /package/addon/components/{rdfa-date-plugin/date.hbs → variable-plugin/date/nodeview.hbs} +0 -0
  80. /package/addon/plugins/{rdfa-date-plugin/utils.ts → variable-plugin/utils/date-helpers.ts} +0 -0
  81. /package/plugins/{rdfa-date-plugin/utils.d.ts → variable-plugin/utils/date-helpers.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @lblod/ember-rdfa-editor-lblod-plugins
2
2
 
3
+ ## 13.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#304](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/304) [`d52be6c`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/d52be6c70c30e81dffdbf14f91e140d3fc1b5e7e) Thanks [@elpoelma](https://github.com/elpoelma)! - Merge rdfa-date plugin into variable plugin
8
+
9
+ Breaking changes:
10
+
11
+ - Rename of variable date insert component from `VariablePlugin::Date::Insert` to `VariablePlugin::Date::InsertVariable`
12
+ - Rename of standalone date insert component from `RdfaDatePlugin::Insert` to `VariablePlugin::Date::Insert`
13
+ - Removal of `RdfaDatePlugin::Card` component, replaced by `VariablePlugin::Date::Edit` component
14
+ - Removal of `RdfaDatePlugin::Date` component, replace by `VariablePlugin::Date::Nodeview` component
15
+ - Removal of `RdfaDatePlugin::DateTimePicker` component, replaced by `VariablePlugin::Date::DateTimePicker` component
16
+ - Removal of `RdfaDatePlugin::HelpModal` component, replaced by `VariablePlugin::Date::HelpModal` component
17
+ - The `date` node-spec and `dateView` node-view should now be imported from `@lblod/ember-rdfa-editor-lblod-plugins/plugins/variable-plugin/variables`
18
+
19
+ - [#297](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/297) [`30aad4d`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/30aad4df3fc45c37d985dc76d955ed051fc837b2) Thanks [@dkozickis](https://github.com/dkozickis)! - Internationalization of variable plugins using document language
20
+
21
+ Breaking: date plugins does not accept `placeholder` config anymore, the plugin won't break
22
+ if the config is still present, but it will be ignored.
23
+
24
+ - [#303](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/303) [`80f92d2`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/80f92d293404883871b7ac4e9ab4175d5deb8b46) Thanks [@elpoelma](https://github.com/elpoelma)! - Addition of @glint/template to peerDependencies
25
+
26
+ - [#303](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/303) [`80f92d2`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/80f92d293404883871b7ac4e9ab4175d5deb8b46) Thanks [@elpoelma](https://github.com/elpoelma)! - Update @lblod/ember-rdfa-editor to 6.0.0 and increase peerdependency requirement to ^6.0.0
27
+
28
+ ### Patch Changes
29
+
30
+ - [#302](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/302) [`90b5d1a`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/90b5d1a8e1b25f944305445eb653a11bf463fa6e) Thanks [@dkozickis](https://github.com/dkozickis)! - GN-4517: Reduce possible CSS conflicts
31
+
3
32
  ## 12.1.0
4
33
 
5
34
  ### Minor Changes