@demos-europe/demosplan-ui 0.1.4 → 0.1.6

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 (96) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/dist/demosplan-ui.umd.js +1 -1
  3. package/dist/demosplan-ui.umd.js.LICENSE.txt +0 -6
  4. package/jest/setup.js +18 -0
  5. package/jest/shallowMountWithGlobalMocks.js +41 -0
  6. package/jest.config.js +47 -17
  7. package/package.json +8 -6
  8. package/src/components/DpAutocomplete/DpAutocomplete.stories.mdx +34 -0
  9. package/src/components/DpButton/DpButton.vue +1 -1
  10. package/src/components/DpButtonRow/DpButtonRow.vue +4 -3
  11. package/src/components/DpCheckboxGroup/DpCheckboxGroup.vue +2 -2
  12. package/src/components/{core/DpDataTable → DpDataTable}/DpColumnSelector.vue +3 -3
  13. package/src/components/{core/DpDataTable → DpDataTable}/DpDataTable.vue +233 -175
  14. package/src/components/{core/DpDataTable → DpDataTable}/DpDataTableExtended.vue +9 -9
  15. package/src/components/{core/DpDataTable → DpDataTable}/DpResizableColumn.vue +1 -1
  16. package/src/components/{core/DpDataTable → DpDataTable}/DpSelectPageItemCount.vue +1 -1
  17. package/src/components/{core/DpDataTable → DpDataTable}/DpTableHeader.vue +16 -4
  18. package/src/components/DpDataTable/DpTableRow.vue +274 -0
  19. package/src/components/{core/DpDataTable → DpDataTable}/DpWrapTrigger.vue +1 -1
  20. package/src/components/DpDateRangePicker/DpDateRangePicker.vue +1 -1
  21. package/src/components/DpDetails/DpDetails.vue +1 -1
  22. package/src/components/DpFlyout/DpFlyout.vue +1 -1
  23. package/src/components/DpHeightLimit/DpHeightLimit.vue +1 -1
  24. package/src/components/DpInlineNotification/DpInlineNotification.vue +2 -2
  25. package/src/components/DpLabel/DpLabel.vue +3 -3
  26. package/src/components/DpLoading/DpLoading.vue +2 -2
  27. package/src/components/DpModal/DpModal.vue +1 -1
  28. package/src/components/DpMultiselect/DpMultiselect.vue +1 -1
  29. package/src/components/DpPager/DpPager.vue +4 -4
  30. package/src/components/DpResettableInput/DpResettableInput.vue +1 -1
  31. package/src/components/DpSearchField/DpSearchField.vue +3 -3
  32. package/src/components/{core/shared → DpStickyElement}/DpStickyElement.vue +1 -1
  33. package/src/components/DpTextArea/DpTextArea.vue +2 -2
  34. package/src/components/DpTimePicker/DpTimePicker.vue +2 -2
  35. package/src/components/{core/DpTreeList → DpTreeList}/DpTreeList.vue +4 -4
  36. package/src/components/{core/DpTreeList → DpTreeList}/DpTreeListNode.vue +8 -8
  37. package/src/components/core/DpBulkEditHeader.vue +1 -1
  38. package/src/components/core/DpEditor/DpEditor.vue +6 -6
  39. package/src/components/core/DpSwitcher.vue +11 -11
  40. package/src/components/core/DpTableCardList/DpTableCardListHeader.vue +2 -2
  41. package/src/components/core/DpUpload/DpUploadedFile.vue +2 -2
  42. package/src/components/core/DpVideoPlayer.vue +1 -1
  43. package/src/components/core/index.js +0 -18
  44. package/src/components/core/notify/DpNotifyMessage.vue +3 -3
  45. package/src/components/index.js +11 -14
  46. package/src/index.js +0 -4
  47. package/style/style.css +457145 -0
  48. package/tailwind.config.js +23 -5
  49. package/tests/DataTableSearch.spec.js +33 -0
  50. package/tests/DpContextualHelp.spec.js +23 -0
  51. package/tests/DpLabel.spec.js +28 -0
  52. package/tests/DpNotifyMessage.spec.js +131 -0
  53. package/tests/DpTreeListCheckbox.spec.js +73 -0
  54. package/tests/DpUpload/DpUploadFiles.spec.js +76 -0
  55. package/tests/Modal.spec.js +31 -0
  56. package/tests/Obscure.spec.js +38 -0
  57. package/tests/Tiptap/__snapshots__/handleWordPaste.spec.js.snap +7 -0
  58. package/tests/Tiptap/handleWordPaste.spec.js +8 -0
  59. package/tests/__mocks__/wordContentSnippets.mock.js +5 -0
  60. package/tests/__snapshots__/DpContextualHelp.spec.js.snap +3 -0
  61. package/tests/__snapshots__/DpNotifyMessage.spec.js.snap +23 -0
  62. package/tests/form/DpCheckbox.spec.js +46 -0
  63. package/tests/form/DpInput.spec.js +46 -0
  64. package/tests/form/DpSelect.spec.js +67 -0
  65. package/tests/form/shared/Attributes.js +56 -0
  66. package/tests/form/shared/Label.js +20 -0
  67. package/tests/prefixClass.spec.js +22 -0
  68. package/{src/tests → tests}/utils/date.test.js +2 -2
  69. package/{src/tests → tests}/utils/debounce.test.js +2 -2
  70. package/{src/tests → tests}/utils/deepMerge.test.js +1 -1
  71. package/{src/tests → tests}/utils/formatBytes.test.js +2 -2
  72. package/{src/tests → tests}/utils/hasOwnProp.test.js +1 -1
  73. package/{src/tests → tests}/utils/hasPermission.test.js +1 -1
  74. package/{src/tests → tests}/utils/sortAlphabetically.test.js +5 -5
  75. package/{src/tests → tests}/utils/uniqueArrayByObjectKey.test.js +2 -2
  76. package/tokens/scss/_boxShadow.scss +1 -1
  77. package/tokens/scss/_color.brand.scss +1 -1
  78. package/tokens/scss/_color.data.scss +1 -1
  79. package/tokens/scss/_color.palette.scss +1 -1
  80. package/tokens/scss/_color.ui.scss +1 -1
  81. package/tokens/scss/_fontSize.scss +1 -1
  82. package/tokens/scss/_rounded.scss +1 -1
  83. package/tokens/scss/_space.scss +1 -1
  84. package/src/components/core/DpChangeStateAtDate.stories.mdx +0 -18
  85. package/src/components/core/DpChangeStateAtDate.vue +0 -195
  86. package/src/components/core/DpCopyPasteButton.vue +0 -29
  87. package/src/components/core/DpDataTable/DpTableRow.vue +0 -346
  88. /package/src/components/{core/DpDataTable → DpDataTable}/DataTableSearch.js +0 -0
  89. /package/src/components/{core/DpDataTable → DpDataTable}/DpColumnSelector.stories.mdx +0 -0
  90. /package/src/components/{core/DpDataTable → DpDataTable}/DpDataTable.stories.mdx +0 -0
  91. /package/src/components/{core/DpDataTable → DpDataTable}/DpDataTableExtended.stories.mdx +0 -0
  92. /package/src/components/{core/DpDataTable → DpDataTable}/DpResizeHandle.vue +0 -0
  93. /package/src/components/{core/DpTreeList → DpTreeList}/DpTreeListCheckbox.vue +0 -0
  94. /package/src/components/{core/DpTreeList → DpTreeList}/DpTreeListToggle.vue +0 -0
  95. /package/src/components/{core/DpTreeList → DpTreeList}/utils/bus.js +0 -0
  96. /package/src/components/{core/DpTreeList → DpTreeList}/utils/constants.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,24 +1,60 @@
1
1
  # Changelog
2
2
 
3
+ Since v0.0.10, this Changelog is formatted according to the [Common Changelog][common-changelog] recommendations.
4
+
3
5
  ## UNRELEASED
4
6
 
5
- ## v0.1.4 - 2023-06-13
7
+ ## v0.1.6 - 2023-06-22
8
+
9
+ ### Changed
10
+
11
+ - ([#306](https://github.com/demos-europe/demosplan-ui/pull/306)) Adapt some utility classes to use tailwind ([@spiess-demos](https://github.com/spiess-demos))
12
+
13
+ ### Removed
14
+
15
+ - ([#303](https://github.com/demos-europe/demosplan-ui/pull/303)) **Breaking**: Remove DpChangeStateAtDate ([@hwiem](https://github.com/hwiem))
16
+ - ([#256](https://github.com/demos-europe/demosplan-ui/pull/256)) **Breaking**: Remove DpCopyPasteButton ([@hwiem](https://github.com/hwiem))
17
+
18
+ ### Fixed
19
+
20
+ - ([#304](https://github.com/demos-europe/demosplan-ui/pull/304)) Fix invalid empty string for DpButtonRow ([@spiess-demos](https://github.com/spiess-demos))
21
+ - ([#319](https://github.com/demos-europe/demosplan-ui/pull/319)) Fix data-cy prop on multiselect ([@gruenbergerdemos](https://github.com/gruenbergerdemos))
22
+
23
+ ## v0.1.5 - 2023-06-16
24
+
25
+ _Historic note: v0.1.4 was a bugfix release that contained picked changes from v0.1.5 at a state
26
+ where this release was not fully ready yet and has therefore not been merged back to main. It can
27
+ still be accessed via its release tag._
6
28
 
7
29
  ### Added
30
+
31
+ - ([#268](https://github.com/demos-europe/demosplan-ui/pull/268)) Tests: Add Test setup for Vue Files and some Tests ([@salis-demos](https://github.com/salis-demos))
32
+ - ([#294](https://github.com/demos-europe/demosplan-ui/pull/294)) Css: A Tailwind Css file is included in the module to be used by projects ([@spiess-demos](https://github.com/spiess-demos))
8
33
  - ([#269](https://github.com/demos-europe/demosplan-ui/pull/269)) DpIcon: new selector `landscape`, `portrait`, or `square`, based on icon proportions ([@spiess-demos](https://github.com/spiess-demos))
9
34
  - ([#270](https://github.com/demos-europe/demosplan-ui/pull/270)) DpIcon: new icons (ai, copy) ([@spiess-demos](https://github.com/spiess-demos))
10
35
 
36
+ ### Changed
37
+
38
+ - ([#294](https://github.com/demos-europe/demosplan-ui/pull/294)) **Breaking**: All script names use the colon instead of the dash as separator (eg. "build:tokens") ([@spiess-demos](https://github.com/spiess-demos))
39
+ - ([#292](https://github.com/demos-europe/demosplan-ui/pull/292)) DpDataTable: Clean V-if/v-for in Preparation for Vue3 ([@salis-demos](https://github.com/salis-demos))
40
+ - ([#230](https://github.com/demos-europe/demosplan-ui/pull/230)) Move from Functional Component to Template in DpDataTable ([@sakutademos](https://github.com/sakutademos))
41
+ - ([#233](https://github.com/demos-europe/demosplan-ui/pull/233)) Move from Functional Component to Template in DpTableRow ([@sakutademos](https://github.com/sakutademos))
42
+ - ([#280](https://github.com/demos-europe/demosplan-ui/pull/280)) Adjust DpTableHeader to work with DpDataTable template-based component ([@sakutademos](https://github.com/sakutademos))
43
+
11
44
  ### Fixed
45
+
12
46
  - ([#290](https://github.com/demos-europe/demosplan-ui/pull/290)) Add missing props to DpMultiselect ([@gruenbergerdemos](https://github.com/gruenbergerdemos))
13
47
 
14
48
  ## v0.1.3 - 2023-05-31
15
49
 
16
50
  ### Removed
51
+
17
52
  - ([#255](https://github.com/demos-europe/demosplan-ui/pull/255)) **Breaking**: Remove DpRegisterFlyout ([@hwiem](https://github.com/hwiem))
18
53
  - ([#259](https://github.com/demos-europe/demosplan-ui/pull/259)) **Breaking**: DpButton does not support slots anymore. Use the `icon` prop instead. ([@spiess-demos](https://github.com/spiess-demos))
19
54
 
20
55
 
21
56
  ### Added
57
+
22
58
  - ([#259](https://github.com/demos-europe/demosplan-ui/pull/259)) DpButton: New button variant "subtle" 👻, new props "icon", "iconAfter", "hideText" ([@spiess-demos](https://github.com/spiess-demos))
23
59
  - ([#259](https://github.com/demos-europe/demosplan-ui/pull/259)) DpIcon: New icons (chevron-left, chevron-right, edit) ([@spiess-demos](https://github.com/spiess-demos))
24
60
 
@@ -38,11 +74,13 @@
38
74
  Unfortunately, we had a minor log-entry merge mishap and that wasn't noticed until after the release.
39
75
 
40
76
  ### Fixed
77
+
41
78
  - Remove duplicated prefix from space tokens ([@spiess-demos](https://github.com/spiess-demos))
42
79
 
43
80
  ## v0.1 - 2023-05-16
44
81
 
45
82
  ### Changed
83
+
46
84
  - ([#108](https://github.com/demos-europe/demosplan-ui/pull/108)) **Breaking**: Add design tokens, split generated Scss into multiple files ([@ahmad-demos](https://github.com/ahmad-demos), [@spiess-demos](https://github.com/spiess-demos))
47
85
  - ([#211](https://github.com/demos-europe/demosplan-ui/pull/211)) **Breaking**: Replace Font Awesome with Phosphor Icons ([@spiess-demos](https://github.com/spiess-demos))
48
86
  - ([#205](https://github.com/demos-europe/demosplan-ui/pull/205)) Move from Functional Component to Template in DpTableHeader ([@elmasdemos](https://github.com/elmasdemos))
@@ -68,6 +106,7 @@ Unfortunately, we had a minor log-entry merge mishap and that wasn't noticed unt
68
106
  ## v0.0.19 - 2023-04-06
69
107
 
70
108
  ### Changed
109
+
71
110
  - ([#146](https://github.com/demos-europe/demosplan-ui/pull/146)) Expose DpNotifyMessage and deprecate DpNotifyContainer
72
111
 
73
112
  ### Fixed
@@ -185,3 +224,7 @@ Same as v0.0.13, but with up-to-date build dependencies this time around.
185
224
  ## v0.0.1 - 2022-11-15
186
225
 
187
226
  - This is unfinished and broken. We just need a starting point
227
+
228
+ ---
229
+
230
+ [common-changelog]: https://common-changelog.org