@lblod/ember-rdfa-editor-lblod-plugins 12.0.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 (102) hide show
  1. package/.woodpecker/.changeset.yml +1 -2
  2. package/CHANGELOG.md +49 -1
  3. package/README.md +242 -138
  4. package/addon/components/citation-plugin/citations/search-modal.hbs +22 -0
  5. package/addon/components/citation-plugin/citations/search-modal.ts +15 -0
  6. package/addon/components/decision-plugin/decision-plugin-card.hbs +3 -3
  7. package/addon/components/snippet-plugin/snippet-list/snippet-list-view.hbs +2 -2
  8. package/addon/components/table-of-contents-plugin/ember-nodes/table-of-contents.ts +1 -0
  9. package/addon/components/template-comments-plugin/template-comment.hbs +4 -4
  10. package/addon/components/template-comments-plugin/template-comment.ts +16 -0
  11. package/addon/components/variable-plugin/address/edit.ts +1 -1
  12. package/addon/components/variable-plugin/address/insert-variable.hbs +9 -0
  13. package/addon/components/variable-plugin/address/insert-variable.ts +40 -0
  14. package/addon/components/variable-plugin/address/insert.hbs +2 -1
  15. package/addon/components/variable-plugin/address/insert.ts +22 -18
  16. package/addon/components/variable-plugin/address/nodeview.hbs +2 -2
  17. package/addon/components/variable-plugin/address/nodeview.ts +23 -1
  18. package/addon/components/variable-plugin/address/utils.ts +26 -0
  19. package/addon/components/variable-plugin/codelist/insert.ts +10 -1
  20. package/addon/components/{rdfa-date-plugin → variable-plugin/date}/date-time-picker.ts +1 -1
  21. package/addon/components/{rdfa-date-plugin/card.hbs → variable-plugin/date/edit.hbs} +3 -3
  22. package/addon/components/{rdfa-date-plugin/card.ts → variable-plugin/date/edit.ts} +10 -10
  23. package/addon/components/{rdfa-date-plugin → variable-plugin/date}/help-modal.ts +2 -2
  24. package/addon/components/variable-plugin/date/insert-variable.hbs +9 -0
  25. package/addon/components/variable-plugin/date/insert-variable.ts +57 -0
  26. package/addon/components/variable-plugin/date/insert.hbs +9 -9
  27. package/addon/components/variable-plugin/date/insert.ts +13 -10
  28. package/addon/components/{rdfa-date-plugin/date.hbs → variable-plugin/date/nodeview.hbs} +1 -1
  29. package/addon/components/{rdfa-date-plugin/date.ts → variable-plugin/date/nodeview.ts} +20 -6
  30. package/addon/components/variable-plugin/location/insert.ts +11 -2
  31. package/addon/components/variable-plugin/location/nodeview.hbs +8 -0
  32. package/addon/components/variable-plugin/location/nodeview.ts +15 -0
  33. package/addon/components/variable-plugin/number/insert.hbs +1 -1
  34. package/addon/components/variable-plugin/number/insert.ts +9 -1
  35. package/addon/components/variable-plugin/number/nodeview.hbs +2 -2
  36. package/addon/components/variable-plugin/number/nodeview.ts +17 -0
  37. package/addon/components/variable-plugin/text/insert.ts +14 -2
  38. package/addon/components/variable-plugin/variable/nodeview.hbs +1 -0
  39. package/addon/plugins/citation-plugin/index.ts +1 -0
  40. package/addon/plugins/citation-plugin/utils/legal-documents.ts +2 -0
  41. package/addon/plugins/citation-plugin/utils/public-decisions.ts +62 -26
  42. package/addon/plugins/table-of-contents-plugin/nodes/table-of-contents.ts +8 -13
  43. package/addon/plugins/table-of-contents-plugin/utils/index.ts +7 -4
  44. package/addon/plugins/template-comments-plugin/node.ts +12 -3
  45. package/addon/plugins/variable-plugin/variables/address.ts +15 -8
  46. package/addon/plugins/variable-plugin/variables/codelist.ts +4 -4
  47. package/addon/plugins/variable-plugin/variables/date.ts +200 -0
  48. package/addon/plugins/variable-plugin/variables/index.ts +1 -0
  49. package/addon/plugins/variable-plugin/variables/location.ts +4 -4
  50. package/addon/plugins/variable-plugin/variables/number.ts +11 -8
  51. package/addon/plugins/variable-plugin/variables/text.ts +4 -4
  52. package/addon/utils/translation.ts +19 -0
  53. package/app/components/variable-plugin/address/insert-variable.js +1 -0
  54. package/app/components/variable-plugin/date/date-time-picker.js +1 -0
  55. package/app/components/{rdfa-date-plugin/card.js → variable-plugin/date/edit.js} +1 -1
  56. package/app/components/{rdfa-date-plugin → variable-plugin/date}/help-modal.js +1 -1
  57. package/app/components/{rdfa-date-plugin/date.js → variable-plugin/date/insert-variable.js} +1 -1
  58. package/app/components/{rdfa-date-plugin/insert.js → variable-plugin/date/nodeview.js} +1 -1
  59. package/app/components/{rdfa-date-plugin/date-time-picker.js → variable-plugin/location/nodeview.js} +1 -1
  60. package/app/styles/besluit-plugin.scss +2 -2
  61. package/app/styles/date-plugin.scss +0 -20
  62. package/app/styles/snippet-plugin.scss +1 -1
  63. package/app/styles/template-comments-plugin.scss +4 -4
  64. package/app/styles/variable-plugin.scss +8 -4
  65. package/components/citation-plugin/citations/search-modal.d.ts +3 -0
  66. package/components/template-comments-plugin/template-comment.d.ts +6 -0
  67. package/components/variable-plugin/address/insert-variable.d.ts +15 -0
  68. package/components/variable-plugin/address/insert.d.ts +4 -1
  69. package/components/variable-plugin/address/nodeview.d.ts +7 -0
  70. package/components/variable-plugin/address/utils.d.ts +2 -0
  71. package/components/variable-plugin/codelist/insert.d.ts +1 -0
  72. package/components/{rdfa-date-plugin → variable-plugin/date}/date-time-picker.d.ts +1 -1
  73. package/components/{rdfa-date-plugin/card.d.ts → variable-plugin/date/edit.d.ts} +3 -3
  74. package/components/{rdfa-date-plugin → variable-plugin/date}/help-modal.d.ts +1 -1
  75. package/components/variable-plugin/date/insert-variable.d.ts +16 -0
  76. package/components/variable-plugin/date/insert.d.ts +4 -3
  77. package/components/{rdfa-date-plugin/date.d.ts → variable-plugin/date/nodeview.d.ts} +5 -1
  78. package/components/variable-plugin/location/insert.d.ts +1 -0
  79. package/components/variable-plugin/location/nodeview.d.ts +12 -0
  80. package/components/variable-plugin/number/insert.d.ts +1 -0
  81. package/components/variable-plugin/number/nodeview.d.ts +5 -0
  82. package/components/variable-plugin/text/insert.d.ts +3 -0
  83. package/index.js +3 -0
  84. package/package.json +14 -10
  85. package/plugins/citation-plugin/index.d.ts +1 -0
  86. package/plugins/citation-plugin/utils/legal-documents.d.ts +1 -0
  87. package/plugins/table-of-contents-plugin/utils/index.d.ts +3 -2
  88. package/plugins/{rdfa-date-plugin/nodes → variable-plugin/variables}/date.d.ts +10 -1
  89. package/plugins/variable-plugin/variables/index.d.ts +1 -0
  90. package/translations/en-US.yaml +12 -0
  91. package/translations/nl-BE.yaml +13 -0
  92. package/utils/translation.d.ts +3 -0
  93. package/addon/components/rdfa-date-plugin/insert.hbs +0 -9
  94. package/addon/components/rdfa-date-plugin/insert.ts +0 -52
  95. package/addon/plugins/rdfa-date-plugin/index.ts +0 -28
  96. package/addon/plugins/rdfa-date-plugin/nodes/date.ts +0 -167
  97. package/components/rdfa-date-plugin/insert.d.ts +0 -16
  98. package/plugins/rdfa-date-plugin/index.d.ts +0 -15
  99. /package/addon/components/{rdfa-date-plugin → variable-plugin/date}/date-time-picker.hbs +0 -0
  100. /package/addon/components/{rdfa-date-plugin → variable-plugin/date}/help-modal.hbs +0 -0
  101. /package/addon/plugins/{rdfa-date-plugin/utils.ts → variable-plugin/utils/date-helpers.ts} +0 -0
  102. /package/plugins/{rdfa-date-plugin/utils.d.ts → variable-plugin/utils/date-helpers.d.ts} +0 -0
@@ -5,5 +5,4 @@ steps:
5
5
  - git fetch origin master
6
6
  - git diff -wb --name-only origin/master..HEAD | grep "\.changeset/.*\.md"
7
7
  when:
8
- event: pull_request
9
- evaluate: 'not (CI_COMMIT_PULL_REQUEST_LABELS contains "dependabot")'
8
+ - evaluate: 'CI_PIPELINE_EVENT == "pull_request" && not (CI_COMMIT_PULL_REQUEST_LABELS contains "dependabot")'
package/CHANGELOG.md CHANGED
@@ -1,4 +1,50 @@
1
- ## 11.3.0 - 2023-09-06
1
+ # @lblod/ember-rdfa-editor-lblod-plugins
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
+
32
+ ## 12.1.0
33
+
34
+ ### Minor Changes
35
+
36
+ - [#286](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/286) [`955535b`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/955535b4d99d729b40f0e01bf1c634042894bf60) Thanks [@dkozickis](https://github.com/dkozickis)! - GN-4266: Referring to published decisions - filter by government name
37
+
38
+ - [#299](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/299) [`3732e50`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/3732e5041df3d3e994df34de9dd436f59f7bade0) Thanks [@x-m-el](https://github.com/x-m-el)! - Update readme documentation for RDFa date and Table of Contents plugin to include explanation about their configurations
39
+
40
+ - [#290](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/290) [`8c1ad72`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/8c1ad729b0eb1a159637d3ed9f3b49a02a659a96) Thanks [@elpoelma](https://github.com/elpoelma)! - Add support for address variables inside location variables
41
+
42
+ - [#296](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/296) [`bcf7a2d`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/bcf7a2d7314dfd1156ca1e310d5c15d1d2c2fbfe) Thanks [@abeforgit](https://github.com/abeforgit)! - bump ember and ember data to 4.12 for development, and add correct peerdep specification for consumers
43
+
44
+ - [#298](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/298) [`2908aa3`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/2908aa355b6dadc694ee90fd93ad2e79faa22257) Thanks [@x-m-el](https://github.com/x-m-el)! - Added a second address insert `variable-plugin/address/insert-variable`. This replaces the `insert` from before when used inside the `insert-variable-card` dropdown.
45
+
46
+ - same UI as other variables
47
+ - allows using a custom label
2
48
 
3
49
  ## 12.0.0
4
50
 
@@ -17,6 +63,8 @@
17
63
 
18
64
  - [#289](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/289) [`d1e2af1`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/d1e2af14bab0eb4ed6e1d7d62a5c55e396c707ce) Thanks [@elpoelma](https://github.com/elpoelma)! - Bumps `@lblod/ember-rdfa-editor` from 5.2.0 to 5.3.0
19
65
 
66
+ ## [11.3.0] - 2023-09-06
67
+
20
68
  ### Changed
21
69
 
22
70
  - CI: move changelog check to separate CI pipeline