@demos-europe/demosplan-ui 0.3.33 → 0.4.1
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/.editorconfig +8 -0
- package/.idea/workspace.xml +16 -15
- package/.yarn/install-state.gz +0 -0
- package/.yarnrc.yml +2 -0
- package/CHANGELOG.md +35 -12
- package/LICENSE +0 -26
- package/babel-jest-transformer.js +0 -0
- package/babel.config.js +5 -1
- package/dist/demosplan-ui.umd.js +1 -1
- package/dist/demosplan-ui.umd.js.LICENSE.txt +7 -6
- package/dist/main.css +5 -0
- package/jest/shallowMountWithGlobalMocks.js +11 -16
- package/jest.config.js +5 -2
- package/package.json +54 -80
- package/scripts/utils/transformTokens.js +3 -0
- package/src/components/DpAnonymizeText/DpAnonymizeText.vue +11 -10
- package/src/components/DpAutocomplete/DpAutocomplete.vue +4 -4
- package/src/components/DpButton/DpButton.stories.mdx +1 -1
- package/src/components/DpButton/DpButton.vue +283 -153
- package/src/components/DpButtonRow/DpButtonRow.vue +8 -3
- package/src/components/DpCheckbox/DpCheckbox.vue +2 -2
- package/src/components/DpContextualHelp/DpContextualHelp.vue +30 -42
- package/src/components/DpDataTable/DpDataTable.vue +49 -45
- package/src/components/DpDataTable/DpResizableColumn.vue +1 -1
- package/src/components/DpDataTable/DpTableHeader.vue +8 -13
- package/src/components/DpDataTable/DpTableRow.vue +39 -26
- package/src/components/DpDataTable/DpWrapTrigger.vue +2 -1
- package/src/components/DpDataTableExtended/DpDataTableExtended.vue +31 -22
- package/src/components/DpDatetimePicker/DpDatetimePicker.vue +3 -2
- package/src/components/DpDraggable/DpDraggable.vue +124 -116
- package/src/components/DpEditor/DpEditor.vue +29 -31
- package/src/components/DpEditor/DpLinkModal.vue +40 -39
- package/src/components/DpEditor/DpResizableImage.vue +1 -1
- package/src/components/DpEditor/DpUploadModal.vue +57 -56
- package/src/components/DpEditor/MentionList.vue +5 -2
- package/src/components/DpEditor/libs/Decoration.js +2 -2
- package/src/components/DpEditor/libs/editorBuildSuggestion.js +2 -2
- package/src/components/DpEditor/libs/editorCustomImage.js +1 -1
- package/src/components/DpEditor/libs/editorInsertAtCursorPos.js +1 -1
- package/src/components/DpFlyout/DpFlyout.vue +2 -3
- package/src/components/DpIcon/DpIcon.stories.mdx +1 -1
- package/src/components/DpIcon/DpIcon.vue +83 -50
- package/src/components/DpIcon/util/iconConfig.ts +179 -0
- package/src/components/DpInlineNotification/DpInlineNotification.vue +8 -3
- package/src/components/DpInput/DpInput.vue +236 -230
- package/src/components/DpLabel/DpLabel.vue +68 -78
- package/src/components/DpModal/DpModal.vue +0 -4
- package/src/components/DpMultiselect/DpMultiselect.vue +18 -3
- package/src/components/DpMultistepNav/DpMultistepNav.vue +2 -2
- package/src/components/DpPager/DpPager.vue +13 -4
- package/src/components/DpResettableInput/DpResettableInput.vue +1 -1
- package/src/components/DpSearchField/DpSearchField.vue +7 -2
- package/src/components/DpSelect/DpSelect.vue +1 -1
- package/src/components/DpSlidingPagination/DpSlidingPagination.vue +18 -5
- package/src/components/DpSplitButton/DpSplitButton.vue +9 -5
- package/src/components/DpTabs/DpTab.vue +7 -6
- package/src/components/DpTabs/DpTabs.vue +102 -118
- package/src/components/DpTextArea/DpTextArea.vue +5 -4
- package/src/components/DpTimePicker/DpTimePicker.vue +2 -3
- package/src/components/DpTooltip/DpTooltip.vue +2 -2
- package/src/components/DpTooltip/utils/tooltip.js +6 -9
- package/src/components/DpTransitionExpand/DpTransitionExpand.vue +44 -48
- package/src/components/DpTreeList/DpTreeList.vue +23 -15
- package/src/components/DpTreeList/DpTreeListNode.vue +16 -9
- package/src/components/DpUploadFiles/DpUpload.vue +13 -9
- package/src/components/DpUploadFiles/DpUploadFiles.vue +21 -3
- package/src/components/DpUploadFiles/DpUploadedFile.vue +3 -1
- package/src/components/DpUploadFiles/DpUploadedFileList.vue +11 -2
- package/src/components/DpUploadFiles/utils/UppyTranslations.js +3 -1
- package/src/components/DpVideoPlayer/DpVideoPlayer.vue +25 -25
- package/src/components/shared/translations.js +88 -11
- package/src/directives/CleanHtml/CleanHtml.js +2 -2
- package/src/directives/Tooltip/Tooltip.js +8 -4
- package/src/lib/DpApi.js +2 -2
- package/src/lib/validation/dpValidateMultiselectDirective.js +4 -4
- package/src/lib/validation/utils/assignHandlerForTrigger.js +1 -1
- package/src/lib/validation/utils/validateInputField.js +3 -3
- package/src/mixins/dpValidateMixin.js +1 -1
- package/src/shared/props/props.js +2 -2
- package/src/utils/formatString.js +0 -1
- package/src/utils/lengthHint/lengthHint.js +1 -1
- package/tailwind.config.js +35 -3
- package/tokens/dist/js/boxShadow.js +1 -1
- package/tokens/dist/js/breakpoints.js +1 -1
- package/tokens/dist/js/color.brand.js +1 -1
- package/tokens/dist/js/color.data.js +1 -1
- package/tokens/dist/js/color.palette.js +1 -1
- package/tokens/dist/js/color.ui.js +523 -69
- package/tokens/dist/js/fontSize.js +55 -12
- package/tokens/dist/js/rounded.js +39 -1
- package/tokens/dist/js/space.js +1 -1
- package/tokens/dist/js/zIndex.js +1 -1
- package/tokens/dist/scss/_boxShadow.scss +1 -1
- package/tokens/dist/scss/_breakpoints.scss +1 -1
- package/tokens/dist/scss/_color.brand.scss +1 -1
- package/tokens/dist/scss/_color.data.scss +1 -1
- package/tokens/dist/scss/_color.palette.scss +1 -1
- package/tokens/dist/scss/_color.ui.scss +1 -1
- package/tokens/dist/scss/_fontSize.scss +2 -1
- package/tokens/dist/scss/_rounded.scss +3 -1
- package/tokens/dist/scss/_space.scss +1 -1
- package/tokens/dist/scss/_zIndex.scss +1 -1
- package/tokens/dist/tailwind/backgroundColor.js +1 -2
- package/tokens/dist/tailwind/borderColor.js +2 -0
- package/tokens/dist/tailwind/color.js +16 -1
- package/tokens/dist/tailwind/fontSize.js +45 -11
- package/tokens/dist/tailwind/rounded.js +3 -1
- package/tokens/dist/tailwind/textColor.js +1 -1
- package/tokens/src/color/color.ui.json +108 -15
- package/tokens/src/fontSize.json +26 -11
- package/tokens/src/rounded.json +8 -0
- package/tsconfig.json +2 -2
- package/types/icons.ts +85 -0
- package/types/index.ts +1 -0
- package/vue-shims.d.ts +4 -3
- package/webpack.config.js +13 -10
- package/src/components/DpEditor/libs/SegmentRangeChangePlugin.js +0 -26
- package/src/components/DpIcon/util/iconVariables.js +0 -207
- package/src/components/DpTreeList/utils/bus.js +0 -3
package/.editorconfig
ADDED
package/.idea/workspace.xml
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="0afade99-d5c9-4644-8d94-9e61461e1bbe" name="Changes" comment="chore:
|
|
8
|
-
<change beforePath="$PROJECT_DIR$/
|
|
7
|
+
<list default="true" id="0afade99-d5c9-4644-8d94-9e61461e1bbe" name="Changes" comment="chore: Add changelog">
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/yarn.lock" beforeDir="false" afterPath="$PROJECT_DIR$/yarn.lock" afterDir="false" />
|
|
9
9
|
</list>
|
|
10
10
|
<option name="SHOW_DIALOG" value="false" />
|
|
11
11
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
</option>
|
|
30
30
|
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
|
31
31
|
<map>
|
|
32
|
-
<entry key="$PROJECT_DIR$" value="
|
|
32
|
+
<entry key="$PROJECT_DIR$" value="f_T19759_vue3_draggable" />
|
|
33
33
|
</map>
|
|
34
34
|
</option>
|
|
35
35
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
55
55
|
"SONARLINT_PRECOMMIT_ANALYSIS": "true",
|
|
56
56
|
"WebServerToolWindowFactoryState": "false",
|
|
57
|
-
"git-widget-placeholder": "
|
|
57
|
+
"git-widget-placeholder": "main",
|
|
58
58
|
"last_opened_file_path": "/home/florian/Dev/demosplan-ui",
|
|
59
59
|
"node.js.detected.package.eslint": "true",
|
|
60
60
|
"node.js.detected.package.tslint": "true",
|
|
@@ -278,14 +278,7 @@
|
|
|
278
278
|
<workItem from="1727677566492" duration="9323000" />
|
|
279
279
|
<workItem from="1727717337691" duration="3703000" />
|
|
280
280
|
<workItem from="1727771544457" duration="10336000" />
|
|
281
|
-
|
|
282
|
-
<task id="LOCAL-00010" summary="chore: Simplify editableList story. The old way broke the build doue to errors. This may not be perfect, but works for now and can easily be extended.">
|
|
283
|
-
<option name="closed" value="true" />
|
|
284
|
-
<created>1701788311497</created>
|
|
285
|
-
<option name="number" value="00010" />
|
|
286
|
-
<option name="presentableId" value="LOCAL-00010" />
|
|
287
|
-
<option name="project" value="LOCAL" />
|
|
288
|
-
<updated>1701788311497</updated>
|
|
281
|
+
<workItem from="1728282412660" duration="2817000" />
|
|
289
282
|
</task>
|
|
290
283
|
<task id="LOCAL-00011" summary="chore: Simplify editableList story. The old way broke the build doue to errors. This may not be perfect, but works for now and can easily be extended.">
|
|
291
284
|
<option name="closed" value="true" />
|
|
@@ -671,7 +664,15 @@
|
|
|
671
664
|
<option name="project" value="LOCAL" />
|
|
672
665
|
<updated>1727877681603</updated>
|
|
673
666
|
</task>
|
|
674
|
-
<
|
|
667
|
+
<task id="LOCAL-00059" summary="chore: Add changelog">
|
|
668
|
+
<option name="closed" value="true" />
|
|
669
|
+
<created>1728285072002</created>
|
|
670
|
+
<option name="number" value="00059" />
|
|
671
|
+
<option name="presentableId" value="LOCAL-00059" />
|
|
672
|
+
<option name="project" value="LOCAL" />
|
|
673
|
+
<updated>1728285072002</updated>
|
|
674
|
+
</task>
|
|
675
|
+
<option name="localTasksCounter" value="60" />
|
|
675
676
|
<servers>
|
|
676
677
|
<YouTrack url="https://demoseurope.youtrack.cloud">
|
|
677
678
|
<username>random</username>
|
|
@@ -738,7 +739,6 @@
|
|
|
738
739
|
<MESSAGE value="fix(refs DPLAN-1898): Rename Methods to clearify what really happens, a renaming may help." />
|
|
739
740
|
<MESSAGE value="fix: Restore lost Changelog Release Entry" />
|
|
740
741
|
<MESSAGE value="fix: Select All should only select selectable items if the feature "lock item" is on, these items shouldn't be selected when using select all." />
|
|
741
|
-
<MESSAGE value="chore: Add changelog" />
|
|
742
742
|
<MESSAGE value="chore: Move changelog entry to the right place" />
|
|
743
743
|
<MESSAGE value="chore: fix merge issues" />
|
|
744
744
|
<MESSAGE value="fix: Pass Data to tableHeader" />
|
|
@@ -760,6 +760,7 @@
|
|
|
760
760
|
<MESSAGE value="chore(refs dplan-12315): use tiptap/pm instead of prosemirror" />
|
|
761
761
|
<MESSAGE value="chore(refs dplan-12315): Several minor changes to be more vue3 complient - eg remove this.$on" />
|
|
762
762
|
<MESSAGE value="chore: Prepare release" />
|
|
763
|
-
<
|
|
763
|
+
<MESSAGE value="chore: Add changelog" />
|
|
764
|
+
<option name="LAST_COMMIT_MESSAGE" value="chore: Add changelog" />
|
|
764
765
|
</component>
|
|
765
766
|
</project>
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/.yarnrc.yml
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -4,21 +4,38 @@ Since v0.0.10, this Changelog is formatted according to the [Common Changelog][c
|
|
|
4
4
|
|
|
5
5
|
## UNRELEASED
|
|
6
6
|
|
|
7
|
-
## v0.
|
|
7
|
+
## v0.4.1 - 2024-10-07
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- ([#1030](https://github.com/demos-europe/demosplan-ui/pull/1030)) Add new utility: capitalizeFirstLetter ([@sakutademos](https://github.com/sakutademos)
|
|
11
|
+
- ([#1019](https://github.com/demos-europe/demosplan-ui/pull/1019)) DpVideoPlayer: Extend player to support embedded videos ([@gruenbergerdemos](https://github.com/gruenbergerdemos))
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- ([#1031](https://github.com/demos-europe/demosplan-ui/pull/1031)) remove max chunkSize on tus uploads ([@muellerdemos](https://github.com/muellerdemos)
|
|
15
|
+
- ([#1022](https://github.com/demos-europe/demosplan-ui/pull/1022)) DpEditor: Make EditorContent accessible to the screen readers by adding the 'role' attribute ([@sakutademos](https://github.com/sakutademos)
|
|
16
|
+
- ([#1012](https://github.com/demos-europe/demosplan-ui/pull/1012)) Fix breakpoint values in Tailwind config ([@spiess-demos](https://github.com/spiess-demos))
|
|
8
17
|
|
|
9
18
|
### Changed
|
|
19
|
+
- ([#1023](https://github.com/demos-europe/demosplan-ui/pull/1023)) BREAKING: Replace vueDraggable with vueSortable: The API for dpDraggable changed ([@salisdemos](https://github.com/salisdemos))
|
|
10
20
|
|
|
11
|
-
|
|
12
|
-
- ([#994](https://github.com/demos-europe/demosplan-ui/pull/994)) BREAKING: Bump Yarn to v4.2.2 (again) ([@salisdemos](https://github.com/salisdemos))
|
|
21
|
+
## v0.4.0 - 2024-08-21
|
|
13
22
|
|
|
14
|
-
|
|
15
|
-
|
|
23
|
+
**Upgrade to Vue 3**
|
|
24
|
+
This library now emits a Vue 3 build. While it still has some Vue 2 dependencies, this is a huge step towards
|
|
25
|
+
full Vue 3 compatibility. Please be cautioned that this release may therefore be a bit less stable than
|
|
26
|
+
previous ones.
|
|
27
|
+
|
|
28
|
+
If you still find yourself requiring the Vue 2 only version, you may want to upgrade the version requirement
|
|
29
|
+
to `~0.3.*` in your package.json.
|
|
16
30
|
|
|
17
31
|
### Fixed
|
|
18
|
-
|
|
32
|
+
|
|
33
|
+
- ([#995](https://github.com/demos-europe/demosplan-ui/pull/995)) Prevent cursor in editor to jump to the End of the file, when obscured text is present ([@salisdemos](https://github.com/salisdemos))
|
|
34
|
+
- ([#983](https://github.com/demos-europe/demosplan-ui/pull/983)) Fix issue where the project is not correctly installable. ([@spiess-demos](https://github.com/spiess-demos))
|
|
19
35
|
|
|
20
36
|
## v0.3.32 - 2024-09-23
|
|
21
37
|
|
|
38
|
+
### Fixed
|
|
22
39
|
- ([#1027](https://github.com/demos-europe/demosplan-ui/pull/1027)) DpEditor: transform obscure tag on update action ([@sakutademos](https://github.com/sakutademos)
|
|
23
40
|
- ([#1021](https://github.com/demos-europe/demosplan-ui/pull/1021)) DpEditor: Make EditorContent accessible to the screen readers by adding the 'role' attribute ([@sakutademos](https://github.com/sakutademos)
|
|
24
41
|
|
|
@@ -46,11 +63,12 @@ Since v0.0.10, this Changelog is formatted according to the [Common Changelog][c
|
|
|
46
63
|
## v0.3.27 - 2024-07-30
|
|
47
64
|
|
|
48
65
|
### Fixed
|
|
66
|
+
|
|
49
67
|
- ([#967](https://github.com/demos-europe/demosplan-ui/pull/967)) Rollback Yarn 4. It leads to conflicts with prosemirror ([@salisdemos](https://github.com/salisdemos))
|
|
50
68
|
|
|
51
69
|
## v0.3.26
|
|
52
|
-
|
|
53
|
-
- lost
|
|
70
|
+
|
|
71
|
+
- lost due to publishing hickups
|
|
54
72
|
|
|
55
73
|
## v0.3.25 - 2024-07-30
|
|
56
74
|
|
|
@@ -77,6 +95,10 @@ Since v0.0.10, this Changelog is formatted according to the [Common Changelog][c
|
|
|
77
95
|
|
|
78
96
|
- ([#955](https://github.com/demos-europe/demosplan-ui/pull/955)) BREAKING: Pass headerFields-Data to tableHeader slot so the content gets rendered ([@salisdemos](https://github.com/salisdemos))
|
|
79
97
|
|
|
98
|
+
## v0.3.22
|
|
99
|
+
|
|
100
|
+
- lost due to publishing hickups
|
|
101
|
+
|
|
80
102
|
## v0.3.21 - 2024-07-22
|
|
81
103
|
|
|
82
104
|
### Added
|
|
@@ -113,6 +135,7 @@ Since v0.0.10, this Changelog is formatted according to the [Common Changelog][c
|
|
|
113
135
|
|
|
114
136
|
### Changed
|
|
115
137
|
|
|
138
|
+
- ([#918](https://github.com/demos-europe/demosplan-ui/pull/918)) Remove Translator usages ([@ahmad-demos](https://github.com/ahmad-demos))
|
|
116
139
|
- ([#900](https://github.com/demos-europe/demosplan-ui/pull/900)) Refactor: Use tailwind class for hiding elements visually instead of custom class ([@gruenbergerdemos](https://github.com/gruenbergerdemos))
|
|
117
140
|
- ([#902](https://github.com/demos-europe/demosplan-ui/pull/902)) Remove !important default setting in Tailwind config ([@spiess-demos](https://github.com/spiess-demos))
|
|
118
141
|
|
|
@@ -220,7 +243,7 @@ Since v0.0.10, this Changelog is formatted according to the [Common Changelog][c
|
|
|
220
243
|
|
|
221
244
|
- ([#783](https://github.com/demos-europe/demosplan-ui/pull/783)) Improve error validation for DpMultiselect and DpSelect components ([@sakutademos](https://github.com/sakutademos))
|
|
222
245
|
|
|
223
|
-
### Changed
|
|
246
|
+
### Changed
|
|
224
247
|
|
|
225
248
|
- ([#774](https://github.com/demos-europe/demosplan-ui/pull/774)) Improve render performance of the DpTreeList component ([@sakutademos](https://github.com/sakutademos))
|
|
226
249
|
- ([#784](https://github.com/demos-europe/demosplan-ui/pull/784)) dpApi.get: Always serialize request params ([@spiess-demos](https://github.com/spiess-demos))
|
|
@@ -253,8 +276,8 @@ Since v0.0.10, this Changelog is formatted according to the [Common Changelog][c
|
|
|
253
276
|
|
|
254
277
|
- ([#739](https://github.com/demos-europe/demosplan-ui/pull/739)) Add missing data attr for E-2-E Test ([@ahmad-demos](https://github.com/ahmad-demos))
|
|
255
278
|
- ([#721](https://github.com/demos-europe/demosplan-ui/pull/721)) Pass the allowEmpty prop to vue-multiselect, which prevents the deselection of values ([@sakutademos](https://github.com/sakutademos))
|
|
256
|
-
- ([#718](https://github.com/demos-europe/demosplan-ui/pull/718)) Add missing data attr for E-2-E Test ([@ahmad-demos](https://github.com/ahmad-demos))
|
|
257
|
-
- ([#714](https://github.com/demos-europe/demosplan-ui/pull/714)) add csrf token to dpRpc to prevent missing csrf errors ([@muellerdemos](https://github.com/muellerdemos))
|
|
279
|
+
- ([#718](https://github.com/demos-europe/demosplan-ui/pull/718)) Add missing data attr for E-2-E Test ([@ahmad-demos](https://github.com/ahmad-demos))
|
|
280
|
+
- ([#714](https://github.com/demos-europe/demosplan-ui/pull/714)) add csrf token to dpRpc to prevent missing csrf errors ([@muellerdemos](https://github.com/muellerdemos))
|
|
258
281
|
- ([#734](https://github.com/demos-europe/demosplan-ui/pull/734)) Allow mailto links in DpEditor link modal ([@spiess-demos](https://github.com/spiess-demos))
|
|
259
282
|
|
|
260
283
|
## v0.3.5-1 - 2024-02-13
|
|
@@ -606,7 +629,7 @@ Unfortunately, we had a minor log-entry merge mishap and that wasn't noticed unt
|
|
|
606
629
|
|
|
607
630
|
## v0.0.17 - 2023-03-23
|
|
608
631
|
|
|
609
|
-
- ([#133](https://github.com/demos-europe/demosplan-ui/pull/133)) Import `a11y-datepicker` not as es Module anymore, to make it resolvable
|
|
632
|
+
- ([#133](https://github.com/demos-europe/demosplan-ui/pull/133)) Import `a11y-datepicker` not as es Module anymore, to make it resolvable
|
|
610
633
|
|
|
611
634
|
## v0.0.16 - 2023-03-15
|
|
612
635
|
|
package/LICENSE
CHANGED
|
@@ -53,29 +53,3 @@ src/lib/SideNav.js
|
|
|
53
53
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
54
54
|
See the License for the specific language governing permissions and
|
|
55
55
|
limitations under the License.
|
|
56
|
-
|
|
57
|
-
------------------------------------------------------------------------------------------
|
|
58
|
-
|
|
59
|
-
src/components/DpIcon/util/iconVariables.js
|
|
60
|
-
|
|
61
|
-
MIT License
|
|
62
|
-
|
|
63
|
-
Copyright (c) 2020 Phosphor Icons
|
|
64
|
-
|
|
65
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
66
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
67
|
-
in the Software without restriction, including without limitation the rights
|
|
68
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
69
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
70
|
-
furnished to do so, subject to the following conditions:
|
|
71
|
-
|
|
72
|
-
The above copyright notice and this permission notice shall be included in all
|
|
73
|
-
copies or substantial portions of the Software.
|
|
74
|
-
|
|
75
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
76
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
77
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
78
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
79
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
80
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
81
|
-
SOFTWARE.
|
|
File without changes
|
package/babel.config.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
presets: [
|
|
3
|
-
['@babel/preset-env', {
|
|
3
|
+
['@babel/preset-env', {
|
|
4
|
+
targets: {
|
|
5
|
+
node: 'current',
|
|
6
|
+
browsers: '> 0.25%, not dead'
|
|
7
|
+
} }],
|
|
4
8
|
'@babel/preset-typescript',
|
|
5
9
|
['@babel/preset-react', { runtime: 'automatic' }],
|
|
6
10
|
]
|