@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.
- package/CHANGELOG.md +44 -1
- package/dist/demosplan-ui.umd.js +1 -1
- package/dist/demosplan-ui.umd.js.LICENSE.txt +0 -6
- package/jest/setup.js +18 -0
- package/jest/shallowMountWithGlobalMocks.js +41 -0
- package/jest.config.js +47 -17
- package/package.json +8 -6
- package/src/components/DpAutocomplete/DpAutocomplete.stories.mdx +34 -0
- package/src/components/DpButton/DpButton.vue +1 -1
- package/src/components/DpButtonRow/DpButtonRow.vue +4 -3
- package/src/components/DpCheckboxGroup/DpCheckboxGroup.vue +2 -2
- package/src/components/{core/DpDataTable → DpDataTable}/DpColumnSelector.vue +3 -3
- package/src/components/{core/DpDataTable → DpDataTable}/DpDataTable.vue +233 -175
- package/src/components/{core/DpDataTable → DpDataTable}/DpDataTableExtended.vue +9 -9
- package/src/components/{core/DpDataTable → DpDataTable}/DpResizableColumn.vue +1 -1
- package/src/components/{core/DpDataTable → DpDataTable}/DpSelectPageItemCount.vue +1 -1
- package/src/components/{core/DpDataTable → DpDataTable}/DpTableHeader.vue +16 -4
- package/src/components/DpDataTable/DpTableRow.vue +274 -0
- package/src/components/{core/DpDataTable → DpDataTable}/DpWrapTrigger.vue +1 -1
- package/src/components/DpDateRangePicker/DpDateRangePicker.vue +1 -1
- package/src/components/DpDetails/DpDetails.vue +1 -1
- package/src/components/DpFlyout/DpFlyout.vue +1 -1
- package/src/components/DpHeightLimit/DpHeightLimit.vue +1 -1
- package/src/components/DpInlineNotification/DpInlineNotification.vue +2 -2
- package/src/components/DpLabel/DpLabel.vue +3 -3
- package/src/components/DpLoading/DpLoading.vue +2 -2
- package/src/components/DpModal/DpModal.vue +1 -1
- package/src/components/DpMultiselect/DpMultiselect.vue +1 -1
- package/src/components/DpPager/DpPager.vue +4 -4
- package/src/components/DpResettableInput/DpResettableInput.vue +1 -1
- package/src/components/DpSearchField/DpSearchField.vue +3 -3
- package/src/components/{core/shared → DpStickyElement}/DpStickyElement.vue +1 -1
- package/src/components/DpTextArea/DpTextArea.vue +2 -2
- package/src/components/DpTimePicker/DpTimePicker.vue +2 -2
- package/src/components/{core/DpTreeList → DpTreeList}/DpTreeList.vue +4 -4
- package/src/components/{core/DpTreeList → DpTreeList}/DpTreeListNode.vue +8 -8
- package/src/components/core/DpBulkEditHeader.vue +1 -1
- package/src/components/core/DpEditor/DpEditor.vue +6 -6
- package/src/components/core/DpSwitcher.vue +11 -11
- package/src/components/core/DpTableCardList/DpTableCardListHeader.vue +2 -2
- package/src/components/core/DpUpload/DpUploadedFile.vue +2 -2
- package/src/components/core/DpVideoPlayer.vue +1 -1
- package/src/components/core/index.js +0 -18
- package/src/components/core/notify/DpNotifyMessage.vue +3 -3
- package/src/components/index.js +11 -14
- package/src/index.js +0 -4
- package/style/style.css +457145 -0
- package/tailwind.config.js +23 -5
- package/tests/DataTableSearch.spec.js +33 -0
- package/tests/DpContextualHelp.spec.js +23 -0
- package/tests/DpLabel.spec.js +28 -0
- package/tests/DpNotifyMessage.spec.js +131 -0
- package/tests/DpTreeListCheckbox.spec.js +73 -0
- package/tests/DpUpload/DpUploadFiles.spec.js +76 -0
- package/tests/Modal.spec.js +31 -0
- package/tests/Obscure.spec.js +38 -0
- package/tests/Tiptap/__snapshots__/handleWordPaste.spec.js.snap +7 -0
- package/tests/Tiptap/handleWordPaste.spec.js +8 -0
- package/tests/__mocks__/wordContentSnippets.mock.js +5 -0
- package/tests/__snapshots__/DpContextualHelp.spec.js.snap +3 -0
- package/tests/__snapshots__/DpNotifyMessage.spec.js.snap +23 -0
- package/tests/form/DpCheckbox.spec.js +46 -0
- package/tests/form/DpInput.spec.js +46 -0
- package/tests/form/DpSelect.spec.js +67 -0
- package/tests/form/shared/Attributes.js +56 -0
- package/tests/form/shared/Label.js +20 -0
- package/tests/prefixClass.spec.js +22 -0
- package/{src/tests → tests}/utils/date.test.js +2 -2
- package/{src/tests → tests}/utils/debounce.test.js +2 -2
- package/{src/tests → tests}/utils/deepMerge.test.js +1 -1
- package/{src/tests → tests}/utils/formatBytes.test.js +2 -2
- package/{src/tests → tests}/utils/hasOwnProp.test.js +1 -1
- package/{src/tests → tests}/utils/hasPermission.test.js +1 -1
- package/{src/tests → tests}/utils/sortAlphabetically.test.js +5 -5
- package/{src/tests → tests}/utils/uniqueArrayByObjectKey.test.js +2 -2
- package/tokens/scss/_boxShadow.scss +1 -1
- package/tokens/scss/_color.brand.scss +1 -1
- package/tokens/scss/_color.data.scss +1 -1
- package/tokens/scss/_color.palette.scss +1 -1
- package/tokens/scss/_color.ui.scss +1 -1
- package/tokens/scss/_fontSize.scss +1 -1
- package/tokens/scss/_rounded.scss +1 -1
- package/tokens/scss/_space.scss +1 -1
- package/src/components/core/DpChangeStateAtDate.stories.mdx +0 -18
- package/src/components/core/DpChangeStateAtDate.vue +0 -195
- package/src/components/core/DpCopyPasteButton.vue +0 -29
- package/src/components/core/DpDataTable/DpTableRow.vue +0 -346
- /package/src/components/{core/DpDataTable → DpDataTable}/DataTableSearch.js +0 -0
- /package/src/components/{core/DpDataTable → DpDataTable}/DpColumnSelector.stories.mdx +0 -0
- /package/src/components/{core/DpDataTable → DpDataTable}/DpDataTable.stories.mdx +0 -0
- /package/src/components/{core/DpDataTable → DpDataTable}/DpDataTableExtended.stories.mdx +0 -0
- /package/src/components/{core/DpDataTable → DpDataTable}/DpResizeHandle.vue +0 -0
- /package/src/components/{core/DpTreeList → DpTreeList}/DpTreeListCheckbox.vue +0 -0
- /package/src/components/{core/DpTreeList → DpTreeList}/DpTreeListToggle.vue +0 -0
- /package/src/components/{core/DpTreeList → DpTreeList}/utils/bus.js +0 -0
- /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.
|
|
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
|